From 0742ae7ca5f899acf18706576696b4b11a46ef45 Mon Sep 17 00:00:00 2001 From: Kubernetes Publisher Date: Sat, 5 Nov 2016 06:43:38 +0000 Subject: [PATCH] published by bot (https://github.com/kubernetes/contrib/tree/master/mungegithub) copied from https://github.com/kubernetes/kubernetes.git, branch master, last commit is 66a7a1f961489b81e0357a6307270d50b00c5f50 --- pkg/apis/componentconfig/types.generated.go | 12561 ---------------- pkg/apis/componentconfig/types.go | 3 + pkg/apis/componentconfig/v1alpha1/defaults.go | 3 + pkg/apis/componentconfig/v1alpha1/types.go | 3 + 4 files changed, 9 insertions(+), 12561 deletions(-) delete mode 100644 pkg/apis/componentconfig/types.generated.go diff --git a/pkg/apis/componentconfig/types.generated.go b/pkg/apis/componentconfig/types.generated.go deleted file mode 100644 index 8503be82..00000000 --- a/pkg/apis/componentconfig/types.generated.go +++ /dev/null @@ -1,12561 +0,0 @@ -/* -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. -*/ - -// ************************************************************ -// DO NOT EDIT. -// THIS FILE IS AUTO-GENERATED BY codecgen. -// ************************************************************ - -package componentconfig - -import ( - "errors" - "fmt" - codec1978 "github.com/ugorji/go/codec" - pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" - pkg2_config "k8s.io/client-go/pkg/util/config" - "reflect" - "runtime" - time "time" -) - -const ( - // ----- content types ---- - codecSelferC_UTF81234 = 1 - codecSelferC_RAW1234 = 0 - // ----- value types used ---- - codecSelferValueTypeArray1234 = 10 - codecSelferValueTypeMap1234 = 9 - // ----- containerStateValues ---- - codecSelfer_containerMapKey1234 = 2 - codecSelfer_containerMapValue1234 = 3 - codecSelfer_containerMapEnd1234 = 4 - codecSelfer_containerArrayElem1234 = 6 - codecSelfer_containerArrayEnd1234 = 7 -) - -var ( - codecSelferBitsize1234 = uint8(reflect.TypeOf(uint(0)).Bits()) - codecSelferOnlyMapOrArrayEncodeToStructErr1234 = errors.New(`only encoded map or array can be decoded into a struct`) -) - -type codecSelfer1234 struct{} - -func init() { - if codec1978.GenVersion != 5 { - _, file, _, _ := runtime.Caller(0) - err := fmt.Errorf("codecgen version mismatch: current: %v, need %v. Re-generate file: %v", - 5, codec1978.GenVersion, file) - panic(err) - } - if false { // reference the types, but skip this branch at build/run time - var v0 pkg1_unversioned.TypeMeta - var v1 pkg2_config.ConfigurationMap - var v2 time.Duration - _, _, _ = v0, v1, v2 - } -} - -func (x *KubeProxyConfiguration) 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 [21]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Kind != "" - yyq2[1] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { - r.EncodeArrayStart(21) - } else { - yynn2 = 19 - 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) - yym10 := z.EncBinary() - _ = yym10 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.BindAddress)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("bindAddress")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.BindAddress)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterCIDR")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - 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)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostnameOverride")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HostnameOverride)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.IPTablesMasqueradeBit == nil { - r.EncodeNil() - } else { - yy25 := *x.IPTablesMasqueradeBit - yym26 := z.EncBinary() - _ = yym26 - if false { - } else { - r.EncodeInt(int64(yy25)) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("iptablesMasqueradeBit")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.IPTablesMasqueradeBit == nil { - r.EncodeNil() - } else { - yy27 := *x.IPTablesMasqueradeBit - yym28 := z.EncBinary() - _ = yym28 - if false { - } else { - r.EncodeInt(int64(yy27)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy30 := &x.IPTablesSyncPeriod - yym31 := z.EncBinary() - _ = yym31 - if false { - } else if z.HasExtensions() && z.EncExt(yy30) { - } else if !yym31 && z.IsJSONHandle() { - z.EncJSONMarshal(yy30) - } else { - z.EncFallback(yy30) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("iptablesSyncPeriodSeconds")) - 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 { - z.EncFallback(yy32) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - 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)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("master")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym42 := z.EncBinary() - _ = yym42 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Master)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.OOMScoreAdj == nil { - r.EncodeNil() - } else { - yy44 := *x.OOMScoreAdj - yym45 := z.EncBinary() - _ = yym45 - if false { - } else { - r.EncodeInt(int64(yy44)) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("oomScoreAdj")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.OOMScoreAdj == nil { - r.EncodeNil() - } else { - yy46 := *x.OOMScoreAdj - yym47 := z.EncBinary() - _ = yym47 - if false { - } else { - r.EncodeInt(int64(yy46)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Mode.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("mode")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Mode.CodecEncodeSelf(e) - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym50 := z.EncBinary() - _ = yym50 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PortRange)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("portRange")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym51 := z.EncBinary() - _ = yym51 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PortRange)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym53 := z.EncBinary() - _ = yym53 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceContainer)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resourceContainer")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym54 := z.EncBinary() - _ = yym54 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceContainer)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy56 := &x.UDPIdleTimeout - yym57 := z.EncBinary() - _ = yym57 - if false { - } else if z.HasExtensions() && z.EncExt(yy56) { - } else if !yym57 && z.IsJSONHandle() { - z.EncJSONMarshal(yy56) - } else { - z.EncFallback(yy56) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("udpTimeoutMilliseconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy58 := &x.UDPIdleTimeout - yym59 := z.EncBinary() - _ = yym59 - if false { - } else if z.HasExtensions() && z.EncExt(yy58) { - } else if !yym59 && z.IsJSONHandle() { - z.EncJSONMarshal(yy58) - } else { - z.EncFallback(yy58) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym61 := z.EncBinary() - _ = yym61 - if false { - } else { - r.EncodeInt(int64(x.ConntrackMax)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("conntrackMax")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym62 := z.EncBinary() - _ = yym62 - if false { - } else { - r.EncodeInt(int64(x.ConntrackMax)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym64 := z.EncBinary() - _ = yym64 - if false { - } else { - r.EncodeInt(int64(x.ConntrackMaxPerCore)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("conntrackMaxPerCore")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym65 := z.EncBinary() - _ = yym65 - if false { - } else { - r.EncodeInt(int64(x.ConntrackMaxPerCore)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym67 := z.EncBinary() - _ = yym67 - if false { - } else { - r.EncodeInt(int64(x.ConntrackMin)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("conntrackMin")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym68 := z.EncBinary() - _ = yym68 - if false { - } else { - r.EncodeInt(int64(x.ConntrackMin)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy70 := &x.ConntrackTCPEstablishedTimeout - yym71 := z.EncBinary() - _ = yym71 - if false { - } else if z.HasExtensions() && z.EncExt(yy70) { - } else if !yym71 && z.IsJSONHandle() { - z.EncJSONMarshal(yy70) - } else { - z.EncFallback(yy70) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("conntrackTCPEstablishedTimeout")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy72 := &x.ConntrackTCPEstablishedTimeout - yym73 := z.EncBinary() - _ = yym73 - if false { - } else if z.HasExtensions() && z.EncExt(yy72) { - } else if !yym73 && z.IsJSONHandle() { - z.EncJSONMarshal(yy72) - } else { - z.EncFallback(yy72) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *KubeProxyConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym74 := z.DecBinary() - _ = yym74 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct75 := r.ContainerType() - if yyct75 == codecSelferValueTypeMap1234 { - yyl75 := r.ReadMapStart() - if yyl75 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl75, d) - } - } else if yyct75 == codecSelferValueTypeArray1234 { - yyl75 := r.ReadArrayStart() - if yyl75 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl75, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - 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 { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys76Slc = r.DecodeBytes(yys76Slc, true, true) - yys76 := string(yys76Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys76 { - 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 = "" - } else { - x.BindAddress = string(r.DecodeString()) - } - case "clusterCIDR": - if r.TryDecodeAsNil() { - x.ClusterCIDR = "" - } else { - x.ClusterCIDR = string(r.DecodeString()) - } - case "healthzBindAddress": - if r.TryDecodeAsNil() { - x.HealthzBindAddress = "" - } else { - x.HealthzBindAddress = string(r.DecodeString()) - } - case "healthzPort": - if r.TryDecodeAsNil() { - x.HealthzPort = 0 - } else { - x.HealthzPort = int32(r.DecodeInt(32)) - } - case "hostnameOverride": - if r.TryDecodeAsNil() { - x.HostnameOverride = "" - } else { - x.HostnameOverride = string(r.DecodeString()) - } - case "iptablesMasqueradeBit": - if r.TryDecodeAsNil() { - if x.IPTablesMasqueradeBit != nil { - x.IPTablesMasqueradeBit = nil - } - } else { - if x.IPTablesMasqueradeBit == nil { - x.IPTablesMasqueradeBit = new(int32) - } - yym85 := z.DecBinary() - _ = yym85 - if false { - } else { - *((*int32)(x.IPTablesMasqueradeBit)) = int32(r.DecodeInt(32)) - } - } - case "iptablesSyncPeriodSeconds": - if r.TryDecodeAsNil() { - x.IPTablesSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv86 := &x.IPTablesSyncPeriod - yym87 := z.DecBinary() - _ = yym87 - if false { - } else if z.HasExtensions() && z.DecExt(yyv86) { - } else if !yym87 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv86) - } else { - z.DecFallback(yyv86, false) - } - } - case "kubeconfigPath": - if r.TryDecodeAsNil() { - x.KubeconfigPath = "" - } else { - x.KubeconfigPath = string(r.DecodeString()) - } - case "masqueradeAll": - if r.TryDecodeAsNil() { - x.MasqueradeAll = false - } else { - x.MasqueradeAll = bool(r.DecodeBool()) - } - case "master": - if r.TryDecodeAsNil() { - x.Master = "" - } else { - x.Master = string(r.DecodeString()) - } - case "oomScoreAdj": - if r.TryDecodeAsNil() { - if x.OOMScoreAdj != nil { - x.OOMScoreAdj = nil - } - } else { - if x.OOMScoreAdj == nil { - x.OOMScoreAdj = new(int32) - } - yym92 := z.DecBinary() - _ = yym92 - if false { - } else { - *((*int32)(x.OOMScoreAdj)) = int32(r.DecodeInt(32)) - } - } - case "mode": - if r.TryDecodeAsNil() { - x.Mode = "" - } else { - x.Mode = ProxyMode(r.DecodeString()) - } - case "portRange": - if r.TryDecodeAsNil() { - x.PortRange = "" - } else { - x.PortRange = string(r.DecodeString()) - } - case "resourceContainer": - if r.TryDecodeAsNil() { - x.ResourceContainer = "" - } else { - x.ResourceContainer = string(r.DecodeString()) - } - case "udpTimeoutMilliseconds": - if r.TryDecodeAsNil() { - x.UDPIdleTimeout = pkg1_unversioned.Duration{} - } else { - yyv96 := &x.UDPIdleTimeout - yym97 := z.DecBinary() - _ = yym97 - if false { - } else if z.HasExtensions() && z.DecExt(yyv96) { - } else if !yym97 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv96) - } else { - z.DecFallback(yyv96, false) - } - } - case "conntrackMax": - if r.TryDecodeAsNil() { - x.ConntrackMax = 0 - } else { - x.ConntrackMax = int32(r.DecodeInt(32)) - } - case "conntrackMaxPerCore": - if r.TryDecodeAsNil() { - x.ConntrackMaxPerCore = 0 - } else { - x.ConntrackMaxPerCore = int32(r.DecodeInt(32)) - } - case "conntrackMin": - if r.TryDecodeAsNil() { - x.ConntrackMin = 0 - } else { - x.ConntrackMin = int32(r.DecodeInt(32)) - } - case "conntrackTCPEstablishedTimeout": - if r.TryDecodeAsNil() { - x.ConntrackTCPEstablishedTimeout = pkg1_unversioned.Duration{} - } else { - yyv101 := &x.ConntrackTCPEstablishedTimeout - yym102 := z.DecBinary() - _ = yym102 - if false { - } else if z.HasExtensions() && z.DecExt(yyv101) { - } else if !yym102 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv101) - } else { - z.DecFallback(yyv101, false) - } - } - default: - z.DecStructFieldNotFound(-1, yys76) - } // end switch yys76 - } // end for yyj76 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj103 int - var yyb103 bool - var yyhl103 bool = l >= 0 - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.BindAddress = "" - } else { - x.BindAddress = string(r.DecodeString()) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterCIDR = "" - } else { - x.ClusterCIDR = string(r.DecodeString()) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HealthzBindAddress = "" - } else { - x.HealthzBindAddress = string(r.DecodeString()) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HealthzPort = 0 - } else { - x.HealthzPort = int32(r.DecodeInt(32)) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HostnameOverride = "" - } else { - x.HostnameOverride = string(r.DecodeString()) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.IPTablesMasqueradeBit != nil { - x.IPTablesMasqueradeBit = nil - } - } else { - if x.IPTablesMasqueradeBit == nil { - x.IPTablesMasqueradeBit = new(int32) - } - yym112 := z.DecBinary() - _ = yym112 - if false { - } else { - *((*int32)(x.IPTablesMasqueradeBit)) = int32(r.DecodeInt(32)) - } - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.IPTablesSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv113 := &x.IPTablesSyncPeriod - 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) - } - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeconfigPath = "" - } else { - x.KubeconfigPath = string(r.DecodeString()) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MasqueradeAll = false - } else { - x.MasqueradeAll = bool(r.DecodeBool()) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Master = "" - } else { - x.Master = string(r.DecodeString()) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.OOMScoreAdj != nil { - x.OOMScoreAdj = nil - } - } else { - if x.OOMScoreAdj == nil { - x.OOMScoreAdj = new(int32) - } - yym119 := z.DecBinary() - _ = yym119 - if false { - } else { - *((*int32)(x.OOMScoreAdj)) = int32(r.DecodeInt(32)) - } - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Mode = "" - } else { - x.Mode = ProxyMode(r.DecodeString()) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PortRange = "" - } else { - x.PortRange = string(r.DecodeString()) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ResourceContainer = "" - } else { - x.ResourceContainer = string(r.DecodeString()) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.UDPIdleTimeout = pkg1_unversioned.Duration{} - } else { - yyv123 := &x.UDPIdleTimeout - yym124 := z.DecBinary() - _ = yym124 - if false { - } else if z.HasExtensions() && z.DecExt(yyv123) { - } else if !yym124 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv123) - } else { - z.DecFallback(yyv123, false) - } - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConntrackMax = 0 - } else { - x.ConntrackMax = int32(r.DecodeInt(32)) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConntrackMaxPerCore = 0 - } else { - x.ConntrackMaxPerCore = int32(r.DecodeInt(32)) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConntrackMin = 0 - } else { - x.ConntrackMin = int32(r.DecodeInt(32)) - } - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConntrackTCPEstablishedTimeout = pkg1_unversioned.Duration{} - } else { - yyv128 := &x.ConntrackTCPEstablishedTimeout - yym129 := z.DecBinary() - _ = yym129 - if false { - } else if z.HasExtensions() && z.DecExt(yyv128) { - } else if !yym129 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv128) - } else { - z.DecFallback(yyv128, false) - } - } - for { - yyj103++ - if yyhl103 { - yyb103 = yyj103 > l - } else { - yyb103 = r.CheckBreak() - } - if yyb103 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj103-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x ProxyMode) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym130 := z.EncBinary() - _ = yym130 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *ProxyMode) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym131 := z.DecBinary() - _ = yym131 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x HairpinMode) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym132 := z.EncBinary() - _ = yym132 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *HairpinMode) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym133 := z.DecBinary() - _ = yym133 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym134 := z.EncBinary() - _ = yym134 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep135 := !z.EncBinary() - yy2arr135 := z.EncBasicHandle().StructToArray - var yyq135 [111]bool - _, _, _ = yysep135, yyq135, yy2arr135 - const yyr135 bool = false - yyq135[0] = x.Kind != "" - yyq135[1] = x.APIVersion != "" - yyq135[55] = x.CloudProvider != "" - yyq135[56] = x.CloudConfigFile != "" - yyq135[57] = x.KubeletCgroups != "" - yyq135[58] = x.CgroupsPerQOS != false - yyq135[59] = x.CgroupDriver != "" - yyq135[60] = x.RuntimeCgroups != "" - yyq135[61] = x.SystemCgroups != "" - yyq135[62] = x.CgroupRoot != "" - yyq135[66] = true - yyq135[67] = x.RktPath != "" - yyq135[68] = x.ExperimentalMounterPath != "" - yyq135[69] = x.ExperimentalMounterRootfsPath != "" - yyq135[70] = x.RktAPIEndpoint != "" - yyq135[71] = x.RktStage1Image != "" - yyq135[90] = true - yyq135[91] = x.NodeIP != "" - yyq135[95] = x.EvictionHard != "" - yyq135[96] = x.EvictionSoft != "" - yyq135[97] = x.EvictionSoftGracePeriod != "" - yyq135[98] = true - yyq135[99] = x.EvictionMaxPodGracePeriod != 0 - yyq135[100] = x.EvictionMinimumReclaim != "" - yyq135[109] = len(x.AllowedUnsafeSysctls) != 0 - yyq135[110] = x.ExperimentalRuntimeIntegrationType != "" - var yynn135 int - if yyr135 || yy2arr135 { - r.EncodeArrayStart(111) - } else { - yynn135 = 85 - for _, b := range yyq135 { - if b { - yynn135++ - } - } - r.EncodeMapStart(yynn135) - yynn135 = 0 - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[0] { - yym137 := z.EncBinary() - _ = yym137 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym138 := z.EncBinary() - _ = yym138 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[1] { - yym140 := z.EncBinary() - _ = yym140 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym141 := z.EncBinary() - _ = yym141 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym143 := z.EncBinary() - _ = yym143 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodManifestPath)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("podManifestPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym144 := z.EncBinary() - _ = yym144 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodManifestPath)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy146 := &x.SyncFrequency - yym147 := z.EncBinary() - _ = yym147 - if false { - } else if z.HasExtensions() && z.EncExt(yy146) { - } else if !yym147 && z.IsJSONHandle() { - z.EncJSONMarshal(yy146) - } else { - z.EncFallback(yy146) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("syncFrequency")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy148 := &x.SyncFrequency - yym149 := z.EncBinary() - _ = yym149 - if false { - } else if z.HasExtensions() && z.EncExt(yy148) { - } else if !yym149 && z.IsJSONHandle() { - z.EncJSONMarshal(yy148) - } else { - z.EncFallback(yy148) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy151 := &x.FileCheckFrequency - yym152 := z.EncBinary() - _ = yym152 - if false { - } else if z.HasExtensions() && z.EncExt(yy151) { - } else if !yym152 && z.IsJSONHandle() { - z.EncJSONMarshal(yy151) - } else { - z.EncFallback(yy151) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fileCheckFrequency")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy153 := &x.FileCheckFrequency - yym154 := z.EncBinary() - _ = yym154 - if false { - } else if z.HasExtensions() && z.EncExt(yy153) { - } else if !yym154 && z.IsJSONHandle() { - z.EncJSONMarshal(yy153) - } else { - z.EncFallback(yy153) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy156 := &x.HTTPCheckFrequency - yym157 := z.EncBinary() - _ = yym157 - if false { - } else if z.HasExtensions() && z.EncExt(yy156) { - } else if !yym157 && z.IsJSONHandle() { - z.EncJSONMarshal(yy156) - } else { - z.EncFallback(yy156) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("httpCheckFrequency")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy158 := &x.HTTPCheckFrequency - yym159 := z.EncBinary() - _ = yym159 - if false { - } else if z.HasExtensions() && z.EncExt(yy158) { - } else if !yym159 && z.IsJSONHandle() { - z.EncJSONMarshal(yy158) - } else { - z.EncFallback(yy158) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym161 := z.EncBinary() - _ = yym161 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ManifestURL)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("manifestURL")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym162 := z.EncBinary() - _ = yym162 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ManifestURL)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym164 := z.EncBinary() - _ = yym164 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ManifestURLHeader)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("manifestURLHeader")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym165 := z.EncBinary() - _ = yym165 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ManifestURLHeader)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym167 := z.EncBinary() - _ = yym167 - if false { - } else { - r.EncodeBool(bool(x.EnableServer)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("enableServer")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym168 := z.EncBinary() - _ = yym168 - if false { - } else { - r.EncodeBool(bool(x.EnableServer)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym170 := z.EncBinary() - _ = yym170 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Address)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("address")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym171 := z.EncBinary() - _ = yym171 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Address)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym173 := z.EncBinary() - _ = yym173 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("port")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym174 := z.EncBinary() - _ = yym174 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym176 := z.EncBinary() - _ = yym176 - if false { - } else { - r.EncodeInt(int64(x.ReadOnlyPort)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("readOnlyPort")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym177 := z.EncBinary() - _ = yym177 - if false { - } else { - r.EncodeInt(int64(x.ReadOnlyPort)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym179 := z.EncBinary() - _ = yym179 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.TLSCertFile)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("tlsCertFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym180 := z.EncBinary() - _ = yym180 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.TLSCertFile)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym182 := z.EncBinary() - _ = yym182 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.TLSPrivateKeyFile)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("tlsPrivateKeyFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym183 := z.EncBinary() - _ = yym183 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.TLSPrivateKeyFile)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym185 := z.EncBinary() - _ = yym185 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CertDirectory)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("certDirectory")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym186 := z.EncBinary() - _ = yym186 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CertDirectory)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy188 := &x.Authentication - yy188.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("authentication")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy189 := &x.Authentication - yy189.CodecEncodeSelf(e) - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy191 := &x.Authorization - yy191.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("authorization")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy192 := &x.Authorization - yy192.CodecEncodeSelf(e) - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym194 := z.EncBinary() - _ = yym194 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HostnameOverride)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostnameOverride")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym195 := z.EncBinary() - _ = yym195 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HostnameOverride)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym197 := z.EncBinary() - _ = yym197 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodInfraContainerImage)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("podInfraContainerImage")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym198 := z.EncBinary() - _ = yym198 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodInfraContainerImage)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym200 := z.EncBinary() - _ = yym200 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DockerEndpoint)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("dockerEndpoint")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym201 := z.EncBinary() - _ = yym201 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DockerEndpoint)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym203 := z.EncBinary() - _ = yym203 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RootDirectory)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rootDirectory")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym204 := z.EncBinary() - _ = yym204 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RootDirectory)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym206 := z.EncBinary() - _ = yym206 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SeccompProfileRoot)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("seccompProfileRoot")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym207 := z.EncBinary() - _ = yym207 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SeccompProfileRoot)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym209 := z.EncBinary() - _ = yym209 - if false { - } else { - r.EncodeBool(bool(x.AllowPrivileged)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("allowPrivileged")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym210 := z.EncBinary() - _ = yym210 - if false { - } else { - r.EncodeBool(bool(x.AllowPrivileged)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.HostNetworkSources == nil { - r.EncodeNil() - } else { - yym212 := z.EncBinary() - _ = yym212 - if false { - } else { - z.F.EncSliceStringV(x.HostNetworkSources, false, e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostNetworkSources")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.HostNetworkSources == nil { - r.EncodeNil() - } else { - yym213 := z.EncBinary() - _ = yym213 - if false { - } else { - z.F.EncSliceStringV(x.HostNetworkSources, false, e) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.HostPIDSources == nil { - r.EncodeNil() - } else { - yym215 := z.EncBinary() - _ = yym215 - if false { - } else { - z.F.EncSliceStringV(x.HostPIDSources, false, e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostPIDSources")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.HostPIDSources == nil { - r.EncodeNil() - } else { - yym216 := z.EncBinary() - _ = yym216 - if false { - } else { - z.F.EncSliceStringV(x.HostPIDSources, false, e) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.HostIPCSources == nil { - r.EncodeNil() - } else { - yym218 := z.EncBinary() - _ = yym218 - if false { - } else { - z.F.EncSliceStringV(x.HostIPCSources, false, e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostIPCSources")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.HostIPCSources == nil { - r.EncodeNil() - } else { - yym219 := z.EncBinary() - _ = yym219 - if false { - } else { - z.F.EncSliceStringV(x.HostIPCSources, false, e) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym221 := z.EncBinary() - _ = yym221 - if false { - } else { - r.EncodeInt(int64(x.RegistryPullQPS)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("registryPullQPS")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym222 := z.EncBinary() - _ = yym222 - if false { - } else { - r.EncodeInt(int64(x.RegistryPullQPS)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym224 := z.EncBinary() - _ = yym224 - if false { - } else { - r.EncodeInt(int64(x.RegistryBurst)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("registryBurst")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym225 := z.EncBinary() - _ = yym225 - if false { - } else { - r.EncodeInt(int64(x.RegistryBurst)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym227 := z.EncBinary() - _ = yym227 - if false { - } else { - r.EncodeInt(int64(x.EventRecordQPS)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("eventRecordQPS")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym228 := z.EncBinary() - _ = yym228 - if false { - } else { - r.EncodeInt(int64(x.EventRecordQPS)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym230 := z.EncBinary() - _ = yym230 - if false { - } else { - r.EncodeInt(int64(x.EventBurst)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("eventBurst")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym231 := z.EncBinary() - _ = yym231 - if false { - } else { - r.EncodeInt(int64(x.EventBurst)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym233 := z.EncBinary() - _ = yym233 - if false { - } else { - r.EncodeBool(bool(x.EnableDebuggingHandlers)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("enableDebuggingHandlers")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym234 := z.EncBinary() - _ = yym234 - if false { - } else { - r.EncodeBool(bool(x.EnableDebuggingHandlers)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy236 := &x.MinimumGCAge - yym237 := z.EncBinary() - _ = yym237 - if false { - } else if z.HasExtensions() && z.EncExt(yy236) { - } else if !yym237 && z.IsJSONHandle() { - z.EncJSONMarshal(yy236) - } else { - z.EncFallback(yy236) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("minimumGCAge")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy238 := &x.MinimumGCAge - yym239 := z.EncBinary() - _ = yym239 - if false { - } else if z.HasExtensions() && z.EncExt(yy238) { - } else if !yym239 && z.IsJSONHandle() { - z.EncJSONMarshal(yy238) - } else { - z.EncFallback(yy238) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym241 := z.EncBinary() - _ = yym241 - if false { - } else { - r.EncodeInt(int64(x.MaxPerPodContainerCount)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxPerPodContainerCount")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym242 := z.EncBinary() - _ = yym242 - if false { - } else { - r.EncodeInt(int64(x.MaxPerPodContainerCount)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym244 := z.EncBinary() - _ = yym244 - if false { - } else { - r.EncodeInt(int64(x.MaxContainerCount)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxContainerCount")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym245 := z.EncBinary() - _ = yym245 - if false { - } else { - r.EncodeInt(int64(x.MaxContainerCount)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym247 := z.EncBinary() - _ = yym247 - if false { - } else { - r.EncodeInt(int64(x.CAdvisorPort)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cAdvisorPort")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym248 := z.EncBinary() - _ = yym248 - if false { - } else { - r.EncodeInt(int64(x.CAdvisorPort)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym250 := z.EncBinary() - _ = yym250 - if false { - } else { - r.EncodeInt(int64(x.HealthzPort)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("healthzPort")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym251 := z.EncBinary() - _ = yym251 - if false { - } else { - r.EncodeInt(int64(x.HealthzPort)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym253 := z.EncBinary() - _ = yym253 - 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) - yym254 := z.EncBinary() - _ = yym254 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HealthzBindAddress)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym256 := z.EncBinary() - _ = yym256 - if false { - } else { - r.EncodeInt(int64(x.OOMScoreAdj)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("oomScoreAdj")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym257 := z.EncBinary() - _ = yym257 - if false { - } else { - r.EncodeInt(int64(x.OOMScoreAdj)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym259 := z.EncBinary() - _ = yym259 - if false { - } else { - r.EncodeBool(bool(x.RegisterNode)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("registerNode")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym260 := z.EncBinary() - _ = yym260 - if false { - } else { - r.EncodeBool(bool(x.RegisterNode)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym262 := z.EncBinary() - _ = yym262 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDomain)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterDomain")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym263 := z.EncBinary() - _ = yym263 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDomain)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym265 := z.EncBinary() - _ = yym265 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.MasterServiceNamespace)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("masterServiceNamespace")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym266 := z.EncBinary() - _ = yym266 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.MasterServiceNamespace)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym268 := z.EncBinary() - _ = yym268 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDNS)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterDNS")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym269 := z.EncBinary() - _ = yym269 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDNS)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy271 := &x.StreamingConnectionIdleTimeout - yym272 := z.EncBinary() - _ = yym272 - if false { - } else if z.HasExtensions() && z.EncExt(yy271) { - } else if !yym272 && z.IsJSONHandle() { - z.EncJSONMarshal(yy271) - } else { - z.EncFallback(yy271) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("streamingConnectionIdleTimeout")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy273 := &x.StreamingConnectionIdleTimeout - yym274 := z.EncBinary() - _ = yym274 - if false { - } else if z.HasExtensions() && z.EncExt(yy273) { - } else if !yym274 && z.IsJSONHandle() { - z.EncJSONMarshal(yy273) - } else { - z.EncFallback(yy273) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy276 := &x.NodeStatusUpdateFrequency - yym277 := z.EncBinary() - _ = yym277 - if false { - } else if z.HasExtensions() && z.EncExt(yy276) { - } else if !yym277 && z.IsJSONHandle() { - z.EncJSONMarshal(yy276) - } else { - z.EncFallback(yy276) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeStatusUpdateFrequency")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy278 := &x.NodeStatusUpdateFrequency - yym279 := z.EncBinary() - _ = yym279 - if false { - } else if z.HasExtensions() && z.EncExt(yy278) { - } else if !yym279 && z.IsJSONHandle() { - z.EncJSONMarshal(yy278) - } else { - z.EncFallback(yy278) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy281 := &x.ImageMinimumGCAge - yym282 := z.EncBinary() - _ = yym282 - if false { - } else if z.HasExtensions() && z.EncExt(yy281) { - } else if !yym282 && z.IsJSONHandle() { - z.EncJSONMarshal(yy281) - } else { - z.EncFallback(yy281) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("imageMinimumGCAge")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy283 := &x.ImageMinimumGCAge - yym284 := z.EncBinary() - _ = yym284 - if false { - } else if z.HasExtensions() && z.EncExt(yy283) { - } else if !yym284 && z.IsJSONHandle() { - z.EncJSONMarshal(yy283) - } else { - z.EncFallback(yy283) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym286 := z.EncBinary() - _ = yym286 - if false { - } else { - r.EncodeInt(int64(x.ImageGCHighThresholdPercent)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("imageGCHighThresholdPercent")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym287 := z.EncBinary() - _ = yym287 - if false { - } else { - r.EncodeInt(int64(x.ImageGCHighThresholdPercent)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym289 := z.EncBinary() - _ = yym289 - if false { - } else { - r.EncodeInt(int64(x.ImageGCLowThresholdPercent)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("imageGCLowThresholdPercent")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym290 := z.EncBinary() - _ = yym290 - if false { - } else { - r.EncodeInt(int64(x.ImageGCLowThresholdPercent)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym292 := z.EncBinary() - _ = yym292 - if false { - } else { - r.EncodeInt(int64(x.LowDiskSpaceThresholdMB)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lowDiskSpaceThresholdMB")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym293 := z.EncBinary() - _ = yym293 - if false { - } else { - r.EncodeInt(int64(x.LowDiskSpaceThresholdMB)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy295 := &x.VolumeStatsAggPeriod - yym296 := z.EncBinary() - _ = yym296 - if false { - } else if z.HasExtensions() && z.EncExt(yy295) { - } else if !yym296 && z.IsJSONHandle() { - z.EncJSONMarshal(yy295) - } else { - z.EncFallback(yy295) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("volumeStatsAggPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy297 := &x.VolumeStatsAggPeriod - yym298 := z.EncBinary() - _ = yym298 - if false { - } else if z.HasExtensions() && z.EncExt(yy297) { - } else if !yym298 && z.IsJSONHandle() { - z.EncJSONMarshal(yy297) - } else { - z.EncFallback(yy297) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym300 := z.EncBinary() - _ = yym300 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginName)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("networkPluginName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym301 := z.EncBinary() - _ = yym301 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginName)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym303 := z.EncBinary() - _ = yym303 - if false { - } else { - r.EncodeInt(int64(x.NetworkPluginMTU)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("networkPluginMTU")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym304 := z.EncBinary() - _ = yym304 - if false { - } else { - r.EncodeInt(int64(x.NetworkPluginMTU)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym306 := z.EncBinary() - _ = yym306 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginDir)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("networkPluginDir")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym307 := z.EncBinary() - _ = yym307 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginDir)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym309 := z.EncBinary() - _ = yym309 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CNIConfDir)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cniConfDir")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym310 := z.EncBinary() - _ = yym310 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CNIConfDir)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym312 := z.EncBinary() - _ = yym312 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CNIBinDir)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cniBinDir")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym313 := z.EncBinary() - _ = yym313 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CNIBinDir)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym315 := z.EncBinary() - _ = yym315 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.VolumePluginDir)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("volumePluginDir")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym316 := z.EncBinary() - _ = yym316 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.VolumePluginDir)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[55] { - yym318 := z.EncBinary() - _ = yym318 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[55] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cloudProvider")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym319 := z.EncBinary() - _ = yym319 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[56] { - yym321 := z.EncBinary() - _ = yym321 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[56] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cloudConfigFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym322 := z.EncBinary() - _ = yym322 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[57] { - yym324 := z.EncBinary() - _ = yym324 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeletCgroups)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[57] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeletCgroups")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym325 := z.EncBinary() - _ = yym325 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeletCgroups)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[58] { - yym327 := z.EncBinary() - _ = yym327 - if false { - } else { - r.EncodeBool(bool(x.CgroupsPerQOS)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq135[58] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cgroupsPerQOS")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym328 := z.EncBinary() - _ = yym328 - if false { - } else { - r.EncodeBool(bool(x.CgroupsPerQOS)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[59] { - yym330 := z.EncBinary() - _ = yym330 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CgroupDriver)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[59] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cgroupDriver")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym331 := z.EncBinary() - _ = yym331 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CgroupDriver)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[60] { - yym333 := z.EncBinary() - _ = yym333 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RuntimeCgroups)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[60] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("runtimeCgroups")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym334 := z.EncBinary() - _ = yym334 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RuntimeCgroups)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[61] { - yym336 := z.EncBinary() - _ = yym336 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SystemCgroups)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[61] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("systemCgroups")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym337 := z.EncBinary() - _ = yym337 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SystemCgroups)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[62] { - yym339 := z.EncBinary() - _ = yym339 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CgroupRoot)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[62] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cgroupRoot")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym340 := z.EncBinary() - _ = yym340 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CgroupRoot)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym342 := z.EncBinary() - _ = yym342 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntime)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("containerRuntime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym343 := z.EncBinary() - _ = yym343 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntime)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym345 := z.EncBinary() - _ = yym345 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RemoteRuntimeEndpoint)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("remoteRuntimeEndpoint")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym346 := z.EncBinary() - _ = yym346 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RemoteRuntimeEndpoint)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym348 := z.EncBinary() - _ = yym348 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RemoteImageEndpoint)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("remoteImageEndpoint")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym349 := z.EncBinary() - _ = yym349 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RemoteImageEndpoint)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[66] { - yy351 := &x.RuntimeRequestTimeout - yym352 := z.EncBinary() - _ = yym352 - if false { - } else if z.HasExtensions() && z.EncExt(yy351) { - } else if !yym352 && z.IsJSONHandle() { - z.EncJSONMarshal(yy351) - } else { - z.EncFallback(yy351) - } - } else { - r.EncodeNil() - } - } else { - if yyq135[66] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("runtimeRequestTimeout")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy353 := &x.RuntimeRequestTimeout - yym354 := z.EncBinary() - _ = yym354 - if false { - } else if z.HasExtensions() && z.EncExt(yy353) { - } else if !yym354 && z.IsJSONHandle() { - z.EncJSONMarshal(yy353) - } else { - z.EncFallback(yy353) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[67] { - yym356 := z.EncBinary() - _ = yym356 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktPath)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[67] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rktPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym357 := z.EncBinary() - _ = yym357 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktPath)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[68] { - yym359 := z.EncBinary() - _ = yym359 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ExperimentalMounterPath)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[68] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("experimentalMounterPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym360 := z.EncBinary() - _ = yym360 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ExperimentalMounterPath)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[69] { - yym362 := z.EncBinary() - _ = yym362 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ExperimentalMounterRootfsPath)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[69] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("experimentalMounterRootfsPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym363 := z.EncBinary() - _ = yym363 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ExperimentalMounterRootfsPath)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[70] { - yym365 := z.EncBinary() - _ = yym365 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktAPIEndpoint)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[70] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rktAPIEndpoint")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym366 := z.EncBinary() - _ = yym366 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktAPIEndpoint)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[71] { - yym368 := z.EncBinary() - _ = yym368 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktStage1Image)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[71] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rktStage1Image")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym369 := z.EncBinary() - _ = yym369 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktStage1Image)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym371 := z.EncBinary() - _ = yym371 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.LockFilePath)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lockFilePath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym372 := z.EncBinary() - _ = yym372 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.LockFilePath)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym374 := z.EncBinary() - _ = yym374 - if false { - } else { - r.EncodeBool(bool(x.ExitOnLockContention)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("exitOnLockContention")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym375 := z.EncBinary() - _ = yym375 - if false { - } else { - r.EncodeBool(bool(x.ExitOnLockContention)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym377 := z.EncBinary() - _ = yym377 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HairpinMode)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hairpinMode")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym378 := z.EncBinary() - _ = yym378 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HairpinMode)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym380 := z.EncBinary() - _ = yym380 - if false { - } else { - r.EncodeBool(bool(x.BabysitDaemons)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("babysitDaemons")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym381 := z.EncBinary() - _ = yym381 - if false { - } else { - r.EncodeBool(bool(x.BabysitDaemons)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym383 := z.EncBinary() - _ = yym383 - if false { - } else { - r.EncodeInt(int64(x.MaxPods)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxPods")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym384 := z.EncBinary() - _ = yym384 - if false { - } else { - r.EncodeInt(int64(x.MaxPods)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym386 := z.EncBinary() - _ = yym386 - if false { - } else { - r.EncodeInt(int64(x.NvidiaGPUs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nvidiaGPUs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym387 := z.EncBinary() - _ = yym387 - if false { - } else { - r.EncodeInt(int64(x.NvidiaGPUs)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym389 := z.EncBinary() - _ = yym389 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DockerExecHandlerName)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("dockerExecHandlerName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym390 := z.EncBinary() - _ = yym390 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DockerExecHandlerName)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym392 := z.EncBinary() - _ = yym392 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym393 := z.EncBinary() - _ = yym393 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym395 := z.EncBinary() - _ = yym395 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResolverConfig)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resolvConf")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym396 := z.EncBinary() - _ = yym396 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResolverConfig)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym398 := z.EncBinary() - _ = yym398 - if false { - } else { - r.EncodeBool(bool(x.CPUCFSQuota)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cpuCFSQuota")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym399 := z.EncBinary() - _ = yym399 - if false { - } else { - r.EncodeBool(bool(x.CPUCFSQuota)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym401 := z.EncBinary() - _ = yym401 - if false { - } else { - r.EncodeBool(bool(x.Containerized)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("containerized")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym402 := z.EncBinary() - _ = yym402 - if false { - } else { - r.EncodeBool(bool(x.Containerized)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym404 := z.EncBinary() - _ = yym404 - if false { - } else { - r.EncodeInt(int64(x.MaxOpenFiles)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxOpenFiles")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym405 := z.EncBinary() - _ = yym405 - if false { - } else { - r.EncodeInt(int64(x.MaxOpenFiles)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym407 := z.EncBinary() - _ = yym407 - if false { - } else { - r.EncodeBool(bool(x.ReconcileCIDR)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reconcileCIDR")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym408 := z.EncBinary() - _ = yym408 - if false { - } else { - r.EncodeBool(bool(x.ReconcileCIDR)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym410 := z.EncBinary() - _ = yym410 - if false { - } else { - r.EncodeBool(bool(x.RegisterSchedulable)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("registerSchedulable")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym411 := z.EncBinary() - _ = yym411 - if false { - } else { - r.EncodeBool(bool(x.RegisterSchedulable)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym413 := z.EncBinary() - _ = yym413 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("contentType")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym414 := z.EncBinary() - _ = yym414 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym416 := z.EncBinary() - _ = yym416 - if false { - } else { - r.EncodeInt(int64(x.KubeAPIQPS)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym417 := z.EncBinary() - _ = yym417 - if false { - } else { - r.EncodeInt(int64(x.KubeAPIQPS)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym419 := z.EncBinary() - _ = yym419 - if false { - } else { - r.EncodeInt(int64(x.KubeAPIBurst)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym420 := z.EncBinary() - _ = yym420 - if false { - } else { - r.EncodeInt(int64(x.KubeAPIBurst)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym422 := z.EncBinary() - _ = yym422 - if false { - } else { - r.EncodeBool(bool(x.SerializeImagePulls)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("serializeImagePulls")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym423 := z.EncBinary() - _ = yym423 - if false { - } else { - r.EncodeBool(bool(x.SerializeImagePulls)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[90] { - yy425 := &x.OutOfDiskTransitionFrequency - yym426 := z.EncBinary() - _ = yym426 - if false { - } else if z.HasExtensions() && z.EncExt(yy425) { - } else if !yym426 && z.IsJSONHandle() { - z.EncJSONMarshal(yy425) - } else { - z.EncFallback(yy425) - } - } else { - r.EncodeNil() - } - } else { - if yyq135[90] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("outOfDiskTransitionFrequency")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy427 := &x.OutOfDiskTransitionFrequency - yym428 := z.EncBinary() - _ = yym428 - if false { - } else if z.HasExtensions() && z.EncExt(yy427) { - } else if !yym428 && z.IsJSONHandle() { - z.EncJSONMarshal(yy427) - } else { - z.EncFallback(yy427) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[91] { - yym430 := z.EncBinary() - _ = yym430 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.NodeIP)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[91] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeIP")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym431 := z.EncBinary() - _ = yym431 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.NodeIP)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.NodeLabels == nil { - r.EncodeNil() - } else { - yym433 := z.EncBinary() - _ = yym433 - if false { - } else { - z.F.EncMapStringStringV(x.NodeLabels, false, e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeLabels")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.NodeLabels == nil { - r.EncodeNil() - } else { - yym434 := z.EncBinary() - _ = yym434 - if false { - } else { - z.F.EncMapStringStringV(x.NodeLabels, false, e) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym436 := z.EncBinary() - _ = yym436 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.NonMasqueradeCIDR)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nonMasqueradeCIDR")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym437 := z.EncBinary() - _ = yym437 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.NonMasqueradeCIDR)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym439 := z.EncBinary() - _ = yym439 - if false { - } else { - r.EncodeBool(bool(x.EnableCustomMetrics)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("enableCustomMetrics")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym440 := z.EncBinary() - _ = yym440 - if false { - } else { - r.EncodeBool(bool(x.EnableCustomMetrics)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[95] { - yym442 := z.EncBinary() - _ = yym442 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.EvictionHard)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[95] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("evictionHard")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym443 := z.EncBinary() - _ = yym443 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.EvictionHard)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[96] { - yym445 := z.EncBinary() - _ = yym445 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoft)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[96] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("evictionSoft")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym446 := z.EncBinary() - _ = yym446 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoft)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[97] { - yym448 := z.EncBinary() - _ = yym448 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoftGracePeriod)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[97] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("evictionSoftGracePeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym449 := z.EncBinary() - _ = yym449 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoftGracePeriod)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[98] { - yy451 := &x.EvictionPressureTransitionPeriod - yym452 := z.EncBinary() - _ = yym452 - if false { - } else if z.HasExtensions() && z.EncExt(yy451) { - } else if !yym452 && z.IsJSONHandle() { - z.EncJSONMarshal(yy451) - } else { - z.EncFallback(yy451) - } - } else { - r.EncodeNil() - } - } else { - if yyq135[98] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("evictionPressureTransitionPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy453 := &x.EvictionPressureTransitionPeriod - yym454 := z.EncBinary() - _ = yym454 - if false { - } else if z.HasExtensions() && z.EncExt(yy453) { - } else if !yym454 && z.IsJSONHandle() { - z.EncJSONMarshal(yy453) - } else { - z.EncFallback(yy453) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[99] { - yym456 := z.EncBinary() - _ = yym456 - if false { - } else { - r.EncodeInt(int64(x.EvictionMaxPodGracePeriod)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq135[99] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("evictionMaxPodGracePeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym457 := z.EncBinary() - _ = yym457 - if false { - } else { - r.EncodeInt(int64(x.EvictionMaxPodGracePeriod)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[100] { - yym459 := z.EncBinary() - _ = yym459 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.EvictionMinimumReclaim)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[100] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("evictionMinimumReclaim")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym460 := z.EncBinary() - _ = yym460 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.EvictionMinimumReclaim)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym462 := z.EncBinary() - _ = yym462 - if false { - } else { - r.EncodeInt(int64(x.PodsPerCore)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("podsPerCore")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym463 := z.EncBinary() - _ = yym463 - if false { - } else { - r.EncodeInt(int64(x.PodsPerCore)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym465 := z.EncBinary() - _ = yym465 - if false { - } else { - r.EncodeBool(bool(x.EnableControllerAttachDetach)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("enableControllerAttachDetach")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym466 := z.EncBinary() - _ = yym466 - if false { - } else { - r.EncodeBool(bool(x.EnableControllerAttachDetach)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.SystemReserved == nil { - r.EncodeNil() - } else { - yym468 := z.EncBinary() - _ = yym468 - if false { - } else if z.HasExtensions() && z.EncExt(x.SystemReserved) { - } else { - h.encconfig_ConfigurationMap((pkg2_config.ConfigurationMap)(x.SystemReserved), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("systemReserved")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.SystemReserved == nil { - r.EncodeNil() - } else { - yym469 := z.EncBinary() - _ = yym469 - if false { - } else if z.HasExtensions() && z.EncExt(x.SystemReserved) { - } else { - h.encconfig_ConfigurationMap((pkg2_config.ConfigurationMap)(x.SystemReserved), e) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.KubeReserved == nil { - r.EncodeNil() - } else { - yym471 := z.EncBinary() - _ = yym471 - if false { - } else if z.HasExtensions() && z.EncExt(x.KubeReserved) { - } else { - h.encconfig_ConfigurationMap((pkg2_config.ConfigurationMap)(x.KubeReserved), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeReserved")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.KubeReserved == nil { - r.EncodeNil() - } else { - yym472 := z.EncBinary() - _ = yym472 - if false { - } else if z.HasExtensions() && z.EncExt(x.KubeReserved) { - } else { - h.encconfig_ConfigurationMap((pkg2_config.ConfigurationMap)(x.KubeReserved), e) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym474 := z.EncBinary() - _ = yym474 - if false { - } else { - r.EncodeBool(bool(x.ProtectKernelDefaults)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("protectKernelDefaults")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym475 := z.EncBinary() - _ = yym475 - if false { - } else { - r.EncodeBool(bool(x.ProtectKernelDefaults)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym477 := z.EncBinary() - _ = yym477 - if false { - } else { - r.EncodeBool(bool(x.MakeIPTablesUtilChains)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("makeIPTablesUtilChains")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym478 := z.EncBinary() - _ = yym478 - if false { - } else { - r.EncodeBool(bool(x.MakeIPTablesUtilChains)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym480 := z.EncBinary() - _ = yym480 - if false { - } else { - r.EncodeInt(int64(x.IPTablesMasqueradeBit)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("iptablesMasqueradeBit")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym481 := z.EncBinary() - _ = yym481 - if false { - } else { - r.EncodeInt(int64(x.IPTablesMasqueradeBit)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym483 := z.EncBinary() - _ = yym483 - if false { - } else { - r.EncodeInt(int64(x.IPTablesDropBit)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("iptablesDropBit")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym484 := z.EncBinary() - _ = yym484 - if false { - } else { - r.EncodeInt(int64(x.IPTablesDropBit)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[109] { - if x.AllowedUnsafeSysctls == nil { - r.EncodeNil() - } else { - yym486 := z.EncBinary() - _ = yym486 - if false { - } else { - z.F.EncSliceStringV(x.AllowedUnsafeSysctls, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq135[109] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("experimentalAllowedUnsafeSysctls")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.AllowedUnsafeSysctls == nil { - r.EncodeNil() - } else { - yym487 := z.EncBinary() - _ = yym487 - if false { - } else { - z.F.EncSliceStringV(x.AllowedUnsafeSysctls, false, e) - } - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[110] { - yym489 := z.EncBinary() - _ = yym489 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ExperimentalRuntimeIntegrationType)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[110] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("experimentalRuntimeIntegrationType")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym490 := z.EncBinary() - _ = yym490 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ExperimentalRuntimeIntegrationType)) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *KubeletConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym491 := z.DecBinary() - _ = yym491 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct492 := r.ContainerType() - if yyct492 == codecSelferValueTypeMap1234 { - yyl492 := r.ReadMapStart() - if yyl492 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl492, d) - } - } else if yyct492 == codecSelferValueTypeArray1234 { - yyl492 := r.ReadArrayStart() - if yyl492 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl492, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - 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 { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys493Slc = r.DecodeBytes(yys493Slc, true, true) - yys493 := string(yys493Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys493 { - 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 "podManifestPath": - if r.TryDecodeAsNil() { - x.PodManifestPath = "" - } else { - x.PodManifestPath = string(r.DecodeString()) - } - case "syncFrequency": - if r.TryDecodeAsNil() { - x.SyncFrequency = pkg1_unversioned.Duration{} - } else { - yyv497 := &x.SyncFrequency - yym498 := z.DecBinary() - _ = yym498 - if false { - } else if z.HasExtensions() && z.DecExt(yyv497) { - } else if !yym498 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv497) - } else { - z.DecFallback(yyv497, false) - } - } - case "fileCheckFrequency": - if r.TryDecodeAsNil() { - x.FileCheckFrequency = pkg1_unversioned.Duration{} - } else { - yyv499 := &x.FileCheckFrequency - yym500 := z.DecBinary() - _ = yym500 - if false { - } else if z.HasExtensions() && z.DecExt(yyv499) { - } else if !yym500 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv499) - } else { - z.DecFallback(yyv499, false) - } - } - case "httpCheckFrequency": - if r.TryDecodeAsNil() { - x.HTTPCheckFrequency = pkg1_unversioned.Duration{} - } else { - yyv501 := &x.HTTPCheckFrequency - yym502 := z.DecBinary() - _ = yym502 - if false { - } else if z.HasExtensions() && z.DecExt(yyv501) { - } else if !yym502 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv501) - } else { - z.DecFallback(yyv501, false) - } - } - case "manifestURL": - if r.TryDecodeAsNil() { - x.ManifestURL = "" - } else { - x.ManifestURL = string(r.DecodeString()) - } - case "manifestURLHeader": - if r.TryDecodeAsNil() { - x.ManifestURLHeader = "" - } else { - x.ManifestURLHeader = string(r.DecodeString()) - } - case "enableServer": - if r.TryDecodeAsNil() { - x.EnableServer = false - } else { - x.EnableServer = bool(r.DecodeBool()) - } - case "address": - if r.TryDecodeAsNil() { - x.Address = "" - } else { - x.Address = string(r.DecodeString()) - } - case "port": - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - case "readOnlyPort": - if r.TryDecodeAsNil() { - x.ReadOnlyPort = 0 - } else { - x.ReadOnlyPort = int32(r.DecodeInt(32)) - } - case "tlsCertFile": - if r.TryDecodeAsNil() { - x.TLSCertFile = "" - } else { - x.TLSCertFile = string(r.DecodeString()) - } - case "tlsPrivateKeyFile": - if r.TryDecodeAsNil() { - x.TLSPrivateKeyFile = "" - } else { - x.TLSPrivateKeyFile = string(r.DecodeString()) - } - case "certDirectory": - if r.TryDecodeAsNil() { - x.CertDirectory = "" - } else { - x.CertDirectory = string(r.DecodeString()) - } - case "authentication": - if r.TryDecodeAsNil() { - x.Authentication = KubeletAuthentication{} - } else { - yyv512 := &x.Authentication - yyv512.CodecDecodeSelf(d) - } - case "authorization": - if r.TryDecodeAsNil() { - x.Authorization = KubeletAuthorization{} - } else { - yyv513 := &x.Authorization - yyv513.CodecDecodeSelf(d) - } - case "hostnameOverride": - if r.TryDecodeAsNil() { - x.HostnameOverride = "" - } else { - x.HostnameOverride = string(r.DecodeString()) - } - case "podInfraContainerImage": - if r.TryDecodeAsNil() { - x.PodInfraContainerImage = "" - } else { - x.PodInfraContainerImage = string(r.DecodeString()) - } - case "dockerEndpoint": - if r.TryDecodeAsNil() { - x.DockerEndpoint = "" - } else { - x.DockerEndpoint = string(r.DecodeString()) - } - case "rootDirectory": - if r.TryDecodeAsNil() { - x.RootDirectory = "" - } else { - x.RootDirectory = string(r.DecodeString()) - } - case "seccompProfileRoot": - if r.TryDecodeAsNil() { - x.SeccompProfileRoot = "" - } else { - x.SeccompProfileRoot = string(r.DecodeString()) - } - case "allowPrivileged": - if r.TryDecodeAsNil() { - x.AllowPrivileged = false - } else { - x.AllowPrivileged = bool(r.DecodeBool()) - } - case "hostNetworkSources": - if r.TryDecodeAsNil() { - x.HostNetworkSources = nil - } else { - yyv520 := &x.HostNetworkSources - yym521 := z.DecBinary() - _ = yym521 - if false { - } else { - z.F.DecSliceStringX(yyv520, false, d) - } - } - case "hostPIDSources": - if r.TryDecodeAsNil() { - x.HostPIDSources = nil - } else { - yyv522 := &x.HostPIDSources - yym523 := z.DecBinary() - _ = yym523 - if false { - } else { - z.F.DecSliceStringX(yyv522, false, d) - } - } - case "hostIPCSources": - if r.TryDecodeAsNil() { - x.HostIPCSources = nil - } else { - yyv524 := &x.HostIPCSources - yym525 := z.DecBinary() - _ = yym525 - if false { - } else { - z.F.DecSliceStringX(yyv524, false, d) - } - } - case "registryPullQPS": - if r.TryDecodeAsNil() { - x.RegistryPullQPS = 0 - } else { - x.RegistryPullQPS = int32(r.DecodeInt(32)) - } - case "registryBurst": - if r.TryDecodeAsNil() { - x.RegistryBurst = 0 - } else { - x.RegistryBurst = int32(r.DecodeInt(32)) - } - case "eventRecordQPS": - if r.TryDecodeAsNil() { - x.EventRecordQPS = 0 - } else { - x.EventRecordQPS = int32(r.DecodeInt(32)) - } - case "eventBurst": - if r.TryDecodeAsNil() { - x.EventBurst = 0 - } else { - x.EventBurst = int32(r.DecodeInt(32)) - } - case "enableDebuggingHandlers": - if r.TryDecodeAsNil() { - x.EnableDebuggingHandlers = false - } else { - x.EnableDebuggingHandlers = bool(r.DecodeBool()) - } - case "minimumGCAge": - if r.TryDecodeAsNil() { - x.MinimumGCAge = pkg1_unversioned.Duration{} - } else { - yyv531 := &x.MinimumGCAge - yym532 := z.DecBinary() - _ = yym532 - if false { - } else if z.HasExtensions() && z.DecExt(yyv531) { - } else if !yym532 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv531) - } else { - z.DecFallback(yyv531, false) - } - } - case "maxPerPodContainerCount": - if r.TryDecodeAsNil() { - x.MaxPerPodContainerCount = 0 - } else { - x.MaxPerPodContainerCount = int32(r.DecodeInt(32)) - } - case "maxContainerCount": - if r.TryDecodeAsNil() { - x.MaxContainerCount = 0 - } else { - x.MaxContainerCount = int32(r.DecodeInt(32)) - } - case "cAdvisorPort": - if r.TryDecodeAsNil() { - x.CAdvisorPort = 0 - } else { - x.CAdvisorPort = int32(r.DecodeInt(32)) - } - case "healthzPort": - if r.TryDecodeAsNil() { - x.HealthzPort = 0 - } else { - x.HealthzPort = int32(r.DecodeInt(32)) - } - case "healthzBindAddress": - if r.TryDecodeAsNil() { - x.HealthzBindAddress = "" - } else { - x.HealthzBindAddress = string(r.DecodeString()) - } - case "oomScoreAdj": - if r.TryDecodeAsNil() { - x.OOMScoreAdj = 0 - } else { - x.OOMScoreAdj = int32(r.DecodeInt(32)) - } - case "registerNode": - if r.TryDecodeAsNil() { - x.RegisterNode = false - } else { - x.RegisterNode = bool(r.DecodeBool()) - } - case "clusterDomain": - if r.TryDecodeAsNil() { - x.ClusterDomain = "" - } else { - x.ClusterDomain = string(r.DecodeString()) - } - case "masterServiceNamespace": - if r.TryDecodeAsNil() { - x.MasterServiceNamespace = "" - } else { - x.MasterServiceNamespace = string(r.DecodeString()) - } - case "clusterDNS": - if r.TryDecodeAsNil() { - x.ClusterDNS = "" - } else { - x.ClusterDNS = string(r.DecodeString()) - } - case "streamingConnectionIdleTimeout": - if r.TryDecodeAsNil() { - x.StreamingConnectionIdleTimeout = pkg1_unversioned.Duration{} - } else { - yyv543 := &x.StreamingConnectionIdleTimeout - yym544 := z.DecBinary() - _ = yym544 - if false { - } else if z.HasExtensions() && z.DecExt(yyv543) { - } else if !yym544 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv543) - } else { - z.DecFallback(yyv543, false) - } - } - case "nodeStatusUpdateFrequency": - if r.TryDecodeAsNil() { - x.NodeStatusUpdateFrequency = pkg1_unversioned.Duration{} - } else { - yyv545 := &x.NodeStatusUpdateFrequency - yym546 := z.DecBinary() - _ = yym546 - if false { - } else if z.HasExtensions() && z.DecExt(yyv545) { - } else if !yym546 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv545) - } else { - z.DecFallback(yyv545, false) - } - } - case "imageMinimumGCAge": - if r.TryDecodeAsNil() { - x.ImageMinimumGCAge = pkg1_unversioned.Duration{} - } else { - yyv547 := &x.ImageMinimumGCAge - yym548 := z.DecBinary() - _ = yym548 - if false { - } else if z.HasExtensions() && z.DecExt(yyv547) { - } else if !yym548 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv547) - } else { - z.DecFallback(yyv547, false) - } - } - case "imageGCHighThresholdPercent": - if r.TryDecodeAsNil() { - x.ImageGCHighThresholdPercent = 0 - } else { - x.ImageGCHighThresholdPercent = int32(r.DecodeInt(32)) - } - case "imageGCLowThresholdPercent": - if r.TryDecodeAsNil() { - x.ImageGCLowThresholdPercent = 0 - } else { - x.ImageGCLowThresholdPercent = int32(r.DecodeInt(32)) - } - case "lowDiskSpaceThresholdMB": - if r.TryDecodeAsNil() { - x.LowDiskSpaceThresholdMB = 0 - } else { - x.LowDiskSpaceThresholdMB = int32(r.DecodeInt(32)) - } - case "volumeStatsAggPeriod": - if r.TryDecodeAsNil() { - x.VolumeStatsAggPeriod = pkg1_unversioned.Duration{} - } else { - yyv552 := &x.VolumeStatsAggPeriod - yym553 := z.DecBinary() - _ = yym553 - if false { - } else if z.HasExtensions() && z.DecExt(yyv552) { - } else if !yym553 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv552) - } else { - z.DecFallback(yyv552, false) - } - } - case "networkPluginName": - if r.TryDecodeAsNil() { - x.NetworkPluginName = "" - } else { - x.NetworkPluginName = string(r.DecodeString()) - } - case "networkPluginMTU": - if r.TryDecodeAsNil() { - x.NetworkPluginMTU = 0 - } else { - x.NetworkPluginMTU = int32(r.DecodeInt(32)) - } - case "networkPluginDir": - if r.TryDecodeAsNil() { - x.NetworkPluginDir = "" - } else { - x.NetworkPluginDir = string(r.DecodeString()) - } - case "cniConfDir": - if r.TryDecodeAsNil() { - x.CNIConfDir = "" - } else { - x.CNIConfDir = string(r.DecodeString()) - } - case "cniBinDir": - if r.TryDecodeAsNil() { - x.CNIBinDir = "" - } else { - x.CNIBinDir = string(r.DecodeString()) - } - case "volumePluginDir": - if r.TryDecodeAsNil() { - x.VolumePluginDir = "" - } else { - x.VolumePluginDir = string(r.DecodeString()) - } - case "cloudProvider": - if r.TryDecodeAsNil() { - x.CloudProvider = "" - } else { - x.CloudProvider = string(r.DecodeString()) - } - case "cloudConfigFile": - if r.TryDecodeAsNil() { - x.CloudConfigFile = "" - } else { - x.CloudConfigFile = string(r.DecodeString()) - } - case "kubeletCgroups": - if r.TryDecodeAsNil() { - x.KubeletCgroups = "" - } else { - x.KubeletCgroups = string(r.DecodeString()) - } - case "cgroupsPerQOS": - if r.TryDecodeAsNil() { - x.CgroupsPerQOS = false - } else { - x.CgroupsPerQOS = bool(r.DecodeBool()) - } - case "cgroupDriver": - if r.TryDecodeAsNil() { - x.CgroupDriver = "" - } else { - x.CgroupDriver = string(r.DecodeString()) - } - case "runtimeCgroups": - if r.TryDecodeAsNil() { - x.RuntimeCgroups = "" - } else { - x.RuntimeCgroups = string(r.DecodeString()) - } - case "systemCgroups": - if r.TryDecodeAsNil() { - x.SystemCgroups = "" - } else { - x.SystemCgroups = string(r.DecodeString()) - } - case "cgroupRoot": - if r.TryDecodeAsNil() { - x.CgroupRoot = "" - } else { - x.CgroupRoot = string(r.DecodeString()) - } - case "containerRuntime": - if r.TryDecodeAsNil() { - x.ContainerRuntime = "" - } else { - x.ContainerRuntime = string(r.DecodeString()) - } - case "remoteRuntimeEndpoint": - if r.TryDecodeAsNil() { - x.RemoteRuntimeEndpoint = "" - } else { - x.RemoteRuntimeEndpoint = string(r.DecodeString()) - } - case "remoteImageEndpoint": - if r.TryDecodeAsNil() { - x.RemoteImageEndpoint = "" - } else { - x.RemoteImageEndpoint = string(r.DecodeString()) - } - case "runtimeRequestTimeout": - if r.TryDecodeAsNil() { - x.RuntimeRequestTimeout = pkg1_unversioned.Duration{} - } else { - yyv571 := &x.RuntimeRequestTimeout - yym572 := z.DecBinary() - _ = yym572 - if false { - } else if z.HasExtensions() && z.DecExt(yyv571) { - } else if !yym572 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv571) - } else { - z.DecFallback(yyv571, false) - } - } - case "rktPath": - if r.TryDecodeAsNil() { - x.RktPath = "" - } else { - x.RktPath = string(r.DecodeString()) - } - case "experimentalMounterPath": - if r.TryDecodeAsNil() { - x.ExperimentalMounterPath = "" - } else { - x.ExperimentalMounterPath = string(r.DecodeString()) - } - case "experimentalMounterRootfsPath": - if r.TryDecodeAsNil() { - x.ExperimentalMounterRootfsPath = "" - } else { - x.ExperimentalMounterRootfsPath = string(r.DecodeString()) - } - case "rktAPIEndpoint": - if r.TryDecodeAsNil() { - x.RktAPIEndpoint = "" - } else { - x.RktAPIEndpoint = string(r.DecodeString()) - } - case "rktStage1Image": - if r.TryDecodeAsNil() { - x.RktStage1Image = "" - } else { - x.RktStage1Image = string(r.DecodeString()) - } - case "lockFilePath": - if r.TryDecodeAsNil() { - x.LockFilePath = "" - } else { - x.LockFilePath = string(r.DecodeString()) - } - case "exitOnLockContention": - if r.TryDecodeAsNil() { - x.ExitOnLockContention = false - } else { - x.ExitOnLockContention = bool(r.DecodeBool()) - } - case "hairpinMode": - if r.TryDecodeAsNil() { - x.HairpinMode = "" - } else { - x.HairpinMode = string(r.DecodeString()) - } - case "babysitDaemons": - if r.TryDecodeAsNil() { - x.BabysitDaemons = false - } else { - x.BabysitDaemons = bool(r.DecodeBool()) - } - case "maxPods": - if r.TryDecodeAsNil() { - x.MaxPods = 0 - } else { - x.MaxPods = int32(r.DecodeInt(32)) - } - case "nvidiaGPUs": - if r.TryDecodeAsNil() { - x.NvidiaGPUs = 0 - } else { - x.NvidiaGPUs = int32(r.DecodeInt(32)) - } - case "dockerExecHandlerName": - if r.TryDecodeAsNil() { - x.DockerExecHandlerName = "" - } else { - x.DockerExecHandlerName = string(r.DecodeString()) - } - case "podCIDR": - if r.TryDecodeAsNil() { - x.PodCIDR = "" - } else { - x.PodCIDR = string(r.DecodeString()) - } - case "resolvConf": - if r.TryDecodeAsNil() { - x.ResolverConfig = "" - } else { - x.ResolverConfig = string(r.DecodeString()) - } - case "cpuCFSQuota": - if r.TryDecodeAsNil() { - x.CPUCFSQuota = false - } else { - x.CPUCFSQuota = bool(r.DecodeBool()) - } - case "containerized": - if r.TryDecodeAsNil() { - x.Containerized = false - } else { - x.Containerized = bool(r.DecodeBool()) - } - case "maxOpenFiles": - if r.TryDecodeAsNil() { - x.MaxOpenFiles = 0 - } else { - x.MaxOpenFiles = int64(r.DecodeInt(64)) - } - case "reconcileCIDR": - if r.TryDecodeAsNil() { - x.ReconcileCIDR = false - } else { - x.ReconcileCIDR = bool(r.DecodeBool()) - } - case "registerSchedulable": - if r.TryDecodeAsNil() { - x.RegisterSchedulable = false - } else { - x.RegisterSchedulable = bool(r.DecodeBool()) - } - case "contentType": - if r.TryDecodeAsNil() { - x.ContentType = "" - } else { - x.ContentType = string(r.DecodeString()) - } - case "kubeAPIQPS": - if r.TryDecodeAsNil() { - x.KubeAPIQPS = 0 - } else { - x.KubeAPIQPS = int32(r.DecodeInt(32)) - } - case "kubeAPIBurst": - if r.TryDecodeAsNil() { - x.KubeAPIBurst = 0 - } else { - x.KubeAPIBurst = int32(r.DecodeInt(32)) - } - case "serializeImagePulls": - if r.TryDecodeAsNil() { - x.SerializeImagePulls = false - } else { - x.SerializeImagePulls = bool(r.DecodeBool()) - } - case "outOfDiskTransitionFrequency": - if r.TryDecodeAsNil() { - x.OutOfDiskTransitionFrequency = pkg1_unversioned.Duration{} - } else { - yyv596 := &x.OutOfDiskTransitionFrequency - yym597 := z.DecBinary() - _ = yym597 - if false { - } else if z.HasExtensions() && z.DecExt(yyv596) { - } else if !yym597 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv596) - } else { - z.DecFallback(yyv596, false) - } - } - case "nodeIP": - if r.TryDecodeAsNil() { - x.NodeIP = "" - } else { - x.NodeIP = string(r.DecodeString()) - } - case "nodeLabels": - if r.TryDecodeAsNil() { - x.NodeLabels = nil - } else { - yyv599 := &x.NodeLabels - yym600 := z.DecBinary() - _ = yym600 - if false { - } else { - z.F.DecMapStringStringX(yyv599, false, d) - } - } - case "nonMasqueradeCIDR": - if r.TryDecodeAsNil() { - x.NonMasqueradeCIDR = "" - } else { - x.NonMasqueradeCIDR = string(r.DecodeString()) - } - case "enableCustomMetrics": - if r.TryDecodeAsNil() { - x.EnableCustomMetrics = false - } else { - x.EnableCustomMetrics = bool(r.DecodeBool()) - } - case "evictionHard": - if r.TryDecodeAsNil() { - x.EvictionHard = "" - } else { - x.EvictionHard = string(r.DecodeString()) - } - case "evictionSoft": - if r.TryDecodeAsNil() { - x.EvictionSoft = "" - } else { - x.EvictionSoft = string(r.DecodeString()) - } - case "evictionSoftGracePeriod": - if r.TryDecodeAsNil() { - x.EvictionSoftGracePeriod = "" - } else { - x.EvictionSoftGracePeriod = string(r.DecodeString()) - } - case "evictionPressureTransitionPeriod": - if r.TryDecodeAsNil() { - x.EvictionPressureTransitionPeriod = pkg1_unversioned.Duration{} - } else { - yyv606 := &x.EvictionPressureTransitionPeriod - yym607 := z.DecBinary() - _ = yym607 - if false { - } else if z.HasExtensions() && z.DecExt(yyv606) { - } else if !yym607 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv606) - } else { - z.DecFallback(yyv606, false) - } - } - case "evictionMaxPodGracePeriod": - if r.TryDecodeAsNil() { - x.EvictionMaxPodGracePeriod = 0 - } else { - x.EvictionMaxPodGracePeriod = int32(r.DecodeInt(32)) - } - case "evictionMinimumReclaim": - if r.TryDecodeAsNil() { - x.EvictionMinimumReclaim = "" - } else { - x.EvictionMinimumReclaim = string(r.DecodeString()) - } - case "podsPerCore": - if r.TryDecodeAsNil() { - x.PodsPerCore = 0 - } else { - x.PodsPerCore = int32(r.DecodeInt(32)) - } - case "enableControllerAttachDetach": - if r.TryDecodeAsNil() { - x.EnableControllerAttachDetach = false - } else { - x.EnableControllerAttachDetach = bool(r.DecodeBool()) - } - case "systemReserved": - if r.TryDecodeAsNil() { - x.SystemReserved = nil - } else { - yyv612 := &x.SystemReserved - yym613 := z.DecBinary() - _ = yym613 - if false { - } else if z.HasExtensions() && z.DecExt(yyv612) { - } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv612), d) - } - } - case "kubeReserved": - if r.TryDecodeAsNil() { - x.KubeReserved = nil - } else { - yyv614 := &x.KubeReserved - yym615 := z.DecBinary() - _ = yym615 - if false { - } else if z.HasExtensions() && z.DecExt(yyv614) { - } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv614), d) - } - } - case "protectKernelDefaults": - if r.TryDecodeAsNil() { - x.ProtectKernelDefaults = false - } else { - x.ProtectKernelDefaults = bool(r.DecodeBool()) - } - case "makeIPTablesUtilChains": - if r.TryDecodeAsNil() { - x.MakeIPTablesUtilChains = false - } else { - x.MakeIPTablesUtilChains = bool(r.DecodeBool()) - } - case "iptablesMasqueradeBit": - if r.TryDecodeAsNil() { - x.IPTablesMasqueradeBit = 0 - } else { - x.IPTablesMasqueradeBit = int32(r.DecodeInt(32)) - } - case "iptablesDropBit": - if r.TryDecodeAsNil() { - x.IPTablesDropBit = 0 - } else { - x.IPTablesDropBit = int32(r.DecodeInt(32)) - } - case "experimentalAllowedUnsafeSysctls": - if r.TryDecodeAsNil() { - x.AllowedUnsafeSysctls = nil - } else { - yyv620 := &x.AllowedUnsafeSysctls - yym621 := z.DecBinary() - _ = yym621 - if false { - } else { - z.F.DecSliceStringX(yyv620, false, d) - } - } - case "experimentalRuntimeIntegrationType": - if r.TryDecodeAsNil() { - x.ExperimentalRuntimeIntegrationType = "" - } else { - x.ExperimentalRuntimeIntegrationType = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys493) - } // end switch yys493 - } // end for yyj493 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj623 int - var yyb623 bool - var yyhl623 bool = l >= 0 - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodManifestPath = "" - } else { - x.PodManifestPath = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SyncFrequency = pkg1_unversioned.Duration{} - } else { - yyv627 := &x.SyncFrequency - yym628 := z.DecBinary() - _ = yym628 - if false { - } else if z.HasExtensions() && z.DecExt(yyv627) { - } else if !yym628 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv627) - } else { - z.DecFallback(yyv627, false) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FileCheckFrequency = pkg1_unversioned.Duration{} - } else { - yyv629 := &x.FileCheckFrequency - yym630 := z.DecBinary() - _ = yym630 - if false { - } else if z.HasExtensions() && z.DecExt(yyv629) { - } else if !yym630 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv629) - } else { - z.DecFallback(yyv629, false) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HTTPCheckFrequency = pkg1_unversioned.Duration{} - } else { - yyv631 := &x.HTTPCheckFrequency - 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) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ManifestURL = "" - } else { - x.ManifestURL = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ManifestURLHeader = "" - } else { - x.ManifestURLHeader = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableServer = false - } else { - x.EnableServer = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Address = "" - } else { - x.Address = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ReadOnlyPort = 0 - } else { - x.ReadOnlyPort = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TLSCertFile = "" - } else { - x.TLSCertFile = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TLSPrivateKeyFile = "" - } else { - x.TLSPrivateKeyFile = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CertDirectory = "" - } else { - x.CertDirectory = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Authentication = KubeletAuthentication{} - } else { - yyv642 := &x.Authentication - yyv642.CodecDecodeSelf(d) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Authorization = KubeletAuthorization{} - } else { - yyv643 := &x.Authorization - yyv643.CodecDecodeSelf(d) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HostnameOverride = "" - } else { - x.HostnameOverride = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodInfraContainerImage = "" - } else { - x.PodInfraContainerImage = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DockerEndpoint = "" - } else { - x.DockerEndpoint = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RootDirectory = "" - } else { - x.RootDirectory = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SeccompProfileRoot = "" - } else { - x.SeccompProfileRoot = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.AllowPrivileged = false - } else { - x.AllowPrivileged = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HostNetworkSources = nil - } else { - yyv650 := &x.HostNetworkSources - yym651 := z.DecBinary() - _ = yym651 - if false { - } else { - z.F.DecSliceStringX(yyv650, false, d) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HostPIDSources = nil - } else { - yyv652 := &x.HostPIDSources - yym653 := z.DecBinary() - _ = yym653 - if false { - } else { - z.F.DecSliceStringX(yyv652, false, d) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HostIPCSources = nil - } else { - yyv654 := &x.HostIPCSources - yym655 := z.DecBinary() - _ = yym655 - if false { - } else { - z.F.DecSliceStringX(yyv654, false, d) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RegistryPullQPS = 0 - } else { - x.RegistryPullQPS = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RegistryBurst = 0 - } else { - x.RegistryBurst = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EventRecordQPS = 0 - } else { - x.EventRecordQPS = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EventBurst = 0 - } else { - x.EventBurst = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableDebuggingHandlers = false - } else { - x.EnableDebuggingHandlers = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MinimumGCAge = pkg1_unversioned.Duration{} - } else { - yyv661 := &x.MinimumGCAge - yym662 := z.DecBinary() - _ = yym662 - if false { - } else if z.HasExtensions() && z.DecExt(yyv661) { - } else if !yym662 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv661) - } else { - z.DecFallback(yyv661, false) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxPerPodContainerCount = 0 - } else { - x.MaxPerPodContainerCount = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxContainerCount = 0 - } else { - x.MaxContainerCount = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CAdvisorPort = 0 - } else { - x.CAdvisorPort = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HealthzPort = 0 - } else { - x.HealthzPort = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HealthzBindAddress = "" - } else { - x.HealthzBindAddress = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.OOMScoreAdj = 0 - } else { - x.OOMScoreAdj = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RegisterNode = false - } else { - x.RegisterNode = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterDomain = "" - } else { - x.ClusterDomain = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MasterServiceNamespace = "" - } else { - x.MasterServiceNamespace = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterDNS = "" - } else { - x.ClusterDNS = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.StreamingConnectionIdleTimeout = pkg1_unversioned.Duration{} - } else { - yyv673 := &x.StreamingConnectionIdleTimeout - yym674 := z.DecBinary() - _ = yym674 - if false { - } else if z.HasExtensions() && z.DecExt(yyv673) { - } else if !yym674 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv673) - } else { - z.DecFallback(yyv673, false) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeStatusUpdateFrequency = pkg1_unversioned.Duration{} - } else { - yyv675 := &x.NodeStatusUpdateFrequency - yym676 := z.DecBinary() - _ = yym676 - if false { - } else if z.HasExtensions() && z.DecExt(yyv675) { - } else if !yym676 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv675) - } else { - z.DecFallback(yyv675, false) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ImageMinimumGCAge = pkg1_unversioned.Duration{} - } else { - yyv677 := &x.ImageMinimumGCAge - yym678 := z.DecBinary() - _ = yym678 - if false { - } else if z.HasExtensions() && z.DecExt(yyv677) { - } else if !yym678 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv677) - } else { - z.DecFallback(yyv677, false) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ImageGCHighThresholdPercent = 0 - } else { - x.ImageGCHighThresholdPercent = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ImageGCLowThresholdPercent = 0 - } else { - x.ImageGCLowThresholdPercent = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LowDiskSpaceThresholdMB = 0 - } else { - x.LowDiskSpaceThresholdMB = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.VolumeStatsAggPeriod = pkg1_unversioned.Duration{} - } else { - yyv682 := &x.VolumeStatsAggPeriod - yym683 := z.DecBinary() - _ = yym683 - if false { - } else if z.HasExtensions() && z.DecExt(yyv682) { - } else if !yym683 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv682) - } else { - z.DecFallback(yyv682, false) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NetworkPluginName = "" - } else { - x.NetworkPluginName = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NetworkPluginMTU = 0 - } else { - x.NetworkPluginMTU = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NetworkPluginDir = "" - } else { - x.NetworkPluginDir = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CNIConfDir = "" - } else { - x.CNIConfDir = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CNIBinDir = "" - } else { - x.CNIBinDir = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.VolumePluginDir = "" - } else { - x.VolumePluginDir = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CloudProvider = "" - } else { - x.CloudProvider = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CloudConfigFile = "" - } else { - x.CloudConfigFile = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeletCgroups = "" - } else { - x.KubeletCgroups = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CgroupsPerQOS = false - } else { - x.CgroupsPerQOS = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CgroupDriver = "" - } else { - x.CgroupDriver = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RuntimeCgroups = "" - } else { - x.RuntimeCgroups = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SystemCgroups = "" - } else { - x.SystemCgroups = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CgroupRoot = "" - } else { - x.CgroupRoot = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ContainerRuntime = "" - } else { - x.ContainerRuntime = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RemoteRuntimeEndpoint = "" - } else { - x.RemoteRuntimeEndpoint = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RemoteImageEndpoint = "" - } else { - x.RemoteImageEndpoint = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RuntimeRequestTimeout = pkg1_unversioned.Duration{} - } else { - yyv701 := &x.RuntimeRequestTimeout - yym702 := z.DecBinary() - _ = yym702 - if false { - } else if z.HasExtensions() && z.DecExt(yyv701) { - } else if !yym702 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv701) - } else { - z.DecFallback(yyv701, false) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RktPath = "" - } else { - x.RktPath = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ExperimentalMounterPath = "" - } else { - x.ExperimentalMounterPath = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ExperimentalMounterRootfsPath = "" - } else { - x.ExperimentalMounterRootfsPath = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RktAPIEndpoint = "" - } else { - x.RktAPIEndpoint = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RktStage1Image = "" - } else { - x.RktStage1Image = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LockFilePath = "" - } else { - x.LockFilePath = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ExitOnLockContention = false - } else { - x.ExitOnLockContention = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HairpinMode = "" - } else { - x.HairpinMode = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.BabysitDaemons = false - } else { - x.BabysitDaemons = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxPods = 0 - } else { - x.MaxPods = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NvidiaGPUs = 0 - } else { - x.NvidiaGPUs = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DockerExecHandlerName = "" - } else { - x.DockerExecHandlerName = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodCIDR = "" - } else { - x.PodCIDR = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ResolverConfig = "" - } else { - x.ResolverConfig = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CPUCFSQuota = false - } else { - x.CPUCFSQuota = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Containerized = false - } else { - x.Containerized = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxOpenFiles = 0 - } else { - x.MaxOpenFiles = int64(r.DecodeInt(64)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ReconcileCIDR = false - } else { - x.ReconcileCIDR = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RegisterSchedulable = false - } else { - x.RegisterSchedulable = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ContentType = "" - } else { - x.ContentType = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeAPIQPS = 0 - } else { - x.KubeAPIQPS = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeAPIBurst = 0 - } else { - x.KubeAPIBurst = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SerializeImagePulls = false - } else { - x.SerializeImagePulls = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.OutOfDiskTransitionFrequency = pkg1_unversioned.Duration{} - } else { - yyv726 := &x.OutOfDiskTransitionFrequency - yym727 := z.DecBinary() - _ = yym727 - if false { - } else if z.HasExtensions() && z.DecExt(yyv726) { - } else if !yym727 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv726) - } else { - z.DecFallback(yyv726, false) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeIP = "" - } else { - x.NodeIP = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeLabels = nil - } else { - yyv729 := &x.NodeLabels - yym730 := z.DecBinary() - _ = yym730 - if false { - } else { - z.F.DecMapStringStringX(yyv729, false, d) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NonMasqueradeCIDR = "" - } else { - x.NonMasqueradeCIDR = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableCustomMetrics = false - } else { - x.EnableCustomMetrics = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EvictionHard = "" - } else { - x.EvictionHard = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EvictionSoft = "" - } else { - x.EvictionSoft = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EvictionSoftGracePeriod = "" - } else { - x.EvictionSoftGracePeriod = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EvictionPressureTransitionPeriod = pkg1_unversioned.Duration{} - } else { - yyv736 := &x.EvictionPressureTransitionPeriod - yym737 := z.DecBinary() - _ = yym737 - if false { - } else if z.HasExtensions() && z.DecExt(yyv736) { - } else if !yym737 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv736) - } else { - z.DecFallback(yyv736, false) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EvictionMaxPodGracePeriod = 0 - } else { - x.EvictionMaxPodGracePeriod = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EvictionMinimumReclaim = "" - } else { - x.EvictionMinimumReclaim = string(r.DecodeString()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodsPerCore = 0 - } else { - x.PodsPerCore = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableControllerAttachDetach = false - } else { - x.EnableControllerAttachDetach = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SystemReserved = nil - } else { - yyv742 := &x.SystemReserved - yym743 := z.DecBinary() - _ = yym743 - if false { - } else if z.HasExtensions() && z.DecExt(yyv742) { - } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv742), d) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeReserved = nil - } else { - yyv744 := &x.KubeReserved - yym745 := z.DecBinary() - _ = yym745 - if false { - } else if z.HasExtensions() && z.DecExt(yyv744) { - } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv744), d) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ProtectKernelDefaults = false - } else { - x.ProtectKernelDefaults = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MakeIPTablesUtilChains = false - } else { - x.MakeIPTablesUtilChains = bool(r.DecodeBool()) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.IPTablesMasqueradeBit = 0 - } else { - x.IPTablesMasqueradeBit = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.IPTablesDropBit = 0 - } else { - x.IPTablesDropBit = int32(r.DecodeInt(32)) - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.AllowedUnsafeSysctls = nil - } else { - yyv750 := &x.AllowedUnsafeSysctls - yym751 := z.DecBinary() - _ = yym751 - if false { - } else { - z.F.DecSliceStringX(yyv750, false, d) - } - } - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ExperimentalRuntimeIntegrationType = "" - } else { - x.ExperimentalRuntimeIntegrationType = string(r.DecodeString()) - } - for { - yyj623++ - if yyhl623 { - yyb623 = yyj623 > l - } else { - yyb623 = r.CheckBreak() - } - if yyb623 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj623-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x KubeletAuthorizationMode) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym753 := z.EncBinary() - _ = yym753 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *KubeletAuthorizationMode) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym754 := z.DecBinary() - _ = yym754 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *KubeletAuthorization) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym755 := z.EncBinary() - _ = yym755 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep756 := !z.EncBinary() - yy2arr756 := z.EncBasicHandle().StructToArray - var yyq756 [2]bool - _, _, _ = yysep756, yyq756, yy2arr756 - const yyr756 bool = false - var yynn756 int - if yyr756 || yy2arr756 { - r.EncodeArrayStart(2) - } else { - yynn756 = 2 - for _, b := range yyq756 { - if b { - yynn756++ - } - } - r.EncodeMapStart(yynn756) - yynn756 = 0 - } - if yyr756 || yy2arr756 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Mode.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("mode")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Mode.CodecEncodeSelf(e) - } - if yyr756 || yy2arr756 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy759 := &x.Webhook - yy759.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("webhook")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy760 := &x.Webhook - yy760.CodecEncodeSelf(e) - } - if yyr756 || yy2arr756 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *KubeletAuthorization) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym761 := z.DecBinary() - _ = yym761 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct762 := r.ContainerType() - if yyct762 == codecSelferValueTypeMap1234 { - yyl762 := r.ReadMapStart() - if yyl762 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl762, d) - } - } else if yyct762 == codecSelferValueTypeArray1234 { - yyl762 := r.ReadArrayStart() - if yyl762 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl762, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *KubeletAuthorization) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys763Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys763Slc - var yyhl763 bool = l >= 0 - for yyj763 := 0; ; yyj763++ { - if yyhl763 { - if yyj763 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys763Slc = r.DecodeBytes(yys763Slc, true, true) - yys763 := string(yys763Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys763 { - case "mode": - if r.TryDecodeAsNil() { - x.Mode = "" - } else { - x.Mode = KubeletAuthorizationMode(r.DecodeString()) - } - case "webhook": - if r.TryDecodeAsNil() { - x.Webhook = KubeletWebhookAuthorization{} - } else { - yyv765 := &x.Webhook - yyv765.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys763) - } // end switch yys763 - } // end for yyj763 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *KubeletAuthorization) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj766 int - var yyb766 bool - var yyhl766 bool = l >= 0 - 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.Mode = "" - } else { - x.Mode = KubeletAuthorizationMode(r.DecodeString()) - } - 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.Webhook = KubeletWebhookAuthorization{} - } else { - yyv768 := &x.Webhook - yyv768.CodecDecodeSelf(d) - } - for { - yyj766++ - if yyhl766 { - yyb766 = yyj766 > l - } else { - yyb766 = r.CheckBreak() - } - if yyb766 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj766-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *KubeletWebhookAuthorization) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym769 := z.EncBinary() - _ = yym769 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep770 := !z.EncBinary() - yy2arr770 := z.EncBasicHandle().StructToArray - var yyq770 [2]bool - _, _, _ = yysep770, yyq770, yy2arr770 - const yyr770 bool = false - var yynn770 int - if yyr770 || yy2arr770 { - r.EncodeArrayStart(2) - } else { - yynn770 = 2 - for _, b := range yyq770 { - if b { - yynn770++ - } - } - r.EncodeMapStart(yynn770) - yynn770 = 0 - } - if yyr770 || yy2arr770 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy772 := &x.CacheAuthorizedTTL - yym773 := z.EncBinary() - _ = yym773 - if false { - } else if z.HasExtensions() && z.EncExt(yy772) { - } else if !yym773 && z.IsJSONHandle() { - z.EncJSONMarshal(yy772) - } else { - z.EncFallback(yy772) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cacheAuthorizedTTL")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy774 := &x.CacheAuthorizedTTL - yym775 := z.EncBinary() - _ = yym775 - if false { - } else if z.HasExtensions() && z.EncExt(yy774) { - } else if !yym775 && z.IsJSONHandle() { - z.EncJSONMarshal(yy774) - } else { - z.EncFallback(yy774) - } - } - if yyr770 || yy2arr770 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy777 := &x.CacheUnauthorizedTTL - yym778 := z.EncBinary() - _ = yym778 - if false { - } else if z.HasExtensions() && z.EncExt(yy777) { - } else if !yym778 && z.IsJSONHandle() { - z.EncJSONMarshal(yy777) - } else { - z.EncFallback(yy777) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cacheUnauthorizedTTL")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy779 := &x.CacheUnauthorizedTTL - yym780 := z.EncBinary() - _ = yym780 - if false { - } else if z.HasExtensions() && z.EncExt(yy779) { - } else if !yym780 && z.IsJSONHandle() { - z.EncJSONMarshal(yy779) - } else { - z.EncFallback(yy779) - } - } - if yyr770 || yy2arr770 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *KubeletWebhookAuthorization) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym781 := z.DecBinary() - _ = yym781 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct782 := r.ContainerType() - if yyct782 == codecSelferValueTypeMap1234 { - yyl782 := r.ReadMapStart() - if yyl782 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl782, d) - } - } else if yyct782 == codecSelferValueTypeArray1234 { - yyl782 := r.ReadArrayStart() - if yyl782 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl782, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *KubeletWebhookAuthorization) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys783Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys783Slc - var yyhl783 bool = l >= 0 - for yyj783 := 0; ; yyj783++ { - if yyhl783 { - if yyj783 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys783Slc = r.DecodeBytes(yys783Slc, true, true) - yys783 := string(yys783Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys783 { - case "cacheAuthorizedTTL": - if r.TryDecodeAsNil() { - x.CacheAuthorizedTTL = pkg1_unversioned.Duration{} - } else { - yyv784 := &x.CacheAuthorizedTTL - yym785 := z.DecBinary() - _ = yym785 - if false { - } else if z.HasExtensions() && z.DecExt(yyv784) { - } else if !yym785 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv784) - } else { - z.DecFallback(yyv784, false) - } - } - case "cacheUnauthorizedTTL": - if r.TryDecodeAsNil() { - x.CacheUnauthorizedTTL = pkg1_unversioned.Duration{} - } else { - yyv786 := &x.CacheUnauthorizedTTL - yym787 := z.DecBinary() - _ = yym787 - if false { - } else if z.HasExtensions() && z.DecExt(yyv786) { - } else if !yym787 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv786) - } else { - z.DecFallback(yyv786, false) - } - } - default: - z.DecStructFieldNotFound(-1, yys783) - } // end switch yys783 - } // end for yyj783 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *KubeletWebhookAuthorization) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj788 int - var yyb788 bool - var yyhl788 bool = l >= 0 - yyj788++ - if yyhl788 { - yyb788 = yyj788 > l - } else { - yyb788 = r.CheckBreak() - } - if yyb788 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CacheAuthorizedTTL = pkg1_unversioned.Duration{} - } else { - yyv789 := &x.CacheAuthorizedTTL - yym790 := z.DecBinary() - _ = yym790 - if false { - } else if z.HasExtensions() && z.DecExt(yyv789) { - } else if !yym790 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv789) - } else { - z.DecFallback(yyv789, false) - } - } - yyj788++ - if yyhl788 { - yyb788 = yyj788 > l - } else { - yyb788 = r.CheckBreak() - } - if yyb788 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CacheUnauthorizedTTL = pkg1_unversioned.Duration{} - } else { - yyv791 := &x.CacheUnauthorizedTTL - yym792 := z.DecBinary() - _ = yym792 - if false { - } else if z.HasExtensions() && z.DecExt(yyv791) { - } else if !yym792 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv791) - } else { - z.DecFallback(yyv791, false) - } - } - for { - yyj788++ - if yyhl788 { - yyb788 = yyj788 > l - } else { - yyb788 = r.CheckBreak() - } - if yyb788 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj788-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *KubeletAuthentication) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym793 := z.EncBinary() - _ = yym793 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep794 := !z.EncBinary() - yy2arr794 := z.EncBasicHandle().StructToArray - var yyq794 [3]bool - _, _, _ = yysep794, yyq794, yy2arr794 - const yyr794 bool = false - var yynn794 int - if yyr794 || yy2arr794 { - r.EncodeArrayStart(3) - } else { - yynn794 = 3 - for _, b := range yyq794 { - if b { - yynn794++ - } - } - r.EncodeMapStart(yynn794) - yynn794 = 0 - } - if yyr794 || yy2arr794 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy796 := &x.X509 - yy796.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("x509")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy797 := &x.X509 - yy797.CodecEncodeSelf(e) - } - if yyr794 || yy2arr794 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy799 := &x.Webhook - yy799.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("webhook")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy800 := &x.Webhook - yy800.CodecEncodeSelf(e) - } - if yyr794 || yy2arr794 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy802 := &x.Anonymous - yy802.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("anonymous")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy803 := &x.Anonymous - yy803.CodecEncodeSelf(e) - } - if yyr794 || yy2arr794 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *KubeletAuthentication) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym804 := z.DecBinary() - _ = yym804 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct805 := r.ContainerType() - if yyct805 == codecSelferValueTypeMap1234 { - yyl805 := r.ReadMapStart() - if yyl805 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl805, d) - } - } else if yyct805 == codecSelferValueTypeArray1234 { - yyl805 := r.ReadArrayStart() - if yyl805 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl805, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *KubeletAuthentication) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys806Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys806Slc - var yyhl806 bool = l >= 0 - for yyj806 := 0; ; yyj806++ { - if yyhl806 { - if yyj806 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys806Slc = r.DecodeBytes(yys806Slc, true, true) - yys806 := string(yys806Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys806 { - case "x509": - if r.TryDecodeAsNil() { - x.X509 = KubeletX509Authentication{} - } else { - yyv807 := &x.X509 - yyv807.CodecDecodeSelf(d) - } - case "webhook": - if r.TryDecodeAsNil() { - x.Webhook = KubeletWebhookAuthentication{} - } else { - yyv808 := &x.Webhook - yyv808.CodecDecodeSelf(d) - } - case "anonymous": - if r.TryDecodeAsNil() { - x.Anonymous = KubeletAnonymousAuthentication{} - } else { - yyv809 := &x.Anonymous - yyv809.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys806) - } // end switch yys806 - } // end for yyj806 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *KubeletAuthentication) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj810 int - var yyb810 bool - var yyhl810 bool = l >= 0 - yyj810++ - if yyhl810 { - yyb810 = yyj810 > l - } else { - yyb810 = r.CheckBreak() - } - if yyb810 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.X509 = KubeletX509Authentication{} - } else { - yyv811 := &x.X509 - yyv811.CodecDecodeSelf(d) - } - yyj810++ - if yyhl810 { - yyb810 = yyj810 > l - } else { - yyb810 = r.CheckBreak() - } - if yyb810 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Webhook = KubeletWebhookAuthentication{} - } else { - yyv812 := &x.Webhook - yyv812.CodecDecodeSelf(d) - } - yyj810++ - if yyhl810 { - yyb810 = yyj810 > l - } else { - yyb810 = r.CheckBreak() - } - if yyb810 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Anonymous = KubeletAnonymousAuthentication{} - } else { - yyv813 := &x.Anonymous - yyv813.CodecDecodeSelf(d) - } - for { - yyj810++ - if yyhl810 { - yyb810 = yyj810 > l - } else { - yyb810 = r.CheckBreak() - } - if yyb810 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj810-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *KubeletX509Authentication) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym814 := z.EncBinary() - _ = yym814 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep815 := !z.EncBinary() - yy2arr815 := z.EncBasicHandle().StructToArray - var yyq815 [1]bool - _, _, _ = yysep815, yyq815, yy2arr815 - const yyr815 bool = false - var yynn815 int - if yyr815 || yy2arr815 { - r.EncodeArrayStart(1) - } else { - yynn815 = 1 - for _, b := range yyq815 { - if b { - yynn815++ - } - } - r.EncodeMapStart(yynn815) - yynn815 = 0 - } - if yyr815 || yy2arr815 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym817 := z.EncBinary() - _ = yym817 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClientCAFile)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clientCAFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym818 := z.EncBinary() - _ = yym818 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClientCAFile)) - } - } - if yyr815 || yy2arr815 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *KubeletX509Authentication) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym819 := z.DecBinary() - _ = yym819 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct820 := r.ContainerType() - if yyct820 == codecSelferValueTypeMap1234 { - yyl820 := r.ReadMapStart() - if yyl820 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl820, d) - } - } else if yyct820 == codecSelferValueTypeArray1234 { - yyl820 := r.ReadArrayStart() - if yyl820 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl820, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *KubeletX509Authentication) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys821Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys821Slc - var yyhl821 bool = l >= 0 - for yyj821 := 0; ; yyj821++ { - if yyhl821 { - if yyj821 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys821Slc = r.DecodeBytes(yys821Slc, true, true) - yys821 := string(yys821Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys821 { - case "clientCAFile": - if r.TryDecodeAsNil() { - x.ClientCAFile = "" - } else { - x.ClientCAFile = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys821) - } // end switch yys821 - } // end for yyj821 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *KubeletX509Authentication) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj823 int - var yyb823 bool - var yyhl823 bool = l >= 0 - yyj823++ - if yyhl823 { - yyb823 = yyj823 > l - } else { - yyb823 = r.CheckBreak() - } - if yyb823 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClientCAFile = "" - } else { - x.ClientCAFile = string(r.DecodeString()) - } - for { - yyj823++ - if yyhl823 { - yyb823 = yyj823 > l - } else { - yyb823 = r.CheckBreak() - } - if yyb823 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj823-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *KubeletWebhookAuthentication) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym825 := z.EncBinary() - _ = yym825 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep826 := !z.EncBinary() - yy2arr826 := z.EncBasicHandle().StructToArray - var yyq826 [2]bool - _, _, _ = yysep826, yyq826, yy2arr826 - const yyr826 bool = false - var yynn826 int - if yyr826 || yy2arr826 { - r.EncodeArrayStart(2) - } else { - yynn826 = 2 - for _, b := range yyq826 { - if b { - yynn826++ - } - } - r.EncodeMapStart(yynn826) - yynn826 = 0 - } - if yyr826 || yy2arr826 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym828 := z.EncBinary() - _ = yym828 - if false { - } else { - r.EncodeBool(bool(x.Enabled)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("enabled")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym829 := z.EncBinary() - _ = yym829 - if false { - } else { - r.EncodeBool(bool(x.Enabled)) - } - } - if yyr826 || yy2arr826 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy831 := &x.CacheTTL - yym832 := z.EncBinary() - _ = yym832 - if false { - } else if z.HasExtensions() && z.EncExt(yy831) { - } else if !yym832 && z.IsJSONHandle() { - z.EncJSONMarshal(yy831) - } else { - z.EncFallback(yy831) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cacheTTL")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy833 := &x.CacheTTL - yym834 := z.EncBinary() - _ = yym834 - if false { - } else if z.HasExtensions() && z.EncExt(yy833) { - } else if !yym834 && z.IsJSONHandle() { - z.EncJSONMarshal(yy833) - } else { - z.EncFallback(yy833) - } - } - if yyr826 || yy2arr826 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *KubeletWebhookAuthentication) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym835 := z.DecBinary() - _ = yym835 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct836 := r.ContainerType() - if yyct836 == codecSelferValueTypeMap1234 { - yyl836 := r.ReadMapStart() - if yyl836 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl836, d) - } - } else if yyct836 == codecSelferValueTypeArray1234 { - yyl836 := r.ReadArrayStart() - if yyl836 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl836, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *KubeletWebhookAuthentication) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys837Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys837Slc - var yyhl837 bool = l >= 0 - for yyj837 := 0; ; yyj837++ { - if yyhl837 { - if yyj837 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys837Slc = r.DecodeBytes(yys837Slc, true, true) - yys837 := string(yys837Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys837 { - case "enabled": - if r.TryDecodeAsNil() { - x.Enabled = false - } else { - x.Enabled = bool(r.DecodeBool()) - } - case "cacheTTL": - if r.TryDecodeAsNil() { - x.CacheTTL = pkg1_unversioned.Duration{} - } else { - yyv839 := &x.CacheTTL - yym840 := z.DecBinary() - _ = yym840 - if false { - } else if z.HasExtensions() && z.DecExt(yyv839) { - } else if !yym840 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv839) - } else { - z.DecFallback(yyv839, false) - } - } - default: - z.DecStructFieldNotFound(-1, yys837) - } // end switch yys837 - } // end for yyj837 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *KubeletWebhookAuthentication) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj841 int - var yyb841 bool - var yyhl841 bool = l >= 0 - yyj841++ - if yyhl841 { - yyb841 = yyj841 > l - } else { - yyb841 = r.CheckBreak() - } - if yyb841 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Enabled = false - } else { - x.Enabled = bool(r.DecodeBool()) - } - yyj841++ - if yyhl841 { - yyb841 = yyj841 > l - } else { - yyb841 = r.CheckBreak() - } - if yyb841 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CacheTTL = pkg1_unversioned.Duration{} - } else { - yyv843 := &x.CacheTTL - yym844 := z.DecBinary() - _ = yym844 - if false { - } else if z.HasExtensions() && z.DecExt(yyv843) { - } else if !yym844 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv843) - } else { - z.DecFallback(yyv843, false) - } - } - for { - yyj841++ - if yyhl841 { - yyb841 = yyj841 > l - } else { - yyb841 = r.CheckBreak() - } - if yyb841 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj841-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *KubeletAnonymousAuthentication) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym845 := z.EncBinary() - _ = yym845 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep846 := !z.EncBinary() - yy2arr846 := z.EncBasicHandle().StructToArray - var yyq846 [1]bool - _, _, _ = yysep846, yyq846, yy2arr846 - const yyr846 bool = false - var yynn846 int - if yyr846 || yy2arr846 { - r.EncodeArrayStart(1) - } else { - yynn846 = 1 - for _, b := range yyq846 { - if b { - yynn846++ - } - } - r.EncodeMapStart(yynn846) - yynn846 = 0 - } - if yyr846 || yy2arr846 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym848 := z.EncBinary() - _ = yym848 - if false { - } else { - r.EncodeBool(bool(x.Enabled)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("enabled")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym849 := z.EncBinary() - _ = yym849 - if false { - } else { - r.EncodeBool(bool(x.Enabled)) - } - } - if yyr846 || yy2arr846 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *KubeletAnonymousAuthentication) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym850 := z.DecBinary() - _ = yym850 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct851 := r.ContainerType() - if yyct851 == codecSelferValueTypeMap1234 { - yyl851 := r.ReadMapStart() - if yyl851 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl851, d) - } - } else if yyct851 == codecSelferValueTypeArray1234 { - yyl851 := r.ReadArrayStart() - if yyl851 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl851, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *KubeletAnonymousAuthentication) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys852Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys852Slc - var yyhl852 bool = l >= 0 - for yyj852 := 0; ; yyj852++ { - if yyhl852 { - if yyj852 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys852Slc = r.DecodeBytes(yys852Slc, true, true) - yys852 := string(yys852Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys852 { - case "enabled": - if r.TryDecodeAsNil() { - x.Enabled = false - } else { - x.Enabled = bool(r.DecodeBool()) - } - default: - z.DecStructFieldNotFound(-1, yys852) - } // end switch yys852 - } // end for yyj852 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *KubeletAnonymousAuthentication) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj854 int - var yyb854 bool - var yyhl854 bool = l >= 0 - yyj854++ - if yyhl854 { - yyb854 = yyj854 > l - } else { - yyb854 = r.CheckBreak() - } - if yyb854 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Enabled = false - } else { - x.Enabled = bool(r.DecodeBool()) - } - for { - yyj854++ - if yyhl854 { - yyb854 = yyj854 > l - } else { - yyb854 = r.CheckBreak() - } - if yyb854 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj854-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym856 := z.EncBinary() - _ = yym856 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep857 := !z.EncBinary() - yy2arr857 := z.EncBasicHandle().StructToArray - var yyq857 [14]bool - _, _, _ = yysep857, yyq857, yy2arr857 - const yyr857 bool = false - yyq857[0] = x.Kind != "" - yyq857[1] = x.APIVersion != "" - var yynn857 int - if yyr857 || yy2arr857 { - r.EncodeArrayStart(14) - } else { - yynn857 = 12 - for _, b := range yyq857 { - if b { - yynn857++ - } - } - r.EncodeMapStart(yynn857) - yynn857 = 0 - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq857[0] { - yym859 := z.EncBinary() - _ = yym859 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq857[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym860 := z.EncBinary() - _ = yym860 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq857[1] { - yym862 := z.EncBinary() - _ = yym862 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq857[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym863 := z.EncBinary() - _ = yym863 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym865 := z.EncBinary() - _ = yym865 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("port")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym866 := z.EncBinary() - _ = yym866 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym868 := z.EncBinary() - _ = yym868 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Address)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("address")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym869 := z.EncBinary() - _ = yym869 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Address)) - } - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym871 := z.EncBinary() - _ = yym871 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.AlgorithmProvider)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("algorithmProvider")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym872 := z.EncBinary() - _ = yym872 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.AlgorithmProvider)) - } - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym874 := z.EncBinary() - _ = yym874 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PolicyConfigFile)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("policyConfigFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym875 := z.EncBinary() - _ = yym875 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PolicyConfigFile)) - } - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym877 := z.EncBinary() - _ = yym877 - if false { - } else { - r.EncodeBool(bool(x.EnableProfiling)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("enableProfiling")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym878 := z.EncBinary() - _ = yym878 - if false { - } else { - r.EncodeBool(bool(x.EnableProfiling)) - } - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym880 := z.EncBinary() - _ = yym880 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("contentType")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym881 := z.EncBinary() - _ = yym881 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) - } - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym883 := z.EncBinary() - _ = yym883 - if false { - } else { - r.EncodeFloat32(float32(x.KubeAPIQPS)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym884 := z.EncBinary() - _ = yym884 - if false { - } else { - r.EncodeFloat32(float32(x.KubeAPIQPS)) - } - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym886 := z.EncBinary() - _ = yym886 - if false { - } else { - r.EncodeInt(int64(x.KubeAPIBurst)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym887 := z.EncBinary() - _ = yym887 - if false { - } else { - r.EncodeInt(int64(x.KubeAPIBurst)) - } - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym889 := z.EncBinary() - _ = yym889 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SchedulerName)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("schedulerName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym890 := z.EncBinary() - _ = yym890 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SchedulerName)) - } - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym892 := z.EncBinary() - _ = yym892 - if false { - } else { - r.EncodeInt(int64(x.HardPodAffinitySymmetricWeight)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hardPodAffinitySymmetricWeight")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym893 := z.EncBinary() - _ = yym893 - if false { - } else { - r.EncodeInt(int64(x.HardPodAffinitySymmetricWeight)) - } - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym895 := z.EncBinary() - _ = yym895 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FailureDomains)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("failureDomains")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym896 := z.EncBinary() - _ = yym896 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FailureDomains)) - } - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy898 := &x.LeaderElection - yy898.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("leaderElection")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy899 := &x.LeaderElection - yy899.CodecEncodeSelf(e) - } - if yyr857 || yy2arr857 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *KubeSchedulerConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym900 := z.DecBinary() - _ = yym900 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct901 := r.ContainerType() - if yyct901 == codecSelferValueTypeMap1234 { - yyl901 := r.ReadMapStart() - if yyl901 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl901, d) - } - } else if yyct901 == codecSelferValueTypeArray1234 { - yyl901 := r.ReadArrayStart() - if yyl901 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl901, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys902Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys902Slc - var yyhl902 bool = l >= 0 - for yyj902 := 0; ; yyj902++ { - if yyhl902 { - if yyj902 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys902Slc = r.DecodeBytes(yys902Slc, true, true) - yys902 := string(yys902Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys902 { - 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 - } else { - x.Port = int32(r.DecodeInt(32)) - } - case "address": - if r.TryDecodeAsNil() { - x.Address = "" - } else { - x.Address = string(r.DecodeString()) - } - case "algorithmProvider": - if r.TryDecodeAsNil() { - x.AlgorithmProvider = "" - } else { - x.AlgorithmProvider = string(r.DecodeString()) - } - case "policyConfigFile": - if r.TryDecodeAsNil() { - x.PolicyConfigFile = "" - } else { - x.PolicyConfigFile = string(r.DecodeString()) - } - case "enableProfiling": - if r.TryDecodeAsNil() { - x.EnableProfiling = false - } else { - x.EnableProfiling = bool(r.DecodeBool()) - } - case "contentType": - if r.TryDecodeAsNil() { - x.ContentType = "" - } else { - x.ContentType = string(r.DecodeString()) - } - case "kubeAPIQPS": - if r.TryDecodeAsNil() { - x.KubeAPIQPS = 0 - } else { - x.KubeAPIQPS = float32(r.DecodeFloat(true)) - } - case "kubeAPIBurst": - if r.TryDecodeAsNil() { - x.KubeAPIBurst = 0 - } else { - x.KubeAPIBurst = int32(r.DecodeInt(32)) - } - case "schedulerName": - if r.TryDecodeAsNil() { - x.SchedulerName = "" - } else { - x.SchedulerName = string(r.DecodeString()) - } - case "hardPodAffinitySymmetricWeight": - if r.TryDecodeAsNil() { - x.HardPodAffinitySymmetricWeight = 0 - } else { - x.HardPodAffinitySymmetricWeight = int(r.DecodeInt(codecSelferBitsize1234)) - } - case "failureDomains": - if r.TryDecodeAsNil() { - x.FailureDomains = "" - } else { - x.FailureDomains = string(r.DecodeString()) - } - case "leaderElection": - if r.TryDecodeAsNil() { - x.LeaderElection = LeaderElectionConfiguration{} - } else { - yyv916 := &x.LeaderElection - yyv916.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys902) - } // end switch yys902 - } // end for yyj902 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj917 int - var yyb917 bool - var yyhl917 bool = l >= 0 - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Address = "" - } else { - x.Address = string(r.DecodeString()) - } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.AlgorithmProvider = "" - } else { - x.AlgorithmProvider = string(r.DecodeString()) - } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PolicyConfigFile = "" - } else { - x.PolicyConfigFile = string(r.DecodeString()) - } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableProfiling = false - } else { - x.EnableProfiling = bool(r.DecodeBool()) - } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ContentType = "" - } else { - x.ContentType = string(r.DecodeString()) - } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeAPIQPS = 0 - } else { - x.KubeAPIQPS = float32(r.DecodeFloat(true)) - } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeAPIBurst = 0 - } else { - x.KubeAPIBurst = int32(r.DecodeInt(32)) - } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SchedulerName = "" - } else { - x.SchedulerName = string(r.DecodeString()) - } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HardPodAffinitySymmetricWeight = 0 - } else { - x.HardPodAffinitySymmetricWeight = int(r.DecodeInt(codecSelferBitsize1234)) - } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FailureDomains = "" - } else { - x.FailureDomains = string(r.DecodeString()) - } - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LeaderElection = LeaderElectionConfiguration{} - } else { - yyv931 := &x.LeaderElection - yyv931.CodecDecodeSelf(d) - } - for { - yyj917++ - if yyhl917 { - yyb917 = yyj917 > l - } else { - yyb917 = r.CheckBreak() - } - if yyb917 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj917-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *LeaderElectionConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym932 := z.EncBinary() - _ = yym932 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep933 := !z.EncBinary() - yy2arr933 := z.EncBasicHandle().StructToArray - var yyq933 [4]bool - _, _, _ = yysep933, yyq933, yy2arr933 - const yyr933 bool = false - var yynn933 int - if yyr933 || yy2arr933 { - r.EncodeArrayStart(4) - } else { - yynn933 = 4 - for _, b := range yyq933 { - if b { - yynn933++ - } - } - r.EncodeMapStart(yynn933) - yynn933 = 0 - } - if yyr933 || yy2arr933 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym935 := z.EncBinary() - _ = yym935 - if false { - } else { - r.EncodeBool(bool(x.LeaderElect)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("leaderElect")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym936 := z.EncBinary() - _ = yym936 - if false { - } else { - r.EncodeBool(bool(x.LeaderElect)) - } - } - if yyr933 || yy2arr933 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy938 := &x.LeaseDuration - yym939 := z.EncBinary() - _ = yym939 - if false { - } else if z.HasExtensions() && z.EncExt(yy938) { - } else if !yym939 && z.IsJSONHandle() { - z.EncJSONMarshal(yy938) - } else { - z.EncFallback(yy938) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("leaseDuration")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy940 := &x.LeaseDuration - yym941 := z.EncBinary() - _ = yym941 - if false { - } else if z.HasExtensions() && z.EncExt(yy940) { - } else if !yym941 && z.IsJSONHandle() { - z.EncJSONMarshal(yy940) - } else { - z.EncFallback(yy940) - } - } - if yyr933 || yy2arr933 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy943 := &x.RenewDeadline - yym944 := z.EncBinary() - _ = yym944 - if false { - } else if z.HasExtensions() && z.EncExt(yy943) { - } else if !yym944 && z.IsJSONHandle() { - z.EncJSONMarshal(yy943) - } else { - z.EncFallback(yy943) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("renewDeadline")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy945 := &x.RenewDeadline - yym946 := z.EncBinary() - _ = yym946 - if false { - } else if z.HasExtensions() && z.EncExt(yy945) { - } else if !yym946 && z.IsJSONHandle() { - z.EncJSONMarshal(yy945) - } else { - z.EncFallback(yy945) - } - } - if yyr933 || yy2arr933 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy948 := &x.RetryPeriod - yym949 := z.EncBinary() - _ = yym949 - if false { - } else if z.HasExtensions() && z.EncExt(yy948) { - } else if !yym949 && z.IsJSONHandle() { - z.EncJSONMarshal(yy948) - } else { - z.EncFallback(yy948) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("retryPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy950 := &x.RetryPeriod - yym951 := z.EncBinary() - _ = yym951 - if false { - } else if z.HasExtensions() && z.EncExt(yy950) { - } else if !yym951 && z.IsJSONHandle() { - z.EncJSONMarshal(yy950) - } else { - z.EncFallback(yy950) - } - } - if yyr933 || yy2arr933 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LeaderElectionConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym952 := z.DecBinary() - _ = yym952 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct953 := r.ContainerType() - if yyct953 == codecSelferValueTypeMap1234 { - yyl953 := r.ReadMapStart() - if yyl953 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl953, d) - } - } else if yyct953 == codecSelferValueTypeArray1234 { - yyl953 := r.ReadArrayStart() - if yyl953 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl953, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LeaderElectionConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - 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 { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys954Slc = r.DecodeBytes(yys954Slc, true, true) - yys954 := string(yys954Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys954 { - case "leaderElect": - if r.TryDecodeAsNil() { - x.LeaderElect = false - } else { - x.LeaderElect = bool(r.DecodeBool()) - } - case "leaseDuration": - if r.TryDecodeAsNil() { - x.LeaseDuration = pkg1_unversioned.Duration{} - } else { - yyv956 := &x.LeaseDuration - yym957 := z.DecBinary() - _ = yym957 - if false { - } else if z.HasExtensions() && z.DecExt(yyv956) { - } else if !yym957 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv956) - } else { - z.DecFallback(yyv956, false) - } - } - case "renewDeadline": - if r.TryDecodeAsNil() { - x.RenewDeadline = pkg1_unversioned.Duration{} - } else { - yyv958 := &x.RenewDeadline - yym959 := z.DecBinary() - _ = yym959 - if false { - } else if z.HasExtensions() && z.DecExt(yyv958) { - } else if !yym959 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv958) - } else { - z.DecFallback(yyv958, false) - } - } - case "retryPeriod": - if r.TryDecodeAsNil() { - x.RetryPeriod = pkg1_unversioned.Duration{} - } else { - yyv960 := &x.RetryPeriod - yym961 := z.DecBinary() - _ = yym961 - if false { - } else if z.HasExtensions() && z.DecExt(yyv960) { - } else if !yym961 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv960) - } else { - z.DecFallback(yyv960, false) - } - } - default: - z.DecStructFieldNotFound(-1, yys954) - } // end switch yys954 - } // end for yyj954 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj962 int - var yyb962 bool - var yyhl962 bool = l >= 0 - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l - } else { - yyb962 = r.CheckBreak() - } - if yyb962 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LeaderElect = false - } else { - x.LeaderElect = bool(r.DecodeBool()) - } - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l - } else { - yyb962 = r.CheckBreak() - } - if yyb962 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LeaseDuration = pkg1_unversioned.Duration{} - } else { - yyv964 := &x.LeaseDuration - yym965 := z.DecBinary() - _ = yym965 - if false { - } else if z.HasExtensions() && z.DecExt(yyv964) { - } else if !yym965 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv964) - } else { - z.DecFallback(yyv964, false) - } - } - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l - } else { - yyb962 = r.CheckBreak() - } - if yyb962 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RenewDeadline = pkg1_unversioned.Duration{} - } else { - yyv966 := &x.RenewDeadline - yym967 := z.DecBinary() - _ = yym967 - if false { - } else if z.HasExtensions() && z.DecExt(yyv966) { - } else if !yym967 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv966) - } else { - z.DecFallback(yyv966, false) - } - } - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l - } else { - yyb962 = r.CheckBreak() - } - if yyb962 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RetryPeriod = pkg1_unversioned.Duration{} - } else { - yyv968 := &x.RetryPeriod - yym969 := z.DecBinary() - _ = yym969 - if false { - } else if z.HasExtensions() && z.DecExt(yyv968) { - } else if !yym969 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv968) - } else { - z.DecFallback(yyv968, false) - } - } - for { - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l - } else { - yyb962 = r.CheckBreak() - } - if yyb962 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj962-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym970 := z.EncBinary() - _ = yym970 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep971 := !z.EncBinary() - yy2arr971 := z.EncBasicHandle().StructToArray - var yyq971 [60]bool - _, _, _ = yysep971, yyq971, yy2arr971 - const yyr971 bool = false - yyq971[0] = x.Kind != "" - yyq971[1] = x.APIVersion != "" - var yynn971 int - if yyr971 || yy2arr971 { - r.EncodeArrayStart(60) - } else { - yynn971 = 58 - for _, b := range yyq971 { - if b { - yynn971++ - } - } - r.EncodeMapStart(yynn971) - yynn971 = 0 - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq971[0] { - yym973 := z.EncBinary() - _ = yym973 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq971[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym974 := z.EncBinary() - _ = yym974 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq971[1] { - yym976 := z.EncBinary() - _ = yym976 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq971[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym977 := z.EncBinary() - _ = yym977 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym979 := z.EncBinary() - _ = yym979 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("port")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym980 := z.EncBinary() - _ = yym980 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym982 := z.EncBinary() - _ = yym982 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Address)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("address")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym983 := z.EncBinary() - _ = yym983 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Address)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym985 := z.EncBinary() - _ = yym985 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cloudProvider")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym986 := z.EncBinary() - _ = yym986 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym988 := z.EncBinary() - _ = yym988 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cloudConfigFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym989 := z.EncBinary() - _ = yym989 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym991 := z.EncBinary() - _ = yym991 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentEndpointSyncs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("concurrentEndpointSyncs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym992 := z.EncBinary() - _ = yym992 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentEndpointSyncs)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym994 := z.EncBinary() - _ = yym994 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentRSSyncs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("concurrentRSSyncs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym995 := z.EncBinary() - _ = yym995 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentRSSyncs)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym997 := z.EncBinary() - _ = yym997 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentRCSyncs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("concurrentRCSyncs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym998 := z.EncBinary() - _ = yym998 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentRCSyncs)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1000 := z.EncBinary() - _ = yym1000 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentServiceSyncs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("concurrentServiceSyncs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1001 := z.EncBinary() - _ = yym1001 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentServiceSyncs)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1003 := z.EncBinary() - _ = yym1003 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentResourceQuotaSyncs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("concurrentResourceQuotaSyncs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1004 := z.EncBinary() - _ = yym1004 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentResourceQuotaSyncs)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1006 := z.EncBinary() - _ = yym1006 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentDeploymentSyncs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("concurrentDeploymentSyncs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1007 := z.EncBinary() - _ = yym1007 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentDeploymentSyncs)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1009 := z.EncBinary() - _ = yym1009 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentDaemonSetSyncs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("concurrentDaemonSetSyncs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1010 := z.EncBinary() - _ = yym1010 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentDaemonSetSyncs)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1012 := z.EncBinary() - _ = yym1012 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentJobSyncs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("concurrentJobSyncs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1013 := z.EncBinary() - _ = yym1013 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentJobSyncs)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1015 := z.EncBinary() - _ = yym1015 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentNamespaceSyncs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("concurrentNamespaceSyncs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1016 := z.EncBinary() - _ = yym1016 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentNamespaceSyncs)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1018 := z.EncBinary() - _ = yym1018 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentSATokenSyncs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("concurrentSATokenSyncs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1019 := z.EncBinary() - _ = yym1019 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentSATokenSyncs)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1021 := z.EncBinary() - _ = yym1021 - if false { - } else { - r.EncodeInt(int64(x.LookupCacheSizeForRC)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lookupCacheSizeForRC")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1022 := z.EncBinary() - _ = yym1022 - if false { - } else { - r.EncodeInt(int64(x.LookupCacheSizeForRC)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1024 := z.EncBinary() - _ = yym1024 - if false { - } else { - r.EncodeInt(int64(x.LookupCacheSizeForRS)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lookupCacheSizeForRS")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1025 := z.EncBinary() - _ = yym1025 - if false { - } else { - r.EncodeInt(int64(x.LookupCacheSizeForRS)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1027 := z.EncBinary() - _ = yym1027 - if false { - } else { - r.EncodeInt(int64(x.LookupCacheSizeForDaemonSet)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lookupCacheSizeForDaemonSet")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1028 := z.EncBinary() - _ = yym1028 - if false { - } else { - r.EncodeInt(int64(x.LookupCacheSizeForDaemonSet)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1030 := &x.ServiceSyncPeriod - yym1031 := z.EncBinary() - _ = yym1031 - if false { - } else if z.HasExtensions() && z.EncExt(yy1030) { - } else if !yym1031 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1030) - } else { - z.EncFallback(yy1030) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("serviceSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1032 := &x.ServiceSyncPeriod - yym1033 := z.EncBinary() - _ = yym1033 - if false { - } else if z.HasExtensions() && z.EncExt(yy1032) { - } else if !yym1033 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1032) - } else { - z.EncFallback(yy1032) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1035 := &x.NodeSyncPeriod - yym1036 := z.EncBinary() - _ = yym1036 - if false { - } else if z.HasExtensions() && z.EncExt(yy1035) { - } else if !yym1036 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1035) - } else { - z.EncFallback(yy1035) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1037 := &x.NodeSyncPeriod - yym1038 := z.EncBinary() - _ = yym1038 - if false { - } else if z.HasExtensions() && z.EncExt(yy1037) { - } else if !yym1038 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1037) - } else { - z.EncFallback(yy1037) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1040 := &x.RouteReconciliationPeriod - yym1041 := z.EncBinary() - _ = yym1041 - if false { - } else if z.HasExtensions() && z.EncExt(yy1040) { - } else if !yym1041 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1040) - } else { - z.EncFallback(yy1040) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("routeReconciliationPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1042 := &x.RouteReconciliationPeriod - yym1043 := z.EncBinary() - _ = yym1043 - if false { - } else if z.HasExtensions() && z.EncExt(yy1042) { - } else if !yym1043 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1042) - } else { - z.EncFallback(yy1042) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1045 := &x.ResourceQuotaSyncPeriod - yym1046 := z.EncBinary() - _ = yym1046 - if false { - } else if z.HasExtensions() && z.EncExt(yy1045) { - } else if !yym1046 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1045) - } else { - z.EncFallback(yy1045) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resourceQuotaSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1047 := &x.ResourceQuotaSyncPeriod - yym1048 := z.EncBinary() - _ = yym1048 - if false { - } else if z.HasExtensions() && z.EncExt(yy1047) { - } else if !yym1048 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1047) - } else { - z.EncFallback(yy1047) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1050 := &x.NamespaceSyncPeriod - yym1051 := z.EncBinary() - _ = yym1051 - if false { - } else if z.HasExtensions() && z.EncExt(yy1050) { - } else if !yym1051 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1050) - } else { - z.EncFallback(yy1050) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("namespaceSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1052 := &x.NamespaceSyncPeriod - yym1053 := z.EncBinary() - _ = yym1053 - if false { - } else if z.HasExtensions() && z.EncExt(yy1052) { - } else if !yym1053 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1052) - } else { - z.EncFallback(yy1052) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1055 := &x.PVClaimBinderSyncPeriod - yym1056 := z.EncBinary() - _ = yym1056 - if false { - } else if z.HasExtensions() && z.EncExt(yy1055) { - } else if !yym1056 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1055) - } else { - z.EncFallback(yy1055) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("pvClaimBinderSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1057 := &x.PVClaimBinderSyncPeriod - yym1058 := z.EncBinary() - _ = yym1058 - if false { - } else if z.HasExtensions() && z.EncExt(yy1057) { - } else if !yym1058 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1057) - } else { - z.EncFallback(yy1057) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1060 := &x.MinResyncPeriod - yym1061 := z.EncBinary() - _ = yym1061 - if false { - } else if z.HasExtensions() && z.EncExt(yy1060) { - } else if !yym1061 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1060) - } else { - z.EncFallback(yy1060) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("minResyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1062 := &x.MinResyncPeriod - yym1063 := z.EncBinary() - _ = yym1063 - if false { - } else if z.HasExtensions() && z.EncExt(yy1062) { - } else if !yym1063 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1062) - } else { - z.EncFallback(yy1062) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1065 := z.EncBinary() - _ = yym1065 - if false { - } else { - r.EncodeInt(int64(x.TerminatedPodGCThreshold)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("terminatedPodGCThreshold")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1066 := z.EncBinary() - _ = yym1066 - if false { - } else { - r.EncodeInt(int64(x.TerminatedPodGCThreshold)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1068 := &x.HorizontalPodAutoscalerSyncPeriod - yym1069 := z.EncBinary() - _ = yym1069 - if false { - } else if z.HasExtensions() && z.EncExt(yy1068) { - } else if !yym1069 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1068) - } else { - z.EncFallback(yy1068) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("horizontalPodAutoscalerSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1070 := &x.HorizontalPodAutoscalerSyncPeriod - yym1071 := z.EncBinary() - _ = yym1071 - if false { - } else if z.HasExtensions() && z.EncExt(yy1070) { - } else if !yym1071 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1070) - } else { - z.EncFallback(yy1070) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1073 := &x.DeploymentControllerSyncPeriod - yym1074 := z.EncBinary() - _ = yym1074 - if false { - } else if z.HasExtensions() && z.EncExt(yy1073) { - } else if !yym1074 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1073) - } else { - z.EncFallback(yy1073) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("deploymentControllerSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1075 := &x.DeploymentControllerSyncPeriod - yym1076 := z.EncBinary() - _ = yym1076 - if false { - } else if z.HasExtensions() && z.EncExt(yy1075) { - } else if !yym1076 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1075) - } else { - z.EncFallback(yy1075) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1078 := &x.PodEvictionTimeout - yym1079 := z.EncBinary() - _ = yym1079 - if false { - } else if z.HasExtensions() && z.EncExt(yy1078) { - } else if !yym1079 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1078) - } else { - z.EncFallback(yy1078) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("podEvictionTimeout")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1080 := &x.PodEvictionTimeout - yym1081 := z.EncBinary() - _ = yym1081 - if false { - } else if z.HasExtensions() && z.EncExt(yy1080) { - } else if !yym1081 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1080) - } else { - z.EncFallback(yy1080) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1083 := z.EncBinary() - _ = yym1083 - if false { - } else { - r.EncodeFloat32(float32(x.DeletingPodsQps)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("deletingPodsQps")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1084 := z.EncBinary() - _ = yym1084 - if false { - } else { - r.EncodeFloat32(float32(x.DeletingPodsQps)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1086 := z.EncBinary() - _ = yym1086 - if false { - } else { - r.EncodeInt(int64(x.DeletingPodsBurst)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("deletingPodsBurst")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1087 := z.EncBinary() - _ = yym1087 - if false { - } else { - r.EncodeInt(int64(x.DeletingPodsBurst)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1089 := &x.NodeMonitorGracePeriod - yym1090 := z.EncBinary() - _ = yym1090 - if false { - } else if z.HasExtensions() && z.EncExt(yy1089) { - } else if !yym1090 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1089) - } else { - z.EncFallback(yy1089) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeMonitorGracePeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1091 := &x.NodeMonitorGracePeriod - yym1092 := z.EncBinary() - _ = yym1092 - if false { - } else if z.HasExtensions() && z.EncExt(yy1091) { - } else if !yym1092 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1091) - } else { - z.EncFallback(yy1091) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1094 := z.EncBinary() - _ = yym1094 - if false { - } else { - r.EncodeInt(int64(x.RegisterRetryCount)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("registerRetryCount")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1095 := z.EncBinary() - _ = yym1095 - if false { - } else { - r.EncodeInt(int64(x.RegisterRetryCount)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1097 := &x.NodeStartupGracePeriod - yym1098 := z.EncBinary() - _ = yym1098 - if false { - } else if z.HasExtensions() && z.EncExt(yy1097) { - } else if !yym1098 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1097) - } else { - z.EncFallback(yy1097) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeStartupGracePeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1099 := &x.NodeStartupGracePeriod - yym1100 := z.EncBinary() - _ = yym1100 - if false { - } else if z.HasExtensions() && z.EncExt(yy1099) { - } else if !yym1100 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1099) - } else { - z.EncFallback(yy1099) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1102 := &x.NodeMonitorPeriod - yym1103 := z.EncBinary() - _ = yym1103 - if false { - } else if z.HasExtensions() && z.EncExt(yy1102) { - } else if !yym1103 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1102) - } else { - z.EncFallback(yy1102) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeMonitorPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1104 := &x.NodeMonitorPeriod - yym1105 := z.EncBinary() - _ = yym1105 - if false { - } else if z.HasExtensions() && z.EncExt(yy1104) { - } else if !yym1105 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1104) - } else { - z.EncFallback(yy1104) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1107 := z.EncBinary() - _ = yym1107 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountKeyFile)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("serviceAccountKeyFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1108 := z.EncBinary() - _ = yym1108 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountKeyFile)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1110 := z.EncBinary() - _ = yym1110 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningCertFile)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterSigningCertFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1111 := z.EncBinary() - _ = yym1111 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningCertFile)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1113 := z.EncBinary() - _ = yym1113 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningKeyFile)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterSigningKeyFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1114 := z.EncBinary() - _ = yym1114 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningKeyFile)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1116 := z.EncBinary() - _ = yym1116 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ApproveAllKubeletCSRsForGroup)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("approveAllKubeletCSRsForGroup")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1117 := z.EncBinary() - _ = yym1117 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ApproveAllKubeletCSRsForGroup)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1119 := z.EncBinary() - _ = yym1119 - if false { - } else { - r.EncodeBool(bool(x.EnableProfiling)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("enableProfiling")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1120 := z.EncBinary() - _ = yym1120 - if false { - } else { - r.EncodeBool(bool(x.EnableProfiling)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1122 := z.EncBinary() - _ = yym1122 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterName)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1123 := z.EncBinary() - _ = yym1123 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterName)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1125 := z.EncBinary() - _ = yym1125 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterCIDR")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1126 := z.EncBinary() - _ = yym1126 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1128 := z.EncBinary() - _ = yym1128 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceCIDR)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("serviceCIDR")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1129 := z.EncBinary() - _ = yym1129 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceCIDR)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1131 := z.EncBinary() - _ = yym1131 - if false { - } else { - r.EncodeInt(int64(x.NodeCIDRMaskSize)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeCIDRMaskSize")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1132 := z.EncBinary() - _ = yym1132 - if false { - } else { - r.EncodeInt(int64(x.NodeCIDRMaskSize)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1134 := z.EncBinary() - _ = yym1134 - if false { - } else { - r.EncodeBool(bool(x.AllocateNodeCIDRs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("allocateNodeCIDRs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1135 := z.EncBinary() - _ = yym1135 - if false { - } else { - r.EncodeBool(bool(x.AllocateNodeCIDRs)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1137 := z.EncBinary() - _ = yym1137 - if false { - } else { - r.EncodeBool(bool(x.ConfigureCloudRoutes)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("configureCloudRoutes")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1138 := z.EncBinary() - _ = yym1138 - if false { - } else { - r.EncodeBool(bool(x.ConfigureCloudRoutes)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1140 := z.EncBinary() - _ = yym1140 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RootCAFile)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rootCAFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1141 := z.EncBinary() - _ = yym1141 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RootCAFile)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1143 := z.EncBinary() - _ = yym1143 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("contentType")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1144 := z.EncBinary() - _ = yym1144 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1146 := z.EncBinary() - _ = yym1146 - if false { - } else { - r.EncodeFloat32(float32(x.KubeAPIQPS)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1147 := z.EncBinary() - _ = yym1147 - if false { - } else { - r.EncodeFloat32(float32(x.KubeAPIQPS)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1149 := z.EncBinary() - _ = yym1149 - if false { - } else { - r.EncodeInt(int64(x.KubeAPIBurst)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1150 := z.EncBinary() - _ = yym1150 - if false { - } else { - r.EncodeInt(int64(x.KubeAPIBurst)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1152 := &x.LeaderElection - yy1152.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("leaderElection")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1153 := &x.LeaderElection - yy1153.CodecEncodeSelf(e) - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1155 := &x.VolumeConfiguration - yy1155.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("volumeConfiguration")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1156 := &x.VolumeConfiguration - yy1156.CodecEncodeSelf(e) - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1158 := &x.ControllerStartInterval - yym1159 := z.EncBinary() - _ = yym1159 - if false { - } else if z.HasExtensions() && z.EncExt(yy1158) { - } else if !yym1159 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1158) - } else { - z.EncFallback(yy1158) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("controllerStartInterval")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1160 := &x.ControllerStartInterval - yym1161 := z.EncBinary() - _ = yym1161 - if false { - } else if z.HasExtensions() && z.EncExt(yy1160) { - } else if !yym1161 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1160) - } else { - z.EncFallback(yy1160) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1163 := z.EncBinary() - _ = yym1163 - if false { - } else { - r.EncodeBool(bool(x.EnableGarbageCollector)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("enableGarbageCollector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1164 := z.EncBinary() - _ = yym1164 - if false { - } else { - r.EncodeBool(bool(x.EnableGarbageCollector)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1166 := z.EncBinary() - _ = yym1166 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentGCSyncs)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("concurrentGCSyncs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1167 := z.EncBinary() - _ = yym1167 - if false { - } else { - r.EncodeInt(int64(x.ConcurrentGCSyncs)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1169 := z.EncBinary() - _ = yym1169 - if false { - } else { - r.EncodeFloat32(float32(x.NodeEvictionRate)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeEvictionRate")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1170 := z.EncBinary() - _ = yym1170 - if false { - } else { - r.EncodeFloat32(float32(x.NodeEvictionRate)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1172 := z.EncBinary() - _ = yym1172 - if false { - } else { - r.EncodeFloat32(float32(x.SecondaryNodeEvictionRate)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("secondaryNodeEvictionRate")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1173 := z.EncBinary() - _ = yym1173 - if false { - } else { - r.EncodeFloat32(float32(x.SecondaryNodeEvictionRate)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1175 := z.EncBinary() - _ = yym1175 - if false { - } else { - r.EncodeInt(int64(x.LargeClusterSizeThreshold)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("largeClusterSizeThreshold")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1176 := z.EncBinary() - _ = yym1176 - if false { - } else { - r.EncodeInt(int64(x.LargeClusterSizeThreshold)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1178 := z.EncBinary() - _ = yym1178 - if false { - } else { - r.EncodeFloat32(float32(x.UnhealthyZoneThreshold)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("unhealthyZoneThreshold")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1179 := z.EncBinary() - _ = yym1179 - if false { - } else { - r.EncodeFloat32(float32(x.UnhealthyZoneThreshold)) - } - } - if yyr971 || yy2arr971 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *KubeControllerManagerConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1180 := z.DecBinary() - _ = yym1180 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1181 := r.ContainerType() - if yyct1181 == codecSelferValueTypeMap1234 { - yyl1181 := r.ReadMapStart() - if yyl1181 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1181, d) - } - } else if yyct1181 == codecSelferValueTypeArray1234 { - yyl1181 := r.ReadArrayStart() - if yyl1181 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1181, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1182Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1182Slc - var yyhl1182 bool = l >= 0 - for yyj1182 := 0; ; yyj1182++ { - if yyhl1182 { - if yyj1182 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1182Slc = r.DecodeBytes(yys1182Slc, true, true) - yys1182 := string(yys1182Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1182 { - 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 - } else { - x.Port = int32(r.DecodeInt(32)) - } - case "address": - if r.TryDecodeAsNil() { - x.Address = "" - } else { - x.Address = string(r.DecodeString()) - } - case "cloudProvider": - if r.TryDecodeAsNil() { - x.CloudProvider = "" - } else { - x.CloudProvider = string(r.DecodeString()) - } - case "cloudConfigFile": - if r.TryDecodeAsNil() { - x.CloudConfigFile = "" - } else { - x.CloudConfigFile = string(r.DecodeString()) - } - case "concurrentEndpointSyncs": - if r.TryDecodeAsNil() { - x.ConcurrentEndpointSyncs = 0 - } else { - x.ConcurrentEndpointSyncs = int32(r.DecodeInt(32)) - } - case "concurrentRSSyncs": - if r.TryDecodeAsNil() { - x.ConcurrentRSSyncs = 0 - } else { - x.ConcurrentRSSyncs = int32(r.DecodeInt(32)) - } - case "concurrentRCSyncs": - if r.TryDecodeAsNil() { - x.ConcurrentRCSyncs = 0 - } else { - x.ConcurrentRCSyncs = int32(r.DecodeInt(32)) - } - case "concurrentServiceSyncs": - if r.TryDecodeAsNil() { - x.ConcurrentServiceSyncs = 0 - } else { - x.ConcurrentServiceSyncs = int32(r.DecodeInt(32)) - } - case "concurrentResourceQuotaSyncs": - if r.TryDecodeAsNil() { - x.ConcurrentResourceQuotaSyncs = 0 - } else { - x.ConcurrentResourceQuotaSyncs = int32(r.DecodeInt(32)) - } - case "concurrentDeploymentSyncs": - if r.TryDecodeAsNil() { - x.ConcurrentDeploymentSyncs = 0 - } else { - x.ConcurrentDeploymentSyncs = int32(r.DecodeInt(32)) - } - case "concurrentDaemonSetSyncs": - if r.TryDecodeAsNil() { - x.ConcurrentDaemonSetSyncs = 0 - } else { - x.ConcurrentDaemonSetSyncs = int32(r.DecodeInt(32)) - } - case "concurrentJobSyncs": - if r.TryDecodeAsNil() { - x.ConcurrentJobSyncs = 0 - } else { - x.ConcurrentJobSyncs = int32(r.DecodeInt(32)) - } - case "concurrentNamespaceSyncs": - if r.TryDecodeAsNil() { - x.ConcurrentNamespaceSyncs = 0 - } else { - x.ConcurrentNamespaceSyncs = int32(r.DecodeInt(32)) - } - case "concurrentSATokenSyncs": - if r.TryDecodeAsNil() { - x.ConcurrentSATokenSyncs = 0 - } else { - x.ConcurrentSATokenSyncs = int32(r.DecodeInt(32)) - } - case "lookupCacheSizeForRC": - if r.TryDecodeAsNil() { - x.LookupCacheSizeForRC = 0 - } else { - x.LookupCacheSizeForRC = int32(r.DecodeInt(32)) - } - case "lookupCacheSizeForRS": - if r.TryDecodeAsNil() { - x.LookupCacheSizeForRS = 0 - } else { - x.LookupCacheSizeForRS = int32(r.DecodeInt(32)) - } - case "lookupCacheSizeForDaemonSet": - if r.TryDecodeAsNil() { - x.LookupCacheSizeForDaemonSet = 0 - } else { - x.LookupCacheSizeForDaemonSet = int32(r.DecodeInt(32)) - } - case "serviceSyncPeriod": - if r.TryDecodeAsNil() { - x.ServiceSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1202 := &x.ServiceSyncPeriod - yym1203 := z.DecBinary() - _ = yym1203 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1202) { - } else if !yym1203 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1202) - } else { - z.DecFallback(yyv1202, false) - } - } - case "nodeSyncPeriod": - if r.TryDecodeAsNil() { - x.NodeSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1204 := &x.NodeSyncPeriod - yym1205 := z.DecBinary() - _ = yym1205 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1204) { - } else if !yym1205 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1204) - } else { - z.DecFallback(yyv1204, false) - } - } - case "routeReconciliationPeriod": - if r.TryDecodeAsNil() { - x.RouteReconciliationPeriod = pkg1_unversioned.Duration{} - } else { - yyv1206 := &x.RouteReconciliationPeriod - yym1207 := z.DecBinary() - _ = yym1207 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1206) { - } else if !yym1207 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1206) - } else { - z.DecFallback(yyv1206, false) - } - } - case "resourceQuotaSyncPeriod": - if r.TryDecodeAsNil() { - x.ResourceQuotaSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1208 := &x.ResourceQuotaSyncPeriod - yym1209 := z.DecBinary() - _ = yym1209 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1208) { - } else if !yym1209 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1208) - } else { - z.DecFallback(yyv1208, false) - } - } - case "namespaceSyncPeriod": - if r.TryDecodeAsNil() { - x.NamespaceSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1210 := &x.NamespaceSyncPeriod - yym1211 := z.DecBinary() - _ = yym1211 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1210) { - } else if !yym1211 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1210) - } else { - z.DecFallback(yyv1210, false) - } - } - case "pvClaimBinderSyncPeriod": - if r.TryDecodeAsNil() { - x.PVClaimBinderSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1212 := &x.PVClaimBinderSyncPeriod - yym1213 := z.DecBinary() - _ = yym1213 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1212) { - } else if !yym1213 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1212) - } else { - z.DecFallback(yyv1212, false) - } - } - case "minResyncPeriod": - if r.TryDecodeAsNil() { - x.MinResyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1214 := &x.MinResyncPeriod - yym1215 := z.DecBinary() - _ = yym1215 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1214) { - } else if !yym1215 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1214) - } else { - z.DecFallback(yyv1214, false) - } - } - case "terminatedPodGCThreshold": - if r.TryDecodeAsNil() { - x.TerminatedPodGCThreshold = 0 - } else { - x.TerminatedPodGCThreshold = int32(r.DecodeInt(32)) - } - case "horizontalPodAutoscalerSyncPeriod": - if r.TryDecodeAsNil() { - x.HorizontalPodAutoscalerSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1217 := &x.HorizontalPodAutoscalerSyncPeriod - yym1218 := z.DecBinary() - _ = yym1218 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1217) { - } else if !yym1218 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1217) - } else { - z.DecFallback(yyv1217, false) - } - } - case "deploymentControllerSyncPeriod": - if r.TryDecodeAsNil() { - x.DeploymentControllerSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1219 := &x.DeploymentControllerSyncPeriod - yym1220 := z.DecBinary() - _ = yym1220 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1219) { - } else if !yym1220 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1219) - } else { - z.DecFallback(yyv1219, false) - } - } - case "podEvictionTimeout": - if r.TryDecodeAsNil() { - x.PodEvictionTimeout = pkg1_unversioned.Duration{} - } else { - yyv1221 := &x.PodEvictionTimeout - yym1222 := z.DecBinary() - _ = yym1222 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1221) { - } else if !yym1222 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1221) - } else { - z.DecFallback(yyv1221, false) - } - } - case "deletingPodsQps": - if r.TryDecodeAsNil() { - x.DeletingPodsQps = 0 - } else { - x.DeletingPodsQps = float32(r.DecodeFloat(true)) - } - case "deletingPodsBurst": - if r.TryDecodeAsNil() { - x.DeletingPodsBurst = 0 - } else { - x.DeletingPodsBurst = int32(r.DecodeInt(32)) - } - case "nodeMonitorGracePeriod": - if r.TryDecodeAsNil() { - x.NodeMonitorGracePeriod = pkg1_unversioned.Duration{} - } else { - yyv1225 := &x.NodeMonitorGracePeriod - yym1226 := z.DecBinary() - _ = yym1226 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1225) { - } else if !yym1226 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1225) - } else { - z.DecFallback(yyv1225, false) - } - } - case "registerRetryCount": - if r.TryDecodeAsNil() { - x.RegisterRetryCount = 0 - } else { - x.RegisterRetryCount = int32(r.DecodeInt(32)) - } - case "nodeStartupGracePeriod": - if r.TryDecodeAsNil() { - x.NodeStartupGracePeriod = pkg1_unversioned.Duration{} - } else { - yyv1228 := &x.NodeStartupGracePeriod - yym1229 := z.DecBinary() - _ = yym1229 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1228) { - } else if !yym1229 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1228) - } else { - z.DecFallback(yyv1228, false) - } - } - case "nodeMonitorPeriod": - if r.TryDecodeAsNil() { - x.NodeMonitorPeriod = pkg1_unversioned.Duration{} - } else { - yyv1230 := &x.NodeMonitorPeriod - yym1231 := z.DecBinary() - _ = yym1231 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1230) { - } else if !yym1231 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1230) - } else { - z.DecFallback(yyv1230, false) - } - } - case "serviceAccountKeyFile": - if r.TryDecodeAsNil() { - x.ServiceAccountKeyFile = "" - } else { - x.ServiceAccountKeyFile = string(r.DecodeString()) - } - case "clusterSigningCertFile": - if r.TryDecodeAsNil() { - x.ClusterSigningCertFile = "" - } else { - x.ClusterSigningCertFile = string(r.DecodeString()) - } - case "clusterSigningKeyFile": - if r.TryDecodeAsNil() { - x.ClusterSigningKeyFile = "" - } else { - x.ClusterSigningKeyFile = string(r.DecodeString()) - } - case "approveAllKubeletCSRsForGroup": - if r.TryDecodeAsNil() { - x.ApproveAllKubeletCSRsForGroup = "" - } else { - x.ApproveAllKubeletCSRsForGroup = string(r.DecodeString()) - } - case "enableProfiling": - if r.TryDecodeAsNil() { - x.EnableProfiling = false - } else { - x.EnableProfiling = bool(r.DecodeBool()) - } - case "clusterName": - if r.TryDecodeAsNil() { - x.ClusterName = "" - } else { - x.ClusterName = string(r.DecodeString()) - } - case "clusterCIDR": - if r.TryDecodeAsNil() { - x.ClusterCIDR = "" - } else { - x.ClusterCIDR = string(r.DecodeString()) - } - case "serviceCIDR": - if r.TryDecodeAsNil() { - x.ServiceCIDR = "" - } else { - x.ServiceCIDR = string(r.DecodeString()) - } - case "nodeCIDRMaskSize": - if r.TryDecodeAsNil() { - x.NodeCIDRMaskSize = 0 - } else { - x.NodeCIDRMaskSize = int32(r.DecodeInt(32)) - } - case "allocateNodeCIDRs": - if r.TryDecodeAsNil() { - x.AllocateNodeCIDRs = false - } else { - x.AllocateNodeCIDRs = bool(r.DecodeBool()) - } - case "configureCloudRoutes": - if r.TryDecodeAsNil() { - x.ConfigureCloudRoutes = false - } else { - x.ConfigureCloudRoutes = bool(r.DecodeBool()) - } - case "rootCAFile": - if r.TryDecodeAsNil() { - x.RootCAFile = "" - } else { - x.RootCAFile = string(r.DecodeString()) - } - case "contentType": - if r.TryDecodeAsNil() { - x.ContentType = "" - } else { - x.ContentType = string(r.DecodeString()) - } - case "kubeAPIQPS": - if r.TryDecodeAsNil() { - x.KubeAPIQPS = 0 - } else { - x.KubeAPIQPS = float32(r.DecodeFloat(true)) - } - case "kubeAPIBurst": - if r.TryDecodeAsNil() { - x.KubeAPIBurst = 0 - } else { - x.KubeAPIBurst = int32(r.DecodeInt(32)) - } - case "leaderElection": - if r.TryDecodeAsNil() { - x.LeaderElection = LeaderElectionConfiguration{} - } else { - yyv1247 := &x.LeaderElection - yyv1247.CodecDecodeSelf(d) - } - case "volumeConfiguration": - if r.TryDecodeAsNil() { - x.VolumeConfiguration = VolumeConfiguration{} - } else { - yyv1248 := &x.VolumeConfiguration - yyv1248.CodecDecodeSelf(d) - } - case "controllerStartInterval": - if r.TryDecodeAsNil() { - x.ControllerStartInterval = pkg1_unversioned.Duration{} - } else { - yyv1249 := &x.ControllerStartInterval - yym1250 := z.DecBinary() - _ = yym1250 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1249) { - } else if !yym1250 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1249) - } else { - z.DecFallback(yyv1249, false) - } - } - case "enableGarbageCollector": - if r.TryDecodeAsNil() { - x.EnableGarbageCollector = false - } else { - x.EnableGarbageCollector = bool(r.DecodeBool()) - } - case "concurrentGCSyncs": - if r.TryDecodeAsNil() { - x.ConcurrentGCSyncs = 0 - } else { - x.ConcurrentGCSyncs = int32(r.DecodeInt(32)) - } - case "nodeEvictionRate": - if r.TryDecodeAsNil() { - x.NodeEvictionRate = 0 - } else { - x.NodeEvictionRate = float32(r.DecodeFloat(true)) - } - case "secondaryNodeEvictionRate": - if r.TryDecodeAsNil() { - x.SecondaryNodeEvictionRate = 0 - } else { - x.SecondaryNodeEvictionRate = float32(r.DecodeFloat(true)) - } - case "largeClusterSizeThreshold": - if r.TryDecodeAsNil() { - x.LargeClusterSizeThreshold = 0 - } else { - x.LargeClusterSizeThreshold = int32(r.DecodeInt(32)) - } - case "unhealthyZoneThreshold": - if r.TryDecodeAsNil() { - x.UnhealthyZoneThreshold = 0 - } else { - x.UnhealthyZoneThreshold = float32(r.DecodeFloat(true)) - } - default: - z.DecStructFieldNotFound(-1, yys1182) - } // end switch yys1182 - } // end for yyj1182 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1257 int - var yyb1257 bool - var yyhl1257 bool = l >= 0 - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Address = "" - } else { - x.Address = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CloudProvider = "" - } else { - x.CloudProvider = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CloudConfigFile = "" - } else { - x.CloudConfigFile = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentEndpointSyncs = 0 - } else { - x.ConcurrentEndpointSyncs = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentRSSyncs = 0 - } else { - x.ConcurrentRSSyncs = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentRCSyncs = 0 - } else { - x.ConcurrentRCSyncs = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentServiceSyncs = 0 - } else { - x.ConcurrentServiceSyncs = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentResourceQuotaSyncs = 0 - } else { - x.ConcurrentResourceQuotaSyncs = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentDeploymentSyncs = 0 - } else { - x.ConcurrentDeploymentSyncs = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentDaemonSetSyncs = 0 - } else { - x.ConcurrentDaemonSetSyncs = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentJobSyncs = 0 - } else { - x.ConcurrentJobSyncs = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentNamespaceSyncs = 0 - } else { - x.ConcurrentNamespaceSyncs = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentSATokenSyncs = 0 - } else { - x.ConcurrentSATokenSyncs = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LookupCacheSizeForRC = 0 - } else { - x.LookupCacheSizeForRC = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LookupCacheSizeForRS = 0 - } else { - x.LookupCacheSizeForRS = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LookupCacheSizeForDaemonSet = 0 - } else { - x.LookupCacheSizeForDaemonSet = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ServiceSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1277 := &x.ServiceSyncPeriod - yym1278 := z.DecBinary() - _ = yym1278 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1277) { - } else if !yym1278 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1277) - } else { - z.DecFallback(yyv1277, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1279 := &x.NodeSyncPeriod - yym1280 := z.DecBinary() - _ = yym1280 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1279) { - } else if !yym1280 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1279) - } else { - z.DecFallback(yyv1279, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RouteReconciliationPeriod = pkg1_unversioned.Duration{} - } else { - yyv1281 := &x.RouteReconciliationPeriod - yym1282 := z.DecBinary() - _ = yym1282 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1281) { - } else if !yym1282 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1281) - } else { - z.DecFallback(yyv1281, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ResourceQuotaSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1283 := &x.ResourceQuotaSyncPeriod - yym1284 := z.DecBinary() - _ = yym1284 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1283) { - } else if !yym1284 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1283) - } else { - z.DecFallback(yyv1283, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NamespaceSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1285 := &x.NamespaceSyncPeriod - yym1286 := z.DecBinary() - _ = yym1286 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1285) { - } else if !yym1286 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1285) - } else { - z.DecFallback(yyv1285, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PVClaimBinderSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1287 := &x.PVClaimBinderSyncPeriod - yym1288 := z.DecBinary() - _ = yym1288 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1287) { - } else if !yym1288 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1287) - } else { - z.DecFallback(yyv1287, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MinResyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1289 := &x.MinResyncPeriod - yym1290 := z.DecBinary() - _ = yym1290 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1289) { - } else if !yym1290 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1289) - } else { - z.DecFallback(yyv1289, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TerminatedPodGCThreshold = 0 - } else { - x.TerminatedPodGCThreshold = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HorizontalPodAutoscalerSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1292 := &x.HorizontalPodAutoscalerSyncPeriod - yym1293 := z.DecBinary() - _ = yym1293 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1292) { - } else if !yym1293 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1292) - } else { - z.DecFallback(yyv1292, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DeploymentControllerSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1294 := &x.DeploymentControllerSyncPeriod - yym1295 := z.DecBinary() - _ = yym1295 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1294) { - } else if !yym1295 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1294) - } else { - z.DecFallback(yyv1294, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodEvictionTimeout = pkg1_unversioned.Duration{} - } else { - yyv1296 := &x.PodEvictionTimeout - yym1297 := z.DecBinary() - _ = yym1297 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1296) { - } else if !yym1297 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1296) - } else { - z.DecFallback(yyv1296, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DeletingPodsQps = 0 - } else { - x.DeletingPodsQps = float32(r.DecodeFloat(true)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DeletingPodsBurst = 0 - } else { - x.DeletingPodsBurst = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeMonitorGracePeriod = pkg1_unversioned.Duration{} - } else { - yyv1300 := &x.NodeMonitorGracePeriod - yym1301 := z.DecBinary() - _ = yym1301 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1300) { - } else if !yym1301 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1300) - } else { - z.DecFallback(yyv1300, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RegisterRetryCount = 0 - } else { - x.RegisterRetryCount = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeStartupGracePeriod = pkg1_unversioned.Duration{} - } else { - yyv1303 := &x.NodeStartupGracePeriod - yym1304 := z.DecBinary() - _ = yym1304 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1303) { - } else if !yym1304 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1303) - } else { - z.DecFallback(yyv1303, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeMonitorPeriod = pkg1_unversioned.Duration{} - } else { - yyv1305 := &x.NodeMonitorPeriod - yym1306 := z.DecBinary() - _ = yym1306 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1305) { - } else if !yym1306 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1305) - } else { - z.DecFallback(yyv1305, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ServiceAccountKeyFile = "" - } else { - x.ServiceAccountKeyFile = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterSigningCertFile = "" - } else { - x.ClusterSigningCertFile = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterSigningKeyFile = "" - } else { - x.ClusterSigningKeyFile = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ApproveAllKubeletCSRsForGroup = "" - } else { - x.ApproveAllKubeletCSRsForGroup = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableProfiling = false - } else { - x.EnableProfiling = bool(r.DecodeBool()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterName = "" - } else { - x.ClusterName = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterCIDR = "" - } else { - x.ClusterCIDR = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ServiceCIDR = "" - } else { - x.ServiceCIDR = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeCIDRMaskSize = 0 - } else { - x.NodeCIDRMaskSize = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.AllocateNodeCIDRs = false - } else { - x.AllocateNodeCIDRs = bool(r.DecodeBool()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConfigureCloudRoutes = false - } else { - x.ConfigureCloudRoutes = bool(r.DecodeBool()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RootCAFile = "" - } else { - x.RootCAFile = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ContentType = "" - } else { - x.ContentType = string(r.DecodeString()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeAPIQPS = 0 - } else { - x.KubeAPIQPS = float32(r.DecodeFloat(true)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeAPIBurst = 0 - } else { - x.KubeAPIBurst = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LeaderElection = LeaderElectionConfiguration{} - } else { - yyv1322 := &x.LeaderElection - yyv1322.CodecDecodeSelf(d) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.VolumeConfiguration = VolumeConfiguration{} - } else { - yyv1323 := &x.VolumeConfiguration - yyv1323.CodecDecodeSelf(d) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ControllerStartInterval = pkg1_unversioned.Duration{} - } else { - yyv1324 := &x.ControllerStartInterval - yym1325 := z.DecBinary() - _ = yym1325 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1324) { - } else if !yym1325 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1324) - } else { - z.DecFallback(yyv1324, false) - } - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableGarbageCollector = false - } else { - x.EnableGarbageCollector = bool(r.DecodeBool()) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentGCSyncs = 0 - } else { - x.ConcurrentGCSyncs = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeEvictionRate = 0 - } else { - x.NodeEvictionRate = float32(r.DecodeFloat(true)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SecondaryNodeEvictionRate = 0 - } else { - x.SecondaryNodeEvictionRate = float32(r.DecodeFloat(true)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LargeClusterSizeThreshold = 0 - } else { - x.LargeClusterSizeThreshold = int32(r.DecodeInt(32)) - } - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.UnhealthyZoneThreshold = 0 - } else { - x.UnhealthyZoneThreshold = float32(r.DecodeFloat(true)) - } - for { - yyj1257++ - if yyhl1257 { - yyb1257 = yyj1257 > l - } else { - yyb1257 = r.CheckBreak() - } - if yyb1257 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1257-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *VolumeConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1332 := z.EncBinary() - _ = yym1332 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1333 := !z.EncBinary() - yy2arr1333 := z.EncBasicHandle().StructToArray - var yyq1333 [4]bool - _, _, _ = yysep1333, yyq1333, yy2arr1333 - const yyr1333 bool = false - var yynn1333 int - if yyr1333 || yy2arr1333 { - r.EncodeArrayStart(4) - } else { - yynn1333 = 4 - for _, b := range yyq1333 { - if b { - yynn1333++ - } - } - r.EncodeMapStart(yynn1333) - yynn1333 = 0 - } - if yyr1333 || yy2arr1333 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1335 := z.EncBinary() - _ = yym1335 - if false { - } else { - r.EncodeBool(bool(x.EnableHostPathProvisioning)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("enableHostPathProvisioning")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1336 := z.EncBinary() - _ = yym1336 - if false { - } else { - r.EncodeBool(bool(x.EnableHostPathProvisioning)) - } - } - if yyr1333 || yy2arr1333 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1338 := z.EncBinary() - _ = yym1338 - if false { - } else { - r.EncodeBool(bool(x.EnableDynamicProvisioning)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("enableDynamicProvisioning")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1339 := z.EncBinary() - _ = yym1339 - if false { - } else { - r.EncodeBool(bool(x.EnableDynamicProvisioning)) - } - } - if yyr1333 || yy2arr1333 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1341 := &x.PersistentVolumeRecyclerConfiguration - yy1341.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("persitentVolumeRecyclerConfiguration")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1342 := &x.PersistentVolumeRecyclerConfiguration - yy1342.CodecEncodeSelf(e) - } - if yyr1333 || yy2arr1333 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1344 := z.EncBinary() - _ = yym1344 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FlexVolumePluginDir)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("flexVolumePluginDir")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1345 := z.EncBinary() - _ = yym1345 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FlexVolumePluginDir)) - } - } - if yyr1333 || yy2arr1333 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *VolumeConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1346 := z.DecBinary() - _ = yym1346 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1347 := r.ContainerType() - if yyct1347 == codecSelferValueTypeMap1234 { - yyl1347 := r.ReadMapStart() - if yyl1347 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1347, d) - } - } else if yyct1347 == codecSelferValueTypeArray1234 { - yyl1347 := r.ReadArrayStart() - if yyl1347 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1347, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *VolumeConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1348Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1348Slc - var yyhl1348 bool = l >= 0 - for yyj1348 := 0; ; yyj1348++ { - if yyhl1348 { - if yyj1348 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1348Slc = r.DecodeBytes(yys1348Slc, true, true) - yys1348 := string(yys1348Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1348 { - case "enableHostPathProvisioning": - if r.TryDecodeAsNil() { - x.EnableHostPathProvisioning = false - } else { - x.EnableHostPathProvisioning = bool(r.DecodeBool()) - } - case "enableDynamicProvisioning": - if r.TryDecodeAsNil() { - x.EnableDynamicProvisioning = false - } else { - x.EnableDynamicProvisioning = bool(r.DecodeBool()) - } - case "persitentVolumeRecyclerConfiguration": - if r.TryDecodeAsNil() { - x.PersistentVolumeRecyclerConfiguration = PersistentVolumeRecyclerConfiguration{} - } else { - yyv1351 := &x.PersistentVolumeRecyclerConfiguration - yyv1351.CodecDecodeSelf(d) - } - case "flexVolumePluginDir": - if r.TryDecodeAsNil() { - x.FlexVolumePluginDir = "" - } else { - x.FlexVolumePluginDir = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys1348) - } // end switch yys1348 - } // end for yyj1348 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1353 int - var yyb1353 bool - var yyhl1353 bool = l >= 0 - yyj1353++ - if yyhl1353 { - yyb1353 = yyj1353 > l - } else { - yyb1353 = r.CheckBreak() - } - if yyb1353 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableHostPathProvisioning = false - } else { - x.EnableHostPathProvisioning = bool(r.DecodeBool()) - } - yyj1353++ - if yyhl1353 { - yyb1353 = yyj1353 > l - } else { - yyb1353 = r.CheckBreak() - } - if yyb1353 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableDynamicProvisioning = false - } else { - x.EnableDynamicProvisioning = bool(r.DecodeBool()) - } - yyj1353++ - if yyhl1353 { - yyb1353 = yyj1353 > l - } else { - yyb1353 = r.CheckBreak() - } - if yyb1353 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PersistentVolumeRecyclerConfiguration = PersistentVolumeRecyclerConfiguration{} - } else { - yyv1356 := &x.PersistentVolumeRecyclerConfiguration - yyv1356.CodecDecodeSelf(d) - } - yyj1353++ - if yyhl1353 { - yyb1353 = yyj1353 > l - } else { - yyb1353 = r.CheckBreak() - } - if yyb1353 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FlexVolumePluginDir = "" - } else { - x.FlexVolumePluginDir = string(r.DecodeString()) - } - for { - yyj1353++ - if yyhl1353 { - yyb1353 = yyj1353 > l - } else { - yyb1353 = r.CheckBreak() - } - if yyb1353 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1353-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1358 := z.EncBinary() - _ = yym1358 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1359 := !z.EncBinary() - yy2arr1359 := z.EncBasicHandle().StructToArray - var yyq1359 [7]bool - _, _, _ = yysep1359, yyq1359, yy2arr1359 - const yyr1359 bool = false - var yynn1359 int - if yyr1359 || yy2arr1359 { - r.EncodeArrayStart(7) - } else { - yynn1359 = 7 - for _, b := range yyq1359 { - if b { - yynn1359++ - } - } - r.EncodeMapStart(yynn1359) - yynn1359 = 0 - } - if yyr1359 || yy2arr1359 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1361 := z.EncBinary() - _ = yym1361 - if false { - } else { - r.EncodeInt(int64(x.MaximumRetry)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maximumRetry")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1362 := z.EncBinary() - _ = yym1362 - if false { - } else { - r.EncodeInt(int64(x.MaximumRetry)) - } - } - if yyr1359 || yy2arr1359 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1364 := z.EncBinary() - _ = yym1364 - if false { - } else { - r.EncodeInt(int64(x.MinimumTimeoutNFS)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("minimumTimeoutNFS")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1365 := z.EncBinary() - _ = yym1365 - if false { - } else { - r.EncodeInt(int64(x.MinimumTimeoutNFS)) - } - } - if yyr1359 || yy2arr1359 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1367 := z.EncBinary() - _ = yym1367 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathNFS)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("podTemplateFilePathNFS")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1368 := z.EncBinary() - _ = yym1368 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathNFS)) - } - } - if yyr1359 || yy2arr1359 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1370 := z.EncBinary() - _ = yym1370 - if false { - } else { - r.EncodeInt(int64(x.IncrementTimeoutNFS)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("incrementTimeoutNFS")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1371 := z.EncBinary() - _ = yym1371 - if false { - } else { - r.EncodeInt(int64(x.IncrementTimeoutNFS)) - } - } - if yyr1359 || yy2arr1359 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1373 := z.EncBinary() - _ = yym1373 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathHostPath)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("podTemplateFilePathHostPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1374 := z.EncBinary() - _ = yym1374 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathHostPath)) - } - } - if yyr1359 || yy2arr1359 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1376 := z.EncBinary() - _ = yym1376 - if false { - } else { - r.EncodeInt(int64(x.MinimumTimeoutHostPath)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("minimumTimeoutHostPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1377 := z.EncBinary() - _ = yym1377 - if false { - } else { - r.EncodeInt(int64(x.MinimumTimeoutHostPath)) - } - } - if yyr1359 || yy2arr1359 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1379 := z.EncBinary() - _ = yym1379 - if false { - } else { - r.EncodeInt(int64(x.IncrementTimeoutHostPath)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("incrementTimeoutHostPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1380 := z.EncBinary() - _ = yym1380 - if false { - } else { - r.EncodeInt(int64(x.IncrementTimeoutHostPath)) - } - } - if yyr1359 || yy2arr1359 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *PersistentVolumeRecyclerConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1381 := z.DecBinary() - _ = yym1381 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1382 := r.ContainerType() - if yyct1382 == codecSelferValueTypeMap1234 { - yyl1382 := r.ReadMapStart() - if yyl1382 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1382, d) - } - } else if yyct1382 == codecSelferValueTypeArray1234 { - yyl1382 := r.ReadArrayStart() - if yyl1382 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1382, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1383Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1383Slc - var yyhl1383 bool = l >= 0 - for yyj1383 := 0; ; yyj1383++ { - if yyhl1383 { - if yyj1383 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1383Slc = r.DecodeBytes(yys1383Slc, true, true) - yys1383 := string(yys1383Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1383 { - case "maximumRetry": - if r.TryDecodeAsNil() { - x.MaximumRetry = 0 - } else { - x.MaximumRetry = int32(r.DecodeInt(32)) - } - case "minimumTimeoutNFS": - if r.TryDecodeAsNil() { - x.MinimumTimeoutNFS = 0 - } else { - x.MinimumTimeoutNFS = int32(r.DecodeInt(32)) - } - case "podTemplateFilePathNFS": - if r.TryDecodeAsNil() { - x.PodTemplateFilePathNFS = "" - } else { - x.PodTemplateFilePathNFS = string(r.DecodeString()) - } - case "incrementTimeoutNFS": - if r.TryDecodeAsNil() { - x.IncrementTimeoutNFS = 0 - } else { - x.IncrementTimeoutNFS = int32(r.DecodeInt(32)) - } - case "podTemplateFilePathHostPath": - if r.TryDecodeAsNil() { - x.PodTemplateFilePathHostPath = "" - } else { - x.PodTemplateFilePathHostPath = string(r.DecodeString()) - } - case "minimumTimeoutHostPath": - if r.TryDecodeAsNil() { - x.MinimumTimeoutHostPath = 0 - } else { - x.MinimumTimeoutHostPath = int32(r.DecodeInt(32)) - } - case "incrementTimeoutHostPath": - if r.TryDecodeAsNil() { - x.IncrementTimeoutHostPath = 0 - } else { - x.IncrementTimeoutHostPath = int32(r.DecodeInt(32)) - } - default: - z.DecStructFieldNotFound(-1, yys1383) - } // end switch yys1383 - } // end for yyj1383 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1391 int - var yyb1391 bool - var yyhl1391 bool = l >= 0 - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l - } else { - yyb1391 = r.CheckBreak() - } - if yyb1391 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaximumRetry = 0 - } else { - x.MaximumRetry = int32(r.DecodeInt(32)) - } - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l - } else { - yyb1391 = r.CheckBreak() - } - if yyb1391 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MinimumTimeoutNFS = 0 - } else { - x.MinimumTimeoutNFS = int32(r.DecodeInt(32)) - } - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l - } else { - yyb1391 = r.CheckBreak() - } - if yyb1391 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodTemplateFilePathNFS = "" - } else { - x.PodTemplateFilePathNFS = string(r.DecodeString()) - } - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l - } else { - yyb1391 = r.CheckBreak() - } - if yyb1391 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.IncrementTimeoutNFS = 0 - } else { - x.IncrementTimeoutNFS = int32(r.DecodeInt(32)) - } - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l - } else { - yyb1391 = r.CheckBreak() - } - if yyb1391 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodTemplateFilePathHostPath = "" - } else { - x.PodTemplateFilePathHostPath = string(r.DecodeString()) - } - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l - } else { - yyb1391 = r.CheckBreak() - } - if yyb1391 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MinimumTimeoutHostPath = 0 - } else { - x.MinimumTimeoutHostPath = int32(r.DecodeInt(32)) - } - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l - } else { - yyb1391 = r.CheckBreak() - } - if yyb1391 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.IncrementTimeoutHostPath = 0 - } else { - x.IncrementTimeoutHostPath = int32(r.DecodeInt(32)) - } - for { - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l - } else { - yyb1391 = r.CheckBreak() - } - if yyb1391 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1391-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) encconfig_ConfigurationMap(v pkg2_config.ConfigurationMap, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeMapStart(len(v)) - for yyk1399, yyv1399 := range v { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym1400 := z.EncBinary() - _ = yym1400 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk1399)) - } - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1401 := z.EncBinary() - _ = yym1401 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1399)) - } - } - z.EncSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x codecSelfer1234) decconfig_ConfigurationMap(v *pkg2_config.ConfigurationMap, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1402 := *v - yyl1402 := r.ReadMapStart() - yybh1402 := z.DecBasicHandle() - if yyv1402 == nil { - yyrl1402, _ := z.DecInferLen(yyl1402, yybh1402.MaxInitLen, 32) - yyv1402 = make(map[string]string, yyrl1402) - *v = yyv1402 - } - var yymk1402 string - var yymv1402 string - var yymg1402 bool - if yybh1402.MapValueReset { - } - if yyl1402 > 0 { - for yyj1402 := 0; yyj1402 < yyl1402; yyj1402++ { - z.DecSendContainerState(codecSelfer_containerMapKey1234) - if r.TryDecodeAsNil() { - yymk1402 = "" - } else { - yymk1402 = string(r.DecodeString()) - } - - if yymg1402 { - yymv1402 = yyv1402[yymk1402] - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv1402 = "" - } else { - yymv1402 = string(r.DecodeString()) - } - - if yyv1402 != nil { - yyv1402[yymk1402] = yymv1402 - } - } - } else if yyl1402 < 0 { - for yyj1402 := 0; !r.CheckBreak(); yyj1402++ { - z.DecSendContainerState(codecSelfer_containerMapKey1234) - if r.TryDecodeAsNil() { - yymk1402 = "" - } else { - yymk1402 = string(r.DecodeString()) - } - - if yymg1402 { - yymv1402 = yyv1402[yymk1402] - } - z.DecSendContainerState(codecSelfer_containerMapValue1234) - if r.TryDecodeAsNil() { - yymv1402 = "" - } else { - yymv1402 = string(r.DecodeString()) - } - - if yyv1402 != nil { - yyv1402[yymk1402] = yymv1402 - } - } - } // else len==0: TODO: Should we clear map entries? - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} diff --git a/pkg/apis/componentconfig/types.go b/pkg/apis/componentconfig/types.go index d7bf6559..335b2cf4 100644 --- a/pkg/apis/componentconfig/types.go +++ b/pkg/apis/componentconfig/types.go @@ -44,6 +44,9 @@ type KubeProxyConfiguration struct { // iptablesSyncPeriod is the period that iptables rules are refreshed (e.g. '5s', '1m', // '2h22m'). Must be greater than 0. IPTablesSyncPeriod unversioned.Duration `json:"iptablesSyncPeriodSeconds"` + // iptablesMinSyncPeriod is the minimum period that iptables rules are refreshed (e.g. '5s', '1m', + // '2h22m'). Must be greater than 0. + IPTablesMinSyncPeriod unversioned.Duration `json:"iptablesMinSyncPeriodSeconds"` // kubeconfigPath is the path to the kubeconfig file with authorization information (the // master location is set by the master flag). KubeconfigPath string `json:"kubeconfigPath"` diff --git a/pkg/apis/componentconfig/v1alpha1/defaults.go b/pkg/apis/componentconfig/v1alpha1/defaults.go index 70b395e1..8293fbaf 100644 --- a/pkg/apis/componentconfig/v1alpha1/defaults.go +++ b/pkg/apis/componentconfig/v1alpha1/defaults.go @@ -80,6 +80,9 @@ func SetDefaults_KubeProxyConfiguration(obj *KubeProxyConfiguration) { if obj.IPTablesSyncPeriod.Duration == 0 { obj.IPTablesSyncPeriod = unversioned.Duration{Duration: 30 * time.Second} } + if obj.IPTablesMinSyncPeriod.Duration == 0 { + obj.IPTablesMinSyncPeriod = unversioned.Duration{Duration: 2 * time.Second} + } zero := unversioned.Duration{} if obj.UDPIdleTimeout == zero { obj.UDPIdleTimeout = unversioned.Duration{Duration: 250 * time.Millisecond} diff --git a/pkg/apis/componentconfig/v1alpha1/types.go b/pkg/apis/componentconfig/v1alpha1/types.go index 2d11bf96..ec19fe0a 100644 --- a/pkg/apis/componentconfig/v1alpha1/types.go +++ b/pkg/apis/componentconfig/v1alpha1/types.go @@ -41,6 +41,9 @@ type KubeProxyConfiguration struct { // iptablesSyncPeriod is the period that iptables rules are refreshed (e.g. '5s', '1m', // '2h22m'). Must be greater than 0. IPTablesSyncPeriod unversioned.Duration `json:"iptablesSyncPeriodSeconds"` + // iptablesMinSyncPeriod is the minimum period that iptables rules are refreshed (e.g. '5s', '1m', + // '2h22m'). Must be greater than 0. + IPTablesMinSyncPeriod unversioned.Duration `json:"iptablesMinSyncPeriodSeconds"` // kubeconfigPath is the path to the kubeconfig file with authorization information (the // master location is set by the master flag). KubeconfigPath string `json:"kubeconfigPath"`