From 85fdeb47426ec6615a3af642a4b9247eb7dc4ef4 Mon Sep 17 00:00:00 2001 From: Minhan Xia Date: Fri, 5 Aug 2016 22:28:14 -0700 Subject: [PATCH 1/3] add iptables util parameters to kubelet config type --- cmd/kubelet/app/options/options.go | 3 + hack/verify-flags/known-flags.txt | 2 + pkg/apis/componentconfig/types.generated.go | 5149 +++++++++-------- pkg/apis/componentconfig/types.go | 12 + pkg/apis/componentconfig/v1alpha1/defaults.go | 14 + pkg/apis/componentconfig/v1alpha1/types.go | 12 + .../v1alpha1/zz_generated.conversion.go | 18 + .../v1alpha1/zz_generated.deepcopy.go | 21 + .../componentconfig/zz_generated.deepcopy.go | 3 + 9 files changed, 2721 insertions(+), 2513 deletions(-) diff --git a/cmd/kubelet/app/options/options.go b/cmd/kubelet/app/options/options.go index 8eb1ee5788..bb3dcbace9 100644 --- a/cmd/kubelet/app/options/options.go +++ b/cmd/kubelet/app/options/options.go @@ -157,6 +157,9 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) { fs.StringVar(&s.ResolverConfig, "resolv-conf", s.ResolverConfig, "Resolver configuration file used as the basis for the container DNS resolution configuration.") fs.BoolVar(&s.CPUCFSQuota, "cpu-cfs-quota", s.CPUCFSQuota, "Enable CPU CFS quota enforcement for containers that specify CPU limits") fs.BoolVar(&s.EnableControllerAttachDetach, "enable-controller-attach-detach", s.EnableControllerAttachDetach, "Enables the Attach/Detach controller to manage attachment/detachment of volumes scheduled to this node, and disables kubelet from executing any attach/detach operations") + fs.BoolVar(&s.MakeIPTablesUtilChains, "make-iptables-util-chains", s.MakeIPTablesUtilChains, "If true, kubelet will ensure iptables utility rules are present on host.") + fs.Int32Var(&s.IPTablesMasqueradeBit, "iptables-masquerade-bit", s.IPTablesMasqueradeBit, "The bit of the fwmark space to mark packets for SNAT. Must be within the range [0, 31]. Please match this parameter with corresponding parameter in kube-proxy.") + fs.Int32Var(&s.IPTablesDropBit, "iptables-drop-bit", s.IPTablesDropBit, "The bit of the fwmark space to mark packets for dropping. Must be within the range [0, 31].") // Flags intended for testing, not recommended used in production environments. fs.BoolVar(&s.ReallyCrashForTesting, "really-crash-for-testing", s.ReallyCrashForTesting, "If true, when panics occur crash. Intended for testing.") diff --git a/hack/verify-flags/known-flags.txt b/hack/verify-flags/known-flags.txt index 565466687f..c50b3628da 100644 --- a/hack/verify-flags/known-flags.txt +++ b/hack/verify-flags/known-flags.txt @@ -230,6 +230,7 @@ insecure-port insecure-skip-tls-verify instance-metadata instance-name-prefix +iptables-drop-bit iptables-masquerade-bit iptables-sync-period ir-data-source @@ -288,6 +289,7 @@ lock-file log-flush-frequency long-running-request-regexp low-diskspace-threshold-mb +make-iptables-util-chains make-symlinks manifest-url manifest-url-header diff --git a/pkg/apis/componentconfig/types.generated.go b/pkg/apis/componentconfig/types.generated.go index db1f05c874..8f6f4ff610 100644 --- a/pkg/apis/componentconfig/types.generated.go +++ b/pkg/apis/componentconfig/types.generated.go @@ -1218,7 +1218,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep130 := !z.EncBinary() yy2arr130 := z.EncBasicHandle().StructToArray - var yyq130 [98]bool + var yyq130 [101]bool _, _, _ = yysep130, yyq130, yy2arr130 const yyr130 bool = false yyq130[0] = x.Kind != "" @@ -1244,9 +1244,9 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { yyq130[92] = x.EvictionMinimumReclaim != "" var yynn130 int if yyr130 || yy2arr130 { - r.EncodeArrayStart(98) + r.EncodeArrayStart(101) } else { - yynn130 = 77 + yynn130 = 80 for _, b := range yyq130 { if b { yynn130++ @@ -3383,6 +3383,63 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(bool(x.ProtectKernelDefaults)) } } + if yyr130 || yy2arr130 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym448 := z.EncBinary() + _ = yym448 + if false { + } else { + r.EncodeBool(bool(x.MakeIPTablesUtilChains)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("makeIPTablesUtilChains")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym449 := z.EncBinary() + _ = yym449 + if false { + } else { + r.EncodeBool(bool(x.MakeIPTablesUtilChains)) + } + } + if yyr130 || yy2arr130 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym451 := z.EncBinary() + _ = yym451 + if false { + } else { + r.EncodeInt(int64(x.IPTablesMasqueradeBit)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("iptablesMasqueradeBit")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym452 := z.EncBinary() + _ = yym452 + if false { + } else { + r.EncodeInt(int64(x.IPTablesMasqueradeBit)) + } + } + if yyr130 || yy2arr130 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym454 := z.EncBinary() + _ = yym454 + if false { + } else { + r.EncodeInt(int64(x.IPTablesDropBit)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("iptablesDropBit")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym455 := z.EncBinary() + _ = yym455 + if false { + } else { + r.EncodeInt(int64(x.IPTablesDropBit)) + } + } if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { @@ -3396,25 +3453,25 @@ func (x *KubeletConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym447 := z.DecBinary() - _ = yym447 + yym456 := z.DecBinary() + _ = yym456 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct448 := r.ContainerType() - if yyct448 == codecSelferValueTypeMap1234 { - yyl448 := r.ReadMapStart() - if yyl448 == 0 { + yyct457 := r.ContainerType() + if yyct457 == codecSelferValueTypeMap1234 { + yyl457 := r.ReadMapStart() + if yyl457 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl448, d) + x.codecDecodeSelfFromMap(yyl457, d) } - } else if yyct448 == codecSelferValueTypeArray1234 { - yyl448 := r.ReadArrayStart() - if yyl448 == 0 { + } else if yyct457 == codecSelferValueTypeArray1234 { + yyl457 := r.ReadArrayStart() + if yyl457 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl448, d) + x.codecDecodeSelfFromArray(yyl457, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3426,12 +3483,12 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys449Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys449Slc - var yyhl449 bool = l >= 0 - for yyj449 := 0; ; yyj449++ { - if yyhl449 { - if yyj449 >= l { + var yys458Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys458Slc + var yyhl458 bool = l >= 0 + for yyj458 := 0; ; yyj458++ { + if yyhl458 { + if yyj458 >= l { break } } else { @@ -3440,10 +3497,10 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys449Slc = r.DecodeBytes(yys449Slc, true, true) - yys449 := string(yys449Slc) + yys458Slc = r.DecodeBytes(yys458Slc, true, true) + yys458 := string(yys458Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys449 { + switch yys458 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3466,45 +3523,45 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SyncFrequency = pkg1_unversioned.Duration{} } else { - yyv453 := &x.SyncFrequency - yym454 := z.DecBinary() - _ = yym454 + yyv462 := &x.SyncFrequency + yym463 := z.DecBinary() + _ = yym463 if false { - } else if z.HasExtensions() && z.DecExt(yyv453) { - } else if !yym454 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv453) + } else if z.HasExtensions() && z.DecExt(yyv462) { + } else if !yym463 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv462) } else { - z.DecFallback(yyv453, false) + z.DecFallback(yyv462, false) } } case "fileCheckFrequency": if r.TryDecodeAsNil() { x.FileCheckFrequency = pkg1_unversioned.Duration{} } else { - yyv455 := &x.FileCheckFrequency - yym456 := z.DecBinary() - _ = yym456 + yyv464 := &x.FileCheckFrequency + yym465 := z.DecBinary() + _ = yym465 if false { - } else if z.HasExtensions() && z.DecExt(yyv455) { - } else if !yym456 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv455) + } else if z.HasExtensions() && z.DecExt(yyv464) { + } else if !yym465 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv464) } else { - z.DecFallback(yyv455, false) + z.DecFallback(yyv464, false) } } case "httpCheckFrequency": if r.TryDecodeAsNil() { x.HTTPCheckFrequency = pkg1_unversioned.Duration{} } else { - yyv457 := &x.HTTPCheckFrequency - yym458 := z.DecBinary() - _ = yym458 + yyv466 := &x.HTTPCheckFrequency + yym467 := z.DecBinary() + _ = yym467 if false { - } else if z.HasExtensions() && z.DecExt(yyv457) { - } else if !yym458 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv457) + } else if z.HasExtensions() && z.DecExt(yyv466) { + } else if !yym467 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv466) } else { - z.DecFallback(yyv457, false) + z.DecFallback(yyv466, false) } } case "manifestURL": @@ -3601,36 +3658,36 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.HostNetworkSources = nil } else { - yyv474 := &x.HostNetworkSources - yym475 := z.DecBinary() - _ = yym475 + yyv483 := &x.HostNetworkSources + yym484 := z.DecBinary() + _ = yym484 if false { } else { - z.F.DecSliceStringX(yyv474, false, d) + z.F.DecSliceStringX(yyv483, false, d) } } case "hostPIDSources": if r.TryDecodeAsNil() { x.HostPIDSources = nil } else { - yyv476 := &x.HostPIDSources - yym477 := z.DecBinary() - _ = yym477 + yyv485 := &x.HostPIDSources + yym486 := z.DecBinary() + _ = yym486 if false { } else { - z.F.DecSliceStringX(yyv476, false, d) + z.F.DecSliceStringX(yyv485, false, d) } } case "hostIPCSources": if r.TryDecodeAsNil() { x.HostIPCSources = nil } else { - yyv478 := &x.HostIPCSources - yym479 := z.DecBinary() - _ = yym479 + yyv487 := &x.HostIPCSources + yym488 := z.DecBinary() + _ = yym488 if false { } else { - z.F.DecSliceStringX(yyv478, false, d) + z.F.DecSliceStringX(yyv487, false, d) } } case "registryPullQPS": @@ -3667,15 +3724,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.MinimumGCAge = pkg1_unversioned.Duration{} } else { - yyv485 := &x.MinimumGCAge - yym486 := z.DecBinary() - _ = yym486 + yyv494 := &x.MinimumGCAge + yym495 := z.DecBinary() + _ = yym495 if false { - } else if z.HasExtensions() && z.DecExt(yyv485) { - } else if !yym486 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv485) + } else if z.HasExtensions() && z.DecExt(yyv494) { + } else if !yym495 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv494) } else { - z.DecFallback(yyv485, false) + z.DecFallback(yyv494, false) } } case "maxPerPodContainerCount": @@ -3742,45 +3799,45 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.StreamingConnectionIdleTimeout = pkg1_unversioned.Duration{} } else { - yyv497 := &x.StreamingConnectionIdleTimeout - yym498 := z.DecBinary() - _ = yym498 + yyv506 := &x.StreamingConnectionIdleTimeout + yym507 := z.DecBinary() + _ = yym507 if false { - } else if z.HasExtensions() && z.DecExt(yyv497) { - } else if !yym498 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv497) + } else if z.HasExtensions() && z.DecExt(yyv506) { + } else if !yym507 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv506) } else { - z.DecFallback(yyv497, false) + z.DecFallback(yyv506, false) } } case "nodeStatusUpdateFrequency": if r.TryDecodeAsNil() { x.NodeStatusUpdateFrequency = pkg1_unversioned.Duration{} } else { - yyv499 := &x.NodeStatusUpdateFrequency - yym500 := z.DecBinary() - _ = yym500 + yyv508 := &x.NodeStatusUpdateFrequency + yym509 := z.DecBinary() + _ = yym509 if false { - } else if z.HasExtensions() && z.DecExt(yyv499) { - } else if !yym500 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv499) + } else if z.HasExtensions() && z.DecExt(yyv508) { + } else if !yym509 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv508) } else { - z.DecFallback(yyv499, false) + z.DecFallback(yyv508, false) } } case "imageMinimumGCAge": if r.TryDecodeAsNil() { x.ImageMinimumGCAge = pkg1_unversioned.Duration{} } else { - yyv501 := &x.ImageMinimumGCAge - yym502 := z.DecBinary() - _ = yym502 + yyv510 := &x.ImageMinimumGCAge + yym511 := z.DecBinary() + _ = yym511 if false { - } else if z.HasExtensions() && z.DecExt(yyv501) { - } else if !yym502 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv501) + } else if z.HasExtensions() && z.DecExt(yyv510) { + } else if !yym511 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv510) } else { - z.DecFallback(yyv501, false) + z.DecFallback(yyv510, false) } } case "imageGCHighThresholdPercent": @@ -3805,15 +3862,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.VolumeStatsAggPeriod = pkg1_unversioned.Duration{} } else { - yyv506 := &x.VolumeStatsAggPeriod - yym507 := z.DecBinary() - _ = yym507 + yyv515 := &x.VolumeStatsAggPeriod + yym516 := z.DecBinary() + _ = yym516 if false { - } else if z.HasExtensions() && z.DecExt(yyv506) { - } else if !yym507 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv506) + } else if z.HasExtensions() && z.DecExt(yyv515) { + } else if !yym516 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv515) } else { - z.DecFallback(yyv506, false) + z.DecFallback(yyv515, false) } } case "networkPluginName": @@ -3886,15 +3943,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.RuntimeRequestTimeout = pkg1_unversioned.Duration{} } else { - yyv519 := &x.RuntimeRequestTimeout - yym520 := z.DecBinary() - _ = yym520 + yyv528 := &x.RuntimeRequestTimeout + yym529 := z.DecBinary() + _ = yym529 if false { - } else if z.HasExtensions() && z.DecExt(yyv519) { - } else if !yym520 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv519) + } else if z.HasExtensions() && z.DecExt(yyv528) { + } else if !yym529 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv528) } else { - z.DecFallback(yyv519, false) + z.DecFallback(yyv528, false) } } case "rktPath": @@ -4039,15 +4096,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.OutOfDiskTransitionFrequency = pkg1_unversioned.Duration{} } else { - yyv544 := &x.OutOfDiskTransitionFrequency - yym545 := z.DecBinary() - _ = yym545 + yyv553 := &x.OutOfDiskTransitionFrequency + yym554 := z.DecBinary() + _ = yym554 if false { - } else if z.HasExtensions() && z.DecExt(yyv544) { - } else if !yym545 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv544) + } else if z.HasExtensions() && z.DecExt(yyv553) { + } else if !yym554 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv553) } else { - z.DecFallback(yyv544, false) + z.DecFallback(yyv553, false) } } case "nodeIP": @@ -4060,12 +4117,12 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.NodeLabels = nil } else { - yyv547 := &x.NodeLabels - yym548 := z.DecBinary() - _ = yym548 + yyv556 := &x.NodeLabels + yym557 := z.DecBinary() + _ = yym557 if false { } else { - z.F.DecMapStringStringX(yyv547, false, d) + z.F.DecMapStringStringX(yyv556, false, d) } } case "nonMasqueradeCIDR": @@ -4102,15 +4159,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.EvictionPressureTransitionPeriod = pkg1_unversioned.Duration{} } else { - yyv554 := &x.EvictionPressureTransitionPeriod - yym555 := z.DecBinary() - _ = yym555 + yyv563 := &x.EvictionPressureTransitionPeriod + yym564 := z.DecBinary() + _ = yym564 if false { - } else if z.HasExtensions() && z.DecExt(yyv554) { - } else if !yym555 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv554) + } else if z.HasExtensions() && z.DecExt(yyv563) { + } else if !yym564 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv563) } else { - z.DecFallback(yyv554, false) + z.DecFallback(yyv563, false) } } case "evictionMaxPodGracePeriod": @@ -4141,26 +4198,26 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SystemReserved = nil } else { - yyv560 := &x.SystemReserved - yym561 := z.DecBinary() - _ = yym561 + yyv569 := &x.SystemReserved + yym570 := z.DecBinary() + _ = yym570 if false { - } else if z.HasExtensions() && z.DecExt(yyv560) { + } else if z.HasExtensions() && z.DecExt(yyv569) { } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv560), d) + h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv569), d) } } case "kubeReserved": if r.TryDecodeAsNil() { x.KubeReserved = nil } else { - yyv562 := &x.KubeReserved - yym563 := z.DecBinary() - _ = yym563 + yyv571 := &x.KubeReserved + yym572 := z.DecBinary() + _ = yym572 if false { - } else if z.HasExtensions() && z.DecExt(yyv562) { + } else if z.HasExtensions() && z.DecExt(yyv571) { } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv562), d) + h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv571), d) } } case "protectKernelDefaults": @@ -4169,10 +4226,28 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode } 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)) + } default: - z.DecStructFieldNotFound(-1, yys449) - } // end switch yys449 - } // end for yyj449 + z.DecStructFieldNotFound(-1, yys458) + } // end switch yys458 + } // end for yyj458 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4180,16 +4255,16 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj565 int - var yyb565 bool - var yyhl565 bool = l >= 0 - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + var yyj577 int + var yyb577 bool + var yyhl577 bool = l >= 0 + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4199,13 +4274,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Kind = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4215,13 +4290,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4231,13 +4306,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.PodManifestPath = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4245,24 +4320,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.SyncFrequency = pkg1_unversioned.Duration{} } else { - yyv569 := &x.SyncFrequency - yym570 := z.DecBinary() - _ = yym570 + yyv581 := &x.SyncFrequency + yym582 := z.DecBinary() + _ = yym582 if false { - } else if z.HasExtensions() && z.DecExt(yyv569) { - } else if !yym570 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv569) + } else if z.HasExtensions() && z.DecExt(yyv581) { + } else if !yym582 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv581) } else { - z.DecFallback(yyv569, false) + z.DecFallback(yyv581, false) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4270,24 +4345,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.FileCheckFrequency = pkg1_unversioned.Duration{} } else { - yyv571 := &x.FileCheckFrequency - yym572 := z.DecBinary() - _ = yym572 + yyv583 := &x.FileCheckFrequency + yym584 := z.DecBinary() + _ = yym584 if false { - } else if z.HasExtensions() && z.DecExt(yyv571) { - } else if !yym572 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv571) + } else if z.HasExtensions() && z.DecExt(yyv583) { + } else if !yym584 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv583) } else { - z.DecFallback(yyv571, false) + z.DecFallback(yyv583, false) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4295,24 +4370,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.HTTPCheckFrequency = pkg1_unversioned.Duration{} } else { - yyv573 := &x.HTTPCheckFrequency - yym574 := z.DecBinary() - _ = yym574 + yyv585 := &x.HTTPCheckFrequency + yym586 := z.DecBinary() + _ = yym586 if false { - } else if z.HasExtensions() && z.DecExt(yyv573) { - } else if !yym574 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv573) + } else if z.HasExtensions() && z.DecExt(yyv585) { + } else if !yym586 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv585) } else { - z.DecFallback(yyv573, false) + z.DecFallback(yyv585, false) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4322,13 +4397,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ManifestURL = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4338,13 +4413,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ManifestURLHeader = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4354,13 +4429,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EnableServer = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4370,13 +4445,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Address = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4386,13 +4461,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Port = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4402,13 +4477,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ReadOnlyPort = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4418,13 +4493,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.TLSCertFile = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4434,13 +4509,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.TLSPrivateKeyFile = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4450,13 +4525,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CertDirectory = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4466,13 +4541,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.HostnameOverride = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4482,13 +4557,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.PodInfraContainerImage = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4498,13 +4573,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.DockerEndpoint = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4514,13 +4589,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RootDirectory = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4530,13 +4605,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.SeccompProfileRoot = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4546,13 +4621,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.AllowPrivileged = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4560,21 +4635,21 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.HostNetworkSources = nil } else { - yyv590 := &x.HostNetworkSources - yym591 := z.DecBinary() - _ = yym591 + yyv602 := &x.HostNetworkSources + yym603 := z.DecBinary() + _ = yym603 if false { } else { - z.F.DecSliceStringX(yyv590, false, d) + z.F.DecSliceStringX(yyv602, false, d) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4582,21 +4657,21 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.HostPIDSources = nil } else { - yyv592 := &x.HostPIDSources - yym593 := z.DecBinary() - _ = yym593 + yyv604 := &x.HostPIDSources + yym605 := z.DecBinary() + _ = yym605 if false { } else { - z.F.DecSliceStringX(yyv592, false, d) + z.F.DecSliceStringX(yyv604, false, d) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4604,21 +4679,21 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.HostIPCSources = nil } else { - yyv594 := &x.HostIPCSources - yym595 := z.DecBinary() - _ = yym595 + yyv606 := &x.HostIPCSources + yym607 := z.DecBinary() + _ = yym607 if false { } else { - z.F.DecSliceStringX(yyv594, false, d) + z.F.DecSliceStringX(yyv606, false, d) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4628,13 +4703,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RegistryPullQPS = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4644,13 +4719,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RegistryBurst = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4660,13 +4735,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EventRecordQPS = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4676,13 +4751,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EventBurst = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4692,13 +4767,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EnableDebuggingHandlers = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4706,192 +4781,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.MinimumGCAge = pkg1_unversioned.Duration{} } else { - yyv601 := &x.MinimumGCAge - yym602 := z.DecBinary() - _ = yym602 - if false { - } else if z.HasExtensions() && z.DecExt(yyv601) { - } else if !yym602 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv601) - } else { - z.DecFallback(yyv601, false) - } - } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l - } else { - yyb565 = r.CheckBreak() - } - if yyb565 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxPerPodContainerCount = 0 - } else { - x.MaxPerPodContainerCount = int32(r.DecodeInt(32)) - } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l - } else { - yyb565 = r.CheckBreak() - } - if yyb565 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxContainerCount = 0 - } else { - x.MaxContainerCount = int32(r.DecodeInt(32)) - } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l - } else { - yyb565 = r.CheckBreak() - } - if yyb565 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CAdvisorPort = 0 - } else { - x.CAdvisorPort = int32(r.DecodeInt(32)) - } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l - } else { - yyb565 = r.CheckBreak() - } - if yyb565 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HealthzPort = 0 - } else { - x.HealthzPort = int32(r.DecodeInt(32)) - } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l - } else { - yyb565 = r.CheckBreak() - } - if yyb565 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HealthzBindAddress = "" - } else { - x.HealthzBindAddress = string(r.DecodeString()) - } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l - } else { - yyb565 = r.CheckBreak() - } - if yyb565 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.OOMScoreAdj = 0 - } else { - x.OOMScoreAdj = int32(r.DecodeInt(32)) - } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l - } else { - yyb565 = r.CheckBreak() - } - if yyb565 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RegisterNode = false - } else { - x.RegisterNode = bool(r.DecodeBool()) - } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l - } else { - yyb565 = r.CheckBreak() - } - if yyb565 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterDomain = "" - } else { - x.ClusterDomain = string(r.DecodeString()) - } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l - } else { - yyb565 = r.CheckBreak() - } - if yyb565 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MasterServiceNamespace = "" - } else { - x.MasterServiceNamespace = string(r.DecodeString()) - } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l - } else { - yyb565 = r.CheckBreak() - } - if yyb565 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterDNS = "" - } else { - x.ClusterDNS = string(r.DecodeString()) - } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l - } else { - yyb565 = r.CheckBreak() - } - if yyb565 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.StreamingConnectionIdleTimeout = pkg1_unversioned.Duration{} - } else { - yyv613 := &x.StreamingConnectionIdleTimeout + yyv613 := &x.MinimumGCAge yym614 := z.DecBinary() _ = yym614 if false { @@ -4902,13 +4792,198 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco z.DecFallback(yyv613, false) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxPerPodContainerCount = 0 + } else { + x.MaxPerPodContainerCount = int32(r.DecodeInt(32)) + } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxContainerCount = 0 + } else { + x.MaxContainerCount = int32(r.DecodeInt(32)) + } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CAdvisorPort = 0 + } else { + x.CAdvisorPort = int32(r.DecodeInt(32)) + } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HealthzPort = 0 + } else { + x.HealthzPort = int32(r.DecodeInt(32)) + } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HealthzBindAddress = "" + } else { + x.HealthzBindAddress = string(r.DecodeString()) + } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.OOMScoreAdj = 0 + } else { + x.OOMScoreAdj = int32(r.DecodeInt(32)) + } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RegisterNode = false + } else { + x.RegisterNode = bool(r.DecodeBool()) + } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ClusterDomain = "" + } else { + x.ClusterDomain = string(r.DecodeString()) + } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MasterServiceNamespace = "" + } else { + x.MasterServiceNamespace = string(r.DecodeString()) + } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ClusterDNS = "" + } else { + x.ClusterDNS = string(r.DecodeString()) + } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.StreamingConnectionIdleTimeout = pkg1_unversioned.Duration{} + } else { + yyv625 := &x.StreamingConnectionIdleTimeout + yym626 := z.DecBinary() + _ = yym626 + if false { + } else if z.HasExtensions() && z.DecExt(yyv625) { + } else if !yym626 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv625) + } else { + z.DecFallback(yyv625, false) + } + } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4916,24 +4991,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.NodeStatusUpdateFrequency = pkg1_unversioned.Duration{} } else { - yyv615 := &x.NodeStatusUpdateFrequency - yym616 := z.DecBinary() - _ = yym616 + yyv627 := &x.NodeStatusUpdateFrequency + yym628 := z.DecBinary() + _ = yym628 if false { - } else if z.HasExtensions() && z.DecExt(yyv615) { - } else if !yym616 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv615) + } else if z.HasExtensions() && z.DecExt(yyv627) { + } else if !yym628 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv627) } else { - z.DecFallback(yyv615, false) + z.DecFallback(yyv627, false) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4941,24 +5016,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.ImageMinimumGCAge = pkg1_unversioned.Duration{} } else { - yyv617 := &x.ImageMinimumGCAge - yym618 := z.DecBinary() - _ = yym618 + yyv629 := &x.ImageMinimumGCAge + yym630 := z.DecBinary() + _ = yym630 if false { - } else if z.HasExtensions() && z.DecExt(yyv617) { - } else if !yym618 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv617) + } else if z.HasExtensions() && z.DecExt(yyv629) { + } else if !yym630 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv629) } else { - z.DecFallback(yyv617, false) + z.DecFallback(yyv629, false) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4968,13 +5043,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ImageGCHighThresholdPercent = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4984,13 +5059,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ImageGCLowThresholdPercent = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5000,13 +5075,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.LowDiskSpaceThresholdMB = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5014,24 +5089,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.VolumeStatsAggPeriod = pkg1_unversioned.Duration{} } else { - yyv622 := &x.VolumeStatsAggPeriod - yym623 := z.DecBinary() - _ = yym623 + yyv634 := &x.VolumeStatsAggPeriod + yym635 := z.DecBinary() + _ = yym635 if false { - } else if z.HasExtensions() && z.DecExt(yyv622) { - } else if !yym623 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv622) + } else if z.HasExtensions() && z.DecExt(yyv634) { + } else if !yym635 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv634) } else { - z.DecFallback(yyv622, false) + z.DecFallback(yyv634, false) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5041,13 +5116,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.NetworkPluginName = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5057,13 +5132,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.NetworkPluginDir = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5073,13 +5148,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.VolumePluginDir = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5089,13 +5164,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CloudProvider = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5105,13 +5180,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CloudConfigFile = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5121,13 +5196,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.KubeletCgroups = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5137,13 +5212,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CgroupsPerQOS = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5153,13 +5228,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RuntimeCgroups = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5169,13 +5244,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.SystemCgroups = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5185,13 +5260,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CgroupRoot = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5201,13 +5276,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ContainerRuntime = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5215,24 +5290,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.RuntimeRequestTimeout = pkg1_unversioned.Duration{} } else { - yyv635 := &x.RuntimeRequestTimeout - yym636 := z.DecBinary() - _ = yym636 + yyv647 := &x.RuntimeRequestTimeout + yym648 := z.DecBinary() + _ = yym648 if false { - } else if z.HasExtensions() && z.DecExt(yyv635) { - } else if !yym636 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv635) + } else if z.HasExtensions() && z.DecExt(yyv647) { + } else if !yym648 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv647) } else { - z.DecFallback(yyv635, false) + z.DecFallback(yyv647, false) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5242,13 +5317,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RktPath = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5258,13 +5333,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RktAPIEndpoint = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5274,13 +5349,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RktStage1Image = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5290,13 +5365,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.LockFilePath = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5306,13 +5381,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ExitOnLockContention = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5322,13 +5397,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ConfigureCBR0 = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5338,13 +5413,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.HairpinMode = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5354,13 +5429,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.BabysitDaemons = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5370,13 +5445,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.MaxPods = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5386,13 +5461,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.NvidiaGPUs = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5402,13 +5477,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.DockerExecHandlerName = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5418,13 +5493,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.PodCIDR = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5434,13 +5509,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ResolverConfig = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5450,13 +5525,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.CPUCFSQuota = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5466,13 +5541,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Containerized = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5482,13 +5557,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.MaxOpenFiles = int64(r.DecodeInt(64)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5498,13 +5573,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ReconcileCIDR = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5514,13 +5589,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.RegisterSchedulable = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5530,13 +5605,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ContentType = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5546,13 +5621,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.KubeAPIQPS = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5562,13 +5637,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.KubeAPIBurst = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5578,13 +5653,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.SerializeImagePulls = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5594,13 +5669,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ExperimentalFlannelOverlay = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5608,24 +5683,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.OutOfDiskTransitionFrequency = pkg1_unversioned.Duration{} } else { - yyv660 := &x.OutOfDiskTransitionFrequency - yym661 := z.DecBinary() - _ = yym661 + yyv672 := &x.OutOfDiskTransitionFrequency + yym673 := z.DecBinary() + _ = yym673 if false { - } else if z.HasExtensions() && z.DecExt(yyv660) { - } else if !yym661 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv660) + } else if z.HasExtensions() && z.DecExt(yyv672) { + } else if !yym673 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv672) } else { - z.DecFallback(yyv660, false) + z.DecFallback(yyv672, false) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5635,13 +5710,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.NodeIP = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5649,21 +5724,21 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.NodeLabels = nil } else { - yyv663 := &x.NodeLabels - yym664 := z.DecBinary() - _ = yym664 + yyv675 := &x.NodeLabels + yym676 := z.DecBinary() + _ = yym676 if false { } else { - z.F.DecMapStringStringX(yyv663, false, d) + z.F.DecMapStringStringX(yyv675, false, d) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5673,13 +5748,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.NonMasqueradeCIDR = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5689,13 +5764,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EnableCustomMetrics = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5705,13 +5780,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EvictionHard = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5721,13 +5796,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EvictionSoft = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5737,13 +5812,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EvictionSoftGracePeriod = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5751,24 +5826,24 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.EvictionPressureTransitionPeriod = pkg1_unversioned.Duration{} } else { - yyv670 := &x.EvictionPressureTransitionPeriod - yym671 := z.DecBinary() - _ = yym671 + yyv682 := &x.EvictionPressureTransitionPeriod + yym683 := z.DecBinary() + _ = yym683 if false { - } else if z.HasExtensions() && z.DecExt(yyv670) { - } else if !yym671 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv670) + } else if z.HasExtensions() && z.DecExt(yyv682) { + } else if !yym683 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv682) } else { - z.DecFallback(yyv670, false) + z.DecFallback(yyv682, false) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5778,13 +5853,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EvictionMaxPodGracePeriod = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5794,13 +5869,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EvictionMinimumReclaim = string(r.DecodeString()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5810,13 +5885,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.PodsPerCore = int32(r.DecodeInt(32)) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5826,13 +5901,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.EnableControllerAttachDetach = bool(r.DecodeBool()) } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5840,22 +5915,22 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.SystemReserved = nil } else { - yyv676 := &x.SystemReserved - yym677 := z.DecBinary() - _ = yym677 + yyv688 := &x.SystemReserved + yym689 := z.DecBinary() + _ = yym689 if false { - } else if z.HasExtensions() && z.DecExt(yyv676) { + } else if z.HasExtensions() && z.DecExt(yyv688) { } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv676), d) + h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv688), d) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5863,22 +5938,22 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.KubeReserved = nil } else { - yyv678 := &x.KubeReserved - yym679 := z.DecBinary() - _ = yym679 + yyv690 := &x.KubeReserved + yym691 := z.DecBinary() + _ = yym691 if false { - } else if z.HasExtensions() && z.DecExt(yyv678) { + } else if z.HasExtensions() && z.DecExt(yyv690) { } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv678), d) + h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv690), d) } } - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5888,18 +5963,66 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.ProtectKernelDefaults = bool(r.DecodeBool()) } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MakeIPTablesUtilChains = false + } else { + x.MakeIPTablesUtilChains = bool(r.DecodeBool()) + } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.IPTablesMasqueradeBit = 0 + } else { + x.IPTablesMasqueradeBit = int32(r.DecodeInt(32)) + } + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l + } else { + yyb577 = r.CheckBreak() + } + if yyb577 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.IPTablesDropBit = 0 + } else { + x.IPTablesDropBit = int32(r.DecodeInt(32)) + } for { - yyj565++ - if yyhl565 { - yyb565 = yyj565 > l + yyj577++ + if yyhl577 { + yyb577 = yyj577 > l } else { - yyb565 = r.CheckBreak() + yyb577 = r.CheckBreak() } - if yyb565 { + if yyb577 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj565-1, "") + z.DecStructFieldNotFound(yyj577-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5911,36 +6034,36 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym681 := z.EncBinary() - _ = yym681 + yym696 := z.EncBinary() + _ = yym696 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep682 := !z.EncBinary() - yy2arr682 := z.EncBasicHandle().StructToArray - var yyq682 [14]bool - _, _, _ = yysep682, yyq682, yy2arr682 - const yyr682 bool = false - yyq682[0] = x.Kind != "" - yyq682[1] = x.APIVersion != "" - var yynn682 int - if yyr682 || yy2arr682 { + yysep697 := !z.EncBinary() + yy2arr697 := z.EncBasicHandle().StructToArray + var yyq697 [14]bool + _, _, _ = yysep697, yyq697, yy2arr697 + const yyr697 bool = false + yyq697[0] = x.Kind != "" + yyq697[1] = x.APIVersion != "" + var yynn697 int + if yyr697 || yy2arr697 { r.EncodeArrayStart(14) } else { - yynn682 = 12 - for _, b := range yyq682 { + yynn697 = 12 + for _, b := range yyq697 { if b { - yynn682++ + yynn697++ } } - r.EncodeMapStart(yynn682) - yynn682 = 0 + r.EncodeMapStart(yynn697) + yynn697 = 0 } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq682[0] { - yym684 := z.EncBinary() - _ = yym684 + if yyq697[0] { + yym699 := z.EncBinary() + _ = yym699 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -5949,23 +6072,23 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq682[0] { + if yyq697[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym685 := z.EncBinary() - _ = yym685 + yym700 := z.EncBinary() + _ = yym700 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq682[1] { - yym687 := z.EncBinary() - _ = yym687 + if yyq697[1] { + yym702 := z.EncBinary() + _ = yym702 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -5974,22 +6097,22 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq682[1] { + if yyq697[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym688 := z.EncBinary() - _ = yym688 + yym703 := z.EncBinary() + _ = yym703 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym690 := z.EncBinary() - _ = yym690 + yym705 := z.EncBinary() + _ = yym705 if false { } else { r.EncodeInt(int64(x.Port)) @@ -5998,17 +6121,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym691 := z.EncBinary() - _ = yym691 + yym706 := z.EncBinary() + _ = yym706 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym693 := z.EncBinary() - _ = yym693 + yym708 := z.EncBinary() + _ = yym708 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -6017,17 +6140,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym694 := z.EncBinary() - _ = yym694 + yym709 := z.EncBinary() + _ = yym709 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym696 := z.EncBinary() - _ = yym696 + yym711 := z.EncBinary() + _ = yym711 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.AlgorithmProvider)) @@ -6036,17 +6159,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("algorithmProvider")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym697 := z.EncBinary() - _ = yym697 + yym712 := z.EncBinary() + _ = yym712 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.AlgorithmProvider)) } } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym699 := z.EncBinary() - _ = yym699 + yym714 := z.EncBinary() + _ = yym714 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PolicyConfigFile)) @@ -6055,17 +6178,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("policyConfigFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym700 := z.EncBinary() - _ = yym700 + yym715 := z.EncBinary() + _ = yym715 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PolicyConfigFile)) } } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym702 := z.EncBinary() - _ = yym702 + yym717 := z.EncBinary() + _ = yym717 if false { } else { r.EncodeBool(bool(x.EnableProfiling)) @@ -6074,17 +6197,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableProfiling")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym703 := z.EncBinary() - _ = yym703 + yym718 := z.EncBinary() + _ = yym718 if false { } else { r.EncodeBool(bool(x.EnableProfiling)) } } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym705 := z.EncBinary() - _ = yym705 + yym720 := z.EncBinary() + _ = yym720 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) @@ -6093,17 +6216,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("contentType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym706 := z.EncBinary() - _ = yym706 + yym721 := z.EncBinary() + _ = yym721 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) } } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym708 := z.EncBinary() - _ = yym708 + yym723 := z.EncBinary() + _ = yym723 if false { } else { r.EncodeFloat32(float32(x.KubeAPIQPS)) @@ -6112,17 +6235,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym709 := z.EncBinary() - _ = yym709 + yym724 := z.EncBinary() + _ = yym724 if false { } else { r.EncodeFloat32(float32(x.KubeAPIQPS)) } } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym711 := z.EncBinary() - _ = yym711 + yym726 := z.EncBinary() + _ = yym726 if false { } else { r.EncodeInt(int64(x.KubeAPIBurst)) @@ -6131,17 +6254,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym712 := z.EncBinary() - _ = yym712 + yym727 := z.EncBinary() + _ = yym727 if false { } else { r.EncodeInt(int64(x.KubeAPIBurst)) } } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym714 := z.EncBinary() - _ = yym714 + yym729 := z.EncBinary() + _ = yym729 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SchedulerName)) @@ -6150,17 +6273,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("schedulerName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym715 := z.EncBinary() - _ = yym715 + yym730 := z.EncBinary() + _ = yym730 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SchedulerName)) } } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym717 := z.EncBinary() - _ = yym717 + yym732 := z.EncBinary() + _ = yym732 if false { } else { r.EncodeInt(int64(x.HardPodAffinitySymmetricWeight)) @@ -6169,17 +6292,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hardPodAffinitySymmetricWeight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym718 := z.EncBinary() - _ = yym718 + yym733 := z.EncBinary() + _ = yym733 if false { } else { r.EncodeInt(int64(x.HardPodAffinitySymmetricWeight)) } } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym720 := z.EncBinary() - _ = yym720 + yym735 := z.EncBinary() + _ = yym735 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FailureDomains)) @@ -6188,25 +6311,25 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failureDomains")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym721 := z.EncBinary() - _ = yym721 + yym736 := z.EncBinary() + _ = yym736 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FailureDomains)) } } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy723 := &x.LeaderElection - yy723.CodecEncodeSelf(e) + yy738 := &x.LeaderElection + yy738.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("leaderElection")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy724 := &x.LeaderElection - yy724.CodecEncodeSelf(e) + yy739 := &x.LeaderElection + yy739.CodecEncodeSelf(e) } - if yyr682 || yy2arr682 { + if yyr697 || yy2arr697 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6219,25 +6342,25 @@ func (x *KubeSchedulerConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym725 := z.DecBinary() - _ = yym725 + yym740 := z.DecBinary() + _ = yym740 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct726 := r.ContainerType() - if yyct726 == codecSelferValueTypeMap1234 { - yyl726 := r.ReadMapStart() - if yyl726 == 0 { + yyct741 := r.ContainerType() + if yyct741 == codecSelferValueTypeMap1234 { + yyl741 := r.ReadMapStart() + if yyl741 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl726, d) + x.codecDecodeSelfFromMap(yyl741, d) } - } else if yyct726 == codecSelferValueTypeArray1234 { - yyl726 := r.ReadArrayStart() - if yyl726 == 0 { + } else if yyct741 == codecSelferValueTypeArray1234 { + yyl741 := r.ReadArrayStart() + if yyl741 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl726, d) + x.codecDecodeSelfFromArray(yyl741, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6249,12 +6372,12 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys727Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys727Slc - var yyhl727 bool = l >= 0 - for yyj727 := 0; ; yyj727++ { - if yyhl727 { - if yyj727 >= l { + var yys742Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys742Slc + var yyhl742 bool = l >= 0 + for yyj742 := 0; ; yyj742++ { + if yyhl742 { + if yyj742 >= l { break } } else { @@ -6263,10 +6386,10 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys727Slc = r.DecodeBytes(yys727Slc, true, true) - yys727 := string(yys727Slc) + yys742Slc = r.DecodeBytes(yys742Slc, true, true) + yys742 := string(yys742Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys727 { + switch yys742 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6349,13 +6472,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978. if r.TryDecodeAsNil() { x.LeaderElection = LeaderElectionConfiguration{} } else { - yyv741 := &x.LeaderElection - yyv741.CodecDecodeSelf(d) + yyv756 := &x.LeaderElection + yyv756.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys727) - } // end switch yys727 - } // end for yyj727 + z.DecStructFieldNotFound(-1, yys742) + } // end switch yys742 + } // end for yyj742 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6363,16 +6486,16 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj742 int - var yyb742 bool - var yyhl742 bool = l >= 0 - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + var yyj757 int + var yyb757 bool + var yyhl757 bool = l >= 0 + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6382,13 +6505,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6398,13 +6521,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.APIVersion = string(r.DecodeString()) } - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6414,13 +6537,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Port = int32(r.DecodeInt(32)) } - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6430,13 +6553,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Address = string(r.DecodeString()) } - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6446,13 +6569,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.AlgorithmProvider = string(r.DecodeString()) } - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6462,13 +6585,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.PolicyConfigFile = string(r.DecodeString()) } - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6478,13 +6601,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.EnableProfiling = bool(r.DecodeBool()) } - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6494,13 +6617,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.ContentType = string(r.DecodeString()) } - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6510,13 +6633,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.KubeAPIQPS = float32(r.DecodeFloat(true)) } - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6526,13 +6649,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.KubeAPIBurst = int32(r.DecodeInt(32)) } - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6542,13 +6665,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.SchedulerName = string(r.DecodeString()) } - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6558,13 +6681,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.HardPodAffinitySymmetricWeight = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6574,13 +6697,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.FailureDomains = string(r.DecodeString()) } - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6588,21 +6711,21 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.LeaderElection = LeaderElectionConfiguration{} } else { - yyv756 := &x.LeaderElection - yyv756.CodecDecodeSelf(d) + yyv771 := &x.LeaderElection + yyv771.CodecDecodeSelf(d) } for { - yyj742++ - if yyhl742 { - yyb742 = yyj742 > l + yyj757++ + if yyhl757 { + yyb757 = yyj757 > l } else { - yyb742 = r.CheckBreak() + yyb757 = r.CheckBreak() } - if yyb742 { + if yyb757 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj742-1, "") + z.DecStructFieldNotFound(yyj757-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6614,33 +6737,33 @@ func (x *LeaderElectionConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym757 := z.EncBinary() - _ = yym757 + yym772 := z.EncBinary() + _ = yym772 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep758 := !z.EncBinary() - yy2arr758 := z.EncBasicHandle().StructToArray - var yyq758 [4]bool - _, _, _ = yysep758, yyq758, yy2arr758 - const yyr758 bool = false - var yynn758 int - if yyr758 || yy2arr758 { + yysep773 := !z.EncBinary() + yy2arr773 := z.EncBasicHandle().StructToArray + var yyq773 [4]bool + _, _, _ = yysep773, yyq773, yy2arr773 + const yyr773 bool = false + var yynn773 int + if yyr773 || yy2arr773 { r.EncodeArrayStart(4) } else { - yynn758 = 4 - for _, b := range yyq758 { + yynn773 = 4 + for _, b := range yyq773 { if b { - yynn758++ + yynn773++ } } - r.EncodeMapStart(yynn758) - yynn758 = 0 + r.EncodeMapStart(yynn773) + yynn773 = 0 } - if yyr758 || yy2arr758 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym760 := z.EncBinary() - _ = yym760 + yym775 := z.EncBinary() + _ = yym775 if false { } else { r.EncodeBool(bool(x.LeaderElect)) @@ -6649,95 +6772,95 @@ func (x *LeaderElectionConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("leaderElect")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym761 := z.EncBinary() - _ = yym761 + yym776 := z.EncBinary() + _ = yym776 if false { } else { r.EncodeBool(bool(x.LeaderElect)) } } - if yyr758 || yy2arr758 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy763 := &x.LeaseDuration - yym764 := z.EncBinary() - _ = yym764 + yy778 := &x.LeaseDuration + yym779 := z.EncBinary() + _ = yym779 if false { - } else if z.HasExtensions() && z.EncExt(yy763) { - } else if !yym764 && z.IsJSONHandle() { - z.EncJSONMarshal(yy763) + } else if z.HasExtensions() && z.EncExt(yy778) { + } else if !yym779 && z.IsJSONHandle() { + z.EncJSONMarshal(yy778) } else { - z.EncFallback(yy763) + z.EncFallback(yy778) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("leaseDuration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy765 := &x.LeaseDuration - yym766 := z.EncBinary() - _ = yym766 + yy780 := &x.LeaseDuration + yym781 := z.EncBinary() + _ = yym781 if false { - } else if z.HasExtensions() && z.EncExt(yy765) { - } else if !yym766 && z.IsJSONHandle() { - z.EncJSONMarshal(yy765) + } else if z.HasExtensions() && z.EncExt(yy780) { + } else if !yym781 && z.IsJSONHandle() { + z.EncJSONMarshal(yy780) } else { - z.EncFallback(yy765) + z.EncFallback(yy780) } } - if yyr758 || yy2arr758 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy768 := &x.RenewDeadline - yym769 := z.EncBinary() - _ = yym769 + yy783 := &x.RenewDeadline + yym784 := z.EncBinary() + _ = yym784 if false { - } else if z.HasExtensions() && z.EncExt(yy768) { - } else if !yym769 && z.IsJSONHandle() { - z.EncJSONMarshal(yy768) + } else if z.HasExtensions() && z.EncExt(yy783) { + } else if !yym784 && z.IsJSONHandle() { + z.EncJSONMarshal(yy783) } else { - z.EncFallback(yy768) + z.EncFallback(yy783) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("renewDeadline")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy770 := &x.RenewDeadline - yym771 := z.EncBinary() - _ = yym771 + yy785 := &x.RenewDeadline + yym786 := z.EncBinary() + _ = yym786 if false { - } else if z.HasExtensions() && z.EncExt(yy770) { - } else if !yym771 && z.IsJSONHandle() { - z.EncJSONMarshal(yy770) + } else if z.HasExtensions() && z.EncExt(yy785) { + } else if !yym786 && z.IsJSONHandle() { + z.EncJSONMarshal(yy785) } else { - z.EncFallback(yy770) + z.EncFallback(yy785) } } - if yyr758 || yy2arr758 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy773 := &x.RetryPeriod - yym774 := z.EncBinary() - _ = yym774 + yy788 := &x.RetryPeriod + yym789 := z.EncBinary() + _ = yym789 if false { - } else if z.HasExtensions() && z.EncExt(yy773) { - } else if !yym774 && z.IsJSONHandle() { - z.EncJSONMarshal(yy773) + } else if z.HasExtensions() && z.EncExt(yy788) { + } else if !yym789 && z.IsJSONHandle() { + z.EncJSONMarshal(yy788) } else { - z.EncFallback(yy773) + z.EncFallback(yy788) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("retryPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy775 := &x.RetryPeriod - yym776 := z.EncBinary() - _ = yym776 + yy790 := &x.RetryPeriod + yym791 := z.EncBinary() + _ = yym791 if false { - } else if z.HasExtensions() && z.EncExt(yy775) { - } else if !yym776 && z.IsJSONHandle() { - z.EncJSONMarshal(yy775) + } else if z.HasExtensions() && z.EncExt(yy790) { + } else if !yym791 && z.IsJSONHandle() { + z.EncJSONMarshal(yy790) } else { - z.EncFallback(yy775) + z.EncFallback(yy790) } } - if yyr758 || yy2arr758 { + if yyr773 || yy2arr773 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6750,25 +6873,25 @@ func (x *LeaderElectionConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym777 := z.DecBinary() - _ = yym777 + yym792 := z.DecBinary() + _ = yym792 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct778 := r.ContainerType() - if yyct778 == codecSelferValueTypeMap1234 { - yyl778 := r.ReadMapStart() - if yyl778 == 0 { + yyct793 := r.ContainerType() + if yyct793 == codecSelferValueTypeMap1234 { + yyl793 := r.ReadMapStart() + if yyl793 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl778, d) + x.codecDecodeSelfFromMap(yyl793, d) } - } else if yyct778 == codecSelferValueTypeArray1234 { - yyl778 := r.ReadArrayStart() - if yyl778 == 0 { + } else if yyct793 == codecSelferValueTypeArray1234 { + yyl793 := r.ReadArrayStart() + if yyl793 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl778, d) + x.codecDecodeSelfFromArray(yyl793, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6780,12 +6903,12 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys779Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys779Slc - var yyhl779 bool = l >= 0 - for yyj779 := 0; ; yyj779++ { - if yyhl779 { - if yyj779 >= l { + var yys794Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys794Slc + var yyhl794 bool = l >= 0 + for yyj794 := 0; ; yyj794++ { + if yyhl794 { + if yyj794 >= l { break } } else { @@ -6794,10 +6917,10 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys779Slc = r.DecodeBytes(yys779Slc, true, true) - yys779 := string(yys779Slc) + yys794Slc = r.DecodeBytes(yys794Slc, true, true) + yys794 := string(yys794Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys779 { + switch yys794 { case "leaderElect": if r.TryDecodeAsNil() { x.LeaderElect = false @@ -6808,51 +6931,51 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromMap(l int, d *codec1978 if r.TryDecodeAsNil() { x.LeaseDuration = pkg1_unversioned.Duration{} } else { - yyv781 := &x.LeaseDuration - yym782 := z.DecBinary() - _ = yym782 + yyv796 := &x.LeaseDuration + yym797 := z.DecBinary() + _ = yym797 if false { - } else if z.HasExtensions() && z.DecExt(yyv781) { - } else if !yym782 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv781) + } else if z.HasExtensions() && z.DecExt(yyv796) { + } else if !yym797 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv796) } else { - z.DecFallback(yyv781, false) + z.DecFallback(yyv796, false) } } case "renewDeadline": if r.TryDecodeAsNil() { x.RenewDeadline = pkg1_unversioned.Duration{} } else { - yyv783 := &x.RenewDeadline - yym784 := z.DecBinary() - _ = yym784 + yyv798 := &x.RenewDeadline + yym799 := z.DecBinary() + _ = yym799 if false { - } else if z.HasExtensions() && z.DecExt(yyv783) { - } else if !yym784 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv783) + } else if z.HasExtensions() && z.DecExt(yyv798) { + } else if !yym799 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv798) } else { - z.DecFallback(yyv783, false) + z.DecFallback(yyv798, false) } } case "retryPeriod": if r.TryDecodeAsNil() { x.RetryPeriod = pkg1_unversioned.Duration{} } else { - yyv785 := &x.RetryPeriod - yym786 := z.DecBinary() - _ = yym786 + yyv800 := &x.RetryPeriod + yym801 := z.DecBinary() + _ = yym801 if false { - } else if z.HasExtensions() && z.DecExt(yyv785) { - } else if !yym786 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv785) + } else if z.HasExtensions() && z.DecExt(yyv800) { + } else if !yym801 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv800) } else { - z.DecFallback(yyv785, false) + z.DecFallback(yyv800, false) } } default: - z.DecStructFieldNotFound(-1, yys779) - } // end switch yys779 - } // end for yyj779 + z.DecStructFieldNotFound(-1, yys794) + } // end switch yys794 + } // end for yyj794 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6860,16 +6983,16 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj787 int - var yyb787 bool - var yyhl787 bool = l >= 0 - yyj787++ - if yyhl787 { - yyb787 = yyj787 > l + var yyj802 int + var yyb802 bool + var yyhl802 bool = l >= 0 + yyj802++ + if yyhl802 { + yyb802 = yyj802 > l } else { - yyb787 = r.CheckBreak() + yyb802 = r.CheckBreak() } - if yyb787 { + if yyb802 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6879,13 +7002,13 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 } else { x.LeaderElect = bool(r.DecodeBool()) } - yyj787++ - if yyhl787 { - yyb787 = yyj787 > l + yyj802++ + if yyhl802 { + yyb802 = yyj802 > l } else { - yyb787 = r.CheckBreak() + yyb802 = r.CheckBreak() } - if yyb787 { + if yyb802 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6893,24 +7016,24 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.LeaseDuration = pkg1_unversioned.Duration{} } else { - yyv789 := &x.LeaseDuration - yym790 := z.DecBinary() - _ = yym790 + yyv804 := &x.LeaseDuration + yym805 := z.DecBinary() + _ = yym805 if false { - } else if z.HasExtensions() && z.DecExt(yyv789) { - } else if !yym790 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv789) + } else if z.HasExtensions() && z.DecExt(yyv804) { + } else if !yym805 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv804) } else { - z.DecFallback(yyv789, false) + z.DecFallback(yyv804, false) } } - yyj787++ - if yyhl787 { - yyb787 = yyj787 > l + yyj802++ + if yyhl802 { + yyb802 = yyj802 > l } else { - yyb787 = r.CheckBreak() + yyb802 = r.CheckBreak() } - if yyb787 { + if yyb802 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6918,24 +7041,24 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.RenewDeadline = pkg1_unversioned.Duration{} } else { - yyv791 := &x.RenewDeadline - yym792 := z.DecBinary() - _ = yym792 + yyv806 := &x.RenewDeadline + yym807 := z.DecBinary() + _ = yym807 if false { - } else if z.HasExtensions() && z.DecExt(yyv791) { - } else if !yym792 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv791) + } else if z.HasExtensions() && z.DecExt(yyv806) { + } else if !yym807 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv806) } else { - z.DecFallback(yyv791, false) + z.DecFallback(yyv806, false) } } - yyj787++ - if yyhl787 { - yyb787 = yyj787 > l + yyj802++ + if yyhl802 { + yyb802 = yyj802 > l } else { - yyb787 = r.CheckBreak() + yyb802 = r.CheckBreak() } - if yyb787 { + if yyb802 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6943,29 +7066,29 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.RetryPeriod = pkg1_unversioned.Duration{} } else { - yyv793 := &x.RetryPeriod - yym794 := z.DecBinary() - _ = yym794 + yyv808 := &x.RetryPeriod + yym809 := z.DecBinary() + _ = yym809 if false { - } else if z.HasExtensions() && z.DecExt(yyv793) { - } else if !yym794 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv793) + } else if z.HasExtensions() && z.DecExt(yyv808) { + } else if !yym809 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv808) } else { - z.DecFallback(yyv793, false) + z.DecFallback(yyv808, false) } } for { - yyj787++ - if yyhl787 { - yyb787 = yyj787 > l + yyj802++ + if yyhl802 { + yyb802 = yyj802 > l } else { - yyb787 = r.CheckBreak() + yyb802 = r.CheckBreak() } - if yyb787 { + if yyb802 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj787-1, "") + z.DecStructFieldNotFound(yyj802-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6977,36 +7100,36 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode if x == nil { r.EncodeNil() } else { - yym795 := z.EncBinary() - _ = yym795 + yym810 := z.EncBinary() + _ = yym810 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep796 := !z.EncBinary() - yy2arr796 := z.EncBasicHandle().StructToArray - var yyq796 [54]bool - _, _, _ = yysep796, yyq796, yy2arr796 - const yyr796 bool = false - yyq796[0] = x.Kind != "" - yyq796[1] = x.APIVersion != "" - var yynn796 int - if yyr796 || yy2arr796 { + yysep811 := !z.EncBinary() + yy2arr811 := z.EncBasicHandle().StructToArray + var yyq811 [54]bool + _, _, _ = yysep811, yyq811, yy2arr811 + const yyr811 bool = false + yyq811[0] = x.Kind != "" + yyq811[1] = x.APIVersion != "" + var yynn811 int + if yyr811 || yy2arr811 { r.EncodeArrayStart(54) } else { - yynn796 = 52 - for _, b := range yyq796 { + yynn811 = 52 + for _, b := range yyq811 { if b { - yynn796++ + yynn811++ } } - r.EncodeMapStart(yynn796) - yynn796 = 0 + r.EncodeMapStart(yynn811) + yynn811 = 0 } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq796[0] { - yym798 := z.EncBinary() - _ = yym798 + if yyq811[0] { + yym813 := z.EncBinary() + _ = yym813 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7015,23 +7138,23 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq796[0] { + if yyq811[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym799 := z.EncBinary() - _ = yym799 + yym814 := z.EncBinary() + _ = yym814 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq796[1] { - yym801 := z.EncBinary() - _ = yym801 + if yyq811[1] { + yym816 := z.EncBinary() + _ = yym816 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7040,22 +7163,22 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq796[1] { + if yyq811[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym802 := z.EncBinary() - _ = yym802 + yym817 := z.EncBinary() + _ = yym817 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym804 := z.EncBinary() - _ = yym804 + yym819 := z.EncBinary() + _ = yym819 if false { } else { r.EncodeInt(int64(x.Port)) @@ -7064,17 +7187,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym805 := z.EncBinary() - _ = yym805 + yym820 := z.EncBinary() + _ = yym820 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym807 := z.EncBinary() - _ = yym807 + yym822 := z.EncBinary() + _ = yym822 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -7083,17 +7206,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym808 := z.EncBinary() - _ = yym808 + yym823 := z.EncBinary() + _ = yym823 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym810 := z.EncBinary() - _ = yym810 + yym825 := z.EncBinary() + _ = yym825 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) @@ -7102,17 +7225,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cloudProvider")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym811 := z.EncBinary() - _ = yym811 + yym826 := z.EncBinary() + _ = yym826 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym813 := z.EncBinary() - _ = yym813 + yym828 := z.EncBinary() + _ = yym828 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) @@ -7121,17 +7244,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cloudConfigFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym814 := z.EncBinary() - _ = yym814 + yym829 := z.EncBinary() + _ = yym829 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym816 := z.EncBinary() - _ = yym816 + yym831 := z.EncBinary() + _ = yym831 if false { } else { r.EncodeInt(int64(x.ConcurrentEndpointSyncs)) @@ -7140,17 +7263,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentEndpointSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym817 := z.EncBinary() - _ = yym817 + yym832 := z.EncBinary() + _ = yym832 if false { } else { r.EncodeInt(int64(x.ConcurrentEndpointSyncs)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym819 := z.EncBinary() - _ = yym819 + yym834 := z.EncBinary() + _ = yym834 if false { } else { r.EncodeInt(int64(x.ConcurrentRSSyncs)) @@ -7159,17 +7282,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentRSSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym820 := z.EncBinary() - _ = yym820 + yym835 := z.EncBinary() + _ = yym835 if false { } else { r.EncodeInt(int64(x.ConcurrentRSSyncs)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym822 := z.EncBinary() - _ = yym822 + yym837 := z.EncBinary() + _ = yym837 if false { } else { r.EncodeInt(int64(x.ConcurrentRCSyncs)) @@ -7178,17 +7301,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentRCSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym823 := z.EncBinary() - _ = yym823 + yym838 := z.EncBinary() + _ = yym838 if false { } else { r.EncodeInt(int64(x.ConcurrentRCSyncs)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym825 := z.EncBinary() - _ = yym825 + yym840 := z.EncBinary() + _ = yym840 if false { } else { r.EncodeInt(int64(x.ConcurrentServiceSyncs)) @@ -7197,17 +7320,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentServiceSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym826 := z.EncBinary() - _ = yym826 + yym841 := z.EncBinary() + _ = yym841 if false { } else { r.EncodeInt(int64(x.ConcurrentServiceSyncs)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym828 := z.EncBinary() - _ = yym828 + yym843 := z.EncBinary() + _ = yym843 if false { } else { r.EncodeInt(int64(x.ConcurrentResourceQuotaSyncs)) @@ -7216,17 +7339,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentResourceQuotaSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym829 := z.EncBinary() - _ = yym829 + yym844 := z.EncBinary() + _ = yym844 if false { } else { r.EncodeInt(int64(x.ConcurrentResourceQuotaSyncs)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym831 := z.EncBinary() - _ = yym831 + yym846 := z.EncBinary() + _ = yym846 if false { } else { r.EncodeInt(int64(x.ConcurrentDeploymentSyncs)) @@ -7235,17 +7358,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentDeploymentSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym832 := z.EncBinary() - _ = yym832 + yym847 := z.EncBinary() + _ = yym847 if false { } else { r.EncodeInt(int64(x.ConcurrentDeploymentSyncs)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym834 := z.EncBinary() - _ = yym834 + yym849 := z.EncBinary() + _ = yym849 if false { } else { r.EncodeInt(int64(x.ConcurrentDaemonSetSyncs)) @@ -7254,17 +7377,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentDaemonSetSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym835 := z.EncBinary() - _ = yym835 + yym850 := z.EncBinary() + _ = yym850 if false { } else { r.EncodeInt(int64(x.ConcurrentDaemonSetSyncs)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym837 := z.EncBinary() - _ = yym837 + yym852 := z.EncBinary() + _ = yym852 if false { } else { r.EncodeInt(int64(x.ConcurrentJobSyncs)) @@ -7273,17 +7396,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentJobSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym838 := z.EncBinary() - _ = yym838 + yym853 := z.EncBinary() + _ = yym853 if false { } else { r.EncodeInt(int64(x.ConcurrentJobSyncs)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym840 := z.EncBinary() - _ = yym840 + yym855 := z.EncBinary() + _ = yym855 if false { } else { r.EncodeInt(int64(x.ConcurrentNamespaceSyncs)) @@ -7292,17 +7415,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentNamespaceSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym841 := z.EncBinary() - _ = yym841 + yym856 := z.EncBinary() + _ = yym856 if false { } else { r.EncodeInt(int64(x.ConcurrentNamespaceSyncs)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym843 := z.EncBinary() - _ = yym843 + yym858 := z.EncBinary() + _ = yym858 if false { } else { r.EncodeInt(int64(x.ConcurrentSATokenSyncs)) @@ -7311,17 +7434,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentSATokenSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym844 := z.EncBinary() - _ = yym844 + yym859 := z.EncBinary() + _ = yym859 if false { } else { r.EncodeInt(int64(x.ConcurrentSATokenSyncs)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym846 := z.EncBinary() - _ = yym846 + yym861 := z.EncBinary() + _ = yym861 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForRC)) @@ -7330,17 +7453,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lookupCacheSizeForRC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym847 := z.EncBinary() - _ = yym847 + yym862 := z.EncBinary() + _ = yym862 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForRC)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym849 := z.EncBinary() - _ = yym849 + yym864 := z.EncBinary() + _ = yym864 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForRS)) @@ -7349,17 +7472,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lookupCacheSizeForRS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym850 := z.EncBinary() - _ = yym850 + yym865 := z.EncBinary() + _ = yym865 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForRS)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym852 := z.EncBinary() - _ = yym852 + yym867 := z.EncBinary() + _ = yym867 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForDaemonSet)) @@ -7368,97 +7491,16 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lookupCacheSizeForDaemonSet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym853 := z.EncBinary() - _ = yym853 + yym868 := z.EncBinary() + _ = yym868 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForDaemonSet)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy855 := &x.ServiceSyncPeriod - yym856 := z.EncBinary() - _ = yym856 - if false { - } else if z.HasExtensions() && z.EncExt(yy855) { - } else if !yym856 && z.IsJSONHandle() { - z.EncJSONMarshal(yy855) - } else { - z.EncFallback(yy855) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("serviceSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy857 := &x.ServiceSyncPeriod - yym858 := z.EncBinary() - _ = yym858 - if false { - } else if z.HasExtensions() && z.EncExt(yy857) { - } else if !yym858 && z.IsJSONHandle() { - z.EncJSONMarshal(yy857) - } else { - z.EncFallback(yy857) - } - } - if yyr796 || yy2arr796 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy860 := &x.NodeSyncPeriod - yym861 := z.EncBinary() - _ = yym861 - if false { - } else if z.HasExtensions() && z.EncExt(yy860) { - } else if !yym861 && z.IsJSONHandle() { - z.EncJSONMarshal(yy860) - } else { - z.EncFallback(yy860) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy862 := &x.NodeSyncPeriod - yym863 := z.EncBinary() - _ = yym863 - if false { - } else if z.HasExtensions() && z.EncExt(yy862) { - } else if !yym863 && z.IsJSONHandle() { - z.EncJSONMarshal(yy862) - } else { - z.EncFallback(yy862) - } - } - if yyr796 || yy2arr796 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy865 := &x.ResourceQuotaSyncPeriod - yym866 := z.EncBinary() - _ = yym866 - if false { - } else if z.HasExtensions() && z.EncExt(yy865) { - } else if !yym866 && z.IsJSONHandle() { - z.EncJSONMarshal(yy865) - } else { - z.EncFallback(yy865) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resourceQuotaSyncPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy867 := &x.ResourceQuotaSyncPeriod - yym868 := z.EncBinary() - _ = yym868 - if false { - } else if z.HasExtensions() && z.EncExt(yy867) { - } else if !yym868 && z.IsJSONHandle() { - z.EncJSONMarshal(yy867) - } else { - z.EncFallback(yy867) - } - } - if yyr796 || yy2arr796 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy870 := &x.NamespaceSyncPeriod + yy870 := &x.ServiceSyncPeriod yym871 := z.EncBinary() _ = yym871 if false { @@ -7470,9 +7512,9 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("namespaceSyncPeriod")) + r.EncodeString(codecSelferC_UTF81234, string("serviceSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy872 := &x.NamespaceSyncPeriod + yy872 := &x.ServiceSyncPeriod yym873 := z.EncBinary() _ = yym873 if false { @@ -7483,9 +7525,9 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncFallback(yy872) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy875 := &x.PVClaimBinderSyncPeriod + yy875 := &x.NodeSyncPeriod yym876 := z.EncBinary() _ = yym876 if false { @@ -7497,9 +7539,9 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("pvClaimBinderSyncPeriod")) + r.EncodeString(codecSelferC_UTF81234, string("nodeSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy877 := &x.PVClaimBinderSyncPeriod + yy877 := &x.NodeSyncPeriod yym878 := z.EncBinary() _ = yym878 if false { @@ -7510,9 +7552,9 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncFallback(yy877) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy880 := &x.MinResyncPeriod + yy880 := &x.ResourceQuotaSyncPeriod yym881 := z.EncBinary() _ = yym881 if false { @@ -7524,9 +7566,9 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("minResyncPeriod")) + r.EncodeString(codecSelferC_UTF81234, string("resourceQuotaSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy882 := &x.MinResyncPeriod + yy882 := &x.ResourceQuotaSyncPeriod yym883 := z.EncBinary() _ = yym883 if false { @@ -7537,42 +7579,36 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncFallback(yy882) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym885 := z.EncBinary() - _ = yym885 - if false { - } else { - r.EncodeInt(int64(x.TerminatedPodGCThreshold)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("terminatedPodGCThreshold")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy885 := &x.NamespaceSyncPeriod yym886 := z.EncBinary() _ = yym886 if false { + } else if z.HasExtensions() && z.EncExt(yy885) { + } else if !yym886 && z.IsJSONHandle() { + z.EncJSONMarshal(yy885) } else { - r.EncodeInt(int64(x.TerminatedPodGCThreshold)) - } - } - if yyr796 || yy2arr796 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy888 := &x.HorizontalPodAutoscalerSyncPeriod - yym889 := z.EncBinary() - _ = yym889 - if false { - } else if z.HasExtensions() && z.EncExt(yy888) { - } else if !yym889 && z.IsJSONHandle() { - z.EncJSONMarshal(yy888) - } else { - z.EncFallback(yy888) + z.EncFallback(yy885) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("horizontalPodAutoscalerSyncPeriod")) + r.EncodeString(codecSelferC_UTF81234, string("namespaceSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy890 := &x.HorizontalPodAutoscalerSyncPeriod + yy887 := &x.NamespaceSyncPeriod + yym888 := z.EncBinary() + _ = yym888 + if false { + } else if z.HasExtensions() && z.EncExt(yy887) { + } else if !yym888 && z.IsJSONHandle() { + z.EncJSONMarshal(yy887) + } else { + z.EncFallback(yy887) + } + } + if yyr811 || yy2arr811 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy890 := &x.PVClaimBinderSyncPeriod yym891 := z.EncBinary() _ = yym891 if false { @@ -7582,24 +7618,24 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode } else { z.EncFallback(yy890) } - } - if yyr796 || yy2arr796 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy893 := &x.DeploymentControllerSyncPeriod - yym894 := z.EncBinary() - _ = yym894 - if false { - } else if z.HasExtensions() && z.EncExt(yy893) { - } else if !yym894 && z.IsJSONHandle() { - z.EncJSONMarshal(yy893) - } else { - z.EncFallback(yy893) - } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("deploymentControllerSyncPeriod")) + r.EncodeString(codecSelferC_UTF81234, string("pvClaimBinderSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy895 := &x.DeploymentControllerSyncPeriod + yy892 := &x.PVClaimBinderSyncPeriod + yym893 := z.EncBinary() + _ = yym893 + if false { + } else if z.HasExtensions() && z.EncExt(yy892) { + } else if !yym893 && z.IsJSONHandle() { + z.EncJSONMarshal(yy892) + } else { + z.EncFallback(yy892) + } + } + if yyr811 || yy2arr811 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy895 := &x.MinResyncPeriod yym896 := z.EncBinary() _ = yym896 if false { @@ -7609,38 +7645,125 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode } else { z.EncFallback(yy895) } - } - if yyr796 || yy2arr796 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy898 := &x.PodEvictionTimeout - yym899 := z.EncBinary() - _ = yym899 + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("minResyncPeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy897 := &x.MinResyncPeriod + yym898 := z.EncBinary() + _ = yym898 if false { - } else if z.HasExtensions() && z.EncExt(yy898) { - } else if !yym899 && z.IsJSONHandle() { - z.EncJSONMarshal(yy898) + } else if z.HasExtensions() && z.EncExt(yy897) { + } else if !yym898 && z.IsJSONHandle() { + z.EncJSONMarshal(yy897) } else { - z.EncFallback(yy898) + z.EncFallback(yy897) + } + } + if yyr811 || yy2arr811 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym900 := z.EncBinary() + _ = yym900 + if false { + } else { + r.EncodeInt(int64(x.TerminatedPodGCThreshold)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("terminatedPodGCThreshold")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym901 := z.EncBinary() + _ = yym901 + if false { + } else { + r.EncodeInt(int64(x.TerminatedPodGCThreshold)) + } + } + if yyr811 || yy2arr811 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy903 := &x.HorizontalPodAutoscalerSyncPeriod + yym904 := z.EncBinary() + _ = yym904 + if false { + } else if z.HasExtensions() && z.EncExt(yy903) { + } else if !yym904 && z.IsJSONHandle() { + z.EncJSONMarshal(yy903) + } else { + z.EncFallback(yy903) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("horizontalPodAutoscalerSyncPeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy905 := &x.HorizontalPodAutoscalerSyncPeriod + yym906 := z.EncBinary() + _ = yym906 + if false { + } else if z.HasExtensions() && z.EncExt(yy905) { + } else if !yym906 && z.IsJSONHandle() { + z.EncJSONMarshal(yy905) + } else { + z.EncFallback(yy905) + } + } + if yyr811 || yy2arr811 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy908 := &x.DeploymentControllerSyncPeriod + yym909 := z.EncBinary() + _ = yym909 + if false { + } else if z.HasExtensions() && z.EncExt(yy908) { + } else if !yym909 && z.IsJSONHandle() { + z.EncJSONMarshal(yy908) + } else { + z.EncFallback(yy908) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("deploymentControllerSyncPeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy910 := &x.DeploymentControllerSyncPeriod + yym911 := z.EncBinary() + _ = yym911 + if false { + } else if z.HasExtensions() && z.EncExt(yy910) { + } else if !yym911 && z.IsJSONHandle() { + z.EncJSONMarshal(yy910) + } else { + z.EncFallback(yy910) + } + } + if yyr811 || yy2arr811 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy913 := &x.PodEvictionTimeout + yym914 := z.EncBinary() + _ = yym914 + if false { + } else if z.HasExtensions() && z.EncExt(yy913) { + } else if !yym914 && z.IsJSONHandle() { + z.EncJSONMarshal(yy913) + } else { + z.EncFallback(yy913) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podEvictionTimeout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy900 := &x.PodEvictionTimeout - yym901 := z.EncBinary() - _ = yym901 + yy915 := &x.PodEvictionTimeout + yym916 := z.EncBinary() + _ = yym916 if false { - } else if z.HasExtensions() && z.EncExt(yy900) { - } else if !yym901 && z.IsJSONHandle() { - z.EncJSONMarshal(yy900) + } else if z.HasExtensions() && z.EncExt(yy915) { + } else if !yym916 && z.IsJSONHandle() { + z.EncJSONMarshal(yy915) } else { - z.EncFallback(yy900) + z.EncFallback(yy915) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym903 := z.EncBinary() - _ = yym903 + yym918 := z.EncBinary() + _ = yym918 if false { } else { r.EncodeFloat32(float32(x.DeletingPodsQps)) @@ -7649,17 +7772,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deletingPodsQps")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym904 := z.EncBinary() - _ = yym904 + yym919 := z.EncBinary() + _ = yym919 if false { } else { r.EncodeFloat32(float32(x.DeletingPodsQps)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym906 := z.EncBinary() - _ = yym906 + yym921 := z.EncBinary() + _ = yym921 if false { } else { r.EncodeInt(int64(x.DeletingPodsBurst)) @@ -7668,103 +7791,16 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deletingPodsBurst")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym907 := z.EncBinary() - _ = yym907 + yym922 := z.EncBinary() + _ = yym922 if false { } else { r.EncodeInt(int64(x.DeletingPodsBurst)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy909 := &x.NodeMonitorGracePeriod - yym910 := z.EncBinary() - _ = yym910 - if false { - } else if z.HasExtensions() && z.EncExt(yy909) { - } else if !yym910 && z.IsJSONHandle() { - z.EncJSONMarshal(yy909) - } else { - z.EncFallback(yy909) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeMonitorGracePeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy911 := &x.NodeMonitorGracePeriod - yym912 := z.EncBinary() - _ = yym912 - if false { - } else if z.HasExtensions() && z.EncExt(yy911) { - } else if !yym912 && z.IsJSONHandle() { - z.EncJSONMarshal(yy911) - } else { - z.EncFallback(yy911) - } - } - if yyr796 || yy2arr796 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym914 := z.EncBinary() - _ = yym914 - if false { - } else { - r.EncodeInt(int64(x.RegisterRetryCount)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("registerRetryCount")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym915 := z.EncBinary() - _ = yym915 - if false { - } else { - r.EncodeInt(int64(x.RegisterRetryCount)) - } - } - if yyr796 || yy2arr796 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy917 := &x.NodeStartupGracePeriod - yym918 := z.EncBinary() - _ = yym918 - if false { - } else if z.HasExtensions() && z.EncExt(yy917) { - } else if !yym918 && z.IsJSONHandle() { - z.EncJSONMarshal(yy917) - } else { - z.EncFallback(yy917) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeStartupGracePeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy919 := &x.NodeStartupGracePeriod - yym920 := z.EncBinary() - _ = yym920 - if false { - } else if z.HasExtensions() && z.EncExt(yy919) { - } else if !yym920 && z.IsJSONHandle() { - z.EncJSONMarshal(yy919) - } else { - z.EncFallback(yy919) - } - } - if yyr796 || yy2arr796 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy922 := &x.NodeMonitorPeriod - yym923 := z.EncBinary() - _ = yym923 - if false { - } else if z.HasExtensions() && z.EncExt(yy922) { - } else if !yym923 && z.IsJSONHandle() { - z.EncJSONMarshal(yy922) - } else { - z.EncFallback(yy922) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodeMonitorPeriod")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy924 := &x.NodeMonitorPeriod + yy924 := &x.NodeMonitorGracePeriod yym925 := z.EncBinary() _ = yym925 if false { @@ -7774,12 +7810,99 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode } else { z.EncFallback(yy924) } - } - if yyr796 || yy2arr796 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nodeMonitorGracePeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy926 := &x.NodeMonitorGracePeriod yym927 := z.EncBinary() _ = yym927 if false { + } else if z.HasExtensions() && z.EncExt(yy926) { + } else if !yym927 && z.IsJSONHandle() { + z.EncJSONMarshal(yy926) + } else { + z.EncFallback(yy926) + } + } + if yyr811 || yy2arr811 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym929 := z.EncBinary() + _ = yym929 + if false { + } else { + r.EncodeInt(int64(x.RegisterRetryCount)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("registerRetryCount")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym930 := z.EncBinary() + _ = yym930 + if false { + } else { + r.EncodeInt(int64(x.RegisterRetryCount)) + } + } + if yyr811 || yy2arr811 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy932 := &x.NodeStartupGracePeriod + yym933 := z.EncBinary() + _ = yym933 + if false { + } else if z.HasExtensions() && z.EncExt(yy932) { + } else if !yym933 && z.IsJSONHandle() { + z.EncJSONMarshal(yy932) + } else { + z.EncFallback(yy932) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nodeStartupGracePeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy934 := &x.NodeStartupGracePeriod + yym935 := z.EncBinary() + _ = yym935 + if false { + } else if z.HasExtensions() && z.EncExt(yy934) { + } else if !yym935 && z.IsJSONHandle() { + z.EncJSONMarshal(yy934) + } else { + z.EncFallback(yy934) + } + } + if yyr811 || yy2arr811 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy937 := &x.NodeMonitorPeriod + yym938 := z.EncBinary() + _ = yym938 + if false { + } else if z.HasExtensions() && z.EncExt(yy937) { + } else if !yym938 && z.IsJSONHandle() { + z.EncJSONMarshal(yy937) + } else { + z.EncFallback(yy937) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nodeMonitorPeriod")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy939 := &x.NodeMonitorPeriod + yym940 := z.EncBinary() + _ = yym940 + if false { + } else if z.HasExtensions() && z.EncExt(yy939) { + } else if !yym940 && z.IsJSONHandle() { + z.EncJSONMarshal(yy939) + } else { + z.EncFallback(yy939) + } + } + if yyr811 || yy2arr811 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym942 := z.EncBinary() + _ = yym942 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountKeyFile)) } @@ -7787,17 +7910,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccountKeyFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym928 := z.EncBinary() - _ = yym928 + yym943 := z.EncBinary() + _ = yym943 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountKeyFile)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym930 := z.EncBinary() - _ = yym930 + yym945 := z.EncBinary() + _ = yym945 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningCertFile)) @@ -7806,17 +7929,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterSigningCertFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym931 := z.EncBinary() - _ = yym931 + yym946 := z.EncBinary() + _ = yym946 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningCertFile)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym933 := z.EncBinary() - _ = yym933 + yym948 := z.EncBinary() + _ = yym948 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningKeyFile)) @@ -7825,17 +7948,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterSigningKeyFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym934 := z.EncBinary() - _ = yym934 + yym949 := z.EncBinary() + _ = yym949 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningKeyFile)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym936 := z.EncBinary() - _ = yym936 + yym951 := z.EncBinary() + _ = yym951 if false { } else { r.EncodeBool(bool(x.EnableProfiling)) @@ -7844,17 +7967,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableProfiling")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym937 := z.EncBinary() - _ = yym937 + yym952 := z.EncBinary() + _ = yym952 if false { } else { r.EncodeBool(bool(x.EnableProfiling)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym939 := z.EncBinary() - _ = yym939 + yym954 := z.EncBinary() + _ = yym954 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterName)) @@ -7863,17 +7986,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym940 := z.EncBinary() - _ = yym940 + yym955 := z.EncBinary() + _ = yym955 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterName)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym942 := z.EncBinary() - _ = yym942 + yym957 := z.EncBinary() + _ = yym957 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) @@ -7882,17 +8005,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym943 := z.EncBinary() - _ = yym943 + yym958 := z.EncBinary() + _ = yym958 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym945 := z.EncBinary() - _ = yym945 + yym960 := z.EncBinary() + _ = yym960 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceCIDR)) @@ -7901,17 +8024,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym946 := z.EncBinary() - _ = yym946 + yym961 := z.EncBinary() + _ = yym961 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceCIDR)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym948 := z.EncBinary() - _ = yym948 + yym963 := z.EncBinary() + _ = yym963 if false { } else { r.EncodeInt(int64(x.NodeCIDRMaskSize)) @@ -7920,17 +8043,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeCIDRMaskSize")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym949 := z.EncBinary() - _ = yym949 + yym964 := z.EncBinary() + _ = yym964 if false { } else { r.EncodeInt(int64(x.NodeCIDRMaskSize)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym951 := z.EncBinary() - _ = yym951 + yym966 := z.EncBinary() + _ = yym966 if false { } else { r.EncodeBool(bool(x.AllocateNodeCIDRs)) @@ -7939,17 +8062,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allocateNodeCIDRs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym952 := z.EncBinary() - _ = yym952 + yym967 := z.EncBinary() + _ = yym967 if false { } else { r.EncodeBool(bool(x.AllocateNodeCIDRs)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym954 := z.EncBinary() - _ = yym954 + yym969 := z.EncBinary() + _ = yym969 if false { } else { r.EncodeBool(bool(x.ConfigureCloudRoutes)) @@ -7958,17 +8081,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configureCloudRoutes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym955 := z.EncBinary() - _ = yym955 + yym970 := z.EncBinary() + _ = yym970 if false { } else { r.EncodeBool(bool(x.ConfigureCloudRoutes)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym957 := z.EncBinary() - _ = yym957 + yym972 := z.EncBinary() + _ = yym972 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RootCAFile)) @@ -7977,17 +8100,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rootCAFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym958 := z.EncBinary() - _ = yym958 + yym973 := z.EncBinary() + _ = yym973 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RootCAFile)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym960 := z.EncBinary() - _ = yym960 + yym975 := z.EncBinary() + _ = yym975 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) @@ -7996,17 +8119,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("contentType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym961 := z.EncBinary() - _ = yym961 + yym976 := z.EncBinary() + _ = yym976 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym963 := z.EncBinary() - _ = yym963 + yym978 := z.EncBinary() + _ = yym978 if false { } else { r.EncodeFloat32(float32(x.KubeAPIQPS)) @@ -8015,17 +8138,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym964 := z.EncBinary() - _ = yym964 + yym979 := z.EncBinary() + _ = yym979 if false { } else { r.EncodeFloat32(float32(x.KubeAPIQPS)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym966 := z.EncBinary() - _ = yym966 + yym981 := z.EncBinary() + _ = yym981 if false { } else { r.EncodeInt(int64(x.KubeAPIBurst)) @@ -8034,66 +8157,66 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym967 := z.EncBinary() - _ = yym967 + yym982 := z.EncBinary() + _ = yym982 if false { } else { r.EncodeInt(int64(x.KubeAPIBurst)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy969 := &x.LeaderElection - yy969.CodecEncodeSelf(e) + yy984 := &x.LeaderElection + yy984.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("leaderElection")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy970 := &x.LeaderElection - yy970.CodecEncodeSelf(e) + yy985 := &x.LeaderElection + yy985.CodecEncodeSelf(e) } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy972 := &x.VolumeConfiguration - yy972.CodecEncodeSelf(e) + yy987 := &x.VolumeConfiguration + yy987.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeConfiguration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy973 := &x.VolumeConfiguration - yy973.CodecEncodeSelf(e) + yy988 := &x.VolumeConfiguration + yy988.CodecEncodeSelf(e) } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy975 := &x.ControllerStartInterval - yym976 := z.EncBinary() - _ = yym976 + yy990 := &x.ControllerStartInterval + yym991 := z.EncBinary() + _ = yym991 if false { - } else if z.HasExtensions() && z.EncExt(yy975) { - } else if !yym976 && z.IsJSONHandle() { - z.EncJSONMarshal(yy975) + } else if z.HasExtensions() && z.EncExt(yy990) { + } else if !yym991 && z.IsJSONHandle() { + z.EncJSONMarshal(yy990) } else { - z.EncFallback(yy975) + z.EncFallback(yy990) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("controllerStartInterval")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy977 := &x.ControllerStartInterval - yym978 := z.EncBinary() - _ = yym978 + yy992 := &x.ControllerStartInterval + yym993 := z.EncBinary() + _ = yym993 if false { - } else if z.HasExtensions() && z.EncExt(yy977) { - } else if !yym978 && z.IsJSONHandle() { - z.EncJSONMarshal(yy977) + } else if z.HasExtensions() && z.EncExt(yy992) { + } else if !yym993 && z.IsJSONHandle() { + z.EncJSONMarshal(yy992) } else { - z.EncFallback(yy977) + z.EncFallback(yy992) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym980 := z.EncBinary() - _ = yym980 + yym995 := z.EncBinary() + _ = yym995 if false { } else { r.EncodeBool(bool(x.EnableGarbageCollector)) @@ -8102,17 +8225,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableGarbageCollector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym981 := z.EncBinary() - _ = yym981 + yym996 := z.EncBinary() + _ = yym996 if false { } else { r.EncodeBool(bool(x.EnableGarbageCollector)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym983 := z.EncBinary() - _ = yym983 + yym998 := z.EncBinary() + _ = yym998 if false { } else { r.EncodeInt(int64(x.ConcurrentGCSyncs)) @@ -8121,14 +8244,14 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentGCSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym984 := z.EncBinary() - _ = yym984 + yym999 := z.EncBinary() + _ = yym999 if false { } else { r.EncodeInt(int64(x.ConcurrentGCSyncs)) } } - if yyr796 || yy2arr796 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8141,25 +8264,25 @@ func (x *KubeControllerManagerConfiguration) CodecDecodeSelf(d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym985 := z.DecBinary() - _ = yym985 + yym1000 := z.DecBinary() + _ = yym1000 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct986 := r.ContainerType() - if yyct986 == codecSelferValueTypeMap1234 { - yyl986 := r.ReadMapStart() - if yyl986 == 0 { + yyct1001 := r.ContainerType() + if yyct1001 == codecSelferValueTypeMap1234 { + yyl1001 := r.ReadMapStart() + if yyl1001 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl986, d) + x.codecDecodeSelfFromMap(yyl1001, d) } - } else if yyct986 == codecSelferValueTypeArray1234 { - yyl986 := r.ReadArrayStart() - if yyl986 == 0 { + } else if yyct1001 == codecSelferValueTypeArray1234 { + yyl1001 := r.ReadArrayStart() + if yyl1001 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl986, d) + x.codecDecodeSelfFromArray(yyl1001, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8171,12 +8294,12 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys987Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys987Slc - var yyhl987 bool = l >= 0 - for yyj987 := 0; ; yyj987++ { - if yyhl987 { - if yyj987 >= l { + var yys1002Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1002Slc + var yyhl1002 bool = l >= 0 + for yyj1002 := 0; ; yyj1002++ { + if yyhl1002 { + if yyj1002 >= l { break } } else { @@ -8185,10 +8308,10 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys987Slc = r.DecodeBytes(yys987Slc, true, true) - yys987 := string(yys987Slc) + yys1002Slc = r.DecodeBytes(yys1002Slc, true, true) + yys1002 := string(yys1002Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys987 { + switch yys1002 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8307,90 +8430,90 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.ServiceSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1007 := &x.ServiceSyncPeriod - yym1008 := z.DecBinary() - _ = yym1008 + yyv1022 := &x.ServiceSyncPeriod + yym1023 := z.DecBinary() + _ = yym1023 if false { - } else if z.HasExtensions() && z.DecExt(yyv1007) { - } else if !yym1008 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1007) + } else if z.HasExtensions() && z.DecExt(yyv1022) { + } else if !yym1023 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1022) } else { - z.DecFallback(yyv1007, false) + z.DecFallback(yyv1022, false) } } case "nodeSyncPeriod": if r.TryDecodeAsNil() { x.NodeSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1009 := &x.NodeSyncPeriod - yym1010 := z.DecBinary() - _ = yym1010 + yyv1024 := &x.NodeSyncPeriod + yym1025 := z.DecBinary() + _ = yym1025 if false { - } else if z.HasExtensions() && z.DecExt(yyv1009) { - } else if !yym1010 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1009) + } else if z.HasExtensions() && z.DecExt(yyv1024) { + } else if !yym1025 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1024) } else { - z.DecFallback(yyv1009, false) + z.DecFallback(yyv1024, false) } } case "resourceQuotaSyncPeriod": if r.TryDecodeAsNil() { x.ResourceQuotaSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1011 := &x.ResourceQuotaSyncPeriod - yym1012 := z.DecBinary() - _ = yym1012 + yyv1026 := &x.ResourceQuotaSyncPeriod + yym1027 := z.DecBinary() + _ = yym1027 if false { - } else if z.HasExtensions() && z.DecExt(yyv1011) { - } else if !yym1012 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1011) + } else if z.HasExtensions() && z.DecExt(yyv1026) { + } else if !yym1027 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1026) } else { - z.DecFallback(yyv1011, false) + z.DecFallback(yyv1026, false) } } case "namespaceSyncPeriod": if r.TryDecodeAsNil() { x.NamespaceSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1013 := &x.NamespaceSyncPeriod - yym1014 := z.DecBinary() - _ = yym1014 + yyv1028 := &x.NamespaceSyncPeriod + yym1029 := z.DecBinary() + _ = yym1029 if false { - } else if z.HasExtensions() && z.DecExt(yyv1013) { - } else if !yym1014 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1013) + } else if z.HasExtensions() && z.DecExt(yyv1028) { + } else if !yym1029 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1028) } else { - z.DecFallback(yyv1013, false) + z.DecFallback(yyv1028, false) } } case "pvClaimBinderSyncPeriod": if r.TryDecodeAsNil() { x.PVClaimBinderSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1015 := &x.PVClaimBinderSyncPeriod - yym1016 := z.DecBinary() - _ = yym1016 + yyv1030 := &x.PVClaimBinderSyncPeriod + yym1031 := z.DecBinary() + _ = yym1031 if false { - } else if z.HasExtensions() && z.DecExt(yyv1015) { - } else if !yym1016 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1015) + } else if z.HasExtensions() && z.DecExt(yyv1030) { + } else if !yym1031 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1030) } else { - z.DecFallback(yyv1015, false) + z.DecFallback(yyv1030, false) } } case "minResyncPeriod": if r.TryDecodeAsNil() { x.MinResyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1017 := &x.MinResyncPeriod - yym1018 := z.DecBinary() - _ = yym1018 + yyv1032 := &x.MinResyncPeriod + yym1033 := z.DecBinary() + _ = yym1033 if false { - } else if z.HasExtensions() && z.DecExt(yyv1017) { - } else if !yym1018 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1017) + } else if z.HasExtensions() && z.DecExt(yyv1032) { + } else if !yym1033 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1032) } else { - z.DecFallback(yyv1017, false) + z.DecFallback(yyv1032, false) } } case "terminatedPodGCThreshold": @@ -8403,45 +8526,45 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.HorizontalPodAutoscalerSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1020 := &x.HorizontalPodAutoscalerSyncPeriod - yym1021 := z.DecBinary() - _ = yym1021 + yyv1035 := &x.HorizontalPodAutoscalerSyncPeriod + yym1036 := z.DecBinary() + _ = yym1036 if false { - } else if z.HasExtensions() && z.DecExt(yyv1020) { - } else if !yym1021 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1020) + } else if z.HasExtensions() && z.DecExt(yyv1035) { + } else if !yym1036 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1035) } else { - z.DecFallback(yyv1020, false) + z.DecFallback(yyv1035, false) } } case "deploymentControllerSyncPeriod": if r.TryDecodeAsNil() { x.DeploymentControllerSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1022 := &x.DeploymentControllerSyncPeriod - yym1023 := z.DecBinary() - _ = yym1023 + yyv1037 := &x.DeploymentControllerSyncPeriod + yym1038 := z.DecBinary() + _ = yym1038 if false { - } else if z.HasExtensions() && z.DecExt(yyv1022) { - } else if !yym1023 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1022) + } else if z.HasExtensions() && z.DecExt(yyv1037) { + } else if !yym1038 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1037) } else { - z.DecFallback(yyv1022, false) + z.DecFallback(yyv1037, false) } } case "podEvictionTimeout": if r.TryDecodeAsNil() { x.PodEvictionTimeout = pkg1_unversioned.Duration{} } else { - yyv1024 := &x.PodEvictionTimeout - yym1025 := z.DecBinary() - _ = yym1025 + yyv1039 := &x.PodEvictionTimeout + yym1040 := z.DecBinary() + _ = yym1040 if false { - } else if z.HasExtensions() && z.DecExt(yyv1024) { - } else if !yym1025 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1024) + } else if z.HasExtensions() && z.DecExt(yyv1039) { + } else if !yym1040 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1039) } else { - z.DecFallback(yyv1024, false) + z.DecFallback(yyv1039, false) } } case "deletingPodsQps": @@ -8460,15 +8583,15 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.NodeMonitorGracePeriod = pkg1_unversioned.Duration{} } else { - yyv1028 := &x.NodeMonitorGracePeriod - yym1029 := z.DecBinary() - _ = yym1029 + yyv1043 := &x.NodeMonitorGracePeriod + yym1044 := z.DecBinary() + _ = yym1044 if false { - } else if z.HasExtensions() && z.DecExt(yyv1028) { - } else if !yym1029 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1028) + } else if z.HasExtensions() && z.DecExt(yyv1043) { + } else if !yym1044 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1043) } else { - z.DecFallback(yyv1028, false) + z.DecFallback(yyv1043, false) } } case "registerRetryCount": @@ -8481,30 +8604,30 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.NodeStartupGracePeriod = pkg1_unversioned.Duration{} } else { - yyv1031 := &x.NodeStartupGracePeriod - yym1032 := z.DecBinary() - _ = yym1032 + yyv1046 := &x.NodeStartupGracePeriod + yym1047 := z.DecBinary() + _ = yym1047 if false { - } else if z.HasExtensions() && z.DecExt(yyv1031) { - } else if !yym1032 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1031) + } else if z.HasExtensions() && z.DecExt(yyv1046) { + } else if !yym1047 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1046) } else { - z.DecFallback(yyv1031, false) + z.DecFallback(yyv1046, false) } } case "nodeMonitorPeriod": if r.TryDecodeAsNil() { x.NodeMonitorPeriod = pkg1_unversioned.Duration{} } else { - yyv1033 := &x.NodeMonitorPeriod - yym1034 := z.DecBinary() - _ = yym1034 + yyv1048 := &x.NodeMonitorPeriod + yym1049 := z.DecBinary() + _ = yym1049 if false { - } else if z.HasExtensions() && z.DecExt(yyv1033) { - } else if !yym1034 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1033) + } else if z.HasExtensions() && z.DecExt(yyv1048) { + } else if !yym1049 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1048) } else { - z.DecFallback(yyv1033, false) + z.DecFallback(yyv1048, false) } } case "serviceAccountKeyFile": @@ -8595,29 +8718,29 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.LeaderElection = LeaderElectionConfiguration{} } else { - yyv1049 := &x.LeaderElection - yyv1049.CodecDecodeSelf(d) + yyv1064 := &x.LeaderElection + yyv1064.CodecDecodeSelf(d) } case "volumeConfiguration": if r.TryDecodeAsNil() { x.VolumeConfiguration = VolumeConfiguration{} } else { - yyv1050 := &x.VolumeConfiguration - yyv1050.CodecDecodeSelf(d) + yyv1065 := &x.VolumeConfiguration + yyv1065.CodecDecodeSelf(d) } case "controllerStartInterval": if r.TryDecodeAsNil() { x.ControllerStartInterval = pkg1_unversioned.Duration{} } else { - yyv1051 := &x.ControllerStartInterval - yym1052 := z.DecBinary() - _ = yym1052 + yyv1066 := &x.ControllerStartInterval + yym1067 := z.DecBinary() + _ = yym1067 if false { - } else if z.HasExtensions() && z.DecExt(yyv1051) { - } else if !yym1052 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1051) + } else if z.HasExtensions() && z.DecExt(yyv1066) { + } else if !yym1067 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1066) } else { - z.DecFallback(yyv1051, false) + z.DecFallback(yyv1066, false) } } case "enableGarbageCollector": @@ -8633,9 +8756,9 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co x.ConcurrentGCSyncs = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys987) - } // end switch yys987 - } // end for yyj987 + z.DecStructFieldNotFound(-1, yys1002) + } // end switch yys1002 + } // end for yyj1002 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8643,16 +8766,16 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1055 int - var yyb1055 bool - var yyhl1055 bool = l >= 0 - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + var yyj1070 int + var yyb1070 bool + var yyhl1070 bool = l >= 0 + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8662,13 +8785,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.Kind = string(r.DecodeString()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8678,13 +8801,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.APIVersion = string(r.DecodeString()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8694,13 +8817,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.Port = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8710,13 +8833,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.Address = string(r.DecodeString()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8726,13 +8849,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.CloudProvider = string(r.DecodeString()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8742,13 +8865,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.CloudConfigFile = string(r.DecodeString()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8758,13 +8881,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentEndpointSyncs = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8774,13 +8897,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentRSSyncs = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8790,13 +8913,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentRCSyncs = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8806,13 +8929,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentServiceSyncs = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8822,13 +8945,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentResourceQuotaSyncs = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8838,13 +8961,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentDeploymentSyncs = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8854,13 +8977,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentDaemonSetSyncs = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8870,13 +8993,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentJobSyncs = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8886,13 +9009,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentNamespaceSyncs = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8902,13 +9025,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConcurrentSATokenSyncs = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8918,13 +9041,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.LookupCacheSizeForRC = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8934,13 +9057,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.LookupCacheSizeForRS = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8950,13 +9073,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.LookupCacheSizeForDaemonSet = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8964,198 +9087,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.ServiceSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1075 := &x.ServiceSyncPeriod - yym1076 := z.DecBinary() - _ = yym1076 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1075) { - } else if !yym1076 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1075) - } else { - z.DecFallback(yyv1075, false) - } - } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l - } else { - yyb1055 = r.CheckBreak() - } - if yyb1055 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1077 := &x.NodeSyncPeriod - yym1078 := z.DecBinary() - _ = yym1078 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1077) { - } else if !yym1078 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1077) - } else { - z.DecFallback(yyv1077, false) - } - } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l - } else { - yyb1055 = r.CheckBreak() - } - if yyb1055 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ResourceQuotaSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1079 := &x.ResourceQuotaSyncPeriod - yym1080 := z.DecBinary() - _ = yym1080 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1079) { - } else if !yym1080 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1079) - } else { - z.DecFallback(yyv1079, false) - } - } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l - } else { - yyb1055 = r.CheckBreak() - } - if yyb1055 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NamespaceSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1081 := &x.NamespaceSyncPeriod - yym1082 := z.DecBinary() - _ = yym1082 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1081) { - } else if !yym1082 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1081) - } else { - z.DecFallback(yyv1081, false) - } - } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l - } else { - yyb1055 = r.CheckBreak() - } - if yyb1055 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PVClaimBinderSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1083 := &x.PVClaimBinderSyncPeriod - yym1084 := z.DecBinary() - _ = yym1084 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1083) { - } else if !yym1084 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1083) - } else { - z.DecFallback(yyv1083, false) - } - } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l - } else { - yyb1055 = r.CheckBreak() - } - if yyb1055 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MinResyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1085 := &x.MinResyncPeriod - yym1086 := z.DecBinary() - _ = yym1086 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1085) { - } else if !yym1086 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1085) - } else { - z.DecFallback(yyv1085, false) - } - } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l - } else { - yyb1055 = r.CheckBreak() - } - if yyb1055 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TerminatedPodGCThreshold = 0 - } else { - x.TerminatedPodGCThreshold = int32(r.DecodeInt(32)) - } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l - } else { - yyb1055 = r.CheckBreak() - } - if yyb1055 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HorizontalPodAutoscalerSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1088 := &x.HorizontalPodAutoscalerSyncPeriod - yym1089 := z.DecBinary() - _ = yym1089 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1088) { - } else if !yym1089 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1088) - } else { - z.DecFallback(yyv1088, false) - } - } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l - } else { - yyb1055 = r.CheckBreak() - } - if yyb1055 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DeploymentControllerSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv1090 := &x.DeploymentControllerSyncPeriod + yyv1090 := &x.ServiceSyncPeriod yym1091 := z.DecBinary() _ = yym1091 if false { @@ -9166,21 +9098,21 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * z.DecFallback(yyv1090, false) } } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.PodEvictionTimeout = pkg1_unversioned.Duration{} + x.NodeSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv1092 := &x.PodEvictionTimeout + yyv1092 := &x.NodeSyncPeriod yym1093 := z.DecBinary() _ = yym1093 if false { @@ -9191,53 +9123,46 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * z.DecFallback(yyv1092, false) } } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.DeletingPodsQps = 0 + x.ResourceQuotaSyncPeriod = pkg1_unversioned.Duration{} } else { - x.DeletingPodsQps = float32(r.DecodeFloat(true)) + yyv1094 := &x.ResourceQuotaSyncPeriod + yym1095 := z.DecBinary() + _ = yym1095 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1094) { + } else if !yym1095 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1094) + } else { + z.DecFallback(yyv1094, false) + } } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.DeletingPodsBurst = 0 + x.NamespaceSyncPeriod = pkg1_unversioned.Duration{} } else { - x.DeletingPodsBurst = int32(r.DecodeInt(32)) - } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l - } else { - yyb1055 = r.CheckBreak() - } - if yyb1055 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeMonitorGracePeriod = pkg1_unversioned.Duration{} - } else { - yyv1096 := &x.NodeMonitorGracePeriod + yyv1096 := &x.NamespaceSyncPeriod yym1097 := z.DecBinary() _ = yym1097 if false { @@ -9248,13 +9173,211 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * z.DecFallback(yyv1096, false) } } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PVClaimBinderSyncPeriod = pkg1_unversioned.Duration{} + } else { + yyv1098 := &x.PVClaimBinderSyncPeriod + yym1099 := z.DecBinary() + _ = yym1099 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1098) { + } else if !yym1099 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1098) + } else { + z.DecFallback(yyv1098, false) + } + } + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l + } else { + yyb1070 = r.CheckBreak() + } + if yyb1070 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MinResyncPeriod = pkg1_unversioned.Duration{} + } else { + yyv1100 := &x.MinResyncPeriod + yym1101 := z.DecBinary() + _ = yym1101 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1100) { + } else if !yym1101 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1100) + } else { + z.DecFallback(yyv1100, false) + } + } + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l + } else { + yyb1070 = r.CheckBreak() + } + if yyb1070 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TerminatedPodGCThreshold = 0 + } else { + x.TerminatedPodGCThreshold = int32(r.DecodeInt(32)) + } + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l + } else { + yyb1070 = r.CheckBreak() + } + if yyb1070 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HorizontalPodAutoscalerSyncPeriod = pkg1_unversioned.Duration{} + } else { + yyv1103 := &x.HorizontalPodAutoscalerSyncPeriod + yym1104 := z.DecBinary() + _ = yym1104 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1103) { + } else if !yym1104 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1103) + } else { + z.DecFallback(yyv1103, false) + } + } + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l + } else { + yyb1070 = r.CheckBreak() + } + if yyb1070 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DeploymentControllerSyncPeriod = pkg1_unversioned.Duration{} + } else { + yyv1105 := &x.DeploymentControllerSyncPeriod + yym1106 := z.DecBinary() + _ = yym1106 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1105) { + } else if !yym1106 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1105) + } else { + z.DecFallback(yyv1105, false) + } + } + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l + } else { + yyb1070 = r.CheckBreak() + } + if yyb1070 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PodEvictionTimeout = pkg1_unversioned.Duration{} + } else { + yyv1107 := &x.PodEvictionTimeout + yym1108 := z.DecBinary() + _ = yym1108 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1107) { + } else if !yym1108 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1107) + } else { + z.DecFallback(yyv1107, false) + } + } + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l + } else { + yyb1070 = r.CheckBreak() + } + if yyb1070 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DeletingPodsQps = 0 + } else { + x.DeletingPodsQps = float32(r.DecodeFloat(true)) + } + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l + } else { + yyb1070 = r.CheckBreak() + } + if yyb1070 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DeletingPodsBurst = 0 + } else { + x.DeletingPodsBurst = int32(r.DecodeInt(32)) + } + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l + } else { + yyb1070 = r.CheckBreak() + } + if yyb1070 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NodeMonitorGracePeriod = pkg1_unversioned.Duration{} + } else { + yyv1111 := &x.NodeMonitorGracePeriod + yym1112 := z.DecBinary() + _ = yym1112 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1111) { + } else if !yym1112 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1111) + } else { + z.DecFallback(yyv1111, false) + } + } + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l + } else { + yyb1070 = r.CheckBreak() + } + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9264,13 +9387,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.RegisterRetryCount = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9278,24 +9401,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.NodeStartupGracePeriod = pkg1_unversioned.Duration{} } else { - yyv1099 := &x.NodeStartupGracePeriod - yym1100 := z.DecBinary() - _ = yym1100 + yyv1114 := &x.NodeStartupGracePeriod + yym1115 := z.DecBinary() + _ = yym1115 if false { - } else if z.HasExtensions() && z.DecExt(yyv1099) { - } else if !yym1100 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1099) + } else if z.HasExtensions() && z.DecExt(yyv1114) { + } else if !yym1115 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1114) } else { - z.DecFallback(yyv1099, false) + z.DecFallback(yyv1114, false) } } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9303,24 +9426,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.NodeMonitorPeriod = pkg1_unversioned.Duration{} } else { - yyv1101 := &x.NodeMonitorPeriod - yym1102 := z.DecBinary() - _ = yym1102 + yyv1116 := &x.NodeMonitorPeriod + yym1117 := z.DecBinary() + _ = yym1117 if false { - } else if z.HasExtensions() && z.DecExt(yyv1101) { - } else if !yym1102 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1101) + } else if z.HasExtensions() && z.DecExt(yyv1116) { + } else if !yym1117 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1116) } else { - z.DecFallback(yyv1101, false) + z.DecFallback(yyv1116, false) } } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9330,13 +9453,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ServiceAccountKeyFile = string(r.DecodeString()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9346,13 +9469,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ClusterSigningCertFile = string(r.DecodeString()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9362,13 +9485,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ClusterSigningKeyFile = string(r.DecodeString()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9378,13 +9501,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.EnableProfiling = bool(r.DecodeBool()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9394,13 +9517,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ClusterName = string(r.DecodeString()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9410,13 +9533,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ClusterCIDR = string(r.DecodeString()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9426,13 +9549,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ServiceCIDR = string(r.DecodeString()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9442,13 +9565,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.NodeCIDRMaskSize = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9458,13 +9581,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.AllocateNodeCIDRs = bool(r.DecodeBool()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9474,13 +9597,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ConfigureCloudRoutes = bool(r.DecodeBool()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9490,13 +9613,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.RootCAFile = string(r.DecodeString()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9506,13 +9629,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.ContentType = string(r.DecodeString()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9522,13 +9645,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.KubeAPIQPS = float32(r.DecodeFloat(true)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9538,13 +9661,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.KubeAPIBurst = int32(r.DecodeInt(32)) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9552,16 +9675,16 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.LeaderElection = LeaderElectionConfiguration{} } else { - yyv1117 := &x.LeaderElection - yyv1117.CodecDecodeSelf(d) + yyv1132 := &x.LeaderElection + yyv1132.CodecDecodeSelf(d) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9569,16 +9692,16 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.VolumeConfiguration = VolumeConfiguration{} } else { - yyv1118 := &x.VolumeConfiguration - yyv1118.CodecDecodeSelf(d) + yyv1133 := &x.VolumeConfiguration + yyv1133.CodecDecodeSelf(d) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9586,24 +9709,24 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.ControllerStartInterval = pkg1_unversioned.Duration{} } else { - yyv1119 := &x.ControllerStartInterval - yym1120 := z.DecBinary() - _ = yym1120 + yyv1134 := &x.ControllerStartInterval + yym1135 := z.DecBinary() + _ = yym1135 if false { - } else if z.HasExtensions() && z.DecExt(yyv1119) { - } else if !yym1120 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1119) + } else if z.HasExtensions() && z.DecExt(yyv1134) { + } else if !yym1135 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1134) } else { - z.DecFallback(yyv1119, false) + z.DecFallback(yyv1134, false) } } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9613,13 +9736,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.EnableGarbageCollector = bool(r.DecodeBool()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9630,17 +9753,17 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * x.ConcurrentGCSyncs = int32(r.DecodeInt(32)) } for { - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1070++ + if yyhl1070 { + yyb1070 = yyj1070 > l } else { - yyb1055 = r.CheckBreak() + yyb1070 = r.CheckBreak() } - if yyb1055 { + if yyb1070 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1055-1, "") + z.DecStructFieldNotFound(yyj1070-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9652,33 +9775,33 @@ func (x *VolumeConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1123 := z.EncBinary() - _ = yym1123 + yym1138 := z.EncBinary() + _ = yym1138 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1124 := !z.EncBinary() - yy2arr1124 := z.EncBasicHandle().StructToArray - var yyq1124 [4]bool - _, _, _ = yysep1124, yyq1124, yy2arr1124 - const yyr1124 bool = false - var yynn1124 int - if yyr1124 || yy2arr1124 { + yysep1139 := !z.EncBinary() + yy2arr1139 := z.EncBasicHandle().StructToArray + var yyq1139 [4]bool + _, _, _ = yysep1139, yyq1139, yy2arr1139 + const yyr1139 bool = false + var yynn1139 int + if yyr1139 || yy2arr1139 { r.EncodeArrayStart(4) } else { - yynn1124 = 4 - for _, b := range yyq1124 { + yynn1139 = 4 + for _, b := range yyq1139 { if b { - yynn1124++ + yynn1139++ } } - r.EncodeMapStart(yynn1124) - yynn1124 = 0 + r.EncodeMapStart(yynn1139) + yynn1139 = 0 } - if yyr1124 || yy2arr1124 { + if yyr1139 || yy2arr1139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1126 := z.EncBinary() - _ = yym1126 + yym1141 := z.EncBinary() + _ = yym1141 if false { } else { r.EncodeBool(bool(x.EnableHostPathProvisioning)) @@ -9687,17 +9810,17 @@ func (x *VolumeConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableHostPathProvisioning")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1127 := z.EncBinary() - _ = yym1127 + yym1142 := z.EncBinary() + _ = yym1142 if false { } else { r.EncodeBool(bool(x.EnableHostPathProvisioning)) } } - if yyr1124 || yy2arr1124 { + if yyr1139 || yy2arr1139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1129 := z.EncBinary() - _ = yym1129 + yym1144 := z.EncBinary() + _ = yym1144 if false { } else { r.EncodeBool(bool(x.EnableDynamicProvisioning)) @@ -9706,28 +9829,28 @@ func (x *VolumeConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableDynamicProvisioning")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1130 := z.EncBinary() - _ = yym1130 + yym1145 := z.EncBinary() + _ = yym1145 if false { } else { r.EncodeBool(bool(x.EnableDynamicProvisioning)) } } - if yyr1124 || yy2arr1124 { + if yyr1139 || yy2arr1139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1132 := &x.PersistentVolumeRecyclerConfiguration - yy1132.CodecEncodeSelf(e) + yy1147 := &x.PersistentVolumeRecyclerConfiguration + yy1147.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persitentVolumeRecyclerConfiguration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1133 := &x.PersistentVolumeRecyclerConfiguration - yy1133.CodecEncodeSelf(e) + yy1148 := &x.PersistentVolumeRecyclerConfiguration + yy1148.CodecEncodeSelf(e) } - if yyr1124 || yy2arr1124 { + if yyr1139 || yy2arr1139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1135 := z.EncBinary() - _ = yym1135 + yym1150 := z.EncBinary() + _ = yym1150 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FlexVolumePluginDir)) @@ -9736,14 +9859,14 @@ func (x *VolumeConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolumePluginDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1136 := z.EncBinary() - _ = yym1136 + yym1151 := z.EncBinary() + _ = yym1151 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FlexVolumePluginDir)) } } - if yyr1124 || yy2arr1124 { + if yyr1139 || yy2arr1139 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9756,25 +9879,25 @@ func (x *VolumeConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1137 := z.DecBinary() - _ = yym1137 + yym1152 := z.DecBinary() + _ = yym1152 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1138 := r.ContainerType() - if yyct1138 == codecSelferValueTypeMap1234 { - yyl1138 := r.ReadMapStart() - if yyl1138 == 0 { + yyct1153 := r.ContainerType() + if yyct1153 == codecSelferValueTypeMap1234 { + yyl1153 := r.ReadMapStart() + if yyl1153 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1138, d) + x.codecDecodeSelfFromMap(yyl1153, d) } - } else if yyct1138 == codecSelferValueTypeArray1234 { - yyl1138 := r.ReadArrayStart() - if yyl1138 == 0 { + } else if yyct1153 == codecSelferValueTypeArray1234 { + yyl1153 := r.ReadArrayStart() + if yyl1153 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1138, d) + x.codecDecodeSelfFromArray(yyl1153, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9786,12 +9909,12 @@ func (x *VolumeConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1139Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1139Slc - var yyhl1139 bool = l >= 0 - for yyj1139 := 0; ; yyj1139++ { - if yyhl1139 { - if yyj1139 >= l { + var yys1154Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1154Slc + var yyhl1154 bool = l >= 0 + for yyj1154 := 0; ; yyj1154++ { + if yyhl1154 { + if yyj1154 >= l { break } } else { @@ -9800,10 +9923,10 @@ func (x *VolumeConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1139Slc = r.DecodeBytes(yys1139Slc, true, true) - yys1139 := string(yys1139Slc) + yys1154Slc = r.DecodeBytes(yys1154Slc, true, true) + yys1154 := string(yys1154Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1139 { + switch yys1154 { case "enableHostPathProvisioning": if r.TryDecodeAsNil() { x.EnableHostPathProvisioning = false @@ -9820,8 +9943,8 @@ func (x *VolumeConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.PersistentVolumeRecyclerConfiguration = PersistentVolumeRecyclerConfiguration{} } else { - yyv1142 := &x.PersistentVolumeRecyclerConfiguration - yyv1142.CodecDecodeSelf(d) + yyv1157 := &x.PersistentVolumeRecyclerConfiguration + yyv1157.CodecDecodeSelf(d) } case "flexVolumePluginDir": if r.TryDecodeAsNil() { @@ -9830,9 +9953,9 @@ func (x *VolumeConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.FlexVolumePluginDir = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1139) - } // end switch yys1139 - } // end for yyj1139 + z.DecStructFieldNotFound(-1, yys1154) + } // end switch yys1154 + } // end for yyj1154 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9840,16 +9963,16 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1144 int - var yyb1144 bool - var yyhl1144 bool = l >= 0 - yyj1144++ - if yyhl1144 { - yyb1144 = yyj1144 > l + var yyj1159 int + var yyb1159 bool + var yyhl1159 bool = l >= 0 + yyj1159++ + if yyhl1159 { + yyb1159 = yyj1159 > l } else { - yyb1144 = r.CheckBreak() + yyb1159 = r.CheckBreak() } - if yyb1144 { + if yyb1159 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9859,13 +9982,13 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.EnableHostPathProvisioning = bool(r.DecodeBool()) } - yyj1144++ - if yyhl1144 { - yyb1144 = yyj1144 > l + yyj1159++ + if yyhl1159 { + yyb1159 = yyj1159 > l } else { - yyb1144 = r.CheckBreak() + yyb1159 = r.CheckBreak() } - if yyb1144 { + if yyb1159 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9875,13 +9998,13 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.EnableDynamicProvisioning = bool(r.DecodeBool()) } - yyj1144++ - if yyhl1144 { - yyb1144 = yyj1144 > l + yyj1159++ + if yyhl1159 { + yyb1159 = yyj1159 > l } else { - yyb1144 = r.CheckBreak() + yyb1159 = r.CheckBreak() } - if yyb1144 { + if yyb1159 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9889,16 +10012,16 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.PersistentVolumeRecyclerConfiguration = PersistentVolumeRecyclerConfiguration{} } else { - yyv1147 := &x.PersistentVolumeRecyclerConfiguration - yyv1147.CodecDecodeSelf(d) + yyv1162 := &x.PersistentVolumeRecyclerConfiguration + yyv1162.CodecDecodeSelf(d) } - yyj1144++ - if yyhl1144 { - yyb1144 = yyj1144 > l + yyj1159++ + if yyhl1159 { + yyb1159 = yyj1159 > l } else { - yyb1144 = r.CheckBreak() + yyb1159 = r.CheckBreak() } - if yyb1144 { + if yyb1159 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9909,17 +10032,17 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.FlexVolumePluginDir = string(r.DecodeString()) } for { - yyj1144++ - if yyhl1144 { - yyb1144 = yyj1144 > l + yyj1159++ + if yyhl1159 { + yyb1159 = yyj1159 > l } else { - yyb1144 = r.CheckBreak() + yyb1159 = r.CheckBreak() } - if yyb1144 { + if yyb1159 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1144-1, "") + z.DecStructFieldNotFound(yyj1159-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9931,33 +10054,33 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc if x == nil { r.EncodeNil() } else { - yym1149 := z.EncBinary() - _ = yym1149 + yym1164 := z.EncBinary() + _ = yym1164 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1150 := !z.EncBinary() - yy2arr1150 := z.EncBasicHandle().StructToArray - var yyq1150 [7]bool - _, _, _ = yysep1150, yyq1150, yy2arr1150 - const yyr1150 bool = false - var yynn1150 int - if yyr1150 || yy2arr1150 { + yysep1165 := !z.EncBinary() + yy2arr1165 := z.EncBasicHandle().StructToArray + var yyq1165 [7]bool + _, _, _ = yysep1165, yyq1165, yy2arr1165 + const yyr1165 bool = false + var yynn1165 int + if yyr1165 || yy2arr1165 { r.EncodeArrayStart(7) } else { - yynn1150 = 7 - for _, b := range yyq1150 { + yynn1165 = 7 + for _, b := range yyq1165 { if b { - yynn1150++ + yynn1165++ } } - r.EncodeMapStart(yynn1150) - yynn1150 = 0 + r.EncodeMapStart(yynn1165) + yynn1165 = 0 } - if yyr1150 || yy2arr1150 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1152 := z.EncBinary() - _ = yym1152 + yym1167 := z.EncBinary() + _ = yym1167 if false { } else { r.EncodeInt(int64(x.MaximumRetry)) @@ -9966,17 +10089,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maximumRetry")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1153 := z.EncBinary() - _ = yym1153 + yym1168 := z.EncBinary() + _ = yym1168 if false { } else { r.EncodeInt(int64(x.MaximumRetry)) } } - if yyr1150 || yy2arr1150 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1155 := z.EncBinary() - _ = yym1155 + yym1170 := z.EncBinary() + _ = yym1170 if false { } else { r.EncodeInt(int64(x.MinimumTimeoutNFS)) @@ -9985,17 +10108,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minimumTimeoutNFS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1156 := z.EncBinary() - _ = yym1156 + yym1171 := z.EncBinary() + _ = yym1171 if false { } else { r.EncodeInt(int64(x.MinimumTimeoutNFS)) } } - if yyr1150 || yy2arr1150 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1158 := z.EncBinary() - _ = yym1158 + yym1173 := z.EncBinary() + _ = yym1173 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathNFS)) @@ -10004,17 +10127,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podTemplateFilePathNFS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1159 := z.EncBinary() - _ = yym1159 + yym1174 := z.EncBinary() + _ = yym1174 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathNFS)) } } - if yyr1150 || yy2arr1150 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1161 := z.EncBinary() - _ = yym1161 + yym1176 := z.EncBinary() + _ = yym1176 if false { } else { r.EncodeInt(int64(x.IncrementTimeoutNFS)) @@ -10023,17 +10146,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("incrementTimeoutNFS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1162 := z.EncBinary() - _ = yym1162 + yym1177 := z.EncBinary() + _ = yym1177 if false { } else { r.EncodeInt(int64(x.IncrementTimeoutNFS)) } } - if yyr1150 || yy2arr1150 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1164 := z.EncBinary() - _ = yym1164 + yym1179 := z.EncBinary() + _ = yym1179 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathHostPath)) @@ -10042,17 +10165,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podTemplateFilePathHostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1165 := z.EncBinary() - _ = yym1165 + yym1180 := z.EncBinary() + _ = yym1180 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathHostPath)) } } - if yyr1150 || yy2arr1150 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1167 := z.EncBinary() - _ = yym1167 + yym1182 := z.EncBinary() + _ = yym1182 if false { } else { r.EncodeInt(int64(x.MinimumTimeoutHostPath)) @@ -10061,17 +10184,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minimumTimeoutHostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1168 := z.EncBinary() - _ = yym1168 + yym1183 := z.EncBinary() + _ = yym1183 if false { } else { r.EncodeInt(int64(x.MinimumTimeoutHostPath)) } } - if yyr1150 || yy2arr1150 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1170 := z.EncBinary() - _ = yym1170 + yym1185 := z.EncBinary() + _ = yym1185 if false { } else { r.EncodeInt(int64(x.IncrementTimeoutHostPath)) @@ -10080,14 +10203,14 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("incrementTimeoutHostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1171 := z.EncBinary() - _ = yym1171 + yym1186 := z.EncBinary() + _ = yym1186 if false { } else { r.EncodeInt(int64(x.IncrementTimeoutHostPath)) } } - if yyr1150 || yy2arr1150 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10100,25 +10223,25 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecDecodeSelf(d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1172 := z.DecBinary() - _ = yym1172 + yym1187 := z.DecBinary() + _ = yym1187 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1173 := r.ContainerType() - if yyct1173 == codecSelferValueTypeMap1234 { - yyl1173 := r.ReadMapStart() - if yyl1173 == 0 { + yyct1188 := r.ContainerType() + if yyct1188 == codecSelferValueTypeMap1234 { + yyl1188 := r.ReadMapStart() + if yyl1188 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1173, d) + x.codecDecodeSelfFromMap(yyl1188, d) } - } else if yyct1173 == codecSelferValueTypeArray1234 { - yyl1173 := r.ReadArrayStart() - if yyl1173 == 0 { + } else if yyct1188 == codecSelferValueTypeArray1234 { + yyl1188 := r.ReadArrayStart() + if yyl1188 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1173, d) + x.codecDecodeSelfFromArray(yyl1188, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10130,12 +10253,12 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1174Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1174Slc - var yyhl1174 bool = l >= 0 - for yyj1174 := 0; ; yyj1174++ { - if yyhl1174 { - if yyj1174 >= l { + var yys1189Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1189Slc + var yyhl1189 bool = l >= 0 + for yyj1189 := 0; ; yyj1189++ { + if yyhl1189 { + if yyj1189 >= l { break } } else { @@ -10144,10 +10267,10 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1174Slc = r.DecodeBytes(yys1174Slc, true, true) - yys1174 := string(yys1174Slc) + yys1189Slc = r.DecodeBytes(yys1189Slc, true, true) + yys1189 := string(yys1189Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1174 { + switch yys1189 { case "maximumRetry": if r.TryDecodeAsNil() { x.MaximumRetry = 0 @@ -10191,9 +10314,9 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d x.IncrementTimeoutHostPath = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys1174) - } // end switch yys1174 - } // end for yyj1174 + z.DecStructFieldNotFound(-1, yys1189) + } // end switch yys1189 + } // end for yyj1189 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10201,16 +10324,16 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1182 int - var yyb1182 bool - var yyhl1182 bool = l >= 0 - yyj1182++ - if yyhl1182 { - yyb1182 = yyj1182 > l + var yyj1197 int + var yyb1197 bool + var yyhl1197 bool = l >= 0 + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1182 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1182 { + if yyb1197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10220,13 +10343,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.MaximumRetry = int32(r.DecodeInt(32)) } - yyj1182++ - if yyhl1182 { - yyb1182 = yyj1182 > l + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1182 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1182 { + if yyb1197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10236,13 +10359,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.MinimumTimeoutNFS = int32(r.DecodeInt(32)) } - yyj1182++ - if yyhl1182 { - yyb1182 = yyj1182 > l + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1182 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1182 { + if yyb1197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10252,13 +10375,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.PodTemplateFilePathNFS = string(r.DecodeString()) } - yyj1182++ - if yyhl1182 { - yyb1182 = yyj1182 > l + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1182 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1182 { + if yyb1197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10268,13 +10391,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.IncrementTimeoutNFS = int32(r.DecodeInt(32)) } - yyj1182++ - if yyhl1182 { - yyb1182 = yyj1182 > l + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1182 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1182 { + if yyb1197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10284,13 +10407,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.PodTemplateFilePathHostPath = string(r.DecodeString()) } - yyj1182++ - if yyhl1182 { - yyb1182 = yyj1182 > l + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1182 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1182 { + if yyb1197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10300,13 +10423,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.MinimumTimeoutHostPath = int32(r.DecodeInt(32)) } - yyj1182++ - if yyhl1182 { - yyb1182 = yyj1182 > l + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1182 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1182 { + if yyb1197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10317,17 +10440,17 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, x.IncrementTimeoutHostPath = int32(r.DecodeInt(32)) } for { - yyj1182++ - if yyhl1182 { - yyb1182 = yyj1182 > l + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1182 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1182 { + if yyb1197 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1182-1, "") + z.DecStructFieldNotFound(yyj1197-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10337,20 +10460,20 @@ func (x codecSelfer1234) encconfig_ConfigurationMap(v pkg2_config.ConfigurationM z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk1190, yyv1190 := range v { + for yyk1205, yyv1205 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym1191 := z.EncBinary() - _ = yym1191 + yym1206 := z.EncBinary() + _ = yym1206 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk1190)) + r.EncodeString(codecSelferC_UTF81234, string(yyk1205)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1192 := z.EncBinary() - _ = yym1192 + yym1207 := z.EncBinary() + _ = yym1207 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1190)) + r.EncodeString(codecSelferC_UTF81234, string(yyv1205)) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10361,63 +10484,63 @@ func (x codecSelfer1234) decconfig_ConfigurationMap(v *pkg2_config.Configuration z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1193 := *v - yyl1193 := r.ReadMapStart() - yybh1193 := z.DecBasicHandle() - if yyv1193 == nil { - yyrl1193, _ := z.DecInferLen(yyl1193, yybh1193.MaxInitLen, 32) - yyv1193 = make(map[string]string, yyrl1193) - *v = yyv1193 + yyv1208 := *v + yyl1208 := r.ReadMapStart() + yybh1208 := z.DecBasicHandle() + if yyv1208 == nil { + yyrl1208, _ := z.DecInferLen(yyl1208, yybh1208.MaxInitLen, 32) + yyv1208 = make(map[string]string, yyrl1208) + *v = yyv1208 } - var yymk1193 string - var yymv1193 string - var yymg1193 bool - if yybh1193.MapValueReset { + var yymk1208 string + var yymv1208 string + var yymg1208 bool + if yybh1208.MapValueReset { } - if yyl1193 > 0 { - for yyj1193 := 0; yyj1193 < yyl1193; yyj1193++ { + if yyl1208 > 0 { + for yyj1208 := 0; yyj1208 < yyl1208; yyj1208++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1193 = "" + yymk1208 = "" } else { - yymk1193 = string(r.DecodeString()) + yymk1208 = string(r.DecodeString()) } - if yymg1193 { - yymv1193 = yyv1193[yymk1193] + if yymg1208 { + yymv1208 = yyv1208[yymk1208] } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1193 = "" + yymv1208 = "" } else { - yymv1193 = string(r.DecodeString()) + yymv1208 = string(r.DecodeString()) } - if yyv1193 != nil { - yyv1193[yymk1193] = yymv1193 + if yyv1208 != nil { + yyv1208[yymk1208] = yymv1208 } } - } else if yyl1193 < 0 { - for yyj1193 := 0; !r.CheckBreak(); yyj1193++ { + } else if yyl1208 < 0 { + for yyj1208 := 0; !r.CheckBreak(); yyj1208++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1193 = "" + yymk1208 = "" } else { - yymk1193 = string(r.DecodeString()) + yymk1208 = string(r.DecodeString()) } - if yymg1193 { - yymv1193 = yyv1193[yymk1193] + if yymg1208 { + yymv1208 = yyv1208[yymk1208] } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1193 = "" + yymv1208 = "" } else { - yymv1193 = string(r.DecodeString()) + yymv1208 = string(r.DecodeString()) } - if yyv1193 != nil { - yyv1193[yymk1193] = yymv1193 + if yyv1208 != nil { + yyv1208[yymk1208] = yymv1208 } } } // else len==0: TODO: Should we clear map entries? diff --git a/pkg/apis/componentconfig/types.go b/pkg/apis/componentconfig/types.go index ae90ef87b2..d3e116766e 100644 --- a/pkg/apis/componentconfig/types.go +++ b/pkg/apis/componentconfig/types.go @@ -399,6 +399,18 @@ type KubeletConfiguration struct { KubeReserved utilconfig.ConfigurationMap `json:"kubeReserved"` // Default behaviour for kernel tuning ProtectKernelDefaults bool `json:"protectKernelDefaults"` + // If true, Kubelet ensures a set of iptables rules are present on host. + // These rules will serve as utility for various components, e.g. kube-proxy. + // The rules will be created based on IPTablesMasqueradeBit and IPTablesDropBit. + MakeIPTablesUtilChains bool `json:"makeIPTablesUtilChains"` + // iptablesMasqueradeBit is the bit of the iptables fwmark space to use for SNAT + // Values must be within the range [0, 31]. + // Warning: Please match the value of corresponding parameter in kube-proxy + // TODO: clean up IPTablesMasqueradeBit in kube-proxy + IPTablesMasqueradeBit int32 `json:"iptablesMasqueradeBit"` + // iptablesDropBit is the bit of the iptables fwmark space to use for dropping packets. Kubelet will ensure iptables mark and drop rules. + // Values must be within the range [0, 31]. Must be different from IPTablesMasqueradeBit + IPTablesDropBit int32 `json:"iptablesDropBit"` } type KubeSchedulerConfiguration struct { diff --git a/pkg/apis/componentconfig/v1alpha1/defaults.go b/pkg/apis/componentconfig/v1alpha1/defaults.go index a0e7ad0fc1..16031a1b75 100644 --- a/pkg/apis/componentconfig/v1alpha1/defaults.go +++ b/pkg/apis/componentconfig/v1alpha1/defaults.go @@ -43,6 +43,9 @@ const ( defaultRktAPIServiceEndpoint = "localhost:15441" AutoDetectCloudProvider = "auto-detect" + + defaultIPTablesMasqueradeBit = 14 + defaultIPTablesDropBit = 15 ) var zeroDuration = unversioned.Duration{} @@ -337,6 +340,17 @@ func SetDefaults_KubeletConfiguration(obj *KubeletConfiguration) { if obj.KubeReserved == nil { obj.KubeReserved = make(map[string]string) } + if obj.MakeIPTablesUtilChains == nil { + obj.MakeIPTablesUtilChains = boolVar(true) + } + if obj.IPTablesMasqueradeBit == nil { + temp := int32(defaultIPTablesMasqueradeBit) + obj.IPTablesMasqueradeBit = &temp + } + if obj.IPTablesDropBit == nil { + temp := int32(defaultIPTablesDropBit) + obj.IPTablesDropBit = &temp + } } func boolVar(b bool) *bool { diff --git a/pkg/apis/componentconfig/v1alpha1/types.go b/pkg/apis/componentconfig/v1alpha1/types.go index f44fe83ffd..b05d4f84c8 100644 --- a/pkg/apis/componentconfig/v1alpha1/types.go +++ b/pkg/apis/componentconfig/v1alpha1/types.go @@ -454,4 +454,16 @@ type KubeletConfiguration struct { KubeReserved map[string]string `json:"kubeReserved"` // Default behaviour for kernel tuning ProtectKernelDefaults bool `json:"protectKernelDefaults"` + // If true, Kubelet ensures a set of iptables rules are present on host. + // These rules will serve as utility rules for various components, e.g. KubeProxy. + // The rules will be created based on IPTablesMasqueradeBit and IPTablesDropBit. + MakeIPTablesUtilChains *bool `json:"makeIPTablesUtilChains"` + // iptablesMasqueradeBit is the bit of the iptables fwmark space to mark for SNAT + // Values must be within the range [0, 31]. Must be different from other mark bits. + // Warning: Please match the value of corresponding parameter in kube-proxy + // TODO: clean up IPTablesMasqueradeBit in kube-proxy + IPTablesMasqueradeBit *int32 `json:"iptablesMasqueradeBit"` + // iptablesDropBit is the bit of the iptables fwmark space to mark for dropping packets. + // Values must be within the range [0, 31]. Must be different from other mark bits. + IPTablesDropBit *int32 `json:"iptablesDropBit"` } diff --git a/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go b/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go index c4f6a2d513..9950e68eac 100644 --- a/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go @@ -320,6 +320,15 @@ func autoConvert_v1alpha1_KubeletConfiguration_To_componentconfig_KubeletConfigu out.KubeReserved = nil } out.ProtectKernelDefaults = in.ProtectKernelDefaults + if err := api.Convert_Pointer_bool_To_bool(&in.MakeIPTablesUtilChains, &out.MakeIPTablesUtilChains, s); err != nil { + return err + } + if err := api.Convert_Pointer_int32_To_int32(&in.IPTablesMasqueradeBit, &out.IPTablesMasqueradeBit, s); err != nil { + return err + } + if err := api.Convert_Pointer_int32_To_int32(&in.IPTablesDropBit, &out.IPTablesDropBit, s); err != nil { + return err + } return nil } @@ -485,6 +494,15 @@ func autoConvert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfigu out.KubeReserved = nil } out.ProtectKernelDefaults = in.ProtectKernelDefaults + if err := api.Convert_bool_To_Pointer_bool(&in.MakeIPTablesUtilChains, &out.MakeIPTablesUtilChains, s); err != nil { + return err + } + if err := api.Convert_int32_To_Pointer_int32(&in.IPTablesMasqueradeBit, &out.IPTablesMasqueradeBit, s); err != nil { + return err + } + if err := api.Convert_int32_To_Pointer_int32(&in.IPTablesDropBit, &out.IPTablesDropBit, s); err != nil { + return err + } return nil } diff --git a/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go index 45b5535741..9a5cd98538 100644 --- a/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go @@ -378,6 +378,27 @@ func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c * out.KubeReserved = nil } out.ProtectKernelDefaults = in.ProtectKernelDefaults + if in.MakeIPTablesUtilChains != nil { + in, out := &in.MakeIPTablesUtilChains, &out.MakeIPTablesUtilChains + *out = new(bool) + **out = **in + } else { + out.MakeIPTablesUtilChains = nil + } + if in.IPTablesMasqueradeBit != nil { + in, out := &in.IPTablesMasqueradeBit, &out.IPTablesMasqueradeBit + *out = new(int32) + **out = **in + } else { + out.IPTablesMasqueradeBit = nil + } + if in.IPTablesDropBit != nil { + in, out := &in.IPTablesDropBit, &out.IPTablesDropBit + *out = new(int32) + **out = **in + } else { + out.IPTablesDropBit = nil + } return nil } } diff --git a/pkg/apis/componentconfig/zz_generated.deepcopy.go b/pkg/apis/componentconfig/zz_generated.deepcopy.go index 15083944b8..7b33f8efb3 100644 --- a/pkg/apis/componentconfig/zz_generated.deepcopy.go +++ b/pkg/apis/componentconfig/zz_generated.deepcopy.go @@ -326,6 +326,9 @@ func DeepCopy_componentconfig_KubeletConfiguration(in interface{}, out interface out.KubeReserved = nil } out.ProtectKernelDefaults = in.ProtectKernelDefaults + out.MakeIPTablesUtilChains = in.MakeIPTablesUtilChains + out.IPTablesMasqueradeBit = in.IPTablesMasqueradeBit + out.IPTablesDropBit = in.IPTablesDropBit return nil } } From 3bf8679232fd0db511cbbeea5e68c707754f92bc Mon Sep 17 00:00:00 2001 From: Minhan Xia Date: Wed, 10 Aug 2016 14:29:48 -0700 Subject: [PATCH 2/3] add syncNetworkUtil in kubelet --- cmd/kubelet/app/server.go | 32 +++++++-- pkg/kubelet/kubelet.go | 20 ++++++ pkg/kubelet/kubelet_network.go | 101 ++++++++++++++++++++++++++++ pkg/kubelet/kubelet_network_test.go | 22 ++++++ 4 files changed, 169 insertions(+), 6 deletions(-) diff --git a/cmd/kubelet/app/server.go b/cmd/kubelet/app/server.go index 3ed0a2c0d2..fcd5de8941 100644 --- a/cmd/kubelet/app/server.go +++ b/cmd/kubelet/app/server.go @@ -200,6 +200,18 @@ func UnsecuredKubeletConfig(s *options.KubeletServer) (*KubeletConfig, error) { Thresholds: thresholds, } + if s.MakeIPTablesUtilChains { + if s.IPTablesMasqueradeBit > 31 || s.IPTablesMasqueradeBit < 0 { + return nil, fmt.Errorf("iptables-masquerade-bit is not valid. Must be within [0, 31]") + } + if s.IPTablesDropBit > 31 || s.IPTablesDropBit < 0 { + return nil, fmt.Errorf("iptables-drop-bit is not valid. Must be within [0, 31]") + } + if s.IPTablesDropBit == s.IPTablesMasqueradeBit { + return nil, fmt.Errorf("iptables-masquerade-bit and iptables-drop-bit must be different") + } + } + return &KubeletConfig{ Address: net.ParseIP(s.Address), AllowPrivileged: s.AllowPrivileged, @@ -282,10 +294,13 @@ func UnsecuredKubeletConfig(s *options.KubeletServer) (*KubeletConfig, error) { HairpinMode: s.HairpinMode, BabysitDaemons: s.BabysitDaemons, ExperimentalFlannelOverlay: s.ExperimentalFlannelOverlay, - NodeIP: net.ParseIP(s.NodeIP), - EvictionConfig: evictionConfig, - PodsPerCore: int(s.PodsPerCore), - ProtectKernelDefaults: s.ProtectKernelDefaults, + NodeIP: net.ParseIP(s.NodeIP), + EvictionConfig: evictionConfig, + PodsPerCore: int(s.PodsPerCore), + ProtectKernelDefaults: s.ProtectKernelDefaults, + MakeIPTablesUtilChains: s.MakeIPTablesUtilChains, + iptablesMasqueradeBit: int(s.IPTablesMasqueradeBit), + iptablesDropBit: int(s.IPTablesDropBit), }, nil } @@ -891,8 +906,10 @@ type KubeletConfig struct { HairpinMode string BabysitDaemons bool Options []kubelet.Option - - ProtectKernelDefaults bool + ProtectKernelDefaults bool + MakeIPTablesUtilChains bool + iptablesMasqueradeBit int + iptablesDropBit int } func CreateAndInitKubelet(kc *KubeletConfig) (k KubeletBootstrap, pc *config.PodConfig, err error) { @@ -990,6 +1007,9 @@ func CreateAndInitKubelet(kc *KubeletConfig) (k KubeletBootstrap, pc *config.Pod kc.EvictionConfig, kc.Options, kc.EnableControllerAttachDetach, + kc.MakeIPTablesUtilChains, + kc.iptablesMasqueradeBit, + kc.iptablesDropBit, ) if err != nil { diff --git a/pkg/kubelet/kubelet.go b/pkg/kubelet/kubelet.go index 67f12d7c57..dbeda1543e 100644 --- a/pkg/kubelet/kubelet.go +++ b/pkg/kubelet/kubelet.go @@ -243,6 +243,9 @@ func NewMainKubelet( evictionConfig eviction.Config, kubeOptions []Option, enableControllerAttachDetach bool, + makeIPTablesUtilChains bool, + iptablesMasqueradeBit int, + iptablesDropBit int, ) (*Kubelet, error) { if rootDirectory == "" { return nil, fmt.Errorf("invalid root directory %q", rootDirectory) @@ -367,6 +370,9 @@ func NewMainKubelet( babysitDaemons: babysitDaemons, enableControllerAttachDetach: enableControllerAttachDetach, iptClient: utilipt.New(utilexec.New(), utildbus.New(), utilipt.ProtocolIpv4), + makeIPTablesUtilChains: makeIPTablesUtilChains, + iptablesMasqueradeBit: iptablesMasqueradeBit, + iptablesDropBit: iptablesDropBit, } if klet.flannelExperimentalOverlay { @@ -840,6 +846,15 @@ type Kubelet struct { // trigger deleting containers in a pod containerDeletor *podContainerDeletor + + // config iptables util rules + makeIPTablesUtilChains bool + + // The bit of the fwmark space to mark packets for SNAT. + iptablesMasqueradeBit int + + // The bit of the fwmark space to mark packets for dropping. + iptablesDropBit int } // setupDataDirs creates: @@ -966,6 +981,11 @@ func (kl *Kubelet) Run(updates <-chan kubetypes.PodUpdate) { go wait.Until(kl.syncNetworkStatus, 30*time.Second, wait.NeverStop) go wait.Until(kl.updateRuntimeUp, 5*time.Second, wait.NeverStop) + // Start loop to sync iptables util rules + if kl.makeIPTablesUtilChains { + go wait.Until(kl.syncNetworkUtil, 1*time.Minute, wait.NeverStop) + } + // Start a goroutine responsible for killing pods (that are not properly // handled by pod workers). go wait.Until(kl.podKiller, 1*time.Second, wait.NeverStop) diff --git a/pkg/kubelet/kubelet_network.go b/pkg/kubelet/kubelet_network.go index 3a30348743..ed668e951d 100644 --- a/pkg/kubelet/kubelet_network.go +++ b/pkg/kubelet/kubelet_network.go @@ -28,9 +28,25 @@ import ( "k8s.io/kubernetes/pkg/apis/componentconfig" "k8s.io/kubernetes/pkg/kubelet/network" "k8s.io/kubernetes/pkg/util/bandwidth" + utiliptables "k8s.io/kubernetes/pkg/util/iptables" "k8s.io/kubernetes/pkg/util/sets" ) +const ( + // the mark-for-masquerade chain + // TODO: clean up this logic in kube-proxy + KubeMarkMasqChain utiliptables.Chain = "KUBE-MARK-MASQ" + + // the mark-for-drop chain + KubeMarkDropChain utiliptables.Chain = "KUBE-MARK-DROP" + + // kubernetes postrouting rules + KubePostroutingChain utiliptables.Chain = "KUBE-POSTROUTING" + + // kubernetes postrouting rules + KubeFirewallChain utiliptables.Chain = "KUBE-FIREWALL" +) + // effectiveHairpinMode determines the effective hairpin mode given the // configured mode, container runtime, and whether cbr0 should be configured. func effectiveHairpinMode(hairpinMode componentconfig.HairpinMode, containerRuntime string, configureCBR0 bool, networkPlugin string) (componentconfig.HairpinMode, error) { @@ -303,3 +319,88 @@ func (kl *Kubelet) shapingEnabled() bool { } return true } + +// syncNetworkUtil ensures the network utility are present on host. +// Network util includes: +// 1. In nat table, KUBE-MARK-DROP rule to mark connections for dropping +// Marked connection will be drop on INPUT/OUTPUT Chain in filter table +// 2. In nat table, KUBE-MARK-MASQ rule to mark connections for SNAT +// Marked connection will get SNAT on POSTROUTING Chain in nat table +func (kl *Kubelet) syncNetworkUtil() { + if kl.iptablesMasqueradeBit < 0 || kl.iptablesMasqueradeBit > 31 { + glog.Errorf("invalid iptables-masquerade-bit %v not in [0, 31]", kl.iptablesMasqueradeBit) + return + } + + if kl.iptablesDropBit < 0 || kl.iptablesDropBit > 31 { + glog.Errorf("invalid iptables-drop-bit %v not in [0, 31]", kl.iptablesDropBit) + return + } + + if kl.iptablesDropBit == kl.iptablesMasqueradeBit { + glog.Errorf("iptables-masquerade-bit %v and iptables-drop-bit %v must be different", kl.iptablesMasqueradeBit, kl.iptablesDropBit) + return + } + + // Setup KUBE-MARK-DROP rules + dropMark := getIPTablesMark(kl.iptablesDropBit) + if _, err := kl.iptClient.EnsureChain(utiliptables.TableNAT, KubeMarkDropChain); err != nil { + glog.Errorf("Failed to ensure that %s chain %s exists: %v", utiliptables.TableNAT, KubeMarkDropChain, err) + return + } + if _, err := kl.iptClient.EnsureRule(utiliptables.Append, utiliptables.TableNAT, KubeMarkDropChain, "-j", "MARK", "--set-xmark", dropMark); err != nil { + glog.Errorf("Failed to ensure marking rule for %v: %v", KubeMarkDropChain, err) + return + } + if _, err := kl.iptClient.EnsureChain(utiliptables.TableFilter, KubeFirewallChain); err != nil { + glog.Errorf("Failed to ensure that %s chain %s exists: %v", utiliptables.TableFilter, KubeFirewallChain, err) + return + } + if _, err := kl.iptClient.EnsureRule(utiliptables.Append, utiliptables.TableFilter, KubeFirewallChain, + "-m", "comment", "--comment", "kubernetes firewall for dropping marked packets", + "-m", "mark", "--mark", dropMark, + "-j", "DROP"); err != nil { + glog.Errorf("Failed to ensure rule to drop packet marked by %v in %v chain %v: %v", KubeMarkDropChain, utiliptables.TableFilter, KubeFirewallChain, err) + return + } + if _, err := kl.iptClient.EnsureRule(utiliptables.Prepend, utiliptables.TableFilter, utiliptables.ChainOutput, "-j", string(KubeFirewallChain)); err != nil { + glog.Errorf("Failed to ensure that %s chain %s jumps to %s: %v", utiliptables.TableFilter, utiliptables.ChainOutput, KubeFirewallChain, err) + return + } + if _, err := kl.iptClient.EnsureRule(utiliptables.Prepend, utiliptables.TableFilter, utiliptables.ChainInput, "-j", string(KubeFirewallChain)); err != nil { + glog.Errorf("Failed to ensure that %s chain %s jumps to %s: %v", utiliptables.TableFilter, utiliptables.ChainInput, KubeFirewallChain, err) + return + } + + // Setup KUBE-MARK-MASQ rules + masqueradeMark := getIPTablesMark(kl.iptablesMasqueradeBit) + if _, err := kl.iptClient.EnsureChain(utiliptables.TableNAT, KubeMarkMasqChain); err != nil { + glog.Errorf("Failed to ensure that %s chain %s exists: %v", utiliptables.TableNAT, KubeMarkMasqChain, err) + return + } + if _, err := kl.iptClient.EnsureChain(utiliptables.TableNAT, KubePostroutingChain); err != nil { + glog.Errorf("Failed to ensure that %s chain %s exists: %v", utiliptables.TableNAT, KubePostroutingChain, err) + return + } + if _, err := kl.iptClient.EnsureRule(utiliptables.Append, utiliptables.TableNAT, KubeMarkMasqChain, "-j", "MARK", "--set-xmark", masqueradeMark); err != nil { + glog.Errorf("Failed to ensure marking rule for %v: %v", KubeMarkMasqChain, err) + return + } + if _, err := kl.iptClient.EnsureRule(utiliptables.Prepend, utiliptables.TableNAT, utiliptables.ChainPostrouting, + "-m", "comment", "--comment", "kubernetes postrouting rules", "-j", string(KubePostroutingChain)); err != nil { + glog.Errorf("Failed to ensure that %s chain %s jumps to %s: %v", utiliptables.TableNAT, utiliptables.ChainPostrouting, KubePostroutingChain, err) + return + } + if _, err := kl.iptClient.EnsureRule(utiliptables.Append, utiliptables.TableNAT, KubePostroutingChain, + "-m", "comment", "--comment", "kubernetes service traffic requiring SNAT", + "-m", "mark", "--mark", masqueradeMark, "-j", "MASQUERADE"); err != nil { + glog.Errorf("Failed to ensure SNAT rule for packets marked by %v in %v chain %v: %v", KubeMarkMasqChain, utiliptables.TableNAT, KubePostroutingChain, err) + return + } +} + +// getIPTablesMark returns the fwmark given the bit +func getIPTablesMark(bit int) string { + value := 1 << uint(bit) + return fmt.Sprintf("%#08x/%#08x", value, value) +} diff --git a/pkg/kubelet/kubelet_network_test.go b/pkg/kubelet/kubelet_network_test.go index d546757a15..dbb3fa1cba 100644 --- a/pkg/kubelet/kubelet_network_test.go +++ b/pkg/kubelet/kubelet_network_test.go @@ -217,3 +217,25 @@ func TestCleanupBandwidthLimits(t *testing.T) { } } } + +func TestGetIPTablesMark(t *testing.T) { + tests := []struct { + bit int + expect string + }{ + { + 14, + "0x00004000/0x00004000", + }, + { + 15, + "0x00008000/0x00008000", + }, + } + for _, tc := range tests { + res := getIPTablesMark(tc.bit) + if res != tc.expect { + t.Errorf("getIPTablesMark output unexpected result: %v when input bit is %d. Expect result: %v", res, tc.bit, tc.expect) + } + } +} From 643fc3803be991685fd3524383b5d47b148efe21 Mon Sep 17 00:00:00 2001 From: Minhan Xia Date: Thu, 11 Aug 2016 16:06:22 -0700 Subject: [PATCH 3/3] add firewall chain to filter request based on loadbalancer source range --- cmd/kube-proxy/app/server.go | 18 ++++- pkg/proxy/iptables/proxier.go | 144 +++++++++++++++++++++++++--------- 2 files changed, 123 insertions(+), 39 deletions(-) diff --git a/cmd/kube-proxy/app/server.go b/cmd/kube-proxy/app/server.go index 609cc26cb3..d10d38905b 100644 --- a/cmd/kube-proxy/app/server.go +++ b/cmd/kube-proxy/app/server.go @@ -204,8 +204,7 @@ func NewProxyServerDefault(config *options.ProxyServerConfig) (*ProxyServer, err // IPTablesMasqueradeBit must be specified or defaulted. return nil, fmt.Errorf("Unable to read IPTablesMasqueradeBit from config") } - - proxierIptables, err := iptables.NewProxier(iptInterface, execer, config.IPTablesSyncPeriod.Duration, config.MasqueradeAll, int(*config.IPTablesMasqueradeBit), config.ClusterCIDR, hostname) + proxierIptables, err := iptables.NewProxier(iptInterface, execer, config.IPTablesSyncPeriod.Duration, config.MasqueradeAll, int(*config.IPTablesMasqueradeBit), config.ClusterCIDR, hostname, getNodeIP(client, hostname)) if err != nil { glog.Fatalf("Unable to create proxier: %v", err) } @@ -409,3 +408,18 @@ func tryIptablesProxy(iptver iptables.IptablesVersioner, kcompat iptables.Kernel func (s *ProxyServer) birthCry() { s.Recorder.Eventf(s.Config.NodeRef, api.EventTypeNormal, "Starting", "Starting kube-proxy.") } + +func getNodeIP(client *kubeclient.Client, hostname string) net.IP { + var nodeIP net.IP + node, err := client.Nodes().Get(hostname) + if err != nil { + glog.Warningf("Failed to retrieve node info: %v", err) + return nil + } + nodeIP, err = nodeutil.GetNodeHostIP(node) + if err != nil { + glog.Warningf("Failed to retrieve node IP: %v", err) + return nil + } + return nodeIP +} diff --git a/pkg/proxy/iptables/proxier.go b/pkg/proxy/iptables/proxier.go index 197d0779d8..1405d492bb 100644 --- a/pkg/proxy/iptables/proxier.go +++ b/pkg/proxy/iptables/proxier.go @@ -45,31 +45,35 @@ import ( utilsysctl "k8s.io/kubernetes/pkg/util/sysctl" ) -// iptablesMinVersion is the minimum version of iptables for which we will use the Proxier -// from this package instead of the userspace Proxier. While most of the -// features we need were available earlier, the '-C' flag was added more -// recently. We use that indirectly in Ensure* functions, and if we don't -// have it, we have to be extra careful about the exact args we feed in being -// the same as the args we read back (iptables itself normalizes some args). -// This is the "new" Proxier, so we require "new" versions of tools. -const iptablesMinVersion = utiliptables.MinCheckVersion +const ( + // iptablesMinVersion is the minimum version of iptables for which we will use the Proxier + // from this package instead of the userspace Proxier. While most of the + // features we need were available earlier, the '-C' flag was added more + // recently. We use that indirectly in Ensure* functions, and if we don't + // have it, we have to be extra careful about the exact args we feed in being + // the same as the args we read back (iptables itself normalizes some args). + // This is the "new" Proxier, so we require "new" versions of tools. + iptablesMinVersion = utiliptables.MinCheckVersion -// the services chain -const kubeServicesChain utiliptables.Chain = "KUBE-SERVICES" + // the services chain + kubeServicesChain utiliptables.Chain = "KUBE-SERVICES" -// the nodeports chain -const kubeNodePortsChain utiliptables.Chain = "KUBE-NODEPORTS" + // the nodeports chain + kubeNodePortsChain utiliptables.Chain = "KUBE-NODEPORTS" -// the kubernetes postrouting chain -const kubePostroutingChain utiliptables.Chain = "KUBE-POSTROUTING" + // the kubernetes postrouting chain + kubePostroutingChain utiliptables.Chain = "KUBE-POSTROUTING" -// the mark-for-masquerade chain -// TODO: let kubelet manage this chain. Other component should just assume it exists and use it. -const KubeMarkMasqChain utiliptables.Chain = "KUBE-MARK-MASQ" + // the mark-for-masquerade chain + KubeMarkMasqChain utiliptables.Chain = "KUBE-MARK-MASQ" -// the mark we apply to traffic needing SNAT -// TODO(thockin): Remove this for v1.3 or v1.4. -const oldIptablesMasqueradeMark = "0x4d415351" + // the mark we apply to traffic needing SNAT + // TODO(thockin): Remove this for v1.3 or v1.4. + oldIptablesMasqueradeMark = "0x4d415351" + + // the mark-for-drop chain + KubeMarkDropChain utiliptables.Chain = "KUBE-MARK-DROP" +) // IptablesVersioner can query the current iptables version. type IptablesVersioner interface { @@ -128,14 +132,15 @@ const sysctlBridgeCallIptables = "net/bridge/bridge-nf-call-iptables" // internal struct for string service information type serviceInfo struct { - clusterIP net.IP - port int - protocol api.Protocol - nodePort int - loadBalancerStatus api.LoadBalancerStatus - sessionAffinityType api.ServiceAffinity - stickyMaxAgeSeconds int - externalIPs []string + clusterIP net.IP + port int + protocol api.Protocol + nodePort int + loadBalancerStatus api.LoadBalancerStatus + sessionAffinityType api.ServiceAffinity + stickyMaxAgeSeconds int + externalIPs []string + loadBalancerSourceRanges []string } // returns a new serviceInfo struct @@ -164,6 +169,7 @@ type Proxier struct { exec utilexec.Interface clusterCIDR string hostname string + nodeIP net.IP } type localPort struct { @@ -189,7 +195,7 @@ var _ proxy.ProxyProvider = &Proxier{} // An error will be returned if iptables fails to update or acquire the initial lock. // Once a proxier is created, it will keep iptables up to date in the background and // will not terminate if a particular iptables call fails. -func NewProxier(ipt utiliptables.Interface, exec utilexec.Interface, syncPeriod time.Duration, masqueradeAll bool, masqueradeBit int, clusterCIDR string, hostname string) (*Proxier, error) { +func NewProxier(ipt utiliptables.Interface, exec utilexec.Interface, syncPeriod time.Duration, masqueradeAll bool, masqueradeBit int, clusterCIDR string, hostname string, nodeIP net.IP) (*Proxier, error) { // Set the route_localnet sysctl we need for if err := utilsysctl.SetSysctl(sysctlRouteLocalnet, 1); err != nil { return nil, fmt.Errorf("can't set sysctl %s: %v", sysctlRouteLocalnet, err) @@ -209,6 +215,10 @@ func NewProxier(ipt utiliptables.Interface, exec utilexec.Interface, syncPeriod masqueradeValue := 1 << uint(masqueradeBit) masqueradeMark := fmt.Sprintf("%#08x/%#08x", masqueradeValue, masqueradeValue) + if nodeIP == nil { + glog.Warningf("invalid nodeIP, initialize kube-proxy with 127.0.0.1 as nodeIP") + nodeIP = net.ParseIP("127.0.0.1") + } return &Proxier{ serviceMap: make(map[proxy.ServicePortName]*serviceInfo), endpointsMap: make(map[proxy.ServicePortName][]string), @@ -220,6 +230,7 @@ func NewProxier(ipt utiliptables.Interface, exec utilexec.Interface, syncPeriod exec: exec, clusterCIDR: clusterCIDR, hostname: hostname, + nodeIP: nodeIP, }, nil } @@ -428,6 +439,7 @@ func (proxier *Proxier) OnServiceUpdate(allServices []api.Service) { // Deep-copy in case the service instance changes info.loadBalancerStatus = *api.LoadBalancerStatusDeepCopy(&service.Status.LoadBalancer) info.sessionAffinityType = service.Spec.SessionAffinity + info.loadBalancerSourceRanges = service.Spec.LoadBalancerSourceRanges proxier.serviceMap[serviceName] = info glog.V(4).Infof("added serviceInfo(%s): %s", serviceName, spew.Sdump(info)) @@ -552,15 +564,28 @@ func flattenValidEndpoints(endpoints []hostPortPair) []string { return result } -// servicePortChainName takes the ServicePortName for a service and -// returns the associated iptables chain. This is computed by hashing (sha256) -// then encoding to base32 and truncating with the prefix "KUBE-SVC-". We do -// this because Iptables Chain Names must be <= 28 chars long, and the longer -// they are the harder they are to read. -func servicePortChainName(s proxy.ServicePortName, protocol string) utiliptables.Chain { +// portProtoHash takes the ServicePortName and protocol for a service +// returns the associated 16 character hash. This is computed by hashing (sha256) +// then encoding to base32 and truncating to 16 chars. We do this because Iptables +// Chain Names must be <= 28 chars long, and the longer they are the harder they are to read. +func portProtoHash(s proxy.ServicePortName, protocol string) string { hash := sha256.Sum256([]byte(s.String() + protocol)) encoded := base32.StdEncoding.EncodeToString(hash[:]) - return utiliptables.Chain("KUBE-SVC-" + encoded[:16]) + return encoded[:16] +} + +// servicePortChainName takes the ServicePortName for a service and +// returns the associated iptables chain. This is computed by hashing (sha256) +// then encoding to base32 and truncating with the prefix "KUBE-SVC-". +func servicePortChainName(s proxy.ServicePortName, protocol string) utiliptables.Chain { + return utiliptables.Chain("KUBE-SVC-" + portProtoHash(s, protocol)) +} + +// servicePortChainName takes the ServicePortName for a service and +// returns the associated iptables chain. This is computed by hashing (sha256) +// then encoding to base32 and truncating with the prefix "KUBE-FW-". +func serviceFirewallChainName(s proxy.ServicePortName, protocol string) utiliptables.Chain { + return utiliptables.Chain("KUBE-FW-" + portProtoHash(s, protocol)) } // This is the same as servicePortChainName but with the endpoint included. @@ -854,9 +879,54 @@ func (proxier *Proxier) syncProxyRules() { "-d", fmt.Sprintf("%s/32", ingress.IP), "--dport", fmt.Sprintf("%d", svcInfo.port), } + // create service firewall chain + fwChain := serviceFirewallChainName(svcName, protocol) + if chain, ok := existingNATChains[fwChain]; ok { + writeLine(natChains, chain) + } else { + writeLine(natChains, utiliptables.MakeChainLine(fwChain)) + } + // jump to service firewall chain + // The service firewall rules are created based on ServiceSpec.loadBalancerSourceRanges field. + // This currently works for loadbalancers that preserves source ips. + // For loadbalancers which direct traffic to service NodePort, the firewall rules will not apply. + writeLine(natRules, append(args, "-j", string(fwChain))...) + + args = []string{ + "-A", string(fwChain), + "-m", "comment", "--comment", fmt.Sprintf(`"%s loadbalancer IP"`, svcName.String()), + "-m", protocol, "-p", protocol, + "-d", fmt.Sprintf("%s/32", ingress.IP), + "--dport", fmt.Sprintf("%d", svcInfo.port), + } // We have to SNAT packets from external IPs. writeLine(natRules, append(args, "-j", string(KubeMarkMasqChain))...) - writeLine(natRules, append(args, "-j", string(svcChain))...) + + if len(svcInfo.loadBalancerSourceRanges) == 0 { + // allow all sources, so jump directly to KUBE-SVC chain + writeLine(natRules, append(args, "-j", string(svcChain))...) + } else { + // firewall filter based on each source range + allowFromNode := false + for _, src := range svcInfo.loadBalancerSourceRanges { + writeLine(natRules, append(args, "-s", src, "-j", string(svcChain))...) + // ignore error because it has been validated + _, cidr, _ := net.ParseCIDR(src) + if cidr.Contains(proxier.nodeIP) { + allowFromNode = true + } + } + // generally, ip route rule was added to intercept request to loadbalancer vip from the + // loadbalancer's backend hosts. In this case, request will not hit the loadbalancer but loop back directly. + // Need to add the following rule to allow request on host. + if allowFromNode { + writeLine(natRules, append(args, "-s", fmt.Sprintf("%s/32", ingress.IP), "-j", string(svcChain))...) + } + } + + // If the packet was able to reach the end of firewall chain, then it did not get DNATed. + // It means the packet cannot go thru the firewall, then mark it for DROP + writeLine(natRules, append(args, "-j", string(KubeMarkDropChain))...) } }