diff --git a/api/swagger-spec/v1beta1.json b/api/swagger-spec/v1beta1.json index 5139f1f6ea7..3f84caf1e4d 100644 --- a/api/swagger-spec/v1beta1.json +++ b/api/swagger-spec/v1beta1.json @@ -3223,6 +3223,11 @@ "format": "int32", "description": "Completions specifies the desired number of successfully finished pods the job should be run with. Defaults to 1. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md" }, + "activeDeadlineSeconds": { + "type": "integer", + "format": "int64", + "description": "Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer" + }, "selector": { "$ref": "v1beta1.LabelSelector", "description": "Selector is a label query over pods that should match the pod count. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors" diff --git a/cmd/libs/go2idl/client-gen/testdata/apis/testgroup/types.generated.go b/cmd/libs/go2idl/client-gen/testdata/apis/testgroup/types.generated.go index 940dce7ddb8..a6f59592188 100644 --- a/cmd/libs/go2idl/client-gen/testdata/apis/testgroup/types.generated.go +++ b/cmd/libs/go2idl/client-gen/testdata/apis/testgroup/types.generated.go @@ -158,7 +158,13 @@ func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[2] { yy10 := &x.ObjectMeta - yy10.CodecEncodeSelf(e) + yym11 := z.EncBinary() + _ = yym11 + if false { + } else if z.HasExtensions() && z.EncExt(yy10) { + } else { + z.EncFallback(yy10) + } } else { r.EncodeNil() } @@ -167,8 +173,14 @@ func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.ObjectMeta - yy11.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yym13 := z.EncBinary() + _ = yym13 + if false { + } else if z.HasExtensions() && z.EncExt(yy12) { + } else { + z.EncFallback(yy12) + } } } if yyr2 || yy2arr2 { @@ -184,25 +196,25 @@ func (x *TestType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym12 := z.DecBinary() - _ = yym12 + yym14 := z.DecBinary() + _ = yym14 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct13 := r.ContainerType() - if yyct13 == codecSelferValueTypeMap1234 { - yyl13 := r.ReadMapStart() - if yyl13 == 0 { + yyct15 := r.ContainerType() + if yyct15 == codecSelferValueTypeMap1234 { + yyl15 := r.ReadMapStart() + if yyl15 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl13, d) + x.codecDecodeSelfFromMap(yyl15, d) } - } else if yyct13 == codecSelferValueTypeArray1234 { - yyl13 := r.ReadArrayStart() - if yyl13 == 0 { + } else if yyct15 == codecSelferValueTypeArray1234 { + yyl15 := r.ReadArrayStart() + if yyl15 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl13, d) + x.codecDecodeSelfFromArray(yyl15, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -214,12 +226,12 @@ func (x *TestType) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys14Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys14Slc - var yyhl14 bool = l >= 0 - for yyj14 := 0; ; yyj14++ { - if yyhl14 { - if yyj14 >= l { + var yys16Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys16Slc + var yyhl16 bool = l >= 0 + for yyj16 := 0; ; yyj16++ { + if yyhl16 { + if yyj16 >= l { break } } else { @@ -228,10 +240,10 @@ func (x *TestType) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys14Slc = r.DecodeBytes(yys14Slc, true, true) - yys14 := string(yys14Slc) + yys16Slc = r.DecodeBytes(yys16Slc, true, true) + yys16 := string(yys16Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys14 { + switch yys16 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -248,13 +260,19 @@ func (x *TestType) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv17 := &x.ObjectMeta - yyv17.CodecDecodeSelf(d) + yyv19 := &x.ObjectMeta + yym20 := z.DecBinary() + _ = yym20 + if false { + } else if z.HasExtensions() && z.DecExt(yyv19) { + } else { + z.DecFallback(yyv19, false) + } } default: - z.DecStructFieldNotFound(-1, yys14) - } // end switch yys14 - } // end for yyj14 + z.DecStructFieldNotFound(-1, yys16) + } // end switch yys16 + } // end for yyj16 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -262,16 +280,16 @@ func (x *TestType) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj18 int - var yyb18 bool - var yyhl18 bool = l >= 0 - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + var yyj21 int + var yyb21 bool + var yyhl21 bool = l >= 0 + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb18 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb18 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -281,13 +299,13 @@ func (x *TestType) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb18 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb18 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -297,13 +315,13 @@ func (x *TestType) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb18 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb18 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -311,21 +329,27 @@ func (x *TestType) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv21 := &x.ObjectMeta - yyv21.CodecDecodeSelf(d) + yyv24 := &x.ObjectMeta + yym25 := z.DecBinary() + _ = yym25 + if false { + } else if z.HasExtensions() && z.DecExt(yyv24) { + } else { + z.DecFallback(yyv24, false) + } } for { - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb18 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb18 { + if yyb21 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj18-1, "") + z.DecStructFieldNotFound(yyj21-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -337,118 +361,118 @@ func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym22 := z.EncBinary() - _ = yym22 + yym26 := z.EncBinary() + _ = yym26 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep23 := !z.EncBinary() - yy2arr23 := z.EncBasicHandle().StructToArray - var yyq23 [4]bool - _, _, _ = yysep23, yyq23, yy2arr23 - const yyr23 bool = false - yyq23[0] = x.Kind != "" - yyq23[1] = x.APIVersion != "" - yyq23[2] = true - var yynn23 int - if yyr23 || yy2arr23 { + yysep27 := !z.EncBinary() + yy2arr27 := z.EncBasicHandle().StructToArray + var yyq27 [4]bool + _, _, _ = yysep27, yyq27, yy2arr27 + const yyr27 bool = false + yyq27[0] = x.Kind != "" + yyq27[1] = x.APIVersion != "" + yyq27[2] = true + var yynn27 int + if yyr27 || yy2arr27 { r.EncodeArrayStart(4) } else { - yynn23 = 1 - for _, b := range yyq23 { + yynn27 = 1 + for _, b := range yyq27 { if b { - yynn23++ + yynn27++ } } - r.EncodeMapStart(yynn23) - yynn23 = 0 + r.EncodeMapStart(yynn27) + yynn27 = 0 } - if yyr23 || yy2arr23 { + if yyr27 || yy2arr27 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq23[0] { - yym25 := z.EncBinary() - _ = yym25 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq23[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr23 || yy2arr23 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq23[1] { - yym28 := z.EncBinary() - _ = yym28 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq23[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq27[0] { yym29 := z.EncBinary() _ = yym29 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq27[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym30 := z.EncBinary() + _ = yym30 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr27 || yy2arr27 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq27[1] { + yym32 := z.EncBinary() + _ = yym32 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq27[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym33 := z.EncBinary() + _ = yym33 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr23 || yy2arr23 { + if yyr27 || yy2arr27 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq23[2] { - yy31 := &x.ListMeta - yym32 := z.EncBinary() - _ = yym32 + if yyq27[2] { + yy35 := &x.ListMeta + yym36 := z.EncBinary() + _ = yym36 if false { - } else if z.HasExtensions() && z.EncExt(yy31) { + } else if z.HasExtensions() && z.EncExt(yy35) { } else { - z.EncFallback(yy31) + z.EncFallback(yy35) } } else { r.EncodeNil() } } else { - if yyq23[2] { + if yyq27[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy33 := &x.ListMeta - yym34 := z.EncBinary() - _ = yym34 + yy37 := &x.ListMeta + yym38 := z.EncBinary() + _ = yym38 if false { - } else if z.HasExtensions() && z.EncExt(yy33) { + } else if z.HasExtensions() && z.EncExt(yy37) { } else { - z.EncFallback(yy33) + z.EncFallback(yy37) } } } - if yyr23 || yy2arr23 { + if yyr27 || yy2arr27 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym36 := z.EncBinary() - _ = yym36 + yym40 := z.EncBinary() + _ = yym40 if false { } else { h.encSliceTestType(([]TestType)(x.Items), e) @@ -461,15 +485,15 @@ func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym37 := z.EncBinary() - _ = yym37 + yym41 := z.EncBinary() + _ = yym41 if false { } else { h.encSliceTestType(([]TestType)(x.Items), e) } } } - if yyr23 || yy2arr23 { + if yyr27 || yy2arr27 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -482,25 +506,25 @@ func (x *TestTypeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym38 := z.DecBinary() - _ = yym38 + yym42 := z.DecBinary() + _ = yym42 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct39 := r.ContainerType() - if yyct39 == codecSelferValueTypeMap1234 { - yyl39 := r.ReadMapStart() - if yyl39 == 0 { + yyct43 := r.ContainerType() + if yyct43 == codecSelferValueTypeMap1234 { + yyl43 := r.ReadMapStart() + if yyl43 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl39, d) + x.codecDecodeSelfFromMap(yyl43, d) } - } else if yyct39 == codecSelferValueTypeArray1234 { - yyl39 := r.ReadArrayStart() - if yyl39 == 0 { + } else if yyct43 == codecSelferValueTypeArray1234 { + yyl43 := r.ReadArrayStart() + if yyl43 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl39, d) + x.codecDecodeSelfFromArray(yyl43, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -512,12 +536,12 @@ func (x *TestTypeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys40Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys40Slc - var yyhl40 bool = l >= 0 - for yyj40 := 0; ; yyj40++ { - if yyhl40 { - if yyj40 >= l { + var yys44Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys44Slc + var yyhl44 bool = l >= 0 + for yyj44 := 0; ; yyj44++ { + if yyhl44 { + if yyj44 >= l { break } } else { @@ -526,10 +550,10 @@ func (x *TestTypeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys40Slc = r.DecodeBytes(yys40Slc, true, true) - yys40 := string(yys40Slc) + yys44Slc = r.DecodeBytes(yys44Slc, true, true) + yys44 := string(yys44Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys40 { + switch yys44 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -546,31 +570,31 @@ func (x *TestTypeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv43 := &x.ListMeta - yym44 := z.DecBinary() - _ = yym44 + yyv47 := &x.ListMeta + yym48 := z.DecBinary() + _ = yym48 if false { - } else if z.HasExtensions() && z.DecExt(yyv43) { + } else if z.HasExtensions() && z.DecExt(yyv47) { } else { - z.DecFallback(yyv43, false) + z.DecFallback(yyv47, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv45 := &x.Items - yym46 := z.DecBinary() - _ = yym46 + yyv49 := &x.Items + yym50 := z.DecBinary() + _ = yym50 if false { } else { - h.decSliceTestType((*[]TestType)(yyv45), d) + h.decSliceTestType((*[]TestType)(yyv49), d) } } default: - z.DecStructFieldNotFound(-1, yys40) - } // end switch yys40 - } // end for yyj40 + z.DecStructFieldNotFound(-1, yys44) + } // end switch yys44 + } // end for yyj44 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -578,16 +602,16 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj47 int - var yyb47 bool - var yyhl47 bool = l >= 0 - yyj47++ - if yyhl47 { - yyb47 = yyj47 > l + var yyj51 int + var yyb51 bool + var yyhl51 bool = l >= 0 + yyj51++ + if yyhl51 { + yyb51 = yyj51 > l } else { - yyb47 = r.CheckBreak() + yyb51 = r.CheckBreak() } - if yyb47 { + if yyb51 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -597,13 +621,13 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj47++ - if yyhl47 { - yyb47 = yyj47 > l + yyj51++ + if yyhl51 { + yyb51 = yyj51 > l } else { - yyb47 = r.CheckBreak() + yyb51 = r.CheckBreak() } - if yyb47 { + if yyb51 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -613,13 +637,13 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj47++ - if yyhl47 { - yyb47 = yyj47 > l + yyj51++ + if yyhl51 { + yyb51 = yyj51 > l } else { - yyb47 = r.CheckBreak() + yyb51 = r.CheckBreak() } - if yyb47 { + if yyb51 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -627,22 +651,22 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv50 := &x.ListMeta - yym51 := z.DecBinary() - _ = yym51 + yyv54 := &x.ListMeta + yym55 := z.DecBinary() + _ = yym55 if false { - } else if z.HasExtensions() && z.DecExt(yyv50) { + } else if z.HasExtensions() && z.DecExt(yyv54) { } else { - z.DecFallback(yyv50, false) + z.DecFallback(yyv54, false) } } - yyj47++ - if yyhl47 { - yyb47 = yyj47 > l + yyj51++ + if yyhl51 { + yyb51 = yyj51 > l } else { - yyb47 = r.CheckBreak() + yyb51 = r.CheckBreak() } - if yyb47 { + if yyb51 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -650,26 +674,26 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv52 := &x.Items - yym53 := z.DecBinary() - _ = yym53 + yyv56 := &x.Items + yym57 := z.DecBinary() + _ = yym57 if false { } else { - h.decSliceTestType((*[]TestType)(yyv52), d) + h.decSliceTestType((*[]TestType)(yyv56), d) } } for { - yyj47++ - if yyhl47 { - yyb47 = yyj47 > l + yyj51++ + if yyhl51 { + yyb51 = yyj51 > l } else { - yyb47 = r.CheckBreak() + yyb51 = r.CheckBreak() } - if yyb47 { + if yyb51 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj47-1, "") + z.DecStructFieldNotFound(yyj51-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -679,10 +703,10 @@ func (x codecSelfer1234) encSliceTestType(v []TestType, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv54 := range v { + for _, yyv58 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy55 := &yyv54 - yy55.CodecEncodeSelf(e) + yy59 := &yyv58 + yy59.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -692,83 +716,83 @@ func (x codecSelfer1234) decSliceTestType(v *[]TestType, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv56 := *v - yyh56, yyl56 := z.DecSliceHelperStart() - var yyc56 bool - if yyl56 == 0 { - if yyv56 == nil { - yyv56 = []TestType{} - yyc56 = true - } else if len(yyv56) != 0 { - yyv56 = yyv56[:0] - yyc56 = true + yyv60 := *v + yyh60, yyl60 := z.DecSliceHelperStart() + var yyc60 bool + if yyl60 == 0 { + if yyv60 == nil { + yyv60 = []TestType{} + yyc60 = true + } else if len(yyv60) != 0 { + yyv60 = yyv60[:0] + yyc60 = true } - } else if yyl56 > 0 { - var yyrr56, yyrl56 int - var yyrt56 bool - if yyl56 > cap(yyv56) { + } else if yyl60 > 0 { + var yyrr60, yyrl60 int + var yyrt60 bool + if yyl60 > cap(yyv60) { - yyrg56 := len(yyv56) > 0 - yyv256 := yyv56 - yyrl56, yyrt56 = z.DecInferLen(yyl56, z.DecBasicHandle().MaxInitLen, 192) - if yyrt56 { - if yyrl56 <= cap(yyv56) { - yyv56 = yyv56[:yyrl56] + yyrg60 := len(yyv60) > 0 + yyv260 := yyv60 + yyrl60, yyrt60 = z.DecInferLen(yyl60, z.DecBasicHandle().MaxInitLen, 192) + if yyrt60 { + if yyrl60 <= cap(yyv60) { + yyv60 = yyv60[:yyrl60] } else { - yyv56 = make([]TestType, yyrl56) + yyv60 = make([]TestType, yyrl60) } } else { - yyv56 = make([]TestType, yyrl56) + yyv60 = make([]TestType, yyrl60) } - yyc56 = true - yyrr56 = len(yyv56) - if yyrg56 { - copy(yyv56, yyv256) + yyc60 = true + yyrr60 = len(yyv60) + if yyrg60 { + copy(yyv60, yyv260) } - } else if yyl56 != len(yyv56) { - yyv56 = yyv56[:yyl56] - yyc56 = true + } else if yyl60 != len(yyv60) { + yyv60 = yyv60[:yyl60] + yyc60 = true } - yyj56 := 0 - for ; yyj56 < yyrr56; yyj56++ { - yyh56.ElemContainerState(yyj56) + yyj60 := 0 + for ; yyj60 < yyrr60; yyj60++ { + yyh60.ElemContainerState(yyj60) if r.TryDecodeAsNil() { - yyv56[yyj56] = TestType{} + yyv60[yyj60] = TestType{} } else { - yyv57 := &yyv56[yyj56] - yyv57.CodecDecodeSelf(d) + yyv61 := &yyv60[yyj60] + yyv61.CodecDecodeSelf(d) } } - if yyrt56 { - for ; yyj56 < yyl56; yyj56++ { - yyv56 = append(yyv56, TestType{}) - yyh56.ElemContainerState(yyj56) + if yyrt60 { + for ; yyj60 < yyl60; yyj60++ { + yyv60 = append(yyv60, TestType{}) + yyh60.ElemContainerState(yyj60) if r.TryDecodeAsNil() { - yyv56[yyj56] = TestType{} + yyv60[yyj60] = TestType{} } else { - yyv58 := &yyv56[yyj56] - yyv58.CodecDecodeSelf(d) + yyv62 := &yyv60[yyj60] + yyv62.CodecDecodeSelf(d) } } } } else { - yyj56 := 0 - for ; !r.CheckBreak(); yyj56++ { + yyj60 := 0 + for ; !r.CheckBreak(); yyj60++ { - if yyj56 >= len(yyv56) { - yyv56 = append(yyv56, TestType{}) // var yyz56 TestType - yyc56 = true + if yyj60 >= len(yyv60) { + yyv60 = append(yyv60, TestType{}) // var yyz60 TestType + yyc60 = true } - yyh56.ElemContainerState(yyj56) - if yyj56 < len(yyv56) { + yyh60.ElemContainerState(yyj60) + if yyj60 < len(yyv60) { if r.TryDecodeAsNil() { - yyv56[yyj56] = TestType{} + yyv60[yyj60] = TestType{} } else { - yyv59 := &yyv56[yyj56] - yyv59.CodecDecodeSelf(d) + yyv63 := &yyv60[yyj60] + yyv63.CodecDecodeSelf(d) } } else { @@ -776,16 +800,16 @@ func (x codecSelfer1234) decSliceTestType(v *[]TestType, d *codec1978.Decoder) { } } - if yyj56 < len(yyv56) { - yyv56 = yyv56[:yyj56] - yyc56 = true - } else if yyj56 == 0 && yyv56 == nil { - yyv56 = []TestType{} - yyc56 = true + if yyj60 < len(yyv60) { + yyv60 = yyv60[:yyj60] + yyc60 = true + } else if yyj60 == 0 && yyv60 == nil { + yyv60 = []TestType{} + yyc60 = true } } - yyh56.End() - if yyc56 { - *v = yyv56 + yyh60.End() + if yyc60 { + *v = yyv60 } } diff --git a/cmd/libs/go2idl/client-gen/testdata/apis/testgroup/v1/types.generated.go b/cmd/libs/go2idl/client-gen/testdata/apis/testgroup/v1/types.generated.go index bba70885e63..e59741cca7e 100644 --- a/cmd/libs/go2idl/client-gen/testdata/apis/testgroup/v1/types.generated.go +++ b/cmd/libs/go2idl/client-gen/testdata/apis/testgroup/v1/types.generated.go @@ -158,7 +158,13 @@ func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[2] { yy10 := &x.ObjectMeta - yy10.CodecEncodeSelf(e) + yym11 := z.EncBinary() + _ = yym11 + if false { + } else if z.HasExtensions() && z.EncExt(yy10) { + } else { + z.EncFallback(yy10) + } } else { r.EncodeNil() } @@ -167,8 +173,14 @@ func (x *TestType) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.ObjectMeta - yy11.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yym13 := z.EncBinary() + _ = yym13 + if false { + } else if z.HasExtensions() && z.EncExt(yy12) { + } else { + z.EncFallback(yy12) + } } } if yyr2 || yy2arr2 { @@ -184,25 +196,25 @@ func (x *TestType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym12 := z.DecBinary() - _ = yym12 + yym14 := z.DecBinary() + _ = yym14 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct13 := r.ContainerType() - if yyct13 == codecSelferValueTypeMap1234 { - yyl13 := r.ReadMapStart() - if yyl13 == 0 { + yyct15 := r.ContainerType() + if yyct15 == codecSelferValueTypeMap1234 { + yyl15 := r.ReadMapStart() + if yyl15 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl13, d) + x.codecDecodeSelfFromMap(yyl15, d) } - } else if yyct13 == codecSelferValueTypeArray1234 { - yyl13 := r.ReadArrayStart() - if yyl13 == 0 { + } else if yyct15 == codecSelferValueTypeArray1234 { + yyl15 := r.ReadArrayStart() + if yyl15 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl13, d) + x.codecDecodeSelfFromArray(yyl15, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -214,12 +226,12 @@ func (x *TestType) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys14Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys14Slc - var yyhl14 bool = l >= 0 - for yyj14 := 0; ; yyj14++ { - if yyhl14 { - if yyj14 >= l { + var yys16Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys16Slc + var yyhl16 bool = l >= 0 + for yyj16 := 0; ; yyj16++ { + if yyhl16 { + if yyj16 >= l { break } } else { @@ -228,10 +240,10 @@ func (x *TestType) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys14Slc = r.DecodeBytes(yys14Slc, true, true) - yys14 := string(yys14Slc) + yys16Slc = r.DecodeBytes(yys16Slc, true, true) + yys16 := string(yys16Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys14 { + switch yys16 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -248,13 +260,19 @@ func (x *TestType) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv17 := &x.ObjectMeta - yyv17.CodecDecodeSelf(d) + yyv19 := &x.ObjectMeta + yym20 := z.DecBinary() + _ = yym20 + if false { + } else if z.HasExtensions() && z.DecExt(yyv19) { + } else { + z.DecFallback(yyv19, false) + } } default: - z.DecStructFieldNotFound(-1, yys14) - } // end switch yys14 - } // end for yyj14 + z.DecStructFieldNotFound(-1, yys16) + } // end switch yys16 + } // end for yyj16 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -262,16 +280,16 @@ func (x *TestType) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj18 int - var yyb18 bool - var yyhl18 bool = l >= 0 - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + var yyj21 int + var yyb21 bool + var yyhl21 bool = l >= 0 + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb18 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb18 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -281,13 +299,13 @@ func (x *TestType) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb18 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb18 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -297,13 +315,13 @@ func (x *TestType) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb18 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb18 { + if yyb21 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -311,21 +329,27 @@ func (x *TestType) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv21 := &x.ObjectMeta - yyv21.CodecDecodeSelf(d) + yyv24 := &x.ObjectMeta + yym25 := z.DecBinary() + _ = yym25 + if false { + } else if z.HasExtensions() && z.DecExt(yyv24) { + } else { + z.DecFallback(yyv24, false) + } } for { - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj21++ + if yyhl21 { + yyb21 = yyj21 > l } else { - yyb18 = r.CheckBreak() + yyb21 = r.CheckBreak() } - if yyb18 { + if yyb21 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj18-1, "") + z.DecStructFieldNotFound(yyj21-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -337,118 +361,118 @@ func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym22 := z.EncBinary() - _ = yym22 + yym26 := z.EncBinary() + _ = yym26 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep23 := !z.EncBinary() - yy2arr23 := z.EncBasicHandle().StructToArray - var yyq23 [4]bool - _, _, _ = yysep23, yyq23, yy2arr23 - const yyr23 bool = false - yyq23[0] = x.Kind != "" - yyq23[1] = x.APIVersion != "" - yyq23[2] = true - var yynn23 int - if yyr23 || yy2arr23 { + yysep27 := !z.EncBinary() + yy2arr27 := z.EncBasicHandle().StructToArray + var yyq27 [4]bool + _, _, _ = yysep27, yyq27, yy2arr27 + const yyr27 bool = false + yyq27[0] = x.Kind != "" + yyq27[1] = x.APIVersion != "" + yyq27[2] = true + var yynn27 int + if yyr27 || yy2arr27 { r.EncodeArrayStart(4) } else { - yynn23 = 1 - for _, b := range yyq23 { + yynn27 = 1 + for _, b := range yyq27 { if b { - yynn23++ + yynn27++ } } - r.EncodeMapStart(yynn23) - yynn23 = 0 + r.EncodeMapStart(yynn27) + yynn27 = 0 } - if yyr23 || yy2arr23 { + if yyr27 || yy2arr27 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq23[0] { - yym25 := z.EncBinary() - _ = yym25 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq23[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr23 || yy2arr23 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq23[1] { - yym28 := z.EncBinary() - _ = yym28 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq23[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq27[0] { yym29 := z.EncBinary() _ = yym29 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq27[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym30 := z.EncBinary() + _ = yym30 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr27 || yy2arr27 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq27[1] { + yym32 := z.EncBinary() + _ = yym32 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq27[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym33 := z.EncBinary() + _ = yym33 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr23 || yy2arr23 { + if yyr27 || yy2arr27 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq23[2] { - yy31 := &x.ListMeta - yym32 := z.EncBinary() - _ = yym32 + if yyq27[2] { + yy35 := &x.ListMeta + yym36 := z.EncBinary() + _ = yym36 if false { - } else if z.HasExtensions() && z.EncExt(yy31) { + } else if z.HasExtensions() && z.EncExt(yy35) { } else { - z.EncFallback(yy31) + z.EncFallback(yy35) } } else { r.EncodeNil() } } else { - if yyq23[2] { + if yyq27[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy33 := &x.ListMeta - yym34 := z.EncBinary() - _ = yym34 + yy37 := &x.ListMeta + yym38 := z.EncBinary() + _ = yym38 if false { - } else if z.HasExtensions() && z.EncExt(yy33) { + } else if z.HasExtensions() && z.EncExt(yy37) { } else { - z.EncFallback(yy33) + z.EncFallback(yy37) } } } - if yyr23 || yy2arr23 { + if yyr27 || yy2arr27 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym36 := z.EncBinary() - _ = yym36 + yym40 := z.EncBinary() + _ = yym40 if false { } else { h.encSliceTestType(([]TestType)(x.Items), e) @@ -461,15 +485,15 @@ func (x *TestTypeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym37 := z.EncBinary() - _ = yym37 + yym41 := z.EncBinary() + _ = yym41 if false { } else { h.encSliceTestType(([]TestType)(x.Items), e) } } } - if yyr23 || yy2arr23 { + if yyr27 || yy2arr27 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -482,25 +506,25 @@ func (x *TestTypeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym38 := z.DecBinary() - _ = yym38 + yym42 := z.DecBinary() + _ = yym42 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct39 := r.ContainerType() - if yyct39 == codecSelferValueTypeMap1234 { - yyl39 := r.ReadMapStart() - if yyl39 == 0 { + yyct43 := r.ContainerType() + if yyct43 == codecSelferValueTypeMap1234 { + yyl43 := r.ReadMapStart() + if yyl43 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl39, d) + x.codecDecodeSelfFromMap(yyl43, d) } - } else if yyct39 == codecSelferValueTypeArray1234 { - yyl39 := r.ReadArrayStart() - if yyl39 == 0 { + } else if yyct43 == codecSelferValueTypeArray1234 { + yyl43 := r.ReadArrayStart() + if yyl43 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl39, d) + x.codecDecodeSelfFromArray(yyl43, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -512,12 +536,12 @@ func (x *TestTypeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys40Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys40Slc - var yyhl40 bool = l >= 0 - for yyj40 := 0; ; yyj40++ { - if yyhl40 { - if yyj40 >= l { + var yys44Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys44Slc + var yyhl44 bool = l >= 0 + for yyj44 := 0; ; yyj44++ { + if yyhl44 { + if yyj44 >= l { break } } else { @@ -526,10 +550,10 @@ func (x *TestTypeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys40Slc = r.DecodeBytes(yys40Slc, true, true) - yys40 := string(yys40Slc) + yys44Slc = r.DecodeBytes(yys44Slc, true, true) + yys44 := string(yys44Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys40 { + switch yys44 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -546,31 +570,31 @@ func (x *TestTypeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv43 := &x.ListMeta - yym44 := z.DecBinary() - _ = yym44 + yyv47 := &x.ListMeta + yym48 := z.DecBinary() + _ = yym48 if false { - } else if z.HasExtensions() && z.DecExt(yyv43) { + } else if z.HasExtensions() && z.DecExt(yyv47) { } else { - z.DecFallback(yyv43, false) + z.DecFallback(yyv47, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv45 := &x.Items - yym46 := z.DecBinary() - _ = yym46 + yyv49 := &x.Items + yym50 := z.DecBinary() + _ = yym50 if false { } else { - h.decSliceTestType((*[]TestType)(yyv45), d) + h.decSliceTestType((*[]TestType)(yyv49), d) } } default: - z.DecStructFieldNotFound(-1, yys40) - } // end switch yys40 - } // end for yyj40 + z.DecStructFieldNotFound(-1, yys44) + } // end switch yys44 + } // end for yyj44 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -578,16 +602,16 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj47 int - var yyb47 bool - var yyhl47 bool = l >= 0 - yyj47++ - if yyhl47 { - yyb47 = yyj47 > l + var yyj51 int + var yyb51 bool + var yyhl51 bool = l >= 0 + yyj51++ + if yyhl51 { + yyb51 = yyj51 > l } else { - yyb47 = r.CheckBreak() + yyb51 = r.CheckBreak() } - if yyb47 { + if yyb51 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -597,13 +621,13 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj47++ - if yyhl47 { - yyb47 = yyj47 > l + yyj51++ + if yyhl51 { + yyb51 = yyj51 > l } else { - yyb47 = r.CheckBreak() + yyb51 = r.CheckBreak() } - if yyb47 { + if yyb51 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -613,13 +637,13 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj47++ - if yyhl47 { - yyb47 = yyj47 > l + yyj51++ + if yyhl51 { + yyb51 = yyj51 > l } else { - yyb47 = r.CheckBreak() + yyb51 = r.CheckBreak() } - if yyb47 { + if yyb51 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -627,22 +651,22 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv50 := &x.ListMeta - yym51 := z.DecBinary() - _ = yym51 + yyv54 := &x.ListMeta + yym55 := z.DecBinary() + _ = yym55 if false { - } else if z.HasExtensions() && z.DecExt(yyv50) { + } else if z.HasExtensions() && z.DecExt(yyv54) { } else { - z.DecFallback(yyv50, false) + z.DecFallback(yyv54, false) } } - yyj47++ - if yyhl47 { - yyb47 = yyj47 > l + yyj51++ + if yyhl51 { + yyb51 = yyj51 > l } else { - yyb47 = r.CheckBreak() + yyb51 = r.CheckBreak() } - if yyb47 { + if yyb51 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -650,26 +674,26 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv52 := &x.Items - yym53 := z.DecBinary() - _ = yym53 + yyv56 := &x.Items + yym57 := z.DecBinary() + _ = yym57 if false { } else { - h.decSliceTestType((*[]TestType)(yyv52), d) + h.decSliceTestType((*[]TestType)(yyv56), d) } } for { - yyj47++ - if yyhl47 { - yyb47 = yyj47 > l + yyj51++ + if yyhl51 { + yyb51 = yyj51 > l } else { - yyb47 = r.CheckBreak() + yyb51 = r.CheckBreak() } - if yyb47 { + if yyb51 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj47-1, "") + z.DecStructFieldNotFound(yyj51-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -679,10 +703,10 @@ func (x codecSelfer1234) encSliceTestType(v []TestType, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv54 := range v { + for _, yyv58 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy55 := &yyv54 - yy55.CodecEncodeSelf(e) + yy59 := &yyv58 + yy59.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -692,83 +716,83 @@ func (x codecSelfer1234) decSliceTestType(v *[]TestType, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv56 := *v - yyh56, yyl56 := z.DecSliceHelperStart() - var yyc56 bool - if yyl56 == 0 { - if yyv56 == nil { - yyv56 = []TestType{} - yyc56 = true - } else if len(yyv56) != 0 { - yyv56 = yyv56[:0] - yyc56 = true + yyv60 := *v + yyh60, yyl60 := z.DecSliceHelperStart() + var yyc60 bool + if yyl60 == 0 { + if yyv60 == nil { + yyv60 = []TestType{} + yyc60 = true + } else if len(yyv60) != 0 { + yyv60 = yyv60[:0] + yyc60 = true } - } else if yyl56 > 0 { - var yyrr56, yyrl56 int - var yyrt56 bool - if yyl56 > cap(yyv56) { + } else if yyl60 > 0 { + var yyrr60, yyrl60 int + var yyrt60 bool + if yyl60 > cap(yyv60) { - yyrg56 := len(yyv56) > 0 - yyv256 := yyv56 - yyrl56, yyrt56 = z.DecInferLen(yyl56, z.DecBasicHandle().MaxInitLen, 192) - if yyrt56 { - if yyrl56 <= cap(yyv56) { - yyv56 = yyv56[:yyrl56] + yyrg60 := len(yyv60) > 0 + yyv260 := yyv60 + yyrl60, yyrt60 = z.DecInferLen(yyl60, z.DecBasicHandle().MaxInitLen, 192) + if yyrt60 { + if yyrl60 <= cap(yyv60) { + yyv60 = yyv60[:yyrl60] } else { - yyv56 = make([]TestType, yyrl56) + yyv60 = make([]TestType, yyrl60) } } else { - yyv56 = make([]TestType, yyrl56) + yyv60 = make([]TestType, yyrl60) } - yyc56 = true - yyrr56 = len(yyv56) - if yyrg56 { - copy(yyv56, yyv256) + yyc60 = true + yyrr60 = len(yyv60) + if yyrg60 { + copy(yyv60, yyv260) } - } else if yyl56 != len(yyv56) { - yyv56 = yyv56[:yyl56] - yyc56 = true + } else if yyl60 != len(yyv60) { + yyv60 = yyv60[:yyl60] + yyc60 = true } - yyj56 := 0 - for ; yyj56 < yyrr56; yyj56++ { - yyh56.ElemContainerState(yyj56) + yyj60 := 0 + for ; yyj60 < yyrr60; yyj60++ { + yyh60.ElemContainerState(yyj60) if r.TryDecodeAsNil() { - yyv56[yyj56] = TestType{} + yyv60[yyj60] = TestType{} } else { - yyv57 := &yyv56[yyj56] - yyv57.CodecDecodeSelf(d) + yyv61 := &yyv60[yyj60] + yyv61.CodecDecodeSelf(d) } } - if yyrt56 { - for ; yyj56 < yyl56; yyj56++ { - yyv56 = append(yyv56, TestType{}) - yyh56.ElemContainerState(yyj56) + if yyrt60 { + for ; yyj60 < yyl60; yyj60++ { + yyv60 = append(yyv60, TestType{}) + yyh60.ElemContainerState(yyj60) if r.TryDecodeAsNil() { - yyv56[yyj56] = TestType{} + yyv60[yyj60] = TestType{} } else { - yyv58 := &yyv56[yyj56] - yyv58.CodecDecodeSelf(d) + yyv62 := &yyv60[yyj60] + yyv62.CodecDecodeSelf(d) } } } } else { - yyj56 := 0 - for ; !r.CheckBreak(); yyj56++ { + yyj60 := 0 + for ; !r.CheckBreak(); yyj60++ { - if yyj56 >= len(yyv56) { - yyv56 = append(yyv56, TestType{}) // var yyz56 TestType - yyc56 = true + if yyj60 >= len(yyv60) { + yyv60 = append(yyv60, TestType{}) // var yyz60 TestType + yyc60 = true } - yyh56.ElemContainerState(yyj56) - if yyj56 < len(yyv56) { + yyh60.ElemContainerState(yyj60) + if yyj60 < len(yyv60) { if r.TryDecodeAsNil() { - yyv56[yyj56] = TestType{} + yyv60[yyj60] = TestType{} } else { - yyv59 := &yyv56[yyj56] - yyv59.CodecDecodeSelf(d) + yyv63 := &yyv60[yyj60] + yyv63.CodecDecodeSelf(d) } } else { @@ -776,16 +800,16 @@ func (x codecSelfer1234) decSliceTestType(v *[]TestType, d *codec1978.Decoder) { } } - if yyj56 < len(yyv56) { - yyv56 = yyv56[:yyj56] - yyc56 = true - } else if yyj56 == 0 && yyv56 == nil { - yyv56 = []TestType{} - yyc56 = true + if yyj60 < len(yyv60) { + yyv60 = yyv60[:yyj60] + yyc60 = true + } else if yyj60 == 0 && yyv60 == nil { + yyv60 = []TestType{} + yyc60 = true } } - yyh56.End() - if yyc56 { - *v = yyv56 + yyh60.End() + if yyc60 { + *v = yyv60 } } diff --git a/docs/api-reference/extensions/v1beta1/definitions.html b/docs/api-reference/extensions/v1beta1/definitions.html index 88d6f56d4c1..38fb7b43987 100755 --- a/docs/api-reference/extensions/v1beta1/definitions.html +++ b/docs/api-reference/extensions/v1beta1/definitions.html @@ -408,7 +408,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -470,7 +470,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -525,7 +525,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -566,7 +566,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -607,7 +607,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -655,7 +655,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -696,7 +696,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -744,7 +744,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -785,7 +785,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -847,7 +847,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -909,7 +909,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -964,7 +964,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -998,7 +998,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -1032,7 +1032,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } - + @@ -1087,7 +1087,7 @@ Examples:
- + @@ -1142,7 +1142,7 @@ Examples:
- + @@ -1176,7 +1176,7 @@ Examples:
- + @@ -1222,7 +1222,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -1277,7 +1277,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -1311,7 +1311,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -1373,7 +1373,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -1421,7 +1421,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -1476,7 +1476,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -1545,7 +1545,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -1586,7 +1586,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -1620,7 +1620,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -1651,7 +1651,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -1685,7 +1685,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -1838,7 +1838,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -1902,7 +1902,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -1936,7 +1936,7 @@ Both these may change in the future. Incoming requests are matched against the h - + @@ -2061,7 +2061,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2102,7 +2102,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2136,7 +2136,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2202,7 +2202,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2243,7 +2243,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2298,7 +2298,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2332,7 +2332,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2372,7 +2372,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2420,7 +2420,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2485,7 +2485,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2540,7 +2540,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2581,7 +2581,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2615,7 +2615,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2656,7 +2656,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2711,7 +2711,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2759,7 +2759,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2821,7 +2821,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2872,7 +2872,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2906,7 +2906,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2947,7 +2947,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -2981,7 +2981,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3050,7 +3050,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3091,7 +3091,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3132,7 +3132,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3180,7 +3180,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3330,7 +3330,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3413,7 +3413,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3440,6 +3440,13 @@ Populated by the system when a graceful deletion is requested. Read-only. More i +

activeDeadlineSeconds

+

Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer

+

false

+

integer (int64)

+ + +

selector

Selector is a label query over pods that should match the pod count. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors

false

@@ -3472,7 +3479,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3555,7 +3562,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3596,7 +3603,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3658,7 +3665,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3790,7 +3797,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3845,7 +3852,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3886,7 +3893,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3934,7 +3941,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -3982,7 +3989,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -4023,7 +4030,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -4078,7 +4085,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -4140,7 +4147,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -4202,7 +4209,7 @@ Populated by the system when a graceful deletion is requested. Read-only. More i - + @@ -4289,4 +4296,4 @@ Last updated 2015-12-16 14:33:53 UTC - \ No newline at end of file + diff --git a/pkg/apis/extensions/deep_copy_generated.go b/pkg/apis/extensions/deep_copy_generated.go index 47f61b4d3f4..1bf73185ed9 100644 --- a/pkg/apis/extensions/deep_copy_generated.go +++ b/pkg/apis/extensions/deep_copy_generated.go @@ -1383,6 +1383,12 @@ func deepCopy_extensions_JobSpec(in JobSpec, out *JobSpec, c *conversion.Cloner) } else { out.Completions = nil } + if in.ActiveDeadlineSeconds != nil { + out.ActiveDeadlineSeconds = new(int64) + *out.ActiveDeadlineSeconds = *in.ActiveDeadlineSeconds + } else { + out.ActiveDeadlineSeconds = nil + } if in.Selector != nil { out.Selector = new(LabelSelector) if err := deepCopy_extensions_LabelSelector(*in.Selector, out.Selector, c); err != nil { diff --git a/pkg/apis/extensions/types.generated.go b/pkg/apis/extensions/types.generated.go index af5c8f87a1e..9fc50dcff25 100644 --- a/pkg/apis/extensions/types.generated.go +++ b/pkg/apis/extensions/types.generated.go @@ -565,7 +565,13 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq31[2] { yy39 := &x.ObjectMeta - yy39.CodecEncodeSelf(e) + yym40 := z.EncBinary() + _ = yym40 + if false { + } else if z.HasExtensions() && z.EncExt(yy39) { + } else { + z.EncFallback(yy39) + } } else { r.EncodeNil() } @@ -574,15 +580,21 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy40 := &x.ObjectMeta - yy40.CodecEncodeSelf(e) + yy41 := &x.ObjectMeta + yym42 := z.EncBinary() + _ = yym42 + if false { + } else if z.HasExtensions() && z.EncExt(yy41) { + } else { + z.EncFallback(yy41) + } } } if yyr31 || yy2arr31 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq31[3] { - yy42 := &x.Spec - yy42.CodecEncodeSelf(e) + yy44 := &x.Spec + yy44.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -591,15 +603,15 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy43 := &x.Spec - yy43.CodecEncodeSelf(e) + yy45 := &x.Spec + yy45.CodecEncodeSelf(e) } } if yyr31 || yy2arr31 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq31[4] { - yy45 := &x.Status - yy45.CodecEncodeSelf(e) + yy47 := &x.Status + yy47.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -608,8 +620,8 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy46 := &x.Status - yy46.CodecEncodeSelf(e) + yy48 := &x.Status + yy48.CodecEncodeSelf(e) } } if yyr31 || yy2arr31 { @@ -625,25 +637,25 @@ func (x *Scale) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym47 := z.DecBinary() - _ = yym47 + yym49 := z.DecBinary() + _ = yym49 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct48 := r.ContainerType() - if yyct48 == codecSelferValueTypeMap1234 { - yyl48 := r.ReadMapStart() - if yyl48 == 0 { + yyct50 := r.ContainerType() + if yyct50 == codecSelferValueTypeMap1234 { + yyl50 := r.ReadMapStart() + if yyl50 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl48, d) + x.codecDecodeSelfFromMap(yyl50, d) } - } else if yyct48 == codecSelferValueTypeArray1234 { - yyl48 := r.ReadArrayStart() - if yyl48 == 0 { + } else if yyct50 == codecSelferValueTypeArray1234 { + yyl50 := r.ReadArrayStart() + if yyl50 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl48, d) + x.codecDecodeSelfFromArray(yyl50, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -655,12 +667,12 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys49Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys49Slc - var yyhl49 bool = l >= 0 - for yyj49 := 0; ; yyj49++ { - if yyhl49 { - if yyj49 >= l { + var yys51Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys51Slc + var yyhl51 bool = l >= 0 + for yyj51 := 0; ; yyj51++ { + if yyhl51 { + if yyj51 >= l { break } } else { @@ -669,10 +681,10 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys49Slc = r.DecodeBytes(yys49Slc, true, true) - yys49 := string(yys49Slc) + yys51Slc = r.DecodeBytes(yys51Slc, true, true) + yys51 := string(yys51Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys49 { + switch yys51 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -689,27 +701,33 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv52 := &x.ObjectMeta - yyv52.CodecDecodeSelf(d) + yyv54 := &x.ObjectMeta + yym55 := z.DecBinary() + _ = yym55 + if false { + } else if z.HasExtensions() && z.DecExt(yyv54) { + } else { + z.DecFallback(yyv54, false) + } } case "spec": if r.TryDecodeAsNil() { x.Spec = ScaleSpec{} } else { - yyv53 := &x.Spec - yyv53.CodecDecodeSelf(d) + yyv56 := &x.Spec + yyv56.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ScaleStatus{} } else { - yyv54 := &x.Status - yyv54.CodecDecodeSelf(d) + yyv57 := &x.Status + yyv57.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys49) - } // end switch yys49 - } // end for yyj49 + z.DecStructFieldNotFound(-1, yys51) + } // end switch yys51 + } // end for yyj51 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -717,16 +735,16 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj55 int - var yyb55 bool - var yyhl55 bool = l >= 0 - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + var yyj58 int + var yyb58 bool + var yyhl58 bool = l >= 0 + yyj58++ + if yyhl58 { + yyb58 = yyj58 > l } else { - yyb55 = r.CheckBreak() + yyb58 = r.CheckBreak() } - if yyb55 { + if yyb58 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -736,13 +754,13 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj58++ + if yyhl58 { + yyb58 = yyj58 > l } else { - yyb55 = r.CheckBreak() + yyb58 = r.CheckBreak() } - if yyb55 { + if yyb58 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -752,13 +770,13 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj58++ + if yyhl58 { + yyb58 = yyj58 > l } else { - yyb55 = r.CheckBreak() + yyb58 = r.CheckBreak() } - if yyb55 { + if yyb58 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -766,16 +784,22 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv58 := &x.ObjectMeta - yyv58.CodecDecodeSelf(d) + yyv61 := &x.ObjectMeta + yym62 := z.DecBinary() + _ = yym62 + if false { + } else if z.HasExtensions() && z.DecExt(yyv61) { + } else { + z.DecFallback(yyv61, false) + } } - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj58++ + if yyhl58 { + yyb58 = yyj58 > l } else { - yyb55 = r.CheckBreak() + yyb58 = r.CheckBreak() } - if yyb55 { + if yyb58 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -783,16 +807,16 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ScaleSpec{} } else { - yyv59 := &x.Spec - yyv59.CodecDecodeSelf(d) + yyv63 := &x.Spec + yyv63.CodecDecodeSelf(d) } - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj58++ + if yyhl58 { + yyb58 = yyj58 > l } else { - yyb55 = r.CheckBreak() + yyb58 = r.CheckBreak() } - if yyb55 { + if yyb58 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -800,21 +824,21 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ScaleStatus{} } else { - yyv60 := &x.Status - yyv60.CodecDecodeSelf(d) + yyv64 := &x.Status + yyv64.CodecDecodeSelf(d) } for { - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj58++ + if yyhl58 { + yyb58 = yyj58 > l } else { - yyb55 = r.CheckBreak() + yyb58 = r.CheckBreak() } - if yyb55 { + if yyb58 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj55-1, "") + z.DecStructFieldNotFound(yyj58-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -826,82 +850,82 @@ func (x *ReplicationControllerDummy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym61 := z.EncBinary() - _ = yym61 + yym65 := z.EncBinary() + _ = yym65 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep62 := !z.EncBinary() - yy2arr62 := z.EncBasicHandle().StructToArray - var yyq62 [2]bool - _, _, _ = yysep62, yyq62, yy2arr62 - const yyr62 bool = false - yyq62[0] = x.Kind != "" - yyq62[1] = x.APIVersion != "" - var yynn62 int - if yyr62 || yy2arr62 { + yysep66 := !z.EncBinary() + yy2arr66 := z.EncBasicHandle().StructToArray + var yyq66 [2]bool + _, _, _ = yysep66, yyq66, yy2arr66 + const yyr66 bool = false + yyq66[0] = x.Kind != "" + yyq66[1] = x.APIVersion != "" + var yynn66 int + if yyr66 || yy2arr66 { r.EncodeArrayStart(2) } else { - yynn62 = 0 - for _, b := range yyq62 { + yynn66 = 0 + for _, b := range yyq66 { if b { - yynn62++ + yynn66++ } } - r.EncodeMapStart(yynn62) - yynn62 = 0 + r.EncodeMapStart(yynn66) + yynn66 = 0 } - if yyr62 || yy2arr62 { + if yyr66 || yy2arr66 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq62[0] { - yym64 := z.EncBinary() - _ = yym64 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq62[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym65 := z.EncBinary() - _ = yym65 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr62 || yy2arr62 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq62[1] { - yym67 := z.EncBinary() - _ = yym67 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq62[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq66[0] { yym68 := z.EncBinary() _ = yym68 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq66[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym69 := z.EncBinary() + _ = yym69 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr66 || yy2arr66 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq66[1] { + yym71 := z.EncBinary() + _ = yym71 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq66[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym72 := z.EncBinary() + _ = yym72 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr62 || yy2arr62 { + if yyr66 || yy2arr66 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -914,25 +938,25 @@ func (x *ReplicationControllerDummy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym69 := z.DecBinary() - _ = yym69 + yym73 := z.DecBinary() + _ = yym73 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct70 := r.ContainerType() - if yyct70 == codecSelferValueTypeMap1234 { - yyl70 := r.ReadMapStart() - if yyl70 == 0 { + yyct74 := r.ContainerType() + if yyct74 == codecSelferValueTypeMap1234 { + yyl74 := r.ReadMapStart() + if yyl74 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl70, d) + x.codecDecodeSelfFromMap(yyl74, d) } - } else if yyct70 == codecSelferValueTypeArray1234 { - yyl70 := r.ReadArrayStart() - if yyl70 == 0 { + } else if yyct74 == codecSelferValueTypeArray1234 { + yyl74 := r.ReadArrayStart() + if yyl74 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl70, d) + x.codecDecodeSelfFromArray(yyl74, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -944,12 +968,12 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys71Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys71Slc - var yyhl71 bool = l >= 0 - for yyj71 := 0; ; yyj71++ { - if yyhl71 { - if yyj71 >= l { + var yys75Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys75Slc + var yyhl75 bool = l >= 0 + for yyj75 := 0; ; yyj75++ { + if yyhl75 { + if yyj75 >= l { break } } else { @@ -958,10 +982,10 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys71Slc = r.DecodeBytes(yys71Slc, true, true) - yys71 := string(yys71Slc) + yys75Slc = r.DecodeBytes(yys75Slc, true, true) + yys75 := string(yys75Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys71 { + switch yys75 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -975,9 +999,9 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys71) - } // end switch yys71 - } // end for yyj71 + z.DecStructFieldNotFound(-1, yys75) + } // end switch yys75 + } // end for yyj75 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -985,16 +1009,16 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj74 int - var yyb74 bool - var yyhl74 bool = l >= 0 - yyj74++ - if yyhl74 { - yyb74 = yyj74 > l + var yyj78 int + var yyb78 bool + var yyhl78 bool = l >= 0 + yyj78++ + if yyhl78 { + yyb78 = yyj78 > l } else { - yyb74 = r.CheckBreak() + yyb78 = r.CheckBreak() } - if yyb74 { + if yyb78 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1004,13 +1028,13 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj74++ - if yyhl74 { - yyb74 = yyj74 > l + yyj78++ + if yyhl78 { + yyb78 = yyj78 > l } else { - yyb74 = r.CheckBreak() + yyb78 = r.CheckBreak() } - if yyb74 { + if yyb78 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1021,17 +1045,17 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 x.APIVersion = string(r.DecodeString()) } for { - yyj74++ - if yyhl74 { - yyb74 = yyj74 > l + yyj78++ + if yyhl78 { + yyb78 = yyj78 > l } else { - yyb74 = r.CheckBreak() + yyb78 = r.CheckBreak() } - if yyb74 { + if yyb78 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj74-1, "") + z.DecStructFieldNotFound(yyj78-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1043,113 +1067,113 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym77 := z.EncBinary() - _ = yym77 + yym81 := z.EncBinary() + _ = yym81 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep78 := !z.EncBinary() - yy2arr78 := z.EncBasicHandle().StructToArray - var yyq78 [4]bool - _, _, _ = yysep78, yyq78, yy2arr78 - const yyr78 bool = false - yyq78[0] = x.Kind != "" - yyq78[1] = x.Name != "" - yyq78[2] = x.APIVersion != "" - yyq78[3] = x.Subresource != "" - var yynn78 int - if yyr78 || yy2arr78 { + yysep82 := !z.EncBinary() + yy2arr82 := z.EncBasicHandle().StructToArray + var yyq82 [4]bool + _, _, _ = yysep82, yyq82, yy2arr82 + const yyr82 bool = false + yyq82[0] = x.Kind != "" + yyq82[1] = x.Name != "" + yyq82[2] = x.APIVersion != "" + yyq82[3] = x.Subresource != "" + var yynn82 int + if yyr82 || yy2arr82 { r.EncodeArrayStart(4) } else { - yynn78 = 0 - for _, b := range yyq78 { + yynn82 = 0 + for _, b := range yyq82 { if b { - yynn78++ + yynn82++ } } - r.EncodeMapStart(yynn78) - yynn78 = 0 + r.EncodeMapStart(yynn82) + yynn82 = 0 } - if yyr78 || yy2arr78 { + if yyr82 || yy2arr82 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq78[0] { - yym80 := z.EncBinary() - _ = yym80 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq78[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym81 := z.EncBinary() - _ = yym81 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr78 || yy2arr78 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq78[1] { - yym83 := z.EncBinary() - _ = yym83 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq78[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq82[0] { yym84 := z.EncBinary() _ = yym84 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - } - if yyr78 || yy2arr78 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq78[2] { - yym86 := z.EncBinary() - _ = yym86 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq78[2] { + if yyq82[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym85 := z.EncBinary() + _ = yym85 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr82 || yy2arr82 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq82[1] { yym87 := z.EncBinary() _ = yym87 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq82[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym88 := z.EncBinary() + _ = yym88 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr82 || yy2arr82 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq82[2] { + yym90 := z.EncBinary() + _ = yym90 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq82[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym91 := z.EncBinary() + _ = yym91 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr78 || yy2arr78 { + if yyr82 || yy2arr82 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq78[3] { - yym89 := z.EncBinary() - _ = yym89 + if yyq82[3] { + yym93 := z.EncBinary() + _ = yym93 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) @@ -1158,19 +1182,19 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq78[3] { + if yyq82[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subresource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym90 := z.EncBinary() - _ = yym90 + yym94 := z.EncBinary() + _ = yym94 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) } } } - if yyr78 || yy2arr78 { + if yyr82 || yy2arr82 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1183,25 +1207,25 @@ func (x *SubresourceReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym91 := z.DecBinary() - _ = yym91 + yym95 := z.DecBinary() + _ = yym95 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct92 := r.ContainerType() - if yyct92 == codecSelferValueTypeMap1234 { - yyl92 := r.ReadMapStart() - if yyl92 == 0 { + yyct96 := r.ContainerType() + if yyct96 == codecSelferValueTypeMap1234 { + yyl96 := r.ReadMapStart() + if yyl96 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl92, d) + x.codecDecodeSelfFromMap(yyl96, d) } - } else if yyct92 == codecSelferValueTypeArray1234 { - yyl92 := r.ReadArrayStart() - if yyl92 == 0 { + } else if yyct96 == codecSelferValueTypeArray1234 { + yyl96 := r.ReadArrayStart() + if yyl96 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl92, d) + x.codecDecodeSelfFromArray(yyl96, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1213,12 +1237,12 @@ func (x *SubresourceReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys93Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys93Slc - var yyhl93 bool = l >= 0 - for yyj93 := 0; ; yyj93++ { - if yyhl93 { - if yyj93 >= l { + var yys97Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys97Slc + var yyhl97 bool = l >= 0 + for yyj97 := 0; ; yyj97++ { + if yyhl97 { + if yyj97 >= l { break } } else { @@ -1227,10 +1251,10 @@ func (x *SubresourceReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys93Slc = r.DecodeBytes(yys93Slc, true, true) - yys93 := string(yys93Slc) + yys97Slc = r.DecodeBytes(yys97Slc, true, true) + yys97 := string(yys97Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys93 { + switch yys97 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1256,9 +1280,9 @@ func (x *SubresourceReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Subresource = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys93) - } // end switch yys93 - } // end for yyj93 + z.DecStructFieldNotFound(-1, yys97) + } // end switch yys97 + } // end for yyj97 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1266,16 +1290,16 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj98 int - var yyb98 bool - var yyhl98 bool = l >= 0 - yyj98++ - if yyhl98 { - yyb98 = yyj98 > l + var yyj102 int + var yyb102 bool + var yyhl102 bool = l >= 0 + yyj102++ + if yyhl102 { + yyb102 = yyj102 > l } else { - yyb98 = r.CheckBreak() + yyb102 = r.CheckBreak() } - if yyb98 { + if yyb102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1285,13 +1309,13 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Kind = string(r.DecodeString()) } - yyj98++ - if yyhl98 { - yyb98 = yyj98 > l + yyj102++ + if yyhl102 { + yyb102 = yyj102 > l } else { - yyb98 = r.CheckBreak() + yyb102 = r.CheckBreak() } - if yyb98 { + if yyb102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1301,13 +1325,13 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Name = string(r.DecodeString()) } - yyj98++ - if yyhl98 { - yyb98 = yyj98 > l + yyj102++ + if yyhl102 { + yyb102 = yyj102 > l } else { - yyb98 = r.CheckBreak() + yyb102 = r.CheckBreak() } - if yyb98 { + if yyb102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1317,13 +1341,13 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } - yyj98++ - if yyhl98 { - yyb98 = yyj98 > l + yyj102++ + if yyhl102 { + yyb102 = yyj102 > l } else { - yyb98 = r.CheckBreak() + yyb102 = r.CheckBreak() } - if yyb98 { + if yyb102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1334,17 +1358,17 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Subresource = string(r.DecodeString()) } for { - yyj98++ - if yyhl98 { - yyb98 = yyj98 > l + yyj102++ + if yyhl102 { + yyb102 = yyj102 > l } else { - yyb98 = r.CheckBreak() + yyb102 = r.CheckBreak() } - if yyb98 { + if yyb102 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj98-1, "") + z.DecStructFieldNotFound(yyj102-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1356,33 +1380,33 @@ func (x *CPUTargetUtilization) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym103 := z.EncBinary() - _ = yym103 + yym107 := z.EncBinary() + _ = yym107 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep104 := !z.EncBinary() - yy2arr104 := z.EncBasicHandle().StructToArray - var yyq104 [1]bool - _, _, _ = yysep104, yyq104, yy2arr104 - const yyr104 bool = false - var yynn104 int - if yyr104 || yy2arr104 { + yysep108 := !z.EncBinary() + yy2arr108 := z.EncBasicHandle().StructToArray + var yyq108 [1]bool + _, _, _ = yysep108, yyq108, yy2arr108 + const yyr108 bool = false + var yynn108 int + if yyr108 || yy2arr108 { r.EncodeArrayStart(1) } else { - yynn104 = 1 - for _, b := range yyq104 { + yynn108 = 1 + for _, b := range yyq108 { if b { - yynn104++ + yynn108++ } } - r.EncodeMapStart(yynn104) - yynn104 = 0 + r.EncodeMapStart(yynn108) + yynn108 = 0 } - if yyr104 || yy2arr104 { + if yyr108 || yy2arr108 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym106 := z.EncBinary() - _ = yym106 + yym110 := z.EncBinary() + _ = yym110 if false { } else { r.EncodeInt(int64(x.TargetPercentage)) @@ -1391,14 +1415,14 @@ func (x *CPUTargetUtilization) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym107 := z.EncBinary() - _ = yym107 + yym111 := z.EncBinary() + _ = yym111 if false { } else { r.EncodeInt(int64(x.TargetPercentage)) } } - if yyr104 || yy2arr104 { + if yyr108 || yy2arr108 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1411,25 +1435,25 @@ func (x *CPUTargetUtilization) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym108 := z.DecBinary() - _ = yym108 + yym112 := z.DecBinary() + _ = yym112 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct109 := r.ContainerType() - if yyct109 == codecSelferValueTypeMap1234 { - yyl109 := r.ReadMapStart() - if yyl109 == 0 { + yyct113 := r.ContainerType() + if yyct113 == codecSelferValueTypeMap1234 { + yyl113 := r.ReadMapStart() + if yyl113 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl109, d) + x.codecDecodeSelfFromMap(yyl113, d) } - } else if yyct109 == codecSelferValueTypeArray1234 { - yyl109 := r.ReadArrayStart() - if yyl109 == 0 { + } else if yyct113 == codecSelferValueTypeArray1234 { + yyl113 := r.ReadArrayStart() + if yyl113 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl109, d) + x.codecDecodeSelfFromArray(yyl113, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1441,12 +1465,12 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys110Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys110Slc - var yyhl110 bool = l >= 0 - for yyj110 := 0; ; yyj110++ { - if yyhl110 { - if yyj110 >= l { + var yys114Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys114Slc + var yyhl114 bool = l >= 0 + for yyj114 := 0; ; yyj114++ { + if yyhl114 { + if yyj114 >= l { break } } else { @@ -1455,10 +1479,10 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys110Slc = r.DecodeBytes(yys110Slc, true, true) - yys110 := string(yys110Slc) + yys114Slc = r.DecodeBytes(yys114Slc, true, true) + yys114 := string(yys114Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys110 { + switch yys114 { case "targetPercentage": if r.TryDecodeAsNil() { x.TargetPercentage = 0 @@ -1466,9 +1490,9 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.TargetPercentage = int(r.DecodeInt(codecSelferBitsize1234)) } default: - z.DecStructFieldNotFound(-1, yys110) - } // end switch yys110 - } // end for yyj110 + z.DecStructFieldNotFound(-1, yys114) + } // end switch yys114 + } // end for yyj114 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1476,16 +1500,16 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj112 int - var yyb112 bool - var yyhl112 bool = l >= 0 - yyj112++ - if yyhl112 { - yyb112 = yyj112 > l + var yyj116 int + var yyb116 bool + var yyhl116 bool = l >= 0 + yyj116++ + if yyhl116 { + yyb116 = yyj116 > l } else { - yyb112 = r.CheckBreak() + yyb116 = r.CheckBreak() } - if yyb112 { + if yyb116 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1496,17 +1520,17 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.TargetPercentage = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj112++ - if yyhl112 { - yyb112 = yyj112 > l + yyj116++ + if yyhl116 { + yyb116 = yyj116 > l } else { - yyb112 = r.CheckBreak() + yyb116 = r.CheckBreak() } - if yyb112 { + if yyb116 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj112-1, "") + z.DecStructFieldNotFound(yyj116-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1518,81 +1542,81 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym114 := z.EncBinary() - _ = yym114 + yym118 := z.EncBinary() + _ = yym118 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep115 := !z.EncBinary() - yy2arr115 := z.EncBasicHandle().StructToArray - var yyq115 [4]bool - _, _, _ = yysep115, yyq115, yy2arr115 - const yyr115 bool = false - yyq115[1] = x.MinReplicas != nil - yyq115[3] = x.CPUUtilization != nil - var yynn115 int - if yyr115 || yy2arr115 { + yysep119 := !z.EncBinary() + yy2arr119 := z.EncBasicHandle().StructToArray + var yyq119 [4]bool + _, _, _ = yysep119, yyq119, yy2arr119 + const yyr119 bool = false + yyq119[1] = x.MinReplicas != nil + yyq119[3] = x.CPUUtilization != nil + var yynn119 int + if yyr119 || yy2arr119 { r.EncodeArrayStart(4) } else { - yynn115 = 2 - for _, b := range yyq115 { + yynn119 = 2 + for _, b := range yyq119 { if b { - yynn115++ + yynn119++ } } - r.EncodeMapStart(yynn115) - yynn115 = 0 + r.EncodeMapStart(yynn119) + yynn119 = 0 } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy117 := &x.ScaleRef - yy117.CodecEncodeSelf(e) + yy121 := &x.ScaleRef + yy121.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scaleRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy118 := &x.ScaleRef - yy118.CodecEncodeSelf(e) + yy122 := &x.ScaleRef + yy122.CodecEncodeSelf(e) } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[1] { + if yyq119[1] { if x.MinReplicas == nil { r.EncodeNil() } else { - yy120 := *x.MinReplicas - yym121 := z.EncBinary() - _ = yym121 + yy124 := *x.MinReplicas + yym125 := z.EncBinary() + _ = yym125 if false { } else { - r.EncodeInt(int64(yy120)) + r.EncodeInt(int64(yy124)) } } } else { r.EncodeNil() } } else { - if yyq115[1] { + if yyq119[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MinReplicas == nil { r.EncodeNil() } else { - yy122 := *x.MinReplicas - yym123 := z.EncBinary() - _ = yym123 + yy126 := *x.MinReplicas + yym127 := z.EncBinary() + _ = yym127 if false { } else { - r.EncodeInt(int64(yy122)) + r.EncodeInt(int64(yy126)) } } } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym125 := z.EncBinary() - _ = yym125 + yym129 := z.EncBinary() + _ = yym129 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) @@ -1601,16 +1625,16 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym126 := z.EncBinary() - _ = yym126 + yym130 := z.EncBinary() + _ = yym130 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[3] { + if yyq119[3] { if x.CPUUtilization == nil { r.EncodeNil() } else { @@ -1620,7 +1644,7 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq115[3] { + if yyq119[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cpuUtilization")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -1631,7 +1655,7 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1644,25 +1668,25 @@ func (x *HorizontalPodAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym128 := z.DecBinary() - _ = yym128 + yym132 := z.DecBinary() + _ = yym132 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct129 := r.ContainerType() - if yyct129 == codecSelferValueTypeMap1234 { - yyl129 := r.ReadMapStart() - if yyl129 == 0 { + yyct133 := r.ContainerType() + if yyct133 == codecSelferValueTypeMap1234 { + yyl133 := r.ReadMapStart() + if yyl133 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl129, d) + x.codecDecodeSelfFromMap(yyl133, d) } - } else if yyct129 == codecSelferValueTypeArray1234 { - yyl129 := r.ReadArrayStart() - if yyl129 == 0 { + } else if yyct133 == codecSelferValueTypeArray1234 { + yyl133 := r.ReadArrayStart() + if yyl133 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl129, d) + x.codecDecodeSelfFromArray(yyl133, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1674,12 +1698,12 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys130Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys130Slc - var yyhl130 bool = l >= 0 - for yyj130 := 0; ; yyj130++ { - if yyhl130 { - if yyj130 >= l { + var yys134Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys134Slc + var yyhl134 bool = l >= 0 + for yyj134 := 0; ; yyj134++ { + if yyhl134 { + if yyj134 >= l { break } } else { @@ -1688,16 +1712,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys130Slc = r.DecodeBytes(yys130Slc, true, true) - yys130 := string(yys130Slc) + yys134Slc = r.DecodeBytes(yys134Slc, true, true) + yys134 := string(yys134Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys130 { + switch yys134 { case "scaleRef": if r.TryDecodeAsNil() { x.ScaleRef = SubresourceReference{} } else { - yyv131 := &x.ScaleRef - yyv131.CodecDecodeSelf(d) + yyv135 := &x.ScaleRef + yyv135.CodecDecodeSelf(d) } case "minReplicas": if r.TryDecodeAsNil() { @@ -1708,8 +1732,8 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 if x.MinReplicas == nil { x.MinReplicas = new(int) } - yym133 := z.DecBinary() - _ = yym133 + yym137 := z.DecBinary() + _ = yym137 if false { } else { *((*int)(x.MinReplicas)) = int(r.DecodeInt(codecSelferBitsize1234)) @@ -1733,9 +1757,9 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 x.CPUUtilization.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys130) - } // end switch yys130 - } // end for yyj130 + z.DecStructFieldNotFound(-1, yys134) + } // end switch yys134 + } // end for yyj134 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1743,16 +1767,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj136 int - var yyb136 bool - var yyhl136 bool = l >= 0 - yyj136++ - if yyhl136 { - yyb136 = yyj136 > l + var yyj140 int + var yyb140 bool + var yyhl140 bool = l >= 0 + yyj140++ + if yyhl140 { + yyb140 = yyj140 > l } else { - yyb136 = r.CheckBreak() + yyb140 = r.CheckBreak() } - if yyb136 { + if yyb140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1760,16 +1784,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.ScaleRef = SubresourceReference{} } else { - yyv137 := &x.ScaleRef - yyv137.CodecDecodeSelf(d) + yyv141 := &x.ScaleRef + yyv141.CodecDecodeSelf(d) } - yyj136++ - if yyhl136 { - yyb136 = yyj136 > l + yyj140++ + if yyhl140 { + yyb140 = yyj140 > l } else { - yyb136 = r.CheckBreak() + yyb140 = r.CheckBreak() } - if yyb136 { + if yyb140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1782,20 +1806,20 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if x.MinReplicas == nil { x.MinReplicas = new(int) } - yym139 := z.DecBinary() - _ = yym139 + yym143 := z.DecBinary() + _ = yym143 if false { } else { *((*int)(x.MinReplicas)) = int(r.DecodeInt(codecSelferBitsize1234)) } } - yyj136++ - if yyhl136 { - yyb136 = yyj136 > l + yyj140++ + if yyhl140 { + yyb140 = yyj140 > l } else { - yyb136 = r.CheckBreak() + yyb140 = r.CheckBreak() } - if yyb136 { + if yyb140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1805,13 +1829,13 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 } else { x.MaxReplicas = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj136++ - if yyhl136 { - yyb136 = yyj136 > l + yyj140++ + if yyhl140 { + yyb140 = yyj140 > l } else { - yyb136 = r.CheckBreak() + yyb140 = r.CheckBreak() } - if yyb136 { + if yyb140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1827,17 +1851,17 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 x.CPUUtilization.CodecDecodeSelf(d) } for { - yyj136++ - if yyhl136 { - yyb136 = yyj136 > l + yyj140++ + if yyhl140 { + yyb140 = yyj140 > l } else { - yyb136 = r.CheckBreak() + yyb140 = r.CheckBreak() } - if yyb136 { + if yyb140 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj136-1, "") + z.DecStructFieldNotFound(yyj140-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1849,80 +1873,80 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym142 := z.EncBinary() - _ = yym142 + yym146 := z.EncBinary() + _ = yym146 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep143 := !z.EncBinary() - yy2arr143 := z.EncBasicHandle().StructToArray - var yyq143 [5]bool - _, _, _ = yysep143, yyq143, yy2arr143 - const yyr143 bool = false - yyq143[0] = x.ObservedGeneration != nil - yyq143[1] = x.LastScaleTime != nil - yyq143[4] = x.CurrentCPUUtilizationPercentage != nil - var yynn143 int - if yyr143 || yy2arr143 { + yysep147 := !z.EncBinary() + yy2arr147 := z.EncBasicHandle().StructToArray + var yyq147 [5]bool + _, _, _ = yysep147, yyq147, yy2arr147 + const yyr147 bool = false + yyq147[0] = x.ObservedGeneration != nil + yyq147[1] = x.LastScaleTime != nil + yyq147[4] = x.CurrentCPUUtilizationPercentage != nil + var yynn147 int + if yyr147 || yy2arr147 { r.EncodeArrayStart(5) } else { - yynn143 = 2 - for _, b := range yyq143 { + yynn147 = 2 + for _, b := range yyq147 { if b { - yynn143++ + yynn147++ } } - r.EncodeMapStart(yynn143) - yynn143 = 0 + r.EncodeMapStart(yynn147) + yynn147 = 0 } - if yyr143 || yy2arr143 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq143[0] { + if yyq147[0] { if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy145 := *x.ObservedGeneration - yym146 := z.EncBinary() - _ = yym146 + yy149 := *x.ObservedGeneration + yym150 := z.EncBinary() + _ = yym150 if false { } else { - r.EncodeInt(int64(yy145)) + r.EncodeInt(int64(yy149)) } } } else { r.EncodeNil() } } else { - if yyq143[0] { + if yyq147[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy147 := *x.ObservedGeneration - yym148 := z.EncBinary() - _ = yym148 + yy151 := *x.ObservedGeneration + yym152 := z.EncBinary() + _ = yym152 if false { } else { - r.EncodeInt(int64(yy147)) + r.EncodeInt(int64(yy151)) } } } } - if yyr143 || yy2arr143 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq143[1] { + if yyq147[1] { if x.LastScaleTime == nil { r.EncodeNil() } else { - yym150 := z.EncBinary() - _ = yym150 + yym154 := z.EncBinary() + _ = yym154 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym150 { + } else if yym154 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym150 && z.IsJSONHandle() { + } else if !yym154 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -1932,20 +1956,20 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq143[1] { + if yyq147[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastScaleTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LastScaleTime == nil { r.EncodeNil() } else { - yym151 := z.EncBinary() - _ = yym151 + yym155 := z.EncBinary() + _ = yym155 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym151 { + } else if yym155 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym151 && z.IsJSONHandle() { + } else if !yym155 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -1953,10 +1977,10 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr143 || yy2arr143 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym153 := z.EncBinary() - _ = yym153 + yym157 := z.EncBinary() + _ = yym157 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) @@ -1965,17 +1989,17 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym154 := z.EncBinary() - _ = yym154 + yym158 := z.EncBinary() + _ = yym158 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) } } - if yyr143 || yy2arr143 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym156 := z.EncBinary() - _ = yym156 + yym160 := z.EncBinary() + _ = yym160 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) @@ -1984,49 +2008,49 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym157 := z.EncBinary() - _ = yym157 + yym161 := z.EncBinary() + _ = yym161 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) } } - if yyr143 || yy2arr143 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq143[4] { + if yyq147[4] { if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy159 := *x.CurrentCPUUtilizationPercentage - yym160 := z.EncBinary() - _ = yym160 + yy163 := *x.CurrentCPUUtilizationPercentage + yym164 := z.EncBinary() + _ = yym164 if false { } else { - r.EncodeInt(int64(yy159)) + r.EncodeInt(int64(yy163)) } } } else { r.EncodeNil() } } else { - if yyq143[4] { + if yyq147[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentCPUUtilizationPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy161 := *x.CurrentCPUUtilizationPercentage - yym162 := z.EncBinary() - _ = yym162 + yy165 := *x.CurrentCPUUtilizationPercentage + yym166 := z.EncBinary() + _ = yym166 if false { } else { - r.EncodeInt(int64(yy161)) + r.EncodeInt(int64(yy165)) } } } } - if yyr143 || yy2arr143 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2039,25 +2063,25 @@ func (x *HorizontalPodAutoscalerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym163 := z.DecBinary() - _ = yym163 + yym167 := z.DecBinary() + _ = yym167 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct164 := r.ContainerType() - if yyct164 == codecSelferValueTypeMap1234 { - yyl164 := r.ReadMapStart() - if yyl164 == 0 { + yyct168 := r.ContainerType() + if yyct168 == codecSelferValueTypeMap1234 { + yyl168 := r.ReadMapStart() + if yyl168 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl164, d) + x.codecDecodeSelfFromMap(yyl168, d) } - } else if yyct164 == codecSelferValueTypeArray1234 { - yyl164 := r.ReadArrayStart() - if yyl164 == 0 { + } else if yyct168 == codecSelferValueTypeArray1234 { + yyl168 := r.ReadArrayStart() + if yyl168 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl164, d) + x.codecDecodeSelfFromArray(yyl168, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2069,12 +2093,12 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys165Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys165Slc - var yyhl165 bool = l >= 0 - for yyj165 := 0; ; yyj165++ { - if yyhl165 { - if yyj165 >= l { + var yys169Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys169Slc + var yyhl169 bool = l >= 0 + for yyj169 := 0; ; yyj169++ { + if yyhl169 { + if yyj169 >= l { break } } else { @@ -2083,10 +2107,10 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys165Slc = r.DecodeBytes(yys165Slc, true, true) - yys165 := string(yys165Slc) + yys169Slc = r.DecodeBytes(yys169Slc, true, true) + yys169 := string(yys169Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys165 { + switch yys169 { case "observedGeneration": if r.TryDecodeAsNil() { if x.ObservedGeneration != nil { @@ -2096,8 +2120,8 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym167 := z.DecBinary() - _ = yym167 + yym171 := z.DecBinary() + _ = yym171 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) @@ -2112,13 +2136,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_unversioned.Time) } - yym169 := z.DecBinary() - _ = yym169 + yym173 := z.DecBinary() + _ = yym173 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym169 { + } else if yym173 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym169 && z.IsJSONHandle() { + } else if !yym173 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) @@ -2145,17 +2169,17 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int) } - yym173 := z.DecBinary() - _ = yym173 + yym177 := z.DecBinary() + _ = yym177 if false { } else { *((*int)(x.CurrentCPUUtilizationPercentage)) = int(r.DecodeInt(codecSelferBitsize1234)) } } default: - z.DecStructFieldNotFound(-1, yys165) - } // end switch yys165 - } // end for yyj165 + z.DecStructFieldNotFound(-1, yys169) + } // end switch yys169 + } // end for yyj169 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2163,16 +2187,16 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj174 int - var yyb174 bool - var yyhl174 bool = l >= 0 - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + var yyj178 int + var yyb178 bool + var yyhl178 bool = l >= 0 + yyj178++ + if yyhl178 { + yyb178 = yyj178 > l } else { - yyb174 = r.CheckBreak() + yyb178 = r.CheckBreak() } - if yyb174 { + if yyb178 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2185,20 +2209,20 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym176 := z.DecBinary() - _ = yym176 + yym180 := z.DecBinary() + _ = yym180 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) } } - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj178++ + if yyhl178 { + yyb178 = yyj178 > l } else { - yyb174 = r.CheckBreak() + yyb178 = r.CheckBreak() } - if yyb174 { + if yyb178 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2211,25 +2235,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_unversioned.Time) } - yym178 := z.DecBinary() - _ = yym178 + yym182 := z.DecBinary() + _ = yym182 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym178 { + } else if yym182 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym178 && z.IsJSONHandle() { + } else if !yym182 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) } } - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj178++ + if yyhl178 { + yyb178 = yyj178 > l } else { - yyb174 = r.CheckBreak() + yyb178 = r.CheckBreak() } - if yyb174 { + if yyb178 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2239,13 +2263,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec } else { x.CurrentReplicas = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj178++ + if yyhl178 { + yyb178 = yyj178 > l } else { - yyb174 = r.CheckBreak() + yyb178 = r.CheckBreak() } - if yyb174 { + if yyb178 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2255,13 +2279,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec } else { x.DesiredReplicas = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj178++ + if yyhl178 { + yyb178 = yyj178 > l } else { - yyb174 = r.CheckBreak() + yyb178 = r.CheckBreak() } - if yyb174 { + if yyb178 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2274,25 +2298,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int) } - yym182 := z.DecBinary() - _ = yym182 + yym186 := z.DecBinary() + _ = yym186 if false { } else { *((*int)(x.CurrentCPUUtilizationPercentage)) = int(r.DecodeInt(codecSelferBitsize1234)) } } for { - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj178++ + if yyhl178 { + yyb178 = yyj178 > l } else { - yyb174 = r.CheckBreak() + yyb178 = r.CheckBreak() } - if yyb174 { + if yyb178 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj174-1, "") + z.DecStructFieldNotFound(yyj178-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2304,136 +2328,148 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym183 := z.EncBinary() - _ = yym183 + yym187 := z.EncBinary() + _ = yym187 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep184 := !z.EncBinary() - yy2arr184 := z.EncBasicHandle().StructToArray - var yyq184 [5]bool - _, _, _ = yysep184, yyq184, yy2arr184 - const yyr184 bool = false - yyq184[0] = x.Kind != "" - yyq184[1] = x.APIVersion != "" - yyq184[2] = true - yyq184[3] = true - yyq184[4] = true - var yynn184 int - if yyr184 || yy2arr184 { + yysep188 := !z.EncBinary() + yy2arr188 := z.EncBasicHandle().StructToArray + var yyq188 [5]bool + _, _, _ = yysep188, yyq188, yy2arr188 + const yyr188 bool = false + yyq188[0] = x.Kind != "" + yyq188[1] = x.APIVersion != "" + yyq188[2] = true + yyq188[3] = true + yyq188[4] = true + var yynn188 int + if yyr188 || yy2arr188 { r.EncodeArrayStart(5) } else { - yynn184 = 0 - for _, b := range yyq184 { + yynn188 = 0 + for _, b := range yyq188 { if b { - yynn184++ + yynn188++ } } - r.EncodeMapStart(yynn184) - yynn184 = 0 + r.EncodeMapStart(yynn188) + yynn188 = 0 } - if yyr184 || yy2arr184 { + if yyr188 || yy2arr188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq184[0] { - yym186 := z.EncBinary() - _ = yym186 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq184[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym187 := z.EncBinary() - _ = yym187 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr184 || yy2arr184 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq184[1] { - yym189 := z.EncBinary() - _ = yym189 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq184[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq188[0] { yym190 := z.EncBinary() _ = yym190 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq188[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym191 := z.EncBinary() + _ = yym191 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr188 || yy2arr188 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq188[1] { + yym193 := z.EncBinary() + _ = yym193 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq188[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym194 := z.EncBinary() + _ = yym194 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr184 || yy2arr184 { + if yyr188 || yy2arr188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq184[2] { - yy192 := &x.ObjectMeta - yy192.CodecEncodeSelf(e) + if yyq188[2] { + yy196 := &x.ObjectMeta + yym197 := z.EncBinary() + _ = yym197 + if false { + } else if z.HasExtensions() && z.EncExt(yy196) { + } else { + z.EncFallback(yy196) + } } else { r.EncodeNil() } } else { - if yyq184[2] { + if yyq188[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy193 := &x.ObjectMeta - yy193.CodecEncodeSelf(e) + yy198 := &x.ObjectMeta + yym199 := z.EncBinary() + _ = yym199 + if false { + } else if z.HasExtensions() && z.EncExt(yy198) { + } else { + z.EncFallback(yy198) + } } } - if yyr184 || yy2arr184 { + if yyr188 || yy2arr188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq184[3] { - yy195 := &x.Spec - yy195.CodecEncodeSelf(e) + if yyq188[3] { + yy201 := &x.Spec + yy201.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq184[3] { + if yyq188[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy196 := &x.Spec - yy196.CodecEncodeSelf(e) + yy202 := &x.Spec + yy202.CodecEncodeSelf(e) } } - if yyr184 || yy2arr184 { + if yyr188 || yy2arr188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq184[4] { - yy198 := &x.Status - yy198.CodecEncodeSelf(e) + if yyq188[4] { + yy204 := &x.Status + yy204.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq184[4] { + if yyq188[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy199 := &x.Status - yy199.CodecEncodeSelf(e) + yy205 := &x.Status + yy205.CodecEncodeSelf(e) } } - if yyr184 || yy2arr184 { + if yyr188 || yy2arr188 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2446,25 +2482,25 @@ func (x *HorizontalPodAutoscaler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym200 := z.DecBinary() - _ = yym200 + yym206 := z.DecBinary() + _ = yym206 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct201 := r.ContainerType() - if yyct201 == codecSelferValueTypeMap1234 { - yyl201 := r.ReadMapStart() - if yyl201 == 0 { + yyct207 := r.ContainerType() + if yyct207 == codecSelferValueTypeMap1234 { + yyl207 := r.ReadMapStart() + if yyl207 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl201, d) + x.codecDecodeSelfFromMap(yyl207, d) } - } else if yyct201 == codecSelferValueTypeArray1234 { - yyl201 := r.ReadArrayStart() - if yyl201 == 0 { + } else if yyct207 == codecSelferValueTypeArray1234 { + yyl207 := r.ReadArrayStart() + if yyl207 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl201, d) + x.codecDecodeSelfFromArray(yyl207, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2476,12 +2512,12 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys202Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys202Slc - var yyhl202 bool = l >= 0 - for yyj202 := 0; ; yyj202++ { - if yyhl202 { - if yyj202 >= l { + var yys208Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys208Slc + var yyhl208 bool = l >= 0 + for yyj208 := 0; ; yyj208++ { + if yyhl208 { + if yyj208 >= l { break } } else { @@ -2490,10 +2526,10 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys202Slc = r.DecodeBytes(yys202Slc, true, true) - yys202 := string(yys202Slc) + yys208Slc = r.DecodeBytes(yys208Slc, true, true) + yys208 := string(yys208Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys202 { + switch yys208 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -2510,27 +2546,33 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv205 := &x.ObjectMeta - yyv205.CodecDecodeSelf(d) + yyv211 := &x.ObjectMeta + yym212 := z.DecBinary() + _ = yym212 + if false { + } else if z.HasExtensions() && z.DecExt(yyv211) { + } else { + z.DecFallback(yyv211, false) + } } case "spec": if r.TryDecodeAsNil() { x.Spec = HorizontalPodAutoscalerSpec{} } else { - yyv206 := &x.Spec - yyv206.CodecDecodeSelf(d) + yyv213 := &x.Spec + yyv213.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = HorizontalPodAutoscalerStatus{} } else { - yyv207 := &x.Status - yyv207.CodecDecodeSelf(d) + yyv214 := &x.Status + yyv214.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys202) - } // end switch yys202 - } // end for yyj202 + z.DecStructFieldNotFound(-1, yys208) + } // end switch yys208 + } // end for yyj208 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2538,16 +2580,16 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj208 int - var yyb208 bool - var yyhl208 bool = l >= 0 - yyj208++ - if yyhl208 { - yyb208 = yyj208 > l + var yyj215 int + var yyb215 bool + var yyhl215 bool = l >= 0 + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb208 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb208 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2557,13 +2599,13 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Kind = string(r.DecodeString()) } - yyj208++ - if yyhl208 { - yyb208 = yyj208 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb208 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb208 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2573,13 +2615,13 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } - yyj208++ - if yyhl208 { - yyb208 = yyj208 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb208 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb208 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2587,16 +2629,22 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv211 := &x.ObjectMeta - yyv211.CodecDecodeSelf(d) + yyv218 := &x.ObjectMeta + yym219 := z.DecBinary() + _ = yym219 + if false { + } else if z.HasExtensions() && z.DecExt(yyv218) { + } else { + z.DecFallback(yyv218, false) + } } - yyj208++ - if yyhl208 { - yyb208 = yyj208 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb208 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb208 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2604,16 +2652,16 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Spec = HorizontalPodAutoscalerSpec{} } else { - yyv212 := &x.Spec - yyv212.CodecDecodeSelf(d) + yyv220 := &x.Spec + yyv220.CodecDecodeSelf(d) } - yyj208++ - if yyhl208 { - yyb208 = yyj208 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb208 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb208 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2621,21 +2669,21 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Status = HorizontalPodAutoscalerStatus{} } else { - yyv213 := &x.Status - yyv213.CodecDecodeSelf(d) + yyv221 := &x.Status + yyv221.CodecDecodeSelf(d) } for { - yyj208++ - if yyhl208 { - yyb208 = yyj208 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb208 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb208 { + if yyb215 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj208-1, "") + z.DecStructFieldNotFound(yyj215-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2647,37 +2695,37 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym214 := z.EncBinary() - _ = yym214 + yym222 := z.EncBinary() + _ = yym222 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep215 := !z.EncBinary() - yy2arr215 := z.EncBasicHandle().StructToArray - var yyq215 [4]bool - _, _, _ = yysep215, yyq215, yy2arr215 - const yyr215 bool = false - yyq215[0] = x.Kind != "" - yyq215[1] = x.APIVersion != "" - yyq215[2] = true - var yynn215 int - if yyr215 || yy2arr215 { + yysep223 := !z.EncBinary() + yy2arr223 := z.EncBasicHandle().StructToArray + var yyq223 [4]bool + _, _, _ = yysep223, yyq223, yy2arr223 + const yyr223 bool = false + yyq223[0] = x.Kind != "" + yyq223[1] = x.APIVersion != "" + yyq223[2] = true + var yynn223 int + if yyr223 || yy2arr223 { r.EncodeArrayStart(4) } else { - yynn215 = 1 - for _, b := range yyq215 { + yynn223 = 1 + for _, b := range yyq223 { if b { - yynn215++ + yynn223++ } } - r.EncodeMapStart(yynn215) - yynn215 = 0 + r.EncodeMapStart(yynn223) + yynn223 = 0 } - if yyr215 || yy2arr215 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq215[0] { - yym217 := z.EncBinary() - _ = yym217 + if yyq223[0] { + yym225 := z.EncBinary() + _ = yym225 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -2686,23 +2734,23 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq215[0] { + if yyq223[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym218 := z.EncBinary() - _ = yym218 + yym226 := z.EncBinary() + _ = yym226 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr215 || yy2arr215 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq215[1] { - yym220 := z.EncBinary() - _ = yym220 + if yyq223[1] { + yym228 := z.EncBinary() + _ = yym228 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -2711,54 +2759,54 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq215[1] { + if yyq223[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym221 := z.EncBinary() - _ = yym221 + yym229 := z.EncBinary() + _ = yym229 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr215 || yy2arr215 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq215[2] { - yy223 := &x.ListMeta - yym224 := z.EncBinary() - _ = yym224 + if yyq223[2] { + yy231 := &x.ListMeta + yym232 := z.EncBinary() + _ = yym232 if false { - } else if z.HasExtensions() && z.EncExt(yy223) { + } else if z.HasExtensions() && z.EncExt(yy231) { } else { - z.EncFallback(yy223) + z.EncFallback(yy231) } } else { r.EncodeNil() } } else { - if yyq215[2] { + if yyq223[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy225 := &x.ListMeta - yym226 := z.EncBinary() - _ = yym226 + yy233 := &x.ListMeta + yym234 := z.EncBinary() + _ = yym234 if false { - } else if z.HasExtensions() && z.EncExt(yy225) { + } else if z.HasExtensions() && z.EncExt(yy233) { } else { - z.EncFallback(yy225) + z.EncFallback(yy233) } } } - if yyr215 || yy2arr215 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym228 := z.EncBinary() - _ = yym228 + yym236 := z.EncBinary() + _ = yym236 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) @@ -2771,15 +2819,15 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym229 := z.EncBinary() - _ = yym229 + yym237 := z.EncBinary() + _ = yym237 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) } } } - if yyr215 || yy2arr215 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2792,25 +2840,25 @@ func (x *HorizontalPodAutoscalerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym230 := z.DecBinary() - _ = yym230 + yym238 := z.DecBinary() + _ = yym238 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct231 := r.ContainerType() - if yyct231 == codecSelferValueTypeMap1234 { - yyl231 := r.ReadMapStart() - if yyl231 == 0 { + yyct239 := r.ContainerType() + if yyct239 == codecSelferValueTypeMap1234 { + yyl239 := r.ReadMapStart() + if yyl239 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl231, d) + x.codecDecodeSelfFromMap(yyl239, d) } - } else if yyct231 == codecSelferValueTypeArray1234 { - yyl231 := r.ReadArrayStart() - if yyl231 == 0 { + } else if yyct239 == codecSelferValueTypeArray1234 { + yyl239 := r.ReadArrayStart() + if yyl239 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl231, d) + x.codecDecodeSelfFromArray(yyl239, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2822,12 +2870,12 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys232Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys232Slc - var yyhl232 bool = l >= 0 - for yyj232 := 0; ; yyj232++ { - if yyhl232 { - if yyj232 >= l { + var yys240Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys240Slc + var yyhl240 bool = l >= 0 + for yyj240 := 0; ; yyj240++ { + if yyhl240 { + if yyj240 >= l { break } } else { @@ -2836,10 +2884,10 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys232Slc = r.DecodeBytes(yys232Slc, true, true) - yys232 := string(yys232Slc) + yys240Slc = r.DecodeBytes(yys240Slc, true, true) + yys240 := string(yys240Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys232 { + switch yys240 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -2856,31 +2904,31 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv235 := &x.ListMeta - yym236 := z.DecBinary() - _ = yym236 + yyv243 := &x.ListMeta + yym244 := z.DecBinary() + _ = yym244 if false { - } else if z.HasExtensions() && z.DecExt(yyv235) { + } else if z.HasExtensions() && z.DecExt(yyv243) { } else { - z.DecFallback(yyv235, false) + z.DecFallback(yyv243, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv237 := &x.Items - yym238 := z.DecBinary() - _ = yym238 + yyv245 := &x.Items + yym246 := z.DecBinary() + _ = yym246 if false { } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv237), d) + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv245), d) } } default: - z.DecStructFieldNotFound(-1, yys232) - } // end switch yys232 - } // end for yyj232 + z.DecStructFieldNotFound(-1, yys240) + } // end switch yys240 + } // end for yyj240 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2888,16 +2936,16 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj239 int - var yyb239 bool - var yyhl239 bool = l >= 0 - yyj239++ - if yyhl239 { - yyb239 = yyj239 > l + var yyj247 int + var yyb247 bool + var yyhl247 bool = l >= 0 + yyj247++ + if yyhl247 { + yyb247 = yyj247 > l } else { - yyb239 = r.CheckBreak() + yyb247 = r.CheckBreak() } - if yyb239 { + if yyb247 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2907,13 +2955,13 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Kind = string(r.DecodeString()) } - yyj239++ - if yyhl239 { - yyb239 = yyj239 > l + yyj247++ + if yyhl247 { + yyb247 = yyj247 > l } else { - yyb239 = r.CheckBreak() + yyb247 = r.CheckBreak() } - if yyb239 { + if yyb247 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2923,13 +2971,13 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 } else { x.APIVersion = string(r.DecodeString()) } - yyj239++ - if yyhl239 { - yyb239 = yyj239 > l + yyj247++ + if yyhl247 { + yyb247 = yyj247 > l } else { - yyb239 = r.CheckBreak() + yyb247 = r.CheckBreak() } - if yyb239 { + if yyb247 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2937,22 +2985,22 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv242 := &x.ListMeta - yym243 := z.DecBinary() - _ = yym243 + yyv250 := &x.ListMeta + yym251 := z.DecBinary() + _ = yym251 if false { - } else if z.HasExtensions() && z.DecExt(yyv242) { + } else if z.HasExtensions() && z.DecExt(yyv250) { } else { - z.DecFallback(yyv242, false) + z.DecFallback(yyv250, false) } } - yyj239++ - if yyhl239 { - yyb239 = yyj239 > l + yyj247++ + if yyhl247 { + yyb247 = yyj247 > l } else { - yyb239 = r.CheckBreak() + yyb247 = r.CheckBreak() } - if yyb239 { + if yyb247 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2960,26 +3008,26 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv244 := &x.Items - yym245 := z.DecBinary() - _ = yym245 + yyv252 := &x.Items + yym253 := z.DecBinary() + _ = yym253 if false { } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv244), d) + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv252), d) } } for { - yyj239++ - if yyhl239 { - yyb239 = yyj239 > l + yyj247++ + if yyhl247 { + yyb247 = yyj247 > l } else { - yyb239 = r.CheckBreak() + yyb247 = r.CheckBreak() } - if yyb239 { + if yyb247 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj239-1, "") + z.DecStructFieldNotFound(yyj247-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2991,39 +3039,39 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym246 := z.EncBinary() - _ = yym246 + yym254 := z.EncBinary() + _ = yym254 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep247 := !z.EncBinary() - yy2arr247 := z.EncBasicHandle().StructToArray - var yyq247 [5]bool - _, _, _ = yysep247, yyq247, yy2arr247 - const yyr247 bool = false - yyq247[0] = x.Kind != "" - yyq247[1] = x.APIVersion != "" - yyq247[2] = true - yyq247[3] = x.Description != "" - yyq247[4] = len(x.Versions) != 0 - var yynn247 int - if yyr247 || yy2arr247 { + yysep255 := !z.EncBinary() + yy2arr255 := z.EncBasicHandle().StructToArray + var yyq255 [5]bool + _, _, _ = yysep255, yyq255, yy2arr255 + const yyr255 bool = false + yyq255[0] = x.Kind != "" + yyq255[1] = x.APIVersion != "" + yyq255[2] = true + yyq255[3] = x.Description != "" + yyq255[4] = len(x.Versions) != 0 + var yynn255 int + if yyr255 || yy2arr255 { r.EncodeArrayStart(5) } else { - yynn247 = 0 - for _, b := range yyq247 { + yynn255 = 0 + for _, b := range yyq255 { if b { - yynn247++ + yynn255++ } } - r.EncodeMapStart(yynn247) - yynn247 = 0 + r.EncodeMapStart(yynn255) + yynn255 = 0 } - if yyr247 || yy2arr247 { + if yyr255 || yy2arr255 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[0] { - yym249 := z.EncBinary() - _ = yym249 + if yyq255[0] { + yym257 := z.EncBinary() + _ = yym257 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3032,66 +3080,78 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq247[0] { + if yyq255[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym250 := z.EncBinary() - _ = yym250 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr247 || yy2arr247 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[1] { - yym252 := z.EncBinary() - _ = yym252 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq247[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym253 := z.EncBinary() - _ = yym253 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr247 || yy2arr247 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[2] { - yy255 := &x.ObjectMeta - yy255.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq247[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy256 := &x.ObjectMeta - yy256.CodecEncodeSelf(e) - } - } - if yyr247 || yy2arr247 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[3] { yym258 := z.EncBinary() _ = yym258 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr255 || yy2arr255 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq255[1] { + yym260 := z.EncBinary() + _ = yym260 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq255[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym261 := z.EncBinary() + _ = yym261 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr255 || yy2arr255 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq255[2] { + yy263 := &x.ObjectMeta + yym264 := z.EncBinary() + _ = yym264 + if false { + } else if z.HasExtensions() && z.EncExt(yy263) { + } else { + z.EncFallback(yy263) + } + } else { + r.EncodeNil() + } + } else { + if yyq255[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy265 := &x.ObjectMeta + yym266 := z.EncBinary() + _ = yym266 + if false { + } else if z.HasExtensions() && z.EncExt(yy265) { + } else { + z.EncFallback(yy265) + } + } + } + if yyr255 || yy2arr255 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq255[3] { + yym268 := z.EncBinary() + _ = yym268 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Description)) } @@ -3099,26 +3159,26 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq247[3] { + if yyq255[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("description")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym259 := z.EncBinary() - _ = yym259 + yym269 := z.EncBinary() + _ = yym269 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Description)) } } } - if yyr247 || yy2arr247 { + if yyr255 || yy2arr255 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[4] { + if yyq255[4] { if x.Versions == nil { r.EncodeNil() } else { - yym261 := z.EncBinary() - _ = yym261 + yym271 := z.EncBinary() + _ = yym271 if false { } else { h.encSliceAPIVersion(([]APIVersion)(x.Versions), e) @@ -3128,15 +3188,15 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq247[4] { + if yyq255[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("versions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Versions == nil { r.EncodeNil() } else { - yym262 := z.EncBinary() - _ = yym262 + yym272 := z.EncBinary() + _ = yym272 if false { } else { h.encSliceAPIVersion(([]APIVersion)(x.Versions), e) @@ -3144,7 +3204,7 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr247 || yy2arr247 { + if yyr255 || yy2arr255 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3157,25 +3217,25 @@ func (x *ThirdPartyResource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym263 := z.DecBinary() - _ = yym263 + yym273 := z.DecBinary() + _ = yym273 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct264 := r.ContainerType() - if yyct264 == codecSelferValueTypeMap1234 { - yyl264 := r.ReadMapStart() - if yyl264 == 0 { + yyct274 := r.ContainerType() + if yyct274 == codecSelferValueTypeMap1234 { + yyl274 := r.ReadMapStart() + if yyl274 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl264, d) + x.codecDecodeSelfFromMap(yyl274, d) } - } else if yyct264 == codecSelferValueTypeArray1234 { - yyl264 := r.ReadArrayStart() - if yyl264 == 0 { + } else if yyct274 == codecSelferValueTypeArray1234 { + yyl274 := r.ReadArrayStart() + if yyl274 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl264, d) + x.codecDecodeSelfFromArray(yyl274, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3187,12 +3247,12 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys265Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys265Slc - var yyhl265 bool = l >= 0 - for yyj265 := 0; ; yyj265++ { - if yyhl265 { - if yyj265 >= l { + var yys275Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys275Slc + var yyhl275 bool = l >= 0 + for yyj275 := 0; ; yyj275++ { + if yyhl275 { + if yyj275 >= l { break } } else { @@ -3201,10 +3261,10 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys265Slc = r.DecodeBytes(yys265Slc, true, true) - yys265 := string(yys265Slc) + yys275Slc = r.DecodeBytes(yys275Slc, true, true) + yys275 := string(yys275Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys265 { + switch yys275 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3221,8 +3281,14 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv268 := &x.ObjectMeta - yyv268.CodecDecodeSelf(d) + yyv278 := &x.ObjectMeta + yym279 := z.DecBinary() + _ = yym279 + if false { + } else if z.HasExtensions() && z.DecExt(yyv278) { + } else { + z.DecFallback(yyv278, false) + } } case "description": if r.TryDecodeAsNil() { @@ -3234,18 +3300,18 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Versions = nil } else { - yyv270 := &x.Versions - yym271 := z.DecBinary() - _ = yym271 + yyv281 := &x.Versions + yym282 := z.DecBinary() + _ = yym282 if false { } else { - h.decSliceAPIVersion((*[]APIVersion)(yyv270), d) + h.decSliceAPIVersion((*[]APIVersion)(yyv281), d) } } default: - z.DecStructFieldNotFound(-1, yys265) - } // end switch yys265 - } // end for yyj265 + z.DecStructFieldNotFound(-1, yys275) + } // end switch yys275 + } // end for yyj275 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3253,16 +3319,16 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj272 int - var yyb272 bool - var yyhl272 bool = l >= 0 - yyj272++ - if yyhl272 { - yyb272 = yyj272 > l + var yyj283 int + var yyb283 bool + var yyhl283 bool = l >= 0 + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb272 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb272 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3272,13 +3338,13 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj272++ - if yyhl272 { - yyb272 = yyj272 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb272 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb272 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3288,13 +3354,13 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - yyj272++ - if yyhl272 { - yyb272 = yyj272 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb272 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb272 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3302,16 +3368,22 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv275 := &x.ObjectMeta - yyv275.CodecDecodeSelf(d) + yyv286 := &x.ObjectMeta + yym287 := z.DecBinary() + _ = yym287 + if false { + } else if z.HasExtensions() && z.DecExt(yyv286) { + } else { + z.DecFallback(yyv286, false) + } } - yyj272++ - if yyhl272 { - yyb272 = yyj272 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb272 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb272 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3321,13 +3393,13 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Description = string(r.DecodeString()) } - yyj272++ - if yyhl272 { - yyb272 = yyj272 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb272 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb272 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3335,26 +3407,26 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Versions = nil } else { - yyv277 := &x.Versions - yym278 := z.DecBinary() - _ = yym278 + yyv289 := &x.Versions + yym290 := z.DecBinary() + _ = yym290 if false { } else { - h.decSliceAPIVersion((*[]APIVersion)(yyv277), d) + h.decSliceAPIVersion((*[]APIVersion)(yyv289), d) } } for { - yyj272++ - if yyhl272 { - yyb272 = yyj272 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb272 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb272 { + if yyb283 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj272-1, "") + z.DecStructFieldNotFound(yyj283-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3366,37 +3438,37 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym279 := z.EncBinary() - _ = yym279 + yym291 := z.EncBinary() + _ = yym291 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep280 := !z.EncBinary() - yy2arr280 := z.EncBasicHandle().StructToArray - var yyq280 [4]bool - _, _, _ = yysep280, yyq280, yy2arr280 - const yyr280 bool = false - yyq280[0] = x.Kind != "" - yyq280[1] = x.APIVersion != "" - yyq280[2] = true - var yynn280 int - if yyr280 || yy2arr280 { + yysep292 := !z.EncBinary() + yy2arr292 := z.EncBasicHandle().StructToArray + var yyq292 [4]bool + _, _, _ = yysep292, yyq292, yy2arr292 + const yyr292 bool = false + yyq292[0] = x.Kind != "" + yyq292[1] = x.APIVersion != "" + yyq292[2] = true + var yynn292 int + if yyr292 || yy2arr292 { r.EncodeArrayStart(4) } else { - yynn280 = 1 - for _, b := range yyq280 { + yynn292 = 1 + for _, b := range yyq292 { if b { - yynn280++ + yynn292++ } } - r.EncodeMapStart(yynn280) - yynn280 = 0 + r.EncodeMapStart(yynn292) + yynn292 = 0 } - if yyr280 || yy2arr280 { + if yyr292 || yy2arr292 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq280[0] { - yym282 := z.EncBinary() - _ = yym282 + if yyq292[0] { + yym294 := z.EncBinary() + _ = yym294 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3405,23 +3477,23 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq280[0] { + if yyq292[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym283 := z.EncBinary() - _ = yym283 + yym295 := z.EncBinary() + _ = yym295 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr280 || yy2arr280 { + if yyr292 || yy2arr292 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq280[1] { - yym285 := z.EncBinary() - _ = yym285 + if yyq292[1] { + yym297 := z.EncBinary() + _ = yym297 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -3430,54 +3502,54 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq280[1] { + if yyq292[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym286 := z.EncBinary() - _ = yym286 + yym298 := z.EncBinary() + _ = yym298 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr280 || yy2arr280 { + if yyr292 || yy2arr292 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq280[2] { - yy288 := &x.ListMeta - yym289 := z.EncBinary() - _ = yym289 + if yyq292[2] { + yy300 := &x.ListMeta + yym301 := z.EncBinary() + _ = yym301 if false { - } else if z.HasExtensions() && z.EncExt(yy288) { + } else if z.HasExtensions() && z.EncExt(yy300) { } else { - z.EncFallback(yy288) + z.EncFallback(yy300) } } else { r.EncodeNil() } } else { - if yyq280[2] { + if yyq292[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy290 := &x.ListMeta - yym291 := z.EncBinary() - _ = yym291 + yy302 := &x.ListMeta + yym303 := z.EncBinary() + _ = yym303 if false { - } else if z.HasExtensions() && z.EncExt(yy290) { + } else if z.HasExtensions() && z.EncExt(yy302) { } else { - z.EncFallback(yy290) + z.EncFallback(yy302) } } } - if yyr280 || yy2arr280 { + if yyr292 || yy2arr292 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym293 := z.EncBinary() - _ = yym293 + yym305 := z.EncBinary() + _ = yym305 if false { } else { h.encSliceThirdPartyResource(([]ThirdPartyResource)(x.Items), e) @@ -3490,15 +3562,15 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym294 := z.EncBinary() - _ = yym294 + yym306 := z.EncBinary() + _ = yym306 if false { } else { h.encSliceThirdPartyResource(([]ThirdPartyResource)(x.Items), e) } } } - if yyr280 || yy2arr280 { + if yyr292 || yy2arr292 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3511,25 +3583,25 @@ func (x *ThirdPartyResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym295 := z.DecBinary() - _ = yym295 + yym307 := z.DecBinary() + _ = yym307 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct296 := r.ContainerType() - if yyct296 == codecSelferValueTypeMap1234 { - yyl296 := r.ReadMapStart() - if yyl296 == 0 { + yyct308 := r.ContainerType() + if yyct308 == codecSelferValueTypeMap1234 { + yyl308 := r.ReadMapStart() + if yyl308 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl296, d) + x.codecDecodeSelfFromMap(yyl308, d) } - } else if yyct296 == codecSelferValueTypeArray1234 { - yyl296 := r.ReadArrayStart() - if yyl296 == 0 { + } else if yyct308 == codecSelferValueTypeArray1234 { + yyl308 := r.ReadArrayStart() + if yyl308 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl296, d) + x.codecDecodeSelfFromArray(yyl308, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3541,12 +3613,12 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys297Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys297Slc - var yyhl297 bool = l >= 0 - for yyj297 := 0; ; yyj297++ { - if yyhl297 { - if yyj297 >= l { + var yys309Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys309Slc + var yyhl309 bool = l >= 0 + for yyj309 := 0; ; yyj309++ { + if yyhl309 { + if yyj309 >= l { break } } else { @@ -3555,10 +3627,10 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys297Slc = r.DecodeBytes(yys297Slc, true, true) - yys297 := string(yys297Slc) + yys309Slc = r.DecodeBytes(yys309Slc, true, true) + yys309 := string(yys309Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys297 { + switch yys309 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3575,31 +3647,31 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv300 := &x.ListMeta - yym301 := z.DecBinary() - _ = yym301 + yyv312 := &x.ListMeta + yym313 := z.DecBinary() + _ = yym313 if false { - } else if z.HasExtensions() && z.DecExt(yyv300) { + } else if z.HasExtensions() && z.DecExt(yyv312) { } else { - z.DecFallback(yyv300, false) + z.DecFallback(yyv312, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv302 := &x.Items - yym303 := z.DecBinary() - _ = yym303 + yyv314 := &x.Items + yym315 := z.DecBinary() + _ = yym315 if false { } else { - h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv302), d) + h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv314), d) } } default: - z.DecStructFieldNotFound(-1, yys297) - } // end switch yys297 - } // end for yyj297 + z.DecStructFieldNotFound(-1, yys309) + } // end switch yys309 + } // end for yyj309 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3607,16 +3679,16 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj304 int - var yyb304 bool - var yyhl304 bool = l >= 0 - yyj304++ - if yyhl304 { - yyb304 = yyj304 > l + var yyj316 int + var yyb316 bool + var yyhl316 bool = l >= 0 + yyj316++ + if yyhl316 { + yyb316 = yyj316 > l } else { - yyb304 = r.CheckBreak() + yyb316 = r.CheckBreak() } - if yyb304 { + if yyb316 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3626,13 +3698,13 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Kind = string(r.DecodeString()) } - yyj304++ - if yyhl304 { - yyb304 = yyj304 > l + yyj316++ + if yyhl316 { + yyb316 = yyj316 > l } else { - yyb304 = r.CheckBreak() + yyb316 = r.CheckBreak() } - if yyb304 { + if yyb316 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3642,13 +3714,13 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.APIVersion = string(r.DecodeString()) } - yyj304++ - if yyhl304 { - yyb304 = yyj304 > l + yyj316++ + if yyhl316 { + yyb316 = yyj316 > l } else { - yyb304 = r.CheckBreak() + yyb316 = r.CheckBreak() } - if yyb304 { + if yyb316 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3656,22 +3728,22 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv307 := &x.ListMeta - yym308 := z.DecBinary() - _ = yym308 + yyv319 := &x.ListMeta + yym320 := z.DecBinary() + _ = yym320 if false { - } else if z.HasExtensions() && z.DecExt(yyv307) { + } else if z.HasExtensions() && z.DecExt(yyv319) { } else { - z.DecFallback(yyv307, false) + z.DecFallback(yyv319, false) } } - yyj304++ - if yyhl304 { - yyb304 = yyj304 > l + yyj316++ + if yyhl316 { + yyb316 = yyj316 > l } else { - yyb304 = r.CheckBreak() + yyb316 = r.CheckBreak() } - if yyb304 { + if yyb316 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3679,26 +3751,26 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Items = nil } else { - yyv309 := &x.Items - yym310 := z.DecBinary() - _ = yym310 + yyv321 := &x.Items + yym322 := z.DecBinary() + _ = yym322 if false { } else { - h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv309), d) + h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv321), d) } } for { - yyj304++ - if yyhl304 { - yyb304 = yyj304 > l + yyj316++ + if yyhl316 { + yyb316 = yyj316 > l } else { - yyb304 = r.CheckBreak() + yyb316 = r.CheckBreak() } - if yyb304 { + if yyb316 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj304-1, "") + z.DecStructFieldNotFound(yyj316-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3710,36 +3782,36 @@ func (x *APIVersion) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym311 := z.EncBinary() - _ = yym311 + yym323 := z.EncBinary() + _ = yym323 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep312 := !z.EncBinary() - yy2arr312 := z.EncBasicHandle().StructToArray - var yyq312 [2]bool - _, _, _ = yysep312, yyq312, yy2arr312 - const yyr312 bool = false - yyq312[0] = x.Name != "" - yyq312[1] = x.APIGroup != "" - var yynn312 int - if yyr312 || yy2arr312 { + yysep324 := !z.EncBinary() + yy2arr324 := z.EncBasicHandle().StructToArray + var yyq324 [2]bool + _, _, _ = yysep324, yyq324, yy2arr324 + const yyr324 bool = false + yyq324[0] = x.Name != "" + yyq324[1] = x.APIGroup != "" + var yynn324 int + if yyr324 || yy2arr324 { r.EncodeArrayStart(2) } else { - yynn312 = 0 - for _, b := range yyq312 { + yynn324 = 0 + for _, b := range yyq324 { if b { - yynn312++ + yynn324++ } } - r.EncodeMapStart(yynn312) - yynn312 = 0 + r.EncodeMapStart(yynn324) + yynn324 = 0 } - if yyr312 || yy2arr312 { + if yyr324 || yy2arr324 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq312[0] { - yym314 := z.EncBinary() - _ = yym314 + if yyq324[0] { + yym326 := z.EncBinary() + _ = yym326 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -3748,23 +3820,23 @@ func (x *APIVersion) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq312[0] { + if yyq324[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym315 := z.EncBinary() - _ = yym315 + yym327 := z.EncBinary() + _ = yym327 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr312 || yy2arr312 { + if yyr324 || yy2arr324 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq312[1] { - yym317 := z.EncBinary() - _ = yym317 + if yyq324[1] { + yym329 := z.EncBinary() + _ = yym329 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIGroup)) @@ -3773,19 +3845,19 @@ func (x *APIVersion) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq312[1] { + if yyq324[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym318 := z.EncBinary() - _ = yym318 + yym330 := z.EncBinary() + _ = yym330 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIGroup)) } } } - if yyr312 || yy2arr312 { + if yyr324 || yy2arr324 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3798,25 +3870,25 @@ func (x *APIVersion) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym319 := z.DecBinary() - _ = yym319 + yym331 := z.DecBinary() + _ = yym331 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct320 := r.ContainerType() - if yyct320 == codecSelferValueTypeMap1234 { - yyl320 := r.ReadMapStart() - if yyl320 == 0 { + yyct332 := r.ContainerType() + if yyct332 == codecSelferValueTypeMap1234 { + yyl332 := r.ReadMapStart() + if yyl332 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl320, d) + x.codecDecodeSelfFromMap(yyl332, d) } - } else if yyct320 == codecSelferValueTypeArray1234 { - yyl320 := r.ReadArrayStart() - if yyl320 == 0 { + } else if yyct332 == codecSelferValueTypeArray1234 { + yyl332 := r.ReadArrayStart() + if yyl332 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl320, d) + x.codecDecodeSelfFromArray(yyl332, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3828,12 +3900,12 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys321Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys321Slc - var yyhl321 bool = l >= 0 - for yyj321 := 0; ; yyj321++ { - if yyhl321 { - if yyj321 >= l { + var yys333Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys333Slc + var yyhl333 bool = l >= 0 + for yyj333 := 0; ; yyj333++ { + if yyhl333 { + if yyj333 >= l { break } } else { @@ -3842,10 +3914,10 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys321Slc = r.DecodeBytes(yys321Slc, true, true) - yys321 := string(yys321Slc) + yys333Slc = r.DecodeBytes(yys333Slc, true, true) + yys333 := string(yys333Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys321 { + switch yys333 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -3859,9 +3931,9 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIGroup = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys321) - } // end switch yys321 - } // end for yyj321 + z.DecStructFieldNotFound(-1, yys333) + } // end switch yys333 + } // end for yyj333 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3869,16 +3941,16 @@ func (x *APIVersion) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj324 int - var yyb324 bool - var yyhl324 bool = l >= 0 - yyj324++ - if yyhl324 { - yyb324 = yyj324 > l + var yyj336 int + var yyb336 bool + var yyhl336 bool = l >= 0 + yyj336++ + if yyhl336 { + yyb336 = yyj336 > l } else { - yyb324 = r.CheckBreak() + yyb336 = r.CheckBreak() } - if yyb324 { + if yyb336 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3888,13 +3960,13 @@ func (x *APIVersion) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj324++ - if yyhl324 { - yyb324 = yyj324 > l + yyj336++ + if yyhl336 { + yyb336 = yyj336 > l } else { - yyb324 = r.CheckBreak() + yyb336 = r.CheckBreak() } - if yyb324 { + if yyb336 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3905,17 +3977,17 @@ func (x *APIVersion) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIGroup = string(r.DecodeString()) } for { - yyj324++ - if yyhl324 { - yyb324 = yyj324 > l + yyj336++ + if yyhl336 { + yyb336 = yyj336 > l } else { - yyb324 = r.CheckBreak() + yyb336 = r.CheckBreak() } - if yyb324 { + if yyb336 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj324-1, "") + z.DecStructFieldNotFound(yyj336-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3927,38 +3999,38 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym327 := z.EncBinary() - _ = yym327 + yym339 := z.EncBinary() + _ = yym339 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep328 := !z.EncBinary() - yy2arr328 := z.EncBasicHandle().StructToArray - var yyq328 [4]bool - _, _, _ = yysep328, yyq328, yy2arr328 - const yyr328 bool = false - yyq328[0] = x.Kind != "" - yyq328[1] = x.APIVersion != "" - yyq328[2] = true - yyq328[3] = len(x.Data) != 0 - var yynn328 int - if yyr328 || yy2arr328 { + yysep340 := !z.EncBinary() + yy2arr340 := z.EncBasicHandle().StructToArray + var yyq340 [4]bool + _, _, _ = yysep340, yyq340, yy2arr340 + const yyr340 bool = false + yyq340[0] = x.Kind != "" + yyq340[1] = x.APIVersion != "" + yyq340[2] = true + yyq340[3] = len(x.Data) != 0 + var yynn340 int + if yyr340 || yy2arr340 { r.EncodeArrayStart(4) } else { - yynn328 = 0 - for _, b := range yyq328 { + yynn340 = 0 + for _, b := range yyq340 { if b { - yynn328++ + yynn340++ } } - r.EncodeMapStart(yynn328) - yynn328 = 0 + r.EncodeMapStart(yynn340) + yynn340 = 0 } - if yyr328 || yy2arr328 { + if yyr340 || yy2arr340 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq328[0] { - yym330 := z.EncBinary() - _ = yym330 + if yyq340[0] { + yym342 := z.EncBinary() + _ = yym342 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3967,23 +4039,23 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq328[0] { + if yyq340[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym331 := z.EncBinary() - _ = yym331 + yym343 := z.EncBinary() + _ = yym343 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr328 || yy2arr328 { + if yyr340 || yy2arr340 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq328[1] { - yym333 := z.EncBinary() - _ = yym333 + if yyq340[1] { + yym345 := z.EncBinary() + _ = yym345 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -3992,43 +4064,55 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq328[1] { + if yyq340[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym334 := z.EncBinary() - _ = yym334 + yym346 := z.EncBinary() + _ = yym346 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr328 || yy2arr328 { + if yyr340 || yy2arr340 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq328[2] { - yy336 := &x.ObjectMeta - yy336.CodecEncodeSelf(e) + if yyq340[2] { + yy348 := &x.ObjectMeta + yym349 := z.EncBinary() + _ = yym349 + if false { + } else if z.HasExtensions() && z.EncExt(yy348) { + } else { + z.EncFallback(yy348) + } } else { r.EncodeNil() } } else { - if yyq328[2] { + if yyq340[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy337 := &x.ObjectMeta - yy337.CodecEncodeSelf(e) + yy350 := &x.ObjectMeta + yym351 := z.EncBinary() + _ = yym351 + if false { + } else if z.HasExtensions() && z.EncExt(yy350) { + } else { + z.EncFallback(yy350) + } } } - if yyr328 || yy2arr328 { + if yyr340 || yy2arr340 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq328[3] { + if yyq340[3] { if x.Data == nil { r.EncodeNil() } else { - yym339 := z.EncBinary() - _ = yym339 + yym353 := z.EncBinary() + _ = yym353 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -4038,15 +4122,15 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq328[3] { + if yyq340[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym340 := z.EncBinary() - _ = yym340 + yym354 := z.EncBinary() + _ = yym354 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -4054,7 +4138,7 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr328 || yy2arr328 { + if yyr340 || yy2arr340 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4067,25 +4151,25 @@ func (x *ThirdPartyResourceData) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym341 := z.DecBinary() - _ = yym341 + yym355 := z.DecBinary() + _ = yym355 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct342 := r.ContainerType() - if yyct342 == codecSelferValueTypeMap1234 { - yyl342 := r.ReadMapStart() - if yyl342 == 0 { + yyct356 := r.ContainerType() + if yyct356 == codecSelferValueTypeMap1234 { + yyl356 := r.ReadMapStart() + if yyl356 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl342, d) + x.codecDecodeSelfFromMap(yyl356, d) } - } else if yyct342 == codecSelferValueTypeArray1234 { - yyl342 := r.ReadArrayStart() - if yyl342 == 0 { + } else if yyct356 == codecSelferValueTypeArray1234 { + yyl356 := r.ReadArrayStart() + if yyl356 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl342, d) + x.codecDecodeSelfFromArray(yyl356, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4097,12 +4181,12 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys343Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys343Slc - var yyhl343 bool = l >= 0 - for yyj343 := 0; ; yyj343++ { - if yyhl343 { - if yyj343 >= l { + var yys357Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys357Slc + var yyhl357 bool = l >= 0 + for yyj357 := 0; ; yyj357++ { + if yyhl357 { + if yyj357 >= l { break } } else { @@ -4111,10 +4195,10 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys343Slc = r.DecodeBytes(yys343Slc, true, true) - yys343 := string(yys343Slc) + yys357Slc = r.DecodeBytes(yys357Slc, true, true) + yys357 := string(yys357Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys343 { + switch yys357 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -4131,25 +4215,31 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv346 := &x.ObjectMeta - yyv346.CodecDecodeSelf(d) + yyv360 := &x.ObjectMeta + yym361 := z.DecBinary() + _ = yym361 + if false { + } else if z.HasExtensions() && z.DecExt(yyv360) { + } else { + z.DecFallback(yyv360, false) + } } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv347 := &x.Data - yym348 := z.DecBinary() - _ = yym348 + yyv362 := &x.Data + yym363 := z.DecBinary() + _ = yym363 if false { } else { - *yyv347 = r.DecodeBytes(*(*[]byte)(yyv347), false, false) + *yyv362 = r.DecodeBytes(*(*[]byte)(yyv362), false, false) } } default: - z.DecStructFieldNotFound(-1, yys343) - } // end switch yys343 - } // end for yyj343 + z.DecStructFieldNotFound(-1, yys357) + } // end switch yys357 + } // end for yyj357 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4157,16 +4247,16 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj349 int - var yyb349 bool - var yyhl349 bool = l >= 0 - yyj349++ - if yyhl349 { - yyb349 = yyj349 > l + var yyj364 int + var yyb364 bool + var yyhl364 bool = l >= 0 + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb349 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb349 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4176,13 +4266,13 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Kind = string(r.DecodeString()) } - yyj349++ - if yyhl349 { - yyb349 = yyj349 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb349 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb349 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4192,13 +4282,13 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.APIVersion = string(r.DecodeString()) } - yyj349++ - if yyhl349 { - yyb349 = yyj349 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb349 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb349 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4206,16 +4296,22 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv352 := &x.ObjectMeta - yyv352.CodecDecodeSelf(d) + yyv367 := &x.ObjectMeta + yym368 := z.DecBinary() + _ = yym368 + if false { + } else if z.HasExtensions() && z.DecExt(yyv367) { + } else { + z.DecFallback(yyv367, false) + } } - yyj349++ - if yyhl349 { - yyb349 = yyj349 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb349 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb349 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4223,26 +4319,26 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Data = nil } else { - yyv353 := &x.Data - yym354 := z.DecBinary() - _ = yym354 + yyv369 := &x.Data + yym370 := z.DecBinary() + _ = yym370 if false { } else { - *yyv353 = r.DecodeBytes(*(*[]byte)(yyv353), false, false) + *yyv369 = r.DecodeBytes(*(*[]byte)(yyv369), false, false) } } for { - yyj349++ - if yyhl349 { - yyb349 = yyj349 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb349 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb349 { + if yyb364 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj349-1, "") + z.DecStructFieldNotFound(yyj364-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4254,39 +4350,39 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym355 := z.EncBinary() - _ = yym355 + yym371 := z.EncBinary() + _ = yym371 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep356 := !z.EncBinary() - yy2arr356 := z.EncBasicHandle().StructToArray - var yyq356 [5]bool - _, _, _ = yysep356, yyq356, yy2arr356 - const yyr356 bool = false - yyq356[0] = x.Kind != "" - yyq356[1] = x.APIVersion != "" - yyq356[2] = true - yyq356[3] = true - yyq356[4] = true - var yynn356 int - if yyr356 || yy2arr356 { + yysep372 := !z.EncBinary() + yy2arr372 := z.EncBasicHandle().StructToArray + var yyq372 [5]bool + _, _, _ = yysep372, yyq372, yy2arr372 + const yyr372 bool = false + yyq372[0] = x.Kind != "" + yyq372[1] = x.APIVersion != "" + yyq372[2] = true + yyq372[3] = true + yyq372[4] = true + var yynn372 int + if yyr372 || yy2arr372 { r.EncodeArrayStart(5) } else { - yynn356 = 0 - for _, b := range yyq356 { + yynn372 = 0 + for _, b := range yyq372 { if b { - yynn356++ + yynn372++ } } - r.EncodeMapStart(yynn356) - yynn356 = 0 + r.EncodeMapStart(yynn372) + yynn372 = 0 } - if yyr356 || yy2arr356 { + if yyr372 || yy2arr372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq356[0] { - yym358 := z.EncBinary() - _ = yym358 + if yyq372[0] { + yym374 := z.EncBinary() + _ = yym374 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -4295,23 +4391,23 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq356[0] { + if yyq372[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym359 := z.EncBinary() - _ = yym359 + yym375 := z.EncBinary() + _ = yym375 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr356 || yy2arr356 { + if yyr372 || yy2arr372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq356[1] { - yym361 := z.EncBinary() - _ = yym361 + if yyq372[1] { + yym377 := z.EncBinary() + _ = yym377 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -4320,70 +4416,82 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq356[1] { + if yyq372[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym362 := z.EncBinary() - _ = yym362 + yym378 := z.EncBinary() + _ = yym378 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr356 || yy2arr356 { + if yyr372 || yy2arr372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq356[2] { - yy364 := &x.ObjectMeta - yy364.CodecEncodeSelf(e) + if yyq372[2] { + yy380 := &x.ObjectMeta + yym381 := z.EncBinary() + _ = yym381 + if false { + } else if z.HasExtensions() && z.EncExt(yy380) { + } else { + z.EncFallback(yy380) + } } else { r.EncodeNil() } } else { - if yyq356[2] { + if yyq372[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy365 := &x.ObjectMeta - yy365.CodecEncodeSelf(e) + yy382 := &x.ObjectMeta + yym383 := z.EncBinary() + _ = yym383 + if false { + } else if z.HasExtensions() && z.EncExt(yy382) { + } else { + z.EncFallback(yy382) + } } } - if yyr356 || yy2arr356 { + if yyr372 || yy2arr372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq356[3] { - yy367 := &x.Spec - yy367.CodecEncodeSelf(e) + if yyq372[3] { + yy385 := &x.Spec + yy385.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq356[3] { + if yyq372[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy368 := &x.Spec - yy368.CodecEncodeSelf(e) + yy386 := &x.Spec + yy386.CodecEncodeSelf(e) } } - if yyr356 || yy2arr356 { + if yyr372 || yy2arr372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq356[4] { - yy370 := &x.Status - yy370.CodecEncodeSelf(e) + if yyq372[4] { + yy388 := &x.Status + yy388.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq356[4] { + if yyq372[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy371 := &x.Status - yy371.CodecEncodeSelf(e) + yy389 := &x.Status + yy389.CodecEncodeSelf(e) } } - if yyr356 || yy2arr356 { + if yyr372 || yy2arr372 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4396,25 +4504,25 @@ func (x *Deployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym372 := z.DecBinary() - _ = yym372 + yym390 := z.DecBinary() + _ = yym390 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct373 := r.ContainerType() - if yyct373 == codecSelferValueTypeMap1234 { - yyl373 := r.ReadMapStart() - if yyl373 == 0 { + yyct391 := r.ContainerType() + if yyct391 == codecSelferValueTypeMap1234 { + yyl391 := r.ReadMapStart() + if yyl391 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl373, d) + x.codecDecodeSelfFromMap(yyl391, d) } - } else if yyct373 == codecSelferValueTypeArray1234 { - yyl373 := r.ReadArrayStart() - if yyl373 == 0 { + } else if yyct391 == codecSelferValueTypeArray1234 { + yyl391 := r.ReadArrayStart() + if yyl391 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl373, d) + x.codecDecodeSelfFromArray(yyl391, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4426,12 +4534,12 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys374Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys374Slc - var yyhl374 bool = l >= 0 - for yyj374 := 0; ; yyj374++ { - if yyhl374 { - if yyj374 >= l { + var yys392Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys392Slc + var yyhl392 bool = l >= 0 + for yyj392 := 0; ; yyj392++ { + if yyhl392 { + if yyj392 >= l { break } } else { @@ -4440,10 +4548,10 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys374Slc = r.DecodeBytes(yys374Slc, true, true) - yys374 := string(yys374Slc) + yys392Slc = r.DecodeBytes(yys392Slc, true, true) + yys392 := string(yys392Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys374 { + switch yys392 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -4460,27 +4568,33 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv377 := &x.ObjectMeta - yyv377.CodecDecodeSelf(d) + yyv395 := &x.ObjectMeta + yym396 := z.DecBinary() + _ = yym396 + if false { + } else if z.HasExtensions() && z.DecExt(yyv395) { + } else { + z.DecFallback(yyv395, false) + } } case "spec": if r.TryDecodeAsNil() { x.Spec = DeploymentSpec{} } else { - yyv378 := &x.Spec - yyv378.CodecDecodeSelf(d) + yyv397 := &x.Spec + yyv397.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = DeploymentStatus{} } else { - yyv379 := &x.Status - yyv379.CodecDecodeSelf(d) + yyv398 := &x.Status + yyv398.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys374) - } // end switch yys374 - } // end for yyj374 + z.DecStructFieldNotFound(-1, yys392) + } // end switch yys392 + } // end for yyj392 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4488,16 +4602,16 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj380 int - var yyb380 bool - var yyhl380 bool = l >= 0 - yyj380++ - if yyhl380 { - yyb380 = yyj380 > l + var yyj399 int + var yyb399 bool + var yyhl399 bool = l >= 0 + yyj399++ + if yyhl399 { + yyb399 = yyj399 > l } else { - yyb380 = r.CheckBreak() + yyb399 = r.CheckBreak() } - if yyb380 { + if yyb399 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4507,13 +4621,13 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj380++ - if yyhl380 { - yyb380 = yyj380 > l + yyj399++ + if yyhl399 { + yyb399 = yyj399 > l } else { - yyb380 = r.CheckBreak() + yyb399 = r.CheckBreak() } - if yyb380 { + if yyb399 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4523,13 +4637,13 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj380++ - if yyhl380 { - yyb380 = yyj380 > l + yyj399++ + if yyhl399 { + yyb399 = yyj399 > l } else { - yyb380 = r.CheckBreak() + yyb399 = r.CheckBreak() } - if yyb380 { + if yyb399 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4537,16 +4651,22 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv383 := &x.ObjectMeta - yyv383.CodecDecodeSelf(d) + yyv402 := &x.ObjectMeta + yym403 := z.DecBinary() + _ = yym403 + if false { + } else if z.HasExtensions() && z.DecExt(yyv402) { + } else { + z.DecFallback(yyv402, false) + } } - yyj380++ - if yyhl380 { - yyb380 = yyj380 > l + yyj399++ + if yyhl399 { + yyb399 = yyj399 > l } else { - yyb380 = r.CheckBreak() + yyb399 = r.CheckBreak() } - if yyb380 { + if yyb399 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4554,16 +4674,16 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = DeploymentSpec{} } else { - yyv384 := &x.Spec - yyv384.CodecDecodeSelf(d) + yyv404 := &x.Spec + yyv404.CodecDecodeSelf(d) } - yyj380++ - if yyhl380 { - yyb380 = yyj380 > l + yyj399++ + if yyhl399 { + yyb399 = yyj399 > l } else { - yyb380 = r.CheckBreak() + yyb399 = r.CheckBreak() } - if yyb380 { + if yyb399 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4571,21 +4691,21 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = DeploymentStatus{} } else { - yyv385 := &x.Status - yyv385.CodecDecodeSelf(d) + yyv405 := &x.Status + yyv405.CodecDecodeSelf(d) } for { - yyj380++ - if yyhl380 { - yyb380 = yyj380 > l + yyj399++ + if yyhl399 { + yyb399 = yyj399 > l } else { - yyb380 = r.CheckBreak() + yyb399 = r.CheckBreak() } - if yyb380 { + if yyb399 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj380-1, "") + z.DecStructFieldNotFound(yyj399-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4597,38 +4717,38 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym386 := z.EncBinary() - _ = yym386 + yym406 := z.EncBinary() + _ = yym406 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep387 := !z.EncBinary() - yy2arr387 := z.EncBasicHandle().StructToArray - var yyq387 [5]bool - _, _, _ = yysep387, yyq387, yy2arr387 - const yyr387 bool = false - yyq387[0] = x.Replicas != 0 - yyq387[1] = len(x.Selector) != 0 - yyq387[3] = true - yyq387[4] = x.UniqueLabelKey != "" - var yynn387 int - if yyr387 || yy2arr387 { + yysep407 := !z.EncBinary() + yy2arr407 := z.EncBasicHandle().StructToArray + var yyq407 [5]bool + _, _, _ = yysep407, yyq407, yy2arr407 + const yyr407 bool = false + yyq407[0] = x.Replicas != 0 + yyq407[1] = len(x.Selector) != 0 + yyq407[3] = true + yyq407[4] = x.UniqueLabelKey != "" + var yynn407 int + if yyr407 || yy2arr407 { r.EncodeArrayStart(5) } else { - yynn387 = 1 - for _, b := range yyq387 { + yynn407 = 1 + for _, b := range yyq407 { if b { - yynn387++ + yynn407++ } } - r.EncodeMapStart(yynn387) - yynn387 = 0 + r.EncodeMapStart(yynn407) + yynn407 = 0 } - if yyr387 || yy2arr387 { + if yyr407 || yy2arr407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq387[0] { - yym389 := z.EncBinary() - _ = yym389 + if yyq407[0] { + yym409 := z.EncBinary() + _ = yym409 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -4637,26 +4757,26 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq387[0] { + if yyq407[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym390 := z.EncBinary() - _ = yym390 + yym410 := z.EncBinary() + _ = yym410 if false { } else { r.EncodeInt(int64(x.Replicas)) } } } - if yyr387 || yy2arr387 { + if yyr407 || yy2arr407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq387[1] { + if yyq407[1] { if x.Selector == nil { r.EncodeNil() } else { - yym392 := z.EncBinary() - _ = yym392 + yym412 := z.EncBinary() + _ = yym412 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -4666,15 +4786,15 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq387[1] { + if yyq407[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym393 := z.EncBinary() - _ = yym393 + yym413 := z.EncBinary() + _ = yym413 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -4682,39 +4802,51 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr387 || yy2arr387 { + if yyr407 || yy2arr407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy395 := &x.Template - yy395.CodecEncodeSelf(e) + yy415 := &x.Template + yym416 := z.EncBinary() + _ = yym416 + if false { + } else if z.HasExtensions() && z.EncExt(yy415) { + } else { + z.EncFallback(yy415) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy396 := &x.Template - yy396.CodecEncodeSelf(e) + yy417 := &x.Template + yym418 := z.EncBinary() + _ = yym418 + if false { + } else if z.HasExtensions() && z.EncExt(yy417) { + } else { + z.EncFallback(yy417) + } } - if yyr387 || yy2arr387 { + if yyr407 || yy2arr407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq387[3] { - yy398 := &x.Strategy - yy398.CodecEncodeSelf(e) + if yyq407[3] { + yy420 := &x.Strategy + yy420.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq387[3] { + if yyq407[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("strategy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy399 := &x.Strategy - yy399.CodecEncodeSelf(e) + yy421 := &x.Strategy + yy421.CodecEncodeSelf(e) } } - if yyr387 || yy2arr387 { + if yyr407 || yy2arr407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq387[4] { - yym401 := z.EncBinary() - _ = yym401 + if yyq407[4] { + yym423 := z.EncBinary() + _ = yym423 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UniqueLabelKey)) @@ -4723,19 +4855,19 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq387[4] { + if yyq407[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uniqueLabelKey")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym402 := z.EncBinary() - _ = yym402 + yym424 := z.EncBinary() + _ = yym424 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UniqueLabelKey)) } } } - if yyr387 || yy2arr387 { + if yyr407 || yy2arr407 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4748,25 +4880,25 @@ func (x *DeploymentSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym403 := z.DecBinary() - _ = yym403 + yym425 := z.DecBinary() + _ = yym425 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct404 := r.ContainerType() - if yyct404 == codecSelferValueTypeMap1234 { - yyl404 := r.ReadMapStart() - if yyl404 == 0 { + yyct426 := r.ContainerType() + if yyct426 == codecSelferValueTypeMap1234 { + yyl426 := r.ReadMapStart() + if yyl426 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl404, d) + x.codecDecodeSelfFromMap(yyl426, d) } - } else if yyct404 == codecSelferValueTypeArray1234 { - yyl404 := r.ReadArrayStart() - if yyl404 == 0 { + } else if yyct426 == codecSelferValueTypeArray1234 { + yyl426 := r.ReadArrayStart() + if yyl426 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl404, d) + x.codecDecodeSelfFromArray(yyl426, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4778,12 +4910,12 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys405Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys405Slc - var yyhl405 bool = l >= 0 - for yyj405 := 0; ; yyj405++ { - if yyhl405 { - if yyj405 >= l { + var yys427Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys427Slc + var yyhl427 bool = l >= 0 + for yyj427 := 0; ; yyj427++ { + if yyhl427 { + if yyj427 >= l { break } } else { @@ -4792,10 +4924,10 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys405Slc = r.DecodeBytes(yys405Slc, true, true) - yys405 := string(yys405Slc) + yys427Slc = r.DecodeBytes(yys427Slc, true, true) + yys427 := string(yys427Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys405 { + switch yys427 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -4806,27 +4938,33 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv407 := &x.Selector - yym408 := z.DecBinary() - _ = yym408 + yyv429 := &x.Selector + yym430 := z.DecBinary() + _ = yym430 if false { } else { - z.F.DecMapStringStringX(yyv407, false, d) + z.F.DecMapStringStringX(yyv429, false, d) } } case "template": if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv409 := &x.Template - yyv409.CodecDecodeSelf(d) + yyv431 := &x.Template + yym432 := z.DecBinary() + _ = yym432 + if false { + } else if z.HasExtensions() && z.DecExt(yyv431) { + } else { + z.DecFallback(yyv431, false) + } } case "strategy": if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv410 := &x.Strategy - yyv410.CodecDecodeSelf(d) + yyv433 := &x.Strategy + yyv433.CodecDecodeSelf(d) } case "uniqueLabelKey": if r.TryDecodeAsNil() { @@ -4835,9 +4973,9 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.UniqueLabelKey = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys405) - } // end switch yys405 - } // end for yyj405 + z.DecStructFieldNotFound(-1, yys427) + } // end switch yys427 + } // end for yyj427 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4845,16 +4983,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj412 int - var yyb412 bool - var yyhl412 bool = l >= 0 - yyj412++ - if yyhl412 { - yyb412 = yyj412 > l + var yyj435 int + var yyb435 bool + var yyhl435 bool = l >= 0 + yyj435++ + if yyhl435 { + yyb435 = yyj435 > l } else { - yyb412 = r.CheckBreak() + yyb435 = r.CheckBreak() } - if yyb412 { + if yyb435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4864,13 +5002,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj412++ - if yyhl412 { - yyb412 = yyj412 > l + yyj435++ + if yyhl435 { + yyb435 = yyj435 > l } else { - yyb412 = r.CheckBreak() + yyb435 = r.CheckBreak() } - if yyb412 { + if yyb435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4878,21 +5016,21 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv414 := &x.Selector - yym415 := z.DecBinary() - _ = yym415 + yyv437 := &x.Selector + yym438 := z.DecBinary() + _ = yym438 if false { } else { - z.F.DecMapStringStringX(yyv414, false, d) + z.F.DecMapStringStringX(yyv437, false, d) } } - yyj412++ - if yyhl412 { - yyb412 = yyj412 > l + yyj435++ + if yyhl435 { + yyb435 = yyj435 > l } else { - yyb412 = r.CheckBreak() + yyb435 = r.CheckBreak() } - if yyb412 { + if yyb435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4900,16 +5038,22 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv416 := &x.Template - yyv416.CodecDecodeSelf(d) + yyv439 := &x.Template + yym440 := z.DecBinary() + _ = yym440 + if false { + } else if z.HasExtensions() && z.DecExt(yyv439) { + } else { + z.DecFallback(yyv439, false) + } } - yyj412++ - if yyhl412 { - yyb412 = yyj412 > l + yyj435++ + if yyhl435 { + yyb435 = yyj435 > l } else { - yyb412 = r.CheckBreak() + yyb435 = r.CheckBreak() } - if yyb412 { + if yyb435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4917,16 +5061,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv417 := &x.Strategy - yyv417.CodecDecodeSelf(d) + yyv441 := &x.Strategy + yyv441.CodecDecodeSelf(d) } - yyj412++ - if yyhl412 { - yyb412 = yyj412 > l + yyj435++ + if yyhl435 { + yyb435 = yyj435 > l } else { - yyb412 = r.CheckBreak() + yyb435 = r.CheckBreak() } - if yyb412 { + if yyb435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4937,17 +5081,17 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.UniqueLabelKey = string(r.DecodeString()) } for { - yyj412++ - if yyhl412 { - yyb412 = yyj412 > l + yyj435++ + if yyhl435 { + yyb435 = yyj435 > l } else { - yyb412 = r.CheckBreak() + yyb435 = r.CheckBreak() } - if yyb412 { + if yyb435 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj412-1, "") + z.DecStructFieldNotFound(yyj435-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4959,49 +5103,49 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym419 := z.EncBinary() - _ = yym419 + yym443 := z.EncBinary() + _ = yym443 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep420 := !z.EncBinary() - yy2arr420 := z.EncBasicHandle().StructToArray - var yyq420 [2]bool - _, _, _ = yysep420, yyq420, yy2arr420 - const yyr420 bool = false - yyq420[0] = x.Type != "" - yyq420[1] = x.RollingUpdate != nil - var yynn420 int - if yyr420 || yy2arr420 { + yysep444 := !z.EncBinary() + yy2arr444 := z.EncBasicHandle().StructToArray + var yyq444 [2]bool + _, _, _ = yysep444, yyq444, yy2arr444 + const yyr444 bool = false + yyq444[0] = x.Type != "" + yyq444[1] = x.RollingUpdate != nil + var yynn444 int + if yyr444 || yy2arr444 { r.EncodeArrayStart(2) } else { - yynn420 = 0 - for _, b := range yyq420 { + yynn444 = 0 + for _, b := range yyq444 { if b { - yynn420++ + yynn444++ } } - r.EncodeMapStart(yynn420) - yynn420 = 0 + r.EncodeMapStart(yynn444) + yynn444 = 0 } - if yyr420 || yy2arr420 { + if yyr444 || yy2arr444 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq420[0] { + if yyq444[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq420[0] { + if yyq444[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr420 || yy2arr420 { + if yyr444 || yy2arr444 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq420[1] { + if yyq444[1] { if x.RollingUpdate == nil { r.EncodeNil() } else { @@ -5011,7 +5155,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq420[1] { + if yyq444[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollingUpdate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5022,7 +5166,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr420 || yy2arr420 { + if yyr444 || yy2arr444 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5035,25 +5179,25 @@ func (x *DeploymentStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym423 := z.DecBinary() - _ = yym423 + yym447 := z.DecBinary() + _ = yym447 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct424 := r.ContainerType() - if yyct424 == codecSelferValueTypeMap1234 { - yyl424 := r.ReadMapStart() - if yyl424 == 0 { + yyct448 := r.ContainerType() + if yyct448 == codecSelferValueTypeMap1234 { + yyl448 := r.ReadMapStart() + if yyl448 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl424, d) + x.codecDecodeSelfFromMap(yyl448, d) } - } else if yyct424 == codecSelferValueTypeArray1234 { - yyl424 := r.ReadArrayStart() - if yyl424 == 0 { + } else if yyct448 == codecSelferValueTypeArray1234 { + yyl448 := r.ReadArrayStart() + if yyl448 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl424, d) + x.codecDecodeSelfFromArray(yyl448, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5065,12 +5209,12 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys425Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys425Slc - var yyhl425 bool = l >= 0 - for yyj425 := 0; ; yyj425++ { - if yyhl425 { - if yyj425 >= l { + var yys449Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys449Slc + var yyhl449 bool = l >= 0 + for yyj449 := 0; ; yyj449++ { + if yyhl449 { + if yyj449 >= l { break } } else { @@ -5079,10 +5223,10 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys425Slc = r.DecodeBytes(yys425Slc, true, true) - yys425 := string(yys425Slc) + yys449Slc = r.DecodeBytes(yys449Slc, true, true) + yys449 := string(yys449Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys425 { + switch yys449 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -5101,9 +5245,9 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.RollingUpdate.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys425) - } // end switch yys425 - } // end for yyj425 + z.DecStructFieldNotFound(-1, yys449) + } // end switch yys449 + } // end for yyj449 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5111,16 +5255,16 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj428 int - var yyb428 bool - var yyhl428 bool = l >= 0 - yyj428++ - if yyhl428 { - yyb428 = yyj428 > l + var yyj452 int + var yyb452 bool + var yyhl452 bool = l >= 0 + yyj452++ + if yyhl452 { + yyb452 = yyj452 > l } else { - yyb428 = r.CheckBreak() + yyb452 = r.CheckBreak() } - if yyb428 { + if yyb452 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5130,13 +5274,13 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = DeploymentStrategyType(r.DecodeString()) } - yyj428++ - if yyhl428 { - yyb428 = yyj428 > l + yyj452++ + if yyhl452 { + yyb452 = yyj452 > l } else { - yyb428 = r.CheckBreak() + yyb452 = r.CheckBreak() } - if yyb428 { + if yyb452 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5152,17 +5296,17 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.RollingUpdate.CodecDecodeSelf(d) } for { - yyj428++ - if yyhl428 { - yyb428 = yyj428 > l + yyj452++ + if yyhl452 { + yyb452 = yyj452 > l } else { - yyb428 = r.CheckBreak() + yyb452 = r.CheckBreak() } - if yyb428 { + if yyb452 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj428-1, "") + z.DecStructFieldNotFound(yyj452-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5171,8 +5315,8 @@ func (x DeploymentStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym431 := z.EncBinary() - _ = yym431 + yym455 := z.EncBinary() + _ = yym455 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -5184,8 +5328,8 @@ func (x *DeploymentStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym432 := z.DecBinary() - _ = yym432 + yym456 := z.DecBinary() + _ = yym456 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -5200,103 +5344,103 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym433 := z.EncBinary() - _ = yym433 + yym457 := z.EncBinary() + _ = yym457 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep434 := !z.EncBinary() - yy2arr434 := z.EncBasicHandle().StructToArray - var yyq434 [3]bool - _, _, _ = yysep434, yyq434, yy2arr434 - const yyr434 bool = false - yyq434[0] = true - yyq434[1] = true - yyq434[2] = x.MinReadySeconds != 0 - var yynn434 int - if yyr434 || yy2arr434 { + yysep458 := !z.EncBinary() + yy2arr458 := z.EncBasicHandle().StructToArray + var yyq458 [3]bool + _, _, _ = yysep458, yyq458, yy2arr458 + const yyr458 bool = false + yyq458[0] = true + yyq458[1] = true + yyq458[2] = x.MinReadySeconds != 0 + var yynn458 int + if yyr458 || yy2arr458 { r.EncodeArrayStart(3) } else { - yynn434 = 0 - for _, b := range yyq434 { + yynn458 = 0 + for _, b := range yyq458 { if b { - yynn434++ + yynn458++ } } - r.EncodeMapStart(yynn434) - yynn434 = 0 + r.EncodeMapStart(yynn458) + yynn458 = 0 } - if yyr434 || yy2arr434 { + if yyr458 || yy2arr458 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq434[0] { - yy436 := &x.MaxUnavailable - yym437 := z.EncBinary() - _ = yym437 + if yyq458[0] { + yy460 := &x.MaxUnavailable + yym461 := z.EncBinary() + _ = yym461 if false { - } else if z.HasExtensions() && z.EncExt(yy436) { - } else if !yym437 && z.IsJSONHandle() { - z.EncJSONMarshal(yy436) + } else if z.HasExtensions() && z.EncExt(yy460) { + } else if !yym461 && z.IsJSONHandle() { + z.EncJSONMarshal(yy460) } else { - z.EncFallback(yy436) + z.EncFallback(yy460) } } else { r.EncodeNil() } } else { - if yyq434[0] { + if yyq458[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxUnavailable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy438 := &x.MaxUnavailable - yym439 := z.EncBinary() - _ = yym439 + yy462 := &x.MaxUnavailable + yym463 := z.EncBinary() + _ = yym463 if false { - } else if z.HasExtensions() && z.EncExt(yy438) { - } else if !yym439 && z.IsJSONHandle() { - z.EncJSONMarshal(yy438) + } else if z.HasExtensions() && z.EncExt(yy462) { + } else if !yym463 && z.IsJSONHandle() { + z.EncJSONMarshal(yy462) } else { - z.EncFallback(yy438) + z.EncFallback(yy462) } } } - if yyr434 || yy2arr434 { + if yyr458 || yy2arr458 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq434[1] { - yy441 := &x.MaxSurge - yym442 := z.EncBinary() - _ = yym442 + if yyq458[1] { + yy465 := &x.MaxSurge + yym466 := z.EncBinary() + _ = yym466 if false { - } else if z.HasExtensions() && z.EncExt(yy441) { - } else if !yym442 && z.IsJSONHandle() { - z.EncJSONMarshal(yy441) + } else if z.HasExtensions() && z.EncExt(yy465) { + } else if !yym466 && z.IsJSONHandle() { + z.EncJSONMarshal(yy465) } else { - z.EncFallback(yy441) + z.EncFallback(yy465) } } else { r.EncodeNil() } } else { - if yyq434[1] { + if yyq458[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxSurge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy443 := &x.MaxSurge - yym444 := z.EncBinary() - _ = yym444 + yy467 := &x.MaxSurge + yym468 := z.EncBinary() + _ = yym468 if false { - } else if z.HasExtensions() && z.EncExt(yy443) { - } else if !yym444 && z.IsJSONHandle() { - z.EncJSONMarshal(yy443) + } else if z.HasExtensions() && z.EncExt(yy467) { + } else if !yym468 && z.IsJSONHandle() { + z.EncJSONMarshal(yy467) } else { - z.EncFallback(yy443) + z.EncFallback(yy467) } } } - if yyr434 || yy2arr434 { + if yyr458 || yy2arr458 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq434[2] { - yym446 := z.EncBinary() - _ = yym446 + if yyq458[2] { + yym470 := z.EncBinary() + _ = yym470 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -5305,19 +5449,19 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq434[2] { + if yyq458[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym447 := z.EncBinary() - _ = yym447 + yym471 := z.EncBinary() + _ = yym471 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) } } } - if yyr434 || yy2arr434 { + if yyr458 || yy2arr458 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5330,25 +5474,25 @@ func (x *RollingUpdateDeployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym448 := z.DecBinary() - _ = yym448 + yym472 := z.DecBinary() + _ = yym472 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct449 := r.ContainerType() - if yyct449 == codecSelferValueTypeMap1234 { - yyl449 := r.ReadMapStart() - if yyl449 == 0 { + yyct473 := r.ContainerType() + if yyct473 == codecSelferValueTypeMap1234 { + yyl473 := r.ReadMapStart() + if yyl473 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl449, d) + x.codecDecodeSelfFromMap(yyl473, d) } - } else if yyct449 == codecSelferValueTypeArray1234 { - yyl449 := r.ReadArrayStart() - if yyl449 == 0 { + } else if yyct473 == codecSelferValueTypeArray1234 { + yyl473 := r.ReadArrayStart() + if yyl473 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl449, d) + x.codecDecodeSelfFromArray(yyl473, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5360,12 +5504,12 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys450Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys450Slc - var yyhl450 bool = l >= 0 - for yyj450 := 0; ; yyj450++ { - if yyhl450 { - if yyj450 >= l { + var yys474Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys474Slc + var yyhl474 bool = l >= 0 + for yyj474 := 0; ; yyj474++ { + if yyhl474 { + if yyj474 >= l { break } } else { @@ -5374,38 +5518,38 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys450Slc = r.DecodeBytes(yys450Slc, true, true) - yys450 := string(yys450Slc) + yys474Slc = r.DecodeBytes(yys474Slc, true, true) + yys474 := string(yys474Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys450 { + switch yys474 { case "maxUnavailable": if r.TryDecodeAsNil() { x.MaxUnavailable = pkg6_intstr.IntOrString{} } else { - yyv451 := &x.MaxUnavailable - yym452 := z.DecBinary() - _ = yym452 + yyv475 := &x.MaxUnavailable + yym476 := z.DecBinary() + _ = yym476 if false { - } else if z.HasExtensions() && z.DecExt(yyv451) { - } else if !yym452 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv451) + } else if z.HasExtensions() && z.DecExt(yyv475) { + } else if !yym476 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv475) } else { - z.DecFallback(yyv451, false) + z.DecFallback(yyv475, false) } } case "maxSurge": if r.TryDecodeAsNil() { x.MaxSurge = pkg6_intstr.IntOrString{} } else { - yyv453 := &x.MaxSurge - yym454 := z.DecBinary() - _ = yym454 + yyv477 := &x.MaxSurge + yym478 := z.DecBinary() + _ = yym478 if false { - } else if z.HasExtensions() && z.DecExt(yyv453) { - } else if !yym454 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv453) + } else if z.HasExtensions() && z.DecExt(yyv477) { + } else if !yym478 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv477) } else { - z.DecFallback(yyv453, false) + z.DecFallback(yyv477, false) } } case "minReadySeconds": @@ -5415,9 +5559,9 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec x.MinReadySeconds = int(r.DecodeInt(codecSelferBitsize1234)) } default: - z.DecStructFieldNotFound(-1, yys450) - } // end switch yys450 - } // end for yyj450 + z.DecStructFieldNotFound(-1, yys474) + } // end switch yys474 + } // end for yyj474 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5425,16 +5569,16 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj456 int - var yyb456 bool - var yyhl456 bool = l >= 0 - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + var yyj480 int + var yyb480 bool + var yyhl480 bool = l >= 0 + yyj480++ + if yyhl480 { + yyb480 = yyj480 > l } else { - yyb456 = r.CheckBreak() + yyb480 = r.CheckBreak() } - if yyb456 { + if yyb480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5442,24 +5586,24 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.MaxUnavailable = pkg6_intstr.IntOrString{} } else { - yyv457 := &x.MaxUnavailable - yym458 := z.DecBinary() - _ = yym458 + yyv481 := &x.MaxUnavailable + yym482 := z.DecBinary() + _ = yym482 if false { - } else if z.HasExtensions() && z.DecExt(yyv457) { - } else if !yym458 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv457) + } else if z.HasExtensions() && z.DecExt(yyv481) { + } else if !yym482 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv481) } else { - z.DecFallback(yyv457, false) + z.DecFallback(yyv481, false) } } - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + yyj480++ + if yyhl480 { + yyb480 = yyj480 > l } else { - yyb456 = r.CheckBreak() + yyb480 = r.CheckBreak() } - if yyb456 { + if yyb480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5467,24 +5611,24 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.MaxSurge = pkg6_intstr.IntOrString{} } else { - yyv459 := &x.MaxSurge - yym460 := z.DecBinary() - _ = yym460 + yyv483 := &x.MaxSurge + yym484 := z.DecBinary() + _ = yym484 if false { - } else if z.HasExtensions() && z.DecExt(yyv459) { - } else if !yym460 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv459) + } else if z.HasExtensions() && z.DecExt(yyv483) { + } else if !yym484 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv483) } else { - z.DecFallback(yyv459, false) + z.DecFallback(yyv483, false) } } - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + yyj480++ + if yyhl480 { + yyb480 = yyj480 > l } else { - yyb456 = r.CheckBreak() + yyb480 = r.CheckBreak() } - if yyb456 { + if yyb480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5495,17 +5639,17 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D x.MinReadySeconds = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj456++ - if yyhl456 { - yyb456 = yyj456 > l + yyj480++ + if yyhl480 { + yyb480 = yyj480 > l } else { - yyb456 = r.CheckBreak() + yyb480 = r.CheckBreak() } - if yyb456 { + if yyb480 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj456-1, "") + z.DecStructFieldNotFound(yyj480-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5517,36 +5661,36 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym462 := z.EncBinary() - _ = yym462 + yym486 := z.EncBinary() + _ = yym486 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep463 := !z.EncBinary() - yy2arr463 := z.EncBasicHandle().StructToArray - var yyq463 [2]bool - _, _, _ = yysep463, yyq463, yy2arr463 - const yyr463 bool = false - yyq463[0] = x.Replicas != 0 - yyq463[1] = x.UpdatedReplicas != 0 - var yynn463 int - if yyr463 || yy2arr463 { + yysep487 := !z.EncBinary() + yy2arr487 := z.EncBasicHandle().StructToArray + var yyq487 [2]bool + _, _, _ = yysep487, yyq487, yy2arr487 + const yyr487 bool = false + yyq487[0] = x.Replicas != 0 + yyq487[1] = x.UpdatedReplicas != 0 + var yynn487 int + if yyr487 || yy2arr487 { r.EncodeArrayStart(2) } else { - yynn463 = 0 - for _, b := range yyq463 { + yynn487 = 0 + for _, b := range yyq487 { if b { - yynn463++ + yynn487++ } } - r.EncodeMapStart(yynn463) - yynn463 = 0 + r.EncodeMapStart(yynn487) + yynn487 = 0 } - if yyr463 || yy2arr463 { + if yyr487 || yy2arr487 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq463[0] { - yym465 := z.EncBinary() - _ = yym465 + if yyq487[0] { + yym489 := z.EncBinary() + _ = yym489 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -5555,23 +5699,23 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq463[0] { + if yyq487[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym466 := z.EncBinary() - _ = yym466 + yym490 := z.EncBinary() + _ = yym490 if false { } else { r.EncodeInt(int64(x.Replicas)) } } } - if yyr463 || yy2arr463 { + if yyr487 || yy2arr487 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq463[1] { - yym468 := z.EncBinary() - _ = yym468 + if yyq487[1] { + yym492 := z.EncBinary() + _ = yym492 if false { } else { r.EncodeInt(int64(x.UpdatedReplicas)) @@ -5580,19 +5724,19 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq463[1] { + if yyq487[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym469 := z.EncBinary() - _ = yym469 + yym493 := z.EncBinary() + _ = yym493 if false { } else { r.EncodeInt(int64(x.UpdatedReplicas)) } } } - if yyr463 || yy2arr463 { + if yyr487 || yy2arr487 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5602,280 +5746,6 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *DeploymentStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym470 := z.DecBinary() - _ = yym470 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct471 := r.ContainerType() - if yyct471 == codecSelferValueTypeMap1234 { - yyl471 := r.ReadMapStart() - if yyl471 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl471, d) - } - } else if yyct471 == codecSelferValueTypeArray1234 { - yyl471 := r.ReadArrayStart() - if yyl471 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl471, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys472Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys472Slc - var yyhl472 bool = l >= 0 - for yyj472 := 0; ; yyj472++ { - if yyhl472 { - if yyj472 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys472Slc = r.DecodeBytes(yys472Slc, true, true) - yys472 := string(yys472Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys472 { - case "replicas": - if r.TryDecodeAsNil() { - x.Replicas = 0 - } else { - x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) - } - case "updatedReplicas": - if r.TryDecodeAsNil() { - x.UpdatedReplicas = 0 - } else { - x.UpdatedReplicas = int(r.DecodeInt(codecSelferBitsize1234)) - } - default: - z.DecStructFieldNotFound(-1, yys472) - } // end switch yys472 - } // end for yyj472 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj475 int - var yyb475 bool - var yyhl475 bool = l >= 0 - yyj475++ - if yyhl475 { - yyb475 = yyj475 > l - } else { - yyb475 = r.CheckBreak() - } - if yyb475 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Replicas = 0 - } else { - x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) - } - yyj475++ - if yyhl475 { - yyb475 = yyj475 > l - } else { - yyb475 = r.CheckBreak() - } - if yyb475 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.UpdatedReplicas = 0 - } else { - x.UpdatedReplicas = int(r.DecodeInt(codecSelferBitsize1234)) - } - for { - yyj475++ - if yyhl475 { - yyb475 = yyj475 > l - } else { - yyb475 = r.CheckBreak() - } - if yyb475 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj475-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym478 := z.EncBinary() - _ = yym478 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep479 := !z.EncBinary() - yy2arr479 := z.EncBasicHandle().StructToArray - var yyq479 [4]bool - _, _, _ = yysep479, yyq479, yy2arr479 - const yyr479 bool = false - yyq479[0] = x.Kind != "" - yyq479[1] = x.APIVersion != "" - yyq479[2] = true - var yynn479 int - if yyr479 || yy2arr479 { - r.EncodeArrayStart(4) - } else { - yynn479 = 1 - for _, b := range yyq479 { - if b { - yynn479++ - } - } - r.EncodeMapStart(yynn479) - yynn479 = 0 - } - if yyr479 || yy2arr479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq479[0] { - yym481 := z.EncBinary() - _ = yym481 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq479[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym482 := z.EncBinary() - _ = yym482 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr479 || yy2arr479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq479[1] { - yym484 := z.EncBinary() - _ = yym484 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq479[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym485 := z.EncBinary() - _ = yym485 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr479 || yy2arr479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq479[2] { - yy487 := &x.ListMeta - yym488 := z.EncBinary() - _ = yym488 - if false { - } else if z.HasExtensions() && z.EncExt(yy487) { - } else { - z.EncFallback(yy487) - } - } else { - r.EncodeNil() - } - } else { - if yyq479[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy489 := &x.ListMeta - yym490 := z.EncBinary() - _ = yym490 - if false { - } else if z.HasExtensions() && z.EncExt(yy489) { - } else { - z.EncFallback(yy489) - } - } - } - if yyr479 || yy2arr479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym492 := z.EncBinary() - _ = yym492 - if false { - } else { - h.encSliceDeployment(([]Deployment)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym493 := z.EncBinary() - _ = yym493 - if false { - } else { - h.encSliceDeployment(([]Deployment)(x.Items), e) - } - } - } - if yyr479 || yy2arr479 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -5905,7 +5775,7 @@ func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -5927,6 +5797,280 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys496 := string(yys496Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys496 { + case "replicas": + if r.TryDecodeAsNil() { + x.Replicas = 0 + } else { + x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) + } + case "updatedReplicas": + if r.TryDecodeAsNil() { + x.UpdatedReplicas = 0 + } else { + x.UpdatedReplicas = int(r.DecodeInt(codecSelferBitsize1234)) + } + default: + z.DecStructFieldNotFound(-1, yys496) + } // end switch yys496 + } // end for yyj496 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj499 int + var yyb499 bool + var yyhl499 bool = l >= 0 + yyj499++ + if yyhl499 { + yyb499 = yyj499 > l + } else { + yyb499 = r.CheckBreak() + } + if yyb499 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Replicas = 0 + } else { + x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) + } + yyj499++ + if yyhl499 { + yyb499 = yyj499 > l + } else { + yyb499 = r.CheckBreak() + } + if yyb499 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.UpdatedReplicas = 0 + } else { + x.UpdatedReplicas = int(r.DecodeInt(codecSelferBitsize1234)) + } + for { + yyj499++ + if yyhl499 { + yyb499 = yyj499 > l + } else { + yyb499 = r.CheckBreak() + } + if yyb499 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj499-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym502 := z.EncBinary() + _ = yym502 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep503 := !z.EncBinary() + yy2arr503 := z.EncBasicHandle().StructToArray + var yyq503 [4]bool + _, _, _ = yysep503, yyq503, yy2arr503 + const yyr503 bool = false + yyq503[0] = x.Kind != "" + yyq503[1] = x.APIVersion != "" + yyq503[2] = true + var yynn503 int + if yyr503 || yy2arr503 { + r.EncodeArrayStart(4) + } else { + yynn503 = 1 + for _, b := range yyq503 { + if b { + yynn503++ + } + } + r.EncodeMapStart(yynn503) + yynn503 = 0 + } + if yyr503 || yy2arr503 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq503[0] { + yym505 := z.EncBinary() + _ = yym505 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq503[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym506 := z.EncBinary() + _ = yym506 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr503 || yy2arr503 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq503[1] { + yym508 := z.EncBinary() + _ = yym508 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq503[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym509 := z.EncBinary() + _ = yym509 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr503 || yy2arr503 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq503[2] { + yy511 := &x.ListMeta + yym512 := z.EncBinary() + _ = yym512 + if false { + } else if z.HasExtensions() && z.EncExt(yy511) { + } else { + z.EncFallback(yy511) + } + } else { + r.EncodeNil() + } + } else { + if yyq503[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy513 := &x.ListMeta + yym514 := z.EncBinary() + _ = yym514 + if false { + } else if z.HasExtensions() && z.EncExt(yy513) { + } else { + z.EncFallback(yy513) + } + } + } + if yyr503 || yy2arr503 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym516 := z.EncBinary() + _ = yym516 + if false { + } else { + h.encSliceDeployment(([]Deployment)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym517 := z.EncBinary() + _ = yym517 + if false { + } else { + h.encSliceDeployment(([]Deployment)(x.Items), e) + } + } + } + if yyr503 || yy2arr503 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym518 := z.DecBinary() + _ = yym518 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct519 := r.ContainerType() + if yyct519 == codecSelferValueTypeMap1234 { + yyl519 := r.ReadMapStart() + if yyl519 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl519, d) + } + } else if yyct519 == codecSelferValueTypeArray1234 { + yyl519 := r.ReadArrayStart() + if yyl519 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl519, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys520Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys520Slc + var yyhl520 bool = l >= 0 + for yyj520 := 0; ; yyj520++ { + if yyhl520 { + if yyj520 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys520Slc = r.DecodeBytes(yys520Slc, true, true) + yys520 := string(yys520Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys520 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -5943,31 +6087,31 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv499 := &x.ListMeta - yym500 := z.DecBinary() - _ = yym500 + yyv523 := &x.ListMeta + yym524 := z.DecBinary() + _ = yym524 if false { - } else if z.HasExtensions() && z.DecExt(yyv499) { + } else if z.HasExtensions() && z.DecExt(yyv523) { } else { - z.DecFallback(yyv499, false) + z.DecFallback(yyv523, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv501 := &x.Items - yym502 := z.DecBinary() - _ = yym502 + yyv525 := &x.Items + yym526 := z.DecBinary() + _ = yym526 if false { } else { - h.decSliceDeployment((*[]Deployment)(yyv501), d) + h.decSliceDeployment((*[]Deployment)(yyv525), d) } } default: - z.DecStructFieldNotFound(-1, yys496) - } // end switch yys496 - } // end for yyj496 + z.DecStructFieldNotFound(-1, yys520) + } // end switch yys520 + } // end for yyj520 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5975,16 +6119,16 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj503 int - var yyb503 bool - var yyhl503 bool = l >= 0 - yyj503++ - if yyhl503 { - yyb503 = yyj503 > l + var yyj527 int + var yyb527 bool + var yyhl527 bool = l >= 0 + yyj527++ + if yyhl527 { + yyb527 = yyj527 > l } else { - yyb503 = r.CheckBreak() + yyb527 = r.CheckBreak() } - if yyb503 { + if yyb527 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5994,13 +6138,13 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj503++ - if yyhl503 { - yyb503 = yyj503 > l + yyj527++ + if yyhl527 { + yyb527 = yyj527 > l } else { - yyb503 = r.CheckBreak() + yyb527 = r.CheckBreak() } - if yyb503 { + if yyb527 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6010,13 +6154,13 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj503++ - if yyhl503 { - yyb503 = yyj503 > l + yyj527++ + if yyhl527 { + yyb527 = yyj527 > l } else { - yyb503 = r.CheckBreak() + yyb527 = r.CheckBreak() } - if yyb503 { + if yyb527 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6024,22 +6168,22 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv506 := &x.ListMeta - yym507 := z.DecBinary() - _ = yym507 + yyv530 := &x.ListMeta + yym531 := z.DecBinary() + _ = yym531 if false { - } else if z.HasExtensions() && z.DecExt(yyv506) { + } else if z.HasExtensions() && z.DecExt(yyv530) { } else { - z.DecFallback(yyv506, false) + z.DecFallback(yyv530, false) } } - yyj503++ - if yyhl503 { - yyb503 = yyj503 > l + yyj527++ + if yyhl527 { + yyb527 = yyj527 > l } else { - yyb503 = r.CheckBreak() + yyb527 = r.CheckBreak() } - if yyb503 { + if yyb527 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6047,26 +6191,26 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv508 := &x.Items - yym509 := z.DecBinary() - _ = yym509 + yyv532 := &x.Items + yym533 := z.DecBinary() + _ = yym533 if false { } else { - h.decSliceDeployment((*[]Deployment)(yyv508), d) + h.decSliceDeployment((*[]Deployment)(yyv532), d) } } for { - yyj503++ - if yyhl503 { - yyb503 = yyj503 > l + yyj527++ + if yyhl527 { + yyb527 = yyj527 > l } else { - yyb503 = r.CheckBreak() + yyb527 = r.CheckBreak() } - if yyb503 { + if yyb527 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj503-1, "") + z.DecStructFieldNotFound(yyj527-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6078,34 +6222,34 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym510 := z.EncBinary() - _ = yym510 + yym534 := z.EncBinary() + _ = yym534 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep511 := !z.EncBinary() - yy2arr511 := z.EncBasicHandle().StructToArray - var yyq511 [2]bool - _, _, _ = yysep511, yyq511, yy2arr511 - const yyr511 bool = false - yyq511[0] = x.Selector != nil - yyq511[1] = x.Template != nil - var yynn511 int - if yyr511 || yy2arr511 { + yysep535 := !z.EncBinary() + yy2arr535 := z.EncBasicHandle().StructToArray + var yyq535 [2]bool + _, _, _ = yysep535, yyq535, yy2arr535 + const yyr535 bool = false + yyq535[0] = x.Selector != nil + yyq535[1] = x.Template != nil + var yynn535 int + if yyr535 || yy2arr535 { r.EncodeArrayStart(2) } else { - yynn511 = 0 - for _, b := range yyq511 { + yynn535 = 0 + for _, b := range yyq535 { if b { - yynn511++ + yynn535++ } } - r.EncodeMapStart(yynn511) - yynn511 = 0 + r.EncodeMapStart(yynn535) + yynn535 = 0 } - if yyr511 || yy2arr511 { + if yyr535 || yy2arr535 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq511[0] { + if yyq535[0] { if x.Selector == nil { r.EncodeNil() } else { @@ -6115,7 +6259,7 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq511[0] { + if yyq535[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -6126,30 +6270,42 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr511 || yy2arr511 { + if yyr535 || yy2arr535 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq511[1] { + if yyq535[1] { if x.Template == nil { r.EncodeNil() } else { - x.Template.CodecEncodeSelf(e) + yym538 := z.EncBinary() + _ = yym538 + if false { + } else if z.HasExtensions() && z.EncExt(x.Template) { + } else { + z.EncFallback(x.Template) + } } } else { r.EncodeNil() } } else { - if yyq511[1] { + if yyq535[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Template == nil { r.EncodeNil() } else { - x.Template.CodecEncodeSelf(e) + yym539 := z.EncBinary() + _ = yym539 + if false { + } else if z.HasExtensions() && z.EncExt(x.Template) { + } else { + z.EncFallback(x.Template) + } } } } - if yyr511 || yy2arr511 { + if yyr535 || yy2arr535 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6162,25 +6318,25 @@ func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym514 := z.DecBinary() - _ = yym514 + yym540 := z.DecBinary() + _ = yym540 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct515 := r.ContainerType() - if yyct515 == codecSelferValueTypeMap1234 { - yyl515 := r.ReadMapStart() - if yyl515 == 0 { + yyct541 := r.ContainerType() + if yyct541 == codecSelferValueTypeMap1234 { + yyl541 := r.ReadMapStart() + if yyl541 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl515, d) + x.codecDecodeSelfFromMap(yyl541, d) } - } else if yyct515 == codecSelferValueTypeArray1234 { - yyl515 := r.ReadArrayStart() - if yyl515 == 0 { + } else if yyct541 == codecSelferValueTypeArray1234 { + yyl541 := r.ReadArrayStart() + if yyl541 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl515, d) + x.codecDecodeSelfFromArray(yyl541, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6192,12 +6348,12 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys516Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys516Slc - var yyhl516 bool = l >= 0 - for yyj516 := 0; ; yyj516++ { - if yyhl516 { - if yyj516 >= l { + var yys542Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys542Slc + var yyhl542 bool = l >= 0 + for yyj542 := 0; ; yyj542++ { + if yyhl542 { + if yyj542 >= l { break } } else { @@ -6206,10 +6362,10 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys516Slc = r.DecodeBytes(yys516Slc, true, true) - yys516 := string(yys516Slc) + yys542Slc = r.DecodeBytes(yys542Slc, true, true) + yys542 := string(yys542Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys516 { + switch yys542 { case "selector": if r.TryDecodeAsNil() { if x.Selector != nil { @@ -6230,12 +6386,18 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Template == nil { x.Template = new(pkg2_api.PodTemplateSpec) } - x.Template.CodecDecodeSelf(d) + yym545 := z.DecBinary() + _ = yym545 + if false { + } else if z.HasExtensions() && z.DecExt(x.Template) { + } else { + z.DecFallback(x.Template, false) + } } default: - z.DecStructFieldNotFound(-1, yys516) - } // end switch yys516 - } // end for yyj516 + z.DecStructFieldNotFound(-1, yys542) + } // end switch yys542 + } // end for yyj542 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6243,16 +6405,16 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj519 int - var yyb519 bool - var yyhl519 bool = l >= 0 - yyj519++ - if yyhl519 { - yyb519 = yyj519 > l + var yyj546 int + var yyb546 bool + var yyhl546 bool = l >= 0 + yyj546++ + if yyhl546 { + yyb546 = yyj546 > l } else { - yyb519 = r.CheckBreak() + yyb546 = r.CheckBreak() } - if yyb519 { + if yyb546 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6267,13 +6429,13 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj519++ - if yyhl519 { - yyb519 = yyj519 > l + yyj546++ + if yyhl546 { + yyb546 = yyj546 > l } else { - yyb519 = r.CheckBreak() + yyb546 = r.CheckBreak() } - if yyb519 { + if yyb546 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6286,20 +6448,26 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Template == nil { x.Template = new(pkg2_api.PodTemplateSpec) } - x.Template.CodecDecodeSelf(d) + yym549 := z.DecBinary() + _ = yym549 + if false { + } else if z.HasExtensions() && z.DecExt(x.Template) { + } else { + z.DecFallback(x.Template, false) + } } for { - yyj519++ - if yyhl519 { - yyb519 = yyj519 > l + yyj546++ + if yyhl546 { + yyb546 = yyj546 > l } else { - yyb519 = r.CheckBreak() + yyb546 = r.CheckBreak() } - if yyb519 { + if yyb546 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj519-1, "") + z.DecStructFieldNotFound(yyj546-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6311,33 +6479,33 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym522 := z.EncBinary() - _ = yym522 + yym550 := z.EncBinary() + _ = yym550 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep523 := !z.EncBinary() - yy2arr523 := z.EncBasicHandle().StructToArray - var yyq523 [3]bool - _, _, _ = yysep523, yyq523, yy2arr523 - const yyr523 bool = false - var yynn523 int - if yyr523 || yy2arr523 { + yysep551 := !z.EncBinary() + yy2arr551 := z.EncBasicHandle().StructToArray + var yyq551 [3]bool + _, _, _ = yysep551, yyq551, yy2arr551 + const yyr551 bool = false + var yynn551 int + if yyr551 || yy2arr551 { r.EncodeArrayStart(3) } else { - yynn523 = 3 - for _, b := range yyq523 { + yynn551 = 3 + for _, b := range yyq551 { if b { - yynn523++ + yynn551++ } } - r.EncodeMapStart(yynn523) - yynn523 = 0 + r.EncodeMapStart(yynn551) + yynn551 = 0 } - if yyr523 || yy2arr523 { + if yyr551 || yy2arr551 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym525 := z.EncBinary() - _ = yym525 + yym553 := z.EncBinary() + _ = yym553 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) @@ -6346,17 +6514,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym526 := z.EncBinary() - _ = yym526 + yym554 := z.EncBinary() + _ = yym554 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) } } - if yyr523 || yy2arr523 { + if yyr551 || yy2arr551 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym528 := z.EncBinary() - _ = yym528 + yym556 := z.EncBinary() + _ = yym556 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) @@ -6365,17 +6533,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberMisscheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym529 := z.EncBinary() - _ = yym529 + yym557 := z.EncBinary() + _ = yym557 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) } } - if yyr523 || yy2arr523 { + if yyr551 || yy2arr551 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym531 := z.EncBinary() - _ = yym531 + yym559 := z.EncBinary() + _ = yym559 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) @@ -6384,14 +6552,14 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym532 := z.EncBinary() - _ = yym532 + yym560 := z.EncBinary() + _ = yym560 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) } } - if yyr523 || yy2arr523 { + if yyr551 || yy2arr551 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6404,25 +6572,25 @@ func (x *DaemonSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym533 := z.DecBinary() - _ = yym533 + yym561 := z.DecBinary() + _ = yym561 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct534 := r.ContainerType() - if yyct534 == codecSelferValueTypeMap1234 { - yyl534 := r.ReadMapStart() - if yyl534 == 0 { + yyct562 := r.ContainerType() + if yyct562 == codecSelferValueTypeMap1234 { + yyl562 := r.ReadMapStart() + if yyl562 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl534, d) + x.codecDecodeSelfFromMap(yyl562, d) } - } else if yyct534 == codecSelferValueTypeArray1234 { - yyl534 := r.ReadArrayStart() - if yyl534 == 0 { + } else if yyct562 == codecSelferValueTypeArray1234 { + yyl562 := r.ReadArrayStart() + if yyl562 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl534, d) + x.codecDecodeSelfFromArray(yyl562, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6434,12 +6602,12 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys535Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys535Slc - var yyhl535 bool = l >= 0 - for yyj535 := 0; ; yyj535++ { - if yyhl535 { - if yyj535 >= l { + var yys563Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys563Slc + var yyhl563 bool = l >= 0 + for yyj563 := 0; ; yyj563++ { + if yyhl563 { + if yyj563 >= l { break } } else { @@ -6448,10 +6616,10 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys535Slc = r.DecodeBytes(yys535Slc, true, true) - yys535 := string(yys535Slc) + yys563Slc = r.DecodeBytes(yys563Slc, true, true) + yys563 := string(yys563Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys535 { + switch yys563 { case "currentNumberScheduled": if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 @@ -6471,9 +6639,9 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.DesiredNumberScheduled = int(r.DecodeInt(codecSelferBitsize1234)) } default: - z.DecStructFieldNotFound(-1, yys535) - } // end switch yys535 - } // end for yyj535 + z.DecStructFieldNotFound(-1, yys563) + } // end switch yys563 + } // end for yyj563 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6481,16 +6649,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj539 int - var yyb539 bool - var yyhl539 bool = l >= 0 - yyj539++ - if yyhl539 { - yyb539 = yyj539 > l + var yyj567 int + var yyb567 bool + var yyhl567 bool = l >= 0 + yyj567++ + if yyhl567 { + yyb567 = yyj567 > l } else { - yyb539 = r.CheckBreak() + yyb567 = r.CheckBreak() } - if yyb539 { + if yyb567 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6500,13 +6668,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.CurrentNumberScheduled = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj539++ - if yyhl539 { - yyb539 = yyj539 > l + yyj567++ + if yyhl567 { + yyb567 = yyj567 > l } else { - yyb539 = r.CheckBreak() + yyb567 = r.CheckBreak() } - if yyb539 { + if yyb567 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6516,13 +6684,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.NumberMisscheduled = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj539++ - if yyhl539 { - yyb539 = yyj539 > l + yyj567++ + if yyhl567 { + yyb567 = yyj567 > l } else { - yyb539 = r.CheckBreak() + yyb567 = r.CheckBreak() } - if yyb539 { + if yyb567 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6533,17 +6701,17 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.DesiredNumberScheduled = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj539++ - if yyhl539 { - yyb539 = yyj539 > l + yyj567++ + if yyhl567 { + yyb567 = yyj567 > l } else { - yyb539 = r.CheckBreak() + yyb567 = r.CheckBreak() } - if yyb539 { + if yyb567 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj539-1, "") + z.DecStructFieldNotFound(yyj567-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6555,39 +6723,39 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym543 := z.EncBinary() - _ = yym543 + yym571 := z.EncBinary() + _ = yym571 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep544 := !z.EncBinary() - yy2arr544 := z.EncBasicHandle().StructToArray - var yyq544 [5]bool - _, _, _ = yysep544, yyq544, yy2arr544 - const yyr544 bool = false - yyq544[0] = x.Kind != "" - yyq544[1] = x.APIVersion != "" - yyq544[2] = true - yyq544[3] = true - yyq544[4] = true - var yynn544 int - if yyr544 || yy2arr544 { + yysep572 := !z.EncBinary() + yy2arr572 := z.EncBasicHandle().StructToArray + var yyq572 [5]bool + _, _, _ = yysep572, yyq572, yy2arr572 + const yyr572 bool = false + yyq572[0] = x.Kind != "" + yyq572[1] = x.APIVersion != "" + yyq572[2] = true + yyq572[3] = true + yyq572[4] = true + var yynn572 int + if yyr572 || yy2arr572 { r.EncodeArrayStart(5) } else { - yynn544 = 0 - for _, b := range yyq544 { + yynn572 = 0 + for _, b := range yyq572 { if b { - yynn544++ + yynn572++ } } - r.EncodeMapStart(yynn544) - yynn544 = 0 + r.EncodeMapStart(yynn572) + yynn572 = 0 } - if yyr544 || yy2arr544 { + if yyr572 || yy2arr572 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq544[0] { - yym546 := z.EncBinary() - _ = yym546 + if yyq572[0] { + yym574 := z.EncBinary() + _ = yym574 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6596,23 +6764,23 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq544[0] { + if yyq572[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym547 := z.EncBinary() - _ = yym547 + yym575 := z.EncBinary() + _ = yym575 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr544 || yy2arr544 { + if yyr572 || yy2arr572 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq544[1] { - yym549 := z.EncBinary() - _ = yym549 + if yyq572[1] { + yym577 := z.EncBinary() + _ = yym577 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6621,70 +6789,82 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq544[1] { + if yyq572[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym550 := z.EncBinary() - _ = yym550 + yym578 := z.EncBinary() + _ = yym578 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr544 || yy2arr544 { + if yyr572 || yy2arr572 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq544[2] { - yy552 := &x.ObjectMeta - yy552.CodecEncodeSelf(e) + if yyq572[2] { + yy580 := &x.ObjectMeta + yym581 := z.EncBinary() + _ = yym581 + if false { + } else if z.HasExtensions() && z.EncExt(yy580) { + } else { + z.EncFallback(yy580) + } } else { r.EncodeNil() } } else { - if yyq544[2] { + if yyq572[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy553 := &x.ObjectMeta - yy553.CodecEncodeSelf(e) + yy582 := &x.ObjectMeta + yym583 := z.EncBinary() + _ = yym583 + if false { + } else if z.HasExtensions() && z.EncExt(yy582) { + } else { + z.EncFallback(yy582) + } } } - if yyr544 || yy2arr544 { + if yyr572 || yy2arr572 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq544[3] { - yy555 := &x.Spec - yy555.CodecEncodeSelf(e) + if yyq572[3] { + yy585 := &x.Spec + yy585.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq544[3] { + if yyq572[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy556 := &x.Spec - yy556.CodecEncodeSelf(e) + yy586 := &x.Spec + yy586.CodecEncodeSelf(e) } } - if yyr544 || yy2arr544 { + if yyr572 || yy2arr572 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq544[4] { - yy558 := &x.Status - yy558.CodecEncodeSelf(e) + if yyq572[4] { + yy588 := &x.Status + yy588.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq544[4] { + if yyq572[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy559 := &x.Status - yy559.CodecEncodeSelf(e) + yy589 := &x.Status + yy589.CodecEncodeSelf(e) } } - if yyr544 || yy2arr544 { + if yyr572 || yy2arr572 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6694,352 +6874,6 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *DaemonSet) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym560 := z.DecBinary() - _ = yym560 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct561 := r.ContainerType() - if yyct561 == codecSelferValueTypeMap1234 { - yyl561 := r.ReadMapStart() - if yyl561 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl561, d) - } - } else if yyct561 == codecSelferValueTypeArray1234 { - yyl561 := r.ReadArrayStart() - if yyl561 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl561, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys562Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys562Slc - var yyhl562 bool = l >= 0 - for yyj562 := 0; ; yyj562++ { - if yyhl562 { - if yyj562 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys562Slc = r.DecodeBytes(yys562Slc, true, true) - yys562 := string(yys562Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys562 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv565 := &x.ObjectMeta - yyv565.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = DaemonSetSpec{} - } else { - yyv566 := &x.Spec - yyv566.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = DaemonSetStatus{} - } else { - yyv567 := &x.Status - yyv567.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys562) - } // end switch yys562 - } // end for yyj562 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj568 int - var yyb568 bool - var yyhl568 bool = l >= 0 - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l - } else { - yyb568 = r.CheckBreak() - } - if yyb568 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l - } else { - yyb568 = r.CheckBreak() - } - if yyb568 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l - } else { - yyb568 = r.CheckBreak() - } - if yyb568 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv571 := &x.ObjectMeta - yyv571.CodecDecodeSelf(d) - } - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l - } else { - yyb568 = r.CheckBreak() - } - if yyb568 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = DaemonSetSpec{} - } else { - yyv572 := &x.Spec - yyv572.CodecDecodeSelf(d) - } - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l - } else { - yyb568 = r.CheckBreak() - } - if yyb568 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = DaemonSetStatus{} - } else { - yyv573 := &x.Status - yyv573.CodecDecodeSelf(d) - } - for { - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l - } else { - yyb568 = r.CheckBreak() - } - if yyb568 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj568-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym574 := z.EncBinary() - _ = yym574 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep575 := !z.EncBinary() - yy2arr575 := z.EncBasicHandle().StructToArray - var yyq575 [4]bool - _, _, _ = yysep575, yyq575, yy2arr575 - const yyr575 bool = false - yyq575[0] = x.Kind != "" - yyq575[1] = x.APIVersion != "" - yyq575[2] = true - var yynn575 int - if yyr575 || yy2arr575 { - r.EncodeArrayStart(4) - } else { - yynn575 = 1 - for _, b := range yyq575 { - if b { - yynn575++ - } - } - r.EncodeMapStart(yynn575) - yynn575 = 0 - } - if yyr575 || yy2arr575 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq575[0] { - yym577 := z.EncBinary() - _ = yym577 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq575[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym578 := z.EncBinary() - _ = yym578 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr575 || yy2arr575 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq575[1] { - yym580 := z.EncBinary() - _ = yym580 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq575[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym581 := z.EncBinary() - _ = yym581 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr575 || yy2arr575 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq575[2] { - yy583 := &x.ListMeta - yym584 := z.EncBinary() - _ = yym584 - if false { - } else if z.HasExtensions() && z.EncExt(yy583) { - } else { - z.EncFallback(yy583) - } - } else { - r.EncodeNil() - } - } else { - if yyq575[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy585 := &x.ListMeta - yym586 := z.EncBinary() - _ = yym586 - if false { - } else if z.HasExtensions() && z.EncExt(yy585) { - } else { - z.EncFallback(yy585) - } - } - } - if yyr575 || yy2arr575 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym588 := z.EncBinary() - _ = yym588 - if false { - } else { - h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym589 := z.EncBinary() - _ = yym589 - if false { - } else { - h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) - } - } - } - if yyr575 || yy2arr575 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7069,7 +6903,7 @@ func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7105,9 +6939,9 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } case "metadata": if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} + x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv595 := &x.ListMeta + yyv595 := &x.ObjectMeta yym596 := z.DecBinary() _ = yym596 if false { @@ -7116,17 +6950,19 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecFallback(yyv595, false) } } - case "items": + case "spec": if r.TryDecodeAsNil() { - x.Items = nil + x.Spec = DaemonSetSpec{} } else { - yyv597 := &x.Items - yym598 := z.DecBinary() - _ = yym598 - if false { - } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv597), d) - } + yyv597 := &x.Spec + yyv597.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = DaemonSetStatus{} + } else { + yyv598 := &x.Status + yyv598.CodecDecodeSelf(d) } default: z.DecStructFieldNotFound(-1, yys592) @@ -7135,7 +6971,7 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7186,9 +7022,9 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} + x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv602 := &x.ListMeta + yyv602 := &x.ObjectMeta yym603 := z.DecBinary() _ = yym603 if false { @@ -7209,15 +7045,27 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Items = nil + x.Spec = DaemonSetSpec{} } else { - yyv604 := &x.Items - yym605 := z.DecBinary() - _ = yym605 - if false { - } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv604), d) - } + yyv604 := &x.Spec + yyv604.CodecDecodeSelf(d) + } + yyj599++ + if yyhl599 { + yyb599 = yyj599 > l + } else { + yyb599 = r.CheckBreak() + } + if yyb599 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = DaemonSetStatus{} + } else { + yyv605 := &x.Status + yyv605.CodecDecodeSelf(d) } for { yyj599++ @@ -7235,7 +7083,7 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -7356,7 +7204,7 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym620 if false { } else { - h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) + h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } else { @@ -7370,7 +7218,7 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym621 if false { } else { - h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) + h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } @@ -7383,7 +7231,7 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7413,7 +7261,7 @@ func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7469,7 +7317,7 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. _ = yym630 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv629), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv629), d) } } default: @@ -7479,7 +7327,7 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7560,7 +7408,7 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 _ = yym637 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv636), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv636), d) } } for { @@ -7579,7 +7427,7 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -7593,19 +7441,17 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep639 := !z.EncBinary() yy2arr639 := z.EncBasicHandle().StructToArray - var yyq639 [5]bool + var yyq639 [4]bool _, _, _ = yysep639, yyq639, yy2arr639 const yyr639 bool = false yyq639[0] = x.Kind != "" yyq639[1] = x.APIVersion != "" yyq639[2] = true - yyq639[3] = true - yyq639[4] = true var yynn639 int if yyr639 || yy2arr639 { - r.EncodeArrayStart(5) + r.EncodeArrayStart(4) } else { - yynn639 = 0 + yynn639 = 1 for _, b := range yyq639 { if b { yynn639++ @@ -7667,8 +7513,14 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { if yyr639 || yy2arr639 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq639[2] { - yy647 := &x.ObjectMeta - yy647.CodecEncodeSelf(e) + yy647 := &x.ListMeta + yym648 := z.EncBinary() + _ = yym648 + if false { + } else if z.HasExtensions() && z.EncExt(yy647) { + } else { + z.EncFallback(yy647) + } } else { r.EncodeNil() } @@ -7677,42 +7529,41 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy648 := &x.ObjectMeta - yy648.CodecEncodeSelf(e) + yy649 := &x.ListMeta + yym650 := z.EncBinary() + _ = yym650 + if false { + } else if z.HasExtensions() && z.EncExt(yy649) { + } else { + z.EncFallback(yy649) + } } } if yyr639 || yy2arr639 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq639[3] { - yy650 := &x.Spec - yy650.CodecEncodeSelf(e) - } else { + if x.Items == nil { r.EncodeNil() + } else { + yym652 := z.EncBinary() + _ = yym652 + if false { + } else { + h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) + } } } else { - if yyq639[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy651 := &x.Spec - yy651.CodecEncodeSelf(e) - } - } - if yyr639 || yy2arr639 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq639[4] { - yy653 := &x.Status - yy653.CodecEncodeSelf(e) - } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { r.EncodeNil() - } - } else { - if yyq639[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy654 := &x.Status - yy654.CodecEncodeSelf(e) + } else { + yym653 := z.EncBinary() + _ = yym653 + if false { + } else { + h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) + } } } if yyr639 || yy2arr639 { @@ -7724,29 +7575,29 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym655 := z.DecBinary() - _ = yym655 + yym654 := z.DecBinary() + _ = yym654 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct656 := r.ContainerType() - if yyct656 == codecSelferValueTypeMap1234 { - yyl656 := r.ReadMapStart() - if yyl656 == 0 { + yyct655 := r.ContainerType() + if yyct655 == codecSelferValueTypeMap1234 { + yyl655 := r.ReadMapStart() + if yyl655 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl656, d) + x.codecDecodeSelfFromMap(yyl655, d) } - } else if yyct656 == codecSelferValueTypeArray1234 { - yyl656 := r.ReadArrayStart() - if yyl656 == 0 { + } else if yyct655 == codecSelferValueTypeArray1234 { + yyl655 := r.ReadArrayStart() + if yyl655 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl656, d) + x.codecDecodeSelfFromArray(yyl655, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7754,16 +7605,16 @@ func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys657Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys657Slc - var yyhl657 bool = l >= 0 - for yyj657 := 0; ; yyj657++ { - if yyhl657 { - if yyj657 >= l { + var yys656Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys656Slc + var yyhl656 bool = l >= 0 + for yyj656 := 0; ; yyj656++ { + if yyhl656 { + if yyj656 >= l { break } } else { @@ -7772,10 +7623,10 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys657Slc = r.DecodeBytes(yys657Slc, true, true) - yys657 := string(yys657Slc) + yys656Slc = r.DecodeBytes(yys656Slc, true, true) + yys656 := string(yys656Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys657 { + switch yys656 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7790,33 +7641,37 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } case "metadata": if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} + x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv660 := &x.ObjectMeta - yyv660.CodecDecodeSelf(d) + yyv659 := &x.ListMeta + yym660 := z.DecBinary() + _ = yym660 + if false { + } else if z.HasExtensions() && z.DecExt(yyv659) { + } else { + z.DecFallback(yyv659, false) + } } - case "spec": + case "items": if r.TryDecodeAsNil() { - x.Spec = JobSpec{} + x.Items = nil } else { - yyv661 := &x.Spec - yyv661.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = JobStatus{} - } else { - yyv662 := &x.Status - yyv662.CodecDecodeSelf(d) + yyv661 := &x.Items + yym662 := z.DecBinary() + _ = yym662 + if false { + } else { + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv661), d) + } } default: - z.DecStructFieldNotFound(-1, yys657) - } // end switch yys657 - } // end for yyj657 + z.DecStructFieldNotFound(-1, yys656) + } // end switch yys656 + } // end for yyj656 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7867,10 +7722,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} + x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv666 := &x.ObjectMeta - yyv666.CodecDecodeSelf(d) + yyv666 := &x.ListMeta + yym667 := z.DecBinary() + _ = yym667 + if false { + } else if z.HasExtensions() && z.DecExt(yyv666) { + } else { + z.DecFallback(yyv666, false) + } } yyj663++ if yyhl663 { @@ -7884,27 +7745,15 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Spec = JobSpec{} + x.Items = nil } else { - yyv667 := &x.Spec - yyv667.CodecDecodeSelf(d) - } - yyj663++ - if yyhl663 { - yyb663 = yyj663 > l - } else { - yyb663 = r.CheckBreak() - } - if yyb663 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = JobStatus{} - } else { - yyv668 := &x.Status - yyv668.CodecDecodeSelf(d) + yyv668 := &x.Items + yym669 := z.DecBinary() + _ = yym669 + if false { + } else { + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv668), d) + } } for { yyj663++ @@ -7922,6 +7771,373 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym670 := z.EncBinary() + _ = yym670 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep671 := !z.EncBinary() + yy2arr671 := z.EncBasicHandle().StructToArray + var yyq671 [5]bool + _, _, _ = yysep671, yyq671, yy2arr671 + const yyr671 bool = false + yyq671[0] = x.Kind != "" + yyq671[1] = x.APIVersion != "" + yyq671[2] = true + yyq671[3] = true + yyq671[4] = true + var yynn671 int + if yyr671 || yy2arr671 { + r.EncodeArrayStart(5) + } else { + yynn671 = 0 + for _, b := range yyq671 { + if b { + yynn671++ + } + } + r.EncodeMapStart(yynn671) + yynn671 = 0 + } + if yyr671 || yy2arr671 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq671[0] { + yym673 := z.EncBinary() + _ = yym673 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq671[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym674 := z.EncBinary() + _ = yym674 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr671 || yy2arr671 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq671[1] { + yym676 := z.EncBinary() + _ = yym676 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq671[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym677 := z.EncBinary() + _ = yym677 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr671 || yy2arr671 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq671[2] { + yy679 := &x.ObjectMeta + yym680 := z.EncBinary() + _ = yym680 + if false { + } else if z.HasExtensions() && z.EncExt(yy679) { + } else { + z.EncFallback(yy679) + } + } else { + r.EncodeNil() + } + } else { + if yyq671[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy681 := &x.ObjectMeta + yym682 := z.EncBinary() + _ = yym682 + if false { + } else if z.HasExtensions() && z.EncExt(yy681) { + } else { + z.EncFallback(yy681) + } + } + } + if yyr671 || yy2arr671 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq671[3] { + yy684 := &x.Spec + yy684.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq671[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy685 := &x.Spec + yy685.CodecEncodeSelf(e) + } + } + if yyr671 || yy2arr671 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq671[4] { + yy687 := &x.Status + yy687.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq671[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy688 := &x.Status + yy688.CodecEncodeSelf(e) + } + } + if yyr671 || yy2arr671 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym689 := z.DecBinary() + _ = yym689 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct690 := r.ContainerType() + if yyct690 == codecSelferValueTypeMap1234 { + yyl690 := r.ReadMapStart() + if yyl690 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl690, d) + } + } else if yyct690 == codecSelferValueTypeArray1234 { + yyl690 := r.ReadArrayStart() + if yyl690 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl690, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys691Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys691Slc + var yyhl691 bool = l >= 0 + for yyj691 := 0; ; yyj691++ { + if yyhl691 { + if yyj691 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys691Slc = r.DecodeBytes(yys691Slc, true, true) + yys691 := string(yys691Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys691 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv694 := &x.ObjectMeta + yym695 := z.DecBinary() + _ = yym695 + if false { + } else if z.HasExtensions() && z.DecExt(yyv694) { + } else { + z.DecFallback(yyv694, false) + } + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = JobSpec{} + } else { + yyv696 := &x.Spec + yyv696.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = JobStatus{} + } else { + yyv697 := &x.Status + yyv697.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys691) + } // end switch yys691 + } // end for yyj691 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj698 int + var yyb698 bool + var yyhl698 bool = l >= 0 + yyj698++ + if yyhl698 { + yyb698 = yyj698 > l + } else { + yyb698 = r.CheckBreak() + } + if yyb698 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj698++ + if yyhl698 { + yyb698 = yyj698 > l + } else { + yyb698 = r.CheckBreak() + } + if yyb698 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj698++ + if yyhl698 { + yyb698 = yyj698 > l + } else { + yyb698 = r.CheckBreak() + } + if yyb698 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv701 := &x.ObjectMeta + yym702 := z.DecBinary() + _ = yym702 + if false { + } else if z.HasExtensions() && z.DecExt(yyv701) { + } else { + z.DecFallback(yyv701, false) + } + } + yyj698++ + if yyhl698 { + yyb698 = yyj698 > l + } else { + yyb698 = r.CheckBreak() + } + if yyb698 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = JobSpec{} + } else { + yyv703 := &x.Spec + yyv703.CodecDecodeSelf(d) + } + yyj698++ + if yyhl698 { + yyb698 = yyj698 > l + } else { + yyb698 = r.CheckBreak() + } + if yyb698 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = JobStatus{} + } else { + yyv704 := &x.Status + yyv704.CodecDecodeSelf(d) + } + for { + yyj698++ + if yyhl698 { + yyb698 = yyj698 > l + } else { + yyb698 = r.CheckBreak() + } + if yyb698 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj698-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -7929,37 +8145,37 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym669 := z.EncBinary() - _ = yym669 + yym705 := z.EncBinary() + _ = yym705 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep670 := !z.EncBinary() - yy2arr670 := z.EncBasicHandle().StructToArray - var yyq670 [4]bool - _, _, _ = yysep670, yyq670, yy2arr670 - const yyr670 bool = false - yyq670[0] = x.Kind != "" - yyq670[1] = x.APIVersion != "" - yyq670[2] = true - var yynn670 int - if yyr670 || yy2arr670 { + yysep706 := !z.EncBinary() + yy2arr706 := z.EncBasicHandle().StructToArray + var yyq706 [4]bool + _, _, _ = yysep706, yyq706, yy2arr706 + const yyr706 bool = false + yyq706[0] = x.Kind != "" + yyq706[1] = x.APIVersion != "" + yyq706[2] = true + var yynn706 int + if yyr706 || yy2arr706 { r.EncodeArrayStart(4) } else { - yynn670 = 1 - for _, b := range yyq670 { + yynn706 = 1 + for _, b := range yyq706 { if b { - yynn670++ + yynn706++ } } - r.EncodeMapStart(yynn670) - yynn670 = 0 + r.EncodeMapStart(yynn706) + yynn706 = 0 } - if yyr670 || yy2arr670 { + if yyr706 || yy2arr706 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq670[0] { - yym672 := z.EncBinary() - _ = yym672 + if yyq706[0] { + yym708 := z.EncBinary() + _ = yym708 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7968,23 +8184,23 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq670[0] { + if yyq706[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym673 := z.EncBinary() - _ = yym673 + yym709 := z.EncBinary() + _ = yym709 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr670 || yy2arr670 { + if yyr706 || yy2arr706 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq670[1] { - yym675 := z.EncBinary() - _ = yym675 + if yyq706[1] { + yym711 := z.EncBinary() + _ = yym711 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7993,54 +8209,54 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq670[1] { + if yyq706[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym676 := z.EncBinary() - _ = yym676 + yym712 := z.EncBinary() + _ = yym712 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr670 || yy2arr670 { + if yyr706 || yy2arr706 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq670[2] { - yy678 := &x.ListMeta - yym679 := z.EncBinary() - _ = yym679 + if yyq706[2] { + yy714 := &x.ListMeta + yym715 := z.EncBinary() + _ = yym715 if false { - } else if z.HasExtensions() && z.EncExt(yy678) { + } else if z.HasExtensions() && z.EncExt(yy714) { } else { - z.EncFallback(yy678) + z.EncFallback(yy714) } } else { r.EncodeNil() } } else { - if yyq670[2] { + if yyq706[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy680 := &x.ListMeta - yym681 := z.EncBinary() - _ = yym681 + yy716 := &x.ListMeta + yym717 := z.EncBinary() + _ = yym717 if false { - } else if z.HasExtensions() && z.EncExt(yy680) { + } else if z.HasExtensions() && z.EncExt(yy716) { } else { - z.EncFallback(yy680) + z.EncFallback(yy716) } } } - if yyr670 || yy2arr670 { + if yyr706 || yy2arr706 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym683 := z.EncBinary() - _ = yym683 + yym719 := z.EncBinary() + _ = yym719 if false { } else { h.encSliceJob(([]Job)(x.Items), e) @@ -8053,15 +8269,15 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym684 := z.EncBinary() - _ = yym684 + yym720 := z.EncBinary() + _ = yym720 if false { } else { h.encSliceJob(([]Job)(x.Items), e) } } } - if yyr670 || yy2arr670 { + if yyr706 || yy2arr706 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8074,25 +8290,25 @@ func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym685 := z.DecBinary() - _ = yym685 + yym721 := z.DecBinary() + _ = yym721 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct686 := r.ContainerType() - if yyct686 == codecSelferValueTypeMap1234 { - yyl686 := r.ReadMapStart() - if yyl686 == 0 { + yyct722 := r.ContainerType() + if yyct722 == codecSelferValueTypeMap1234 { + yyl722 := r.ReadMapStart() + if yyl722 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl686, d) + x.codecDecodeSelfFromMap(yyl722, d) } - } else if yyct686 == codecSelferValueTypeArray1234 { - yyl686 := r.ReadArrayStart() - if yyl686 == 0 { + } else if yyct722 == codecSelferValueTypeArray1234 { + yyl722 := r.ReadArrayStart() + if yyl722 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl686, d) + x.codecDecodeSelfFromArray(yyl722, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8104,12 +8320,12 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys687Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys687Slc - var yyhl687 bool = l >= 0 - for yyj687 := 0; ; yyj687++ { - if yyhl687 { - if yyj687 >= l { + var yys723Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys723Slc + var yyhl723 bool = l >= 0 + for yyj723 := 0; ; yyj723++ { + if yyhl723 { + if yyj723 >= l { break } } else { @@ -8118,10 +8334,10 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys687Slc = r.DecodeBytes(yys687Slc, true, true) - yys687 := string(yys687Slc) + yys723Slc = r.DecodeBytes(yys723Slc, true, true) + yys723 := string(yys723Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys687 { + switch yys723 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8138,31 +8354,31 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv690 := &x.ListMeta - yym691 := z.DecBinary() - _ = yym691 + yyv726 := &x.ListMeta + yym727 := z.DecBinary() + _ = yym727 if false { - } else if z.HasExtensions() && z.DecExt(yyv690) { + } else if z.HasExtensions() && z.DecExt(yyv726) { } else { - z.DecFallback(yyv690, false) + z.DecFallback(yyv726, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv692 := &x.Items - yym693 := z.DecBinary() - _ = yym693 + yyv728 := &x.Items + yym729 := z.DecBinary() + _ = yym729 if false { } else { - h.decSliceJob((*[]Job)(yyv692), d) + h.decSliceJob((*[]Job)(yyv728), d) } } default: - z.DecStructFieldNotFound(-1, yys687) - } // end switch yys687 - } // end for yyj687 + z.DecStructFieldNotFound(-1, yys723) + } // end switch yys723 + } // end for yyj723 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8170,16 +8386,16 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj694 int - var yyb694 bool - var yyhl694 bool = l >= 0 - yyj694++ - if yyhl694 { - yyb694 = yyj694 > l + var yyj730 int + var yyb730 bool + var yyhl730 bool = l >= 0 + yyj730++ + if yyhl730 { + yyb730 = yyj730 > l } else { - yyb694 = r.CheckBreak() + yyb730 = r.CheckBreak() } - if yyb694 { + if yyb730 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8189,13 +8405,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj694++ - if yyhl694 { - yyb694 = yyj694 > l + yyj730++ + if yyhl730 { + yyb730 = yyj730 > l } else { - yyb694 = r.CheckBreak() + yyb730 = r.CheckBreak() } - if yyb694 { + if yyb730 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8205,13 +8421,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj694++ - if yyhl694 { - yyb694 = yyj694 > l + yyj730++ + if yyhl730 { + yyb730 = yyj730 > l } else { - yyb694 = r.CheckBreak() + yyb730 = r.CheckBreak() } - if yyb694 { + if yyb730 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8219,22 +8435,22 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv697 := &x.ListMeta - yym698 := z.DecBinary() - _ = yym698 + yyv733 := &x.ListMeta + yym734 := z.DecBinary() + _ = yym734 if false { - } else if z.HasExtensions() && z.DecExt(yyv697) { + } else if z.HasExtensions() && z.DecExt(yyv733) { } else { - z.DecFallback(yyv697, false) + z.DecFallback(yyv733, false) } } - yyj694++ - if yyhl694 { - yyb694 = yyj694 > l + yyj730++ + if yyhl730 { + yyb730 = yyj730 > l } else { - yyb694 = r.CheckBreak() + yyb730 = r.CheckBreak() } - if yyb694 { + if yyb730 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8242,26 +8458,26 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv699 := &x.Items - yym700 := z.DecBinary() - _ = yym700 + yyv735 := &x.Items + yym736 := z.DecBinary() + _ = yym736 if false { } else { - h.decSliceJob((*[]Job)(yyv699), d) + h.decSliceJob((*[]Job)(yyv735), d) } } for { - yyj694++ - if yyhl694 { - yyb694 = yyj694 > l + yyj730++ + if yyhl730 { + yyb730 = yyj730 > l } else { - yyb694 = r.CheckBreak() + yyb730 = r.CheckBreak() } - if yyb694 { + if yyb730 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj694-1, "") + z.DecStructFieldNotFound(yyj730-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8273,105 +8489,141 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym701 := z.EncBinary() - _ = yym701 + yym737 := z.EncBinary() + _ = yym737 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep702 := !z.EncBinary() - yy2arr702 := z.EncBasicHandle().StructToArray - var yyq702 [4]bool - _, _, _ = yysep702, yyq702, yy2arr702 - const yyr702 bool = false - yyq702[0] = x.Parallelism != nil - yyq702[1] = x.Completions != nil - yyq702[2] = x.Selector != nil - var yynn702 int - if yyr702 || yy2arr702 { - r.EncodeArrayStart(4) + yysep738 := !z.EncBinary() + yy2arr738 := z.EncBasicHandle().StructToArray + var yyq738 [5]bool + _, _, _ = yysep738, yyq738, yy2arr738 + const yyr738 bool = false + yyq738[0] = x.Parallelism != nil + yyq738[1] = x.Completions != nil + yyq738[2] = x.ActiveDeadlineSeconds != nil + yyq738[3] = x.Selector != nil + var yynn738 int + if yyr738 || yy2arr738 { + r.EncodeArrayStart(5) } else { - yynn702 = 1 - for _, b := range yyq702 { + yynn738 = 1 + for _, b := range yyq738 { if b { - yynn702++ + yynn738++ } } - r.EncodeMapStart(yynn702) - yynn702 = 0 + r.EncodeMapStart(yynn738) + yynn738 = 0 } - if yyr702 || yy2arr702 { + if yyr738 || yy2arr738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq702[0] { + if yyq738[0] { if x.Parallelism == nil { r.EncodeNil() } else { - yy704 := *x.Parallelism - yym705 := z.EncBinary() - _ = yym705 + yy740 := *x.Parallelism + yym741 := z.EncBinary() + _ = yym741 if false { } else { - r.EncodeInt(int64(yy704)) + r.EncodeInt(int64(yy740)) } } } else { r.EncodeNil() } } else { - if yyq702[0] { + if yyq738[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parallelism")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parallelism == nil { r.EncodeNil() } else { - yy706 := *x.Parallelism - yym707 := z.EncBinary() - _ = yym707 + yy742 := *x.Parallelism + yym743 := z.EncBinary() + _ = yym743 if false { } else { - r.EncodeInt(int64(yy706)) + r.EncodeInt(int64(yy742)) } } } } - if yyr702 || yy2arr702 { + if yyr738 || yy2arr738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq702[1] { + if yyq738[1] { if x.Completions == nil { r.EncodeNil() } else { - yy709 := *x.Completions - yym710 := z.EncBinary() - _ = yym710 + yy745 := *x.Completions + yym746 := z.EncBinary() + _ = yym746 if false { } else { - r.EncodeInt(int64(yy709)) + r.EncodeInt(int64(yy745)) } } } else { r.EncodeNil() } } else { - if yyq702[1] { + if yyq738[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Completions == nil { r.EncodeNil() } else { - yy711 := *x.Completions - yym712 := z.EncBinary() - _ = yym712 + yy747 := *x.Completions + yym748 := z.EncBinary() + _ = yym748 if false { } else { - r.EncodeInt(int64(yy711)) + r.EncodeInt(int64(yy747)) } } } } - if yyr702 || yy2arr702 { + if yyr738 || yy2arr738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq702[2] { + if yyq738[2] { + if x.ActiveDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy750 := *x.ActiveDeadlineSeconds + yym751 := z.EncBinary() + _ = yym751 + if false { + } else { + r.EncodeInt(int64(yy750)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq738[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.ActiveDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy752 := *x.ActiveDeadlineSeconds + yym753 := z.EncBinary() + _ = yym753 + if false { + } else { + r.EncodeInt(int64(yy752)) + } + } + } + } + if yyr738 || yy2arr738 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq738[3] { if x.Selector == nil { r.EncodeNil() } else { @@ -8381,7 +8633,7 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq702[2] { + if yyq738[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -8392,18 +8644,30 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr702 || yy2arr702 { + if yyr738 || yy2arr738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy715 := &x.Template - yy715.CodecEncodeSelf(e) + yy756 := &x.Template + yym757 := z.EncBinary() + _ = yym757 + if false { + } else if z.HasExtensions() && z.EncExt(yy756) { + } else { + z.EncFallback(yy756) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy716 := &x.Template - yy716.CodecEncodeSelf(e) + yy758 := &x.Template + yym759 := z.EncBinary() + _ = yym759 + if false { + } else if z.HasExtensions() && z.EncExt(yy758) { + } else { + z.EncFallback(yy758) + } } - if yyr702 || yy2arr702 { + if yyr738 || yy2arr738 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8416,25 +8680,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym717 := z.DecBinary() - _ = yym717 + yym760 := z.DecBinary() + _ = yym760 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct718 := r.ContainerType() - if yyct718 == codecSelferValueTypeMap1234 { - yyl718 := r.ReadMapStart() - if yyl718 == 0 { + yyct761 := r.ContainerType() + if yyct761 == codecSelferValueTypeMap1234 { + yyl761 := r.ReadMapStart() + if yyl761 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl718, d) + x.codecDecodeSelfFromMap(yyl761, d) } - } else if yyct718 == codecSelferValueTypeArray1234 { - yyl718 := r.ReadArrayStart() - if yyl718 == 0 { + } else if yyct761 == codecSelferValueTypeArray1234 { + yyl761 := r.ReadArrayStart() + if yyl761 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl718, d) + x.codecDecodeSelfFromArray(yyl761, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8446,12 +8710,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys719Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys719Slc - var yyhl719 bool = l >= 0 - for yyj719 := 0; ; yyj719++ { - if yyhl719 { - if yyj719 >= l { + var yys762Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys762Slc + var yyhl762 bool = l >= 0 + for yyj762 := 0; ; yyj762++ { + if yyhl762 { + if yyj762 >= l { break } } else { @@ -8460,10 +8724,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys719Slc = r.DecodeBytes(yys719Slc, true, true) - yys719 := string(yys719Slc) + yys762Slc = r.DecodeBytes(yys762Slc, true, true) + yys762 := string(yys762Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys719 { + switch yys762 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -8473,8 +8737,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int) } - yym721 := z.DecBinary() - _ = yym721 + yym764 := z.DecBinary() + _ = yym764 if false { } else { *((*int)(x.Parallelism)) = int(r.DecodeInt(codecSelferBitsize1234)) @@ -8489,13 +8753,29 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int) } - yym723 := z.DecBinary() - _ = yym723 + yym766 := z.DecBinary() + _ = yym766 if false { } else { *((*int)(x.Completions)) = int(r.DecodeInt(codecSelferBitsize1234)) } } + case "activeDeadlineSeconds": + if r.TryDecodeAsNil() { + if x.ActiveDeadlineSeconds != nil { + x.ActiveDeadlineSeconds = nil + } + } else { + if x.ActiveDeadlineSeconds == nil { + x.ActiveDeadlineSeconds = new(int64) + } + yym768 := z.DecBinary() + _ = yym768 + if false { + } else { + *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) + } + } case "selector": if r.TryDecodeAsNil() { if x.Selector != nil { @@ -8511,13 +8791,19 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv725 := &x.Template - yyv725.CodecDecodeSelf(d) + yyv770 := &x.Template + yym771 := z.DecBinary() + _ = yym771 + if false { + } else if z.HasExtensions() && z.DecExt(yyv770) { + } else { + z.DecFallback(yyv770, false) + } } default: - z.DecStructFieldNotFound(-1, yys719) - } // end switch yys719 - } // end for yyj719 + z.DecStructFieldNotFound(-1, yys762) + } // end switch yys762 + } // end for yyj762 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8525,16 +8811,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj726 int - var yyb726 bool - var yyhl726 bool = l >= 0 - yyj726++ - if yyhl726 { - yyb726 = yyj726 > l + var yyj772 int + var yyb772 bool + var yyhl772 bool = l >= 0 + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l } else { - yyb726 = r.CheckBreak() + yyb772 = r.CheckBreak() } - if yyb726 { + if yyb772 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8547,20 +8833,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int) } - yym728 := z.DecBinary() - _ = yym728 + yym774 := z.DecBinary() + _ = yym774 if false { } else { *((*int)(x.Parallelism)) = int(r.DecodeInt(codecSelferBitsize1234)) } } - yyj726++ - if yyhl726 { - yyb726 = yyj726 > l + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l } else { - yyb726 = r.CheckBreak() + yyb772 = r.CheckBreak() } - if yyb726 { + if yyb772 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8573,20 +8859,46 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int) } - yym730 := z.DecBinary() - _ = yym730 + yym776 := z.DecBinary() + _ = yym776 if false { } else { *((*int)(x.Completions)) = int(r.DecodeInt(codecSelferBitsize1234)) } } - yyj726++ - if yyhl726 { - yyb726 = yyj726 > l + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l } else { - yyb726 = r.CheckBreak() + yyb772 = r.CheckBreak() } - if yyb726 { + if yyb772 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.ActiveDeadlineSeconds != nil { + x.ActiveDeadlineSeconds = nil + } + } else { + if x.ActiveDeadlineSeconds == nil { + x.ActiveDeadlineSeconds = new(int64) + } + yym778 := z.DecBinary() + _ = yym778 + if false { + } else { + *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) + } + } + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l + } else { + yyb772 = r.CheckBreak() + } + if yyb772 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8601,13 +8913,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj726++ - if yyhl726 { - yyb726 = yyj726 > l + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l } else { - yyb726 = r.CheckBreak() + yyb772 = r.CheckBreak() } - if yyb726 { + if yyb772 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8615,21 +8927,27 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv732 := &x.Template - yyv732.CodecDecodeSelf(d) + yyv780 := &x.Template + yym781 := z.DecBinary() + _ = yym781 + if false { + } else if z.HasExtensions() && z.DecExt(yyv780) { + } else { + z.DecFallback(yyv780, false) + } } for { - yyj726++ - if yyhl726 { - yyb726 = yyj726 > l + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l } else { - yyb726 = r.CheckBreak() + yyb772 = r.CheckBreak() } - if yyb726 { + if yyb772 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj726-1, "") + z.DecStructFieldNotFound(yyj772-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8641,43 +8959,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym733 := z.EncBinary() - _ = yym733 + yym782 := z.EncBinary() + _ = yym782 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep734 := !z.EncBinary() - yy2arr734 := z.EncBasicHandle().StructToArray - var yyq734 [6]bool - _, _, _ = yysep734, yyq734, yy2arr734 - const yyr734 bool = false - yyq734[0] = len(x.Conditions) != 0 - yyq734[1] = x.StartTime != nil - yyq734[2] = x.CompletionTime != nil - yyq734[3] = x.Active != 0 - yyq734[4] = x.Succeeded != 0 - yyq734[5] = x.Failed != 0 - var yynn734 int - if yyr734 || yy2arr734 { + yysep783 := !z.EncBinary() + yy2arr783 := z.EncBasicHandle().StructToArray + var yyq783 [6]bool + _, _, _ = yysep783, yyq783, yy2arr783 + const yyr783 bool = false + yyq783[0] = len(x.Conditions) != 0 + yyq783[1] = x.StartTime != nil + yyq783[2] = x.CompletionTime != nil + yyq783[3] = x.Active != 0 + yyq783[4] = x.Succeeded != 0 + yyq783[5] = x.Failed != 0 + var yynn783 int + if yyr783 || yy2arr783 { r.EncodeArrayStart(6) } else { - yynn734 = 0 - for _, b := range yyq734 { + yynn783 = 0 + for _, b := range yyq783 { if b { - yynn734++ + yynn783++ } } - r.EncodeMapStart(yynn734) - yynn734 = 0 + r.EncodeMapStart(yynn783) + yynn783 = 0 } - if yyr734 || yy2arr734 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq734[0] { + if yyq783[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym736 := z.EncBinary() - _ = yym736 + yym785 := z.EncBinary() + _ = yym785 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -8687,15 +9005,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq734[0] { + if yyq783[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym737 := z.EncBinary() - _ = yym737 + yym786 := z.EncBinary() + _ = yym786 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -8703,19 +9021,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr734 || yy2arr734 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq734[1] { + if yyq783[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym739 := z.EncBinary() - _ = yym739 + yym788 := z.EncBinary() + _ = yym788 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym739 { + } else if yym788 { z.EncBinaryMarshal(x.StartTime) - } else if !yym739 && z.IsJSONHandle() { + } else if !yym788 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -8725,20 +9043,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq734[1] { + if yyq783[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym740 := z.EncBinary() - _ = yym740 + yym789 := z.EncBinary() + _ = yym789 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym740 { + } else if yym789 { z.EncBinaryMarshal(x.StartTime) - } else if !yym740 && z.IsJSONHandle() { + } else if !yym789 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -8746,19 +9064,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr734 || yy2arr734 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq734[2] { + if yyq783[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym742 := z.EncBinary() - _ = yym742 + yym791 := z.EncBinary() + _ = yym791 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym742 { + } else if yym791 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym742 && z.IsJSONHandle() { + } else if !yym791 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -8768,20 +9086,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq734[2] { + if yyq783[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym743 := z.EncBinary() - _ = yym743 + yym792 := z.EncBinary() + _ = yym792 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym743 { + } else if yym792 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym743 && z.IsJSONHandle() { + } else if !yym792 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -8789,11 +9107,11 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr734 || yy2arr734 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq734[3] { - yym745 := z.EncBinary() - _ = yym745 + if yyq783[3] { + yym794 := z.EncBinary() + _ = yym794 if false { } else { r.EncodeInt(int64(x.Active)) @@ -8802,23 +9120,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq734[3] { + if yyq783[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym746 := z.EncBinary() - _ = yym746 + yym795 := z.EncBinary() + _ = yym795 if false { } else { r.EncodeInt(int64(x.Active)) } } } - if yyr734 || yy2arr734 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq734[4] { - yym748 := z.EncBinary() - _ = yym748 + if yyq783[4] { + yym797 := z.EncBinary() + _ = yym797 if false { } else { r.EncodeInt(int64(x.Succeeded)) @@ -8827,23 +9145,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq734[4] { + if yyq783[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("succeeded")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym749 := z.EncBinary() - _ = yym749 + yym798 := z.EncBinary() + _ = yym798 if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr734 || yy2arr734 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq734[5] { - yym751 := z.EncBinary() - _ = yym751 + if yyq783[5] { + yym800 := z.EncBinary() + _ = yym800 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -8852,19 +9170,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq734[5] { + if yyq783[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym752 := z.EncBinary() - _ = yym752 + yym801 := z.EncBinary() + _ = yym801 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr734 || yy2arr734 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8877,25 +9195,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym753 := z.DecBinary() - _ = yym753 + yym802 := z.DecBinary() + _ = yym802 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct754 := r.ContainerType() - if yyct754 == codecSelferValueTypeMap1234 { - yyl754 := r.ReadMapStart() - if yyl754 == 0 { + yyct803 := r.ContainerType() + if yyct803 == codecSelferValueTypeMap1234 { + yyl803 := r.ReadMapStart() + if yyl803 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl754, d) + x.codecDecodeSelfFromMap(yyl803, d) } - } else if yyct754 == codecSelferValueTypeArray1234 { - yyl754 := r.ReadArrayStart() - if yyl754 == 0 { + } else if yyct803 == codecSelferValueTypeArray1234 { + yyl803 := r.ReadArrayStart() + if yyl803 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl754, d) + x.codecDecodeSelfFromArray(yyl803, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8907,12 +9225,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys755Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys755Slc - var yyhl755 bool = l >= 0 - for yyj755 := 0; ; yyj755++ { - if yyhl755 { - if yyj755 >= l { + var yys804Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys804Slc + var yyhl804 bool = l >= 0 + for yyj804 := 0; ; yyj804++ { + if yyhl804 { + if yyj804 >= l { break } } else { @@ -8921,20 +9239,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys755Slc = r.DecodeBytes(yys755Slc, true, true) - yys755 := string(yys755Slc) + yys804Slc = r.DecodeBytes(yys804Slc, true, true) + yys804 := string(yys804Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys755 { + switch yys804 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv756 := &x.Conditions - yym757 := z.DecBinary() - _ = yym757 + yyv805 := &x.Conditions + yym806 := z.DecBinary() + _ = yym806 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv756), d) + h.decSliceJobCondition((*[]JobCondition)(yyv805), d) } } case "startTime": @@ -8946,13 +9264,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym759 := z.DecBinary() - _ = yym759 + yym808 := z.DecBinary() + _ = yym808 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym759 { + } else if yym808 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym759 && z.IsJSONHandle() { + } else if !yym808 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -8967,13 +9285,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym761 := z.DecBinary() - _ = yym761 + yym810 := z.DecBinary() + _ = yym810 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym761 { + } else if yym810 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym761 && z.IsJSONHandle() { + } else if !yym810 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -8998,9 +9316,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int(r.DecodeInt(codecSelferBitsize1234)) } default: - z.DecStructFieldNotFound(-1, yys755) - } // end switch yys755 - } // end for yyj755 + z.DecStructFieldNotFound(-1, yys804) + } // end switch yys804 + } // end for yyj804 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9008,16 +9326,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj765 int - var yyb765 bool - var yyhl765 bool = l >= 0 - yyj765++ - if yyhl765 { - yyb765 = yyj765 > l + var yyj814 int + var yyb814 bool + var yyhl814 bool = l >= 0 + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb765 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb765 { + if yyb814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9025,21 +9343,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv766 := &x.Conditions - yym767 := z.DecBinary() - _ = yym767 + yyv815 := &x.Conditions + yym816 := z.DecBinary() + _ = yym816 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv766), d) + h.decSliceJobCondition((*[]JobCondition)(yyv815), d) } } - yyj765++ - if yyhl765 { - yyb765 = yyj765 > l + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb765 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb765 { + if yyb814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9052,25 +9370,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym769 := z.DecBinary() - _ = yym769 + yym818 := z.DecBinary() + _ = yym818 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym769 { + } else if yym818 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym769 && z.IsJSONHandle() { + } else if !yym818 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj765++ - if yyhl765 { - yyb765 = yyj765 > l + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb765 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb765 { + if yyb814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9083,25 +9401,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym771 := z.DecBinary() - _ = yym771 + yym820 := z.DecBinary() + _ = yym820 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym771 { + } else if yym820 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym771 && z.IsJSONHandle() { + } else if !yym820 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj765++ - if yyhl765 { - yyb765 = yyj765 > l + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb765 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb765 { + if yyb814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9111,13 +9429,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj765++ - if yyhl765 { - yyb765 = yyj765 > l + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb765 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb765 { + if yyb814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9127,13 +9445,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj765++ - if yyhl765 { - yyb765 = yyj765 > l + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb765 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb765 { + if yyb814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9144,17 +9462,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj765++ - if yyhl765 { - yyb765 = yyj765 > l + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb765 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb765 { + if yyb814 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj765-1, "") + z.DecStructFieldNotFound(yyj814-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9163,8 +9481,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym775 := z.EncBinary() - _ = yym775 + yym824 := z.EncBinary() + _ = yym824 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -9176,8 +9494,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym776 := z.DecBinary() - _ = yym776 + yym825 := z.DecBinary() + _ = yym825 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -9192,34 +9510,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym777 := z.EncBinary() - _ = yym777 + yym826 := z.EncBinary() + _ = yym826 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep778 := !z.EncBinary() - yy2arr778 := z.EncBasicHandle().StructToArray - var yyq778 [6]bool - _, _, _ = yysep778, yyq778, yy2arr778 - const yyr778 bool = false - yyq778[2] = true - yyq778[3] = true - yyq778[4] = x.Reason != "" - yyq778[5] = x.Message != "" - var yynn778 int - if yyr778 || yy2arr778 { + yysep827 := !z.EncBinary() + yy2arr827 := z.EncBasicHandle().StructToArray + var yyq827 [6]bool + _, _, _ = yysep827, yyq827, yy2arr827 + const yyr827 bool = false + yyq827[2] = true + yyq827[3] = true + yyq827[4] = x.Reason != "" + yyq827[5] = x.Message != "" + var yynn827 int + if yyr827 || yy2arr827 { r.EncodeArrayStart(6) } else { - yynn778 = 2 - for _, b := range yyq778 { + yynn827 = 2 + for _, b := range yyq827 { if b { - yynn778++ + yynn827++ } } - r.EncodeMapStart(yynn778) - yynn778 = 0 + r.EncodeMapStart(yynn827) + yynn827 = 0 } - if yyr778 || yy2arr778 { + if yyr827 || yy2arr827 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -9228,10 +9546,10 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr778 || yy2arr778 { + if yyr827 || yy2arr827 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym781 := z.EncBinary() - _ = yym781 + yym830 := z.EncBinary() + _ = yym830 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -9241,93 +9559,93 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym782 := z.EncBinary() - _ = yym782 + yym831 := z.EncBinary() + _ = yym831 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr778 || yy2arr778 { + if yyr827 || yy2arr827 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq778[2] { - yy784 := &x.LastProbeTime - yym785 := z.EncBinary() - _ = yym785 + if yyq827[2] { + yy833 := &x.LastProbeTime + yym834 := z.EncBinary() + _ = yym834 if false { - } else if z.HasExtensions() && z.EncExt(yy784) { - } else if yym785 { - z.EncBinaryMarshal(yy784) - } else if !yym785 && z.IsJSONHandle() { - z.EncJSONMarshal(yy784) + } else if z.HasExtensions() && z.EncExt(yy833) { + } else if yym834 { + z.EncBinaryMarshal(yy833) + } else if !yym834 && z.IsJSONHandle() { + z.EncJSONMarshal(yy833) } else { - z.EncFallback(yy784) + z.EncFallback(yy833) } } else { r.EncodeNil() } } else { - if yyq778[2] { + if yyq827[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy786 := &x.LastProbeTime - yym787 := z.EncBinary() - _ = yym787 + yy835 := &x.LastProbeTime + yym836 := z.EncBinary() + _ = yym836 if false { - } else if z.HasExtensions() && z.EncExt(yy786) { - } else if yym787 { - z.EncBinaryMarshal(yy786) - } else if !yym787 && z.IsJSONHandle() { - z.EncJSONMarshal(yy786) + } else if z.HasExtensions() && z.EncExt(yy835) { + } else if yym836 { + z.EncBinaryMarshal(yy835) + } else if !yym836 && z.IsJSONHandle() { + z.EncJSONMarshal(yy835) } else { - z.EncFallback(yy786) + z.EncFallback(yy835) } } } - if yyr778 || yy2arr778 { + if yyr827 || yy2arr827 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq778[3] { - yy789 := &x.LastTransitionTime - yym790 := z.EncBinary() - _ = yym790 + if yyq827[3] { + yy838 := &x.LastTransitionTime + yym839 := z.EncBinary() + _ = yym839 if false { - } else if z.HasExtensions() && z.EncExt(yy789) { - } else if yym790 { - z.EncBinaryMarshal(yy789) - } else if !yym790 && z.IsJSONHandle() { - z.EncJSONMarshal(yy789) + } else if z.HasExtensions() && z.EncExt(yy838) { + } else if yym839 { + z.EncBinaryMarshal(yy838) + } else if !yym839 && z.IsJSONHandle() { + z.EncJSONMarshal(yy838) } else { - z.EncFallback(yy789) + z.EncFallback(yy838) } } else { r.EncodeNil() } } else { - if yyq778[3] { + if yyq827[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy791 := &x.LastTransitionTime - yym792 := z.EncBinary() - _ = yym792 + yy840 := &x.LastTransitionTime + yym841 := z.EncBinary() + _ = yym841 if false { - } else if z.HasExtensions() && z.EncExt(yy791) { - } else if yym792 { - z.EncBinaryMarshal(yy791) - } else if !yym792 && z.IsJSONHandle() { - z.EncJSONMarshal(yy791) + } else if z.HasExtensions() && z.EncExt(yy840) { + } else if yym841 { + z.EncBinaryMarshal(yy840) + } else if !yym841 && z.IsJSONHandle() { + z.EncJSONMarshal(yy840) } else { - z.EncFallback(yy791) + z.EncFallback(yy840) } } } - if yyr778 || yy2arr778 { + if yyr827 || yy2arr827 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq778[4] { - yym794 := z.EncBinary() - _ = yym794 + if yyq827[4] { + yym843 := z.EncBinary() + _ = yym843 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -9336,23 +9654,23 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq778[4] { + if yyq827[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym795 := z.EncBinary() - _ = yym795 + yym844 := z.EncBinary() + _ = yym844 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr778 || yy2arr778 { + if yyr827 || yy2arr827 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq778[5] { - yym797 := z.EncBinary() - _ = yym797 + if yyq827[5] { + yym846 := z.EncBinary() + _ = yym846 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -9361,19 +9679,19 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq778[5] { + if yyq827[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym798 := z.EncBinary() - _ = yym798 + yym847 := z.EncBinary() + _ = yym847 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr778 || yy2arr778 { + if yyr827 || yy2arr827 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9386,25 +9704,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym799 := z.DecBinary() - _ = yym799 + yym848 := z.DecBinary() + _ = yym848 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct800 := r.ContainerType() - if yyct800 == codecSelferValueTypeMap1234 { - yyl800 := r.ReadMapStart() - if yyl800 == 0 { + yyct849 := r.ContainerType() + if yyct849 == codecSelferValueTypeMap1234 { + yyl849 := r.ReadMapStart() + if yyl849 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl800, d) + x.codecDecodeSelfFromMap(yyl849, d) } - } else if yyct800 == codecSelferValueTypeArray1234 { - yyl800 := r.ReadArrayStart() - if yyl800 == 0 { + } else if yyct849 == codecSelferValueTypeArray1234 { + yyl849 := r.ReadArrayStart() + if yyl849 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl800, d) + x.codecDecodeSelfFromArray(yyl849, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9416,12 +9734,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys801Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys801Slc - var yyhl801 bool = l >= 0 - for yyj801 := 0; ; yyj801++ { - if yyhl801 { - if yyj801 >= l { + var yys850Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys850Slc + var yyhl850 bool = l >= 0 + for yyj850 := 0; ; yyj850++ { + if yyhl850 { + if yyj850 >= l { break } } else { @@ -9430,10 +9748,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys801Slc = r.DecodeBytes(yys801Slc, true, true) - yys801 := string(yys801Slc) + yys850Slc = r.DecodeBytes(yys850Slc, true, true) + yys850 := string(yys850Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys801 { + switch yys850 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -9450,34 +9768,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv804 := &x.LastProbeTime - yym805 := z.DecBinary() - _ = yym805 + yyv853 := &x.LastProbeTime + yym854 := z.DecBinary() + _ = yym854 if false { - } else if z.HasExtensions() && z.DecExt(yyv804) { - } else if yym805 { - z.DecBinaryUnmarshal(yyv804) - } else if !yym805 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv804) + } else if z.HasExtensions() && z.DecExt(yyv853) { + } else if yym854 { + z.DecBinaryUnmarshal(yyv853) + } else if !yym854 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv853) } else { - z.DecFallback(yyv804, false) + z.DecFallback(yyv853, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv806 := &x.LastTransitionTime - yym807 := z.DecBinary() - _ = yym807 + yyv855 := &x.LastTransitionTime + yym856 := z.DecBinary() + _ = yym856 if false { - } else if z.HasExtensions() && z.DecExt(yyv806) { - } else if yym807 { - z.DecBinaryUnmarshal(yyv806) - } else if !yym807 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv806) + } else if z.HasExtensions() && z.DecExt(yyv855) { + } else if yym856 { + z.DecBinaryUnmarshal(yyv855) + } else if !yym856 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv855) } else { - z.DecFallback(yyv806, false) + z.DecFallback(yyv855, false) } } case "reason": @@ -9493,9 +9811,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys801) - } // end switch yys801 - } // end for yyj801 + z.DecStructFieldNotFound(-1, yys850) + } // end switch yys850 + } // end for yyj850 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9503,16 +9821,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj810 int - var yyb810 bool - var yyhl810 bool = l >= 0 - yyj810++ - if yyhl810 { - yyb810 = yyj810 > l + var yyj859 int + var yyb859 bool + var yyhl859 bool = l >= 0 + yyj859++ + if yyhl859 { + yyb859 = yyj859 > l } else { - yyb810 = r.CheckBreak() + yyb859 = r.CheckBreak() } - if yyb810 { + if yyb859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9522,13 +9840,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj810++ - if yyhl810 { - yyb810 = yyj810 > l + yyj859++ + if yyhl859 { + yyb859 = yyj859 > l } else { - yyb810 = r.CheckBreak() + yyb859 = r.CheckBreak() } - if yyb810 { + if yyb859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9538,13 +9856,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_api.ConditionStatus(r.DecodeString()) } - yyj810++ - if yyhl810 { - yyb810 = yyj810 > l + yyj859++ + if yyhl859 { + yyb859 = yyj859 > l } else { - yyb810 = r.CheckBreak() + yyb859 = r.CheckBreak() } - if yyb810 { + if yyb859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9552,26 +9870,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv813 := &x.LastProbeTime - yym814 := z.DecBinary() - _ = yym814 + yyv862 := &x.LastProbeTime + yym863 := z.DecBinary() + _ = yym863 if false { - } else if z.HasExtensions() && z.DecExt(yyv813) { - } else if yym814 { - z.DecBinaryUnmarshal(yyv813) - } else if !yym814 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv813) + } else if z.HasExtensions() && z.DecExt(yyv862) { + } else if yym863 { + z.DecBinaryUnmarshal(yyv862) + } else if !yym863 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv862) } else { - z.DecFallback(yyv813, false) + z.DecFallback(yyv862, false) } } - yyj810++ - if yyhl810 { - yyb810 = yyj810 > l + yyj859++ + if yyhl859 { + yyb859 = yyj859 > l } else { - yyb810 = r.CheckBreak() + yyb859 = r.CheckBreak() } - if yyb810 { + if yyb859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9579,26 +9897,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv815 := &x.LastTransitionTime - yym816 := z.DecBinary() - _ = yym816 + yyv864 := &x.LastTransitionTime + yym865 := z.DecBinary() + _ = yym865 if false { - } else if z.HasExtensions() && z.DecExt(yyv815) { - } else if yym816 { - z.DecBinaryUnmarshal(yyv815) - } else if !yym816 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv815) + } else if z.HasExtensions() && z.DecExt(yyv864) { + } else if yym865 { + z.DecBinaryUnmarshal(yyv864) + } else if !yym865 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv864) } else { - z.DecFallback(yyv815, false) + z.DecFallback(yyv864, false) } } - yyj810++ - if yyhl810 { - yyb810 = yyj810 > l + yyj859++ + if yyhl859 { + yyb859 = yyj859 > l } else { - yyb810 = r.CheckBreak() + yyb859 = r.CheckBreak() } - if yyb810 { + if yyb859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9608,13 +9926,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj810++ - if yyhl810 { - yyb810 = yyj810 > l + yyj859++ + if yyhl859 { + yyb859 = yyj859 > l } else { - yyb810 = r.CheckBreak() + yyb859 = r.CheckBreak() } - if yyb810 { + if yyb859 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9625,17 +9943,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj810++ - if yyhl810 { - yyb810 = yyj810 > l + yyj859++ + if yyhl859 { + yyb859 = yyj859 > l } else { - yyb810 = r.CheckBreak() + yyb859 = r.CheckBreak() } - if yyb810 { + if yyb859 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj810-1, "") + z.DecStructFieldNotFound(yyj859-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9647,39 +9965,39 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym819 := z.EncBinary() - _ = yym819 + yym868 := z.EncBinary() + _ = yym868 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep820 := !z.EncBinary() - yy2arr820 := z.EncBasicHandle().StructToArray - var yyq820 [5]bool - _, _, _ = yysep820, yyq820, yy2arr820 - const yyr820 bool = false - yyq820[0] = x.Kind != "" - yyq820[1] = x.APIVersion != "" - yyq820[2] = true - yyq820[3] = true - yyq820[4] = true - var yynn820 int - if yyr820 || yy2arr820 { + yysep869 := !z.EncBinary() + yy2arr869 := z.EncBasicHandle().StructToArray + var yyq869 [5]bool + _, _, _ = yysep869, yyq869, yy2arr869 + const yyr869 bool = false + yyq869[0] = x.Kind != "" + yyq869[1] = x.APIVersion != "" + yyq869[2] = true + yyq869[3] = true + yyq869[4] = true + var yynn869 int + if yyr869 || yy2arr869 { r.EncodeArrayStart(5) } else { - yynn820 = 0 - for _, b := range yyq820 { + yynn869 = 0 + for _, b := range yyq869 { if b { - yynn820++ + yynn869++ } } - r.EncodeMapStart(yynn820) - yynn820 = 0 + r.EncodeMapStart(yynn869) + yynn869 = 0 } - if yyr820 || yy2arr820 { + if yyr869 || yy2arr869 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq820[0] { - yym822 := z.EncBinary() - _ = yym822 + if yyq869[0] { + yym871 := z.EncBinary() + _ = yym871 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9688,23 +10006,23 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq820[0] { + if yyq869[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym823 := z.EncBinary() - _ = yym823 + yym872 := z.EncBinary() + _ = yym872 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr820 || yy2arr820 { + if yyr869 || yy2arr869 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq820[1] { - yym825 := z.EncBinary() - _ = yym825 + if yyq869[1] { + yym874 := z.EncBinary() + _ = yym874 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9713,70 +10031,82 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq820[1] { + if yyq869[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym826 := z.EncBinary() - _ = yym826 + yym875 := z.EncBinary() + _ = yym875 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr820 || yy2arr820 { + if yyr869 || yy2arr869 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq820[2] { - yy828 := &x.ObjectMeta - yy828.CodecEncodeSelf(e) + if yyq869[2] { + yy877 := &x.ObjectMeta + yym878 := z.EncBinary() + _ = yym878 + if false { + } else if z.HasExtensions() && z.EncExt(yy877) { + } else { + z.EncFallback(yy877) + } } else { r.EncodeNil() } } else { - if yyq820[2] { + if yyq869[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy829 := &x.ObjectMeta - yy829.CodecEncodeSelf(e) + yy879 := &x.ObjectMeta + yym880 := z.EncBinary() + _ = yym880 + if false { + } else if z.HasExtensions() && z.EncExt(yy879) { + } else { + z.EncFallback(yy879) + } } } - if yyr820 || yy2arr820 { + if yyr869 || yy2arr869 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq820[3] { - yy831 := &x.Spec - yy831.CodecEncodeSelf(e) + if yyq869[3] { + yy882 := &x.Spec + yy882.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq820[3] { + if yyq869[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy832 := &x.Spec - yy832.CodecEncodeSelf(e) + yy883 := &x.Spec + yy883.CodecEncodeSelf(e) } } - if yyr820 || yy2arr820 { + if yyr869 || yy2arr869 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq820[4] { - yy834 := &x.Status - yy834.CodecEncodeSelf(e) + if yyq869[4] { + yy885 := &x.Status + yy885.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq820[4] { + if yyq869[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy835 := &x.Status - yy835.CodecEncodeSelf(e) + yy886 := &x.Status + yy886.CodecEncodeSelf(e) } } - if yyr820 || yy2arr820 { + if yyr869 || yy2arr869 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9789,25 +10119,25 @@ func (x *Ingress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym836 := z.DecBinary() - _ = yym836 + yym887 := z.DecBinary() + _ = yym887 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct837 := r.ContainerType() - if yyct837 == codecSelferValueTypeMap1234 { - yyl837 := r.ReadMapStart() - if yyl837 == 0 { + yyct888 := r.ContainerType() + if yyct888 == codecSelferValueTypeMap1234 { + yyl888 := r.ReadMapStart() + if yyl888 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl837, d) + x.codecDecodeSelfFromMap(yyl888, d) } - } else if yyct837 == codecSelferValueTypeArray1234 { - yyl837 := r.ReadArrayStart() - if yyl837 == 0 { + } else if yyct888 == codecSelferValueTypeArray1234 { + yyl888 := r.ReadArrayStart() + if yyl888 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl837, d) + x.codecDecodeSelfFromArray(yyl888, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9819,12 +10149,12 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys838Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys838Slc - var yyhl838 bool = l >= 0 - for yyj838 := 0; ; yyj838++ { - if yyhl838 { - if yyj838 >= l { + var yys889Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys889Slc + var yyhl889 bool = l >= 0 + for yyj889 := 0; ; yyj889++ { + if yyhl889 { + if yyj889 >= l { break } } else { @@ -9833,10 +10163,10 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys838Slc = r.DecodeBytes(yys838Slc, true, true) - yys838 := string(yys838Slc) + yys889Slc = r.DecodeBytes(yys889Slc, true, true) + yys889 := string(yys889Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys838 { + switch yys889 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9853,27 +10183,33 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv841 := &x.ObjectMeta - yyv841.CodecDecodeSelf(d) + yyv892 := &x.ObjectMeta + yym893 := z.DecBinary() + _ = yym893 + if false { + } else if z.HasExtensions() && z.DecExt(yyv892) { + } else { + z.DecFallback(yyv892, false) + } } case "spec": if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv842 := &x.Spec - yyv842.CodecDecodeSelf(d) + yyv894 := &x.Spec + yyv894.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv843 := &x.Status - yyv843.CodecDecodeSelf(d) + yyv895 := &x.Status + yyv895.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys838) - } // end switch yys838 - } // end for yyj838 + z.DecStructFieldNotFound(-1, yys889) + } // end switch yys889 + } // end for yyj889 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9881,16 +10217,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj844 int - var yyb844 bool - var yyhl844 bool = l >= 0 - yyj844++ - if yyhl844 { - yyb844 = yyj844 > l + var yyj896 int + var yyb896 bool + var yyhl896 bool = l >= 0 + yyj896++ + if yyhl896 { + yyb896 = yyj896 > l } else { - yyb844 = r.CheckBreak() + yyb896 = r.CheckBreak() } - if yyb844 { + if yyb896 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9900,13 +10236,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj844++ - if yyhl844 { - yyb844 = yyj844 > l + yyj896++ + if yyhl896 { + yyb896 = yyj896 > l } else { - yyb844 = r.CheckBreak() + yyb896 = r.CheckBreak() } - if yyb844 { + if yyb896 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9916,13 +10252,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj844++ - if yyhl844 { - yyb844 = yyj844 > l + yyj896++ + if yyhl896 { + yyb896 = yyj896 > l } else { - yyb844 = r.CheckBreak() + yyb896 = r.CheckBreak() } - if yyb844 { + if yyb896 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9930,16 +10266,22 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv847 := &x.ObjectMeta - yyv847.CodecDecodeSelf(d) + yyv899 := &x.ObjectMeta + yym900 := z.DecBinary() + _ = yym900 + if false { + } else if z.HasExtensions() && z.DecExt(yyv899) { + } else { + z.DecFallback(yyv899, false) + } } - yyj844++ - if yyhl844 { - yyb844 = yyj844 > l + yyj896++ + if yyhl896 { + yyb896 = yyj896 > l } else { - yyb844 = r.CheckBreak() + yyb896 = r.CheckBreak() } - if yyb844 { + if yyb896 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9947,16 +10289,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv848 := &x.Spec - yyv848.CodecDecodeSelf(d) + yyv901 := &x.Spec + yyv901.CodecDecodeSelf(d) } - yyj844++ - if yyhl844 { - yyb844 = yyj844 > l + yyj896++ + if yyhl896 { + yyb896 = yyj896 > l } else { - yyb844 = r.CheckBreak() + yyb896 = r.CheckBreak() } - if yyb844 { + if yyb896 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9964,21 +10306,21 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv849 := &x.Status - yyv849.CodecDecodeSelf(d) + yyv902 := &x.Status + yyv902.CodecDecodeSelf(d) } for { - yyj844++ - if yyhl844 { - yyb844 = yyj844 > l + yyj896++ + if yyhl896 { + yyb896 = yyj896 > l } else { - yyb844 = r.CheckBreak() + yyb896 = r.CheckBreak() } - if yyb844 { + if yyb896 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj844-1, "") + z.DecStructFieldNotFound(yyj896-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9990,37 +10332,37 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym850 := z.EncBinary() - _ = yym850 + yym903 := z.EncBinary() + _ = yym903 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep851 := !z.EncBinary() - yy2arr851 := z.EncBasicHandle().StructToArray - var yyq851 [4]bool - _, _, _ = yysep851, yyq851, yy2arr851 - const yyr851 bool = false - yyq851[0] = x.Kind != "" - yyq851[1] = x.APIVersion != "" - yyq851[2] = true - var yynn851 int - if yyr851 || yy2arr851 { + yysep904 := !z.EncBinary() + yy2arr904 := z.EncBasicHandle().StructToArray + var yyq904 [4]bool + _, _, _ = yysep904, yyq904, yy2arr904 + const yyr904 bool = false + yyq904[0] = x.Kind != "" + yyq904[1] = x.APIVersion != "" + yyq904[2] = true + var yynn904 int + if yyr904 || yy2arr904 { r.EncodeArrayStart(4) } else { - yynn851 = 1 - for _, b := range yyq851 { + yynn904 = 1 + for _, b := range yyq904 { if b { - yynn851++ + yynn904++ } } - r.EncodeMapStart(yynn851) - yynn851 = 0 + r.EncodeMapStart(yynn904) + yynn904 = 0 } - if yyr851 || yy2arr851 { + if yyr904 || yy2arr904 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq851[0] { - yym853 := z.EncBinary() - _ = yym853 + if yyq904[0] { + yym906 := z.EncBinary() + _ = yym906 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -10029,23 +10371,23 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq851[0] { + if yyq904[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym854 := z.EncBinary() - _ = yym854 + yym907 := z.EncBinary() + _ = yym907 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr851 || yy2arr851 { + if yyr904 || yy2arr904 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq851[1] { - yym856 := z.EncBinary() - _ = yym856 + if yyq904[1] { + yym909 := z.EncBinary() + _ = yym909 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -10054,54 +10396,54 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq851[1] { + if yyq904[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym857 := z.EncBinary() - _ = yym857 + yym910 := z.EncBinary() + _ = yym910 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr851 || yy2arr851 { + if yyr904 || yy2arr904 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq851[2] { - yy859 := &x.ListMeta - yym860 := z.EncBinary() - _ = yym860 + if yyq904[2] { + yy912 := &x.ListMeta + yym913 := z.EncBinary() + _ = yym913 if false { - } else if z.HasExtensions() && z.EncExt(yy859) { + } else if z.HasExtensions() && z.EncExt(yy912) { } else { - z.EncFallback(yy859) + z.EncFallback(yy912) } } else { r.EncodeNil() } } else { - if yyq851[2] { + if yyq904[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy861 := &x.ListMeta - yym862 := z.EncBinary() - _ = yym862 + yy914 := &x.ListMeta + yym915 := z.EncBinary() + _ = yym915 if false { - } else if z.HasExtensions() && z.EncExt(yy861) { + } else if z.HasExtensions() && z.EncExt(yy914) { } else { - z.EncFallback(yy861) + z.EncFallback(yy914) } } } - if yyr851 || yy2arr851 { + if yyr904 || yy2arr904 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym864 := z.EncBinary() - _ = yym864 + yym917 := z.EncBinary() + _ = yym917 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) @@ -10114,15 +10456,15 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym865 := z.EncBinary() - _ = yym865 + yym918 := z.EncBinary() + _ = yym918 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) } } } - if yyr851 || yy2arr851 { + if yyr904 || yy2arr904 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10135,25 +10477,25 @@ func (x *IngressList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym866 := z.DecBinary() - _ = yym866 + yym919 := z.DecBinary() + _ = yym919 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct867 := r.ContainerType() - if yyct867 == codecSelferValueTypeMap1234 { - yyl867 := r.ReadMapStart() - if yyl867 == 0 { + yyct920 := r.ContainerType() + if yyct920 == codecSelferValueTypeMap1234 { + yyl920 := r.ReadMapStart() + if yyl920 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl867, d) + x.codecDecodeSelfFromMap(yyl920, d) } - } else if yyct867 == codecSelferValueTypeArray1234 { - yyl867 := r.ReadArrayStart() - if yyl867 == 0 { + } else if yyct920 == codecSelferValueTypeArray1234 { + yyl920 := r.ReadArrayStart() + if yyl920 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl867, d) + x.codecDecodeSelfFromArray(yyl920, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10165,12 +10507,12 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys868Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys868Slc - var yyhl868 bool = l >= 0 - for yyj868 := 0; ; yyj868++ { - if yyhl868 { - if yyj868 >= l { + var yys921Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys921Slc + var yyhl921 bool = l >= 0 + for yyj921 := 0; ; yyj921++ { + if yyhl921 { + if yyj921 >= l { break } } else { @@ -10179,10 +10521,10 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys868Slc = r.DecodeBytes(yys868Slc, true, true) - yys868 := string(yys868Slc) + yys921Slc = r.DecodeBytes(yys921Slc, true, true) + yys921 := string(yys921Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys868 { + switch yys921 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -10199,31 +10541,31 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv871 := &x.ListMeta - yym872 := z.DecBinary() - _ = yym872 + yyv924 := &x.ListMeta + yym925 := z.DecBinary() + _ = yym925 if false { - } else if z.HasExtensions() && z.DecExt(yyv871) { + } else if z.HasExtensions() && z.DecExt(yyv924) { } else { - z.DecFallback(yyv871, false) + z.DecFallback(yyv924, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv873 := &x.Items - yym874 := z.DecBinary() - _ = yym874 + yyv926 := &x.Items + yym927 := z.DecBinary() + _ = yym927 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv873), d) + h.decSliceIngress((*[]Ingress)(yyv926), d) } } default: - z.DecStructFieldNotFound(-1, yys868) - } // end switch yys868 - } // end for yyj868 + z.DecStructFieldNotFound(-1, yys921) + } // end switch yys921 + } // end for yyj921 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10231,16 +10573,16 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj875 int - var yyb875 bool - var yyhl875 bool = l >= 0 - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + var yyj928 int + var yyb928 bool + var yyhl928 bool = l >= 0 + yyj928++ + if yyhl928 { + yyb928 = yyj928 > l } else { - yyb875 = r.CheckBreak() + yyb928 = r.CheckBreak() } - if yyb875 { + if yyb928 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10250,13 +10592,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + yyj928++ + if yyhl928 { + yyb928 = yyj928 > l } else { - yyb875 = r.CheckBreak() + yyb928 = r.CheckBreak() } - if yyb875 { + if yyb928 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10266,13 +10608,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + yyj928++ + if yyhl928 { + yyb928 = yyj928 > l } else { - yyb875 = r.CheckBreak() + yyb928 = r.CheckBreak() } - if yyb875 { + if yyb928 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10280,22 +10622,22 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv878 := &x.ListMeta - yym879 := z.DecBinary() - _ = yym879 + yyv931 := &x.ListMeta + yym932 := z.DecBinary() + _ = yym932 if false { - } else if z.HasExtensions() && z.DecExt(yyv878) { + } else if z.HasExtensions() && z.DecExt(yyv931) { } else { - z.DecFallback(yyv878, false) + z.DecFallback(yyv931, false) } } - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + yyj928++ + if yyhl928 { + yyb928 = yyj928 > l } else { - yyb875 = r.CheckBreak() + yyb928 = r.CheckBreak() } - if yyb875 { + if yyb928 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10303,26 +10645,26 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv880 := &x.Items - yym881 := z.DecBinary() - _ = yym881 + yyv933 := &x.Items + yym934 := z.DecBinary() + _ = yym934 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv880), d) + h.decSliceIngress((*[]Ingress)(yyv933), d) } } for { - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + yyj928++ + if yyhl928 { + yyb928 = yyj928 > l } else { - yyb875 = r.CheckBreak() + yyb928 = r.CheckBreak() } - if yyb875 { + if yyb928 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj875-1, "") + z.DecStructFieldNotFound(yyj928-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10334,34 +10676,34 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym882 := z.EncBinary() - _ = yym882 + yym935 := z.EncBinary() + _ = yym935 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep883 := !z.EncBinary() - yy2arr883 := z.EncBasicHandle().StructToArray - var yyq883 [2]bool - _, _, _ = yysep883, yyq883, yy2arr883 - const yyr883 bool = false - yyq883[0] = x.Backend != nil - yyq883[1] = len(x.Rules) != 0 - var yynn883 int - if yyr883 || yy2arr883 { + yysep936 := !z.EncBinary() + yy2arr936 := z.EncBasicHandle().StructToArray + var yyq936 [2]bool + _, _, _ = yysep936, yyq936, yy2arr936 + const yyr936 bool = false + yyq936[0] = x.Backend != nil + yyq936[1] = len(x.Rules) != 0 + var yynn936 int + if yyr936 || yy2arr936 { r.EncodeArrayStart(2) } else { - yynn883 = 0 - for _, b := range yyq883 { + yynn936 = 0 + for _, b := range yyq936 { if b { - yynn883++ + yynn936++ } } - r.EncodeMapStart(yynn883) - yynn883 = 0 + r.EncodeMapStart(yynn936) + yynn936 = 0 } - if yyr883 || yy2arr883 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq883[0] { + if yyq936[0] { if x.Backend == nil { r.EncodeNil() } else { @@ -10371,7 +10713,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq883[0] { + if yyq936[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -10382,14 +10724,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr883 || yy2arr883 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq883[1] { + if yyq936[1] { if x.Rules == nil { r.EncodeNil() } else { - yym886 := z.EncBinary() - _ = yym886 + yym939 := z.EncBinary() + _ = yym939 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -10399,15 +10741,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq883[1] { + if yyq936[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rules")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Rules == nil { r.EncodeNil() } else { - yym887 := z.EncBinary() - _ = yym887 + yym940 := z.EncBinary() + _ = yym940 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -10415,7 +10757,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr883 || yy2arr883 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10428,25 +10770,25 @@ func (x *IngressSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym888 := z.DecBinary() - _ = yym888 + yym941 := z.DecBinary() + _ = yym941 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct889 := r.ContainerType() - if yyct889 == codecSelferValueTypeMap1234 { - yyl889 := r.ReadMapStart() - if yyl889 == 0 { + yyct942 := r.ContainerType() + if yyct942 == codecSelferValueTypeMap1234 { + yyl942 := r.ReadMapStart() + if yyl942 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl889, d) + x.codecDecodeSelfFromMap(yyl942, d) } - } else if yyct889 == codecSelferValueTypeArray1234 { - yyl889 := r.ReadArrayStart() - if yyl889 == 0 { + } else if yyct942 == codecSelferValueTypeArray1234 { + yyl942 := r.ReadArrayStart() + if yyl942 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl889, d) + x.codecDecodeSelfFromArray(yyl942, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10458,12 +10800,12 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys890Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys890Slc - var yyhl890 bool = l >= 0 - for yyj890 := 0; ; yyj890++ { - if yyhl890 { - if yyj890 >= l { + var yys943Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys943Slc + var yyhl943 bool = l >= 0 + for yyj943 := 0; ; yyj943++ { + if yyhl943 { + if yyj943 >= l { break } } else { @@ -10472,10 +10814,10 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys890Slc = r.DecodeBytes(yys890Slc, true, true) - yys890 := string(yys890Slc) + yys943Slc = r.DecodeBytes(yys943Slc, true, true) + yys943 := string(yys943Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys890 { + switch yys943 { case "backend": if r.TryDecodeAsNil() { if x.Backend != nil { @@ -10491,18 +10833,18 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv892 := &x.Rules - yym893 := z.DecBinary() - _ = yym893 + yyv945 := &x.Rules + yym946 := z.DecBinary() + _ = yym946 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv892), d) + h.decSliceIngressRule((*[]IngressRule)(yyv945), d) } } default: - z.DecStructFieldNotFound(-1, yys890) - } // end switch yys890 - } // end for yyj890 + z.DecStructFieldNotFound(-1, yys943) + } // end switch yys943 + } // end for yyj943 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10510,16 +10852,16 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj894 int - var yyb894 bool - var yyhl894 bool = l >= 0 - yyj894++ - if yyhl894 { - yyb894 = yyj894 > l + var yyj947 int + var yyb947 bool + var yyhl947 bool = l >= 0 + yyj947++ + if yyhl947 { + yyb947 = yyj947 > l } else { - yyb894 = r.CheckBreak() + yyb947 = r.CheckBreak() } - if yyb894 { + if yyb947 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10534,13 +10876,13 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Backend.CodecDecodeSelf(d) } - yyj894++ - if yyhl894 { - yyb894 = yyj894 > l + yyj947++ + if yyhl947 { + yyb947 = yyj947 > l } else { - yyb894 = r.CheckBreak() + yyb947 = r.CheckBreak() } - if yyb894 { + if yyb947 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10548,26 +10890,26 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv896 := &x.Rules - yym897 := z.DecBinary() - _ = yym897 + yyv949 := &x.Rules + yym950 := z.DecBinary() + _ = yym950 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv896), d) + h.decSliceIngressRule((*[]IngressRule)(yyv949), d) } } for { - yyj894++ - if yyhl894 { - yyb894 = yyj894 > l + yyj947++ + if yyhl947 { + yyb947 = yyj947 > l } else { - yyb894 = r.CheckBreak() + yyb947 = r.CheckBreak() } - if yyb894 { + if yyb947 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj894-1, "") + z.DecStructFieldNotFound(yyj947-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10579,48 +10921,60 @@ func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym898 := z.EncBinary() - _ = yym898 + yym951 := z.EncBinary() + _ = yym951 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep899 := !z.EncBinary() - yy2arr899 := z.EncBasicHandle().StructToArray - var yyq899 [1]bool - _, _, _ = yysep899, yyq899, yy2arr899 - const yyr899 bool = false - yyq899[0] = true - var yynn899 int - if yyr899 || yy2arr899 { + yysep952 := !z.EncBinary() + yy2arr952 := z.EncBasicHandle().StructToArray + var yyq952 [1]bool + _, _, _ = yysep952, yyq952, yy2arr952 + const yyr952 bool = false + yyq952[0] = true + var yynn952 int + if yyr952 || yy2arr952 { r.EncodeArrayStart(1) } else { - yynn899 = 0 - for _, b := range yyq899 { + yynn952 = 0 + for _, b := range yyq952 { if b { - yynn899++ + yynn952++ } } - r.EncodeMapStart(yynn899) - yynn899 = 0 + r.EncodeMapStart(yynn952) + yynn952 = 0 } - if yyr899 || yy2arr899 { + if yyr952 || yy2arr952 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq899[0] { - yy901 := &x.LoadBalancer - yy901.CodecEncodeSelf(e) + if yyq952[0] { + yy954 := &x.LoadBalancer + yym955 := z.EncBinary() + _ = yym955 + if false { + } else if z.HasExtensions() && z.EncExt(yy954) { + } else { + z.EncFallback(yy954) + } } else { r.EncodeNil() } } else { - if yyq899[0] { + if yyq952[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy902 := &x.LoadBalancer - yy902.CodecEncodeSelf(e) + yy956 := &x.LoadBalancer + yym957 := z.EncBinary() + _ = yym957 + if false { + } else if z.HasExtensions() && z.EncExt(yy956) { + } else { + z.EncFallback(yy956) + } } } - if yyr899 || yy2arr899 { + if yyr952 || yy2arr952 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10633,25 +10987,25 @@ func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym903 := z.DecBinary() - _ = yym903 + yym958 := z.DecBinary() + _ = yym958 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct904 := r.ContainerType() - if yyct904 == codecSelferValueTypeMap1234 { - yyl904 := r.ReadMapStart() - if yyl904 == 0 { + yyct959 := r.ContainerType() + if yyct959 == codecSelferValueTypeMap1234 { + yyl959 := r.ReadMapStart() + if yyl959 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl904, d) + x.codecDecodeSelfFromMap(yyl959, d) } - } else if yyct904 == codecSelferValueTypeArray1234 { - yyl904 := r.ReadArrayStart() - if yyl904 == 0 { + } else if yyct959 == codecSelferValueTypeArray1234 { + yyl959 := r.ReadArrayStart() + if yyl959 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl904, d) + x.codecDecodeSelfFromArray(yyl959, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10663,12 +11017,12 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys905Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys905Slc - var yyhl905 bool = l >= 0 - for yyj905 := 0; ; yyj905++ { - if yyhl905 { - if yyj905 >= l { + var yys960Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys960Slc + var yyhl960 bool = l >= 0 + for yyj960 := 0; ; yyj960++ { + if yyhl960 { + if yyj960 >= l { break } } else { @@ -10677,21 +11031,27 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys905Slc = r.DecodeBytes(yys905Slc, true, true) - yys905 := string(yys905Slc) + yys960Slc = r.DecodeBytes(yys960Slc, true, true) + yys960 := string(yys960Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys905 { + switch yys960 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_api.LoadBalancerStatus{} } else { - yyv906 := &x.LoadBalancer - yyv906.CodecDecodeSelf(d) + yyv961 := &x.LoadBalancer + yym962 := z.DecBinary() + _ = yym962 + if false { + } else if z.HasExtensions() && z.DecExt(yyv961) { + } else { + z.DecFallback(yyv961, false) + } } default: - z.DecStructFieldNotFound(-1, yys905) - } // end switch yys905 - } // end for yyj905 + z.DecStructFieldNotFound(-1, yys960) + } // end switch yys960 + } // end for yyj960 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10699,16 +11059,16 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj907 int - var yyb907 bool - var yyhl907 bool = l >= 0 - yyj907++ - if yyhl907 { - yyb907 = yyj907 > l + var yyj963 int + var yyb963 bool + var yyhl963 bool = l >= 0 + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l } else { - yyb907 = r.CheckBreak() + yyb963 = r.CheckBreak() } - if yyb907 { + if yyb963 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10716,21 +11076,27 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_api.LoadBalancerStatus{} } else { - yyv908 := &x.LoadBalancer - yyv908.CodecDecodeSelf(d) + yyv964 := &x.LoadBalancer + yym965 := z.DecBinary() + _ = yym965 + if false { + } else if z.HasExtensions() && z.DecExt(yyv964) { + } else { + z.DecFallback(yyv964, false) + } } for { - yyj907++ - if yyhl907 { - yyb907 = yyj907 > l + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l } else { - yyb907 = r.CheckBreak() + yyb963 = r.CheckBreak() } - if yyb907 { + if yyb963 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj907-1, "") + z.DecStructFieldNotFound(yyj963-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10742,36 +11108,36 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym909 := z.EncBinary() - _ = yym909 + yym966 := z.EncBinary() + _ = yym966 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep910 := !z.EncBinary() - yy2arr910 := z.EncBasicHandle().StructToArray - var yyq910 [2]bool - _, _, _ = yysep910, yyq910, yy2arr910 - const yyr910 bool = false - yyq910[0] = x.Host != "" - yyq910[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil - var yynn910 int - if yyr910 || yy2arr910 { + yysep967 := !z.EncBinary() + yy2arr967 := z.EncBasicHandle().StructToArray + var yyq967 [2]bool + _, _, _ = yysep967, yyq967, yy2arr967 + const yyr967 bool = false + yyq967[0] = x.Host != "" + yyq967[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil + var yynn967 int + if yyr967 || yy2arr967 { r.EncodeArrayStart(2) } else { - yynn910 = 0 - for _, b := range yyq910 { + yynn967 = 0 + for _, b := range yyq967 { if b { - yynn910++ + yynn967++ } } - r.EncodeMapStart(yynn910) - yynn910 = 0 + r.EncodeMapStart(yynn967) + yynn967 = 0 } - if yyr910 || yy2arr910 { + if yyr967 || yy2arr967 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq910[0] { - yym912 := z.EncBinary() - _ = yym912 + if yyq967[0] { + yym969 := z.EncBinary() + _ = yym969 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -10780,30 +11146,30 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq910[0] { + if yyq967[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym913 := z.EncBinary() - _ = yym913 + yym970 := z.EncBinary() + _ = yym970 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - var yyn914 bool + var yyn971 bool if x.IngressRuleValue.HTTP == nil { - yyn914 = true - goto LABEL914 + yyn971 = true + goto LABEL971 } - LABEL914: - if yyr910 || yy2arr910 { - if yyn914 { + LABEL971: + if yyr967 || yy2arr967 { + if yyn971 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq910[1] { + if yyq967[1] { if x.HTTP == nil { r.EncodeNil() } else { @@ -10814,11 +11180,11 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq910[1] { + if yyq967[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn914 { + if yyn971 { r.EncodeNil() } else { if x.HTTP == nil { @@ -10829,7 +11195,7 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr910 || yy2arr910 { + if yyr967 || yy2arr967 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10842,25 +11208,25 @@ func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym915 := z.DecBinary() - _ = yym915 + yym972 := z.DecBinary() + _ = yym972 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct916 := r.ContainerType() - if yyct916 == codecSelferValueTypeMap1234 { - yyl916 := r.ReadMapStart() - if yyl916 == 0 { + yyct973 := r.ContainerType() + if yyct973 == codecSelferValueTypeMap1234 { + yyl973 := r.ReadMapStart() + if yyl973 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl916, d) + x.codecDecodeSelfFromMap(yyl973, d) } - } else if yyct916 == codecSelferValueTypeArray1234 { - yyl916 := r.ReadArrayStart() - if yyl916 == 0 { + } else if yyct973 == codecSelferValueTypeArray1234 { + yyl973 := r.ReadArrayStart() + if yyl973 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl916, d) + x.codecDecodeSelfFromArray(yyl973, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10872,12 +11238,12 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys917Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys917Slc - var yyhl917 bool = l >= 0 - for yyj917 := 0; ; yyj917++ { - if yyhl917 { - if yyj917 >= l { + var yys974Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys974Slc + var yyhl974 bool = l >= 0 + for yyj974 := 0; ; yyj974++ { + if yyhl974 { + if yyj974 >= l { break } } else { @@ -10886,10 +11252,10 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys917Slc = r.DecodeBytes(yys917Slc, true, true) - yys917 := string(yys917Slc) + yys974Slc = r.DecodeBytes(yys974Slc, true, true) + yys974 := string(yys974Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys917 { + switch yys974 { case "host": if r.TryDecodeAsNil() { x.Host = "" @@ -10911,804 +11277,13 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys917) - } // end switch yys917 - } // end for yyj917 + z.DecStructFieldNotFound(-1, yys974) + } // end switch yys974 + } // end for yyj974 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj920 int - var yyb920 bool - var yyhl920 bool = l >= 0 - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l - } else { - yyb920 = r.CheckBreak() - } - if yyb920 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Host = "" - } else { - x.Host = string(r.DecodeString()) - } - if x.IngressRuleValue.HTTP == nil { - x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) - } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l - } else { - yyb920 = r.CheckBreak() - } - if yyb920 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } - } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) - } - x.HTTP.CodecDecodeSelf(d) - } - for { - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l - } else { - yyb920 = r.CheckBreak() - } - if yyb920 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj920-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym923 := z.EncBinary() - _ = yym923 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep924 := !z.EncBinary() - yy2arr924 := z.EncBasicHandle().StructToArray - var yyq924 [1]bool - _, _, _ = yysep924, yyq924, yy2arr924 - const yyr924 bool = false - yyq924[0] = x.HTTP != nil - var yynn924 int - if yyr924 || yy2arr924 { - r.EncodeArrayStart(1) - } else { - yynn924 = 0 - for _, b := range yyq924 { - if b { - yynn924++ - } - } - r.EncodeMapStart(yynn924) - yynn924 = 0 - } - if yyr924 || yy2arr924 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq924[0] { - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq924[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("http")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } - } - if yyr924 || yy2arr924 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym926 := z.DecBinary() - _ = yym926 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct927 := r.ContainerType() - if yyct927 == codecSelferValueTypeMap1234 { - yyl927 := r.ReadMapStart() - if yyl927 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl927, d) - } - } else if yyct927 == codecSelferValueTypeArray1234 { - yyl927 := r.ReadArrayStart() - if yyl927 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl927, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys928Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys928Slc - var yyhl928 bool = l >= 0 - for yyj928 := 0; ; yyj928++ { - if yyhl928 { - if yyj928 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys928Slc = r.DecodeBytes(yys928Slc, true, true) - yys928 := string(yys928Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys928 { - case "http": - if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } - } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) - } - x.HTTP.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys928) - } // end switch yys928 - } // end for yyj928 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj930 int - var yyb930 bool - var yyhl930 bool = l >= 0 - yyj930++ - if yyhl930 { - yyb930 = yyj930 > l - } else { - yyb930 = r.CheckBreak() - } - if yyb930 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } - } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) - } - x.HTTP.CodecDecodeSelf(d) - } - for { - yyj930++ - if yyhl930 { - yyb930 = yyj930 > l - } else { - yyb930 = r.CheckBreak() - } - if yyb930 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj930-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym932 := z.EncBinary() - _ = yym932 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep933 := !z.EncBinary() - yy2arr933 := z.EncBasicHandle().StructToArray - var yyq933 [1]bool - _, _, _ = yysep933, yyq933, yy2arr933 - const yyr933 bool = false - var yynn933 int - if yyr933 || yy2arr933 { - r.EncodeArrayStart(1) - } else { - yynn933 = 1 - for _, b := range yyq933 { - if b { - yynn933++ - } - } - r.EncodeMapStart(yynn933) - yynn933 = 0 - } - if yyr933 || yy2arr933 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Paths == nil { - r.EncodeNil() - } else { - yym935 := z.EncBinary() - _ = yym935 - if false { - } else { - h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("paths")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Paths == nil { - r.EncodeNil() - } else { - yym936 := z.EncBinary() - _ = yym936 - if false { - } else { - h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) - } - } - } - if yyr933 || yy2arr933 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym937 := z.DecBinary() - _ = yym937 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct938 := r.ContainerType() - if yyct938 == codecSelferValueTypeMap1234 { - yyl938 := r.ReadMapStart() - if yyl938 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl938, d) - } - } else if yyct938 == codecSelferValueTypeArray1234 { - yyl938 := r.ReadArrayStart() - if yyl938 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl938, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys939Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys939Slc - var yyhl939 bool = l >= 0 - for yyj939 := 0; ; yyj939++ { - if yyhl939 { - if yyj939 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys939Slc = r.DecodeBytes(yys939Slc, true, true) - yys939 := string(yys939Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys939 { - case "paths": - if r.TryDecodeAsNil() { - x.Paths = nil - } else { - yyv940 := &x.Paths - yym941 := z.DecBinary() - _ = yym941 - if false { - } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv940), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys939) - } // end switch yys939 - } // end for yyj939 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj942 int - var yyb942 bool - var yyhl942 bool = l >= 0 - yyj942++ - if yyhl942 { - yyb942 = yyj942 > l - } else { - yyb942 = r.CheckBreak() - } - if yyb942 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Paths = nil - } else { - yyv943 := &x.Paths - yym944 := z.DecBinary() - _ = yym944 - if false { - } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv943), d) - } - } - for { - yyj942++ - if yyhl942 { - yyb942 = yyj942 > l - } else { - yyb942 = r.CheckBreak() - } - if yyb942 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj942-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym945 := z.EncBinary() - _ = yym945 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep946 := !z.EncBinary() - yy2arr946 := z.EncBasicHandle().StructToArray - var yyq946 [2]bool - _, _, _ = yysep946, yyq946, yy2arr946 - const yyr946 bool = false - yyq946[0] = x.Path != "" - var yynn946 int - if yyr946 || yy2arr946 { - r.EncodeArrayStart(2) - } else { - yynn946 = 1 - for _, b := range yyq946 { - if b { - yynn946++ - } - } - r.EncodeMapStart(yynn946) - yynn946 = 0 - } - if yyr946 || yy2arr946 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq946[0] { - yym948 := z.EncBinary() - _ = yym948 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq946[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("path")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym949 := z.EncBinary() - _ = yym949 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } - } - if yyr946 || yy2arr946 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy951 := &x.Backend - yy951.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("backend")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy952 := &x.Backend - yy952.CodecEncodeSelf(e) - } - if yyr946 || yy2arr946 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym953 := z.DecBinary() - _ = yym953 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct954 := r.ContainerType() - if yyct954 == codecSelferValueTypeMap1234 { - yyl954 := r.ReadMapStart() - if yyl954 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl954, d) - } - } else if yyct954 == codecSelferValueTypeArray1234 { - yyl954 := r.ReadArrayStart() - if yyl954 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl954, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys955Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys955Slc - var yyhl955 bool = l >= 0 - for yyj955 := 0; ; yyj955++ { - if yyhl955 { - if yyj955 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys955Slc = r.DecodeBytes(yys955Slc, true, true) - yys955 := string(yys955Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys955 { - case "path": - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - case "backend": - if r.TryDecodeAsNil() { - x.Backend = IngressBackend{} - } else { - yyv957 := &x.Backend - yyv957.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys955) - } // end switch yys955 - } // end for yyj955 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj958 int - var yyb958 bool - var yyhl958 bool = l >= 0 - yyj958++ - if yyhl958 { - yyb958 = yyj958 > l - } else { - yyb958 = r.CheckBreak() - } - if yyb958 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - yyj958++ - if yyhl958 { - yyb958 = yyj958 > l - } else { - yyb958 = r.CheckBreak() - } - if yyb958 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Backend = IngressBackend{} - } else { - yyv960 := &x.Backend - yyv960.CodecDecodeSelf(d) - } - for { - yyj958++ - if yyhl958 { - yyb958 = yyj958 > l - } else { - yyb958 = r.CheckBreak() - } - if yyb958 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj958-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym961 := z.EncBinary() - _ = yym961 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep962 := !z.EncBinary() - yy2arr962 := z.EncBasicHandle().StructToArray - var yyq962 [2]bool - _, _, _ = yysep962, yyq962, yy2arr962 - const yyr962 bool = false - var yynn962 int - if yyr962 || yy2arr962 { - r.EncodeArrayStart(2) - } else { - yynn962 = 2 - for _, b := range yyq962 { - if b { - yynn962++ - } - } - r.EncodeMapStart(yynn962) - yynn962 = 0 - } - if yyr962 || yy2arr962 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym964 := z.EncBinary() - _ = yym964 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("serviceName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym965 := z.EncBinary() - _ = yym965 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) - } - } - if yyr962 || yy2arr962 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy967 := &x.ServicePort - yym968 := z.EncBinary() - _ = yym968 - if false { - } else if z.HasExtensions() && z.EncExt(yy967) { - } else if !yym968 && z.IsJSONHandle() { - z.EncJSONMarshal(yy967) - } else { - z.EncFallback(yy967) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("servicePort")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy969 := &x.ServicePort - yym970 := z.EncBinary() - _ = yym970 - if false { - } else if z.HasExtensions() && z.EncExt(yy969) { - } else if !yym970 && z.IsJSONHandle() { - z.EncJSONMarshal(yy969) - } else { - z.EncFallback(yy969) - } - } - if yyr962 || yy2arr962 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym971 := z.DecBinary() - _ = yym971 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct972 := r.ContainerType() - if yyct972 == codecSelferValueTypeMap1234 { - yyl972 := r.ReadMapStart() - if yyl972 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl972, d) - } - } else if yyct972 == codecSelferValueTypeArray1234 { - yyl972 := r.ReadArrayStart() - if yyl972 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl972, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys973Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys973Slc - var yyhl973 bool = l >= 0 - for yyj973 := 0; ; yyj973++ { - if yyhl973 { - if yyj973 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys973Slc = r.DecodeBytes(yys973Slc, true, true) - yys973 := string(yys973Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys973 { - case "serviceName": - if r.TryDecodeAsNil() { - x.ServiceName = "" - } else { - x.ServiceName = string(r.DecodeString()) - } - case "servicePort": - if r.TryDecodeAsNil() { - x.ServicePort = pkg6_intstr.IntOrString{} - } else { - yyv975 := &x.ServicePort - yym976 := z.DecBinary() - _ = yym976 - if false { - } else if z.HasExtensions() && z.DecExt(yyv975) { - } else if !yym976 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv975) - } else { - z.DecFallback(yyv975, false) - } - } - default: - z.DecStructFieldNotFound(-1, yys973) - } // end switch yys973 - } // end for yyj973 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -11727,9 +11302,12 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ServiceName = "" + x.Host = "" } else { - x.ServiceName = string(r.DecodeString()) + x.Host = string(r.DecodeString()) + } + if x.IngressRuleValue.HTTP == nil { + x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) } yyj977++ if yyhl977 { @@ -11743,18 +11321,14 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ServicePort = pkg6_intstr.IntOrString{} - } else { - yyv979 := &x.ServicePort - yym980 := z.DecBinary() - _ = yym980 - if false { - } else if z.HasExtensions() && z.DecExt(yyv979) { - } else if !yym980 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv979) - } else { - z.DecFallback(yyv979, false) + if x.HTTP != nil { + x.HTTP = nil } + } else { + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) } for { yyj977++ @@ -11772,91 +11346,61 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x NodeResource) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym981 := z.EncBinary() - _ = yym981 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *NodeResource) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym982 := z.DecBinary() - _ = yym982 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *NodeUtilization) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym983 := z.EncBinary() - _ = yym983 + yym980 := z.EncBinary() + _ = yym980 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep984 := !z.EncBinary() - yy2arr984 := z.EncBasicHandle().StructToArray - var yyq984 [2]bool - _, _, _ = yysep984, yyq984, yy2arr984 - const yyr984 bool = false - var yynn984 int - if yyr984 || yy2arr984 { - r.EncodeArrayStart(2) + yysep981 := !z.EncBinary() + yy2arr981 := z.EncBasicHandle().StructToArray + var yyq981 [1]bool + _, _, _ = yysep981, yyq981, yy2arr981 + const yyr981 bool = false + yyq981[0] = x.HTTP != nil + var yynn981 int + if yyr981 || yy2arr981 { + r.EncodeArrayStart(1) } else { - yynn984 = 2 - for _, b := range yyq984 { + yynn981 = 0 + for _, b := range yyq981 { if b { - yynn984++ + yynn981++ } } - r.EncodeMapStart(yynn984) - yynn984 = 0 + r.EncodeMapStart(yynn981) + yynn981 = 0 } - if yyr984 || yy2arr984 { + if yyr981 || yy2arr981 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Resource.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resource")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Resource.CodecEncodeSelf(e) - } - if yyr984 || yy2arr984 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym987 := z.EncBinary() - _ = yym987 - if false { + if yyq981[0] { + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } } else { - r.EncodeFloat64(float64(x.Value)) + r.EncodeNil() } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("value")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym988 := z.EncBinary() - _ = yym988 - if false { - } else { - r.EncodeFloat64(float64(x.Value)) + if yyq981[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("http")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } } } - if yyr984 || yy2arr984 { + if yyr981 || yy2arr981 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11865,29 +11409,29 @@ func (x *NodeUtilization) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *NodeUtilization) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym989 := z.DecBinary() - _ = yym989 + yym983 := z.DecBinary() + _ = yym983 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct990 := r.ContainerType() - if yyct990 == codecSelferValueTypeMap1234 { - yyl990 := r.ReadMapStart() - if yyl990 == 0 { + yyct984 := r.ContainerType() + if yyct984 == codecSelferValueTypeMap1234 { + yyl984 := r.ReadMapStart() + if yyl984 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl990, d) + x.codecDecodeSelfFromMap(yyl984, d) } - } else if yyct990 == codecSelferValueTypeArray1234 { - yyl990 := r.ReadArrayStart() - if yyl990 == 0 { + } else if yyct984 == codecSelferValueTypeArray1234 { + yyl984 := r.ReadArrayStart() + if yyl984 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl990, d) + x.codecDecodeSelfFromArray(yyl984, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11895,16 +11439,16 @@ func (x *NodeUtilization) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *NodeUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys991Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys991Slc - var yyhl991 bool = l >= 0 - for yyj991 := 0; ; yyj991++ { - if yyhl991 { - if yyj991 >= l { + var yys985Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys985Slc + var yyhl985 bool = l >= 0 + for yyj985 := 0; ; yyj985++ { + if yyhl985 { + if yyj985 >= l { break } } else { @@ -11913,180 +11457,130 @@ func (x *NodeUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys991Slc = r.DecodeBytes(yys991Slc, true, true) - yys991 := string(yys991Slc) + yys985Slc = r.DecodeBytes(yys985Slc, true, true) + yys985 := string(yys985Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys991 { - case "resource": + switch yys985 { + case "http": if r.TryDecodeAsNil() { - x.Resource = "" + if x.HTTP != nil { + x.HTTP = nil + } } else { - x.Resource = NodeResource(r.DecodeString()) - } - case "value": - if r.TryDecodeAsNil() { - x.Value = 0 - } else { - x.Value = float64(r.DecodeFloat(false)) + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys991) - } // end switch yys991 - } // end for yyj991 + z.DecStructFieldNotFound(-1, yys985) + } // end switch yys985 + } // end for yyj985 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *NodeUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj994 int - var yyb994 bool - var yyhl994 bool = l >= 0 - yyj994++ - if yyhl994 { - yyb994 = yyj994 > l + var yyj987 int + var yyb987 bool + var yyhl987 bool = l >= 0 + yyj987++ + if yyhl987 { + yyb987 = yyj987 > l } else { - yyb994 = r.CheckBreak() + yyb987 = r.CheckBreak() } - if yyb994 { + if yyb987 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Resource = "" + if x.HTTP != nil { + x.HTTP = nil + } } else { - x.Resource = NodeResource(r.DecodeString()) - } - yyj994++ - if yyhl994 { - yyb994 = yyj994 > l - } else { - yyb994 = r.CheckBreak() - } - if yyb994 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Value = 0 - } else { - x.Value = float64(r.DecodeFloat(false)) + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) } for { - yyj994++ - if yyhl994 { - yyb994 = yyj994 > l + yyj987++ + if yyhl987 { + yyb987 = yyj987 > l } else { - yyb994 = r.CheckBreak() + yyb987 = r.CheckBreak() } - if yyb994 { + if yyb987 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj994-1, "") + z.DecStructFieldNotFound(yyj987-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ClusterAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym997 := z.EncBinary() - _ = yym997 + yym989 := z.EncBinary() + _ = yym989 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep998 := !z.EncBinary() - yy2arr998 := z.EncBasicHandle().StructToArray - var yyq998 [3]bool - _, _, _ = yysep998, yyq998, yy2arr998 - const yyr998 bool = false - var yynn998 int - if yyr998 || yy2arr998 { - r.EncodeArrayStart(3) + yysep990 := !z.EncBinary() + yy2arr990 := z.EncBasicHandle().StructToArray + var yyq990 [1]bool + _, _, _ = yysep990, yyq990, yy2arr990 + const yyr990 bool = false + var yynn990 int + if yyr990 || yy2arr990 { + r.EncodeArrayStart(1) } else { - yynn998 = 3 - for _, b := range yyq998 { + yynn990 = 1 + for _, b := range yyq990 { if b { - yynn998++ + yynn990++ } } - r.EncodeMapStart(yynn998) - yynn998 = 0 + r.EncodeMapStart(yynn990) + yynn990 = 0 } - if yyr998 || yy2arr998 { + if yyr990 || yy2arr990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1000 := z.EncBinary() - _ = yym1000 - if false { - } else { - r.EncodeInt(int64(x.MinNodes)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("minNodes")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1001 := z.EncBinary() - _ = yym1001 - if false { - } else { - r.EncodeInt(int64(x.MinNodes)) - } - } - if yyr998 || yy2arr998 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1003 := z.EncBinary() - _ = yym1003 - if false { - } else { - r.EncodeInt(int64(x.MaxNodes)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxNodes")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1004 := z.EncBinary() - _ = yym1004 - if false { - } else { - r.EncodeInt(int64(x.MaxNodes)) - } - } - if yyr998 || yy2arr998 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.TargetUtilization == nil { + if x.Paths == nil { r.EncodeNil() } else { - yym1006 := z.EncBinary() - _ = yym1006 + yym992 := z.EncBinary() + _ = yym992 if false { } else { - h.encSliceNodeUtilization(([]NodeUtilization)(x.TargetUtilization), e) + h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) } } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("target")) + r.EncodeString(codecSelferC_UTF81234, string("paths")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.TargetUtilization == nil { + if x.Paths == nil { r.EncodeNil() } else { - yym1007 := z.EncBinary() - _ = yym1007 + yym993 := z.EncBinary() + _ = yym993 if false { } else { - h.encSliceNodeUtilization(([]NodeUtilization)(x.TargetUtilization), e) + h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) } } } - if yyr998 || yy2arr998 { + if yyr990 || yy2arr990 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12095,29 +11589,29 @@ func (x *ClusterAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ClusterAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1008 := z.DecBinary() - _ = yym1008 + yym994 := z.DecBinary() + _ = yym994 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1009 := r.ContainerType() - if yyct1009 == codecSelferValueTypeMap1234 { - yyl1009 := r.ReadMapStart() - if yyl1009 == 0 { + yyct995 := r.ContainerType() + if yyct995 == codecSelferValueTypeMap1234 { + yyl995 := r.ReadMapStart() + if yyl995 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1009, d) + x.codecDecodeSelfFromMap(yyl995, d) } - } else if yyct1009 == codecSelferValueTypeArray1234 { - yyl1009 := r.ReadArrayStart() - if yyl1009 == 0 { + } else if yyct995 == codecSelferValueTypeArray1234 { + yyl995 := r.ReadArrayStart() + if yyl995 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1009, d) + x.codecDecodeSelfFromArray(yyl995, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12125,16 +11619,16 @@ func (x *ClusterAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ClusterAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1010Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1010Slc - var yyhl1010 bool = l >= 0 - for yyj1010 := 0; ; yyj1010++ { - if yyhl1010 { - if yyj1010 >= l { + var yys996Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys996Slc + var yyhl996 bool = l >= 0 + for yyj996 := 0; ; yyj996++ { + if yyhl996 { + if yyj996 >= l { break } } else { @@ -12143,42 +11637,223 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1010Slc = r.DecodeBytes(yys1010Slc, true, true) - yys1010 := string(yys1010Slc) + yys996Slc = r.DecodeBytes(yys996Slc, true, true) + yys996 := string(yys996Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1010 { - case "minNodes": + switch yys996 { + case "paths": if r.TryDecodeAsNil() { - x.MinNodes = 0 + x.Paths = nil } else { - x.MinNodes = int(r.DecodeInt(codecSelferBitsize1234)) - } - case "maxNodes": - if r.TryDecodeAsNil() { - x.MaxNodes = 0 - } else { - x.MaxNodes = int(r.DecodeInt(codecSelferBitsize1234)) - } - case "target": - if r.TryDecodeAsNil() { - x.TargetUtilization = nil - } else { - yyv1013 := &x.TargetUtilization - yym1014 := z.DecBinary() - _ = yym1014 + yyv997 := &x.Paths + yym998 := z.DecBinary() + _ = yym998 if false { } else { - h.decSliceNodeUtilization((*[]NodeUtilization)(yyv1013), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv997), d) } } default: - z.DecStructFieldNotFound(-1, yys1010) - } // end switch yys1010 - } // end for yyj1010 + z.DecStructFieldNotFound(-1, yys996) + } // end switch yys996 + } // end for yyj996 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj999 int + var yyb999 bool + var yyhl999 bool = l >= 0 + yyj999++ + if yyhl999 { + yyb999 = yyj999 > l + } else { + yyb999 = r.CheckBreak() + } + if yyb999 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Paths = nil + } else { + yyv1000 := &x.Paths + yym1001 := z.DecBinary() + _ = yym1001 + if false { + } else { + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1000), d) + } + } + for { + yyj999++ + if yyhl999 { + yyb999 = yyj999 > l + } else { + yyb999 = r.CheckBreak() + } + if yyb999 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj999-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1002 := z.EncBinary() + _ = yym1002 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1003 := !z.EncBinary() + yy2arr1003 := z.EncBasicHandle().StructToArray + var yyq1003 [2]bool + _, _, _ = yysep1003, yyq1003, yy2arr1003 + const yyr1003 bool = false + yyq1003[0] = x.Path != "" + var yynn1003 int + if yyr1003 || yy2arr1003 { + r.EncodeArrayStart(2) + } else { + yynn1003 = 1 + for _, b := range yyq1003 { + if b { + yynn1003++ + } + } + r.EncodeMapStart(yynn1003) + yynn1003 = 0 + } + if yyr1003 || yy2arr1003 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1003[0] { + yym1005 := z.EncBinary() + _ = yym1005 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1003[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("path")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1006 := z.EncBinary() + _ = yym1006 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } + } + if yyr1003 || yy2arr1003 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1008 := &x.Backend + yy1008.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("backend")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1009 := &x.Backend + yy1009.CodecEncodeSelf(e) + } + if yyr1003 || yy2arr1003 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1010 := z.DecBinary() + _ = yym1010 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1011 := r.ContainerType() + if yyct1011 == codecSelferValueTypeMap1234 { + yyl1011 := r.ReadMapStart() + if yyl1011 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1011, d) + } + } else if yyct1011 == codecSelferValueTypeArray1234 { + yyl1011 := r.ReadArrayStart() + if yyl1011 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1011, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1012Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1012Slc + var yyhl1012 bool = l >= 0 + for yyj1012 := 0; ; yyj1012++ { + if yyhl1012 { + if yyj1012 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1012Slc = r.DecodeBytes(yys1012Slc, true, true) + yys1012 := string(yys1012Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1012 { + case "path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + case "backend": + if r.TryDecodeAsNil() { + x.Backend = IngressBackend{} + } else { + yyv1014 := &x.Backend + yyv1014.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys1012) + } // end switch yys1012 + } // end for yyj1012 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -12197,9 +11872,9 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.MinNodes = 0 + x.Path = "" } else { - x.MinNodes = int(r.DecodeInt(codecSelferBitsize1234)) + x.Path = string(r.DecodeString()) } yyj1015++ if yyhl1015 { @@ -12213,31 +11888,10 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.MaxNodes = 0 + x.Backend = IngressBackend{} } else { - x.MaxNodes = int(r.DecodeInt(codecSelferBitsize1234)) - } - yyj1015++ - if yyhl1015 { - yyb1015 = yyj1015 > l - } else { - yyb1015 = r.CheckBreak() - } - if yyb1015 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TargetUtilization = nil - } else { - yyv1018 := &x.TargetUtilization - yym1019 := z.DecBinary() - _ = yym1019 - if false { - } else { - h.decSliceNodeUtilization((*[]NodeUtilization)(yyv1018), d) - } + yyv1017 := &x.Backend + yyv1017.CodecDecodeSelf(d) } for { yyj1015++ @@ -12255,6 +11909,718 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1018 := z.EncBinary() + _ = yym1018 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1019 := !z.EncBinary() + yy2arr1019 := z.EncBasicHandle().StructToArray + var yyq1019 [2]bool + _, _, _ = yysep1019, yyq1019, yy2arr1019 + const yyr1019 bool = false + var yynn1019 int + if yyr1019 || yy2arr1019 { + r.EncodeArrayStart(2) + } else { + yynn1019 = 2 + for _, b := range yyq1019 { + if b { + yynn1019++ + } + } + r.EncodeMapStart(yynn1019) + yynn1019 = 0 + } + if yyr1019 || yy2arr1019 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1021 := z.EncBinary() + _ = yym1021 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("serviceName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1022 := z.EncBinary() + _ = yym1022 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) + } + } + if yyr1019 || yy2arr1019 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1024 := &x.ServicePort + yym1025 := z.EncBinary() + _ = yym1025 + if false { + } else if z.HasExtensions() && z.EncExt(yy1024) { + } else if !yym1025 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1024) + } else { + z.EncFallback(yy1024) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("servicePort")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1026 := &x.ServicePort + yym1027 := z.EncBinary() + _ = yym1027 + if false { + } else if z.HasExtensions() && z.EncExt(yy1026) { + } else if !yym1027 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1026) + } else { + z.EncFallback(yy1026) + } + } + if yyr1019 || yy2arr1019 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1028 := z.DecBinary() + _ = yym1028 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1029 := r.ContainerType() + if yyct1029 == codecSelferValueTypeMap1234 { + yyl1029 := r.ReadMapStart() + if yyl1029 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1029, d) + } + } else if yyct1029 == codecSelferValueTypeArray1234 { + yyl1029 := r.ReadArrayStart() + if yyl1029 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1029, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1030Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1030Slc + var yyhl1030 bool = l >= 0 + for yyj1030 := 0; ; yyj1030++ { + if yyhl1030 { + if yyj1030 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1030Slc = r.DecodeBytes(yys1030Slc, true, true) + yys1030 := string(yys1030Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1030 { + case "serviceName": + if r.TryDecodeAsNil() { + x.ServiceName = "" + } else { + x.ServiceName = string(r.DecodeString()) + } + case "servicePort": + if r.TryDecodeAsNil() { + x.ServicePort = pkg6_intstr.IntOrString{} + } else { + yyv1032 := &x.ServicePort + yym1033 := z.DecBinary() + _ = yym1033 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1032) { + } else if !yym1033 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1032) + } else { + z.DecFallback(yyv1032, false) + } + } + default: + z.DecStructFieldNotFound(-1, yys1030) + } // end switch yys1030 + } // end for yyj1030 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1034 int + var yyb1034 bool + var yyhl1034 bool = l >= 0 + yyj1034++ + if yyhl1034 { + yyb1034 = yyj1034 > l + } else { + yyb1034 = r.CheckBreak() + } + if yyb1034 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ServiceName = "" + } else { + x.ServiceName = string(r.DecodeString()) + } + yyj1034++ + if yyhl1034 { + yyb1034 = yyj1034 > l + } else { + yyb1034 = r.CheckBreak() + } + if yyb1034 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ServicePort = pkg6_intstr.IntOrString{} + } else { + yyv1036 := &x.ServicePort + yym1037 := z.DecBinary() + _ = yym1037 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1036) { + } else if !yym1037 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1036) + } else { + z.DecFallback(yyv1036, false) + } + } + for { + yyj1034++ + if yyhl1034 { + yyb1034 = yyj1034 > l + } else { + yyb1034 = r.CheckBreak() + } + if yyb1034 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1034-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x NodeResource) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym1038 := z.EncBinary() + _ = yym1038 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *NodeResource) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1039 := z.DecBinary() + _ = yym1039 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *NodeUtilization) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1040 := z.EncBinary() + _ = yym1040 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1041 := !z.EncBinary() + yy2arr1041 := z.EncBasicHandle().StructToArray + var yyq1041 [2]bool + _, _, _ = yysep1041, yyq1041, yy2arr1041 + const yyr1041 bool = false + var yynn1041 int + if yyr1041 || yy2arr1041 { + r.EncodeArrayStart(2) + } else { + yynn1041 = 2 + for _, b := range yyq1041 { + if b { + yynn1041++ + } + } + r.EncodeMapStart(yynn1041) + yynn1041 = 0 + } + if yyr1041 || yy2arr1041 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Resource.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("resource")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Resource.CodecEncodeSelf(e) + } + if yyr1041 || yy2arr1041 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1044 := z.EncBinary() + _ = yym1044 + if false { + } else { + r.EncodeFloat64(float64(x.Value)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("value")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1045 := z.EncBinary() + _ = yym1045 + if false { + } else { + r.EncodeFloat64(float64(x.Value)) + } + } + if yyr1041 || yy2arr1041 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NodeUtilization) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1046 := z.DecBinary() + _ = yym1046 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1047 := r.ContainerType() + if yyct1047 == codecSelferValueTypeMap1234 { + yyl1047 := r.ReadMapStart() + if yyl1047 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1047, d) + } + } else if yyct1047 == codecSelferValueTypeArray1234 { + yyl1047 := r.ReadArrayStart() + if yyl1047 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1047, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NodeUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1048Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1048Slc + var yyhl1048 bool = l >= 0 + for yyj1048 := 0; ; yyj1048++ { + if yyhl1048 { + if yyj1048 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1048Slc = r.DecodeBytes(yys1048Slc, true, true) + yys1048 := string(yys1048Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1048 { + case "resource": + if r.TryDecodeAsNil() { + x.Resource = "" + } else { + x.Resource = NodeResource(r.DecodeString()) + } + case "value": + if r.TryDecodeAsNil() { + x.Value = 0 + } else { + x.Value = float64(r.DecodeFloat(false)) + } + default: + z.DecStructFieldNotFound(-1, yys1048) + } // end switch yys1048 + } // end for yyj1048 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *NodeUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1051 int + var yyb1051 bool + var yyhl1051 bool = l >= 0 + yyj1051++ + if yyhl1051 { + yyb1051 = yyj1051 > l + } else { + yyb1051 = r.CheckBreak() + } + if yyb1051 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Resource = "" + } else { + x.Resource = NodeResource(r.DecodeString()) + } + yyj1051++ + if yyhl1051 { + yyb1051 = yyj1051 > l + } else { + yyb1051 = r.CheckBreak() + } + if yyb1051 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Value = 0 + } else { + x.Value = float64(r.DecodeFloat(false)) + } + for { + yyj1051++ + if yyhl1051 { + yyb1051 = yyj1051 > l + } else { + yyb1051 = r.CheckBreak() + } + if yyb1051 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1051-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ClusterAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1054 := z.EncBinary() + _ = yym1054 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1055 := !z.EncBinary() + yy2arr1055 := z.EncBasicHandle().StructToArray + var yyq1055 [3]bool + _, _, _ = yysep1055, yyq1055, yy2arr1055 + const yyr1055 bool = false + var yynn1055 int + if yyr1055 || yy2arr1055 { + r.EncodeArrayStart(3) + } else { + yynn1055 = 3 + for _, b := range yyq1055 { + if b { + yynn1055++ + } + } + r.EncodeMapStart(yynn1055) + yynn1055 = 0 + } + if yyr1055 || yy2arr1055 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1057 := z.EncBinary() + _ = yym1057 + if false { + } else { + r.EncodeInt(int64(x.MinNodes)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("minNodes")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1058 := z.EncBinary() + _ = yym1058 + if false { + } else { + r.EncodeInt(int64(x.MinNodes)) + } + } + if yyr1055 || yy2arr1055 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1060 := z.EncBinary() + _ = yym1060 + if false { + } else { + r.EncodeInt(int64(x.MaxNodes)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("maxNodes")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1061 := z.EncBinary() + _ = yym1061 + if false { + } else { + r.EncodeInt(int64(x.MaxNodes)) + } + } + if yyr1055 || yy2arr1055 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.TargetUtilization == nil { + r.EncodeNil() + } else { + yym1063 := z.EncBinary() + _ = yym1063 + if false { + } else { + h.encSliceNodeUtilization(([]NodeUtilization)(x.TargetUtilization), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("target")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.TargetUtilization == nil { + r.EncodeNil() + } else { + yym1064 := z.EncBinary() + _ = yym1064 + if false { + } else { + h.encSliceNodeUtilization(([]NodeUtilization)(x.TargetUtilization), e) + } + } + } + if yyr1055 || yy2arr1055 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ClusterAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1065 := z.DecBinary() + _ = yym1065 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1066 := r.ContainerType() + if yyct1066 == codecSelferValueTypeMap1234 { + yyl1066 := r.ReadMapStart() + if yyl1066 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1066, d) + } + } else if yyct1066 == codecSelferValueTypeArray1234 { + yyl1066 := r.ReadArrayStart() + if yyl1066 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1066, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ClusterAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1067Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1067Slc + var yyhl1067 bool = l >= 0 + for yyj1067 := 0; ; yyj1067++ { + if yyhl1067 { + if yyj1067 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1067Slc = r.DecodeBytes(yys1067Slc, true, true) + yys1067 := string(yys1067Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1067 { + case "minNodes": + if r.TryDecodeAsNil() { + x.MinNodes = 0 + } else { + x.MinNodes = int(r.DecodeInt(codecSelferBitsize1234)) + } + case "maxNodes": + if r.TryDecodeAsNil() { + x.MaxNodes = 0 + } else { + x.MaxNodes = int(r.DecodeInt(codecSelferBitsize1234)) + } + case "target": + if r.TryDecodeAsNil() { + x.TargetUtilization = nil + } else { + yyv1070 := &x.TargetUtilization + yym1071 := z.DecBinary() + _ = yym1071 + if false { + } else { + h.decSliceNodeUtilization((*[]NodeUtilization)(yyv1070), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1067) + } // end switch yys1067 + } // end for yyj1067 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1072 int + var yyb1072 bool + var yyhl1072 bool = l >= 0 + yyj1072++ + if yyhl1072 { + yyb1072 = yyj1072 > l + } else { + yyb1072 = r.CheckBreak() + } + if yyb1072 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MinNodes = 0 + } else { + x.MinNodes = int(r.DecodeInt(codecSelferBitsize1234)) + } + yyj1072++ + if yyhl1072 { + yyb1072 = yyj1072 > l + } else { + yyb1072 = r.CheckBreak() + } + if yyb1072 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxNodes = 0 + } else { + x.MaxNodes = int(r.DecodeInt(codecSelferBitsize1234)) + } + yyj1072++ + if yyhl1072 { + yyb1072 = yyj1072 > l + } else { + yyb1072 = r.CheckBreak() + } + if yyb1072 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TargetUtilization = nil + } else { + yyv1075 := &x.TargetUtilization + yym1076 := z.DecBinary() + _ = yym1076 + if false { + } else { + h.decSliceNodeUtilization((*[]NodeUtilization)(yyv1075), d) + } + } + for { + yyj1072++ + if yyhl1072 { + yyb1072 = yyj1072 > l + } else { + yyb1072 = r.CheckBreak() + } + if yyb1072 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1072-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *ClusterAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -12262,38 +12628,38 @@ func (x *ClusterAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1020 := z.EncBinary() - _ = yym1020 + yym1077 := z.EncBinary() + _ = yym1077 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1021 := !z.EncBinary() - yy2arr1021 := z.EncBasicHandle().StructToArray - var yyq1021 [4]bool - _, _, _ = yysep1021, yyq1021, yy2arr1021 - const yyr1021 bool = false - yyq1021[0] = x.Kind != "" - yyq1021[1] = x.APIVersion != "" - yyq1021[2] = true - yyq1021[3] = true - var yynn1021 int - if yyr1021 || yy2arr1021 { + yysep1078 := !z.EncBinary() + yy2arr1078 := z.EncBasicHandle().StructToArray + var yyq1078 [4]bool + _, _, _ = yysep1078, yyq1078, yy2arr1078 + const yyr1078 bool = false + yyq1078[0] = x.Kind != "" + yyq1078[1] = x.APIVersion != "" + yyq1078[2] = true + yyq1078[3] = true + var yynn1078 int + if yyr1078 || yy2arr1078 { r.EncodeArrayStart(4) } else { - yynn1021 = 0 - for _, b := range yyq1021 { + yynn1078 = 0 + for _, b := range yyq1078 { if b { - yynn1021++ + yynn1078++ } } - r.EncodeMapStart(yynn1021) - yynn1021 = 0 + r.EncodeMapStart(yynn1078) + yynn1078 = 0 } - if yyr1021 || yy2arr1021 { + if yyr1078 || yy2arr1078 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1021[0] { - yym1023 := z.EncBinary() - _ = yym1023 + if yyq1078[0] { + yym1080 := z.EncBinary() + _ = yym1080 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -12302,23 +12668,23 @@ func (x *ClusterAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1021[0] { + if yyq1078[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1024 := z.EncBinary() - _ = yym1024 + yym1081 := z.EncBinary() + _ = yym1081 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1021 || yy2arr1021 { + if yyr1078 || yy2arr1078 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1021[1] { - yym1026 := z.EncBinary() - _ = yym1026 + if yyq1078[1] { + yym1083 := z.EncBinary() + _ = yym1083 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -12327,53 +12693,65 @@ func (x *ClusterAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1021[1] { + if yyq1078[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1027 := z.EncBinary() - _ = yym1027 + yym1084 := z.EncBinary() + _ = yym1084 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1021 || yy2arr1021 { + if yyr1078 || yy2arr1078 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1021[2] { - yy1029 := &x.ObjectMeta - yy1029.CodecEncodeSelf(e) + if yyq1078[2] { + yy1086 := &x.ObjectMeta + yym1087 := z.EncBinary() + _ = yym1087 + if false { + } else if z.HasExtensions() && z.EncExt(yy1086) { + } else { + z.EncFallback(yy1086) + } } else { r.EncodeNil() } } else { - if yyq1021[2] { + if yyq1078[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1030 := &x.ObjectMeta - yy1030.CodecEncodeSelf(e) + yy1088 := &x.ObjectMeta + yym1089 := z.EncBinary() + _ = yym1089 + if false { + } else if z.HasExtensions() && z.EncExt(yy1088) { + } else { + z.EncFallback(yy1088) + } } } - if yyr1021 || yy2arr1021 { + if yyr1078 || yy2arr1078 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1021[3] { - yy1032 := &x.Spec - yy1032.CodecEncodeSelf(e) + if yyq1078[3] { + yy1091 := &x.Spec + yy1091.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1021[3] { + if yyq1078[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1033 := &x.Spec - yy1033.CodecEncodeSelf(e) + yy1092 := &x.Spec + yy1092.CodecEncodeSelf(e) } } - if yyr1021 || yy2arr1021 { + if yyr1078 || yy2arr1078 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12386,25 +12764,25 @@ func (x *ClusterAutoscaler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1034 := z.DecBinary() - _ = yym1034 + yym1093 := z.DecBinary() + _ = yym1093 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1035 := r.ContainerType() - if yyct1035 == codecSelferValueTypeMap1234 { - yyl1035 := r.ReadMapStart() - if yyl1035 == 0 { + yyct1094 := r.ContainerType() + if yyct1094 == codecSelferValueTypeMap1234 { + yyl1094 := r.ReadMapStart() + if yyl1094 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1035, d) + x.codecDecodeSelfFromMap(yyl1094, d) } - } else if yyct1035 == codecSelferValueTypeArray1234 { - yyl1035 := r.ReadArrayStart() - if yyl1035 == 0 { + } else if yyct1094 == codecSelferValueTypeArray1234 { + yyl1094 := r.ReadArrayStart() + if yyl1094 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1035, d) + x.codecDecodeSelfFromArray(yyl1094, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12416,12 +12794,12 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1036Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1036Slc - var yyhl1036 bool = l >= 0 - for yyj1036 := 0; ; yyj1036++ { - if yyhl1036 { - if yyj1036 >= l { + var yys1095Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1095Slc + var yyhl1095 bool = l >= 0 + for yyj1095 := 0; ; yyj1095++ { + if yyhl1095 { + if yyj1095 >= l { break } } else { @@ -12430,10 +12808,10 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1036Slc = r.DecodeBytes(yys1036Slc, true, true) - yys1036 := string(yys1036Slc) + yys1095Slc = r.DecodeBytes(yys1095Slc, true, true) + yys1095 := string(yys1095Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1036 { + switch yys1095 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -12450,20 +12828,26 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv1039 := &x.ObjectMeta - yyv1039.CodecDecodeSelf(d) + yyv1098 := &x.ObjectMeta + yym1099 := z.DecBinary() + _ = yym1099 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1098) { + } else { + z.DecFallback(yyv1098, false) + } } case "spec": if r.TryDecodeAsNil() { x.Spec = ClusterAutoscalerSpec{} } else { - yyv1040 := &x.Spec - yyv1040.CodecDecodeSelf(d) + yyv1100 := &x.Spec + yyv1100.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1036) - } // end switch yys1036 - } // end for yyj1036 + z.DecStructFieldNotFound(-1, yys1095) + } // end switch yys1095 + } // end for yyj1095 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12471,16 +12855,16 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1041 int - var yyb1041 bool - var yyhl1041 bool = l >= 0 - yyj1041++ - if yyhl1041 { - yyb1041 = yyj1041 > l + var yyj1101 int + var yyb1101 bool + var yyhl1101 bool = l >= 0 + yyj1101++ + if yyhl1101 { + yyb1101 = yyj1101 > l } else { - yyb1041 = r.CheckBreak() + yyb1101 = r.CheckBreak() } - if yyb1041 { + if yyb1101 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12490,13 +12874,13 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1041++ - if yyhl1041 { - yyb1041 = yyj1041 > l + yyj1101++ + if yyhl1101 { + yyb1101 = yyj1101 > l } else { - yyb1041 = r.CheckBreak() + yyb1101 = r.CheckBreak() } - if yyb1041 { + if yyb1101 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12506,13 +12890,13 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1041++ - if yyhl1041 { - yyb1041 = yyj1041 > l + yyj1101++ + if yyhl1101 { + yyb1101 = yyj1101 > l } else { - yyb1041 = r.CheckBreak() + yyb1101 = r.CheckBreak() } - if yyb1041 { + if yyb1101 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12520,16 +12904,22 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv1044 := &x.ObjectMeta - yyv1044.CodecDecodeSelf(d) + yyv1104 := &x.ObjectMeta + yym1105 := z.DecBinary() + _ = yym1105 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1104) { + } else { + z.DecFallback(yyv1104, false) + } } - yyj1041++ - if yyhl1041 { - yyb1041 = yyj1041 > l + yyj1101++ + if yyhl1101 { + yyb1101 = yyj1101 > l } else { - yyb1041 = r.CheckBreak() + yyb1101 = r.CheckBreak() } - if yyb1041 { + if yyb1101 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12537,21 +12927,21 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Spec = ClusterAutoscalerSpec{} } else { - yyv1045 := &x.Spec - yyv1045.CodecDecodeSelf(d) + yyv1106 := &x.Spec + yyv1106.CodecDecodeSelf(d) } for { - yyj1041++ - if yyhl1041 { - yyb1041 = yyj1041 > l + yyj1101++ + if yyhl1101 { + yyb1101 = yyj1101 > l } else { - yyb1041 = r.CheckBreak() + yyb1101 = r.CheckBreak() } - if yyb1041 { + if yyb1101 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1041-1, "") + z.DecStructFieldNotFound(yyj1101-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12563,37 +12953,37 @@ func (x *ClusterAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1046 := z.EncBinary() - _ = yym1046 + yym1107 := z.EncBinary() + _ = yym1107 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1047 := !z.EncBinary() - yy2arr1047 := z.EncBasicHandle().StructToArray - var yyq1047 [4]bool - _, _, _ = yysep1047, yyq1047, yy2arr1047 - const yyr1047 bool = false - yyq1047[0] = x.Kind != "" - yyq1047[1] = x.APIVersion != "" - yyq1047[2] = true - var yynn1047 int - if yyr1047 || yy2arr1047 { + yysep1108 := !z.EncBinary() + yy2arr1108 := z.EncBasicHandle().StructToArray + var yyq1108 [4]bool + _, _, _ = yysep1108, yyq1108, yy2arr1108 + const yyr1108 bool = false + yyq1108[0] = x.Kind != "" + yyq1108[1] = x.APIVersion != "" + yyq1108[2] = true + var yynn1108 int + if yyr1108 || yy2arr1108 { r.EncodeArrayStart(4) } else { - yynn1047 = 1 - for _, b := range yyq1047 { + yynn1108 = 1 + for _, b := range yyq1108 { if b { - yynn1047++ + yynn1108++ } } - r.EncodeMapStart(yynn1047) - yynn1047 = 0 + r.EncodeMapStart(yynn1108) + yynn1108 = 0 } - if yyr1047 || yy2arr1047 { + if yyr1108 || yy2arr1108 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1047[0] { - yym1049 := z.EncBinary() - _ = yym1049 + if yyq1108[0] { + yym1110 := z.EncBinary() + _ = yym1110 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -12602,23 +12992,23 @@ func (x *ClusterAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1047[0] { + if yyq1108[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1050 := z.EncBinary() - _ = yym1050 + yym1111 := z.EncBinary() + _ = yym1111 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1047 || yy2arr1047 { + if yyr1108 || yy2arr1108 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1047[1] { - yym1052 := z.EncBinary() - _ = yym1052 + if yyq1108[1] { + yym1113 := z.EncBinary() + _ = yym1113 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -12627,54 +13017,54 @@ func (x *ClusterAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1047[1] { + if yyq1108[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1053 := z.EncBinary() - _ = yym1053 + yym1114 := z.EncBinary() + _ = yym1114 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1047 || yy2arr1047 { + if yyr1108 || yy2arr1108 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1047[2] { - yy1055 := &x.ListMeta - yym1056 := z.EncBinary() - _ = yym1056 + if yyq1108[2] { + yy1116 := &x.ListMeta + yym1117 := z.EncBinary() + _ = yym1117 if false { - } else if z.HasExtensions() && z.EncExt(yy1055) { + } else if z.HasExtensions() && z.EncExt(yy1116) { } else { - z.EncFallback(yy1055) + z.EncFallback(yy1116) } } else { r.EncodeNil() } } else { - if yyq1047[2] { + if yyq1108[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1057 := &x.ListMeta - yym1058 := z.EncBinary() - _ = yym1058 + yy1118 := &x.ListMeta + yym1119 := z.EncBinary() + _ = yym1119 if false { - } else if z.HasExtensions() && z.EncExt(yy1057) { + } else if z.HasExtensions() && z.EncExt(yy1118) { } else { - z.EncFallback(yy1057) + z.EncFallback(yy1118) } } } - if yyr1047 || yy2arr1047 { + if yyr1108 || yy2arr1108 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1060 := z.EncBinary() - _ = yym1060 + yym1121 := z.EncBinary() + _ = yym1121 if false { } else { h.encSliceClusterAutoscaler(([]ClusterAutoscaler)(x.Items), e) @@ -12687,15 +13077,15 @@ func (x *ClusterAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1061 := z.EncBinary() - _ = yym1061 + yym1122 := z.EncBinary() + _ = yym1122 if false { } else { h.encSliceClusterAutoscaler(([]ClusterAutoscaler)(x.Items), e) } } } - if yyr1047 || yy2arr1047 { + if yyr1108 || yy2arr1108 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12708,25 +13098,25 @@ func (x *ClusterAutoscalerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1062 := z.DecBinary() - _ = yym1062 + yym1123 := z.DecBinary() + _ = yym1123 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1063 := r.ContainerType() - if yyct1063 == codecSelferValueTypeMap1234 { - yyl1063 := r.ReadMapStart() - if yyl1063 == 0 { + yyct1124 := r.ContainerType() + if yyct1124 == codecSelferValueTypeMap1234 { + yyl1124 := r.ReadMapStart() + if yyl1124 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1063, d) + x.codecDecodeSelfFromMap(yyl1124, d) } - } else if yyct1063 == codecSelferValueTypeArray1234 { - yyl1063 := r.ReadArrayStart() - if yyl1063 == 0 { + } else if yyct1124 == codecSelferValueTypeArray1234 { + yyl1124 := r.ReadArrayStart() + if yyl1124 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1063, d) + x.codecDecodeSelfFromArray(yyl1124, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12738,12 +13128,12 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1064Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1064Slc - var yyhl1064 bool = l >= 0 - for yyj1064 := 0; ; yyj1064++ { - if yyhl1064 { - if yyj1064 >= l { + var yys1125Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1125Slc + var yyhl1125 bool = l >= 0 + for yyj1125 := 0; ; yyj1125++ { + if yyhl1125 { + if yyj1125 >= l { break } } else { @@ -12752,10 +13142,10 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1064Slc = r.DecodeBytes(yys1064Slc, true, true) - yys1064 := string(yys1064Slc) + yys1125Slc = r.DecodeBytes(yys1125Slc, true, true) + yys1125 := string(yys1125Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1064 { + switch yys1125 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -12772,31 +13162,31 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1067 := &x.ListMeta - yym1068 := z.DecBinary() - _ = yym1068 + yyv1128 := &x.ListMeta + yym1129 := z.DecBinary() + _ = yym1129 if false { - } else if z.HasExtensions() && z.DecExt(yyv1067) { + } else if z.HasExtensions() && z.DecExt(yyv1128) { } else { - z.DecFallback(yyv1067, false) + z.DecFallback(yyv1128, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1069 := &x.Items - yym1070 := z.DecBinary() - _ = yym1070 + yyv1130 := &x.Items + yym1131 := z.DecBinary() + _ = yym1131 if false { } else { - h.decSliceClusterAutoscaler((*[]ClusterAutoscaler)(yyv1069), d) + h.decSliceClusterAutoscaler((*[]ClusterAutoscaler)(yyv1130), d) } } default: - z.DecStructFieldNotFound(-1, yys1064) - } // end switch yys1064 - } // end for yyj1064 + z.DecStructFieldNotFound(-1, yys1125) + } // end switch yys1125 + } // end for yyj1125 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12804,16 +13194,16 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1071 int - var yyb1071 bool - var yyhl1071 bool = l >= 0 - yyj1071++ - if yyhl1071 { - yyb1071 = yyj1071 > l + var yyj1132 int + var yyb1132 bool + var yyhl1132 bool = l >= 0 + yyj1132++ + if yyhl1132 { + yyb1132 = yyj1132 > l } else { - yyb1071 = r.CheckBreak() + yyb1132 = r.CheckBreak() } - if yyb1071 { + if yyb1132 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12823,13 +13213,13 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj1071++ - if yyhl1071 { - yyb1071 = yyj1071 > l + yyj1132++ + if yyhl1132 { + yyb1132 = yyj1132 > l } else { - yyb1071 = r.CheckBreak() + yyb1132 = r.CheckBreak() } - if yyb1071 { + if yyb1132 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12839,13 +13229,13 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj1071++ - if yyhl1071 { - yyb1071 = yyj1071 > l + yyj1132++ + if yyhl1132 { + yyb1132 = yyj1132 > l } else { - yyb1071 = r.CheckBreak() + yyb1132 = r.CheckBreak() } - if yyb1071 { + if yyb1132 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12853,22 +13243,22 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1074 := &x.ListMeta - yym1075 := z.DecBinary() - _ = yym1075 + yyv1135 := &x.ListMeta + yym1136 := z.DecBinary() + _ = yym1136 if false { - } else if z.HasExtensions() && z.DecExt(yyv1074) { + } else if z.HasExtensions() && z.DecExt(yyv1135) { } else { - z.DecFallback(yyv1074, false) + z.DecFallback(yyv1135, false) } } - yyj1071++ - if yyhl1071 { - yyb1071 = yyj1071 > l + yyj1132++ + if yyhl1132 { + yyb1132 = yyj1132 > l } else { - yyb1071 = r.CheckBreak() + yyb1132 = r.CheckBreak() } - if yyb1071 { + if yyb1132 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12876,26 +13266,26 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1076 := &x.Items - yym1077 := z.DecBinary() - _ = yym1077 + yyv1137 := &x.Items + yym1138 := z.DecBinary() + _ = yym1138 if false { } else { - h.decSliceClusterAutoscaler((*[]ClusterAutoscaler)(yyv1076), d) + h.decSliceClusterAutoscaler((*[]ClusterAutoscaler)(yyv1137), d) } } for { - yyj1071++ - if yyhl1071 { - yyb1071 = yyj1071 > l + yyj1132++ + if yyhl1132 { + yyb1132 = yyj1132 > l } else { - yyb1071 = r.CheckBreak() + yyb1132 = r.CheckBreak() } - if yyb1071 { + if yyb1132 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1071-1, "") + z.DecStructFieldNotFound(yyj1132-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12907,39 +13297,39 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1078 := z.EncBinary() - _ = yym1078 + yym1139 := z.EncBinary() + _ = yym1139 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1079 := !z.EncBinary() - yy2arr1079 := z.EncBasicHandle().StructToArray - var yyq1079 [2]bool - _, _, _ = yysep1079, yyq1079, yy2arr1079 - const yyr1079 bool = false - yyq1079[0] = len(x.MatchLabels) != 0 - yyq1079[1] = len(x.MatchExpressions) != 0 - var yynn1079 int - if yyr1079 || yy2arr1079 { + yysep1140 := !z.EncBinary() + yy2arr1140 := z.EncBasicHandle().StructToArray + var yyq1140 [2]bool + _, _, _ = yysep1140, yyq1140, yy2arr1140 + const yyr1140 bool = false + yyq1140[0] = len(x.MatchLabels) != 0 + yyq1140[1] = len(x.MatchExpressions) != 0 + var yynn1140 int + if yyr1140 || yy2arr1140 { r.EncodeArrayStart(2) } else { - yynn1079 = 0 - for _, b := range yyq1079 { + yynn1140 = 0 + for _, b := range yyq1140 { if b { - yynn1079++ + yynn1140++ } } - r.EncodeMapStart(yynn1079) - yynn1079 = 0 + r.EncodeMapStart(yynn1140) + yynn1140 = 0 } - if yyr1079 || yy2arr1079 { + if yyr1140 || yy2arr1140 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1079[0] { + if yyq1140[0] { if x.MatchLabels == nil { r.EncodeNil() } else { - yym1081 := z.EncBinary() - _ = yym1081 + yym1142 := z.EncBinary() + _ = yym1142 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -12949,15 +13339,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1079[0] { + if yyq1140[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchLabels == nil { r.EncodeNil() } else { - yym1082 := z.EncBinary() - _ = yym1082 + yym1143 := z.EncBinary() + _ = yym1143 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -12965,14 +13355,14 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1079 || yy2arr1079 { + if yyr1140 || yy2arr1140 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1079[1] { + if yyq1140[1] { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1084 := z.EncBinary() - _ = yym1084 + yym1145 := z.EncBinary() + _ = yym1145 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -12982,15 +13372,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1079[1] { + if yyq1140[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1085 := z.EncBinary() - _ = yym1085 + yym1146 := z.EncBinary() + _ = yym1146 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -12998,7 +13388,7 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1079 || yy2arr1079 { + if yyr1140 || yy2arr1140 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13011,25 +13401,25 @@ func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1086 := z.DecBinary() - _ = yym1086 + yym1147 := z.DecBinary() + _ = yym1147 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1087 := r.ContainerType() - if yyct1087 == codecSelferValueTypeMap1234 { - yyl1087 := r.ReadMapStart() - if yyl1087 == 0 { + yyct1148 := r.ContainerType() + if yyct1148 == codecSelferValueTypeMap1234 { + yyl1148 := r.ReadMapStart() + if yyl1148 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1087, d) + x.codecDecodeSelfFromMap(yyl1148, d) } - } else if yyct1087 == codecSelferValueTypeArray1234 { - yyl1087 := r.ReadArrayStart() - if yyl1087 == 0 { + } else if yyct1148 == codecSelferValueTypeArray1234 { + yyl1148 := r.ReadArrayStart() + if yyl1148 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1087, d) + x.codecDecodeSelfFromArray(yyl1148, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13041,12 +13431,12 @@ func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1088Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1088Slc - var yyhl1088 bool = l >= 0 - for yyj1088 := 0; ; yyj1088++ { - if yyhl1088 { - if yyj1088 >= l { + var yys1149Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1149Slc + var yyhl1149 bool = l >= 0 + for yyj1149 := 0; ; yyj1149++ { + if yyhl1149 { + if yyj1149 >= l { break } } else { @@ -13055,38 +13445,38 @@ func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1088Slc = r.DecodeBytes(yys1088Slc, true, true) - yys1088 := string(yys1088Slc) + yys1149Slc = r.DecodeBytes(yys1149Slc, true, true) + yys1149 := string(yys1149Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1088 { + switch yys1149 { case "matchLabels": if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv1089 := &x.MatchLabels - yym1090 := z.DecBinary() - _ = yym1090 + yyv1150 := &x.MatchLabels + yym1151 := z.DecBinary() + _ = yym1151 if false { } else { - z.F.DecMapStringStringX(yyv1089, false, d) + z.F.DecMapStringStringX(yyv1150, false, d) } } case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1091 := &x.MatchExpressions - yym1092 := z.DecBinary() - _ = yym1092 + yyv1152 := &x.MatchExpressions + yym1153 := z.DecBinary() + _ = yym1153 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1091), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1152), d) } } default: - z.DecStructFieldNotFound(-1, yys1088) - } // end switch yys1088 - } // end for yyj1088 + z.DecStructFieldNotFound(-1, yys1149) + } // end switch yys1149 + } // end for yyj1149 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13094,16 +13484,16 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1093 int - var yyb1093 bool - var yyhl1093 bool = l >= 0 - yyj1093++ - if yyhl1093 { - yyb1093 = yyj1093 > l + var yyj1154 int + var yyb1154 bool + var yyhl1154 bool = l >= 0 + yyj1154++ + if yyhl1154 { + yyb1154 = yyj1154 > l } else { - yyb1093 = r.CheckBreak() + yyb1154 = r.CheckBreak() } - if yyb1093 { + if yyb1154 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13111,21 +13501,21 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv1094 := &x.MatchLabels - yym1095 := z.DecBinary() - _ = yym1095 + yyv1155 := &x.MatchLabels + yym1156 := z.DecBinary() + _ = yym1156 if false { } else { - z.F.DecMapStringStringX(yyv1094, false, d) + z.F.DecMapStringStringX(yyv1155, false, d) } } - yyj1093++ - if yyhl1093 { - yyb1093 = yyj1093 > l + yyj1154++ + if yyhl1154 { + yyb1154 = yyj1154 > l } else { - yyb1093 = r.CheckBreak() + yyb1154 = r.CheckBreak() } - if yyb1093 { + if yyb1154 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13133,26 +13523,26 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1096 := &x.MatchExpressions - yym1097 := z.DecBinary() - _ = yym1097 + yyv1157 := &x.MatchExpressions + yym1158 := z.DecBinary() + _ = yym1158 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1096), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1157), d) } } for { - yyj1093++ - if yyhl1093 { - yyb1093 = yyj1093 > l + yyj1154++ + if yyhl1154 { + yyb1154 = yyj1154 > l } else { - yyb1093 = r.CheckBreak() + yyb1154 = r.CheckBreak() } - if yyb1093 { + if yyb1154 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1093-1, "") + z.DecStructFieldNotFound(yyj1154-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13164,34 +13554,34 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1098 := z.EncBinary() - _ = yym1098 + yym1159 := z.EncBinary() + _ = yym1159 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1099 := !z.EncBinary() - yy2arr1099 := z.EncBasicHandle().StructToArray - var yyq1099 [3]bool - _, _, _ = yysep1099, yyq1099, yy2arr1099 - const yyr1099 bool = false - yyq1099[2] = len(x.Values) != 0 - var yynn1099 int - if yyr1099 || yy2arr1099 { + yysep1160 := !z.EncBinary() + yy2arr1160 := z.EncBasicHandle().StructToArray + var yyq1160 [3]bool + _, _, _ = yysep1160, yyq1160, yy2arr1160 + const yyr1160 bool = false + yyq1160[2] = len(x.Values) != 0 + var yynn1160 int + if yyr1160 || yy2arr1160 { r.EncodeArrayStart(3) } else { - yynn1099 = 2 - for _, b := range yyq1099 { + yynn1160 = 2 + for _, b := range yyq1160 { if b { - yynn1099++ + yynn1160++ } } - r.EncodeMapStart(yynn1099) - yynn1099 = 0 + r.EncodeMapStart(yynn1160) + yynn1160 = 0 } - if yyr1099 || yy2arr1099 { + if yyr1160 || yy2arr1160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1101 := z.EncBinary() - _ = yym1101 + yym1162 := z.EncBinary() + _ = yym1162 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -13200,14 +13590,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1102 := z.EncBinary() - _ = yym1102 + yym1163 := z.EncBinary() + _ = yym1163 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1099 || yy2arr1099 { + if yyr1160 || yy2arr1160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Operator.CodecEncodeSelf(e) } else { @@ -13216,14 +13606,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } - if yyr1099 || yy2arr1099 { + if yyr1160 || yy2arr1160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1099[2] { + if yyq1160[2] { if x.Values == nil { r.EncodeNil() } else { - yym1105 := z.EncBinary() - _ = yym1105 + yym1166 := z.EncBinary() + _ = yym1166 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -13233,15 +13623,15 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1099[2] { + if yyq1160[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Values == nil { r.EncodeNil() } else { - yym1106 := z.EncBinary() - _ = yym1106 + yym1167 := z.EncBinary() + _ = yym1167 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -13249,7 +13639,7 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1099 || yy2arr1099 { + if yyr1160 || yy2arr1160 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13262,25 +13652,25 @@ func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1107 := z.DecBinary() - _ = yym1107 + yym1168 := z.DecBinary() + _ = yym1168 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1108 := r.ContainerType() - if yyct1108 == codecSelferValueTypeMap1234 { - yyl1108 := r.ReadMapStart() - if yyl1108 == 0 { + yyct1169 := r.ContainerType() + if yyct1169 == codecSelferValueTypeMap1234 { + yyl1169 := r.ReadMapStart() + if yyl1169 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1108, d) + x.codecDecodeSelfFromMap(yyl1169, d) } - } else if yyct1108 == codecSelferValueTypeArray1234 { - yyl1108 := r.ReadArrayStart() - if yyl1108 == 0 { + } else if yyct1169 == codecSelferValueTypeArray1234 { + yyl1169 := r.ReadArrayStart() + if yyl1169 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1108, d) + x.codecDecodeSelfFromArray(yyl1169, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13292,12 +13682,12 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1109Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1109Slc - var yyhl1109 bool = l >= 0 - for yyj1109 := 0; ; yyj1109++ { - if yyhl1109 { - if yyj1109 >= l { + var yys1170Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1170Slc + var yyhl1170 bool = l >= 0 + for yyj1170 := 0; ; yyj1170++ { + if yyhl1170 { + if yyj1170 >= l { break } } else { @@ -13306,10 +13696,10 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1109Slc = r.DecodeBytes(yys1109Slc, true, true) - yys1109 := string(yys1109Slc) + yys1170Slc = r.DecodeBytes(yys1170Slc, true, true) + yys1170 := string(yys1170Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1109 { + switch yys1170 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -13326,18 +13716,18 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1112 := &x.Values - yym1113 := z.DecBinary() - _ = yym1113 + yyv1173 := &x.Values + yym1174 := z.DecBinary() + _ = yym1174 if false { } else { - z.F.DecSliceStringX(yyv1112, false, d) + z.F.DecSliceStringX(yyv1173, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1109) - } // end switch yys1109 - } // end for yyj1109 + z.DecStructFieldNotFound(-1, yys1170) + } // end switch yys1170 + } // end for yyj1170 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13345,16 +13735,16 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1114 int - var yyb1114 bool - var yyhl1114 bool = l >= 0 - yyj1114++ - if yyhl1114 { - yyb1114 = yyj1114 > l + var yyj1175 int + var yyb1175 bool + var yyhl1175 bool = l >= 0 + yyj1175++ + if yyhl1175 { + yyb1175 = yyj1175 > l } else { - yyb1114 = r.CheckBreak() + yyb1175 = r.CheckBreak() } - if yyb1114 { + if yyb1175 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13364,13 +13754,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Key = string(r.DecodeString()) } - yyj1114++ - if yyhl1114 { - yyb1114 = yyj1114 > l + yyj1175++ + if yyhl1175 { + yyb1175 = yyj1175 > l } else { - yyb1114 = r.CheckBreak() + yyb1175 = r.CheckBreak() } - if yyb1114 { + if yyb1175 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13380,13 +13770,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Operator = LabelSelectorOperator(r.DecodeString()) } - yyj1114++ - if yyhl1114 { - yyb1114 = yyj1114 > l + yyj1175++ + if yyhl1175 { + yyb1175 = yyj1175 > l } else { - yyb1114 = r.CheckBreak() + yyb1175 = r.CheckBreak() } - if yyb1114 { + if yyb1175 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13394,26 +13784,26 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1117 := &x.Values - yym1118 := z.DecBinary() - _ = yym1118 + yyv1178 := &x.Values + yym1179 := z.DecBinary() + _ = yym1179 if false { } else { - z.F.DecSliceStringX(yyv1117, false, d) + z.F.DecSliceStringX(yyv1178, false, d) } } for { - yyj1114++ - if yyhl1114 { - yyb1114 = yyj1114 > l + yyj1175++ + if yyhl1175 { + yyb1175 = yyj1175 > l } else { - yyb1114 = r.CheckBreak() + yyb1175 = r.CheckBreak() } - if yyb1114 { + if yyb1175 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1114-1, "") + z.DecStructFieldNotFound(yyj1175-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13422,8 +13812,8 @@ func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1119 := z.EncBinary() - _ = yym1119 + yym1180 := z.EncBinary() + _ = yym1180 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -13435,8 +13825,8 @@ func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1120 := z.DecBinary() - _ = yym1120 + yym1181 := z.DecBinary() + _ = yym1181 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -13451,38 +13841,38 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1121 := z.EncBinary() - _ = yym1121 + yym1182 := z.EncBinary() + _ = yym1182 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1122 := !z.EncBinary() - yy2arr1122 := z.EncBasicHandle().StructToArray - var yyq1122 [4]bool - _, _, _ = yysep1122, yyq1122, yy2arr1122 - const yyr1122 bool = false - yyq1122[0] = x.Kind != "" - yyq1122[1] = x.APIVersion != "" - yyq1122[2] = true - yyq1122[3] = len(x.Data) != 0 - var yynn1122 int - if yyr1122 || yy2arr1122 { + yysep1183 := !z.EncBinary() + yy2arr1183 := z.EncBasicHandle().StructToArray + var yyq1183 [4]bool + _, _, _ = yysep1183, yyq1183, yy2arr1183 + const yyr1183 bool = false + yyq1183[0] = x.Kind != "" + yyq1183[1] = x.APIVersion != "" + yyq1183[2] = true + yyq1183[3] = len(x.Data) != 0 + var yynn1183 int + if yyr1183 || yy2arr1183 { r.EncodeArrayStart(4) } else { - yynn1122 = 0 - for _, b := range yyq1122 { + yynn1183 = 0 + for _, b := range yyq1183 { if b { - yynn1122++ + yynn1183++ } } - r.EncodeMapStart(yynn1122) - yynn1122 = 0 + r.EncodeMapStart(yynn1183) + yynn1183 = 0 } - if yyr1122 || yy2arr1122 { + if yyr1183 || yy2arr1183 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1122[0] { - yym1124 := z.EncBinary() - _ = yym1124 + if yyq1183[0] { + yym1185 := z.EncBinary() + _ = yym1185 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -13491,23 +13881,23 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1122[0] { + if yyq1183[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1125 := z.EncBinary() - _ = yym1125 + yym1186 := z.EncBinary() + _ = yym1186 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1122 || yy2arr1122 { + if yyr1183 || yy2arr1183 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1122[1] { - yym1127 := z.EncBinary() - _ = yym1127 + if yyq1183[1] { + yym1188 := z.EncBinary() + _ = yym1188 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -13516,43 +13906,55 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1122[1] { + if yyq1183[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1128 := z.EncBinary() - _ = yym1128 + yym1189 := z.EncBinary() + _ = yym1189 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1122 || yy2arr1122 { + if yyr1183 || yy2arr1183 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1122[2] { - yy1130 := &x.ObjectMeta - yy1130.CodecEncodeSelf(e) + if yyq1183[2] { + yy1191 := &x.ObjectMeta + yym1192 := z.EncBinary() + _ = yym1192 + if false { + } else if z.HasExtensions() && z.EncExt(yy1191) { + } else { + z.EncFallback(yy1191) + } } else { r.EncodeNil() } } else { - if yyq1122[2] { + if yyq1183[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1131 := &x.ObjectMeta - yy1131.CodecEncodeSelf(e) + yy1193 := &x.ObjectMeta + yym1194 := z.EncBinary() + _ = yym1194 + if false { + } else if z.HasExtensions() && z.EncExt(yy1193) { + } else { + z.EncFallback(yy1193) + } } } - if yyr1122 || yy2arr1122 { + if yyr1183 || yy2arr1183 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1122[3] { + if yyq1183[3] { if x.Data == nil { r.EncodeNil() } else { - yym1133 := z.EncBinary() - _ = yym1133 + yym1196 := z.EncBinary() + _ = yym1196 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -13562,15 +13964,15 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1122[3] { + if yyq1183[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym1134 := z.EncBinary() - _ = yym1134 + yym1197 := z.EncBinary() + _ = yym1197 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -13578,7 +13980,7 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1122 || yy2arr1122 { + if yyr1183 || yy2arr1183 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13591,25 +13993,25 @@ func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1135 := z.DecBinary() - _ = yym1135 + yym1198 := z.DecBinary() + _ = yym1198 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1136 := r.ContainerType() - if yyct1136 == codecSelferValueTypeMap1234 { - yyl1136 := r.ReadMapStart() - if yyl1136 == 0 { + yyct1199 := r.ContainerType() + if yyct1199 == codecSelferValueTypeMap1234 { + yyl1199 := r.ReadMapStart() + if yyl1199 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1136, d) + x.codecDecodeSelfFromMap(yyl1199, d) } - } else if yyct1136 == codecSelferValueTypeArray1234 { - yyl1136 := r.ReadArrayStart() - if yyl1136 == 0 { + } else if yyct1199 == codecSelferValueTypeArray1234 { + yyl1199 := r.ReadArrayStart() + if yyl1199 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1136, d) + x.codecDecodeSelfFromArray(yyl1199, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13621,12 +14023,12 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1137Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1137Slc - var yyhl1137 bool = l >= 0 - for yyj1137 := 0; ; yyj1137++ { - if yyhl1137 { - if yyj1137 >= l { + var yys1200Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1200Slc + var yyhl1200 bool = l >= 0 + for yyj1200 := 0; ; yyj1200++ { + if yyhl1200 { + if yyj1200 >= l { break } } else { @@ -13635,10 +14037,10 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1137Slc = r.DecodeBytes(yys1137Slc, true, true) - yys1137 := string(yys1137Slc) + yys1200Slc = r.DecodeBytes(yys1200Slc, true, true) + yys1200 := string(yys1200Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1137 { + switch yys1200 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -13655,25 +14057,31 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv1140 := &x.ObjectMeta - yyv1140.CodecDecodeSelf(d) + yyv1203 := &x.ObjectMeta + yym1204 := z.DecBinary() + _ = yym1204 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1203) { + } else { + z.DecFallback(yyv1203, false) + } } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv1141 := &x.Data - yym1142 := z.DecBinary() - _ = yym1142 + yyv1205 := &x.Data + yym1206 := z.DecBinary() + _ = yym1206 if false { } else { - z.F.DecMapStringStringX(yyv1141, false, d) + z.F.DecMapStringStringX(yyv1205, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1137) - } // end switch yys1137 - } // end for yyj1137 + z.DecStructFieldNotFound(-1, yys1200) + } // end switch yys1200 + } // end for yyj1200 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13681,16 +14089,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1143 int - var yyb1143 bool - var yyhl1143 bool = l >= 0 - yyj1143++ - if yyhl1143 { - yyb1143 = yyj1143 > l + var yyj1207 int + var yyb1207 bool + var yyhl1207 bool = l >= 0 + yyj1207++ + if yyhl1207 { + yyb1207 = yyj1207 > l } else { - yyb1143 = r.CheckBreak() + yyb1207 = r.CheckBreak() } - if yyb1143 { + if yyb1207 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13700,13 +14108,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1143++ - if yyhl1143 { - yyb1143 = yyj1143 > l + yyj1207++ + if yyhl1207 { + yyb1207 = yyj1207 > l } else { - yyb1143 = r.CheckBreak() + yyb1207 = r.CheckBreak() } - if yyb1143 { + if yyb1207 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13716,13 +14124,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1143++ - if yyhl1143 { - yyb1143 = yyj1143 > l + yyj1207++ + if yyhl1207 { + yyb1207 = yyj1207 > l } else { - yyb1143 = r.CheckBreak() + yyb1207 = r.CheckBreak() } - if yyb1143 { + if yyb1207 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13730,16 +14138,22 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv1146 := &x.ObjectMeta - yyv1146.CodecDecodeSelf(d) + yyv1210 := &x.ObjectMeta + yym1211 := z.DecBinary() + _ = yym1211 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1210) { + } else { + z.DecFallback(yyv1210, false) + } } - yyj1143++ - if yyhl1143 { - yyb1143 = yyj1143 > l + yyj1207++ + if yyhl1207 { + yyb1207 = yyj1207 > l } else { - yyb1143 = r.CheckBreak() + yyb1207 = r.CheckBreak() } - if yyb1143 { + if yyb1207 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13747,26 +14161,26 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv1147 := &x.Data - yym1148 := z.DecBinary() - _ = yym1148 + yyv1212 := &x.Data + yym1213 := z.DecBinary() + _ = yym1213 if false { } else { - z.F.DecMapStringStringX(yyv1147, false, d) + z.F.DecMapStringStringX(yyv1212, false, d) } } for { - yyj1143++ - if yyhl1143 { - yyb1143 = yyj1143 > l + yyj1207++ + if yyhl1207 { + yyb1207 = yyj1207 > l } else { - yyb1143 = r.CheckBreak() + yyb1207 = r.CheckBreak() } - if yyb1143 { + if yyb1207 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1143-1, "") + z.DecStructFieldNotFound(yyj1207-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13778,38 +14192,38 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1149 := z.EncBinary() - _ = yym1149 + yym1214 := z.EncBinary() + _ = yym1214 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1150 := !z.EncBinary() - yy2arr1150 := z.EncBasicHandle().StructToArray - var yyq1150 [4]bool - _, _, _ = yysep1150, yyq1150, yy2arr1150 - const yyr1150 bool = false - yyq1150[0] = x.Kind != "" - yyq1150[1] = x.APIVersion != "" - yyq1150[2] = true - yyq1150[3] = len(x.Items) != 0 - var yynn1150 int - if yyr1150 || yy2arr1150 { + yysep1215 := !z.EncBinary() + yy2arr1215 := z.EncBasicHandle().StructToArray + var yyq1215 [4]bool + _, _, _ = yysep1215, yyq1215, yy2arr1215 + const yyr1215 bool = false + yyq1215[0] = x.Kind != "" + yyq1215[1] = x.APIVersion != "" + yyq1215[2] = true + yyq1215[3] = len(x.Items) != 0 + var yynn1215 int + if yyr1215 || yy2arr1215 { r.EncodeArrayStart(4) } else { - yynn1150 = 0 - for _, b := range yyq1150 { + yynn1215 = 0 + for _, b := range yyq1215 { if b { - yynn1150++ + yynn1215++ } } - r.EncodeMapStart(yynn1150) - yynn1150 = 0 + r.EncodeMapStart(yynn1215) + yynn1215 = 0 } - if yyr1150 || yy2arr1150 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1150[0] { - yym1152 := z.EncBinary() - _ = yym1152 + if yyq1215[0] { + yym1217 := z.EncBinary() + _ = yym1217 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -13818,23 +14232,23 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1150[0] { + if yyq1215[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1153 := z.EncBinary() - _ = yym1153 + yym1218 := z.EncBinary() + _ = yym1218 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1150 || yy2arr1150 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1150[1] { - yym1155 := z.EncBinary() - _ = yym1155 + if yyq1215[1] { + yym1220 := z.EncBinary() + _ = yym1220 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -13843,55 +14257,55 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1150[1] { + if yyq1215[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1156 := z.EncBinary() - _ = yym1156 + yym1221 := z.EncBinary() + _ = yym1221 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1150 || yy2arr1150 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1150[2] { - yy1158 := &x.ListMeta - yym1159 := z.EncBinary() - _ = yym1159 + if yyq1215[2] { + yy1223 := &x.ListMeta + yym1224 := z.EncBinary() + _ = yym1224 if false { - } else if z.HasExtensions() && z.EncExt(yy1158) { + } else if z.HasExtensions() && z.EncExt(yy1223) { } else { - z.EncFallback(yy1158) + z.EncFallback(yy1223) } } else { r.EncodeNil() } } else { - if yyq1150[2] { + if yyq1215[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1160 := &x.ListMeta - yym1161 := z.EncBinary() - _ = yym1161 + yy1225 := &x.ListMeta + yym1226 := z.EncBinary() + _ = yym1226 if false { - } else if z.HasExtensions() && z.EncExt(yy1160) { + } else if z.HasExtensions() && z.EncExt(yy1225) { } else { - z.EncFallback(yy1160) + z.EncFallback(yy1225) } } } - if yyr1150 || yy2arr1150 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1150[3] { + if yyq1215[3] { if x.Items == nil { r.EncodeNil() } else { - yym1163 := z.EncBinary() - _ = yym1163 + yym1228 := z.EncBinary() + _ = yym1228 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -13901,15 +14315,15 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1150[3] { + if yyq1215[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym1164 := z.EncBinary() - _ = yym1164 + yym1229 := z.EncBinary() + _ = yym1229 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -13917,7 +14331,7 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1150 || yy2arr1150 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13930,25 +14344,25 @@ func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1165 := z.DecBinary() - _ = yym1165 + yym1230 := z.DecBinary() + _ = yym1230 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1166 := r.ContainerType() - if yyct1166 == codecSelferValueTypeMap1234 { - yyl1166 := r.ReadMapStart() - if yyl1166 == 0 { + yyct1231 := r.ContainerType() + if yyct1231 == codecSelferValueTypeMap1234 { + yyl1231 := r.ReadMapStart() + if yyl1231 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1166, d) + x.codecDecodeSelfFromMap(yyl1231, d) } - } else if yyct1166 == codecSelferValueTypeArray1234 { - yyl1166 := r.ReadArrayStart() - if yyl1166 == 0 { + } else if yyct1231 == codecSelferValueTypeArray1234 { + yyl1231 := r.ReadArrayStart() + if yyl1231 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1166, d) + x.codecDecodeSelfFromArray(yyl1231, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13960,12 +14374,12 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1167Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1167Slc - var yyhl1167 bool = l >= 0 - for yyj1167 := 0; ; yyj1167++ { - if yyhl1167 { - if yyj1167 >= l { + var yys1232Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1232Slc + var yyhl1232 bool = l >= 0 + for yyj1232 := 0; ; yyj1232++ { + if yyhl1232 { + if yyj1232 >= l { break } } else { @@ -13974,10 +14388,10 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1167Slc = r.DecodeBytes(yys1167Slc, true, true) - yys1167 := string(yys1167Slc) + yys1232Slc = r.DecodeBytes(yys1232Slc, true, true) + yys1232 := string(yys1232Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1167 { + switch yys1232 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -13994,31 +14408,31 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1170 := &x.ListMeta - yym1171 := z.DecBinary() - _ = yym1171 + yyv1235 := &x.ListMeta + yym1236 := z.DecBinary() + _ = yym1236 if false { - } else if z.HasExtensions() && z.DecExt(yyv1170) { + } else if z.HasExtensions() && z.DecExt(yyv1235) { } else { - z.DecFallback(yyv1170, false) + z.DecFallback(yyv1235, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1172 := &x.Items - yym1173 := z.DecBinary() - _ = yym1173 + yyv1237 := &x.Items + yym1238 := z.DecBinary() + _ = yym1238 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv1172), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv1237), d) } } default: - z.DecStructFieldNotFound(-1, yys1167) - } // end switch yys1167 - } // end for yyj1167 + z.DecStructFieldNotFound(-1, yys1232) + } // end switch yys1232 + } // end for yyj1232 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14026,16 +14440,16 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1174 int - var yyb1174 bool - var yyhl1174 bool = l >= 0 - yyj1174++ - if yyhl1174 { - yyb1174 = yyj1174 > l + var yyj1239 int + var yyb1239 bool + var yyhl1239 bool = l >= 0 + yyj1239++ + if yyhl1239 { + yyb1239 = yyj1239 > l } else { - yyb1174 = r.CheckBreak() + yyb1239 = r.CheckBreak() } - if yyb1174 { + if yyb1239 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14045,13 +14459,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1174++ - if yyhl1174 { - yyb1174 = yyj1174 > l + yyj1239++ + if yyhl1239 { + yyb1239 = yyj1239 > l } else { - yyb1174 = r.CheckBreak() + yyb1239 = r.CheckBreak() } - if yyb1174 { + if yyb1239 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14061,13 +14475,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1174++ - if yyhl1174 { - yyb1174 = yyj1174 > l + yyj1239++ + if yyhl1239 { + yyb1239 = yyj1239 > l } else { - yyb1174 = r.CheckBreak() + yyb1239 = r.CheckBreak() } - if yyb1174 { + if yyb1239 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14075,22 +14489,22 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1177 := &x.ListMeta - yym1178 := z.DecBinary() - _ = yym1178 + yyv1242 := &x.ListMeta + yym1243 := z.DecBinary() + _ = yym1243 if false { - } else if z.HasExtensions() && z.DecExt(yyv1177) { + } else if z.HasExtensions() && z.DecExt(yyv1242) { } else { - z.DecFallback(yyv1177, false) + z.DecFallback(yyv1242, false) } } - yyj1174++ - if yyhl1174 { - yyb1174 = yyj1174 > l + yyj1239++ + if yyhl1239 { + yyb1239 = yyj1239 > l } else { - yyb1174 = r.CheckBreak() + yyb1239 = r.CheckBreak() } - if yyb1174 { + if yyb1239 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14098,26 +14512,26 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1179 := &x.Items - yym1180 := z.DecBinary() - _ = yym1180 + yyv1244 := &x.Items + yym1245 := z.DecBinary() + _ = yym1245 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv1179), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv1244), d) } } for { - yyj1174++ - if yyhl1174 { - yyb1174 = yyj1174 > l + yyj1239++ + if yyhl1239 { + yyb1239 = yyj1239 > l } else { - yyb1174 = r.CheckBreak() + yyb1239 = r.CheckBreak() } - if yyb1174 { + if yyb1239 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1174-1, "") + z.DecStructFieldNotFound(yyj1239-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14127,10 +14541,10 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1181 := range v { + for _, yyv1246 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1182 := &yyv1181 - yy1182.CodecEncodeSelf(e) + yy1247 := &yyv1246 + yy1247.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14140,83 +14554,83 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1183 := *v - yyh1183, yyl1183 := z.DecSliceHelperStart() - var yyc1183 bool - if yyl1183 == 0 { - if yyv1183 == nil { - yyv1183 = []HorizontalPodAutoscaler{} - yyc1183 = true - } else if len(yyv1183) != 0 { - yyv1183 = yyv1183[:0] - yyc1183 = true + yyv1248 := *v + yyh1248, yyl1248 := z.DecSliceHelperStart() + var yyc1248 bool + if yyl1248 == 0 { + if yyv1248 == nil { + yyv1248 = []HorizontalPodAutoscaler{} + yyc1248 = true + } else if len(yyv1248) != 0 { + yyv1248 = yyv1248[:0] + yyc1248 = true } - } else if yyl1183 > 0 { - var yyrr1183, yyrl1183 int - var yyrt1183 bool - if yyl1183 > cap(yyv1183) { + } else if yyl1248 > 0 { + var yyrr1248, yyrl1248 int + var yyrt1248 bool + if yyl1248 > cap(yyv1248) { - yyrg1183 := len(yyv1183) > 0 - yyv21183 := yyv1183 - yyrl1183, yyrt1183 = z.DecInferLen(yyl1183, z.DecBasicHandle().MaxInitLen, 320) - if yyrt1183 { - if yyrl1183 <= cap(yyv1183) { - yyv1183 = yyv1183[:yyrl1183] + yyrg1248 := len(yyv1248) > 0 + yyv21248 := yyv1248 + yyrl1248, yyrt1248 = z.DecInferLen(yyl1248, z.DecBasicHandle().MaxInitLen, 320) + if yyrt1248 { + if yyrl1248 <= cap(yyv1248) { + yyv1248 = yyv1248[:yyrl1248] } else { - yyv1183 = make([]HorizontalPodAutoscaler, yyrl1183) + yyv1248 = make([]HorizontalPodAutoscaler, yyrl1248) } } else { - yyv1183 = make([]HorizontalPodAutoscaler, yyrl1183) + yyv1248 = make([]HorizontalPodAutoscaler, yyrl1248) } - yyc1183 = true - yyrr1183 = len(yyv1183) - if yyrg1183 { - copy(yyv1183, yyv21183) + yyc1248 = true + yyrr1248 = len(yyv1248) + if yyrg1248 { + copy(yyv1248, yyv21248) } - } else if yyl1183 != len(yyv1183) { - yyv1183 = yyv1183[:yyl1183] - yyc1183 = true + } else if yyl1248 != len(yyv1248) { + yyv1248 = yyv1248[:yyl1248] + yyc1248 = true } - yyj1183 := 0 - for ; yyj1183 < yyrr1183; yyj1183++ { - yyh1183.ElemContainerState(yyj1183) + yyj1248 := 0 + for ; yyj1248 < yyrr1248; yyj1248++ { + yyh1248.ElemContainerState(yyj1248) if r.TryDecodeAsNil() { - yyv1183[yyj1183] = HorizontalPodAutoscaler{} + yyv1248[yyj1248] = HorizontalPodAutoscaler{} } else { - yyv1184 := &yyv1183[yyj1183] - yyv1184.CodecDecodeSelf(d) + yyv1249 := &yyv1248[yyj1248] + yyv1249.CodecDecodeSelf(d) } } - if yyrt1183 { - for ; yyj1183 < yyl1183; yyj1183++ { - yyv1183 = append(yyv1183, HorizontalPodAutoscaler{}) - yyh1183.ElemContainerState(yyj1183) + if yyrt1248 { + for ; yyj1248 < yyl1248; yyj1248++ { + yyv1248 = append(yyv1248, HorizontalPodAutoscaler{}) + yyh1248.ElemContainerState(yyj1248) if r.TryDecodeAsNil() { - yyv1183[yyj1183] = HorizontalPodAutoscaler{} + yyv1248[yyj1248] = HorizontalPodAutoscaler{} } else { - yyv1185 := &yyv1183[yyj1183] - yyv1185.CodecDecodeSelf(d) + yyv1250 := &yyv1248[yyj1248] + yyv1250.CodecDecodeSelf(d) } } } } else { - yyj1183 := 0 - for ; !r.CheckBreak(); yyj1183++ { + yyj1248 := 0 + for ; !r.CheckBreak(); yyj1248++ { - if yyj1183 >= len(yyv1183) { - yyv1183 = append(yyv1183, HorizontalPodAutoscaler{}) // var yyz1183 HorizontalPodAutoscaler - yyc1183 = true + if yyj1248 >= len(yyv1248) { + yyv1248 = append(yyv1248, HorizontalPodAutoscaler{}) // var yyz1248 HorizontalPodAutoscaler + yyc1248 = true } - yyh1183.ElemContainerState(yyj1183) - if yyj1183 < len(yyv1183) { + yyh1248.ElemContainerState(yyj1248) + if yyj1248 < len(yyv1248) { if r.TryDecodeAsNil() { - yyv1183[yyj1183] = HorizontalPodAutoscaler{} + yyv1248[yyj1248] = HorizontalPodAutoscaler{} } else { - yyv1186 := &yyv1183[yyj1183] - yyv1186.CodecDecodeSelf(d) + yyv1251 := &yyv1248[yyj1248] + yyv1251.CodecDecodeSelf(d) } } else { @@ -14224,17 +14638,17 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } - if yyj1183 < len(yyv1183) { - yyv1183 = yyv1183[:yyj1183] - yyc1183 = true - } else if yyj1183 == 0 && yyv1183 == nil { - yyv1183 = []HorizontalPodAutoscaler{} - yyc1183 = true + if yyj1248 < len(yyv1248) { + yyv1248 = yyv1248[:yyj1248] + yyc1248 = true + } else if yyj1248 == 0 && yyv1248 == nil { + yyv1248 = []HorizontalPodAutoscaler{} + yyc1248 = true } } - yyh1183.End() - if yyc1183 { - *v = yyv1183 + yyh1248.End() + if yyc1248 { + *v = yyv1248 } } @@ -14243,10 +14657,10 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1187 := range v { + for _, yyv1252 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1188 := &yyv1187 - yy1188.CodecEncodeSelf(e) + yy1253 := &yyv1252 + yy1253.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14256,83 +14670,83 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1189 := *v - yyh1189, yyl1189 := z.DecSliceHelperStart() - var yyc1189 bool - if yyl1189 == 0 { - if yyv1189 == nil { - yyv1189 = []APIVersion{} - yyc1189 = true - } else if len(yyv1189) != 0 { - yyv1189 = yyv1189[:0] - yyc1189 = true + yyv1254 := *v + yyh1254, yyl1254 := z.DecSliceHelperStart() + var yyc1254 bool + if yyl1254 == 0 { + if yyv1254 == nil { + yyv1254 = []APIVersion{} + yyc1254 = true + } else if len(yyv1254) != 0 { + yyv1254 = yyv1254[:0] + yyc1254 = true } - } else if yyl1189 > 0 { - var yyrr1189, yyrl1189 int - var yyrt1189 bool - if yyl1189 > cap(yyv1189) { + } else if yyl1254 > 0 { + var yyrr1254, yyrl1254 int + var yyrt1254 bool + if yyl1254 > cap(yyv1254) { - yyrg1189 := len(yyv1189) > 0 - yyv21189 := yyv1189 - yyrl1189, yyrt1189 = z.DecInferLen(yyl1189, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1189 { - if yyrl1189 <= cap(yyv1189) { - yyv1189 = yyv1189[:yyrl1189] + yyrg1254 := len(yyv1254) > 0 + yyv21254 := yyv1254 + yyrl1254, yyrt1254 = z.DecInferLen(yyl1254, z.DecBasicHandle().MaxInitLen, 32) + if yyrt1254 { + if yyrl1254 <= cap(yyv1254) { + yyv1254 = yyv1254[:yyrl1254] } else { - yyv1189 = make([]APIVersion, yyrl1189) + yyv1254 = make([]APIVersion, yyrl1254) } } else { - yyv1189 = make([]APIVersion, yyrl1189) + yyv1254 = make([]APIVersion, yyrl1254) } - yyc1189 = true - yyrr1189 = len(yyv1189) - if yyrg1189 { - copy(yyv1189, yyv21189) + yyc1254 = true + yyrr1254 = len(yyv1254) + if yyrg1254 { + copy(yyv1254, yyv21254) } - } else if yyl1189 != len(yyv1189) { - yyv1189 = yyv1189[:yyl1189] - yyc1189 = true + } else if yyl1254 != len(yyv1254) { + yyv1254 = yyv1254[:yyl1254] + yyc1254 = true } - yyj1189 := 0 - for ; yyj1189 < yyrr1189; yyj1189++ { - yyh1189.ElemContainerState(yyj1189) + yyj1254 := 0 + for ; yyj1254 < yyrr1254; yyj1254++ { + yyh1254.ElemContainerState(yyj1254) if r.TryDecodeAsNil() { - yyv1189[yyj1189] = APIVersion{} + yyv1254[yyj1254] = APIVersion{} } else { - yyv1190 := &yyv1189[yyj1189] - yyv1190.CodecDecodeSelf(d) + yyv1255 := &yyv1254[yyj1254] + yyv1255.CodecDecodeSelf(d) } } - if yyrt1189 { - for ; yyj1189 < yyl1189; yyj1189++ { - yyv1189 = append(yyv1189, APIVersion{}) - yyh1189.ElemContainerState(yyj1189) + if yyrt1254 { + for ; yyj1254 < yyl1254; yyj1254++ { + yyv1254 = append(yyv1254, APIVersion{}) + yyh1254.ElemContainerState(yyj1254) if r.TryDecodeAsNil() { - yyv1189[yyj1189] = APIVersion{} + yyv1254[yyj1254] = APIVersion{} } else { - yyv1191 := &yyv1189[yyj1189] - yyv1191.CodecDecodeSelf(d) + yyv1256 := &yyv1254[yyj1254] + yyv1256.CodecDecodeSelf(d) } } } } else { - yyj1189 := 0 - for ; !r.CheckBreak(); yyj1189++ { + yyj1254 := 0 + for ; !r.CheckBreak(); yyj1254++ { - if yyj1189 >= len(yyv1189) { - yyv1189 = append(yyv1189, APIVersion{}) // var yyz1189 APIVersion - yyc1189 = true + if yyj1254 >= len(yyv1254) { + yyv1254 = append(yyv1254, APIVersion{}) // var yyz1254 APIVersion + yyc1254 = true } - yyh1189.ElemContainerState(yyj1189) - if yyj1189 < len(yyv1189) { + yyh1254.ElemContainerState(yyj1254) + if yyj1254 < len(yyv1254) { if r.TryDecodeAsNil() { - yyv1189[yyj1189] = APIVersion{} + yyv1254[yyj1254] = APIVersion{} } else { - yyv1192 := &yyv1189[yyj1189] - yyv1192.CodecDecodeSelf(d) + yyv1257 := &yyv1254[yyj1254] + yyv1257.CodecDecodeSelf(d) } } else { @@ -14340,17 +14754,17 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } - if yyj1189 < len(yyv1189) { - yyv1189 = yyv1189[:yyj1189] - yyc1189 = true - } else if yyj1189 == 0 && yyv1189 == nil { - yyv1189 = []APIVersion{} - yyc1189 = true + if yyj1254 < len(yyv1254) { + yyv1254 = yyv1254[:yyj1254] + yyc1254 = true + } else if yyj1254 == 0 && yyv1254 == nil { + yyv1254 = []APIVersion{} + yyc1254 = true } } - yyh1189.End() - if yyc1189 { - *v = yyv1189 + yyh1254.End() + if yyc1254 { + *v = yyv1254 } } @@ -14359,10 +14773,10 @@ func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1193 := range v { + for _, yyv1258 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1194 := &yyv1193 - yy1194.CodecEncodeSelf(e) + yy1259 := &yyv1258 + yy1259.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14372,83 +14786,83 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1195 := *v - yyh1195, yyl1195 := z.DecSliceHelperStart() - var yyc1195 bool - if yyl1195 == 0 { - if yyv1195 == nil { - yyv1195 = []ThirdPartyResource{} - yyc1195 = true - } else if len(yyv1195) != 0 { - yyv1195 = yyv1195[:0] - yyc1195 = true + yyv1260 := *v + yyh1260, yyl1260 := z.DecSliceHelperStart() + var yyc1260 bool + if yyl1260 == 0 { + if yyv1260 == nil { + yyv1260 = []ThirdPartyResource{} + yyc1260 = true + } else if len(yyv1260) != 0 { + yyv1260 = yyv1260[:0] + yyc1260 = true } - } else if yyl1195 > 0 { - var yyrr1195, yyrl1195 int - var yyrt1195 bool - if yyl1195 > cap(yyv1195) { + } else if yyl1260 > 0 { + var yyrr1260, yyrl1260 int + var yyrt1260 bool + if yyl1260 > cap(yyv1260) { - yyrg1195 := len(yyv1195) > 0 - yyv21195 := yyv1195 - yyrl1195, yyrt1195 = z.DecInferLen(yyl1195, z.DecBasicHandle().MaxInitLen, 232) - if yyrt1195 { - if yyrl1195 <= cap(yyv1195) { - yyv1195 = yyv1195[:yyrl1195] + yyrg1260 := len(yyv1260) > 0 + yyv21260 := yyv1260 + yyrl1260, yyrt1260 = z.DecInferLen(yyl1260, z.DecBasicHandle().MaxInitLen, 232) + if yyrt1260 { + if yyrl1260 <= cap(yyv1260) { + yyv1260 = yyv1260[:yyrl1260] } else { - yyv1195 = make([]ThirdPartyResource, yyrl1195) + yyv1260 = make([]ThirdPartyResource, yyrl1260) } } else { - yyv1195 = make([]ThirdPartyResource, yyrl1195) + yyv1260 = make([]ThirdPartyResource, yyrl1260) } - yyc1195 = true - yyrr1195 = len(yyv1195) - if yyrg1195 { - copy(yyv1195, yyv21195) + yyc1260 = true + yyrr1260 = len(yyv1260) + if yyrg1260 { + copy(yyv1260, yyv21260) } - } else if yyl1195 != len(yyv1195) { - yyv1195 = yyv1195[:yyl1195] - yyc1195 = true + } else if yyl1260 != len(yyv1260) { + yyv1260 = yyv1260[:yyl1260] + yyc1260 = true } - yyj1195 := 0 - for ; yyj1195 < yyrr1195; yyj1195++ { - yyh1195.ElemContainerState(yyj1195) + yyj1260 := 0 + for ; yyj1260 < yyrr1260; yyj1260++ { + yyh1260.ElemContainerState(yyj1260) if r.TryDecodeAsNil() { - yyv1195[yyj1195] = ThirdPartyResource{} + yyv1260[yyj1260] = ThirdPartyResource{} } else { - yyv1196 := &yyv1195[yyj1195] - yyv1196.CodecDecodeSelf(d) + yyv1261 := &yyv1260[yyj1260] + yyv1261.CodecDecodeSelf(d) } } - if yyrt1195 { - for ; yyj1195 < yyl1195; yyj1195++ { - yyv1195 = append(yyv1195, ThirdPartyResource{}) - yyh1195.ElemContainerState(yyj1195) + if yyrt1260 { + for ; yyj1260 < yyl1260; yyj1260++ { + yyv1260 = append(yyv1260, ThirdPartyResource{}) + yyh1260.ElemContainerState(yyj1260) if r.TryDecodeAsNil() { - yyv1195[yyj1195] = ThirdPartyResource{} + yyv1260[yyj1260] = ThirdPartyResource{} } else { - yyv1197 := &yyv1195[yyj1195] - yyv1197.CodecDecodeSelf(d) + yyv1262 := &yyv1260[yyj1260] + yyv1262.CodecDecodeSelf(d) } } } } else { - yyj1195 := 0 - for ; !r.CheckBreak(); yyj1195++ { + yyj1260 := 0 + for ; !r.CheckBreak(); yyj1260++ { - if yyj1195 >= len(yyv1195) { - yyv1195 = append(yyv1195, ThirdPartyResource{}) // var yyz1195 ThirdPartyResource - yyc1195 = true + if yyj1260 >= len(yyv1260) { + yyv1260 = append(yyv1260, ThirdPartyResource{}) // var yyz1260 ThirdPartyResource + yyc1260 = true } - yyh1195.ElemContainerState(yyj1195) - if yyj1195 < len(yyv1195) { + yyh1260.ElemContainerState(yyj1260) + if yyj1260 < len(yyv1260) { if r.TryDecodeAsNil() { - yyv1195[yyj1195] = ThirdPartyResource{} + yyv1260[yyj1260] = ThirdPartyResource{} } else { - yyv1198 := &yyv1195[yyj1195] - yyv1198.CodecDecodeSelf(d) + yyv1263 := &yyv1260[yyj1260] + yyv1263.CodecDecodeSelf(d) } } else { @@ -14456,17 +14870,17 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } - if yyj1195 < len(yyv1195) { - yyv1195 = yyv1195[:yyj1195] - yyc1195 = true - } else if yyj1195 == 0 && yyv1195 == nil { - yyv1195 = []ThirdPartyResource{} - yyc1195 = true + if yyj1260 < len(yyv1260) { + yyv1260 = yyv1260[:yyj1260] + yyc1260 = true + } else if yyj1260 == 0 && yyv1260 == nil { + yyv1260 = []ThirdPartyResource{} + yyc1260 = true } } - yyh1195.End() - if yyc1195 { - *v = yyv1195 + yyh1260.End() + if yyc1260 { + *v = yyv1260 } } @@ -14475,10 +14889,10 @@ func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1199 := range v { + for _, yyv1264 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1200 := &yyv1199 - yy1200.CodecEncodeSelf(e) + yy1265 := &yyv1264 + yy1265.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14488,83 +14902,83 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1201 := *v - yyh1201, yyl1201 := z.DecSliceHelperStart() - var yyc1201 bool - if yyl1201 == 0 { - if yyv1201 == nil { - yyv1201 = []Deployment{} - yyc1201 = true - } else if len(yyv1201) != 0 { - yyv1201 = yyv1201[:0] - yyc1201 = true + yyv1266 := *v + yyh1266, yyl1266 := z.DecSliceHelperStart() + var yyc1266 bool + if yyl1266 == 0 { + if yyv1266 == nil { + yyv1266 = []Deployment{} + yyc1266 = true + } else if len(yyv1266) != 0 { + yyv1266 = yyv1266[:0] + yyc1266 = true } - } else if yyl1201 > 0 { - var yyrr1201, yyrl1201 int - var yyrt1201 bool - if yyl1201 > cap(yyv1201) { + } else if yyl1266 > 0 { + var yyrr1266, yyrl1266 int + var yyrt1266 bool + if yyl1266 > cap(yyv1266) { - yyrg1201 := len(yyv1201) > 0 - yyv21201 := yyv1201 - yyrl1201, yyrt1201 = z.DecInferLen(yyl1201, z.DecBasicHandle().MaxInitLen, 592) - if yyrt1201 { - if yyrl1201 <= cap(yyv1201) { - yyv1201 = yyv1201[:yyrl1201] + yyrg1266 := len(yyv1266) > 0 + yyv21266 := yyv1266 + yyrl1266, yyrt1266 = z.DecInferLen(yyl1266, z.DecBasicHandle().MaxInitLen, 592) + if yyrt1266 { + if yyrl1266 <= cap(yyv1266) { + yyv1266 = yyv1266[:yyrl1266] } else { - yyv1201 = make([]Deployment, yyrl1201) + yyv1266 = make([]Deployment, yyrl1266) } } else { - yyv1201 = make([]Deployment, yyrl1201) + yyv1266 = make([]Deployment, yyrl1266) } - yyc1201 = true - yyrr1201 = len(yyv1201) - if yyrg1201 { - copy(yyv1201, yyv21201) + yyc1266 = true + yyrr1266 = len(yyv1266) + if yyrg1266 { + copy(yyv1266, yyv21266) } - } else if yyl1201 != len(yyv1201) { - yyv1201 = yyv1201[:yyl1201] - yyc1201 = true + } else if yyl1266 != len(yyv1266) { + yyv1266 = yyv1266[:yyl1266] + yyc1266 = true } - yyj1201 := 0 - for ; yyj1201 < yyrr1201; yyj1201++ { - yyh1201.ElemContainerState(yyj1201) + yyj1266 := 0 + for ; yyj1266 < yyrr1266; yyj1266++ { + yyh1266.ElemContainerState(yyj1266) if r.TryDecodeAsNil() { - yyv1201[yyj1201] = Deployment{} + yyv1266[yyj1266] = Deployment{} } else { - yyv1202 := &yyv1201[yyj1201] - yyv1202.CodecDecodeSelf(d) + yyv1267 := &yyv1266[yyj1266] + yyv1267.CodecDecodeSelf(d) } } - if yyrt1201 { - for ; yyj1201 < yyl1201; yyj1201++ { - yyv1201 = append(yyv1201, Deployment{}) - yyh1201.ElemContainerState(yyj1201) + if yyrt1266 { + for ; yyj1266 < yyl1266; yyj1266++ { + yyv1266 = append(yyv1266, Deployment{}) + yyh1266.ElemContainerState(yyj1266) if r.TryDecodeAsNil() { - yyv1201[yyj1201] = Deployment{} + yyv1266[yyj1266] = Deployment{} } else { - yyv1203 := &yyv1201[yyj1201] - yyv1203.CodecDecodeSelf(d) + yyv1268 := &yyv1266[yyj1266] + yyv1268.CodecDecodeSelf(d) } } } } else { - yyj1201 := 0 - for ; !r.CheckBreak(); yyj1201++ { + yyj1266 := 0 + for ; !r.CheckBreak(); yyj1266++ { - if yyj1201 >= len(yyv1201) { - yyv1201 = append(yyv1201, Deployment{}) // var yyz1201 Deployment - yyc1201 = true + if yyj1266 >= len(yyv1266) { + yyv1266 = append(yyv1266, Deployment{}) // var yyz1266 Deployment + yyc1266 = true } - yyh1201.ElemContainerState(yyj1201) - if yyj1201 < len(yyv1201) { + yyh1266.ElemContainerState(yyj1266) + if yyj1266 < len(yyv1266) { if r.TryDecodeAsNil() { - yyv1201[yyj1201] = Deployment{} + yyv1266[yyj1266] = Deployment{} } else { - yyv1204 := &yyv1201[yyj1201] - yyv1204.CodecDecodeSelf(d) + yyv1269 := &yyv1266[yyj1266] + yyv1269.CodecDecodeSelf(d) } } else { @@ -14572,17 +14986,17 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } - if yyj1201 < len(yyv1201) { - yyv1201 = yyv1201[:yyj1201] - yyc1201 = true - } else if yyj1201 == 0 && yyv1201 == nil { - yyv1201 = []Deployment{} - yyc1201 = true + if yyj1266 < len(yyv1266) { + yyv1266 = yyv1266[:yyj1266] + yyc1266 = true + } else if yyj1266 == 0 && yyv1266 == nil { + yyv1266 = []Deployment{} + yyc1266 = true } } - yyh1201.End() - if yyc1201 { - *v = yyv1201 + yyh1266.End() + if yyc1266 { + *v = yyv1266 } } @@ -14591,10 +15005,10 @@ func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1205 := range v { + for _, yyv1270 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1206 := &yyv1205 - yy1206.CodecEncodeSelf(e) + yy1271 := &yyv1270 + yy1271.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14604,83 +15018,83 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1207 := *v - yyh1207, yyl1207 := z.DecSliceHelperStart() - var yyc1207 bool - if yyl1207 == 0 { - if yyv1207 == nil { - yyv1207 = []DaemonSet{} - yyc1207 = true - } else if len(yyv1207) != 0 { - yyv1207 = yyv1207[:0] - yyc1207 = true + yyv1272 := *v + yyh1272, yyl1272 := z.DecSliceHelperStart() + var yyc1272 bool + if yyl1272 == 0 { + if yyv1272 == nil { + yyv1272 = []DaemonSet{} + yyc1272 = true + } else if len(yyv1272) != 0 { + yyv1272 = yyv1272[:0] + yyc1272 = true } - } else if yyl1207 > 0 { - var yyrr1207, yyrl1207 int - var yyrt1207 bool - if yyl1207 > cap(yyv1207) { + } else if yyl1272 > 0 { + var yyrr1272, yyrl1272 int + var yyrt1272 bool + if yyl1272 > cap(yyv1272) { - yyrg1207 := len(yyv1207) > 0 - yyv21207 := yyv1207 - yyrl1207, yyrt1207 = z.DecInferLen(yyl1207, z.DecBasicHandle().MaxInitLen, 232) - if yyrt1207 { - if yyrl1207 <= cap(yyv1207) { - yyv1207 = yyv1207[:yyrl1207] + yyrg1272 := len(yyv1272) > 0 + yyv21272 := yyv1272 + yyrl1272, yyrt1272 = z.DecInferLen(yyl1272, z.DecBasicHandle().MaxInitLen, 232) + if yyrt1272 { + if yyrl1272 <= cap(yyv1272) { + yyv1272 = yyv1272[:yyrl1272] } else { - yyv1207 = make([]DaemonSet, yyrl1207) + yyv1272 = make([]DaemonSet, yyrl1272) } } else { - yyv1207 = make([]DaemonSet, yyrl1207) + yyv1272 = make([]DaemonSet, yyrl1272) } - yyc1207 = true - yyrr1207 = len(yyv1207) - if yyrg1207 { - copy(yyv1207, yyv21207) + yyc1272 = true + yyrr1272 = len(yyv1272) + if yyrg1272 { + copy(yyv1272, yyv21272) } - } else if yyl1207 != len(yyv1207) { - yyv1207 = yyv1207[:yyl1207] - yyc1207 = true + } else if yyl1272 != len(yyv1272) { + yyv1272 = yyv1272[:yyl1272] + yyc1272 = true } - yyj1207 := 0 - for ; yyj1207 < yyrr1207; yyj1207++ { - yyh1207.ElemContainerState(yyj1207) + yyj1272 := 0 + for ; yyj1272 < yyrr1272; yyj1272++ { + yyh1272.ElemContainerState(yyj1272) if r.TryDecodeAsNil() { - yyv1207[yyj1207] = DaemonSet{} + yyv1272[yyj1272] = DaemonSet{} } else { - yyv1208 := &yyv1207[yyj1207] - yyv1208.CodecDecodeSelf(d) + yyv1273 := &yyv1272[yyj1272] + yyv1273.CodecDecodeSelf(d) } } - if yyrt1207 { - for ; yyj1207 < yyl1207; yyj1207++ { - yyv1207 = append(yyv1207, DaemonSet{}) - yyh1207.ElemContainerState(yyj1207) + if yyrt1272 { + for ; yyj1272 < yyl1272; yyj1272++ { + yyv1272 = append(yyv1272, DaemonSet{}) + yyh1272.ElemContainerState(yyj1272) if r.TryDecodeAsNil() { - yyv1207[yyj1207] = DaemonSet{} + yyv1272[yyj1272] = DaemonSet{} } else { - yyv1209 := &yyv1207[yyj1207] - yyv1209.CodecDecodeSelf(d) + yyv1274 := &yyv1272[yyj1272] + yyv1274.CodecDecodeSelf(d) } } } } else { - yyj1207 := 0 - for ; !r.CheckBreak(); yyj1207++ { + yyj1272 := 0 + for ; !r.CheckBreak(); yyj1272++ { - if yyj1207 >= len(yyv1207) { - yyv1207 = append(yyv1207, DaemonSet{}) // var yyz1207 DaemonSet - yyc1207 = true + if yyj1272 >= len(yyv1272) { + yyv1272 = append(yyv1272, DaemonSet{}) // var yyz1272 DaemonSet + yyc1272 = true } - yyh1207.ElemContainerState(yyj1207) - if yyj1207 < len(yyv1207) { + yyh1272.ElemContainerState(yyj1272) + if yyj1272 < len(yyv1272) { if r.TryDecodeAsNil() { - yyv1207[yyj1207] = DaemonSet{} + yyv1272[yyj1272] = DaemonSet{} } else { - yyv1210 := &yyv1207[yyj1207] - yyv1210.CodecDecodeSelf(d) + yyv1275 := &yyv1272[yyj1272] + yyv1275.CodecDecodeSelf(d) } } else { @@ -14688,17 +15102,17 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } } - if yyj1207 < len(yyv1207) { - yyv1207 = yyv1207[:yyj1207] - yyc1207 = true - } else if yyj1207 == 0 && yyv1207 == nil { - yyv1207 = []DaemonSet{} - yyc1207 = true + if yyj1272 < len(yyv1272) { + yyv1272 = yyv1272[:yyj1272] + yyc1272 = true + } else if yyj1272 == 0 && yyv1272 == nil { + yyv1272 = []DaemonSet{} + yyc1272 = true } } - yyh1207.End() - if yyc1207 { - *v = yyv1207 + yyh1272.End() + if yyc1272 { + *v = yyv1272 } } @@ -14707,10 +15121,10 @@ func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceDa z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1211 := range v { + for _, yyv1276 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1212 := &yyv1211 - yy1212.CodecEncodeSelf(e) + yy1277 := &yyv1276 + yy1277.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14720,83 +15134,83 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1213 := *v - yyh1213, yyl1213 := z.DecSliceHelperStart() - var yyc1213 bool - if yyl1213 == 0 { - if yyv1213 == nil { - yyv1213 = []ThirdPartyResourceData{} - yyc1213 = true - } else if len(yyv1213) != 0 { - yyv1213 = yyv1213[:0] - yyc1213 = true + yyv1278 := *v + yyh1278, yyl1278 := z.DecSliceHelperStart() + var yyc1278 bool + if yyl1278 == 0 { + if yyv1278 == nil { + yyv1278 = []ThirdPartyResourceData{} + yyc1278 = true + } else if len(yyv1278) != 0 { + yyv1278 = yyv1278[:0] + yyc1278 = true } - } else if yyl1213 > 0 { - var yyrr1213, yyrl1213 int - var yyrt1213 bool - if yyl1213 > cap(yyv1213) { + } else if yyl1278 > 0 { + var yyrr1278, yyrl1278 int + var yyrt1278 bool + if yyl1278 > cap(yyv1278) { - yyrg1213 := len(yyv1213) > 0 - yyv21213 := yyv1213 - yyrl1213, yyrt1213 = z.DecInferLen(yyl1213, z.DecBasicHandle().MaxInitLen, 216) - if yyrt1213 { - if yyrl1213 <= cap(yyv1213) { - yyv1213 = yyv1213[:yyrl1213] + yyrg1278 := len(yyv1278) > 0 + yyv21278 := yyv1278 + yyrl1278, yyrt1278 = z.DecInferLen(yyl1278, z.DecBasicHandle().MaxInitLen, 216) + if yyrt1278 { + if yyrl1278 <= cap(yyv1278) { + yyv1278 = yyv1278[:yyrl1278] } else { - yyv1213 = make([]ThirdPartyResourceData, yyrl1213) + yyv1278 = make([]ThirdPartyResourceData, yyrl1278) } } else { - yyv1213 = make([]ThirdPartyResourceData, yyrl1213) + yyv1278 = make([]ThirdPartyResourceData, yyrl1278) } - yyc1213 = true - yyrr1213 = len(yyv1213) - if yyrg1213 { - copy(yyv1213, yyv21213) + yyc1278 = true + yyrr1278 = len(yyv1278) + if yyrg1278 { + copy(yyv1278, yyv21278) } - } else if yyl1213 != len(yyv1213) { - yyv1213 = yyv1213[:yyl1213] - yyc1213 = true + } else if yyl1278 != len(yyv1278) { + yyv1278 = yyv1278[:yyl1278] + yyc1278 = true } - yyj1213 := 0 - for ; yyj1213 < yyrr1213; yyj1213++ { - yyh1213.ElemContainerState(yyj1213) + yyj1278 := 0 + for ; yyj1278 < yyrr1278; yyj1278++ { + yyh1278.ElemContainerState(yyj1278) if r.TryDecodeAsNil() { - yyv1213[yyj1213] = ThirdPartyResourceData{} + yyv1278[yyj1278] = ThirdPartyResourceData{} } else { - yyv1214 := &yyv1213[yyj1213] - yyv1214.CodecDecodeSelf(d) + yyv1279 := &yyv1278[yyj1278] + yyv1279.CodecDecodeSelf(d) } } - if yyrt1213 { - for ; yyj1213 < yyl1213; yyj1213++ { - yyv1213 = append(yyv1213, ThirdPartyResourceData{}) - yyh1213.ElemContainerState(yyj1213) + if yyrt1278 { + for ; yyj1278 < yyl1278; yyj1278++ { + yyv1278 = append(yyv1278, ThirdPartyResourceData{}) + yyh1278.ElemContainerState(yyj1278) if r.TryDecodeAsNil() { - yyv1213[yyj1213] = ThirdPartyResourceData{} + yyv1278[yyj1278] = ThirdPartyResourceData{} } else { - yyv1215 := &yyv1213[yyj1213] - yyv1215.CodecDecodeSelf(d) + yyv1280 := &yyv1278[yyj1278] + yyv1280.CodecDecodeSelf(d) } } } } else { - yyj1213 := 0 - for ; !r.CheckBreak(); yyj1213++ { + yyj1278 := 0 + for ; !r.CheckBreak(); yyj1278++ { - if yyj1213 >= len(yyv1213) { - yyv1213 = append(yyv1213, ThirdPartyResourceData{}) // var yyz1213 ThirdPartyResourceData - yyc1213 = true + if yyj1278 >= len(yyv1278) { + yyv1278 = append(yyv1278, ThirdPartyResourceData{}) // var yyz1278 ThirdPartyResourceData + yyc1278 = true } - yyh1213.ElemContainerState(yyj1213) - if yyj1213 < len(yyv1213) { + yyh1278.ElemContainerState(yyj1278) + if yyj1278 < len(yyv1278) { if r.TryDecodeAsNil() { - yyv1213[yyj1213] = ThirdPartyResourceData{} + yyv1278[yyj1278] = ThirdPartyResourceData{} } else { - yyv1216 := &yyv1213[yyj1213] - yyv1216.CodecDecodeSelf(d) + yyv1281 := &yyv1278[yyj1278] + yyv1281.CodecDecodeSelf(d) } } else { @@ -14804,17 +15218,17 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } } - if yyj1213 < len(yyv1213) { - yyv1213 = yyv1213[:yyj1213] - yyc1213 = true - } else if yyj1213 == 0 && yyv1213 == nil { - yyv1213 = []ThirdPartyResourceData{} - yyc1213 = true + if yyj1278 < len(yyv1278) { + yyv1278 = yyv1278[:yyj1278] + yyc1278 = true + } else if yyj1278 == 0 && yyv1278 == nil { + yyv1278 = []ThirdPartyResourceData{} + yyc1278 = true } } - yyh1213.End() - if yyc1213 { - *v = yyv1213 + yyh1278.End() + if yyc1278 { + *v = yyv1278 } } @@ -14823,10 +15237,10 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1217 := range v { + for _, yyv1282 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1218 := &yyv1217 - yy1218.CodecEncodeSelf(e) + yy1283 := &yyv1282 + yy1283.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14836,83 +15250,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1219 := *v - yyh1219, yyl1219 := z.DecSliceHelperStart() - var yyc1219 bool - if yyl1219 == 0 { - if yyv1219 == nil { - yyv1219 = []Job{} - yyc1219 = true - } else if len(yyv1219) != 0 { - yyv1219 = yyv1219[:0] - yyc1219 = true + yyv1284 := *v + yyh1284, yyl1284 := z.DecSliceHelperStart() + var yyc1284 bool + if yyl1284 == 0 { + if yyv1284 == nil { + yyv1284 = []Job{} + yyc1284 = true + } else if len(yyv1284) != 0 { + yyv1284 = yyv1284[:0] + yyc1284 = true } - } else if yyl1219 > 0 { - var yyrr1219, yyrl1219 int - var yyrt1219 bool - if yyl1219 > cap(yyv1219) { + } else if yyl1284 > 0 { + var yyrr1284, yyrl1284 int + var yyrt1284 bool + if yyl1284 > cap(yyv1284) { - yyrg1219 := len(yyv1219) > 0 - yyv21219 := yyv1219 - yyrl1219, yyrt1219 = z.DecInferLen(yyl1219, z.DecBasicHandle().MaxInitLen, 608) - if yyrt1219 { - if yyrl1219 <= cap(yyv1219) { - yyv1219 = yyv1219[:yyrl1219] + yyrg1284 := len(yyv1284) > 0 + yyv21284 := yyv1284 + yyrl1284, yyrt1284 = z.DecInferLen(yyl1284, z.DecBasicHandle().MaxInitLen, 616) + if yyrt1284 { + if yyrl1284 <= cap(yyv1284) { + yyv1284 = yyv1284[:yyrl1284] } else { - yyv1219 = make([]Job, yyrl1219) + yyv1284 = make([]Job, yyrl1284) } } else { - yyv1219 = make([]Job, yyrl1219) + yyv1284 = make([]Job, yyrl1284) } - yyc1219 = true - yyrr1219 = len(yyv1219) - if yyrg1219 { - copy(yyv1219, yyv21219) + yyc1284 = true + yyrr1284 = len(yyv1284) + if yyrg1284 { + copy(yyv1284, yyv21284) } - } else if yyl1219 != len(yyv1219) { - yyv1219 = yyv1219[:yyl1219] - yyc1219 = true + } else if yyl1284 != len(yyv1284) { + yyv1284 = yyv1284[:yyl1284] + yyc1284 = true } - yyj1219 := 0 - for ; yyj1219 < yyrr1219; yyj1219++ { - yyh1219.ElemContainerState(yyj1219) + yyj1284 := 0 + for ; yyj1284 < yyrr1284; yyj1284++ { + yyh1284.ElemContainerState(yyj1284) if r.TryDecodeAsNil() { - yyv1219[yyj1219] = Job{} + yyv1284[yyj1284] = Job{} } else { - yyv1220 := &yyv1219[yyj1219] - yyv1220.CodecDecodeSelf(d) + yyv1285 := &yyv1284[yyj1284] + yyv1285.CodecDecodeSelf(d) } } - if yyrt1219 { - for ; yyj1219 < yyl1219; yyj1219++ { - yyv1219 = append(yyv1219, Job{}) - yyh1219.ElemContainerState(yyj1219) + if yyrt1284 { + for ; yyj1284 < yyl1284; yyj1284++ { + yyv1284 = append(yyv1284, Job{}) + yyh1284.ElemContainerState(yyj1284) if r.TryDecodeAsNil() { - yyv1219[yyj1219] = Job{} + yyv1284[yyj1284] = Job{} } else { - yyv1221 := &yyv1219[yyj1219] - yyv1221.CodecDecodeSelf(d) + yyv1286 := &yyv1284[yyj1284] + yyv1286.CodecDecodeSelf(d) } } } } else { - yyj1219 := 0 - for ; !r.CheckBreak(); yyj1219++ { + yyj1284 := 0 + for ; !r.CheckBreak(); yyj1284++ { - if yyj1219 >= len(yyv1219) { - yyv1219 = append(yyv1219, Job{}) // var yyz1219 Job - yyc1219 = true + if yyj1284 >= len(yyv1284) { + yyv1284 = append(yyv1284, Job{}) // var yyz1284 Job + yyc1284 = true } - yyh1219.ElemContainerState(yyj1219) - if yyj1219 < len(yyv1219) { + yyh1284.ElemContainerState(yyj1284) + if yyj1284 < len(yyv1284) { if r.TryDecodeAsNil() { - yyv1219[yyj1219] = Job{} + yyv1284[yyj1284] = Job{} } else { - yyv1222 := &yyv1219[yyj1219] - yyv1222.CodecDecodeSelf(d) + yyv1287 := &yyv1284[yyj1284] + yyv1287.CodecDecodeSelf(d) } } else { @@ -14920,17 +15334,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj1219 < len(yyv1219) { - yyv1219 = yyv1219[:yyj1219] - yyc1219 = true - } else if yyj1219 == 0 && yyv1219 == nil { - yyv1219 = []Job{} - yyc1219 = true + if yyj1284 < len(yyv1284) { + yyv1284 = yyv1284[:yyj1284] + yyc1284 = true + } else if yyj1284 == 0 && yyv1284 == nil { + yyv1284 = []Job{} + yyc1284 = true } } - yyh1219.End() - if yyc1219 { - *v = yyv1219 + yyh1284.End() + if yyc1284 { + *v = yyv1284 } } @@ -14939,10 +15353,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1223 := range v { + for _, yyv1288 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1224 := &yyv1223 - yy1224.CodecEncodeSelf(e) + yy1289 := &yyv1288 + yy1289.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14952,83 +15366,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1225 := *v - yyh1225, yyl1225 := z.DecSliceHelperStart() - var yyc1225 bool - if yyl1225 == 0 { - if yyv1225 == nil { - yyv1225 = []JobCondition{} - yyc1225 = true - } else if len(yyv1225) != 0 { - yyv1225 = yyv1225[:0] - yyc1225 = true + yyv1290 := *v + yyh1290, yyl1290 := z.DecSliceHelperStart() + var yyc1290 bool + if yyl1290 == 0 { + if yyv1290 == nil { + yyv1290 = []JobCondition{} + yyc1290 = true + } else if len(yyv1290) != 0 { + yyv1290 = yyv1290[:0] + yyc1290 = true } - } else if yyl1225 > 0 { - var yyrr1225, yyrl1225 int - var yyrt1225 bool - if yyl1225 > cap(yyv1225) { + } else if yyl1290 > 0 { + var yyrr1290, yyrl1290 int + var yyrt1290 bool + if yyl1290 > cap(yyv1290) { - yyrg1225 := len(yyv1225) > 0 - yyv21225 := yyv1225 - yyrl1225, yyrt1225 = z.DecInferLen(yyl1225, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1225 { - if yyrl1225 <= cap(yyv1225) { - yyv1225 = yyv1225[:yyrl1225] + yyrg1290 := len(yyv1290) > 0 + yyv21290 := yyv1290 + yyrl1290, yyrt1290 = z.DecInferLen(yyl1290, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1290 { + if yyrl1290 <= cap(yyv1290) { + yyv1290 = yyv1290[:yyrl1290] } else { - yyv1225 = make([]JobCondition, yyrl1225) + yyv1290 = make([]JobCondition, yyrl1290) } } else { - yyv1225 = make([]JobCondition, yyrl1225) + yyv1290 = make([]JobCondition, yyrl1290) } - yyc1225 = true - yyrr1225 = len(yyv1225) - if yyrg1225 { - copy(yyv1225, yyv21225) + yyc1290 = true + yyrr1290 = len(yyv1290) + if yyrg1290 { + copy(yyv1290, yyv21290) } - } else if yyl1225 != len(yyv1225) { - yyv1225 = yyv1225[:yyl1225] - yyc1225 = true + } else if yyl1290 != len(yyv1290) { + yyv1290 = yyv1290[:yyl1290] + yyc1290 = true } - yyj1225 := 0 - for ; yyj1225 < yyrr1225; yyj1225++ { - yyh1225.ElemContainerState(yyj1225) + yyj1290 := 0 + for ; yyj1290 < yyrr1290; yyj1290++ { + yyh1290.ElemContainerState(yyj1290) if r.TryDecodeAsNil() { - yyv1225[yyj1225] = JobCondition{} + yyv1290[yyj1290] = JobCondition{} } else { - yyv1226 := &yyv1225[yyj1225] - yyv1226.CodecDecodeSelf(d) + yyv1291 := &yyv1290[yyj1290] + yyv1291.CodecDecodeSelf(d) } } - if yyrt1225 { - for ; yyj1225 < yyl1225; yyj1225++ { - yyv1225 = append(yyv1225, JobCondition{}) - yyh1225.ElemContainerState(yyj1225) + if yyrt1290 { + for ; yyj1290 < yyl1290; yyj1290++ { + yyv1290 = append(yyv1290, JobCondition{}) + yyh1290.ElemContainerState(yyj1290) if r.TryDecodeAsNil() { - yyv1225[yyj1225] = JobCondition{} + yyv1290[yyj1290] = JobCondition{} } else { - yyv1227 := &yyv1225[yyj1225] - yyv1227.CodecDecodeSelf(d) + yyv1292 := &yyv1290[yyj1290] + yyv1292.CodecDecodeSelf(d) } } } } else { - yyj1225 := 0 - for ; !r.CheckBreak(); yyj1225++ { + yyj1290 := 0 + for ; !r.CheckBreak(); yyj1290++ { - if yyj1225 >= len(yyv1225) { - yyv1225 = append(yyv1225, JobCondition{}) // var yyz1225 JobCondition - yyc1225 = true + if yyj1290 >= len(yyv1290) { + yyv1290 = append(yyv1290, JobCondition{}) // var yyz1290 JobCondition + yyc1290 = true } - yyh1225.ElemContainerState(yyj1225) - if yyj1225 < len(yyv1225) { + yyh1290.ElemContainerState(yyj1290) + if yyj1290 < len(yyv1290) { if r.TryDecodeAsNil() { - yyv1225[yyj1225] = JobCondition{} + yyv1290[yyj1290] = JobCondition{} } else { - yyv1228 := &yyv1225[yyj1225] - yyv1228.CodecDecodeSelf(d) + yyv1293 := &yyv1290[yyj1290] + yyv1293.CodecDecodeSelf(d) } } else { @@ -15036,17 +15450,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj1225 < len(yyv1225) { - yyv1225 = yyv1225[:yyj1225] - yyc1225 = true - } else if yyj1225 == 0 && yyv1225 == nil { - yyv1225 = []JobCondition{} - yyc1225 = true + if yyj1290 < len(yyv1290) { + yyv1290 = yyv1290[:yyj1290] + yyc1290 = true + } else if yyj1290 == 0 && yyv1290 == nil { + yyv1290 = []JobCondition{} + yyc1290 = true } } - yyh1225.End() - if yyc1225 { - *v = yyv1225 + yyh1290.End() + if yyc1290 { + *v = yyv1290 } } @@ -15055,10 +15469,10 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1229 := range v { + for _, yyv1294 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1230 := &yyv1229 - yy1230.CodecEncodeSelf(e) + yy1295 := &yyv1294 + yy1295.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15068,83 +15482,83 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1231 := *v - yyh1231, yyl1231 := z.DecSliceHelperStart() - var yyc1231 bool - if yyl1231 == 0 { - if yyv1231 == nil { - yyv1231 = []Ingress{} - yyc1231 = true - } else if len(yyv1231) != 0 { - yyv1231 = yyv1231[:0] - yyc1231 = true + yyv1296 := *v + yyh1296, yyl1296 := z.DecSliceHelperStart() + var yyc1296 bool + if yyl1296 == 0 { + if yyv1296 == nil { + yyv1296 = []Ingress{} + yyc1296 = true + } else if len(yyv1296) != 0 { + yyv1296 = yyv1296[:0] + yyc1296 = true } - } else if yyl1231 > 0 { - var yyrr1231, yyrl1231 int - var yyrt1231 bool - if yyl1231 > cap(yyv1231) { + } else if yyl1296 > 0 { + var yyrr1296, yyrl1296 int + var yyrt1296 bool + if yyl1296 > cap(yyv1296) { - yyrg1231 := len(yyv1231) > 0 - yyv21231 := yyv1231 - yyrl1231, yyrt1231 = z.DecInferLen(yyl1231, z.DecBasicHandle().MaxInitLen, 248) - if yyrt1231 { - if yyrl1231 <= cap(yyv1231) { - yyv1231 = yyv1231[:yyrl1231] + yyrg1296 := len(yyv1296) > 0 + yyv21296 := yyv1296 + yyrl1296, yyrt1296 = z.DecInferLen(yyl1296, z.DecBasicHandle().MaxInitLen, 248) + if yyrt1296 { + if yyrl1296 <= cap(yyv1296) { + yyv1296 = yyv1296[:yyrl1296] } else { - yyv1231 = make([]Ingress, yyrl1231) + yyv1296 = make([]Ingress, yyrl1296) } } else { - yyv1231 = make([]Ingress, yyrl1231) + yyv1296 = make([]Ingress, yyrl1296) } - yyc1231 = true - yyrr1231 = len(yyv1231) - if yyrg1231 { - copy(yyv1231, yyv21231) + yyc1296 = true + yyrr1296 = len(yyv1296) + if yyrg1296 { + copy(yyv1296, yyv21296) } - } else if yyl1231 != len(yyv1231) { - yyv1231 = yyv1231[:yyl1231] - yyc1231 = true + } else if yyl1296 != len(yyv1296) { + yyv1296 = yyv1296[:yyl1296] + yyc1296 = true } - yyj1231 := 0 - for ; yyj1231 < yyrr1231; yyj1231++ { - yyh1231.ElemContainerState(yyj1231) + yyj1296 := 0 + for ; yyj1296 < yyrr1296; yyj1296++ { + yyh1296.ElemContainerState(yyj1296) if r.TryDecodeAsNil() { - yyv1231[yyj1231] = Ingress{} + yyv1296[yyj1296] = Ingress{} } else { - yyv1232 := &yyv1231[yyj1231] - yyv1232.CodecDecodeSelf(d) + yyv1297 := &yyv1296[yyj1296] + yyv1297.CodecDecodeSelf(d) } } - if yyrt1231 { - for ; yyj1231 < yyl1231; yyj1231++ { - yyv1231 = append(yyv1231, Ingress{}) - yyh1231.ElemContainerState(yyj1231) + if yyrt1296 { + for ; yyj1296 < yyl1296; yyj1296++ { + yyv1296 = append(yyv1296, Ingress{}) + yyh1296.ElemContainerState(yyj1296) if r.TryDecodeAsNil() { - yyv1231[yyj1231] = Ingress{} + yyv1296[yyj1296] = Ingress{} } else { - yyv1233 := &yyv1231[yyj1231] - yyv1233.CodecDecodeSelf(d) + yyv1298 := &yyv1296[yyj1296] + yyv1298.CodecDecodeSelf(d) } } } } else { - yyj1231 := 0 - for ; !r.CheckBreak(); yyj1231++ { + yyj1296 := 0 + for ; !r.CheckBreak(); yyj1296++ { - if yyj1231 >= len(yyv1231) { - yyv1231 = append(yyv1231, Ingress{}) // var yyz1231 Ingress - yyc1231 = true + if yyj1296 >= len(yyv1296) { + yyv1296 = append(yyv1296, Ingress{}) // var yyz1296 Ingress + yyc1296 = true } - yyh1231.ElemContainerState(yyj1231) - if yyj1231 < len(yyv1231) { + yyh1296.ElemContainerState(yyj1296) + if yyj1296 < len(yyv1296) { if r.TryDecodeAsNil() { - yyv1231[yyj1231] = Ingress{} + yyv1296[yyj1296] = Ingress{} } else { - yyv1234 := &yyv1231[yyj1231] - yyv1234.CodecDecodeSelf(d) + yyv1299 := &yyv1296[yyj1296] + yyv1299.CodecDecodeSelf(d) } } else { @@ -15152,17 +15566,17 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } - if yyj1231 < len(yyv1231) { - yyv1231 = yyv1231[:yyj1231] - yyc1231 = true - } else if yyj1231 == 0 && yyv1231 == nil { - yyv1231 = []Ingress{} - yyc1231 = true + if yyj1296 < len(yyv1296) { + yyv1296 = yyv1296[:yyj1296] + yyc1296 = true + } else if yyj1296 == 0 && yyv1296 == nil { + yyv1296 = []Ingress{} + yyc1296 = true } } - yyh1231.End() - if yyc1231 { - *v = yyv1231 + yyh1296.End() + if yyc1296 { + *v = yyv1296 } } @@ -15171,10 +15585,10 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1235 := range v { + for _, yyv1300 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1236 := &yyv1235 - yy1236.CodecEncodeSelf(e) + yy1301 := &yyv1300 + yy1301.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15184,83 +15598,83 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1237 := *v - yyh1237, yyl1237 := z.DecSliceHelperStart() - var yyc1237 bool - if yyl1237 == 0 { - if yyv1237 == nil { - yyv1237 = []IngressRule{} - yyc1237 = true - } else if len(yyv1237) != 0 { - yyv1237 = yyv1237[:0] - yyc1237 = true + yyv1302 := *v + yyh1302, yyl1302 := z.DecSliceHelperStart() + var yyc1302 bool + if yyl1302 == 0 { + if yyv1302 == nil { + yyv1302 = []IngressRule{} + yyc1302 = true + } else if len(yyv1302) != 0 { + yyv1302 = yyv1302[:0] + yyc1302 = true } - } else if yyl1237 > 0 { - var yyrr1237, yyrl1237 int - var yyrt1237 bool - if yyl1237 > cap(yyv1237) { + } else if yyl1302 > 0 { + var yyrr1302, yyrl1302 int + var yyrt1302 bool + if yyl1302 > cap(yyv1302) { - yyrg1237 := len(yyv1237) > 0 - yyv21237 := yyv1237 - yyrl1237, yyrt1237 = z.DecInferLen(yyl1237, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1237 { - if yyrl1237 <= cap(yyv1237) { - yyv1237 = yyv1237[:yyrl1237] + yyrg1302 := len(yyv1302) > 0 + yyv21302 := yyv1302 + yyrl1302, yyrt1302 = z.DecInferLen(yyl1302, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1302 { + if yyrl1302 <= cap(yyv1302) { + yyv1302 = yyv1302[:yyrl1302] } else { - yyv1237 = make([]IngressRule, yyrl1237) + yyv1302 = make([]IngressRule, yyrl1302) } } else { - yyv1237 = make([]IngressRule, yyrl1237) + yyv1302 = make([]IngressRule, yyrl1302) } - yyc1237 = true - yyrr1237 = len(yyv1237) - if yyrg1237 { - copy(yyv1237, yyv21237) + yyc1302 = true + yyrr1302 = len(yyv1302) + if yyrg1302 { + copy(yyv1302, yyv21302) } - } else if yyl1237 != len(yyv1237) { - yyv1237 = yyv1237[:yyl1237] - yyc1237 = true + } else if yyl1302 != len(yyv1302) { + yyv1302 = yyv1302[:yyl1302] + yyc1302 = true } - yyj1237 := 0 - for ; yyj1237 < yyrr1237; yyj1237++ { - yyh1237.ElemContainerState(yyj1237) + yyj1302 := 0 + for ; yyj1302 < yyrr1302; yyj1302++ { + yyh1302.ElemContainerState(yyj1302) if r.TryDecodeAsNil() { - yyv1237[yyj1237] = IngressRule{} + yyv1302[yyj1302] = IngressRule{} } else { - yyv1238 := &yyv1237[yyj1237] - yyv1238.CodecDecodeSelf(d) + yyv1303 := &yyv1302[yyj1302] + yyv1303.CodecDecodeSelf(d) } } - if yyrt1237 { - for ; yyj1237 < yyl1237; yyj1237++ { - yyv1237 = append(yyv1237, IngressRule{}) - yyh1237.ElemContainerState(yyj1237) + if yyrt1302 { + for ; yyj1302 < yyl1302; yyj1302++ { + yyv1302 = append(yyv1302, IngressRule{}) + yyh1302.ElemContainerState(yyj1302) if r.TryDecodeAsNil() { - yyv1237[yyj1237] = IngressRule{} + yyv1302[yyj1302] = IngressRule{} } else { - yyv1239 := &yyv1237[yyj1237] - yyv1239.CodecDecodeSelf(d) + yyv1304 := &yyv1302[yyj1302] + yyv1304.CodecDecodeSelf(d) } } } } else { - yyj1237 := 0 - for ; !r.CheckBreak(); yyj1237++ { + yyj1302 := 0 + for ; !r.CheckBreak(); yyj1302++ { - if yyj1237 >= len(yyv1237) { - yyv1237 = append(yyv1237, IngressRule{}) // var yyz1237 IngressRule - yyc1237 = true + if yyj1302 >= len(yyv1302) { + yyv1302 = append(yyv1302, IngressRule{}) // var yyz1302 IngressRule + yyc1302 = true } - yyh1237.ElemContainerState(yyj1237) - if yyj1237 < len(yyv1237) { + yyh1302.ElemContainerState(yyj1302) + if yyj1302 < len(yyv1302) { if r.TryDecodeAsNil() { - yyv1237[yyj1237] = IngressRule{} + yyv1302[yyj1302] = IngressRule{} } else { - yyv1240 := &yyv1237[yyj1237] - yyv1240.CodecDecodeSelf(d) + yyv1305 := &yyv1302[yyj1302] + yyv1305.CodecDecodeSelf(d) } } else { @@ -15268,17 +15682,17 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } } - if yyj1237 < len(yyv1237) { - yyv1237 = yyv1237[:yyj1237] - yyc1237 = true - } else if yyj1237 == 0 && yyv1237 == nil { - yyv1237 = []IngressRule{} - yyc1237 = true + if yyj1302 < len(yyv1302) { + yyv1302 = yyv1302[:yyj1302] + yyc1302 = true + } else if yyj1302 == 0 && yyv1302 == nil { + yyv1302 = []IngressRule{} + yyc1302 = true } } - yyh1237.End() - if yyc1237 { - *v = yyv1237 + yyh1302.End() + if yyc1302 { + *v = yyv1302 } } @@ -15287,10 +15701,10 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1241 := range v { + for _, yyv1306 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1242 := &yyv1241 - yy1242.CodecEncodeSelf(e) + yy1307 := &yyv1306 + yy1307.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15300,83 +15714,83 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1243 := *v - yyh1243, yyl1243 := z.DecSliceHelperStart() - var yyc1243 bool - if yyl1243 == 0 { - if yyv1243 == nil { - yyv1243 = []HTTPIngressPath{} - yyc1243 = true - } else if len(yyv1243) != 0 { - yyv1243 = yyv1243[:0] - yyc1243 = true + yyv1308 := *v + yyh1308, yyl1308 := z.DecSliceHelperStart() + var yyc1308 bool + if yyl1308 == 0 { + if yyv1308 == nil { + yyv1308 = []HTTPIngressPath{} + yyc1308 = true + } else if len(yyv1308) != 0 { + yyv1308 = yyv1308[:0] + yyc1308 = true } - } else if yyl1243 > 0 { - var yyrr1243, yyrl1243 int - var yyrt1243 bool - if yyl1243 > cap(yyv1243) { + } else if yyl1308 > 0 { + var yyrr1308, yyrl1308 int + var yyrt1308 bool + if yyl1308 > cap(yyv1308) { - yyrg1243 := len(yyv1243) > 0 - yyv21243 := yyv1243 - yyrl1243, yyrt1243 = z.DecInferLen(yyl1243, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1243 { - if yyrl1243 <= cap(yyv1243) { - yyv1243 = yyv1243[:yyrl1243] + yyrg1308 := len(yyv1308) > 0 + yyv21308 := yyv1308 + yyrl1308, yyrt1308 = z.DecInferLen(yyl1308, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1308 { + if yyrl1308 <= cap(yyv1308) { + yyv1308 = yyv1308[:yyrl1308] } else { - yyv1243 = make([]HTTPIngressPath, yyrl1243) + yyv1308 = make([]HTTPIngressPath, yyrl1308) } } else { - yyv1243 = make([]HTTPIngressPath, yyrl1243) + yyv1308 = make([]HTTPIngressPath, yyrl1308) } - yyc1243 = true - yyrr1243 = len(yyv1243) - if yyrg1243 { - copy(yyv1243, yyv21243) + yyc1308 = true + yyrr1308 = len(yyv1308) + if yyrg1308 { + copy(yyv1308, yyv21308) } - } else if yyl1243 != len(yyv1243) { - yyv1243 = yyv1243[:yyl1243] - yyc1243 = true + } else if yyl1308 != len(yyv1308) { + yyv1308 = yyv1308[:yyl1308] + yyc1308 = true } - yyj1243 := 0 - for ; yyj1243 < yyrr1243; yyj1243++ { - yyh1243.ElemContainerState(yyj1243) + yyj1308 := 0 + for ; yyj1308 < yyrr1308; yyj1308++ { + yyh1308.ElemContainerState(yyj1308) if r.TryDecodeAsNil() { - yyv1243[yyj1243] = HTTPIngressPath{} + yyv1308[yyj1308] = HTTPIngressPath{} } else { - yyv1244 := &yyv1243[yyj1243] - yyv1244.CodecDecodeSelf(d) + yyv1309 := &yyv1308[yyj1308] + yyv1309.CodecDecodeSelf(d) } } - if yyrt1243 { - for ; yyj1243 < yyl1243; yyj1243++ { - yyv1243 = append(yyv1243, HTTPIngressPath{}) - yyh1243.ElemContainerState(yyj1243) + if yyrt1308 { + for ; yyj1308 < yyl1308; yyj1308++ { + yyv1308 = append(yyv1308, HTTPIngressPath{}) + yyh1308.ElemContainerState(yyj1308) if r.TryDecodeAsNil() { - yyv1243[yyj1243] = HTTPIngressPath{} + yyv1308[yyj1308] = HTTPIngressPath{} } else { - yyv1245 := &yyv1243[yyj1243] - yyv1245.CodecDecodeSelf(d) + yyv1310 := &yyv1308[yyj1308] + yyv1310.CodecDecodeSelf(d) } } } } else { - yyj1243 := 0 - for ; !r.CheckBreak(); yyj1243++ { + yyj1308 := 0 + for ; !r.CheckBreak(); yyj1308++ { - if yyj1243 >= len(yyv1243) { - yyv1243 = append(yyv1243, HTTPIngressPath{}) // var yyz1243 HTTPIngressPath - yyc1243 = true + if yyj1308 >= len(yyv1308) { + yyv1308 = append(yyv1308, HTTPIngressPath{}) // var yyz1308 HTTPIngressPath + yyc1308 = true } - yyh1243.ElemContainerState(yyj1243) - if yyj1243 < len(yyv1243) { + yyh1308.ElemContainerState(yyj1308) + if yyj1308 < len(yyv1308) { if r.TryDecodeAsNil() { - yyv1243[yyj1243] = HTTPIngressPath{} + yyv1308[yyj1308] = HTTPIngressPath{} } else { - yyv1246 := &yyv1243[yyj1243] - yyv1246.CodecDecodeSelf(d) + yyv1311 := &yyv1308[yyj1308] + yyv1311.CodecDecodeSelf(d) } } else { @@ -15384,17 +15798,17 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } } - if yyj1243 < len(yyv1243) { - yyv1243 = yyv1243[:yyj1243] - yyc1243 = true - } else if yyj1243 == 0 && yyv1243 == nil { - yyv1243 = []HTTPIngressPath{} - yyc1243 = true + if yyj1308 < len(yyv1308) { + yyv1308 = yyv1308[:yyj1308] + yyc1308 = true + } else if yyj1308 == 0 && yyv1308 == nil { + yyv1308 = []HTTPIngressPath{} + yyc1308 = true } } - yyh1243.End() - if yyc1243 { - *v = yyv1243 + yyh1308.End() + if yyc1308 { + *v = yyv1308 } } @@ -15403,10 +15817,10 @@ func (x codecSelfer1234) encSliceNodeUtilization(v []NodeUtilization, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1247 := range v { + for _, yyv1312 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1248 := &yyv1247 - yy1248.CodecEncodeSelf(e) + yy1313 := &yyv1312 + yy1313.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15416,83 +15830,83 @@ func (x codecSelfer1234) decSliceNodeUtilization(v *[]NodeUtilization, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1249 := *v - yyh1249, yyl1249 := z.DecSliceHelperStart() - var yyc1249 bool - if yyl1249 == 0 { - if yyv1249 == nil { - yyv1249 = []NodeUtilization{} - yyc1249 = true - } else if len(yyv1249) != 0 { - yyv1249 = yyv1249[:0] - yyc1249 = true + yyv1314 := *v + yyh1314, yyl1314 := z.DecSliceHelperStart() + var yyc1314 bool + if yyl1314 == 0 { + if yyv1314 == nil { + yyv1314 = []NodeUtilization{} + yyc1314 = true + } else if len(yyv1314) != 0 { + yyv1314 = yyv1314[:0] + yyc1314 = true } - } else if yyl1249 > 0 { - var yyrr1249, yyrl1249 int - var yyrt1249 bool - if yyl1249 > cap(yyv1249) { + } else if yyl1314 > 0 { + var yyrr1314, yyrl1314 int + var yyrt1314 bool + if yyl1314 > cap(yyv1314) { - yyrg1249 := len(yyv1249) > 0 - yyv21249 := yyv1249 - yyrl1249, yyrt1249 = z.DecInferLen(yyl1249, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1249 { - if yyrl1249 <= cap(yyv1249) { - yyv1249 = yyv1249[:yyrl1249] + yyrg1314 := len(yyv1314) > 0 + yyv21314 := yyv1314 + yyrl1314, yyrt1314 = z.DecInferLen(yyl1314, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1314 { + if yyrl1314 <= cap(yyv1314) { + yyv1314 = yyv1314[:yyrl1314] } else { - yyv1249 = make([]NodeUtilization, yyrl1249) + yyv1314 = make([]NodeUtilization, yyrl1314) } } else { - yyv1249 = make([]NodeUtilization, yyrl1249) + yyv1314 = make([]NodeUtilization, yyrl1314) } - yyc1249 = true - yyrr1249 = len(yyv1249) - if yyrg1249 { - copy(yyv1249, yyv21249) + yyc1314 = true + yyrr1314 = len(yyv1314) + if yyrg1314 { + copy(yyv1314, yyv21314) } - } else if yyl1249 != len(yyv1249) { - yyv1249 = yyv1249[:yyl1249] - yyc1249 = true + } else if yyl1314 != len(yyv1314) { + yyv1314 = yyv1314[:yyl1314] + yyc1314 = true } - yyj1249 := 0 - for ; yyj1249 < yyrr1249; yyj1249++ { - yyh1249.ElemContainerState(yyj1249) + yyj1314 := 0 + for ; yyj1314 < yyrr1314; yyj1314++ { + yyh1314.ElemContainerState(yyj1314) if r.TryDecodeAsNil() { - yyv1249[yyj1249] = NodeUtilization{} + yyv1314[yyj1314] = NodeUtilization{} } else { - yyv1250 := &yyv1249[yyj1249] - yyv1250.CodecDecodeSelf(d) + yyv1315 := &yyv1314[yyj1314] + yyv1315.CodecDecodeSelf(d) } } - if yyrt1249 { - for ; yyj1249 < yyl1249; yyj1249++ { - yyv1249 = append(yyv1249, NodeUtilization{}) - yyh1249.ElemContainerState(yyj1249) + if yyrt1314 { + for ; yyj1314 < yyl1314; yyj1314++ { + yyv1314 = append(yyv1314, NodeUtilization{}) + yyh1314.ElemContainerState(yyj1314) if r.TryDecodeAsNil() { - yyv1249[yyj1249] = NodeUtilization{} + yyv1314[yyj1314] = NodeUtilization{} } else { - yyv1251 := &yyv1249[yyj1249] - yyv1251.CodecDecodeSelf(d) + yyv1316 := &yyv1314[yyj1314] + yyv1316.CodecDecodeSelf(d) } } } } else { - yyj1249 := 0 - for ; !r.CheckBreak(); yyj1249++ { + yyj1314 := 0 + for ; !r.CheckBreak(); yyj1314++ { - if yyj1249 >= len(yyv1249) { - yyv1249 = append(yyv1249, NodeUtilization{}) // var yyz1249 NodeUtilization - yyc1249 = true + if yyj1314 >= len(yyv1314) { + yyv1314 = append(yyv1314, NodeUtilization{}) // var yyz1314 NodeUtilization + yyc1314 = true } - yyh1249.ElemContainerState(yyj1249) - if yyj1249 < len(yyv1249) { + yyh1314.ElemContainerState(yyj1314) + if yyj1314 < len(yyv1314) { if r.TryDecodeAsNil() { - yyv1249[yyj1249] = NodeUtilization{} + yyv1314[yyj1314] = NodeUtilization{} } else { - yyv1252 := &yyv1249[yyj1249] - yyv1252.CodecDecodeSelf(d) + yyv1317 := &yyv1314[yyj1314] + yyv1317.CodecDecodeSelf(d) } } else { @@ -15500,17 +15914,17 @@ func (x codecSelfer1234) decSliceNodeUtilization(v *[]NodeUtilization, d *codec1 } } - if yyj1249 < len(yyv1249) { - yyv1249 = yyv1249[:yyj1249] - yyc1249 = true - } else if yyj1249 == 0 && yyv1249 == nil { - yyv1249 = []NodeUtilization{} - yyc1249 = true + if yyj1314 < len(yyv1314) { + yyv1314 = yyv1314[:yyj1314] + yyc1314 = true + } else if yyj1314 == 0 && yyv1314 == nil { + yyv1314 = []NodeUtilization{} + yyc1314 = true } } - yyh1249.End() - if yyc1249 { - *v = yyv1249 + yyh1314.End() + if yyc1314 { + *v = yyv1314 } } @@ -15519,10 +15933,10 @@ func (x codecSelfer1234) encSliceClusterAutoscaler(v []ClusterAutoscaler, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1253 := range v { + for _, yyv1318 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1254 := &yyv1253 - yy1254.CodecEncodeSelf(e) + yy1319 := &yyv1318 + yy1319.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15532,83 +15946,83 @@ func (x codecSelfer1234) decSliceClusterAutoscaler(v *[]ClusterAutoscaler, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1255 := *v - yyh1255, yyl1255 := z.DecSliceHelperStart() - var yyc1255 bool - if yyl1255 == 0 { - if yyv1255 == nil { - yyv1255 = []ClusterAutoscaler{} - yyc1255 = true - } else if len(yyv1255) != 0 { - yyv1255 = yyv1255[:0] - yyc1255 = true + yyv1320 := *v + yyh1320, yyl1320 := z.DecSliceHelperStart() + var yyc1320 bool + if yyl1320 == 0 { + if yyv1320 == nil { + yyv1320 = []ClusterAutoscaler{} + yyc1320 = true + } else if len(yyv1320) != 0 { + yyv1320 = yyv1320[:0] + yyc1320 = true } - } else if yyl1255 > 0 { - var yyrr1255, yyrl1255 int - var yyrt1255 bool - if yyl1255 > cap(yyv1255) { + } else if yyl1320 > 0 { + var yyrr1320, yyrl1320 int + var yyrt1320 bool + if yyl1320 > cap(yyv1320) { - yyrg1255 := len(yyv1255) > 0 - yyv21255 := yyv1255 - yyrl1255, yyrt1255 = z.DecInferLen(yyl1255, z.DecBasicHandle().MaxInitLen, 232) - if yyrt1255 { - if yyrl1255 <= cap(yyv1255) { - yyv1255 = yyv1255[:yyrl1255] + yyrg1320 := len(yyv1320) > 0 + yyv21320 := yyv1320 + yyrl1320, yyrt1320 = z.DecInferLen(yyl1320, z.DecBasicHandle().MaxInitLen, 232) + if yyrt1320 { + if yyrl1320 <= cap(yyv1320) { + yyv1320 = yyv1320[:yyrl1320] } else { - yyv1255 = make([]ClusterAutoscaler, yyrl1255) + yyv1320 = make([]ClusterAutoscaler, yyrl1320) } } else { - yyv1255 = make([]ClusterAutoscaler, yyrl1255) + yyv1320 = make([]ClusterAutoscaler, yyrl1320) } - yyc1255 = true - yyrr1255 = len(yyv1255) - if yyrg1255 { - copy(yyv1255, yyv21255) + yyc1320 = true + yyrr1320 = len(yyv1320) + if yyrg1320 { + copy(yyv1320, yyv21320) } - } else if yyl1255 != len(yyv1255) { - yyv1255 = yyv1255[:yyl1255] - yyc1255 = true + } else if yyl1320 != len(yyv1320) { + yyv1320 = yyv1320[:yyl1320] + yyc1320 = true } - yyj1255 := 0 - for ; yyj1255 < yyrr1255; yyj1255++ { - yyh1255.ElemContainerState(yyj1255) + yyj1320 := 0 + for ; yyj1320 < yyrr1320; yyj1320++ { + yyh1320.ElemContainerState(yyj1320) if r.TryDecodeAsNil() { - yyv1255[yyj1255] = ClusterAutoscaler{} + yyv1320[yyj1320] = ClusterAutoscaler{} } else { - yyv1256 := &yyv1255[yyj1255] - yyv1256.CodecDecodeSelf(d) + yyv1321 := &yyv1320[yyj1320] + yyv1321.CodecDecodeSelf(d) } } - if yyrt1255 { - for ; yyj1255 < yyl1255; yyj1255++ { - yyv1255 = append(yyv1255, ClusterAutoscaler{}) - yyh1255.ElemContainerState(yyj1255) + if yyrt1320 { + for ; yyj1320 < yyl1320; yyj1320++ { + yyv1320 = append(yyv1320, ClusterAutoscaler{}) + yyh1320.ElemContainerState(yyj1320) if r.TryDecodeAsNil() { - yyv1255[yyj1255] = ClusterAutoscaler{} + yyv1320[yyj1320] = ClusterAutoscaler{} } else { - yyv1257 := &yyv1255[yyj1255] - yyv1257.CodecDecodeSelf(d) + yyv1322 := &yyv1320[yyj1320] + yyv1322.CodecDecodeSelf(d) } } } } else { - yyj1255 := 0 - for ; !r.CheckBreak(); yyj1255++ { + yyj1320 := 0 + for ; !r.CheckBreak(); yyj1320++ { - if yyj1255 >= len(yyv1255) { - yyv1255 = append(yyv1255, ClusterAutoscaler{}) // var yyz1255 ClusterAutoscaler - yyc1255 = true + if yyj1320 >= len(yyv1320) { + yyv1320 = append(yyv1320, ClusterAutoscaler{}) // var yyz1320 ClusterAutoscaler + yyc1320 = true } - yyh1255.ElemContainerState(yyj1255) - if yyj1255 < len(yyv1255) { + yyh1320.ElemContainerState(yyj1320) + if yyj1320 < len(yyv1320) { if r.TryDecodeAsNil() { - yyv1255[yyj1255] = ClusterAutoscaler{} + yyv1320[yyj1320] = ClusterAutoscaler{} } else { - yyv1258 := &yyv1255[yyj1255] - yyv1258.CodecDecodeSelf(d) + yyv1323 := &yyv1320[yyj1320] + yyv1323.CodecDecodeSelf(d) } } else { @@ -15616,17 +16030,17 @@ func (x codecSelfer1234) decSliceClusterAutoscaler(v *[]ClusterAutoscaler, d *co } } - if yyj1255 < len(yyv1255) { - yyv1255 = yyv1255[:yyj1255] - yyc1255 = true - } else if yyj1255 == 0 && yyv1255 == nil { - yyv1255 = []ClusterAutoscaler{} - yyc1255 = true + if yyj1320 < len(yyv1320) { + yyv1320 = yyv1320[:yyj1320] + yyc1320 = true + } else if yyj1320 == 0 && yyv1320 == nil { + yyv1320 = []ClusterAutoscaler{} + yyc1320 = true } } - yyh1255.End() - if yyc1255 { - *v = yyv1255 + yyh1320.End() + if yyc1320 { + *v = yyv1320 } } @@ -15635,10 +16049,10 @@ func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequi z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1259 := range v { + for _, yyv1324 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1260 := &yyv1259 - yy1260.CodecEncodeSelf(e) + yy1325 := &yyv1324 + yy1325.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15648,83 +16062,83 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1261 := *v - yyh1261, yyl1261 := z.DecSliceHelperStart() - var yyc1261 bool - if yyl1261 == 0 { - if yyv1261 == nil { - yyv1261 = []LabelSelectorRequirement{} - yyc1261 = true - } else if len(yyv1261) != 0 { - yyv1261 = yyv1261[:0] - yyc1261 = true + yyv1326 := *v + yyh1326, yyl1326 := z.DecSliceHelperStart() + var yyc1326 bool + if yyl1326 == 0 { + if yyv1326 == nil { + yyv1326 = []LabelSelectorRequirement{} + yyc1326 = true + } else if len(yyv1326) != 0 { + yyv1326 = yyv1326[:0] + yyc1326 = true } - } else if yyl1261 > 0 { - var yyrr1261, yyrl1261 int - var yyrt1261 bool - if yyl1261 > cap(yyv1261) { + } else if yyl1326 > 0 { + var yyrr1326, yyrl1326 int + var yyrt1326 bool + if yyl1326 > cap(yyv1326) { - yyrg1261 := len(yyv1261) > 0 - yyv21261 := yyv1261 - yyrl1261, yyrt1261 = z.DecInferLen(yyl1261, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1261 { - if yyrl1261 <= cap(yyv1261) { - yyv1261 = yyv1261[:yyrl1261] + yyrg1326 := len(yyv1326) > 0 + yyv21326 := yyv1326 + yyrl1326, yyrt1326 = z.DecInferLen(yyl1326, z.DecBasicHandle().MaxInitLen, 56) + if yyrt1326 { + if yyrl1326 <= cap(yyv1326) { + yyv1326 = yyv1326[:yyrl1326] } else { - yyv1261 = make([]LabelSelectorRequirement, yyrl1261) + yyv1326 = make([]LabelSelectorRequirement, yyrl1326) } } else { - yyv1261 = make([]LabelSelectorRequirement, yyrl1261) + yyv1326 = make([]LabelSelectorRequirement, yyrl1326) } - yyc1261 = true - yyrr1261 = len(yyv1261) - if yyrg1261 { - copy(yyv1261, yyv21261) + yyc1326 = true + yyrr1326 = len(yyv1326) + if yyrg1326 { + copy(yyv1326, yyv21326) } - } else if yyl1261 != len(yyv1261) { - yyv1261 = yyv1261[:yyl1261] - yyc1261 = true + } else if yyl1326 != len(yyv1326) { + yyv1326 = yyv1326[:yyl1326] + yyc1326 = true } - yyj1261 := 0 - for ; yyj1261 < yyrr1261; yyj1261++ { - yyh1261.ElemContainerState(yyj1261) + yyj1326 := 0 + for ; yyj1326 < yyrr1326; yyj1326++ { + yyh1326.ElemContainerState(yyj1326) if r.TryDecodeAsNil() { - yyv1261[yyj1261] = LabelSelectorRequirement{} + yyv1326[yyj1326] = LabelSelectorRequirement{} } else { - yyv1262 := &yyv1261[yyj1261] - yyv1262.CodecDecodeSelf(d) + yyv1327 := &yyv1326[yyj1326] + yyv1327.CodecDecodeSelf(d) } } - if yyrt1261 { - for ; yyj1261 < yyl1261; yyj1261++ { - yyv1261 = append(yyv1261, LabelSelectorRequirement{}) - yyh1261.ElemContainerState(yyj1261) + if yyrt1326 { + for ; yyj1326 < yyl1326; yyj1326++ { + yyv1326 = append(yyv1326, LabelSelectorRequirement{}) + yyh1326.ElemContainerState(yyj1326) if r.TryDecodeAsNil() { - yyv1261[yyj1261] = LabelSelectorRequirement{} + yyv1326[yyj1326] = LabelSelectorRequirement{} } else { - yyv1263 := &yyv1261[yyj1261] - yyv1263.CodecDecodeSelf(d) + yyv1328 := &yyv1326[yyj1326] + yyv1328.CodecDecodeSelf(d) } } } } else { - yyj1261 := 0 - for ; !r.CheckBreak(); yyj1261++ { + yyj1326 := 0 + for ; !r.CheckBreak(); yyj1326++ { - if yyj1261 >= len(yyv1261) { - yyv1261 = append(yyv1261, LabelSelectorRequirement{}) // var yyz1261 LabelSelectorRequirement - yyc1261 = true + if yyj1326 >= len(yyv1326) { + yyv1326 = append(yyv1326, LabelSelectorRequirement{}) // var yyz1326 LabelSelectorRequirement + yyc1326 = true } - yyh1261.ElemContainerState(yyj1261) - if yyj1261 < len(yyv1261) { + yyh1326.ElemContainerState(yyj1326) + if yyj1326 < len(yyv1326) { if r.TryDecodeAsNil() { - yyv1261[yyj1261] = LabelSelectorRequirement{} + yyv1326[yyj1326] = LabelSelectorRequirement{} } else { - yyv1264 := &yyv1261[yyj1261] - yyv1264.CodecDecodeSelf(d) + yyv1329 := &yyv1326[yyj1326] + yyv1329.CodecDecodeSelf(d) } } else { @@ -15732,17 +16146,17 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ } } - if yyj1261 < len(yyv1261) { - yyv1261 = yyv1261[:yyj1261] - yyc1261 = true - } else if yyj1261 == 0 && yyv1261 == nil { - yyv1261 = []LabelSelectorRequirement{} - yyc1261 = true + if yyj1326 < len(yyv1326) { + yyv1326 = yyv1326[:yyj1326] + yyc1326 = true + } else if yyj1326 == 0 && yyv1326 == nil { + yyv1326 = []LabelSelectorRequirement{} + yyc1326 = true } } - yyh1261.End() - if yyc1261 { - *v = yyv1261 + yyh1326.End() + if yyc1326 { + *v = yyv1326 } } @@ -15751,10 +16165,10 @@ func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1265 := range v { + for _, yyv1330 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1266 := &yyv1265 - yy1266.CodecEncodeSelf(e) + yy1331 := &yyv1330 + yy1331.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15764,83 +16178,83 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1267 := *v - yyh1267, yyl1267 := z.DecSliceHelperStart() - var yyc1267 bool - if yyl1267 == 0 { - if yyv1267 == nil { - yyv1267 = []ConfigMap{} - yyc1267 = true - } else if len(yyv1267) != 0 { - yyv1267 = yyv1267[:0] - yyc1267 = true + yyv1332 := *v + yyh1332, yyl1332 := z.DecSliceHelperStart() + var yyc1332 bool + if yyl1332 == 0 { + if yyv1332 == nil { + yyv1332 = []ConfigMap{} + yyc1332 = true + } else if len(yyv1332) != 0 { + yyv1332 = yyv1332[:0] + yyc1332 = true } - } else if yyl1267 > 0 { - var yyrr1267, yyrl1267 int - var yyrt1267 bool - if yyl1267 > cap(yyv1267) { + } else if yyl1332 > 0 { + var yyrr1332, yyrl1332 int + var yyrt1332 bool + if yyl1332 > cap(yyv1332) { - yyrg1267 := len(yyv1267) > 0 - yyv21267 := yyv1267 - yyrl1267, yyrt1267 = z.DecInferLen(yyl1267, z.DecBasicHandle().MaxInitLen, 200) - if yyrt1267 { - if yyrl1267 <= cap(yyv1267) { - yyv1267 = yyv1267[:yyrl1267] + yyrg1332 := len(yyv1332) > 0 + yyv21332 := yyv1332 + yyrl1332, yyrt1332 = z.DecInferLen(yyl1332, z.DecBasicHandle().MaxInitLen, 200) + if yyrt1332 { + if yyrl1332 <= cap(yyv1332) { + yyv1332 = yyv1332[:yyrl1332] } else { - yyv1267 = make([]ConfigMap, yyrl1267) + yyv1332 = make([]ConfigMap, yyrl1332) } } else { - yyv1267 = make([]ConfigMap, yyrl1267) + yyv1332 = make([]ConfigMap, yyrl1332) } - yyc1267 = true - yyrr1267 = len(yyv1267) - if yyrg1267 { - copy(yyv1267, yyv21267) + yyc1332 = true + yyrr1332 = len(yyv1332) + if yyrg1332 { + copy(yyv1332, yyv21332) } - } else if yyl1267 != len(yyv1267) { - yyv1267 = yyv1267[:yyl1267] - yyc1267 = true + } else if yyl1332 != len(yyv1332) { + yyv1332 = yyv1332[:yyl1332] + yyc1332 = true } - yyj1267 := 0 - for ; yyj1267 < yyrr1267; yyj1267++ { - yyh1267.ElemContainerState(yyj1267) + yyj1332 := 0 + for ; yyj1332 < yyrr1332; yyj1332++ { + yyh1332.ElemContainerState(yyj1332) if r.TryDecodeAsNil() { - yyv1267[yyj1267] = ConfigMap{} + yyv1332[yyj1332] = ConfigMap{} } else { - yyv1268 := &yyv1267[yyj1267] - yyv1268.CodecDecodeSelf(d) + yyv1333 := &yyv1332[yyj1332] + yyv1333.CodecDecodeSelf(d) } } - if yyrt1267 { - for ; yyj1267 < yyl1267; yyj1267++ { - yyv1267 = append(yyv1267, ConfigMap{}) - yyh1267.ElemContainerState(yyj1267) + if yyrt1332 { + for ; yyj1332 < yyl1332; yyj1332++ { + yyv1332 = append(yyv1332, ConfigMap{}) + yyh1332.ElemContainerState(yyj1332) if r.TryDecodeAsNil() { - yyv1267[yyj1267] = ConfigMap{} + yyv1332[yyj1332] = ConfigMap{} } else { - yyv1269 := &yyv1267[yyj1267] - yyv1269.CodecDecodeSelf(d) + yyv1334 := &yyv1332[yyj1332] + yyv1334.CodecDecodeSelf(d) } } } } else { - yyj1267 := 0 - for ; !r.CheckBreak(); yyj1267++ { + yyj1332 := 0 + for ; !r.CheckBreak(); yyj1332++ { - if yyj1267 >= len(yyv1267) { - yyv1267 = append(yyv1267, ConfigMap{}) // var yyz1267 ConfigMap - yyc1267 = true + if yyj1332 >= len(yyv1332) { + yyv1332 = append(yyv1332, ConfigMap{}) // var yyz1332 ConfigMap + yyc1332 = true } - yyh1267.ElemContainerState(yyj1267) - if yyj1267 < len(yyv1267) { + yyh1332.ElemContainerState(yyj1332) + if yyj1332 < len(yyv1332) { if r.TryDecodeAsNil() { - yyv1267[yyj1267] = ConfigMap{} + yyv1332[yyj1332] = ConfigMap{} } else { - yyv1270 := &yyv1267[yyj1267] - yyv1270.CodecDecodeSelf(d) + yyv1335 := &yyv1332[yyj1332] + yyv1335.CodecDecodeSelf(d) } } else { @@ -15848,16 +16262,16 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) } } - if yyj1267 < len(yyv1267) { - yyv1267 = yyv1267[:yyj1267] - yyc1267 = true - } else if yyj1267 == 0 && yyv1267 == nil { - yyv1267 = []ConfigMap{} - yyc1267 = true + if yyj1332 < len(yyv1332) { + yyv1332 = yyv1332[:yyj1332] + yyc1332 = true + } else if yyj1332 == 0 && yyv1332 == nil { + yyv1332 = []ConfigMap{} + yyc1332 = true } } - yyh1267.End() - if yyc1267 { - *v = yyv1267 + yyh1332.End() + if yyc1332 { + *v = yyv1332 } } diff --git a/pkg/apis/extensions/types.go b/pkg/apis/extensions/types.go index 5ccde728a95..9471c75ea9c 100644 --- a/pkg/apis/extensions/types.go +++ b/pkg/apis/extensions/types.go @@ -410,6 +410,10 @@ type JobSpec struct { // job should be run with. Defaults to 1. Completions *int `json:"completions,omitempty"` + // Optional duration in seconds relative to the startTime that the job may be active + // before the system tries to terminate it; value must be positive integer + ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"` + // Selector is a label query over pods that should match the pod count. Selector *LabelSelector `json:"selector,omitempty"` @@ -450,6 +454,8 @@ type JobConditionType string const ( // JobComplete means the job has completed its execution. JobComplete JobConditionType = "Complete" + // JobFailed means the job has failed its execution. + JobFailed JobConditionType = "Failed" ) // JobCondition describes current state of a job. diff --git a/pkg/apis/extensions/v1beta1/conversion_generated.go b/pkg/apis/extensions/v1beta1/conversion_generated.go index 38d7833f496..55555a98763 100644 --- a/pkg/apis/extensions/v1beta1/conversion_generated.go +++ b/pkg/apis/extensions/v1beta1/conversion_generated.go @@ -2902,6 +2902,12 @@ func autoconvert_extensions_JobSpec_To_v1beta1_JobSpec(in *extensions.JobSpec, o } else { out.Completions = nil } + if in.ActiveDeadlineSeconds != nil { + out.ActiveDeadlineSeconds = new(int64) + *out.ActiveDeadlineSeconds = *in.ActiveDeadlineSeconds + } else { + out.ActiveDeadlineSeconds = nil + } if in.Selector != nil { out.Selector = new(LabelSelector) if err := convert_extensions_LabelSelector_To_v1beta1_LabelSelector(in.Selector, out.Selector, s); err != nil { @@ -3921,6 +3927,12 @@ func autoconvert_v1beta1_JobSpec_To_extensions_JobSpec(in *JobSpec, out *extensi } else { out.Completions = nil } + if in.ActiveDeadlineSeconds != nil { + out.ActiveDeadlineSeconds = new(int64) + *out.ActiveDeadlineSeconds = *in.ActiveDeadlineSeconds + } else { + out.ActiveDeadlineSeconds = nil + } if in.Selector != nil { out.Selector = new(extensions.LabelSelector) if err := convert_v1beta1_LabelSelector_To_extensions_LabelSelector(in.Selector, out.Selector, s); err != nil { diff --git a/pkg/apis/extensions/v1beta1/deep_copy_generated.go b/pkg/apis/extensions/v1beta1/deep_copy_generated.go index f56a7f33b20..0b8cacaa32c 100644 --- a/pkg/apis/extensions/v1beta1/deep_copy_generated.go +++ b/pkg/apis/extensions/v1beta1/deep_copy_generated.go @@ -1395,6 +1395,12 @@ func deepCopy_v1beta1_JobSpec(in JobSpec, out *JobSpec, c *conversion.Cloner) er } else { out.Completions = nil } + if in.ActiveDeadlineSeconds != nil { + out.ActiveDeadlineSeconds = new(int64) + *out.ActiveDeadlineSeconds = *in.ActiveDeadlineSeconds + } else { + out.ActiveDeadlineSeconds = nil + } if in.Selector != nil { out.Selector = new(LabelSelector) if err := deepCopy_v1beta1_LabelSelector(*in.Selector, out.Selector, c); err != nil { diff --git a/pkg/apis/extensions/v1beta1/types.generated.go b/pkg/apis/extensions/v1beta1/types.generated.go index eb1318780cc..7d57a694873 100644 --- a/pkg/apis/extensions/v1beta1/types.generated.go +++ b/pkg/apis/extensions/v1beta1/types.generated.go @@ -565,7 +565,13 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq31[2] { yy39 := &x.ObjectMeta - yy39.CodecEncodeSelf(e) + yym40 := z.EncBinary() + _ = yym40 + if false { + } else if z.HasExtensions() && z.EncExt(yy39) { + } else { + z.EncFallback(yy39) + } } else { r.EncodeNil() } @@ -574,15 +580,21 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy40 := &x.ObjectMeta - yy40.CodecEncodeSelf(e) + yy41 := &x.ObjectMeta + yym42 := z.EncBinary() + _ = yym42 + if false { + } else if z.HasExtensions() && z.EncExt(yy41) { + } else { + z.EncFallback(yy41) + } } } if yyr31 || yy2arr31 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq31[3] { - yy42 := &x.Spec - yy42.CodecEncodeSelf(e) + yy44 := &x.Spec + yy44.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -591,15 +603,15 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy43 := &x.Spec - yy43.CodecEncodeSelf(e) + yy45 := &x.Spec + yy45.CodecEncodeSelf(e) } } if yyr31 || yy2arr31 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq31[4] { - yy45 := &x.Status - yy45.CodecEncodeSelf(e) + yy47 := &x.Status + yy47.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -608,8 +620,8 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy46 := &x.Status - yy46.CodecEncodeSelf(e) + yy48 := &x.Status + yy48.CodecEncodeSelf(e) } } if yyr31 || yy2arr31 { @@ -625,25 +637,25 @@ func (x *Scale) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym47 := z.DecBinary() - _ = yym47 + yym49 := z.DecBinary() + _ = yym49 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct48 := r.ContainerType() - if yyct48 == codecSelferValueTypeMap1234 { - yyl48 := r.ReadMapStart() - if yyl48 == 0 { + yyct50 := r.ContainerType() + if yyct50 == codecSelferValueTypeMap1234 { + yyl50 := r.ReadMapStart() + if yyl50 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl48, d) + x.codecDecodeSelfFromMap(yyl50, d) } - } else if yyct48 == codecSelferValueTypeArray1234 { - yyl48 := r.ReadArrayStart() - if yyl48 == 0 { + } else if yyct50 == codecSelferValueTypeArray1234 { + yyl50 := r.ReadArrayStart() + if yyl50 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl48, d) + x.codecDecodeSelfFromArray(yyl50, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -655,12 +667,12 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys49Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys49Slc - var yyhl49 bool = l >= 0 - for yyj49 := 0; ; yyj49++ { - if yyhl49 { - if yyj49 >= l { + var yys51Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys51Slc + var yyhl51 bool = l >= 0 + for yyj51 := 0; ; yyj51++ { + if yyhl51 { + if yyj51 >= l { break } } else { @@ -669,10 +681,10 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys49Slc = r.DecodeBytes(yys49Slc, true, true) - yys49 := string(yys49Slc) + yys51Slc = r.DecodeBytes(yys51Slc, true, true) + yys51 := string(yys51Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys49 { + switch yys51 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -689,27 +701,33 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv52 := &x.ObjectMeta - yyv52.CodecDecodeSelf(d) + yyv54 := &x.ObjectMeta + yym55 := z.DecBinary() + _ = yym55 + if false { + } else if z.HasExtensions() && z.DecExt(yyv54) { + } else { + z.DecFallback(yyv54, false) + } } case "spec": if r.TryDecodeAsNil() { x.Spec = ScaleSpec{} } else { - yyv53 := &x.Spec - yyv53.CodecDecodeSelf(d) + yyv56 := &x.Spec + yyv56.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ScaleStatus{} } else { - yyv54 := &x.Status - yyv54.CodecDecodeSelf(d) + yyv57 := &x.Status + yyv57.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys49) - } // end switch yys49 - } // end for yyj49 + z.DecStructFieldNotFound(-1, yys51) + } // end switch yys51 + } // end for yyj51 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -717,16 +735,16 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj55 int - var yyb55 bool - var yyhl55 bool = l >= 0 - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + var yyj58 int + var yyb58 bool + var yyhl58 bool = l >= 0 + yyj58++ + if yyhl58 { + yyb58 = yyj58 > l } else { - yyb55 = r.CheckBreak() + yyb58 = r.CheckBreak() } - if yyb55 { + if yyb58 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -736,13 +754,13 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj58++ + if yyhl58 { + yyb58 = yyj58 > l } else { - yyb55 = r.CheckBreak() + yyb58 = r.CheckBreak() } - if yyb55 { + if yyb58 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -752,13 +770,13 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj58++ + if yyhl58 { + yyb58 = yyj58 > l } else { - yyb55 = r.CheckBreak() + yyb58 = r.CheckBreak() } - if yyb55 { + if yyb58 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -766,16 +784,22 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv58 := &x.ObjectMeta - yyv58.CodecDecodeSelf(d) + yyv61 := &x.ObjectMeta + yym62 := z.DecBinary() + _ = yym62 + if false { + } else if z.HasExtensions() && z.DecExt(yyv61) { + } else { + z.DecFallback(yyv61, false) + } } - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj58++ + if yyhl58 { + yyb58 = yyj58 > l } else { - yyb55 = r.CheckBreak() + yyb58 = r.CheckBreak() } - if yyb55 { + if yyb58 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -783,16 +807,16 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ScaleSpec{} } else { - yyv59 := &x.Spec - yyv59.CodecDecodeSelf(d) + yyv63 := &x.Spec + yyv63.CodecDecodeSelf(d) } - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj58++ + if yyhl58 { + yyb58 = yyj58 > l } else { - yyb55 = r.CheckBreak() + yyb58 = r.CheckBreak() } - if yyb55 { + if yyb58 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -800,21 +824,21 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ScaleStatus{} } else { - yyv60 := &x.Status - yyv60.CodecDecodeSelf(d) + yyv64 := &x.Status + yyv64.CodecDecodeSelf(d) } for { - yyj55++ - if yyhl55 { - yyb55 = yyj55 > l + yyj58++ + if yyhl58 { + yyb58 = yyj58 > l } else { - yyb55 = r.CheckBreak() + yyb58 = r.CheckBreak() } - if yyb55 { + if yyb58 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj55-1, "") + z.DecStructFieldNotFound(yyj58-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -826,82 +850,82 @@ func (x *ReplicationControllerDummy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym61 := z.EncBinary() - _ = yym61 + yym65 := z.EncBinary() + _ = yym65 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep62 := !z.EncBinary() - yy2arr62 := z.EncBasicHandle().StructToArray - var yyq62 [2]bool - _, _, _ = yysep62, yyq62, yy2arr62 - const yyr62 bool = false - yyq62[0] = x.Kind != "" - yyq62[1] = x.APIVersion != "" - var yynn62 int - if yyr62 || yy2arr62 { + yysep66 := !z.EncBinary() + yy2arr66 := z.EncBasicHandle().StructToArray + var yyq66 [2]bool + _, _, _ = yysep66, yyq66, yy2arr66 + const yyr66 bool = false + yyq66[0] = x.Kind != "" + yyq66[1] = x.APIVersion != "" + var yynn66 int + if yyr66 || yy2arr66 { r.EncodeArrayStart(2) } else { - yynn62 = 0 - for _, b := range yyq62 { + yynn66 = 0 + for _, b := range yyq66 { if b { - yynn62++ + yynn66++ } } - r.EncodeMapStart(yynn62) - yynn62 = 0 + r.EncodeMapStart(yynn66) + yynn66 = 0 } - if yyr62 || yy2arr62 { + if yyr66 || yy2arr66 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq62[0] { - yym64 := z.EncBinary() - _ = yym64 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq62[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym65 := z.EncBinary() - _ = yym65 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr62 || yy2arr62 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq62[1] { - yym67 := z.EncBinary() - _ = yym67 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq62[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq66[0] { yym68 := z.EncBinary() _ = yym68 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq66[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym69 := z.EncBinary() + _ = yym69 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr66 || yy2arr66 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq66[1] { + yym71 := z.EncBinary() + _ = yym71 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq66[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym72 := z.EncBinary() + _ = yym72 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr62 || yy2arr62 { + if yyr66 || yy2arr66 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -914,25 +938,25 @@ func (x *ReplicationControllerDummy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym69 := z.DecBinary() - _ = yym69 + yym73 := z.DecBinary() + _ = yym73 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct70 := r.ContainerType() - if yyct70 == codecSelferValueTypeMap1234 { - yyl70 := r.ReadMapStart() - if yyl70 == 0 { + yyct74 := r.ContainerType() + if yyct74 == codecSelferValueTypeMap1234 { + yyl74 := r.ReadMapStart() + if yyl74 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl70, d) + x.codecDecodeSelfFromMap(yyl74, d) } - } else if yyct70 == codecSelferValueTypeArray1234 { - yyl70 := r.ReadArrayStart() - if yyl70 == 0 { + } else if yyct74 == codecSelferValueTypeArray1234 { + yyl74 := r.ReadArrayStart() + if yyl74 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl70, d) + x.codecDecodeSelfFromArray(yyl74, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -944,12 +968,12 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys71Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys71Slc - var yyhl71 bool = l >= 0 - for yyj71 := 0; ; yyj71++ { - if yyhl71 { - if yyj71 >= l { + var yys75Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys75Slc + var yyhl75 bool = l >= 0 + for yyj75 := 0; ; yyj75++ { + if yyhl75 { + if yyj75 >= l { break } } else { @@ -958,10 +982,10 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys71Slc = r.DecodeBytes(yys71Slc, true, true) - yys71 := string(yys71Slc) + yys75Slc = r.DecodeBytes(yys75Slc, true, true) + yys75 := string(yys75Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys71 { + switch yys75 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -975,9 +999,9 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys71) - } // end switch yys71 - } // end for yyj71 + z.DecStructFieldNotFound(-1, yys75) + } // end switch yys75 + } // end for yyj75 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -985,16 +1009,16 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj74 int - var yyb74 bool - var yyhl74 bool = l >= 0 - yyj74++ - if yyhl74 { - yyb74 = yyj74 > l + var yyj78 int + var yyb78 bool + var yyhl78 bool = l >= 0 + yyj78++ + if yyhl78 { + yyb78 = yyj78 > l } else { - yyb74 = r.CheckBreak() + yyb78 = r.CheckBreak() } - if yyb74 { + if yyb78 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1004,13 +1028,13 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj74++ - if yyhl74 { - yyb74 = yyj74 > l + yyj78++ + if yyhl78 { + yyb78 = yyj78 > l } else { - yyb74 = r.CheckBreak() + yyb78 = r.CheckBreak() } - if yyb74 { + if yyb78 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1021,17 +1045,17 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 x.APIVersion = string(r.DecodeString()) } for { - yyj74++ - if yyhl74 { - yyb74 = yyj74 > l + yyj78++ + if yyhl78 { + yyb78 = yyj78 > l } else { - yyb74 = r.CheckBreak() + yyb78 = r.CheckBreak() } - if yyb74 { + if yyb78 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj74-1, "") + z.DecStructFieldNotFound(yyj78-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1043,113 +1067,113 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym77 := z.EncBinary() - _ = yym77 + yym81 := z.EncBinary() + _ = yym81 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep78 := !z.EncBinary() - yy2arr78 := z.EncBasicHandle().StructToArray - var yyq78 [4]bool - _, _, _ = yysep78, yyq78, yy2arr78 - const yyr78 bool = false - yyq78[0] = x.Kind != "" - yyq78[1] = x.Name != "" - yyq78[2] = x.APIVersion != "" - yyq78[3] = x.Subresource != "" - var yynn78 int - if yyr78 || yy2arr78 { + yysep82 := !z.EncBinary() + yy2arr82 := z.EncBasicHandle().StructToArray + var yyq82 [4]bool + _, _, _ = yysep82, yyq82, yy2arr82 + const yyr82 bool = false + yyq82[0] = x.Kind != "" + yyq82[1] = x.Name != "" + yyq82[2] = x.APIVersion != "" + yyq82[3] = x.Subresource != "" + var yynn82 int + if yyr82 || yy2arr82 { r.EncodeArrayStart(4) } else { - yynn78 = 0 - for _, b := range yyq78 { + yynn82 = 0 + for _, b := range yyq82 { if b { - yynn78++ + yynn82++ } } - r.EncodeMapStart(yynn78) - yynn78 = 0 + r.EncodeMapStart(yynn82) + yynn82 = 0 } - if yyr78 || yy2arr78 { + if yyr82 || yy2arr82 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq78[0] { - yym80 := z.EncBinary() - _ = yym80 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq78[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym81 := z.EncBinary() - _ = yym81 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr78 || yy2arr78 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq78[1] { - yym83 := z.EncBinary() - _ = yym83 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq78[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq82[0] { yym84 := z.EncBinary() _ = yym84 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - } - if yyr78 || yy2arr78 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq78[2] { - yym86 := z.EncBinary() - _ = yym86 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq78[2] { + if yyq82[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym85 := z.EncBinary() + _ = yym85 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr82 || yy2arr82 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq82[1] { yym87 := z.EncBinary() _ = yym87 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq82[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym88 := z.EncBinary() + _ = yym88 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr82 || yy2arr82 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq82[2] { + yym90 := z.EncBinary() + _ = yym90 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq82[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym91 := z.EncBinary() + _ = yym91 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr78 || yy2arr78 { + if yyr82 || yy2arr82 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq78[3] { - yym89 := z.EncBinary() - _ = yym89 + if yyq82[3] { + yym93 := z.EncBinary() + _ = yym93 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) @@ -1158,19 +1182,19 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq78[3] { + if yyq82[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subresource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym90 := z.EncBinary() - _ = yym90 + yym94 := z.EncBinary() + _ = yym94 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) } } } - if yyr78 || yy2arr78 { + if yyr82 || yy2arr82 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1183,25 +1207,25 @@ func (x *SubresourceReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym91 := z.DecBinary() - _ = yym91 + yym95 := z.DecBinary() + _ = yym95 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct92 := r.ContainerType() - if yyct92 == codecSelferValueTypeMap1234 { - yyl92 := r.ReadMapStart() - if yyl92 == 0 { + yyct96 := r.ContainerType() + if yyct96 == codecSelferValueTypeMap1234 { + yyl96 := r.ReadMapStart() + if yyl96 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl92, d) + x.codecDecodeSelfFromMap(yyl96, d) } - } else if yyct92 == codecSelferValueTypeArray1234 { - yyl92 := r.ReadArrayStart() - if yyl92 == 0 { + } else if yyct96 == codecSelferValueTypeArray1234 { + yyl96 := r.ReadArrayStart() + if yyl96 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl92, d) + x.codecDecodeSelfFromArray(yyl96, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1213,12 +1237,12 @@ func (x *SubresourceReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys93Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys93Slc - var yyhl93 bool = l >= 0 - for yyj93 := 0; ; yyj93++ { - if yyhl93 { - if yyj93 >= l { + var yys97Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys97Slc + var yyhl97 bool = l >= 0 + for yyj97 := 0; ; yyj97++ { + if yyhl97 { + if yyj97 >= l { break } } else { @@ -1227,10 +1251,10 @@ func (x *SubresourceReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys93Slc = r.DecodeBytes(yys93Slc, true, true) - yys93 := string(yys93Slc) + yys97Slc = r.DecodeBytes(yys97Slc, true, true) + yys97 := string(yys97Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys93 { + switch yys97 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1256,9 +1280,9 @@ func (x *SubresourceReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Subresource = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys93) - } // end switch yys93 - } // end for yyj93 + z.DecStructFieldNotFound(-1, yys97) + } // end switch yys97 + } // end for yyj97 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1266,16 +1290,16 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj98 int - var yyb98 bool - var yyhl98 bool = l >= 0 - yyj98++ - if yyhl98 { - yyb98 = yyj98 > l + var yyj102 int + var yyb102 bool + var yyhl102 bool = l >= 0 + yyj102++ + if yyhl102 { + yyb102 = yyj102 > l } else { - yyb98 = r.CheckBreak() + yyb102 = r.CheckBreak() } - if yyb98 { + if yyb102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1285,13 +1309,13 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Kind = string(r.DecodeString()) } - yyj98++ - if yyhl98 { - yyb98 = yyj98 > l + yyj102++ + if yyhl102 { + yyb102 = yyj102 > l } else { - yyb98 = r.CheckBreak() + yyb102 = r.CheckBreak() } - if yyb98 { + if yyb102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1301,13 +1325,13 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Name = string(r.DecodeString()) } - yyj98++ - if yyhl98 { - yyb98 = yyj98 > l + yyj102++ + if yyhl102 { + yyb102 = yyj102 > l } else { - yyb98 = r.CheckBreak() + yyb102 = r.CheckBreak() } - if yyb98 { + if yyb102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1317,13 +1341,13 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } - yyj98++ - if yyhl98 { - yyb98 = yyj98 > l + yyj102++ + if yyhl102 { + yyb102 = yyj102 > l } else { - yyb98 = r.CheckBreak() + yyb102 = r.CheckBreak() } - if yyb98 { + if yyb102 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1334,17 +1358,17 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Subresource = string(r.DecodeString()) } for { - yyj98++ - if yyhl98 { - yyb98 = yyj98 > l + yyj102++ + if yyhl102 { + yyb102 = yyj102 > l } else { - yyb98 = r.CheckBreak() + yyb102 = r.CheckBreak() } - if yyb98 { + if yyb102 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj98-1, "") + z.DecStructFieldNotFound(yyj102-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1356,33 +1380,33 @@ func (x *CPUTargetUtilization) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym103 := z.EncBinary() - _ = yym103 + yym107 := z.EncBinary() + _ = yym107 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep104 := !z.EncBinary() - yy2arr104 := z.EncBasicHandle().StructToArray - var yyq104 [1]bool - _, _, _ = yysep104, yyq104, yy2arr104 - const yyr104 bool = false - var yynn104 int - if yyr104 || yy2arr104 { + yysep108 := !z.EncBinary() + yy2arr108 := z.EncBasicHandle().StructToArray + var yyq108 [1]bool + _, _, _ = yysep108, yyq108, yy2arr108 + const yyr108 bool = false + var yynn108 int + if yyr108 || yy2arr108 { r.EncodeArrayStart(1) } else { - yynn104 = 1 - for _, b := range yyq104 { + yynn108 = 1 + for _, b := range yyq108 { if b { - yynn104++ + yynn108++ } } - r.EncodeMapStart(yynn104) - yynn104 = 0 + r.EncodeMapStart(yynn108) + yynn108 = 0 } - if yyr104 || yy2arr104 { + if yyr108 || yy2arr108 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym106 := z.EncBinary() - _ = yym106 + yym110 := z.EncBinary() + _ = yym110 if false { } else { r.EncodeInt(int64(x.TargetPercentage)) @@ -1391,14 +1415,14 @@ func (x *CPUTargetUtilization) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym107 := z.EncBinary() - _ = yym107 + yym111 := z.EncBinary() + _ = yym111 if false { } else { r.EncodeInt(int64(x.TargetPercentage)) } } - if yyr104 || yy2arr104 { + if yyr108 || yy2arr108 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1411,25 +1435,25 @@ func (x *CPUTargetUtilization) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym108 := z.DecBinary() - _ = yym108 + yym112 := z.DecBinary() + _ = yym112 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct109 := r.ContainerType() - if yyct109 == codecSelferValueTypeMap1234 { - yyl109 := r.ReadMapStart() - if yyl109 == 0 { + yyct113 := r.ContainerType() + if yyct113 == codecSelferValueTypeMap1234 { + yyl113 := r.ReadMapStart() + if yyl113 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl109, d) + x.codecDecodeSelfFromMap(yyl113, d) } - } else if yyct109 == codecSelferValueTypeArray1234 { - yyl109 := r.ReadArrayStart() - if yyl109 == 0 { + } else if yyct113 == codecSelferValueTypeArray1234 { + yyl113 := r.ReadArrayStart() + if yyl113 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl109, d) + x.codecDecodeSelfFromArray(yyl113, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1441,12 +1465,12 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys110Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys110Slc - var yyhl110 bool = l >= 0 - for yyj110 := 0; ; yyj110++ { - if yyhl110 { - if yyj110 >= l { + var yys114Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys114Slc + var yyhl114 bool = l >= 0 + for yyj114 := 0; ; yyj114++ { + if yyhl114 { + if yyj114 >= l { break } } else { @@ -1455,10 +1479,10 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys110Slc = r.DecodeBytes(yys110Slc, true, true) - yys110 := string(yys110Slc) + yys114Slc = r.DecodeBytes(yys114Slc, true, true) + yys114 := string(yys114Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys110 { + switch yys114 { case "targetPercentage": if r.TryDecodeAsNil() { x.TargetPercentage = 0 @@ -1466,9 +1490,9 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.TargetPercentage = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys110) - } // end switch yys110 - } // end for yyj110 + z.DecStructFieldNotFound(-1, yys114) + } // end switch yys114 + } // end for yyj114 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1476,16 +1500,16 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj112 int - var yyb112 bool - var yyhl112 bool = l >= 0 - yyj112++ - if yyhl112 { - yyb112 = yyj112 > l + var yyj116 int + var yyb116 bool + var yyhl116 bool = l >= 0 + yyj116++ + if yyhl116 { + yyb116 = yyj116 > l } else { - yyb112 = r.CheckBreak() + yyb116 = r.CheckBreak() } - if yyb112 { + if yyb116 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1496,17 +1520,17 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.TargetPercentage = int32(r.DecodeInt(32)) } for { - yyj112++ - if yyhl112 { - yyb112 = yyj112 > l + yyj116++ + if yyhl116 { + yyb116 = yyj116 > l } else { - yyb112 = r.CheckBreak() + yyb116 = r.CheckBreak() } - if yyb112 { + if yyb116 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj112-1, "") + z.DecStructFieldNotFound(yyj116-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1518,81 +1542,81 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym114 := z.EncBinary() - _ = yym114 + yym118 := z.EncBinary() + _ = yym118 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep115 := !z.EncBinary() - yy2arr115 := z.EncBasicHandle().StructToArray - var yyq115 [4]bool - _, _, _ = yysep115, yyq115, yy2arr115 - const yyr115 bool = false - yyq115[1] = x.MinReplicas != nil - yyq115[3] = x.CPUUtilization != nil - var yynn115 int - if yyr115 || yy2arr115 { + yysep119 := !z.EncBinary() + yy2arr119 := z.EncBasicHandle().StructToArray + var yyq119 [4]bool + _, _, _ = yysep119, yyq119, yy2arr119 + const yyr119 bool = false + yyq119[1] = x.MinReplicas != nil + yyq119[3] = x.CPUUtilization != nil + var yynn119 int + if yyr119 || yy2arr119 { r.EncodeArrayStart(4) } else { - yynn115 = 2 - for _, b := range yyq115 { + yynn119 = 2 + for _, b := range yyq119 { if b { - yynn115++ + yynn119++ } } - r.EncodeMapStart(yynn115) - yynn115 = 0 + r.EncodeMapStart(yynn119) + yynn119 = 0 } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy117 := &x.ScaleRef - yy117.CodecEncodeSelf(e) + yy121 := &x.ScaleRef + yy121.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scaleRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy118 := &x.ScaleRef - yy118.CodecEncodeSelf(e) + yy122 := &x.ScaleRef + yy122.CodecEncodeSelf(e) } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[1] { + if yyq119[1] { if x.MinReplicas == nil { r.EncodeNil() } else { - yy120 := *x.MinReplicas - yym121 := z.EncBinary() - _ = yym121 + yy124 := *x.MinReplicas + yym125 := z.EncBinary() + _ = yym125 if false { } else { - r.EncodeInt(int64(yy120)) + r.EncodeInt(int64(yy124)) } } } else { r.EncodeNil() } } else { - if yyq115[1] { + if yyq119[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MinReplicas == nil { r.EncodeNil() } else { - yy122 := *x.MinReplicas - yym123 := z.EncBinary() - _ = yym123 + yy126 := *x.MinReplicas + yym127 := z.EncBinary() + _ = yym127 if false { } else { - r.EncodeInt(int64(yy122)) + r.EncodeInt(int64(yy126)) } } } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym125 := z.EncBinary() - _ = yym125 + yym129 := z.EncBinary() + _ = yym129 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) @@ -1601,16 +1625,16 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym126 := z.EncBinary() - _ = yym126 + yym130 := z.EncBinary() + _ = yym130 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq115[3] { + if yyq119[3] { if x.CPUUtilization == nil { r.EncodeNil() } else { @@ -1620,7 +1644,7 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq115[3] { + if yyq119[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cpuUtilization")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -1631,7 +1655,7 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr115 || yy2arr115 { + if yyr119 || yy2arr119 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1644,25 +1668,25 @@ func (x *HorizontalPodAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym128 := z.DecBinary() - _ = yym128 + yym132 := z.DecBinary() + _ = yym132 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct129 := r.ContainerType() - if yyct129 == codecSelferValueTypeMap1234 { - yyl129 := r.ReadMapStart() - if yyl129 == 0 { + yyct133 := r.ContainerType() + if yyct133 == codecSelferValueTypeMap1234 { + yyl133 := r.ReadMapStart() + if yyl133 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl129, d) + x.codecDecodeSelfFromMap(yyl133, d) } - } else if yyct129 == codecSelferValueTypeArray1234 { - yyl129 := r.ReadArrayStart() - if yyl129 == 0 { + } else if yyct133 == codecSelferValueTypeArray1234 { + yyl133 := r.ReadArrayStart() + if yyl133 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl129, d) + x.codecDecodeSelfFromArray(yyl133, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1674,12 +1698,12 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys130Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys130Slc - var yyhl130 bool = l >= 0 - for yyj130 := 0; ; yyj130++ { - if yyhl130 { - if yyj130 >= l { + var yys134Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys134Slc + var yyhl134 bool = l >= 0 + for yyj134 := 0; ; yyj134++ { + if yyhl134 { + if yyj134 >= l { break } } else { @@ -1688,16 +1712,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys130Slc = r.DecodeBytes(yys130Slc, true, true) - yys130 := string(yys130Slc) + yys134Slc = r.DecodeBytes(yys134Slc, true, true) + yys134 := string(yys134Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys130 { + switch yys134 { case "scaleRef": if r.TryDecodeAsNil() { x.ScaleRef = SubresourceReference{} } else { - yyv131 := &x.ScaleRef - yyv131.CodecDecodeSelf(d) + yyv135 := &x.ScaleRef + yyv135.CodecDecodeSelf(d) } case "minReplicas": if r.TryDecodeAsNil() { @@ -1708,8 +1732,8 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 if x.MinReplicas == nil { x.MinReplicas = new(int32) } - yym133 := z.DecBinary() - _ = yym133 + yym137 := z.DecBinary() + _ = yym137 if false { } else { *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32)) @@ -1733,9 +1757,9 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 x.CPUUtilization.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys130) - } // end switch yys130 - } // end for yyj130 + z.DecStructFieldNotFound(-1, yys134) + } // end switch yys134 + } // end for yyj134 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1743,16 +1767,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj136 int - var yyb136 bool - var yyhl136 bool = l >= 0 - yyj136++ - if yyhl136 { - yyb136 = yyj136 > l + var yyj140 int + var yyb140 bool + var yyhl140 bool = l >= 0 + yyj140++ + if yyhl140 { + yyb140 = yyj140 > l } else { - yyb136 = r.CheckBreak() + yyb140 = r.CheckBreak() } - if yyb136 { + if yyb140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1760,16 +1784,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.ScaleRef = SubresourceReference{} } else { - yyv137 := &x.ScaleRef - yyv137.CodecDecodeSelf(d) + yyv141 := &x.ScaleRef + yyv141.CodecDecodeSelf(d) } - yyj136++ - if yyhl136 { - yyb136 = yyj136 > l + yyj140++ + if yyhl140 { + yyb140 = yyj140 > l } else { - yyb136 = r.CheckBreak() + yyb140 = r.CheckBreak() } - if yyb136 { + if yyb140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1782,20 +1806,20 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if x.MinReplicas == nil { x.MinReplicas = new(int32) } - yym139 := z.DecBinary() - _ = yym139 + yym143 := z.DecBinary() + _ = yym143 if false { } else { *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32)) } } - yyj136++ - if yyhl136 { - yyb136 = yyj136 > l + yyj140++ + if yyhl140 { + yyb140 = yyj140 > l } else { - yyb136 = r.CheckBreak() + yyb140 = r.CheckBreak() } - if yyb136 { + if yyb140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1805,13 +1829,13 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 } else { x.MaxReplicas = int32(r.DecodeInt(32)) } - yyj136++ - if yyhl136 { - yyb136 = yyj136 > l + yyj140++ + if yyhl140 { + yyb140 = yyj140 > l } else { - yyb136 = r.CheckBreak() + yyb140 = r.CheckBreak() } - if yyb136 { + if yyb140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1827,17 +1851,17 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 x.CPUUtilization.CodecDecodeSelf(d) } for { - yyj136++ - if yyhl136 { - yyb136 = yyj136 > l + yyj140++ + if yyhl140 { + yyb140 = yyj140 > l } else { - yyb136 = r.CheckBreak() + yyb140 = r.CheckBreak() } - if yyb136 { + if yyb140 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj136-1, "") + z.DecStructFieldNotFound(yyj140-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1849,80 +1873,80 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym142 := z.EncBinary() - _ = yym142 + yym146 := z.EncBinary() + _ = yym146 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep143 := !z.EncBinary() - yy2arr143 := z.EncBasicHandle().StructToArray - var yyq143 [5]bool - _, _, _ = yysep143, yyq143, yy2arr143 - const yyr143 bool = false - yyq143[0] = x.ObservedGeneration != nil - yyq143[1] = x.LastScaleTime != nil - yyq143[4] = x.CurrentCPUUtilizationPercentage != nil - var yynn143 int - if yyr143 || yy2arr143 { + yysep147 := !z.EncBinary() + yy2arr147 := z.EncBasicHandle().StructToArray + var yyq147 [5]bool + _, _, _ = yysep147, yyq147, yy2arr147 + const yyr147 bool = false + yyq147[0] = x.ObservedGeneration != nil + yyq147[1] = x.LastScaleTime != nil + yyq147[4] = x.CurrentCPUUtilizationPercentage != nil + var yynn147 int + if yyr147 || yy2arr147 { r.EncodeArrayStart(5) } else { - yynn143 = 2 - for _, b := range yyq143 { + yynn147 = 2 + for _, b := range yyq147 { if b { - yynn143++ + yynn147++ } } - r.EncodeMapStart(yynn143) - yynn143 = 0 + r.EncodeMapStart(yynn147) + yynn147 = 0 } - if yyr143 || yy2arr143 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq143[0] { + if yyq147[0] { if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy145 := *x.ObservedGeneration - yym146 := z.EncBinary() - _ = yym146 + yy149 := *x.ObservedGeneration + yym150 := z.EncBinary() + _ = yym150 if false { } else { - r.EncodeInt(int64(yy145)) + r.EncodeInt(int64(yy149)) } } } else { r.EncodeNil() } } else { - if yyq143[0] { + if yyq147[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy147 := *x.ObservedGeneration - yym148 := z.EncBinary() - _ = yym148 + yy151 := *x.ObservedGeneration + yym152 := z.EncBinary() + _ = yym152 if false { } else { - r.EncodeInt(int64(yy147)) + r.EncodeInt(int64(yy151)) } } } } - if yyr143 || yy2arr143 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq143[1] { + if yyq147[1] { if x.LastScaleTime == nil { r.EncodeNil() } else { - yym150 := z.EncBinary() - _ = yym150 + yym154 := z.EncBinary() + _ = yym154 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym150 { + } else if yym154 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym150 && z.IsJSONHandle() { + } else if !yym154 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -1932,20 +1956,20 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq143[1] { + if yyq147[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastScaleTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LastScaleTime == nil { r.EncodeNil() } else { - yym151 := z.EncBinary() - _ = yym151 + yym155 := z.EncBinary() + _ = yym155 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym151 { + } else if yym155 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym151 && z.IsJSONHandle() { + } else if !yym155 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -1953,10 +1977,10 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr143 || yy2arr143 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym153 := z.EncBinary() - _ = yym153 + yym157 := z.EncBinary() + _ = yym157 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) @@ -1965,17 +1989,17 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym154 := z.EncBinary() - _ = yym154 + yym158 := z.EncBinary() + _ = yym158 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) } } - if yyr143 || yy2arr143 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym156 := z.EncBinary() - _ = yym156 + yym160 := z.EncBinary() + _ = yym160 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) @@ -1984,49 +2008,49 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym157 := z.EncBinary() - _ = yym157 + yym161 := z.EncBinary() + _ = yym161 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) } } - if yyr143 || yy2arr143 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq143[4] { + if yyq147[4] { if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy159 := *x.CurrentCPUUtilizationPercentage - yym160 := z.EncBinary() - _ = yym160 + yy163 := *x.CurrentCPUUtilizationPercentage + yym164 := z.EncBinary() + _ = yym164 if false { } else { - r.EncodeInt(int64(yy159)) + r.EncodeInt(int64(yy163)) } } } else { r.EncodeNil() } } else { - if yyq143[4] { + if yyq147[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentCPUUtilizationPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy161 := *x.CurrentCPUUtilizationPercentage - yym162 := z.EncBinary() - _ = yym162 + yy165 := *x.CurrentCPUUtilizationPercentage + yym166 := z.EncBinary() + _ = yym166 if false { } else { - r.EncodeInt(int64(yy161)) + r.EncodeInt(int64(yy165)) } } } } - if yyr143 || yy2arr143 { + if yyr147 || yy2arr147 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2039,25 +2063,25 @@ func (x *HorizontalPodAutoscalerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym163 := z.DecBinary() - _ = yym163 + yym167 := z.DecBinary() + _ = yym167 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct164 := r.ContainerType() - if yyct164 == codecSelferValueTypeMap1234 { - yyl164 := r.ReadMapStart() - if yyl164 == 0 { + yyct168 := r.ContainerType() + if yyct168 == codecSelferValueTypeMap1234 { + yyl168 := r.ReadMapStart() + if yyl168 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl164, d) + x.codecDecodeSelfFromMap(yyl168, d) } - } else if yyct164 == codecSelferValueTypeArray1234 { - yyl164 := r.ReadArrayStart() - if yyl164 == 0 { + } else if yyct168 == codecSelferValueTypeArray1234 { + yyl168 := r.ReadArrayStart() + if yyl168 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl164, d) + x.codecDecodeSelfFromArray(yyl168, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2069,12 +2093,12 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys165Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys165Slc - var yyhl165 bool = l >= 0 - for yyj165 := 0; ; yyj165++ { - if yyhl165 { - if yyj165 >= l { + var yys169Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys169Slc + var yyhl169 bool = l >= 0 + for yyj169 := 0; ; yyj169++ { + if yyhl169 { + if yyj169 >= l { break } } else { @@ -2083,10 +2107,10 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys165Slc = r.DecodeBytes(yys165Slc, true, true) - yys165 := string(yys165Slc) + yys169Slc = r.DecodeBytes(yys169Slc, true, true) + yys169 := string(yys169Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys165 { + switch yys169 { case "observedGeneration": if r.TryDecodeAsNil() { if x.ObservedGeneration != nil { @@ -2096,8 +2120,8 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym167 := z.DecBinary() - _ = yym167 + yym171 := z.DecBinary() + _ = yym171 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) @@ -2112,13 +2136,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_unversioned.Time) } - yym169 := z.DecBinary() - _ = yym169 + yym173 := z.DecBinary() + _ = yym173 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym169 { + } else if yym173 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym169 && z.IsJSONHandle() { + } else if !yym173 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) @@ -2145,17 +2169,17 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int32) } - yym173 := z.DecBinary() - _ = yym173 + yym177 := z.DecBinary() + _ = yym177 if false { } else { *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys165) - } // end switch yys165 - } // end for yyj165 + z.DecStructFieldNotFound(-1, yys169) + } // end switch yys169 + } // end for yyj169 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2163,16 +2187,16 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj174 int - var yyb174 bool - var yyhl174 bool = l >= 0 - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + var yyj178 int + var yyb178 bool + var yyhl178 bool = l >= 0 + yyj178++ + if yyhl178 { + yyb178 = yyj178 > l } else { - yyb174 = r.CheckBreak() + yyb178 = r.CheckBreak() } - if yyb174 { + if yyb178 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2185,20 +2209,20 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym176 := z.DecBinary() - _ = yym176 + yym180 := z.DecBinary() + _ = yym180 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) } } - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj178++ + if yyhl178 { + yyb178 = yyj178 > l } else { - yyb174 = r.CheckBreak() + yyb178 = r.CheckBreak() } - if yyb174 { + if yyb178 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2211,25 +2235,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_unversioned.Time) } - yym178 := z.DecBinary() - _ = yym178 + yym182 := z.DecBinary() + _ = yym182 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym178 { + } else if yym182 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym178 && z.IsJSONHandle() { + } else if !yym182 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) } } - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj178++ + if yyhl178 { + yyb178 = yyj178 > l } else { - yyb174 = r.CheckBreak() + yyb178 = r.CheckBreak() } - if yyb174 { + if yyb178 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2239,13 +2263,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec } else { x.CurrentReplicas = int32(r.DecodeInt(32)) } - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj178++ + if yyhl178 { + yyb178 = yyj178 > l } else { - yyb174 = r.CheckBreak() + yyb178 = r.CheckBreak() } - if yyb174 { + if yyb178 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2255,13 +2279,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec } else { x.DesiredReplicas = int32(r.DecodeInt(32)) } - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj178++ + if yyhl178 { + yyb178 = yyj178 > l } else { - yyb174 = r.CheckBreak() + yyb178 = r.CheckBreak() } - if yyb174 { + if yyb178 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2274,25 +2298,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int32) } - yym182 := z.DecBinary() - _ = yym182 + yym186 := z.DecBinary() + _ = yym186 if false { } else { *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } for { - yyj174++ - if yyhl174 { - yyb174 = yyj174 > l + yyj178++ + if yyhl178 { + yyb178 = yyj178 > l } else { - yyb174 = r.CheckBreak() + yyb178 = r.CheckBreak() } - if yyb174 { + if yyb178 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj174-1, "") + z.DecStructFieldNotFound(yyj178-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2304,136 +2328,148 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym183 := z.EncBinary() - _ = yym183 + yym187 := z.EncBinary() + _ = yym187 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep184 := !z.EncBinary() - yy2arr184 := z.EncBasicHandle().StructToArray - var yyq184 [5]bool - _, _, _ = yysep184, yyq184, yy2arr184 - const yyr184 bool = false - yyq184[0] = x.Kind != "" - yyq184[1] = x.APIVersion != "" - yyq184[2] = true - yyq184[3] = true - yyq184[4] = true - var yynn184 int - if yyr184 || yy2arr184 { + yysep188 := !z.EncBinary() + yy2arr188 := z.EncBasicHandle().StructToArray + var yyq188 [5]bool + _, _, _ = yysep188, yyq188, yy2arr188 + const yyr188 bool = false + yyq188[0] = x.Kind != "" + yyq188[1] = x.APIVersion != "" + yyq188[2] = true + yyq188[3] = true + yyq188[4] = true + var yynn188 int + if yyr188 || yy2arr188 { r.EncodeArrayStart(5) } else { - yynn184 = 0 - for _, b := range yyq184 { + yynn188 = 0 + for _, b := range yyq188 { if b { - yynn184++ + yynn188++ } } - r.EncodeMapStart(yynn184) - yynn184 = 0 + r.EncodeMapStart(yynn188) + yynn188 = 0 } - if yyr184 || yy2arr184 { + if yyr188 || yy2arr188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq184[0] { - yym186 := z.EncBinary() - _ = yym186 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq184[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym187 := z.EncBinary() - _ = yym187 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr184 || yy2arr184 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq184[1] { - yym189 := z.EncBinary() - _ = yym189 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq184[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq188[0] { yym190 := z.EncBinary() _ = yym190 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq188[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym191 := z.EncBinary() + _ = yym191 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr188 || yy2arr188 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq188[1] { + yym193 := z.EncBinary() + _ = yym193 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq188[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym194 := z.EncBinary() + _ = yym194 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr184 || yy2arr184 { + if yyr188 || yy2arr188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq184[2] { - yy192 := &x.ObjectMeta - yy192.CodecEncodeSelf(e) + if yyq188[2] { + yy196 := &x.ObjectMeta + yym197 := z.EncBinary() + _ = yym197 + if false { + } else if z.HasExtensions() && z.EncExt(yy196) { + } else { + z.EncFallback(yy196) + } } else { r.EncodeNil() } } else { - if yyq184[2] { + if yyq188[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy193 := &x.ObjectMeta - yy193.CodecEncodeSelf(e) + yy198 := &x.ObjectMeta + yym199 := z.EncBinary() + _ = yym199 + if false { + } else if z.HasExtensions() && z.EncExt(yy198) { + } else { + z.EncFallback(yy198) + } } } - if yyr184 || yy2arr184 { + if yyr188 || yy2arr188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq184[3] { - yy195 := &x.Spec - yy195.CodecEncodeSelf(e) + if yyq188[3] { + yy201 := &x.Spec + yy201.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq184[3] { + if yyq188[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy196 := &x.Spec - yy196.CodecEncodeSelf(e) + yy202 := &x.Spec + yy202.CodecEncodeSelf(e) } } - if yyr184 || yy2arr184 { + if yyr188 || yy2arr188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq184[4] { - yy198 := &x.Status - yy198.CodecEncodeSelf(e) + if yyq188[4] { + yy204 := &x.Status + yy204.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq184[4] { + if yyq188[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy199 := &x.Status - yy199.CodecEncodeSelf(e) + yy205 := &x.Status + yy205.CodecEncodeSelf(e) } } - if yyr184 || yy2arr184 { + if yyr188 || yy2arr188 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2446,25 +2482,25 @@ func (x *HorizontalPodAutoscaler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym200 := z.DecBinary() - _ = yym200 + yym206 := z.DecBinary() + _ = yym206 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct201 := r.ContainerType() - if yyct201 == codecSelferValueTypeMap1234 { - yyl201 := r.ReadMapStart() - if yyl201 == 0 { + yyct207 := r.ContainerType() + if yyct207 == codecSelferValueTypeMap1234 { + yyl207 := r.ReadMapStart() + if yyl207 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl201, d) + x.codecDecodeSelfFromMap(yyl207, d) } - } else if yyct201 == codecSelferValueTypeArray1234 { - yyl201 := r.ReadArrayStart() - if yyl201 == 0 { + } else if yyct207 == codecSelferValueTypeArray1234 { + yyl207 := r.ReadArrayStart() + if yyl207 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl201, d) + x.codecDecodeSelfFromArray(yyl207, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2476,12 +2512,12 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys202Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys202Slc - var yyhl202 bool = l >= 0 - for yyj202 := 0; ; yyj202++ { - if yyhl202 { - if yyj202 >= l { + var yys208Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys208Slc + var yyhl208 bool = l >= 0 + for yyj208 := 0; ; yyj208++ { + if yyhl208 { + if yyj208 >= l { break } } else { @@ -2490,10 +2526,10 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys202Slc = r.DecodeBytes(yys202Slc, true, true) - yys202 := string(yys202Slc) + yys208Slc = r.DecodeBytes(yys208Slc, true, true) + yys208 := string(yys208Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys202 { + switch yys208 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -2510,27 +2546,33 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv205 := &x.ObjectMeta - yyv205.CodecDecodeSelf(d) + yyv211 := &x.ObjectMeta + yym212 := z.DecBinary() + _ = yym212 + if false { + } else if z.HasExtensions() && z.DecExt(yyv211) { + } else { + z.DecFallback(yyv211, false) + } } case "spec": if r.TryDecodeAsNil() { x.Spec = HorizontalPodAutoscalerSpec{} } else { - yyv206 := &x.Spec - yyv206.CodecDecodeSelf(d) + yyv213 := &x.Spec + yyv213.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = HorizontalPodAutoscalerStatus{} } else { - yyv207 := &x.Status - yyv207.CodecDecodeSelf(d) + yyv214 := &x.Status + yyv214.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys202) - } // end switch yys202 - } // end for yyj202 + z.DecStructFieldNotFound(-1, yys208) + } // end switch yys208 + } // end for yyj208 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2538,16 +2580,16 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj208 int - var yyb208 bool - var yyhl208 bool = l >= 0 - yyj208++ - if yyhl208 { - yyb208 = yyj208 > l + var yyj215 int + var yyb215 bool + var yyhl215 bool = l >= 0 + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb208 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb208 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2557,13 +2599,13 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Kind = string(r.DecodeString()) } - yyj208++ - if yyhl208 { - yyb208 = yyj208 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb208 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb208 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2573,13 +2615,13 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } - yyj208++ - if yyhl208 { - yyb208 = yyj208 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb208 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb208 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2587,16 +2629,22 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv211 := &x.ObjectMeta - yyv211.CodecDecodeSelf(d) + yyv218 := &x.ObjectMeta + yym219 := z.DecBinary() + _ = yym219 + if false { + } else if z.HasExtensions() && z.DecExt(yyv218) { + } else { + z.DecFallback(yyv218, false) + } } - yyj208++ - if yyhl208 { - yyb208 = yyj208 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb208 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb208 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2604,16 +2652,16 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Spec = HorizontalPodAutoscalerSpec{} } else { - yyv212 := &x.Spec - yyv212.CodecDecodeSelf(d) + yyv220 := &x.Spec + yyv220.CodecDecodeSelf(d) } - yyj208++ - if yyhl208 { - yyb208 = yyj208 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb208 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb208 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2621,21 +2669,21 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Status = HorizontalPodAutoscalerStatus{} } else { - yyv213 := &x.Status - yyv213.CodecDecodeSelf(d) + yyv221 := &x.Status + yyv221.CodecDecodeSelf(d) } for { - yyj208++ - if yyhl208 { - yyb208 = yyj208 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb208 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb208 { + if yyb215 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj208-1, "") + z.DecStructFieldNotFound(yyj215-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2647,37 +2695,37 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym214 := z.EncBinary() - _ = yym214 + yym222 := z.EncBinary() + _ = yym222 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep215 := !z.EncBinary() - yy2arr215 := z.EncBasicHandle().StructToArray - var yyq215 [4]bool - _, _, _ = yysep215, yyq215, yy2arr215 - const yyr215 bool = false - yyq215[0] = x.Kind != "" - yyq215[1] = x.APIVersion != "" - yyq215[2] = true - var yynn215 int - if yyr215 || yy2arr215 { + yysep223 := !z.EncBinary() + yy2arr223 := z.EncBasicHandle().StructToArray + var yyq223 [4]bool + _, _, _ = yysep223, yyq223, yy2arr223 + const yyr223 bool = false + yyq223[0] = x.Kind != "" + yyq223[1] = x.APIVersion != "" + yyq223[2] = true + var yynn223 int + if yyr223 || yy2arr223 { r.EncodeArrayStart(4) } else { - yynn215 = 1 - for _, b := range yyq215 { + yynn223 = 1 + for _, b := range yyq223 { if b { - yynn215++ + yynn223++ } } - r.EncodeMapStart(yynn215) - yynn215 = 0 + r.EncodeMapStart(yynn223) + yynn223 = 0 } - if yyr215 || yy2arr215 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq215[0] { - yym217 := z.EncBinary() - _ = yym217 + if yyq223[0] { + yym225 := z.EncBinary() + _ = yym225 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -2686,23 +2734,23 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq215[0] { + if yyq223[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym218 := z.EncBinary() - _ = yym218 + yym226 := z.EncBinary() + _ = yym226 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr215 || yy2arr215 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq215[1] { - yym220 := z.EncBinary() - _ = yym220 + if yyq223[1] { + yym228 := z.EncBinary() + _ = yym228 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -2711,54 +2759,54 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq215[1] { + if yyq223[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym221 := z.EncBinary() - _ = yym221 + yym229 := z.EncBinary() + _ = yym229 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr215 || yy2arr215 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq215[2] { - yy223 := &x.ListMeta - yym224 := z.EncBinary() - _ = yym224 + if yyq223[2] { + yy231 := &x.ListMeta + yym232 := z.EncBinary() + _ = yym232 if false { - } else if z.HasExtensions() && z.EncExt(yy223) { + } else if z.HasExtensions() && z.EncExt(yy231) { } else { - z.EncFallback(yy223) + z.EncFallback(yy231) } } else { r.EncodeNil() } } else { - if yyq215[2] { + if yyq223[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy225 := &x.ListMeta - yym226 := z.EncBinary() - _ = yym226 + yy233 := &x.ListMeta + yym234 := z.EncBinary() + _ = yym234 if false { - } else if z.HasExtensions() && z.EncExt(yy225) { + } else if z.HasExtensions() && z.EncExt(yy233) { } else { - z.EncFallback(yy225) + z.EncFallback(yy233) } } } - if yyr215 || yy2arr215 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym228 := z.EncBinary() - _ = yym228 + yym236 := z.EncBinary() + _ = yym236 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) @@ -2771,15 +2819,15 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym229 := z.EncBinary() - _ = yym229 + yym237 := z.EncBinary() + _ = yym237 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) } } } - if yyr215 || yy2arr215 { + if yyr223 || yy2arr223 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2792,25 +2840,25 @@ func (x *HorizontalPodAutoscalerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym230 := z.DecBinary() - _ = yym230 + yym238 := z.DecBinary() + _ = yym238 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct231 := r.ContainerType() - if yyct231 == codecSelferValueTypeMap1234 { - yyl231 := r.ReadMapStart() - if yyl231 == 0 { + yyct239 := r.ContainerType() + if yyct239 == codecSelferValueTypeMap1234 { + yyl239 := r.ReadMapStart() + if yyl239 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl231, d) + x.codecDecodeSelfFromMap(yyl239, d) } - } else if yyct231 == codecSelferValueTypeArray1234 { - yyl231 := r.ReadArrayStart() - if yyl231 == 0 { + } else if yyct239 == codecSelferValueTypeArray1234 { + yyl239 := r.ReadArrayStart() + if yyl239 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl231, d) + x.codecDecodeSelfFromArray(yyl239, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2822,12 +2870,12 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys232Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys232Slc - var yyhl232 bool = l >= 0 - for yyj232 := 0; ; yyj232++ { - if yyhl232 { - if yyj232 >= l { + var yys240Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys240Slc + var yyhl240 bool = l >= 0 + for yyj240 := 0; ; yyj240++ { + if yyhl240 { + if yyj240 >= l { break } } else { @@ -2836,10 +2884,10 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys232Slc = r.DecodeBytes(yys232Slc, true, true) - yys232 := string(yys232Slc) + yys240Slc = r.DecodeBytes(yys240Slc, true, true) + yys240 := string(yys240Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys232 { + switch yys240 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -2856,31 +2904,31 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv235 := &x.ListMeta - yym236 := z.DecBinary() - _ = yym236 + yyv243 := &x.ListMeta + yym244 := z.DecBinary() + _ = yym244 if false { - } else if z.HasExtensions() && z.DecExt(yyv235) { + } else if z.HasExtensions() && z.DecExt(yyv243) { } else { - z.DecFallback(yyv235, false) + z.DecFallback(yyv243, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv237 := &x.Items - yym238 := z.DecBinary() - _ = yym238 + yyv245 := &x.Items + yym246 := z.DecBinary() + _ = yym246 if false { } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv237), d) + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv245), d) } } default: - z.DecStructFieldNotFound(-1, yys232) - } // end switch yys232 - } // end for yyj232 + z.DecStructFieldNotFound(-1, yys240) + } // end switch yys240 + } // end for yyj240 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2888,16 +2936,16 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj239 int - var yyb239 bool - var yyhl239 bool = l >= 0 - yyj239++ - if yyhl239 { - yyb239 = yyj239 > l + var yyj247 int + var yyb247 bool + var yyhl247 bool = l >= 0 + yyj247++ + if yyhl247 { + yyb247 = yyj247 > l } else { - yyb239 = r.CheckBreak() + yyb247 = r.CheckBreak() } - if yyb239 { + if yyb247 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2907,13 +2955,13 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Kind = string(r.DecodeString()) } - yyj239++ - if yyhl239 { - yyb239 = yyj239 > l + yyj247++ + if yyhl247 { + yyb247 = yyj247 > l } else { - yyb239 = r.CheckBreak() + yyb247 = r.CheckBreak() } - if yyb239 { + if yyb247 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2923,13 +2971,13 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 } else { x.APIVersion = string(r.DecodeString()) } - yyj239++ - if yyhl239 { - yyb239 = yyj239 > l + yyj247++ + if yyhl247 { + yyb247 = yyj247 > l } else { - yyb239 = r.CheckBreak() + yyb247 = r.CheckBreak() } - if yyb239 { + if yyb247 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2937,22 +2985,22 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv242 := &x.ListMeta - yym243 := z.DecBinary() - _ = yym243 + yyv250 := &x.ListMeta + yym251 := z.DecBinary() + _ = yym251 if false { - } else if z.HasExtensions() && z.DecExt(yyv242) { + } else if z.HasExtensions() && z.DecExt(yyv250) { } else { - z.DecFallback(yyv242, false) + z.DecFallback(yyv250, false) } } - yyj239++ - if yyhl239 { - yyb239 = yyj239 > l + yyj247++ + if yyhl247 { + yyb247 = yyj247 > l } else { - yyb239 = r.CheckBreak() + yyb247 = r.CheckBreak() } - if yyb239 { + if yyb247 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2960,26 +3008,26 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv244 := &x.Items - yym245 := z.DecBinary() - _ = yym245 + yyv252 := &x.Items + yym253 := z.DecBinary() + _ = yym253 if false { } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv244), d) + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv252), d) } } for { - yyj239++ - if yyhl239 { - yyb239 = yyj239 > l + yyj247++ + if yyhl247 { + yyb247 = yyj247 > l } else { - yyb239 = r.CheckBreak() + yyb247 = r.CheckBreak() } - if yyb239 { + if yyb247 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj239-1, "") + z.DecStructFieldNotFound(yyj247-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2991,39 +3039,39 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym246 := z.EncBinary() - _ = yym246 + yym254 := z.EncBinary() + _ = yym254 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep247 := !z.EncBinary() - yy2arr247 := z.EncBasicHandle().StructToArray - var yyq247 [5]bool - _, _, _ = yysep247, yyq247, yy2arr247 - const yyr247 bool = false - yyq247[0] = x.Kind != "" - yyq247[1] = x.APIVersion != "" - yyq247[2] = true - yyq247[3] = x.Description != "" - yyq247[4] = len(x.Versions) != 0 - var yynn247 int - if yyr247 || yy2arr247 { + yysep255 := !z.EncBinary() + yy2arr255 := z.EncBasicHandle().StructToArray + var yyq255 [5]bool + _, _, _ = yysep255, yyq255, yy2arr255 + const yyr255 bool = false + yyq255[0] = x.Kind != "" + yyq255[1] = x.APIVersion != "" + yyq255[2] = true + yyq255[3] = x.Description != "" + yyq255[4] = len(x.Versions) != 0 + var yynn255 int + if yyr255 || yy2arr255 { r.EncodeArrayStart(5) } else { - yynn247 = 0 - for _, b := range yyq247 { + yynn255 = 0 + for _, b := range yyq255 { if b { - yynn247++ + yynn255++ } } - r.EncodeMapStart(yynn247) - yynn247 = 0 + r.EncodeMapStart(yynn255) + yynn255 = 0 } - if yyr247 || yy2arr247 { + if yyr255 || yy2arr255 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[0] { - yym249 := z.EncBinary() - _ = yym249 + if yyq255[0] { + yym257 := z.EncBinary() + _ = yym257 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3032,66 +3080,78 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq247[0] { + if yyq255[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym250 := z.EncBinary() - _ = yym250 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr247 || yy2arr247 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[1] { - yym252 := z.EncBinary() - _ = yym252 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq247[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym253 := z.EncBinary() - _ = yym253 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr247 || yy2arr247 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[2] { - yy255 := &x.ObjectMeta - yy255.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq247[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy256 := &x.ObjectMeta - yy256.CodecEncodeSelf(e) - } - } - if yyr247 || yy2arr247 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[3] { yym258 := z.EncBinary() _ = yym258 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr255 || yy2arr255 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq255[1] { + yym260 := z.EncBinary() + _ = yym260 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq255[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym261 := z.EncBinary() + _ = yym261 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr255 || yy2arr255 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq255[2] { + yy263 := &x.ObjectMeta + yym264 := z.EncBinary() + _ = yym264 + if false { + } else if z.HasExtensions() && z.EncExt(yy263) { + } else { + z.EncFallback(yy263) + } + } else { + r.EncodeNil() + } + } else { + if yyq255[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy265 := &x.ObjectMeta + yym266 := z.EncBinary() + _ = yym266 + if false { + } else if z.HasExtensions() && z.EncExt(yy265) { + } else { + z.EncFallback(yy265) + } + } + } + if yyr255 || yy2arr255 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq255[3] { + yym268 := z.EncBinary() + _ = yym268 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Description)) } @@ -3099,26 +3159,26 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq247[3] { + if yyq255[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("description")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym259 := z.EncBinary() - _ = yym259 + yym269 := z.EncBinary() + _ = yym269 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Description)) } } } - if yyr247 || yy2arr247 { + if yyr255 || yy2arr255 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq247[4] { + if yyq255[4] { if x.Versions == nil { r.EncodeNil() } else { - yym261 := z.EncBinary() - _ = yym261 + yym271 := z.EncBinary() + _ = yym271 if false { } else { h.encSliceAPIVersion(([]APIVersion)(x.Versions), e) @@ -3128,15 +3188,15 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq247[4] { + if yyq255[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("versions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Versions == nil { r.EncodeNil() } else { - yym262 := z.EncBinary() - _ = yym262 + yym272 := z.EncBinary() + _ = yym272 if false { } else { h.encSliceAPIVersion(([]APIVersion)(x.Versions), e) @@ -3144,7 +3204,7 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr247 || yy2arr247 { + if yyr255 || yy2arr255 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3157,25 +3217,25 @@ func (x *ThirdPartyResource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym263 := z.DecBinary() - _ = yym263 + yym273 := z.DecBinary() + _ = yym273 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct264 := r.ContainerType() - if yyct264 == codecSelferValueTypeMap1234 { - yyl264 := r.ReadMapStart() - if yyl264 == 0 { + yyct274 := r.ContainerType() + if yyct274 == codecSelferValueTypeMap1234 { + yyl274 := r.ReadMapStart() + if yyl274 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl264, d) + x.codecDecodeSelfFromMap(yyl274, d) } - } else if yyct264 == codecSelferValueTypeArray1234 { - yyl264 := r.ReadArrayStart() - if yyl264 == 0 { + } else if yyct274 == codecSelferValueTypeArray1234 { + yyl274 := r.ReadArrayStart() + if yyl274 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl264, d) + x.codecDecodeSelfFromArray(yyl274, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3187,12 +3247,12 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys265Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys265Slc - var yyhl265 bool = l >= 0 - for yyj265 := 0; ; yyj265++ { - if yyhl265 { - if yyj265 >= l { + var yys275Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys275Slc + var yyhl275 bool = l >= 0 + for yyj275 := 0; ; yyj275++ { + if yyhl275 { + if yyj275 >= l { break } } else { @@ -3201,10 +3261,10 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys265Slc = r.DecodeBytes(yys265Slc, true, true) - yys265 := string(yys265Slc) + yys275Slc = r.DecodeBytes(yys275Slc, true, true) + yys275 := string(yys275Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys265 { + switch yys275 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3221,8 +3281,14 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv268 := &x.ObjectMeta - yyv268.CodecDecodeSelf(d) + yyv278 := &x.ObjectMeta + yym279 := z.DecBinary() + _ = yym279 + if false { + } else if z.HasExtensions() && z.DecExt(yyv278) { + } else { + z.DecFallback(yyv278, false) + } } case "description": if r.TryDecodeAsNil() { @@ -3234,18 +3300,18 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Versions = nil } else { - yyv270 := &x.Versions - yym271 := z.DecBinary() - _ = yym271 + yyv281 := &x.Versions + yym282 := z.DecBinary() + _ = yym282 if false { } else { - h.decSliceAPIVersion((*[]APIVersion)(yyv270), d) + h.decSliceAPIVersion((*[]APIVersion)(yyv281), d) } } default: - z.DecStructFieldNotFound(-1, yys265) - } // end switch yys265 - } // end for yyj265 + z.DecStructFieldNotFound(-1, yys275) + } // end switch yys275 + } // end for yyj275 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3253,16 +3319,16 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj272 int - var yyb272 bool - var yyhl272 bool = l >= 0 - yyj272++ - if yyhl272 { - yyb272 = yyj272 > l + var yyj283 int + var yyb283 bool + var yyhl283 bool = l >= 0 + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb272 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb272 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3272,13 +3338,13 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj272++ - if yyhl272 { - yyb272 = yyj272 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb272 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb272 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3288,13 +3354,13 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - yyj272++ - if yyhl272 { - yyb272 = yyj272 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb272 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb272 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3302,16 +3368,22 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv275 := &x.ObjectMeta - yyv275.CodecDecodeSelf(d) + yyv286 := &x.ObjectMeta + yym287 := z.DecBinary() + _ = yym287 + if false { + } else if z.HasExtensions() && z.DecExt(yyv286) { + } else { + z.DecFallback(yyv286, false) + } } - yyj272++ - if yyhl272 { - yyb272 = yyj272 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb272 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb272 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3321,13 +3393,13 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Description = string(r.DecodeString()) } - yyj272++ - if yyhl272 { - yyb272 = yyj272 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb272 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb272 { + if yyb283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3335,26 +3407,26 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Versions = nil } else { - yyv277 := &x.Versions - yym278 := z.DecBinary() - _ = yym278 + yyv289 := &x.Versions + yym290 := z.DecBinary() + _ = yym290 if false { } else { - h.decSliceAPIVersion((*[]APIVersion)(yyv277), d) + h.decSliceAPIVersion((*[]APIVersion)(yyv289), d) } } for { - yyj272++ - if yyhl272 { - yyb272 = yyj272 > l + yyj283++ + if yyhl283 { + yyb283 = yyj283 > l } else { - yyb272 = r.CheckBreak() + yyb283 = r.CheckBreak() } - if yyb272 { + if yyb283 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj272-1, "") + z.DecStructFieldNotFound(yyj283-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3366,37 +3438,37 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym279 := z.EncBinary() - _ = yym279 + yym291 := z.EncBinary() + _ = yym291 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep280 := !z.EncBinary() - yy2arr280 := z.EncBasicHandle().StructToArray - var yyq280 [4]bool - _, _, _ = yysep280, yyq280, yy2arr280 - const yyr280 bool = false - yyq280[0] = x.Kind != "" - yyq280[1] = x.APIVersion != "" - yyq280[2] = true - var yynn280 int - if yyr280 || yy2arr280 { + yysep292 := !z.EncBinary() + yy2arr292 := z.EncBasicHandle().StructToArray + var yyq292 [4]bool + _, _, _ = yysep292, yyq292, yy2arr292 + const yyr292 bool = false + yyq292[0] = x.Kind != "" + yyq292[1] = x.APIVersion != "" + yyq292[2] = true + var yynn292 int + if yyr292 || yy2arr292 { r.EncodeArrayStart(4) } else { - yynn280 = 1 - for _, b := range yyq280 { + yynn292 = 1 + for _, b := range yyq292 { if b { - yynn280++ + yynn292++ } } - r.EncodeMapStart(yynn280) - yynn280 = 0 + r.EncodeMapStart(yynn292) + yynn292 = 0 } - if yyr280 || yy2arr280 { + if yyr292 || yy2arr292 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq280[0] { - yym282 := z.EncBinary() - _ = yym282 + if yyq292[0] { + yym294 := z.EncBinary() + _ = yym294 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3405,23 +3477,23 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq280[0] { + if yyq292[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym283 := z.EncBinary() - _ = yym283 + yym295 := z.EncBinary() + _ = yym295 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr280 || yy2arr280 { + if yyr292 || yy2arr292 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq280[1] { - yym285 := z.EncBinary() - _ = yym285 + if yyq292[1] { + yym297 := z.EncBinary() + _ = yym297 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -3430,54 +3502,54 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq280[1] { + if yyq292[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym286 := z.EncBinary() - _ = yym286 + yym298 := z.EncBinary() + _ = yym298 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr280 || yy2arr280 { + if yyr292 || yy2arr292 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq280[2] { - yy288 := &x.ListMeta - yym289 := z.EncBinary() - _ = yym289 + if yyq292[2] { + yy300 := &x.ListMeta + yym301 := z.EncBinary() + _ = yym301 if false { - } else if z.HasExtensions() && z.EncExt(yy288) { + } else if z.HasExtensions() && z.EncExt(yy300) { } else { - z.EncFallback(yy288) + z.EncFallback(yy300) } } else { r.EncodeNil() } } else { - if yyq280[2] { + if yyq292[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy290 := &x.ListMeta - yym291 := z.EncBinary() - _ = yym291 + yy302 := &x.ListMeta + yym303 := z.EncBinary() + _ = yym303 if false { - } else if z.HasExtensions() && z.EncExt(yy290) { + } else if z.HasExtensions() && z.EncExt(yy302) { } else { - z.EncFallback(yy290) + z.EncFallback(yy302) } } } - if yyr280 || yy2arr280 { + if yyr292 || yy2arr292 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym293 := z.EncBinary() - _ = yym293 + yym305 := z.EncBinary() + _ = yym305 if false { } else { h.encSliceThirdPartyResource(([]ThirdPartyResource)(x.Items), e) @@ -3490,15 +3562,15 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym294 := z.EncBinary() - _ = yym294 + yym306 := z.EncBinary() + _ = yym306 if false { } else { h.encSliceThirdPartyResource(([]ThirdPartyResource)(x.Items), e) } } } - if yyr280 || yy2arr280 { + if yyr292 || yy2arr292 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3511,25 +3583,25 @@ func (x *ThirdPartyResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym295 := z.DecBinary() - _ = yym295 + yym307 := z.DecBinary() + _ = yym307 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct296 := r.ContainerType() - if yyct296 == codecSelferValueTypeMap1234 { - yyl296 := r.ReadMapStart() - if yyl296 == 0 { + yyct308 := r.ContainerType() + if yyct308 == codecSelferValueTypeMap1234 { + yyl308 := r.ReadMapStart() + if yyl308 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl296, d) + x.codecDecodeSelfFromMap(yyl308, d) } - } else if yyct296 == codecSelferValueTypeArray1234 { - yyl296 := r.ReadArrayStart() - if yyl296 == 0 { + } else if yyct308 == codecSelferValueTypeArray1234 { + yyl308 := r.ReadArrayStart() + if yyl308 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl296, d) + x.codecDecodeSelfFromArray(yyl308, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3541,12 +3613,12 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys297Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys297Slc - var yyhl297 bool = l >= 0 - for yyj297 := 0; ; yyj297++ { - if yyhl297 { - if yyj297 >= l { + var yys309Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys309Slc + var yyhl309 bool = l >= 0 + for yyj309 := 0; ; yyj309++ { + if yyhl309 { + if yyj309 >= l { break } } else { @@ -3555,10 +3627,10 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys297Slc = r.DecodeBytes(yys297Slc, true, true) - yys297 := string(yys297Slc) + yys309Slc = r.DecodeBytes(yys309Slc, true, true) + yys309 := string(yys309Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys297 { + switch yys309 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3575,31 +3647,31 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv300 := &x.ListMeta - yym301 := z.DecBinary() - _ = yym301 + yyv312 := &x.ListMeta + yym313 := z.DecBinary() + _ = yym313 if false { - } else if z.HasExtensions() && z.DecExt(yyv300) { + } else if z.HasExtensions() && z.DecExt(yyv312) { } else { - z.DecFallback(yyv300, false) + z.DecFallback(yyv312, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv302 := &x.Items - yym303 := z.DecBinary() - _ = yym303 + yyv314 := &x.Items + yym315 := z.DecBinary() + _ = yym315 if false { } else { - h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv302), d) + h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv314), d) } } default: - z.DecStructFieldNotFound(-1, yys297) - } // end switch yys297 - } // end for yyj297 + z.DecStructFieldNotFound(-1, yys309) + } // end switch yys309 + } // end for yyj309 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3607,16 +3679,16 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj304 int - var yyb304 bool - var yyhl304 bool = l >= 0 - yyj304++ - if yyhl304 { - yyb304 = yyj304 > l + var yyj316 int + var yyb316 bool + var yyhl316 bool = l >= 0 + yyj316++ + if yyhl316 { + yyb316 = yyj316 > l } else { - yyb304 = r.CheckBreak() + yyb316 = r.CheckBreak() } - if yyb304 { + if yyb316 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3626,13 +3698,13 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Kind = string(r.DecodeString()) } - yyj304++ - if yyhl304 { - yyb304 = yyj304 > l + yyj316++ + if yyhl316 { + yyb316 = yyj316 > l } else { - yyb304 = r.CheckBreak() + yyb316 = r.CheckBreak() } - if yyb304 { + if yyb316 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3642,13 +3714,13 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.APIVersion = string(r.DecodeString()) } - yyj304++ - if yyhl304 { - yyb304 = yyj304 > l + yyj316++ + if yyhl316 { + yyb316 = yyj316 > l } else { - yyb304 = r.CheckBreak() + yyb316 = r.CheckBreak() } - if yyb304 { + if yyb316 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3656,22 +3728,22 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv307 := &x.ListMeta - yym308 := z.DecBinary() - _ = yym308 + yyv319 := &x.ListMeta + yym320 := z.DecBinary() + _ = yym320 if false { - } else if z.HasExtensions() && z.DecExt(yyv307) { + } else if z.HasExtensions() && z.DecExt(yyv319) { } else { - z.DecFallback(yyv307, false) + z.DecFallback(yyv319, false) } } - yyj304++ - if yyhl304 { - yyb304 = yyj304 > l + yyj316++ + if yyhl316 { + yyb316 = yyj316 > l } else { - yyb304 = r.CheckBreak() + yyb316 = r.CheckBreak() } - if yyb304 { + if yyb316 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3679,26 +3751,26 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Items = nil } else { - yyv309 := &x.Items - yym310 := z.DecBinary() - _ = yym310 + yyv321 := &x.Items + yym322 := z.DecBinary() + _ = yym322 if false { } else { - h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv309), d) + h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv321), d) } } for { - yyj304++ - if yyhl304 { - yyb304 = yyj304 > l + yyj316++ + if yyhl316 { + yyb316 = yyj316 > l } else { - yyb304 = r.CheckBreak() + yyb316 = r.CheckBreak() } - if yyb304 { + if yyb316 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj304-1, "") + z.DecStructFieldNotFound(yyj316-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3710,36 +3782,36 @@ func (x *APIVersion) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym311 := z.EncBinary() - _ = yym311 + yym323 := z.EncBinary() + _ = yym323 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep312 := !z.EncBinary() - yy2arr312 := z.EncBasicHandle().StructToArray - var yyq312 [2]bool - _, _, _ = yysep312, yyq312, yy2arr312 - const yyr312 bool = false - yyq312[0] = x.Name != "" - yyq312[1] = x.APIGroup != "" - var yynn312 int - if yyr312 || yy2arr312 { + yysep324 := !z.EncBinary() + yy2arr324 := z.EncBasicHandle().StructToArray + var yyq324 [2]bool + _, _, _ = yysep324, yyq324, yy2arr324 + const yyr324 bool = false + yyq324[0] = x.Name != "" + yyq324[1] = x.APIGroup != "" + var yynn324 int + if yyr324 || yy2arr324 { r.EncodeArrayStart(2) } else { - yynn312 = 0 - for _, b := range yyq312 { + yynn324 = 0 + for _, b := range yyq324 { if b { - yynn312++ + yynn324++ } } - r.EncodeMapStart(yynn312) - yynn312 = 0 + r.EncodeMapStart(yynn324) + yynn324 = 0 } - if yyr312 || yy2arr312 { + if yyr324 || yy2arr324 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq312[0] { - yym314 := z.EncBinary() - _ = yym314 + if yyq324[0] { + yym326 := z.EncBinary() + _ = yym326 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -3748,23 +3820,23 @@ func (x *APIVersion) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq312[0] { + if yyq324[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym315 := z.EncBinary() - _ = yym315 + yym327 := z.EncBinary() + _ = yym327 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr312 || yy2arr312 { + if yyr324 || yy2arr324 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq312[1] { - yym317 := z.EncBinary() - _ = yym317 + if yyq324[1] { + yym329 := z.EncBinary() + _ = yym329 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIGroup)) @@ -3773,19 +3845,19 @@ func (x *APIVersion) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq312[1] { + if yyq324[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym318 := z.EncBinary() - _ = yym318 + yym330 := z.EncBinary() + _ = yym330 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIGroup)) } } } - if yyr312 || yy2arr312 { + if yyr324 || yy2arr324 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3798,25 +3870,25 @@ func (x *APIVersion) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym319 := z.DecBinary() - _ = yym319 + yym331 := z.DecBinary() + _ = yym331 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct320 := r.ContainerType() - if yyct320 == codecSelferValueTypeMap1234 { - yyl320 := r.ReadMapStart() - if yyl320 == 0 { + yyct332 := r.ContainerType() + if yyct332 == codecSelferValueTypeMap1234 { + yyl332 := r.ReadMapStart() + if yyl332 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl320, d) + x.codecDecodeSelfFromMap(yyl332, d) } - } else if yyct320 == codecSelferValueTypeArray1234 { - yyl320 := r.ReadArrayStart() - if yyl320 == 0 { + } else if yyct332 == codecSelferValueTypeArray1234 { + yyl332 := r.ReadArrayStart() + if yyl332 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl320, d) + x.codecDecodeSelfFromArray(yyl332, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3828,12 +3900,12 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys321Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys321Slc - var yyhl321 bool = l >= 0 - for yyj321 := 0; ; yyj321++ { - if yyhl321 { - if yyj321 >= l { + var yys333Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys333Slc + var yyhl333 bool = l >= 0 + for yyj333 := 0; ; yyj333++ { + if yyhl333 { + if yyj333 >= l { break } } else { @@ -3842,10 +3914,10 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys321Slc = r.DecodeBytes(yys321Slc, true, true) - yys321 := string(yys321Slc) + yys333Slc = r.DecodeBytes(yys333Slc, true, true) + yys333 := string(yys333Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys321 { + switch yys333 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -3859,9 +3931,9 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.APIGroup = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys321) - } // end switch yys321 - } // end for yyj321 + z.DecStructFieldNotFound(-1, yys333) + } // end switch yys333 + } // end for yyj333 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3869,16 +3941,16 @@ func (x *APIVersion) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj324 int - var yyb324 bool - var yyhl324 bool = l >= 0 - yyj324++ - if yyhl324 { - yyb324 = yyj324 > l + var yyj336 int + var yyb336 bool + var yyhl336 bool = l >= 0 + yyj336++ + if yyhl336 { + yyb336 = yyj336 > l } else { - yyb324 = r.CheckBreak() + yyb336 = r.CheckBreak() } - if yyb324 { + if yyb336 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3888,13 +3960,13 @@ func (x *APIVersion) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj324++ - if yyhl324 { - yyb324 = yyj324 > l + yyj336++ + if yyhl336 { + yyb336 = yyj336 > l } else { - yyb324 = r.CheckBreak() + yyb336 = r.CheckBreak() } - if yyb324 { + if yyb336 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3905,17 +3977,17 @@ func (x *APIVersion) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.APIGroup = string(r.DecodeString()) } for { - yyj324++ - if yyhl324 { - yyb324 = yyj324 > l + yyj336++ + if yyhl336 { + yyb336 = yyj336 > l } else { - yyb324 = r.CheckBreak() + yyb336 = r.CheckBreak() } - if yyb324 { + if yyb336 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj324-1, "") + z.DecStructFieldNotFound(yyj336-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3927,38 +3999,38 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym327 := z.EncBinary() - _ = yym327 + yym339 := z.EncBinary() + _ = yym339 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep328 := !z.EncBinary() - yy2arr328 := z.EncBasicHandle().StructToArray - var yyq328 [4]bool - _, _, _ = yysep328, yyq328, yy2arr328 - const yyr328 bool = false - yyq328[0] = x.Kind != "" - yyq328[1] = x.APIVersion != "" - yyq328[2] = true - yyq328[3] = len(x.Data) != 0 - var yynn328 int - if yyr328 || yy2arr328 { + yysep340 := !z.EncBinary() + yy2arr340 := z.EncBasicHandle().StructToArray + var yyq340 [4]bool + _, _, _ = yysep340, yyq340, yy2arr340 + const yyr340 bool = false + yyq340[0] = x.Kind != "" + yyq340[1] = x.APIVersion != "" + yyq340[2] = true + yyq340[3] = len(x.Data) != 0 + var yynn340 int + if yyr340 || yy2arr340 { r.EncodeArrayStart(4) } else { - yynn328 = 0 - for _, b := range yyq328 { + yynn340 = 0 + for _, b := range yyq340 { if b { - yynn328++ + yynn340++ } } - r.EncodeMapStart(yynn328) - yynn328 = 0 + r.EncodeMapStart(yynn340) + yynn340 = 0 } - if yyr328 || yy2arr328 { + if yyr340 || yy2arr340 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq328[0] { - yym330 := z.EncBinary() - _ = yym330 + if yyq340[0] { + yym342 := z.EncBinary() + _ = yym342 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3967,23 +4039,23 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq328[0] { + if yyq340[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym331 := z.EncBinary() - _ = yym331 + yym343 := z.EncBinary() + _ = yym343 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr328 || yy2arr328 { + if yyr340 || yy2arr340 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq328[1] { - yym333 := z.EncBinary() - _ = yym333 + if yyq340[1] { + yym345 := z.EncBinary() + _ = yym345 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -3992,43 +4064,55 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq328[1] { + if yyq340[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym334 := z.EncBinary() - _ = yym334 + yym346 := z.EncBinary() + _ = yym346 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr328 || yy2arr328 { + if yyr340 || yy2arr340 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq328[2] { - yy336 := &x.ObjectMeta - yy336.CodecEncodeSelf(e) + if yyq340[2] { + yy348 := &x.ObjectMeta + yym349 := z.EncBinary() + _ = yym349 + if false { + } else if z.HasExtensions() && z.EncExt(yy348) { + } else { + z.EncFallback(yy348) + } } else { r.EncodeNil() } } else { - if yyq328[2] { + if yyq340[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy337 := &x.ObjectMeta - yy337.CodecEncodeSelf(e) + yy350 := &x.ObjectMeta + yym351 := z.EncBinary() + _ = yym351 + if false { + } else if z.HasExtensions() && z.EncExt(yy350) { + } else { + z.EncFallback(yy350) + } } } - if yyr328 || yy2arr328 { + if yyr340 || yy2arr340 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq328[3] { + if yyq340[3] { if x.Data == nil { r.EncodeNil() } else { - yym339 := z.EncBinary() - _ = yym339 + yym353 := z.EncBinary() + _ = yym353 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -4038,15 +4122,15 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq328[3] { + if yyq340[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym340 := z.EncBinary() - _ = yym340 + yym354 := z.EncBinary() + _ = yym354 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -4054,7 +4138,7 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr328 || yy2arr328 { + if yyr340 || yy2arr340 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4067,25 +4151,25 @@ func (x *ThirdPartyResourceData) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym341 := z.DecBinary() - _ = yym341 + yym355 := z.DecBinary() + _ = yym355 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct342 := r.ContainerType() - if yyct342 == codecSelferValueTypeMap1234 { - yyl342 := r.ReadMapStart() - if yyl342 == 0 { + yyct356 := r.ContainerType() + if yyct356 == codecSelferValueTypeMap1234 { + yyl356 := r.ReadMapStart() + if yyl356 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl342, d) + x.codecDecodeSelfFromMap(yyl356, d) } - } else if yyct342 == codecSelferValueTypeArray1234 { - yyl342 := r.ReadArrayStart() - if yyl342 == 0 { + } else if yyct356 == codecSelferValueTypeArray1234 { + yyl356 := r.ReadArrayStart() + if yyl356 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl342, d) + x.codecDecodeSelfFromArray(yyl356, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4097,12 +4181,12 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys343Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys343Slc - var yyhl343 bool = l >= 0 - for yyj343 := 0; ; yyj343++ { - if yyhl343 { - if yyj343 >= l { + var yys357Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys357Slc + var yyhl357 bool = l >= 0 + for yyj357 := 0; ; yyj357++ { + if yyhl357 { + if yyj357 >= l { break } } else { @@ -4111,10 +4195,10 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys343Slc = r.DecodeBytes(yys343Slc, true, true) - yys343 := string(yys343Slc) + yys357Slc = r.DecodeBytes(yys357Slc, true, true) + yys357 := string(yys357Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys343 { + switch yys357 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -4131,25 +4215,31 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv346 := &x.ObjectMeta - yyv346.CodecDecodeSelf(d) + yyv360 := &x.ObjectMeta + yym361 := z.DecBinary() + _ = yym361 + if false { + } else if z.HasExtensions() && z.DecExt(yyv360) { + } else { + z.DecFallback(yyv360, false) + } } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv347 := &x.Data - yym348 := z.DecBinary() - _ = yym348 + yyv362 := &x.Data + yym363 := z.DecBinary() + _ = yym363 if false { } else { - *yyv347 = r.DecodeBytes(*(*[]byte)(yyv347), false, false) + *yyv362 = r.DecodeBytes(*(*[]byte)(yyv362), false, false) } } default: - z.DecStructFieldNotFound(-1, yys343) - } // end switch yys343 - } // end for yyj343 + z.DecStructFieldNotFound(-1, yys357) + } // end switch yys357 + } // end for yyj357 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4157,16 +4247,16 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj349 int - var yyb349 bool - var yyhl349 bool = l >= 0 - yyj349++ - if yyhl349 { - yyb349 = yyj349 > l + var yyj364 int + var yyb364 bool + var yyhl364 bool = l >= 0 + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb349 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb349 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4176,13 +4266,13 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Kind = string(r.DecodeString()) } - yyj349++ - if yyhl349 { - yyb349 = yyj349 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb349 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb349 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4192,13 +4282,13 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.APIVersion = string(r.DecodeString()) } - yyj349++ - if yyhl349 { - yyb349 = yyj349 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb349 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb349 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4206,16 +4296,22 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv352 := &x.ObjectMeta - yyv352.CodecDecodeSelf(d) + yyv367 := &x.ObjectMeta + yym368 := z.DecBinary() + _ = yym368 + if false { + } else if z.HasExtensions() && z.DecExt(yyv367) { + } else { + z.DecFallback(yyv367, false) + } } - yyj349++ - if yyhl349 { - yyb349 = yyj349 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb349 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb349 { + if yyb364 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4223,26 +4319,26 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Data = nil } else { - yyv353 := &x.Data - yym354 := z.DecBinary() - _ = yym354 + yyv369 := &x.Data + yym370 := z.DecBinary() + _ = yym370 if false { } else { - *yyv353 = r.DecodeBytes(*(*[]byte)(yyv353), false, false) + *yyv369 = r.DecodeBytes(*(*[]byte)(yyv369), false, false) } } for { - yyj349++ - if yyhl349 { - yyb349 = yyj349 > l + yyj364++ + if yyhl364 { + yyb364 = yyj364 > l } else { - yyb349 = r.CheckBreak() + yyb364 = r.CheckBreak() } - if yyb349 { + if yyb364 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj349-1, "") + z.DecStructFieldNotFound(yyj364-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4254,39 +4350,39 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym355 := z.EncBinary() - _ = yym355 + yym371 := z.EncBinary() + _ = yym371 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep356 := !z.EncBinary() - yy2arr356 := z.EncBasicHandle().StructToArray - var yyq356 [5]bool - _, _, _ = yysep356, yyq356, yy2arr356 - const yyr356 bool = false - yyq356[0] = x.Kind != "" - yyq356[1] = x.APIVersion != "" - yyq356[2] = true - yyq356[3] = true - yyq356[4] = true - var yynn356 int - if yyr356 || yy2arr356 { + yysep372 := !z.EncBinary() + yy2arr372 := z.EncBasicHandle().StructToArray + var yyq372 [5]bool + _, _, _ = yysep372, yyq372, yy2arr372 + const yyr372 bool = false + yyq372[0] = x.Kind != "" + yyq372[1] = x.APIVersion != "" + yyq372[2] = true + yyq372[3] = true + yyq372[4] = true + var yynn372 int + if yyr372 || yy2arr372 { r.EncodeArrayStart(5) } else { - yynn356 = 0 - for _, b := range yyq356 { + yynn372 = 0 + for _, b := range yyq372 { if b { - yynn356++ + yynn372++ } } - r.EncodeMapStart(yynn356) - yynn356 = 0 + r.EncodeMapStart(yynn372) + yynn372 = 0 } - if yyr356 || yy2arr356 { + if yyr372 || yy2arr372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq356[0] { - yym358 := z.EncBinary() - _ = yym358 + if yyq372[0] { + yym374 := z.EncBinary() + _ = yym374 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -4295,23 +4391,23 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq356[0] { + if yyq372[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym359 := z.EncBinary() - _ = yym359 + yym375 := z.EncBinary() + _ = yym375 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr356 || yy2arr356 { + if yyr372 || yy2arr372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq356[1] { - yym361 := z.EncBinary() - _ = yym361 + if yyq372[1] { + yym377 := z.EncBinary() + _ = yym377 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -4320,70 +4416,82 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq356[1] { + if yyq372[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym362 := z.EncBinary() - _ = yym362 + yym378 := z.EncBinary() + _ = yym378 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr356 || yy2arr356 { + if yyr372 || yy2arr372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq356[2] { - yy364 := &x.ObjectMeta - yy364.CodecEncodeSelf(e) + if yyq372[2] { + yy380 := &x.ObjectMeta + yym381 := z.EncBinary() + _ = yym381 + if false { + } else if z.HasExtensions() && z.EncExt(yy380) { + } else { + z.EncFallback(yy380) + } } else { r.EncodeNil() } } else { - if yyq356[2] { + if yyq372[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy365 := &x.ObjectMeta - yy365.CodecEncodeSelf(e) + yy382 := &x.ObjectMeta + yym383 := z.EncBinary() + _ = yym383 + if false { + } else if z.HasExtensions() && z.EncExt(yy382) { + } else { + z.EncFallback(yy382) + } } } - if yyr356 || yy2arr356 { + if yyr372 || yy2arr372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq356[3] { - yy367 := &x.Spec - yy367.CodecEncodeSelf(e) + if yyq372[3] { + yy385 := &x.Spec + yy385.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq356[3] { + if yyq372[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy368 := &x.Spec - yy368.CodecEncodeSelf(e) + yy386 := &x.Spec + yy386.CodecEncodeSelf(e) } } - if yyr356 || yy2arr356 { + if yyr372 || yy2arr372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq356[4] { - yy370 := &x.Status - yy370.CodecEncodeSelf(e) + if yyq372[4] { + yy388 := &x.Status + yy388.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq356[4] { + if yyq372[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy371 := &x.Status - yy371.CodecEncodeSelf(e) + yy389 := &x.Status + yy389.CodecEncodeSelf(e) } } - if yyr356 || yy2arr356 { + if yyr372 || yy2arr372 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4396,25 +4504,25 @@ func (x *Deployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym372 := z.DecBinary() - _ = yym372 + yym390 := z.DecBinary() + _ = yym390 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct373 := r.ContainerType() - if yyct373 == codecSelferValueTypeMap1234 { - yyl373 := r.ReadMapStart() - if yyl373 == 0 { + yyct391 := r.ContainerType() + if yyct391 == codecSelferValueTypeMap1234 { + yyl391 := r.ReadMapStart() + if yyl391 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl373, d) + x.codecDecodeSelfFromMap(yyl391, d) } - } else if yyct373 == codecSelferValueTypeArray1234 { - yyl373 := r.ReadArrayStart() - if yyl373 == 0 { + } else if yyct391 == codecSelferValueTypeArray1234 { + yyl391 := r.ReadArrayStart() + if yyl391 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl373, d) + x.codecDecodeSelfFromArray(yyl391, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4426,12 +4534,12 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys374Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys374Slc - var yyhl374 bool = l >= 0 - for yyj374 := 0; ; yyj374++ { - if yyhl374 { - if yyj374 >= l { + var yys392Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys392Slc + var yyhl392 bool = l >= 0 + for yyj392 := 0; ; yyj392++ { + if yyhl392 { + if yyj392 >= l { break } } else { @@ -4440,10 +4548,10 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys374Slc = r.DecodeBytes(yys374Slc, true, true) - yys374 := string(yys374Slc) + yys392Slc = r.DecodeBytes(yys392Slc, true, true) + yys392 := string(yys392Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys374 { + switch yys392 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -4460,27 +4568,33 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv377 := &x.ObjectMeta - yyv377.CodecDecodeSelf(d) + yyv395 := &x.ObjectMeta + yym396 := z.DecBinary() + _ = yym396 + if false { + } else if z.HasExtensions() && z.DecExt(yyv395) { + } else { + z.DecFallback(yyv395, false) + } } case "spec": if r.TryDecodeAsNil() { x.Spec = DeploymentSpec{} } else { - yyv378 := &x.Spec - yyv378.CodecDecodeSelf(d) + yyv397 := &x.Spec + yyv397.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = DeploymentStatus{} } else { - yyv379 := &x.Status - yyv379.CodecDecodeSelf(d) + yyv398 := &x.Status + yyv398.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys374) - } // end switch yys374 - } // end for yyj374 + z.DecStructFieldNotFound(-1, yys392) + } // end switch yys392 + } // end for yyj392 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4488,16 +4602,16 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj380 int - var yyb380 bool - var yyhl380 bool = l >= 0 - yyj380++ - if yyhl380 { - yyb380 = yyj380 > l + var yyj399 int + var yyb399 bool + var yyhl399 bool = l >= 0 + yyj399++ + if yyhl399 { + yyb399 = yyj399 > l } else { - yyb380 = r.CheckBreak() + yyb399 = r.CheckBreak() } - if yyb380 { + if yyb399 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4507,13 +4621,13 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj380++ - if yyhl380 { - yyb380 = yyj380 > l + yyj399++ + if yyhl399 { + yyb399 = yyj399 > l } else { - yyb380 = r.CheckBreak() + yyb399 = r.CheckBreak() } - if yyb380 { + if yyb399 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4523,13 +4637,13 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj380++ - if yyhl380 { - yyb380 = yyj380 > l + yyj399++ + if yyhl399 { + yyb399 = yyj399 > l } else { - yyb380 = r.CheckBreak() + yyb399 = r.CheckBreak() } - if yyb380 { + if yyb399 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4537,16 +4651,22 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv383 := &x.ObjectMeta - yyv383.CodecDecodeSelf(d) + yyv402 := &x.ObjectMeta + yym403 := z.DecBinary() + _ = yym403 + if false { + } else if z.HasExtensions() && z.DecExt(yyv402) { + } else { + z.DecFallback(yyv402, false) + } } - yyj380++ - if yyhl380 { - yyb380 = yyj380 > l + yyj399++ + if yyhl399 { + yyb399 = yyj399 > l } else { - yyb380 = r.CheckBreak() + yyb399 = r.CheckBreak() } - if yyb380 { + if yyb399 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4554,16 +4674,16 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = DeploymentSpec{} } else { - yyv384 := &x.Spec - yyv384.CodecDecodeSelf(d) + yyv404 := &x.Spec + yyv404.CodecDecodeSelf(d) } - yyj380++ - if yyhl380 { - yyb380 = yyj380 > l + yyj399++ + if yyhl399 { + yyb399 = yyj399 > l } else { - yyb380 = r.CheckBreak() + yyb399 = r.CheckBreak() } - if yyb380 { + if yyb399 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4571,21 +4691,21 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = DeploymentStatus{} } else { - yyv385 := &x.Status - yyv385.CodecDecodeSelf(d) + yyv405 := &x.Status + yyv405.CodecDecodeSelf(d) } for { - yyj380++ - if yyhl380 { - yyb380 = yyj380 > l + yyj399++ + if yyhl399 { + yyb399 = yyj399 > l } else { - yyb380 = r.CheckBreak() + yyb399 = r.CheckBreak() } - if yyb380 { + if yyb399 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj380-1, "") + z.DecStructFieldNotFound(yyj399-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4597,76 +4717,76 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym386 := z.EncBinary() - _ = yym386 + yym406 := z.EncBinary() + _ = yym406 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep387 := !z.EncBinary() - yy2arr387 := z.EncBasicHandle().StructToArray - var yyq387 [5]bool - _, _, _ = yysep387, yyq387, yy2arr387 - const yyr387 bool = false - yyq387[0] = x.Replicas != nil - yyq387[1] = len(x.Selector) != 0 - yyq387[3] = true - yyq387[4] = x.UniqueLabelKey != nil - var yynn387 int - if yyr387 || yy2arr387 { + yysep407 := !z.EncBinary() + yy2arr407 := z.EncBasicHandle().StructToArray + var yyq407 [5]bool + _, _, _ = yysep407, yyq407, yy2arr407 + const yyr407 bool = false + yyq407[0] = x.Replicas != nil + yyq407[1] = len(x.Selector) != 0 + yyq407[3] = true + yyq407[4] = x.UniqueLabelKey != nil + var yynn407 int + if yyr407 || yy2arr407 { r.EncodeArrayStart(5) } else { - yynn387 = 1 - for _, b := range yyq387 { + yynn407 = 1 + for _, b := range yyq407 { if b { - yynn387++ + yynn407++ } } - r.EncodeMapStart(yynn387) - yynn387 = 0 + r.EncodeMapStart(yynn407) + yynn407 = 0 } - if yyr387 || yy2arr387 { + if yyr407 || yy2arr407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq387[0] { + if yyq407[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy389 := *x.Replicas - yym390 := z.EncBinary() - _ = yym390 + yy409 := *x.Replicas + yym410 := z.EncBinary() + _ = yym410 if false { } else { - r.EncodeInt(int64(yy389)) + r.EncodeInt(int64(yy409)) } } } else { r.EncodeNil() } } else { - if yyq387[0] { + if yyq407[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy391 := *x.Replicas - yym392 := z.EncBinary() - _ = yym392 + yy411 := *x.Replicas + yym412 := z.EncBinary() + _ = yym412 if false { } else { - r.EncodeInt(int64(yy391)) + r.EncodeInt(int64(yy411)) } } } } - if yyr387 || yy2arr387 { + if yyr407 || yy2arr407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq387[1] { + if yyq407[1] { if x.Selector == nil { r.EncodeNil() } else { - yym394 := z.EncBinary() - _ = yym394 + yym414 := z.EncBinary() + _ = yym414 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -4676,15 +4796,15 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq387[1] { + if yyq407[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym395 := z.EncBinary() - _ = yym395 + yym415 := z.EncBinary() + _ = yym415 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -4692,70 +4812,82 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr387 || yy2arr387 { + if yyr407 || yy2arr407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy397 := &x.Template - yy397.CodecEncodeSelf(e) + yy417 := &x.Template + yym418 := z.EncBinary() + _ = yym418 + if false { + } else if z.HasExtensions() && z.EncExt(yy417) { + } else { + z.EncFallback(yy417) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy398 := &x.Template - yy398.CodecEncodeSelf(e) + yy419 := &x.Template + yym420 := z.EncBinary() + _ = yym420 + if false { + } else if z.HasExtensions() && z.EncExt(yy419) { + } else { + z.EncFallback(yy419) + } } - if yyr387 || yy2arr387 { + if yyr407 || yy2arr407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq387[3] { - yy400 := &x.Strategy - yy400.CodecEncodeSelf(e) + if yyq407[3] { + yy422 := &x.Strategy + yy422.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq387[3] { + if yyq407[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("strategy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy401 := &x.Strategy - yy401.CodecEncodeSelf(e) + yy423 := &x.Strategy + yy423.CodecEncodeSelf(e) } } - if yyr387 || yy2arr387 { + if yyr407 || yy2arr407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq387[4] { + if yyq407[4] { if x.UniqueLabelKey == nil { r.EncodeNil() } else { - yy403 := *x.UniqueLabelKey - yym404 := z.EncBinary() - _ = yym404 + yy425 := *x.UniqueLabelKey + yym426 := z.EncBinary() + _ = yym426 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy403)) + r.EncodeString(codecSelferC_UTF81234, string(yy425)) } } } else { r.EncodeNil() } } else { - if yyq387[4] { + if yyq407[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uniqueLabelKey")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UniqueLabelKey == nil { r.EncodeNil() } else { - yy405 := *x.UniqueLabelKey - yym406 := z.EncBinary() - _ = yym406 + yy427 := *x.UniqueLabelKey + yym428 := z.EncBinary() + _ = yym428 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy405)) + r.EncodeString(codecSelferC_UTF81234, string(yy427)) } } } } - if yyr387 || yy2arr387 { + if yyr407 || yy2arr407 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4768,25 +4900,25 @@ func (x *DeploymentSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym407 := z.DecBinary() - _ = yym407 + yym429 := z.DecBinary() + _ = yym429 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct408 := r.ContainerType() - if yyct408 == codecSelferValueTypeMap1234 { - yyl408 := r.ReadMapStart() - if yyl408 == 0 { + yyct430 := r.ContainerType() + if yyct430 == codecSelferValueTypeMap1234 { + yyl430 := r.ReadMapStart() + if yyl430 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl408, d) + x.codecDecodeSelfFromMap(yyl430, d) } - } else if yyct408 == codecSelferValueTypeArray1234 { - yyl408 := r.ReadArrayStart() - if yyl408 == 0 { + } else if yyct430 == codecSelferValueTypeArray1234 { + yyl430 := r.ReadArrayStart() + if yyl430 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl408, d) + x.codecDecodeSelfFromArray(yyl430, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4798,12 +4930,12 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys409Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys409Slc - var yyhl409 bool = l >= 0 - for yyj409 := 0; ; yyj409++ { - if yyhl409 { - if yyj409 >= l { + var yys431Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys431Slc + var yyhl431 bool = l >= 0 + for yyj431 := 0; ; yyj431++ { + if yyhl431 { + if yyj431 >= l { break } } else { @@ -4812,10 +4944,10 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys409Slc = r.DecodeBytes(yys409Slc, true, true) - yys409 := string(yys409Slc) + yys431Slc = r.DecodeBytes(yys431Slc, true, true) + yys431 := string(yys431Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys409 { + switch yys431 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -4825,8 +4957,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym411 := z.DecBinary() - _ = yym411 + yym433 := z.DecBinary() + _ = yym433 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -4836,27 +4968,33 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv412 := &x.Selector - yym413 := z.DecBinary() - _ = yym413 + yyv434 := &x.Selector + yym435 := z.DecBinary() + _ = yym435 if false { } else { - z.F.DecMapStringStringX(yyv412, false, d) + z.F.DecMapStringStringX(yyv434, false, d) } } case "template": if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv414 := &x.Template - yyv414.CodecDecodeSelf(d) + yyv436 := &x.Template + yym437 := z.DecBinary() + _ = yym437 + if false { + } else if z.HasExtensions() && z.DecExt(yyv436) { + } else { + z.DecFallback(yyv436, false) + } } case "strategy": if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv415 := &x.Strategy - yyv415.CodecDecodeSelf(d) + yyv438 := &x.Strategy + yyv438.CodecDecodeSelf(d) } case "uniqueLabelKey": if r.TryDecodeAsNil() { @@ -4867,17 +5005,17 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.UniqueLabelKey == nil { x.UniqueLabelKey = new(string) } - yym417 := z.DecBinary() - _ = yym417 + yym440 := z.DecBinary() + _ = yym440 if false { } else { *((*string)(x.UniqueLabelKey)) = r.DecodeString() } } default: - z.DecStructFieldNotFound(-1, yys409) - } // end switch yys409 - } // end for yyj409 + z.DecStructFieldNotFound(-1, yys431) + } // end switch yys431 + } // end for yyj431 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4885,16 +5023,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj418 int - var yyb418 bool - var yyhl418 bool = l >= 0 - yyj418++ - if yyhl418 { - yyb418 = yyj418 > l + var yyj441 int + var yyb441 bool + var yyhl441 bool = l >= 0 + yyj441++ + if yyhl441 { + yyb441 = yyj441 > l } else { - yyb418 = r.CheckBreak() + yyb441 = r.CheckBreak() } - if yyb418 { + if yyb441 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4907,20 +5045,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym420 := z.DecBinary() - _ = yym420 + yym443 := z.DecBinary() + _ = yym443 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj418++ - if yyhl418 { - yyb418 = yyj418 > l + yyj441++ + if yyhl441 { + yyb441 = yyj441 > l } else { - yyb418 = r.CheckBreak() + yyb441 = r.CheckBreak() } - if yyb418 { + if yyb441 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4928,21 +5066,21 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv421 := &x.Selector - yym422 := z.DecBinary() - _ = yym422 + yyv444 := &x.Selector + yym445 := z.DecBinary() + _ = yym445 if false { } else { - z.F.DecMapStringStringX(yyv421, false, d) + z.F.DecMapStringStringX(yyv444, false, d) } } - yyj418++ - if yyhl418 { - yyb418 = yyj418 > l + yyj441++ + if yyhl441 { + yyb441 = yyj441 > l } else { - yyb418 = r.CheckBreak() + yyb441 = r.CheckBreak() } - if yyb418 { + if yyb441 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4950,16 +5088,22 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv423 := &x.Template - yyv423.CodecDecodeSelf(d) + yyv446 := &x.Template + yym447 := z.DecBinary() + _ = yym447 + if false { + } else if z.HasExtensions() && z.DecExt(yyv446) { + } else { + z.DecFallback(yyv446, false) + } } - yyj418++ - if yyhl418 { - yyb418 = yyj418 > l + yyj441++ + if yyhl441 { + yyb441 = yyj441 > l } else { - yyb418 = r.CheckBreak() + yyb441 = r.CheckBreak() } - if yyb418 { + if yyb441 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4967,16 +5111,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv424 := &x.Strategy - yyv424.CodecDecodeSelf(d) + yyv448 := &x.Strategy + yyv448.CodecDecodeSelf(d) } - yyj418++ - if yyhl418 { - yyb418 = yyj418 > l + yyj441++ + if yyhl441 { + yyb441 = yyj441 > l } else { - yyb418 = r.CheckBreak() + yyb441 = r.CheckBreak() } - if yyb418 { + if yyb441 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4989,25 +5133,25 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.UniqueLabelKey == nil { x.UniqueLabelKey = new(string) } - yym426 := z.DecBinary() - _ = yym426 + yym450 := z.DecBinary() + _ = yym450 if false { } else { *((*string)(x.UniqueLabelKey)) = r.DecodeString() } } for { - yyj418++ - if yyhl418 { - yyb418 = yyj418 > l + yyj441++ + if yyhl441 { + yyb441 = yyj441 > l } else { - yyb418 = r.CheckBreak() + yyb441 = r.CheckBreak() } - if yyb418 { + if yyb441 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj418-1, "") + z.DecStructFieldNotFound(yyj441-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5019,49 +5163,49 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym427 := z.EncBinary() - _ = yym427 + yym451 := z.EncBinary() + _ = yym451 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep428 := !z.EncBinary() - yy2arr428 := z.EncBasicHandle().StructToArray - var yyq428 [2]bool - _, _, _ = yysep428, yyq428, yy2arr428 - const yyr428 bool = false - yyq428[0] = x.Type != "" - yyq428[1] = x.RollingUpdate != nil - var yynn428 int - if yyr428 || yy2arr428 { + yysep452 := !z.EncBinary() + yy2arr452 := z.EncBasicHandle().StructToArray + var yyq452 [2]bool + _, _, _ = yysep452, yyq452, yy2arr452 + const yyr452 bool = false + yyq452[0] = x.Type != "" + yyq452[1] = x.RollingUpdate != nil + var yynn452 int + if yyr452 || yy2arr452 { r.EncodeArrayStart(2) } else { - yynn428 = 0 - for _, b := range yyq428 { + yynn452 = 0 + for _, b := range yyq452 { if b { - yynn428++ + yynn452++ } } - r.EncodeMapStart(yynn428) - yynn428 = 0 + r.EncodeMapStart(yynn452) + yynn452 = 0 } - if yyr428 || yy2arr428 { + if yyr452 || yy2arr452 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq428[0] { + if yyq452[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq428[0] { + if yyq452[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr428 || yy2arr428 { + if yyr452 || yy2arr452 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq428[1] { + if yyq452[1] { if x.RollingUpdate == nil { r.EncodeNil() } else { @@ -5071,7 +5215,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq428[1] { + if yyq452[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollingUpdate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5082,7 +5226,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr428 || yy2arr428 { + if yyr452 || yy2arr452 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5095,25 +5239,25 @@ func (x *DeploymentStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym431 := z.DecBinary() - _ = yym431 + yym455 := z.DecBinary() + _ = yym455 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct432 := r.ContainerType() - if yyct432 == codecSelferValueTypeMap1234 { - yyl432 := r.ReadMapStart() - if yyl432 == 0 { + yyct456 := r.ContainerType() + if yyct456 == codecSelferValueTypeMap1234 { + yyl456 := r.ReadMapStart() + if yyl456 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl432, d) + x.codecDecodeSelfFromMap(yyl456, d) } - } else if yyct432 == codecSelferValueTypeArray1234 { - yyl432 := r.ReadArrayStart() - if yyl432 == 0 { + } else if yyct456 == codecSelferValueTypeArray1234 { + yyl456 := r.ReadArrayStart() + if yyl456 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl432, d) + x.codecDecodeSelfFromArray(yyl456, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5125,12 +5269,12 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys433Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys433Slc - var yyhl433 bool = l >= 0 - for yyj433 := 0; ; yyj433++ { - if yyhl433 { - if yyj433 >= l { + var yys457Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys457Slc + var yyhl457 bool = l >= 0 + for yyj457 := 0; ; yyj457++ { + if yyhl457 { + if yyj457 >= l { break } } else { @@ -5139,10 +5283,10 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys433Slc = r.DecodeBytes(yys433Slc, true, true) - yys433 := string(yys433Slc) + yys457Slc = r.DecodeBytes(yys457Slc, true, true) + yys457 := string(yys457Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys433 { + switch yys457 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -5161,347 +5305,13 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.RollingUpdate.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys433) - } // end switch yys433 - } // end for yyj433 + z.DecStructFieldNotFound(-1, yys457) + } // end switch yys457 + } // end for yyj457 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj436 int - var yyb436 bool - var yyhl436 bool = l >= 0 - yyj436++ - if yyhl436 { - yyb436 = yyj436 > l - } else { - yyb436 = r.CheckBreak() - } - if yyb436 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = DeploymentStrategyType(r.DecodeString()) - } - yyj436++ - if yyhl436 { - yyb436 = yyj436 > l - } else { - yyb436 = r.CheckBreak() - } - if yyb436 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.RollingUpdate != nil { - x.RollingUpdate = nil - } - } else { - if x.RollingUpdate == nil { - x.RollingUpdate = new(RollingUpdateDeployment) - } - x.RollingUpdate.CodecDecodeSelf(d) - } - for { - yyj436++ - if yyhl436 { - yyb436 = yyj436 > l - } else { - yyb436 = r.CheckBreak() - } - if yyb436 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj436-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x DeploymentStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym439 := z.EncBinary() - _ = yym439 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *DeploymentStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym440 := z.DecBinary() - _ = yym440 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym441 := z.EncBinary() - _ = yym441 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep442 := !z.EncBinary() - yy2arr442 := z.EncBasicHandle().StructToArray - var yyq442 [3]bool - _, _, _ = yysep442, yyq442, yy2arr442 - const yyr442 bool = false - yyq442[0] = x.MaxUnavailable != nil - yyq442[1] = x.MaxSurge != nil - yyq442[2] = x.MinReadySeconds != 0 - var yynn442 int - if yyr442 || yy2arr442 { - r.EncodeArrayStart(3) - } else { - yynn442 = 0 - for _, b := range yyq442 { - if b { - yynn442++ - } - } - r.EncodeMapStart(yynn442) - yynn442 = 0 - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq442[0] { - if x.MaxUnavailable == nil { - r.EncodeNil() - } else { - yym444 := z.EncBinary() - _ = yym444 - if false { - } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym444 && z.IsJSONHandle() { - z.EncJSONMarshal(x.MaxUnavailable) - } else { - z.EncFallback(x.MaxUnavailable) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq442[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxUnavailable")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MaxUnavailable == nil { - r.EncodeNil() - } else { - yym445 := z.EncBinary() - _ = yym445 - if false { - } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym445 && z.IsJSONHandle() { - z.EncJSONMarshal(x.MaxUnavailable) - } else { - z.EncFallback(x.MaxUnavailable) - } - } - } - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq442[1] { - if x.MaxSurge == nil { - r.EncodeNil() - } else { - yym447 := z.EncBinary() - _ = yym447 - if false { - } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym447 && z.IsJSONHandle() { - z.EncJSONMarshal(x.MaxSurge) - } else { - z.EncFallback(x.MaxSurge) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq442[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxSurge")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MaxSurge == nil { - r.EncodeNil() - } else { - yym448 := z.EncBinary() - _ = yym448 - if false { - } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym448 && z.IsJSONHandle() { - z.EncJSONMarshal(x.MaxSurge) - } else { - z.EncFallback(x.MaxSurge) - } - } - } - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq442[2] { - yym450 := z.EncBinary() - _ = yym450 - if false { - } else { - r.EncodeInt(int64(x.MinReadySeconds)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq442[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym451 := z.EncBinary() - _ = yym451 - if false { - } else { - r.EncodeInt(int64(x.MinReadySeconds)) - } - } - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *RollingUpdateDeployment) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym452 := z.DecBinary() - _ = yym452 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct453 := r.ContainerType() - if yyct453 == codecSelferValueTypeMap1234 { - yyl453 := r.ReadMapStart() - if yyl453 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl453, d) - } - } else if yyct453 == codecSelferValueTypeArray1234 { - yyl453 := r.ReadArrayStart() - if yyl453 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl453, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys454Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys454Slc - var yyhl454 bool = l >= 0 - for yyj454 := 0; ; yyj454++ { - if yyhl454 { - if yyj454 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys454Slc = r.DecodeBytes(yys454Slc, true, true) - yys454 := string(yys454Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys454 { - case "maxUnavailable": - if r.TryDecodeAsNil() { - if x.MaxUnavailable != nil { - x.MaxUnavailable = nil - } - } else { - if x.MaxUnavailable == nil { - x.MaxUnavailable = new(pkg6_intstr.IntOrString) - } - yym456 := z.DecBinary() - _ = yym456 - if false { - } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym456 && z.IsJSONHandle() { - z.DecJSONUnmarshal(x.MaxUnavailable) - } else { - z.DecFallback(x.MaxUnavailable, false) - } - } - case "maxSurge": - if r.TryDecodeAsNil() { - if x.MaxSurge != nil { - x.MaxSurge = nil - } - } else { - if x.MaxSurge == nil { - x.MaxSurge = new(pkg6_intstr.IntOrString) - } - yym458 := z.DecBinary() - _ = yym458 - if false { - } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym458 && z.IsJSONHandle() { - z.DecJSONUnmarshal(x.MaxSurge) - } else { - z.DecFallback(x.MaxSurge, false) - } - } - case "minReadySeconds": - if r.TryDecodeAsNil() { - x.MinReadySeconds = 0 - } else { - x.MinReadySeconds = int32(r.DecodeInt(32)) - } - default: - z.DecStructFieldNotFound(-1, yys454) - } // end switch yys454 - } // end for yyj454 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -5520,22 +5330,9 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.MaxUnavailable != nil { - x.MaxUnavailable = nil - } + x.Type = "" } else { - if x.MaxUnavailable == nil { - x.MaxUnavailable = new(pkg6_intstr.IntOrString) - } - yym462 := z.DecBinary() - _ = yym462 - if false { - } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym462 && z.IsJSONHandle() { - z.DecJSONUnmarshal(x.MaxUnavailable) - } else { - z.DecFallback(x.MaxUnavailable, false) - } + x.Type = DeploymentStrategyType(r.DecodeString()) } yyj460++ if yyhl460 { @@ -5549,38 +5346,14 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.MaxSurge != nil { - x.MaxSurge = nil + if x.RollingUpdate != nil { + x.RollingUpdate = nil } } else { - if x.MaxSurge == nil { - x.MaxSurge = new(pkg6_intstr.IntOrString) + if x.RollingUpdate == nil { + x.RollingUpdate = new(RollingUpdateDeployment) } - yym464 := z.DecBinary() - _ = yym464 - if false { - } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym464 && z.IsJSONHandle() { - z.DecJSONUnmarshal(x.MaxSurge) - } else { - z.DecFallback(x.MaxSurge, false) - } - } - yyj460++ - if yyhl460 { - yyb460 = yyj460 > l - } else { - yyb460 = r.CheckBreak() - } - if yyb460 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MinReadySeconds = 0 - } else { - x.MinReadySeconds = int32(r.DecodeInt(32)) + x.RollingUpdate.CodecDecodeSelf(d) } for { yyj460++ @@ -5598,6 +5371,377 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x DeploymentStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym463 := z.EncBinary() + _ = yym463 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *DeploymentStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym464 := z.DecBinary() + _ = yym464 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym465 := z.EncBinary() + _ = yym465 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep466 := !z.EncBinary() + yy2arr466 := z.EncBasicHandle().StructToArray + var yyq466 [3]bool + _, _, _ = yysep466, yyq466, yy2arr466 + const yyr466 bool = false + yyq466[0] = x.MaxUnavailable != nil + yyq466[1] = x.MaxSurge != nil + yyq466[2] = x.MinReadySeconds != 0 + var yynn466 int + if yyr466 || yy2arr466 { + r.EncodeArrayStart(3) + } else { + yynn466 = 0 + for _, b := range yyq466 { + if b { + yynn466++ + } + } + r.EncodeMapStart(yynn466) + yynn466 = 0 + } + if yyr466 || yy2arr466 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq466[0] { + if x.MaxUnavailable == nil { + r.EncodeNil() + } else { + yym468 := z.EncBinary() + _ = yym468 + if false { + } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { + } else if !yym468 && z.IsJSONHandle() { + z.EncJSONMarshal(x.MaxUnavailable) + } else { + z.EncFallback(x.MaxUnavailable) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq466[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("maxUnavailable")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.MaxUnavailable == nil { + r.EncodeNil() + } else { + yym469 := z.EncBinary() + _ = yym469 + if false { + } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { + } else if !yym469 && z.IsJSONHandle() { + z.EncJSONMarshal(x.MaxUnavailable) + } else { + z.EncFallback(x.MaxUnavailable) + } + } + } + } + if yyr466 || yy2arr466 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq466[1] { + if x.MaxSurge == nil { + r.EncodeNil() + } else { + yym471 := z.EncBinary() + _ = yym471 + if false { + } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { + } else if !yym471 && z.IsJSONHandle() { + z.EncJSONMarshal(x.MaxSurge) + } else { + z.EncFallback(x.MaxSurge) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq466[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("maxSurge")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.MaxSurge == nil { + r.EncodeNil() + } else { + yym472 := z.EncBinary() + _ = yym472 + if false { + } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { + } else if !yym472 && z.IsJSONHandle() { + z.EncJSONMarshal(x.MaxSurge) + } else { + z.EncFallback(x.MaxSurge) + } + } + } + } + if yyr466 || yy2arr466 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq466[2] { + yym474 := z.EncBinary() + _ = yym474 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq466[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym475 := z.EncBinary() + _ = yym475 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } + } + if yyr466 || yy2arr466 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *RollingUpdateDeployment) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym476 := z.DecBinary() + _ = yym476 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct477 := r.ContainerType() + if yyct477 == codecSelferValueTypeMap1234 { + yyl477 := r.ReadMapStart() + if yyl477 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl477, d) + } + } else if yyct477 == codecSelferValueTypeArray1234 { + yyl477 := r.ReadArrayStart() + if yyl477 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl477, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys478Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys478Slc + var yyhl478 bool = l >= 0 + for yyj478 := 0; ; yyj478++ { + if yyhl478 { + if yyj478 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys478Slc = r.DecodeBytes(yys478Slc, true, true) + yys478 := string(yys478Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys478 { + case "maxUnavailable": + if r.TryDecodeAsNil() { + if x.MaxUnavailable != nil { + x.MaxUnavailable = nil + } + } else { + if x.MaxUnavailable == nil { + x.MaxUnavailable = new(pkg6_intstr.IntOrString) + } + yym480 := z.DecBinary() + _ = yym480 + if false { + } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { + } else if !yym480 && z.IsJSONHandle() { + z.DecJSONUnmarshal(x.MaxUnavailable) + } else { + z.DecFallback(x.MaxUnavailable, false) + } + } + case "maxSurge": + if r.TryDecodeAsNil() { + if x.MaxSurge != nil { + x.MaxSurge = nil + } + } else { + if x.MaxSurge == nil { + x.MaxSurge = new(pkg6_intstr.IntOrString) + } + yym482 := z.DecBinary() + _ = yym482 + if false { + } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { + } else if !yym482 && z.IsJSONHandle() { + z.DecJSONUnmarshal(x.MaxSurge) + } else { + z.DecFallback(x.MaxSurge, false) + } + } + case "minReadySeconds": + if r.TryDecodeAsNil() { + x.MinReadySeconds = 0 + } else { + x.MinReadySeconds = int32(r.DecodeInt(32)) + } + default: + z.DecStructFieldNotFound(-1, yys478) + } // end switch yys478 + } // end for yyj478 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj484 int + var yyb484 bool + var yyhl484 bool = l >= 0 + yyj484++ + if yyhl484 { + yyb484 = yyj484 > l + } else { + yyb484 = r.CheckBreak() + } + if yyb484 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.MaxUnavailable != nil { + x.MaxUnavailable = nil + } + } else { + if x.MaxUnavailable == nil { + x.MaxUnavailable = new(pkg6_intstr.IntOrString) + } + yym486 := z.DecBinary() + _ = yym486 + if false { + } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { + } else if !yym486 && z.IsJSONHandle() { + z.DecJSONUnmarshal(x.MaxUnavailable) + } else { + z.DecFallback(x.MaxUnavailable, false) + } + } + yyj484++ + if yyhl484 { + yyb484 = yyj484 > l + } else { + yyb484 = r.CheckBreak() + } + if yyb484 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.MaxSurge != nil { + x.MaxSurge = nil + } + } else { + if x.MaxSurge == nil { + x.MaxSurge = new(pkg6_intstr.IntOrString) + } + yym488 := z.DecBinary() + _ = yym488 + if false { + } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { + } else if !yym488 && z.IsJSONHandle() { + z.DecJSONUnmarshal(x.MaxSurge) + } else { + z.DecFallback(x.MaxSurge, false) + } + } + yyj484++ + if yyhl484 { + yyb484 = yyj484 > l + } else { + yyb484 = r.CheckBreak() + } + if yyb484 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MinReadySeconds = 0 + } else { + x.MinReadySeconds = int32(r.DecodeInt(32)) + } + for { + yyj484++ + if yyhl484 { + yyb484 = yyj484 > l + } else { + yyb484 = r.CheckBreak() + } + if yyb484 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj484-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -5605,36 +5749,36 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym466 := z.EncBinary() - _ = yym466 + yym490 := z.EncBinary() + _ = yym490 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep467 := !z.EncBinary() - yy2arr467 := z.EncBasicHandle().StructToArray - var yyq467 [2]bool - _, _, _ = yysep467, yyq467, yy2arr467 - const yyr467 bool = false - yyq467[0] = x.Replicas != 0 - yyq467[1] = x.UpdatedReplicas != 0 - var yynn467 int - if yyr467 || yy2arr467 { + yysep491 := !z.EncBinary() + yy2arr491 := z.EncBasicHandle().StructToArray + var yyq491 [2]bool + _, _, _ = yysep491, yyq491, yy2arr491 + const yyr491 bool = false + yyq491[0] = x.Replicas != 0 + yyq491[1] = x.UpdatedReplicas != 0 + var yynn491 int + if yyr491 || yy2arr491 { r.EncodeArrayStart(2) } else { - yynn467 = 0 - for _, b := range yyq467 { + yynn491 = 0 + for _, b := range yyq491 { if b { - yynn467++ + yynn491++ } } - r.EncodeMapStart(yynn467) - yynn467 = 0 + r.EncodeMapStart(yynn491) + yynn491 = 0 } - if yyr467 || yy2arr467 { + if yyr491 || yy2arr491 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq467[0] { - yym469 := z.EncBinary() - _ = yym469 + if yyq491[0] { + yym493 := z.EncBinary() + _ = yym493 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -5643,23 +5787,23 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq467[0] { + if yyq491[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym470 := z.EncBinary() - _ = yym470 + yym494 := z.EncBinary() + _ = yym494 if false { } else { r.EncodeInt(int64(x.Replicas)) } } } - if yyr467 || yy2arr467 { + if yyr491 || yy2arr491 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq467[1] { - yym472 := z.EncBinary() - _ = yym472 + if yyq491[1] { + yym496 := z.EncBinary() + _ = yym496 if false { } else { r.EncodeInt(int64(x.UpdatedReplicas)) @@ -5668,19 +5812,19 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq467[1] { + if yyq491[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym473 := z.EncBinary() - _ = yym473 + yym497 := z.EncBinary() + _ = yym497 if false { } else { r.EncodeInt(int64(x.UpdatedReplicas)) } } } - if yyr467 || yy2arr467 { + if yyr491 || yy2arr491 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5690,280 +5834,6 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *DeploymentStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym474 := z.DecBinary() - _ = yym474 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct475 := r.ContainerType() - if yyct475 == codecSelferValueTypeMap1234 { - yyl475 := r.ReadMapStart() - if yyl475 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl475, d) - } - } else if yyct475 == codecSelferValueTypeArray1234 { - yyl475 := r.ReadArrayStart() - if yyl475 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl475, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys476Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys476Slc - var yyhl476 bool = l >= 0 - for yyj476 := 0; ; yyj476++ { - if yyhl476 { - if yyj476 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys476Slc = r.DecodeBytes(yys476Slc, true, true) - yys476 := string(yys476Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys476 { - case "replicas": - if r.TryDecodeAsNil() { - x.Replicas = 0 - } else { - x.Replicas = int32(r.DecodeInt(32)) - } - case "updatedReplicas": - if r.TryDecodeAsNil() { - x.UpdatedReplicas = 0 - } else { - x.UpdatedReplicas = int32(r.DecodeInt(32)) - } - default: - z.DecStructFieldNotFound(-1, yys476) - } // end switch yys476 - } // end for yyj476 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj479 int - var yyb479 bool - var yyhl479 bool = l >= 0 - yyj479++ - if yyhl479 { - yyb479 = yyj479 > l - } else { - yyb479 = r.CheckBreak() - } - if yyb479 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Replicas = 0 - } else { - x.Replicas = int32(r.DecodeInt(32)) - } - yyj479++ - if yyhl479 { - yyb479 = yyj479 > l - } else { - yyb479 = r.CheckBreak() - } - if yyb479 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.UpdatedReplicas = 0 - } else { - x.UpdatedReplicas = int32(r.DecodeInt(32)) - } - for { - yyj479++ - if yyhl479 { - yyb479 = yyj479 > l - } else { - yyb479 = r.CheckBreak() - } - if yyb479 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj479-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym482 := z.EncBinary() - _ = yym482 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep483 := !z.EncBinary() - yy2arr483 := z.EncBasicHandle().StructToArray - var yyq483 [4]bool - _, _, _ = yysep483, yyq483, yy2arr483 - const yyr483 bool = false - yyq483[0] = x.Kind != "" - yyq483[1] = x.APIVersion != "" - yyq483[2] = true - var yynn483 int - if yyr483 || yy2arr483 { - r.EncodeArrayStart(4) - } else { - yynn483 = 1 - for _, b := range yyq483 { - if b { - yynn483++ - } - } - r.EncodeMapStart(yynn483) - yynn483 = 0 - } - if yyr483 || yy2arr483 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq483[0] { - yym485 := z.EncBinary() - _ = yym485 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq483[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym486 := z.EncBinary() - _ = yym486 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr483 || yy2arr483 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq483[1] { - yym488 := z.EncBinary() - _ = yym488 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq483[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym489 := z.EncBinary() - _ = yym489 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr483 || yy2arr483 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq483[2] { - yy491 := &x.ListMeta - yym492 := z.EncBinary() - _ = yym492 - if false { - } else if z.HasExtensions() && z.EncExt(yy491) { - } else { - z.EncFallback(yy491) - } - } else { - r.EncodeNil() - } - } else { - if yyq483[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy493 := &x.ListMeta - yym494 := z.EncBinary() - _ = yym494 - if false { - } else if z.HasExtensions() && z.EncExt(yy493) { - } else { - z.EncFallback(yy493) - } - } - } - if yyr483 || yy2arr483 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym496 := z.EncBinary() - _ = yym496 - if false { - } else { - h.encSliceDeployment(([]Deployment)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym497 := z.EncBinary() - _ = yym497 - if false { - } else { - h.encSliceDeployment(([]Deployment)(x.Items), e) - } - } - } - if yyr483 || yy2arr483 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -5993,7 +5863,7 @@ func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -6015,6 +5885,280 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys500 := string(yys500Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys500 { + case "replicas": + if r.TryDecodeAsNil() { + x.Replicas = 0 + } else { + x.Replicas = int32(r.DecodeInt(32)) + } + case "updatedReplicas": + if r.TryDecodeAsNil() { + x.UpdatedReplicas = 0 + } else { + x.UpdatedReplicas = int32(r.DecodeInt(32)) + } + default: + z.DecStructFieldNotFound(-1, yys500) + } // end switch yys500 + } // end for yyj500 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj503 int + var yyb503 bool + var yyhl503 bool = l >= 0 + yyj503++ + if yyhl503 { + yyb503 = yyj503 > l + } else { + yyb503 = r.CheckBreak() + } + if yyb503 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Replicas = 0 + } else { + x.Replicas = int32(r.DecodeInt(32)) + } + yyj503++ + if yyhl503 { + yyb503 = yyj503 > l + } else { + yyb503 = r.CheckBreak() + } + if yyb503 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.UpdatedReplicas = 0 + } else { + x.UpdatedReplicas = int32(r.DecodeInt(32)) + } + for { + yyj503++ + if yyhl503 { + yyb503 = yyj503 > l + } else { + yyb503 = r.CheckBreak() + } + if yyb503 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj503-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym506 := z.EncBinary() + _ = yym506 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep507 := !z.EncBinary() + yy2arr507 := z.EncBasicHandle().StructToArray + var yyq507 [4]bool + _, _, _ = yysep507, yyq507, yy2arr507 + const yyr507 bool = false + yyq507[0] = x.Kind != "" + yyq507[1] = x.APIVersion != "" + yyq507[2] = true + var yynn507 int + if yyr507 || yy2arr507 { + r.EncodeArrayStart(4) + } else { + yynn507 = 1 + for _, b := range yyq507 { + if b { + yynn507++ + } + } + r.EncodeMapStart(yynn507) + yynn507 = 0 + } + if yyr507 || yy2arr507 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq507[0] { + yym509 := z.EncBinary() + _ = yym509 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq507[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym510 := z.EncBinary() + _ = yym510 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr507 || yy2arr507 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq507[1] { + yym512 := z.EncBinary() + _ = yym512 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq507[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym513 := z.EncBinary() + _ = yym513 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr507 || yy2arr507 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq507[2] { + yy515 := &x.ListMeta + yym516 := z.EncBinary() + _ = yym516 + if false { + } else if z.HasExtensions() && z.EncExt(yy515) { + } else { + z.EncFallback(yy515) + } + } else { + r.EncodeNil() + } + } else { + if yyq507[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy517 := &x.ListMeta + yym518 := z.EncBinary() + _ = yym518 + if false { + } else if z.HasExtensions() && z.EncExt(yy517) { + } else { + z.EncFallback(yy517) + } + } + } + if yyr507 || yy2arr507 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym520 := z.EncBinary() + _ = yym520 + if false { + } else { + h.encSliceDeployment(([]Deployment)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym521 := z.EncBinary() + _ = yym521 + if false { + } else { + h.encSliceDeployment(([]Deployment)(x.Items), e) + } + } + } + if yyr507 || yy2arr507 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym522 := z.DecBinary() + _ = yym522 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct523 := r.ContainerType() + if yyct523 == codecSelferValueTypeMap1234 { + yyl523 := r.ReadMapStart() + if yyl523 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl523, d) + } + } else if yyct523 == codecSelferValueTypeArray1234 { + yyl523 := r.ReadArrayStart() + if yyl523 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl523, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys524Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys524Slc + var yyhl524 bool = l >= 0 + for yyj524 := 0; ; yyj524++ { + if yyhl524 { + if yyj524 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys524Slc = r.DecodeBytes(yys524Slc, true, true) + yys524 := string(yys524Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys524 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6031,31 +6175,31 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv503 := &x.ListMeta - yym504 := z.DecBinary() - _ = yym504 + yyv527 := &x.ListMeta + yym528 := z.DecBinary() + _ = yym528 if false { - } else if z.HasExtensions() && z.DecExt(yyv503) { + } else if z.HasExtensions() && z.DecExt(yyv527) { } else { - z.DecFallback(yyv503, false) + z.DecFallback(yyv527, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv505 := &x.Items - yym506 := z.DecBinary() - _ = yym506 + yyv529 := &x.Items + yym530 := z.DecBinary() + _ = yym530 if false { } else { - h.decSliceDeployment((*[]Deployment)(yyv505), d) + h.decSliceDeployment((*[]Deployment)(yyv529), d) } } default: - z.DecStructFieldNotFound(-1, yys500) - } // end switch yys500 - } // end for yyj500 + z.DecStructFieldNotFound(-1, yys524) + } // end switch yys524 + } // end for yyj524 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6063,16 +6207,16 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj507 int - var yyb507 bool - var yyhl507 bool = l >= 0 - yyj507++ - if yyhl507 { - yyb507 = yyj507 > l + var yyj531 int + var yyb531 bool + var yyhl531 bool = l >= 0 + yyj531++ + if yyhl531 { + yyb531 = yyj531 > l } else { - yyb507 = r.CheckBreak() + yyb531 = r.CheckBreak() } - if yyb507 { + if yyb531 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6082,13 +6226,13 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj507++ - if yyhl507 { - yyb507 = yyj507 > l + yyj531++ + if yyhl531 { + yyb531 = yyj531 > l } else { - yyb507 = r.CheckBreak() + yyb531 = r.CheckBreak() } - if yyb507 { + if yyb531 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6098,13 +6242,13 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj507++ - if yyhl507 { - yyb507 = yyj507 > l + yyj531++ + if yyhl531 { + yyb531 = yyj531 > l } else { - yyb507 = r.CheckBreak() + yyb531 = r.CheckBreak() } - if yyb507 { + if yyb531 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6112,22 +6256,22 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv510 := &x.ListMeta - yym511 := z.DecBinary() - _ = yym511 + yyv534 := &x.ListMeta + yym535 := z.DecBinary() + _ = yym535 if false { - } else if z.HasExtensions() && z.DecExt(yyv510) { + } else if z.HasExtensions() && z.DecExt(yyv534) { } else { - z.DecFallback(yyv510, false) + z.DecFallback(yyv534, false) } } - yyj507++ - if yyhl507 { - yyb507 = yyj507 > l + yyj531++ + if yyhl531 { + yyb531 = yyj531 > l } else { - yyb507 = r.CheckBreak() + yyb531 = r.CheckBreak() } - if yyb507 { + if yyb531 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6135,26 +6279,26 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv512 := &x.Items - yym513 := z.DecBinary() - _ = yym513 + yyv536 := &x.Items + yym537 := z.DecBinary() + _ = yym537 if false { } else { - h.decSliceDeployment((*[]Deployment)(yyv512), d) + h.decSliceDeployment((*[]Deployment)(yyv536), d) } } for { - yyj507++ - if yyhl507 { - yyb507 = yyj507 > l + yyj531++ + if yyhl531 { + yyb531 = yyj531 > l } else { - yyb507 = r.CheckBreak() + yyb531 = r.CheckBreak() } - if yyb507 { + if yyb531 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj507-1, "") + z.DecStructFieldNotFound(yyj531-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6166,34 +6310,34 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym514 := z.EncBinary() - _ = yym514 + yym538 := z.EncBinary() + _ = yym538 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep515 := !z.EncBinary() - yy2arr515 := z.EncBasicHandle().StructToArray - var yyq515 [2]bool - _, _, _ = yysep515, yyq515, yy2arr515 - const yyr515 bool = false - yyq515[0] = x.Selector != nil - yyq515[1] = x.Template != nil - var yynn515 int - if yyr515 || yy2arr515 { + yysep539 := !z.EncBinary() + yy2arr539 := z.EncBasicHandle().StructToArray + var yyq539 [2]bool + _, _, _ = yysep539, yyq539, yy2arr539 + const yyr539 bool = false + yyq539[0] = x.Selector != nil + yyq539[1] = x.Template != nil + var yynn539 int + if yyr539 || yy2arr539 { r.EncodeArrayStart(2) } else { - yynn515 = 0 - for _, b := range yyq515 { + yynn539 = 0 + for _, b := range yyq539 { if b { - yynn515++ + yynn539++ } } - r.EncodeMapStart(yynn515) - yynn515 = 0 + r.EncodeMapStart(yynn539) + yynn539 = 0 } - if yyr515 || yy2arr515 { + if yyr539 || yy2arr539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq515[0] { + if yyq539[0] { if x.Selector == nil { r.EncodeNil() } else { @@ -6203,7 +6347,7 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq515[0] { + if yyq539[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -6214,30 +6358,42 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr515 || yy2arr515 { + if yyr539 || yy2arr539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq515[1] { + if yyq539[1] { if x.Template == nil { r.EncodeNil() } else { - x.Template.CodecEncodeSelf(e) + yym542 := z.EncBinary() + _ = yym542 + if false { + } else if z.HasExtensions() && z.EncExt(x.Template) { + } else { + z.EncFallback(x.Template) + } } } else { r.EncodeNil() } } else { - if yyq515[1] { + if yyq539[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Template == nil { r.EncodeNil() } else { - x.Template.CodecEncodeSelf(e) + yym543 := z.EncBinary() + _ = yym543 + if false { + } else if z.HasExtensions() && z.EncExt(x.Template) { + } else { + z.EncFallback(x.Template) + } } } } - if yyr515 || yy2arr515 { + if yyr539 || yy2arr539 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6250,25 +6406,25 @@ func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym518 := z.DecBinary() - _ = yym518 + yym544 := z.DecBinary() + _ = yym544 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct519 := r.ContainerType() - if yyct519 == codecSelferValueTypeMap1234 { - yyl519 := r.ReadMapStart() - if yyl519 == 0 { + yyct545 := r.ContainerType() + if yyct545 == codecSelferValueTypeMap1234 { + yyl545 := r.ReadMapStart() + if yyl545 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl519, d) + x.codecDecodeSelfFromMap(yyl545, d) } - } else if yyct519 == codecSelferValueTypeArray1234 { - yyl519 := r.ReadArrayStart() - if yyl519 == 0 { + } else if yyct545 == codecSelferValueTypeArray1234 { + yyl545 := r.ReadArrayStart() + if yyl545 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl519, d) + x.codecDecodeSelfFromArray(yyl545, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6280,12 +6436,12 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys520Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys520Slc - var yyhl520 bool = l >= 0 - for yyj520 := 0; ; yyj520++ { - if yyhl520 { - if yyj520 >= l { + var yys546Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys546Slc + var yyhl546 bool = l >= 0 + for yyj546 := 0; ; yyj546++ { + if yyhl546 { + if yyj546 >= l { break } } else { @@ -6294,10 +6450,10 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys520Slc = r.DecodeBytes(yys520Slc, true, true) - yys520 := string(yys520Slc) + yys546Slc = r.DecodeBytes(yys546Slc, true, true) + yys546 := string(yys546Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys520 { + switch yys546 { case "selector": if r.TryDecodeAsNil() { if x.Selector != nil { @@ -6318,12 +6474,18 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Template == nil { x.Template = new(pkg2_v1.PodTemplateSpec) } - x.Template.CodecDecodeSelf(d) + yym549 := z.DecBinary() + _ = yym549 + if false { + } else if z.HasExtensions() && z.DecExt(x.Template) { + } else { + z.DecFallback(x.Template, false) + } } default: - z.DecStructFieldNotFound(-1, yys520) - } // end switch yys520 - } // end for yyj520 + z.DecStructFieldNotFound(-1, yys546) + } // end switch yys546 + } // end for yyj546 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6331,16 +6493,16 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj523 int - var yyb523 bool - var yyhl523 bool = l >= 0 - yyj523++ - if yyhl523 { - yyb523 = yyj523 > l + var yyj550 int + var yyb550 bool + var yyhl550 bool = l >= 0 + yyj550++ + if yyhl550 { + yyb550 = yyj550 > l } else { - yyb523 = r.CheckBreak() + yyb550 = r.CheckBreak() } - if yyb523 { + if yyb550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6355,13 +6517,13 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj523++ - if yyhl523 { - yyb523 = yyj523 > l + yyj550++ + if yyhl550 { + yyb550 = yyj550 > l } else { - yyb523 = r.CheckBreak() + yyb550 = r.CheckBreak() } - if yyb523 { + if yyb550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6374,20 +6536,26 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Template == nil { x.Template = new(pkg2_v1.PodTemplateSpec) } - x.Template.CodecDecodeSelf(d) + yym553 := z.DecBinary() + _ = yym553 + if false { + } else if z.HasExtensions() && z.DecExt(x.Template) { + } else { + z.DecFallback(x.Template, false) + } } for { - yyj523++ - if yyhl523 { - yyb523 = yyj523 > l + yyj550++ + if yyhl550 { + yyb550 = yyj550 > l } else { - yyb523 = r.CheckBreak() + yyb550 = r.CheckBreak() } - if yyb523 { + if yyb550 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj523-1, "") + z.DecStructFieldNotFound(yyj550-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6399,33 +6567,33 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym526 := z.EncBinary() - _ = yym526 + yym554 := z.EncBinary() + _ = yym554 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep527 := !z.EncBinary() - yy2arr527 := z.EncBasicHandle().StructToArray - var yyq527 [3]bool - _, _, _ = yysep527, yyq527, yy2arr527 - const yyr527 bool = false - var yynn527 int - if yyr527 || yy2arr527 { + yysep555 := !z.EncBinary() + yy2arr555 := z.EncBasicHandle().StructToArray + var yyq555 [3]bool + _, _, _ = yysep555, yyq555, yy2arr555 + const yyr555 bool = false + var yynn555 int + if yyr555 || yy2arr555 { r.EncodeArrayStart(3) } else { - yynn527 = 3 - for _, b := range yyq527 { + yynn555 = 3 + for _, b := range yyq555 { if b { - yynn527++ + yynn555++ } } - r.EncodeMapStart(yynn527) - yynn527 = 0 + r.EncodeMapStart(yynn555) + yynn555 = 0 } - if yyr527 || yy2arr527 { + if yyr555 || yy2arr555 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym529 := z.EncBinary() - _ = yym529 + yym557 := z.EncBinary() + _ = yym557 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) @@ -6434,17 +6602,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym530 := z.EncBinary() - _ = yym530 + yym558 := z.EncBinary() + _ = yym558 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) } } - if yyr527 || yy2arr527 { + if yyr555 || yy2arr555 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym532 := z.EncBinary() - _ = yym532 + yym560 := z.EncBinary() + _ = yym560 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) @@ -6453,17 +6621,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberMisscheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym533 := z.EncBinary() - _ = yym533 + yym561 := z.EncBinary() + _ = yym561 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) } } - if yyr527 || yy2arr527 { + if yyr555 || yy2arr555 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym535 := z.EncBinary() - _ = yym535 + yym563 := z.EncBinary() + _ = yym563 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) @@ -6472,14 +6640,14 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym536 := z.EncBinary() - _ = yym536 + yym564 := z.EncBinary() + _ = yym564 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) } } - if yyr527 || yy2arr527 { + if yyr555 || yy2arr555 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6492,25 +6660,25 @@ func (x *DaemonSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym537 := z.DecBinary() - _ = yym537 + yym565 := z.DecBinary() + _ = yym565 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct538 := r.ContainerType() - if yyct538 == codecSelferValueTypeMap1234 { - yyl538 := r.ReadMapStart() - if yyl538 == 0 { + yyct566 := r.ContainerType() + if yyct566 == codecSelferValueTypeMap1234 { + yyl566 := r.ReadMapStart() + if yyl566 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl538, d) + x.codecDecodeSelfFromMap(yyl566, d) } - } else if yyct538 == codecSelferValueTypeArray1234 { - yyl538 := r.ReadArrayStart() - if yyl538 == 0 { + } else if yyct566 == codecSelferValueTypeArray1234 { + yyl566 := r.ReadArrayStart() + if yyl566 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl538, d) + x.codecDecodeSelfFromArray(yyl566, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6522,12 +6690,12 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys539Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys539Slc - var yyhl539 bool = l >= 0 - for yyj539 := 0; ; yyj539++ { - if yyhl539 { - if yyj539 >= l { + var yys567Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys567Slc + var yyhl567 bool = l >= 0 + for yyj567 := 0; ; yyj567++ { + if yyhl567 { + if yyj567 >= l { break } } else { @@ -6536,10 +6704,10 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys539Slc = r.DecodeBytes(yys539Slc, true, true) - yys539 := string(yys539Slc) + yys567Slc = r.DecodeBytes(yys567Slc, true, true) + yys567 := string(yys567Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys539 { + switch yys567 { case "currentNumberScheduled": if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 @@ -6559,9 +6727,9 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys539) - } // end switch yys539 - } // end for yyj539 + z.DecStructFieldNotFound(-1, yys567) + } // end switch yys567 + } // end for yyj567 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6569,16 +6737,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj543 int - var yyb543 bool - var yyhl543 bool = l >= 0 - yyj543++ - if yyhl543 { - yyb543 = yyj543 > l + var yyj571 int + var yyb571 bool + var yyhl571 bool = l >= 0 + yyj571++ + if yyhl571 { + yyb571 = yyj571 > l } else { - yyb543 = r.CheckBreak() + yyb571 = r.CheckBreak() } - if yyb543 { + if yyb571 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6588,13 +6756,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.CurrentNumberScheduled = int32(r.DecodeInt(32)) } - yyj543++ - if yyhl543 { - yyb543 = yyj543 > l + yyj571++ + if yyhl571 { + yyb571 = yyj571 > l } else { - yyb543 = r.CheckBreak() + yyb571 = r.CheckBreak() } - if yyb543 { + if yyb571 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6604,13 +6772,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.NumberMisscheduled = int32(r.DecodeInt(32)) } - yyj543++ - if yyhl543 { - yyb543 = yyj543 > l + yyj571++ + if yyhl571 { + yyb571 = yyj571 > l } else { - yyb543 = r.CheckBreak() + yyb571 = r.CheckBreak() } - if yyb543 { + if yyb571 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6621,17 +6789,17 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } for { - yyj543++ - if yyhl543 { - yyb543 = yyj543 > l + yyj571++ + if yyhl571 { + yyb571 = yyj571 > l } else { - yyb543 = r.CheckBreak() + yyb571 = r.CheckBreak() } - if yyb543 { + if yyb571 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj543-1, "") + z.DecStructFieldNotFound(yyj571-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6643,39 +6811,39 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym547 := z.EncBinary() - _ = yym547 + yym575 := z.EncBinary() + _ = yym575 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep548 := !z.EncBinary() - yy2arr548 := z.EncBasicHandle().StructToArray - var yyq548 [5]bool - _, _, _ = yysep548, yyq548, yy2arr548 - const yyr548 bool = false - yyq548[0] = x.Kind != "" - yyq548[1] = x.APIVersion != "" - yyq548[2] = true - yyq548[3] = true - yyq548[4] = true - var yynn548 int - if yyr548 || yy2arr548 { + yysep576 := !z.EncBinary() + yy2arr576 := z.EncBasicHandle().StructToArray + var yyq576 [5]bool + _, _, _ = yysep576, yyq576, yy2arr576 + const yyr576 bool = false + yyq576[0] = x.Kind != "" + yyq576[1] = x.APIVersion != "" + yyq576[2] = true + yyq576[3] = true + yyq576[4] = true + var yynn576 int + if yyr576 || yy2arr576 { r.EncodeArrayStart(5) } else { - yynn548 = 0 - for _, b := range yyq548 { + yynn576 = 0 + for _, b := range yyq576 { if b { - yynn548++ + yynn576++ } } - r.EncodeMapStart(yynn548) - yynn548 = 0 + r.EncodeMapStart(yynn576) + yynn576 = 0 } - if yyr548 || yy2arr548 { + if yyr576 || yy2arr576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq548[0] { - yym550 := z.EncBinary() - _ = yym550 + if yyq576[0] { + yym578 := z.EncBinary() + _ = yym578 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6684,23 +6852,23 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq548[0] { + if yyq576[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym551 := z.EncBinary() - _ = yym551 + yym579 := z.EncBinary() + _ = yym579 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr548 || yy2arr548 { + if yyr576 || yy2arr576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq548[1] { - yym553 := z.EncBinary() - _ = yym553 + if yyq576[1] { + yym581 := z.EncBinary() + _ = yym581 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6709,70 +6877,82 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq548[1] { + if yyq576[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym554 := z.EncBinary() - _ = yym554 + yym582 := z.EncBinary() + _ = yym582 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr548 || yy2arr548 { + if yyr576 || yy2arr576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq548[2] { - yy556 := &x.ObjectMeta - yy556.CodecEncodeSelf(e) + if yyq576[2] { + yy584 := &x.ObjectMeta + yym585 := z.EncBinary() + _ = yym585 + if false { + } else if z.HasExtensions() && z.EncExt(yy584) { + } else { + z.EncFallback(yy584) + } } else { r.EncodeNil() } } else { - if yyq548[2] { + if yyq576[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy557 := &x.ObjectMeta - yy557.CodecEncodeSelf(e) + yy586 := &x.ObjectMeta + yym587 := z.EncBinary() + _ = yym587 + if false { + } else if z.HasExtensions() && z.EncExt(yy586) { + } else { + z.EncFallback(yy586) + } } } - if yyr548 || yy2arr548 { + if yyr576 || yy2arr576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq548[3] { - yy559 := &x.Spec - yy559.CodecEncodeSelf(e) + if yyq576[3] { + yy589 := &x.Spec + yy589.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq548[3] { + if yyq576[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy560 := &x.Spec - yy560.CodecEncodeSelf(e) + yy590 := &x.Spec + yy590.CodecEncodeSelf(e) } } - if yyr548 || yy2arr548 { + if yyr576 || yy2arr576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq548[4] { - yy562 := &x.Status - yy562.CodecEncodeSelf(e) + if yyq576[4] { + yy592 := &x.Status + yy592.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq548[4] { + if yyq576[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy563 := &x.Status - yy563.CodecEncodeSelf(e) + yy593 := &x.Status + yy593.CodecEncodeSelf(e) } } - if yyr548 || yy2arr548 { + if yyr576 || yy2arr576 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6782,352 +6962,6 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *DaemonSet) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym564 := z.DecBinary() - _ = yym564 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct565 := r.ContainerType() - if yyct565 == codecSelferValueTypeMap1234 { - yyl565 := r.ReadMapStart() - if yyl565 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl565, d) - } - } else if yyct565 == codecSelferValueTypeArray1234 { - yyl565 := r.ReadArrayStart() - if yyl565 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl565, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys566Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys566Slc - var yyhl566 bool = l >= 0 - for yyj566 := 0; ; yyj566++ { - if yyhl566 { - if yyj566 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys566Slc = r.DecodeBytes(yys566Slc, true, true) - yys566 := string(yys566Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys566 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv569 := &x.ObjectMeta - yyv569.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = DaemonSetSpec{} - } else { - yyv570 := &x.Spec - yyv570.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = DaemonSetStatus{} - } else { - yyv571 := &x.Status - yyv571.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys566) - } // end switch yys566 - } // end for yyj566 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj572 int - var yyb572 bool - var yyhl572 bool = l >= 0 - yyj572++ - if yyhl572 { - yyb572 = yyj572 > l - } else { - yyb572 = r.CheckBreak() - } - if yyb572 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj572++ - if yyhl572 { - yyb572 = yyj572 > l - } else { - yyb572 = r.CheckBreak() - } - if yyb572 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj572++ - if yyhl572 { - yyb572 = yyj572 > l - } else { - yyb572 = r.CheckBreak() - } - if yyb572 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv575 := &x.ObjectMeta - yyv575.CodecDecodeSelf(d) - } - yyj572++ - if yyhl572 { - yyb572 = yyj572 > l - } else { - yyb572 = r.CheckBreak() - } - if yyb572 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = DaemonSetSpec{} - } else { - yyv576 := &x.Spec - yyv576.CodecDecodeSelf(d) - } - yyj572++ - if yyhl572 { - yyb572 = yyj572 > l - } else { - yyb572 = r.CheckBreak() - } - if yyb572 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = DaemonSetStatus{} - } else { - yyv577 := &x.Status - yyv577.CodecDecodeSelf(d) - } - for { - yyj572++ - if yyhl572 { - yyb572 = yyj572 > l - } else { - yyb572 = r.CheckBreak() - } - if yyb572 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj572-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym578 := z.EncBinary() - _ = yym578 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep579 := !z.EncBinary() - yy2arr579 := z.EncBasicHandle().StructToArray - var yyq579 [4]bool - _, _, _ = yysep579, yyq579, yy2arr579 - const yyr579 bool = false - yyq579[0] = x.Kind != "" - yyq579[1] = x.APIVersion != "" - yyq579[2] = true - var yynn579 int - if yyr579 || yy2arr579 { - r.EncodeArrayStart(4) - } else { - yynn579 = 1 - for _, b := range yyq579 { - if b { - yynn579++ - } - } - r.EncodeMapStart(yynn579) - yynn579 = 0 - } - if yyr579 || yy2arr579 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq579[0] { - yym581 := z.EncBinary() - _ = yym581 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq579[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym582 := z.EncBinary() - _ = yym582 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr579 || yy2arr579 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq579[1] { - yym584 := z.EncBinary() - _ = yym584 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq579[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym585 := z.EncBinary() - _ = yym585 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr579 || yy2arr579 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq579[2] { - yy587 := &x.ListMeta - yym588 := z.EncBinary() - _ = yym588 - if false { - } else if z.HasExtensions() && z.EncExt(yy587) { - } else { - z.EncFallback(yy587) - } - } else { - r.EncodeNil() - } - } else { - if yyq579[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy589 := &x.ListMeta - yym590 := z.EncBinary() - _ = yym590 - if false { - } else if z.HasExtensions() && z.EncExt(yy589) { - } else { - z.EncFallback(yy589) - } - } - } - if yyr579 || yy2arr579 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym592 := z.EncBinary() - _ = yym592 - if false { - } else { - h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym593 := z.EncBinary() - _ = yym593 - if false { - } else { - h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) - } - } - } - if yyr579 || yy2arr579 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7157,7 +6991,7 @@ func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7193,9 +7027,9 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } case "metadata": if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} + x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv599 := &x.ListMeta + yyv599 := &x.ObjectMeta yym600 := z.DecBinary() _ = yym600 if false { @@ -7204,17 +7038,19 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecFallback(yyv599, false) } } - case "items": + case "spec": if r.TryDecodeAsNil() { - x.Items = nil + x.Spec = DaemonSetSpec{} } else { - yyv601 := &x.Items - yym602 := z.DecBinary() - _ = yym602 - if false { - } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv601), d) - } + yyv601 := &x.Spec + yyv601.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = DaemonSetStatus{} + } else { + yyv602 := &x.Status + yyv602.CodecDecodeSelf(d) } default: z.DecStructFieldNotFound(-1, yys596) @@ -7223,7 +7059,7 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7274,9 +7110,9 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} + x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv606 := &x.ListMeta + yyv606 := &x.ObjectMeta yym607 := z.DecBinary() _ = yym607 if false { @@ -7297,15 +7133,27 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Items = nil + x.Spec = DaemonSetSpec{} } else { - yyv608 := &x.Items - yym609 := z.DecBinary() - _ = yym609 - if false { - } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv608), d) - } + yyv608 := &x.Spec + yyv608.CodecDecodeSelf(d) + } + yyj603++ + if yyhl603 { + yyb603 = yyj603 > l + } else { + yyb603 = r.CheckBreak() + } + if yyb603 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = DaemonSetStatus{} + } else { + yyv609 := &x.Status + yyv609.CodecDecodeSelf(d) } for { yyj603++ @@ -7323,7 +7171,7 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -7444,7 +7292,7 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym624 if false { } else { - h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) + h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } else { @@ -7458,7 +7306,7 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym625 if false { } else { - h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) + h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } @@ -7471,7 +7319,7 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7501,7 +7349,7 @@ func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7557,7 +7405,7 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. _ = yym634 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv633), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv633), d) } } default: @@ -7567,7 +7415,7 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7648,7 +7496,7 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 _ = yym641 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv640), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv640), d) } } for { @@ -7667,7 +7515,7 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -7681,19 +7529,17 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep643 := !z.EncBinary() yy2arr643 := z.EncBasicHandle().StructToArray - var yyq643 [5]bool + var yyq643 [4]bool _, _, _ = yysep643, yyq643, yy2arr643 const yyr643 bool = false yyq643[0] = x.Kind != "" yyq643[1] = x.APIVersion != "" yyq643[2] = true - yyq643[3] = true - yyq643[4] = true var yynn643 int if yyr643 || yy2arr643 { - r.EncodeArrayStart(5) + r.EncodeArrayStart(4) } else { - yynn643 = 0 + yynn643 = 1 for _, b := range yyq643 { if b { yynn643++ @@ -7755,8 +7601,14 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { if yyr643 || yy2arr643 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq643[2] { - yy651 := &x.ObjectMeta - yy651.CodecEncodeSelf(e) + yy651 := &x.ListMeta + yym652 := z.EncBinary() + _ = yym652 + if false { + } else if z.HasExtensions() && z.EncExt(yy651) { + } else { + z.EncFallback(yy651) + } } else { r.EncodeNil() } @@ -7765,42 +7617,41 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy652 := &x.ObjectMeta - yy652.CodecEncodeSelf(e) + yy653 := &x.ListMeta + yym654 := z.EncBinary() + _ = yym654 + if false { + } else if z.HasExtensions() && z.EncExt(yy653) { + } else { + z.EncFallback(yy653) + } } } if yyr643 || yy2arr643 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq643[3] { - yy654 := &x.Spec - yy654.CodecEncodeSelf(e) - } else { + if x.Items == nil { r.EncodeNil() + } else { + yym656 := z.EncBinary() + _ = yym656 + if false { + } else { + h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) + } } } else { - if yyq643[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy655 := &x.Spec - yy655.CodecEncodeSelf(e) - } - } - if yyr643 || yy2arr643 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq643[4] { - yy657 := &x.Status - yy657.CodecEncodeSelf(e) - } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { r.EncodeNil() - } - } else { - if yyq643[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy658 := &x.Status - yy658.CodecEncodeSelf(e) + } else { + yym657 := z.EncBinary() + _ = yym657 + if false { + } else { + h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) + } } } if yyr643 || yy2arr643 { @@ -7812,29 +7663,29 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym659 := z.DecBinary() - _ = yym659 + yym658 := z.DecBinary() + _ = yym658 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct660 := r.ContainerType() - if yyct660 == codecSelferValueTypeMap1234 { - yyl660 := r.ReadMapStart() - if yyl660 == 0 { + yyct659 := r.ContainerType() + if yyct659 == codecSelferValueTypeMap1234 { + yyl659 := r.ReadMapStart() + if yyl659 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl660, d) + x.codecDecodeSelfFromMap(yyl659, d) } - } else if yyct660 == codecSelferValueTypeArray1234 { - yyl660 := r.ReadArrayStart() - if yyl660 == 0 { + } else if yyct659 == codecSelferValueTypeArray1234 { + yyl659 := r.ReadArrayStart() + if yyl659 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl660, d) + x.codecDecodeSelfFromArray(yyl659, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7842,16 +7693,16 @@ func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys661Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys661Slc - var yyhl661 bool = l >= 0 - for yyj661 := 0; ; yyj661++ { - if yyhl661 { - if yyj661 >= l { + var yys660Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys660Slc + var yyhl660 bool = l >= 0 + for yyj660 := 0; ; yyj660++ { + if yyhl660 { + if yyj660 >= l { break } } else { @@ -7860,10 +7711,10 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys661Slc = r.DecodeBytes(yys661Slc, true, true) - yys661 := string(yys661Slc) + yys660Slc = r.DecodeBytes(yys660Slc, true, true) + yys660 := string(yys660Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys661 { + switch yys660 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7878,33 +7729,37 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } case "metadata": if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} + x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv664 := &x.ObjectMeta - yyv664.CodecDecodeSelf(d) + yyv663 := &x.ListMeta + yym664 := z.DecBinary() + _ = yym664 + if false { + } else if z.HasExtensions() && z.DecExt(yyv663) { + } else { + z.DecFallback(yyv663, false) + } } - case "spec": + case "items": if r.TryDecodeAsNil() { - x.Spec = JobSpec{} + x.Items = nil } else { - yyv665 := &x.Spec - yyv665.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = JobStatus{} - } else { - yyv666 := &x.Status - yyv666.CodecDecodeSelf(d) + yyv665 := &x.Items + yym666 := z.DecBinary() + _ = yym666 + if false { + } else { + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv665), d) + } } default: - z.DecStructFieldNotFound(-1, yys661) - } // end switch yys661 - } // end for yyj661 + z.DecStructFieldNotFound(-1, yys660) + } // end switch yys660 + } // end for yyj660 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7955,10 +7810,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} + x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv670 := &x.ObjectMeta - yyv670.CodecDecodeSelf(d) + yyv670 := &x.ListMeta + yym671 := z.DecBinary() + _ = yym671 + if false { + } else if z.HasExtensions() && z.DecExt(yyv670) { + } else { + z.DecFallback(yyv670, false) + } } yyj667++ if yyhl667 { @@ -7972,27 +7833,15 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Spec = JobSpec{} + x.Items = nil } else { - yyv671 := &x.Spec - yyv671.CodecDecodeSelf(d) - } - yyj667++ - if yyhl667 { - yyb667 = yyj667 > l - } else { - yyb667 = r.CheckBreak() - } - if yyb667 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = JobStatus{} - } else { - yyv672 := &x.Status - yyv672.CodecDecodeSelf(d) + yyv672 := &x.Items + yym673 := z.DecBinary() + _ = yym673 + if false { + } else { + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv672), d) + } } for { yyj667++ @@ -8010,6 +7859,373 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym674 := z.EncBinary() + _ = yym674 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep675 := !z.EncBinary() + yy2arr675 := z.EncBasicHandle().StructToArray + var yyq675 [5]bool + _, _, _ = yysep675, yyq675, yy2arr675 + const yyr675 bool = false + yyq675[0] = x.Kind != "" + yyq675[1] = x.APIVersion != "" + yyq675[2] = true + yyq675[3] = true + yyq675[4] = true + var yynn675 int + if yyr675 || yy2arr675 { + r.EncodeArrayStart(5) + } else { + yynn675 = 0 + for _, b := range yyq675 { + if b { + yynn675++ + } + } + r.EncodeMapStart(yynn675) + yynn675 = 0 + } + if yyr675 || yy2arr675 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq675[0] { + yym677 := z.EncBinary() + _ = yym677 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq675[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym678 := z.EncBinary() + _ = yym678 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr675 || yy2arr675 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq675[1] { + yym680 := z.EncBinary() + _ = yym680 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq675[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym681 := z.EncBinary() + _ = yym681 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr675 || yy2arr675 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq675[2] { + yy683 := &x.ObjectMeta + yym684 := z.EncBinary() + _ = yym684 + if false { + } else if z.HasExtensions() && z.EncExt(yy683) { + } else { + z.EncFallback(yy683) + } + } else { + r.EncodeNil() + } + } else { + if yyq675[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy685 := &x.ObjectMeta + yym686 := z.EncBinary() + _ = yym686 + if false { + } else if z.HasExtensions() && z.EncExt(yy685) { + } else { + z.EncFallback(yy685) + } + } + } + if yyr675 || yy2arr675 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq675[3] { + yy688 := &x.Spec + yy688.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq675[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy689 := &x.Spec + yy689.CodecEncodeSelf(e) + } + } + if yyr675 || yy2arr675 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq675[4] { + yy691 := &x.Status + yy691.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq675[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy692 := &x.Status + yy692.CodecEncodeSelf(e) + } + } + if yyr675 || yy2arr675 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym693 := z.DecBinary() + _ = yym693 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct694 := r.ContainerType() + if yyct694 == codecSelferValueTypeMap1234 { + yyl694 := r.ReadMapStart() + if yyl694 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl694, d) + } + } else if yyct694 == codecSelferValueTypeArray1234 { + yyl694 := r.ReadArrayStart() + if yyl694 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl694, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys695Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys695Slc + var yyhl695 bool = l >= 0 + for yyj695 := 0; ; yyj695++ { + if yyhl695 { + if yyj695 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys695Slc = r.DecodeBytes(yys695Slc, true, true) + yys695 := string(yys695Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys695 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv698 := &x.ObjectMeta + yym699 := z.DecBinary() + _ = yym699 + if false { + } else if z.HasExtensions() && z.DecExt(yyv698) { + } else { + z.DecFallback(yyv698, false) + } + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = JobSpec{} + } else { + yyv700 := &x.Spec + yyv700.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = JobStatus{} + } else { + yyv701 := &x.Status + yyv701.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys695) + } // end switch yys695 + } // end for yyj695 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj702 int + var yyb702 bool + var yyhl702 bool = l >= 0 + yyj702++ + if yyhl702 { + yyb702 = yyj702 > l + } else { + yyb702 = r.CheckBreak() + } + if yyb702 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj702++ + if yyhl702 { + yyb702 = yyj702 > l + } else { + yyb702 = r.CheckBreak() + } + if yyb702 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj702++ + if yyhl702 { + yyb702 = yyj702 > l + } else { + yyb702 = r.CheckBreak() + } + if yyb702 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv705 := &x.ObjectMeta + yym706 := z.DecBinary() + _ = yym706 + if false { + } else if z.HasExtensions() && z.DecExt(yyv705) { + } else { + z.DecFallback(yyv705, false) + } + } + yyj702++ + if yyhl702 { + yyb702 = yyj702 > l + } else { + yyb702 = r.CheckBreak() + } + if yyb702 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = JobSpec{} + } else { + yyv707 := &x.Spec + yyv707.CodecDecodeSelf(d) + } + yyj702++ + if yyhl702 { + yyb702 = yyj702 > l + } else { + yyb702 = r.CheckBreak() + } + if yyb702 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = JobStatus{} + } else { + yyv708 := &x.Status + yyv708.CodecDecodeSelf(d) + } + for { + yyj702++ + if yyhl702 { + yyb702 = yyj702 > l + } else { + yyb702 = r.CheckBreak() + } + if yyb702 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj702-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -8017,37 +8233,37 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym673 := z.EncBinary() - _ = yym673 + yym709 := z.EncBinary() + _ = yym709 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep674 := !z.EncBinary() - yy2arr674 := z.EncBasicHandle().StructToArray - var yyq674 [4]bool - _, _, _ = yysep674, yyq674, yy2arr674 - const yyr674 bool = false - yyq674[0] = x.Kind != "" - yyq674[1] = x.APIVersion != "" - yyq674[2] = true - var yynn674 int - if yyr674 || yy2arr674 { + yysep710 := !z.EncBinary() + yy2arr710 := z.EncBasicHandle().StructToArray + var yyq710 [4]bool + _, _, _ = yysep710, yyq710, yy2arr710 + const yyr710 bool = false + yyq710[0] = x.Kind != "" + yyq710[1] = x.APIVersion != "" + yyq710[2] = true + var yynn710 int + if yyr710 || yy2arr710 { r.EncodeArrayStart(4) } else { - yynn674 = 1 - for _, b := range yyq674 { + yynn710 = 1 + for _, b := range yyq710 { if b { - yynn674++ + yynn710++ } } - r.EncodeMapStart(yynn674) - yynn674 = 0 + r.EncodeMapStart(yynn710) + yynn710 = 0 } - if yyr674 || yy2arr674 { + if yyr710 || yy2arr710 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq674[0] { - yym676 := z.EncBinary() - _ = yym676 + if yyq710[0] { + yym712 := z.EncBinary() + _ = yym712 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8056,23 +8272,23 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq674[0] { + if yyq710[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym677 := z.EncBinary() - _ = yym677 + yym713 := z.EncBinary() + _ = yym713 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr674 || yy2arr674 { + if yyr710 || yy2arr710 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq674[1] { - yym679 := z.EncBinary() - _ = yym679 + if yyq710[1] { + yym715 := z.EncBinary() + _ = yym715 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8081,54 +8297,54 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq674[1] { + if yyq710[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym680 := z.EncBinary() - _ = yym680 + yym716 := z.EncBinary() + _ = yym716 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr674 || yy2arr674 { + if yyr710 || yy2arr710 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq674[2] { - yy682 := &x.ListMeta - yym683 := z.EncBinary() - _ = yym683 + if yyq710[2] { + yy718 := &x.ListMeta + yym719 := z.EncBinary() + _ = yym719 if false { - } else if z.HasExtensions() && z.EncExt(yy682) { + } else if z.HasExtensions() && z.EncExt(yy718) { } else { - z.EncFallback(yy682) + z.EncFallback(yy718) } } else { r.EncodeNil() } } else { - if yyq674[2] { + if yyq710[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy684 := &x.ListMeta - yym685 := z.EncBinary() - _ = yym685 + yy720 := &x.ListMeta + yym721 := z.EncBinary() + _ = yym721 if false { - } else if z.HasExtensions() && z.EncExt(yy684) { + } else if z.HasExtensions() && z.EncExt(yy720) { } else { - z.EncFallback(yy684) + z.EncFallback(yy720) } } } - if yyr674 || yy2arr674 { + if yyr710 || yy2arr710 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym687 := z.EncBinary() - _ = yym687 + yym723 := z.EncBinary() + _ = yym723 if false { } else { h.encSliceJob(([]Job)(x.Items), e) @@ -8141,15 +8357,15 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym688 := z.EncBinary() - _ = yym688 + yym724 := z.EncBinary() + _ = yym724 if false { } else { h.encSliceJob(([]Job)(x.Items), e) } } } - if yyr674 || yy2arr674 { + if yyr710 || yy2arr710 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8162,25 +8378,25 @@ func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym689 := z.DecBinary() - _ = yym689 + yym725 := z.DecBinary() + _ = yym725 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct690 := r.ContainerType() - if yyct690 == codecSelferValueTypeMap1234 { - yyl690 := r.ReadMapStart() - if yyl690 == 0 { + yyct726 := r.ContainerType() + if yyct726 == codecSelferValueTypeMap1234 { + yyl726 := r.ReadMapStart() + if yyl726 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl690, d) + x.codecDecodeSelfFromMap(yyl726, d) } - } else if yyct690 == codecSelferValueTypeArray1234 { - yyl690 := r.ReadArrayStart() - if yyl690 == 0 { + } else if yyct726 == codecSelferValueTypeArray1234 { + yyl726 := r.ReadArrayStart() + if yyl726 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl690, d) + x.codecDecodeSelfFromArray(yyl726, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8192,12 +8408,12 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys691Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys691Slc - var yyhl691 bool = l >= 0 - for yyj691 := 0; ; yyj691++ { - if yyhl691 { - if yyj691 >= l { + var yys727Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys727Slc + var yyhl727 bool = l >= 0 + for yyj727 := 0; ; yyj727++ { + if yyhl727 { + if yyj727 >= l { break } } else { @@ -8206,10 +8422,10 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys691Slc = r.DecodeBytes(yys691Slc, true, true) - yys691 := string(yys691Slc) + yys727Slc = r.DecodeBytes(yys727Slc, true, true) + yys727 := string(yys727Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys691 { + switch yys727 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8226,31 +8442,31 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv694 := &x.ListMeta - yym695 := z.DecBinary() - _ = yym695 + yyv730 := &x.ListMeta + yym731 := z.DecBinary() + _ = yym731 if false { - } else if z.HasExtensions() && z.DecExt(yyv694) { + } else if z.HasExtensions() && z.DecExt(yyv730) { } else { - z.DecFallback(yyv694, false) + z.DecFallback(yyv730, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv696 := &x.Items - yym697 := z.DecBinary() - _ = yym697 + yyv732 := &x.Items + yym733 := z.DecBinary() + _ = yym733 if false { } else { - h.decSliceJob((*[]Job)(yyv696), d) + h.decSliceJob((*[]Job)(yyv732), d) } } default: - z.DecStructFieldNotFound(-1, yys691) - } // end switch yys691 - } // end for yyj691 + z.DecStructFieldNotFound(-1, yys727) + } // end switch yys727 + } // end for yyj727 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8258,16 +8474,16 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj698 int - var yyb698 bool - var yyhl698 bool = l >= 0 - yyj698++ - if yyhl698 { - yyb698 = yyj698 > l + var yyj734 int + var yyb734 bool + var yyhl734 bool = l >= 0 + yyj734++ + if yyhl734 { + yyb734 = yyj734 > l } else { - yyb698 = r.CheckBreak() + yyb734 = r.CheckBreak() } - if yyb698 { + if yyb734 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8277,13 +8493,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj698++ - if yyhl698 { - yyb698 = yyj698 > l + yyj734++ + if yyhl734 { + yyb734 = yyj734 > l } else { - yyb698 = r.CheckBreak() + yyb734 = r.CheckBreak() } - if yyb698 { + if yyb734 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8293,13 +8509,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj698++ - if yyhl698 { - yyb698 = yyj698 > l + yyj734++ + if yyhl734 { + yyb734 = yyj734 > l } else { - yyb698 = r.CheckBreak() + yyb734 = r.CheckBreak() } - if yyb698 { + if yyb734 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8307,22 +8523,22 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv701 := &x.ListMeta - yym702 := z.DecBinary() - _ = yym702 + yyv737 := &x.ListMeta + yym738 := z.DecBinary() + _ = yym738 if false { - } else if z.HasExtensions() && z.DecExt(yyv701) { + } else if z.HasExtensions() && z.DecExt(yyv737) { } else { - z.DecFallback(yyv701, false) + z.DecFallback(yyv737, false) } } - yyj698++ - if yyhl698 { - yyb698 = yyj698 > l + yyj734++ + if yyhl734 { + yyb734 = yyj734 > l } else { - yyb698 = r.CheckBreak() + yyb734 = r.CheckBreak() } - if yyb698 { + if yyb734 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8330,26 +8546,26 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv703 := &x.Items - yym704 := z.DecBinary() - _ = yym704 + yyv739 := &x.Items + yym740 := z.DecBinary() + _ = yym740 if false { } else { - h.decSliceJob((*[]Job)(yyv703), d) + h.decSliceJob((*[]Job)(yyv739), d) } } for { - yyj698++ - if yyhl698 { - yyb698 = yyj698 > l + yyj734++ + if yyhl734 { + yyb734 = yyj734 > l } else { - yyb698 = r.CheckBreak() + yyb734 = r.CheckBreak() } - if yyb698 { + if yyb734 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj698-1, "") + z.DecStructFieldNotFound(yyj734-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8361,105 +8577,141 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym705 := z.EncBinary() - _ = yym705 + yym741 := z.EncBinary() + _ = yym741 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep706 := !z.EncBinary() - yy2arr706 := z.EncBasicHandle().StructToArray - var yyq706 [4]bool - _, _, _ = yysep706, yyq706, yy2arr706 - const yyr706 bool = false - yyq706[0] = x.Parallelism != nil - yyq706[1] = x.Completions != nil - yyq706[2] = x.Selector != nil - var yynn706 int - if yyr706 || yy2arr706 { - r.EncodeArrayStart(4) + yysep742 := !z.EncBinary() + yy2arr742 := z.EncBasicHandle().StructToArray + var yyq742 [5]bool + _, _, _ = yysep742, yyq742, yy2arr742 + const yyr742 bool = false + yyq742[0] = x.Parallelism != nil + yyq742[1] = x.Completions != nil + yyq742[2] = x.ActiveDeadlineSeconds != nil + yyq742[3] = x.Selector != nil + var yynn742 int + if yyr742 || yy2arr742 { + r.EncodeArrayStart(5) } else { - yynn706 = 1 - for _, b := range yyq706 { + yynn742 = 1 + for _, b := range yyq742 { if b { - yynn706++ + yynn742++ } } - r.EncodeMapStart(yynn706) - yynn706 = 0 + r.EncodeMapStart(yynn742) + yynn742 = 0 } - if yyr706 || yy2arr706 { + if yyr742 || yy2arr742 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq706[0] { + if yyq742[0] { if x.Parallelism == nil { r.EncodeNil() } else { - yy708 := *x.Parallelism - yym709 := z.EncBinary() - _ = yym709 + yy744 := *x.Parallelism + yym745 := z.EncBinary() + _ = yym745 if false { } else { - r.EncodeInt(int64(yy708)) + r.EncodeInt(int64(yy744)) } } } else { r.EncodeNil() } } else { - if yyq706[0] { + if yyq742[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parallelism")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parallelism == nil { r.EncodeNil() } else { - yy710 := *x.Parallelism - yym711 := z.EncBinary() - _ = yym711 + yy746 := *x.Parallelism + yym747 := z.EncBinary() + _ = yym747 if false { } else { - r.EncodeInt(int64(yy710)) + r.EncodeInt(int64(yy746)) } } } } - if yyr706 || yy2arr706 { + if yyr742 || yy2arr742 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq706[1] { + if yyq742[1] { if x.Completions == nil { r.EncodeNil() } else { - yy713 := *x.Completions - yym714 := z.EncBinary() - _ = yym714 + yy749 := *x.Completions + yym750 := z.EncBinary() + _ = yym750 if false { } else { - r.EncodeInt(int64(yy713)) + r.EncodeInt(int64(yy749)) } } } else { r.EncodeNil() } } else { - if yyq706[1] { + if yyq742[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Completions == nil { r.EncodeNil() } else { - yy715 := *x.Completions - yym716 := z.EncBinary() - _ = yym716 + yy751 := *x.Completions + yym752 := z.EncBinary() + _ = yym752 if false { } else { - r.EncodeInt(int64(yy715)) + r.EncodeInt(int64(yy751)) } } } } - if yyr706 || yy2arr706 { + if yyr742 || yy2arr742 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq706[2] { + if yyq742[2] { + if x.ActiveDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy754 := *x.ActiveDeadlineSeconds + yym755 := z.EncBinary() + _ = yym755 + if false { + } else { + r.EncodeInt(int64(yy754)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq742[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.ActiveDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy756 := *x.ActiveDeadlineSeconds + yym757 := z.EncBinary() + _ = yym757 + if false { + } else { + r.EncodeInt(int64(yy756)) + } + } + } + } + if yyr742 || yy2arr742 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq742[3] { if x.Selector == nil { r.EncodeNil() } else { @@ -8469,7 +8721,7 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq706[2] { + if yyq742[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -8480,18 +8732,30 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr706 || yy2arr706 { + if yyr742 || yy2arr742 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy719 := &x.Template - yy719.CodecEncodeSelf(e) + yy760 := &x.Template + yym761 := z.EncBinary() + _ = yym761 + if false { + } else if z.HasExtensions() && z.EncExt(yy760) { + } else { + z.EncFallback(yy760) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy720 := &x.Template - yy720.CodecEncodeSelf(e) + yy762 := &x.Template + yym763 := z.EncBinary() + _ = yym763 + if false { + } else if z.HasExtensions() && z.EncExt(yy762) { + } else { + z.EncFallback(yy762) + } } - if yyr706 || yy2arr706 { + if yyr742 || yy2arr742 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8504,25 +8768,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym721 := z.DecBinary() - _ = yym721 + yym764 := z.DecBinary() + _ = yym764 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct722 := r.ContainerType() - if yyct722 == codecSelferValueTypeMap1234 { - yyl722 := r.ReadMapStart() - if yyl722 == 0 { + yyct765 := r.ContainerType() + if yyct765 == codecSelferValueTypeMap1234 { + yyl765 := r.ReadMapStart() + if yyl765 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl722, d) + x.codecDecodeSelfFromMap(yyl765, d) } - } else if yyct722 == codecSelferValueTypeArray1234 { - yyl722 := r.ReadArrayStart() - if yyl722 == 0 { + } else if yyct765 == codecSelferValueTypeArray1234 { + yyl765 := r.ReadArrayStart() + if yyl765 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl722, d) + x.codecDecodeSelfFromArray(yyl765, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8534,12 +8798,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys723Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys723Slc - var yyhl723 bool = l >= 0 - for yyj723 := 0; ; yyj723++ { - if yyhl723 { - if yyj723 >= l { + var yys766Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys766Slc + var yyhl766 bool = l >= 0 + for yyj766 := 0; ; yyj766++ { + if yyhl766 { + if yyj766 >= l { break } } else { @@ -8548,10 +8812,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys723Slc = r.DecodeBytes(yys723Slc, true, true) - yys723 := string(yys723Slc) + yys766Slc = r.DecodeBytes(yys766Slc, true, true) + yys766 := string(yys766Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys723 { + switch yys766 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -8561,8 +8825,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym725 := z.DecBinary() - _ = yym725 + yym768 := z.DecBinary() + _ = yym768 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -8577,13 +8841,29 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym727 := z.DecBinary() - _ = yym727 + yym770 := z.DecBinary() + _ = yym770 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } + case "activeDeadlineSeconds": + if r.TryDecodeAsNil() { + if x.ActiveDeadlineSeconds != nil { + x.ActiveDeadlineSeconds = nil + } + } else { + if x.ActiveDeadlineSeconds == nil { + x.ActiveDeadlineSeconds = new(int64) + } + yym772 := z.DecBinary() + _ = yym772 + if false { + } else { + *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) + } + } case "selector": if r.TryDecodeAsNil() { if x.Selector != nil { @@ -8599,13 +8879,19 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv729 := &x.Template - yyv729.CodecDecodeSelf(d) + yyv774 := &x.Template + yym775 := z.DecBinary() + _ = yym775 + if false { + } else if z.HasExtensions() && z.DecExt(yyv774) { + } else { + z.DecFallback(yyv774, false) + } } default: - z.DecStructFieldNotFound(-1, yys723) - } // end switch yys723 - } // end for yyj723 + z.DecStructFieldNotFound(-1, yys766) + } // end switch yys766 + } // end for yyj766 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8613,16 +8899,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj730 int - var yyb730 bool - var yyhl730 bool = l >= 0 - yyj730++ - if yyhl730 { - yyb730 = yyj730 > l + var yyj776 int + var yyb776 bool + var yyhl776 bool = l >= 0 + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb730 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb730 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8635,20 +8921,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym732 := z.DecBinary() - _ = yym732 + yym778 := z.DecBinary() + _ = yym778 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj730++ - if yyhl730 { - yyb730 = yyj730 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb730 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb730 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8661,20 +8947,46 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym734 := z.DecBinary() - _ = yym734 + yym780 := z.DecBinary() + _ = yym780 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj730++ - if yyhl730 { - yyb730 = yyj730 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb730 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb730 { + if yyb776 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.ActiveDeadlineSeconds != nil { + x.ActiveDeadlineSeconds = nil + } + } else { + if x.ActiveDeadlineSeconds == nil { + x.ActiveDeadlineSeconds = new(int64) + } + yym782 := z.DecBinary() + _ = yym782 + if false { + } else { + *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) + } + } + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l + } else { + yyb776 = r.CheckBreak() + } + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8689,13 +9001,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj730++ - if yyhl730 { - yyb730 = yyj730 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb730 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb730 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8703,21 +9015,27 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv736 := &x.Template - yyv736.CodecDecodeSelf(d) + yyv784 := &x.Template + yym785 := z.DecBinary() + _ = yym785 + if false { + } else if z.HasExtensions() && z.DecExt(yyv784) { + } else { + z.DecFallback(yyv784, false) + } } for { - yyj730++ - if yyhl730 { - yyb730 = yyj730 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb730 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb730 { + if yyb776 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj730-1, "") + z.DecStructFieldNotFound(yyj776-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8729,43 +9047,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym737 := z.EncBinary() - _ = yym737 + yym786 := z.EncBinary() + _ = yym786 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep738 := !z.EncBinary() - yy2arr738 := z.EncBasicHandle().StructToArray - var yyq738 [6]bool - _, _, _ = yysep738, yyq738, yy2arr738 - const yyr738 bool = false - yyq738[0] = len(x.Conditions) != 0 - yyq738[1] = x.StartTime != nil - yyq738[2] = x.CompletionTime != nil - yyq738[3] = x.Active != 0 - yyq738[4] = x.Succeeded != 0 - yyq738[5] = x.Failed != 0 - var yynn738 int - if yyr738 || yy2arr738 { + yysep787 := !z.EncBinary() + yy2arr787 := z.EncBasicHandle().StructToArray + var yyq787 [6]bool + _, _, _ = yysep787, yyq787, yy2arr787 + const yyr787 bool = false + yyq787[0] = len(x.Conditions) != 0 + yyq787[1] = x.StartTime != nil + yyq787[2] = x.CompletionTime != nil + yyq787[3] = x.Active != 0 + yyq787[4] = x.Succeeded != 0 + yyq787[5] = x.Failed != 0 + var yynn787 int + if yyr787 || yy2arr787 { r.EncodeArrayStart(6) } else { - yynn738 = 0 - for _, b := range yyq738 { + yynn787 = 0 + for _, b := range yyq787 { if b { - yynn738++ + yynn787++ } } - r.EncodeMapStart(yynn738) - yynn738 = 0 + r.EncodeMapStart(yynn787) + yynn787 = 0 } - if yyr738 || yy2arr738 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq738[0] { + if yyq787[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym740 := z.EncBinary() - _ = yym740 + yym789 := z.EncBinary() + _ = yym789 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -8775,15 +9093,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq738[0] { + if yyq787[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym741 := z.EncBinary() - _ = yym741 + yym790 := z.EncBinary() + _ = yym790 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -8791,19 +9109,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr738 || yy2arr738 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq738[1] { + if yyq787[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym743 := z.EncBinary() - _ = yym743 + yym792 := z.EncBinary() + _ = yym792 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym743 { + } else if yym792 { z.EncBinaryMarshal(x.StartTime) - } else if !yym743 && z.IsJSONHandle() { + } else if !yym792 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -8813,20 +9131,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq738[1] { + if yyq787[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym744 := z.EncBinary() - _ = yym744 + yym793 := z.EncBinary() + _ = yym793 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym744 { + } else if yym793 { z.EncBinaryMarshal(x.StartTime) - } else if !yym744 && z.IsJSONHandle() { + } else if !yym793 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -8834,19 +9152,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr738 || yy2arr738 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq738[2] { + if yyq787[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym746 := z.EncBinary() - _ = yym746 + yym795 := z.EncBinary() + _ = yym795 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym746 { + } else if yym795 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym746 && z.IsJSONHandle() { + } else if !yym795 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -8856,20 +9174,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq738[2] { + if yyq787[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym747 := z.EncBinary() - _ = yym747 + yym796 := z.EncBinary() + _ = yym796 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym747 { + } else if yym796 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym747 && z.IsJSONHandle() { + } else if !yym796 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -8877,11 +9195,11 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr738 || yy2arr738 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq738[3] { - yym749 := z.EncBinary() - _ = yym749 + if yyq787[3] { + yym798 := z.EncBinary() + _ = yym798 if false { } else { r.EncodeInt(int64(x.Active)) @@ -8890,23 +9208,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq738[3] { + if yyq787[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym750 := z.EncBinary() - _ = yym750 + yym799 := z.EncBinary() + _ = yym799 if false { } else { r.EncodeInt(int64(x.Active)) } } } - if yyr738 || yy2arr738 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq738[4] { - yym752 := z.EncBinary() - _ = yym752 + if yyq787[4] { + yym801 := z.EncBinary() + _ = yym801 if false { } else { r.EncodeInt(int64(x.Succeeded)) @@ -8915,23 +9233,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq738[4] { + if yyq787[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("succeeded")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym753 := z.EncBinary() - _ = yym753 + yym802 := z.EncBinary() + _ = yym802 if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr738 || yy2arr738 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq738[5] { - yym755 := z.EncBinary() - _ = yym755 + if yyq787[5] { + yym804 := z.EncBinary() + _ = yym804 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -8940,19 +9258,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq738[5] { + if yyq787[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym756 := z.EncBinary() - _ = yym756 + yym805 := z.EncBinary() + _ = yym805 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr738 || yy2arr738 { + if yyr787 || yy2arr787 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8965,25 +9283,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym757 := z.DecBinary() - _ = yym757 + yym806 := z.DecBinary() + _ = yym806 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct758 := r.ContainerType() - if yyct758 == codecSelferValueTypeMap1234 { - yyl758 := r.ReadMapStart() - if yyl758 == 0 { + yyct807 := r.ContainerType() + if yyct807 == codecSelferValueTypeMap1234 { + yyl807 := r.ReadMapStart() + if yyl807 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl758, d) + x.codecDecodeSelfFromMap(yyl807, d) } - } else if yyct758 == codecSelferValueTypeArray1234 { - yyl758 := r.ReadArrayStart() - if yyl758 == 0 { + } else if yyct807 == codecSelferValueTypeArray1234 { + yyl807 := r.ReadArrayStart() + if yyl807 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl758, d) + x.codecDecodeSelfFromArray(yyl807, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8995,12 +9313,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys759Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys759Slc - var yyhl759 bool = l >= 0 - for yyj759 := 0; ; yyj759++ { - if yyhl759 { - if yyj759 >= l { + var yys808Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys808Slc + var yyhl808 bool = l >= 0 + for yyj808 := 0; ; yyj808++ { + if yyhl808 { + if yyj808 >= l { break } } else { @@ -9009,20 +9327,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys759Slc = r.DecodeBytes(yys759Slc, true, true) - yys759 := string(yys759Slc) + yys808Slc = r.DecodeBytes(yys808Slc, true, true) + yys808 := string(yys808Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys759 { + switch yys808 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv760 := &x.Conditions - yym761 := z.DecBinary() - _ = yym761 + yyv809 := &x.Conditions + yym810 := z.DecBinary() + _ = yym810 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv760), d) + h.decSliceJobCondition((*[]JobCondition)(yyv809), d) } } case "startTime": @@ -9034,13 +9352,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym763 := z.DecBinary() - _ = yym763 + yym812 := z.DecBinary() + _ = yym812 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym763 { + } else if yym812 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym763 && z.IsJSONHandle() { + } else if !yym812 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -9055,13 +9373,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym765 := z.DecBinary() - _ = yym765 + yym814 := z.DecBinary() + _ = yym814 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym765 { + } else if yym814 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym765 && z.IsJSONHandle() { + } else if !yym814 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -9086,9 +9404,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys759) - } // end switch yys759 - } // end for yyj759 + z.DecStructFieldNotFound(-1, yys808) + } // end switch yys808 + } // end for yyj808 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9096,16 +9414,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj769 int - var yyb769 bool - var yyhl769 bool = l >= 0 - yyj769++ - if yyhl769 { - yyb769 = yyj769 > l + var yyj818 int + var yyb818 bool + var yyhl818 bool = l >= 0 + yyj818++ + if yyhl818 { + yyb818 = yyj818 > l } else { - yyb769 = r.CheckBreak() + yyb818 = r.CheckBreak() } - if yyb769 { + if yyb818 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9113,21 +9431,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv770 := &x.Conditions - yym771 := z.DecBinary() - _ = yym771 + yyv819 := &x.Conditions + yym820 := z.DecBinary() + _ = yym820 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv770), d) + h.decSliceJobCondition((*[]JobCondition)(yyv819), d) } } - yyj769++ - if yyhl769 { - yyb769 = yyj769 > l + yyj818++ + if yyhl818 { + yyb818 = yyj818 > l } else { - yyb769 = r.CheckBreak() + yyb818 = r.CheckBreak() } - if yyb769 { + if yyb818 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9140,25 +9458,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym773 := z.DecBinary() - _ = yym773 + yym822 := z.DecBinary() + _ = yym822 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym773 { + } else if yym822 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym773 && z.IsJSONHandle() { + } else if !yym822 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj769++ - if yyhl769 { - yyb769 = yyj769 > l + yyj818++ + if yyhl818 { + yyb818 = yyj818 > l } else { - yyb769 = r.CheckBreak() + yyb818 = r.CheckBreak() } - if yyb769 { + if yyb818 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9171,25 +9489,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym775 := z.DecBinary() - _ = yym775 + yym824 := z.DecBinary() + _ = yym824 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym775 { + } else if yym824 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym775 && z.IsJSONHandle() { + } else if !yym824 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj769++ - if yyhl769 { - yyb769 = yyj769 > l + yyj818++ + if yyhl818 { + yyb818 = yyj818 > l } else { - yyb769 = r.CheckBreak() + yyb818 = r.CheckBreak() } - if yyb769 { + if yyb818 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9199,13 +9517,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj769++ - if yyhl769 { - yyb769 = yyj769 > l + yyj818++ + if yyhl818 { + yyb818 = yyj818 > l } else { - yyb769 = r.CheckBreak() + yyb818 = r.CheckBreak() } - if yyb769 { + if yyb818 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9215,13 +9533,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj769++ - if yyhl769 { - yyb769 = yyj769 > l + yyj818++ + if yyhl818 { + yyb818 = yyj818 > l } else { - yyb769 = r.CheckBreak() + yyb818 = r.CheckBreak() } - if yyb769 { + if yyb818 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9232,17 +9550,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj769++ - if yyhl769 { - yyb769 = yyj769 > l + yyj818++ + if yyhl818 { + yyb818 = yyj818 > l } else { - yyb769 = r.CheckBreak() + yyb818 = r.CheckBreak() } - if yyb769 { + if yyb818 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj769-1, "") + z.DecStructFieldNotFound(yyj818-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9251,8 +9569,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym779 := z.EncBinary() - _ = yym779 + yym828 := z.EncBinary() + _ = yym828 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -9264,8 +9582,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym780 := z.DecBinary() - _ = yym780 + yym829 := z.DecBinary() + _ = yym829 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -9280,34 +9598,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym781 := z.EncBinary() - _ = yym781 + yym830 := z.EncBinary() + _ = yym830 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep782 := !z.EncBinary() - yy2arr782 := z.EncBasicHandle().StructToArray - var yyq782 [6]bool - _, _, _ = yysep782, yyq782, yy2arr782 - const yyr782 bool = false - yyq782[2] = true - yyq782[3] = true - yyq782[4] = x.Reason != "" - yyq782[5] = x.Message != "" - var yynn782 int - if yyr782 || yy2arr782 { + yysep831 := !z.EncBinary() + yy2arr831 := z.EncBasicHandle().StructToArray + var yyq831 [6]bool + _, _, _ = yysep831, yyq831, yy2arr831 + const yyr831 bool = false + yyq831[2] = true + yyq831[3] = true + yyq831[4] = x.Reason != "" + yyq831[5] = x.Message != "" + var yynn831 int + if yyr831 || yy2arr831 { r.EncodeArrayStart(6) } else { - yynn782 = 2 - for _, b := range yyq782 { + yynn831 = 2 + for _, b := range yyq831 { if b { - yynn782++ + yynn831++ } } - r.EncodeMapStart(yynn782) - yynn782 = 0 + r.EncodeMapStart(yynn831) + yynn831 = 0 } - if yyr782 || yy2arr782 { + if yyr831 || yy2arr831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -9316,10 +9634,10 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr782 || yy2arr782 { + if yyr831 || yy2arr831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym785 := z.EncBinary() - _ = yym785 + yym834 := z.EncBinary() + _ = yym834 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -9329,93 +9647,93 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym786 := z.EncBinary() - _ = yym786 + yym835 := z.EncBinary() + _ = yym835 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr782 || yy2arr782 { + if yyr831 || yy2arr831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq782[2] { - yy788 := &x.LastProbeTime - yym789 := z.EncBinary() - _ = yym789 + if yyq831[2] { + yy837 := &x.LastProbeTime + yym838 := z.EncBinary() + _ = yym838 if false { - } else if z.HasExtensions() && z.EncExt(yy788) { - } else if yym789 { - z.EncBinaryMarshal(yy788) - } else if !yym789 && z.IsJSONHandle() { - z.EncJSONMarshal(yy788) + } else if z.HasExtensions() && z.EncExt(yy837) { + } else if yym838 { + z.EncBinaryMarshal(yy837) + } else if !yym838 && z.IsJSONHandle() { + z.EncJSONMarshal(yy837) } else { - z.EncFallback(yy788) + z.EncFallback(yy837) } } else { r.EncodeNil() } } else { - if yyq782[2] { + if yyq831[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy790 := &x.LastProbeTime - yym791 := z.EncBinary() - _ = yym791 + yy839 := &x.LastProbeTime + yym840 := z.EncBinary() + _ = yym840 if false { - } else if z.HasExtensions() && z.EncExt(yy790) { - } else if yym791 { - z.EncBinaryMarshal(yy790) - } else if !yym791 && z.IsJSONHandle() { - z.EncJSONMarshal(yy790) + } else if z.HasExtensions() && z.EncExt(yy839) { + } else if yym840 { + z.EncBinaryMarshal(yy839) + } else if !yym840 && z.IsJSONHandle() { + z.EncJSONMarshal(yy839) } else { - z.EncFallback(yy790) + z.EncFallback(yy839) } } } - if yyr782 || yy2arr782 { + if yyr831 || yy2arr831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq782[3] { - yy793 := &x.LastTransitionTime - yym794 := z.EncBinary() - _ = yym794 + if yyq831[3] { + yy842 := &x.LastTransitionTime + yym843 := z.EncBinary() + _ = yym843 if false { - } else if z.HasExtensions() && z.EncExt(yy793) { - } else if yym794 { - z.EncBinaryMarshal(yy793) - } else if !yym794 && z.IsJSONHandle() { - z.EncJSONMarshal(yy793) + } else if z.HasExtensions() && z.EncExt(yy842) { + } else if yym843 { + z.EncBinaryMarshal(yy842) + } else if !yym843 && z.IsJSONHandle() { + z.EncJSONMarshal(yy842) } else { - z.EncFallback(yy793) + z.EncFallback(yy842) } } else { r.EncodeNil() } } else { - if yyq782[3] { + if yyq831[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy795 := &x.LastTransitionTime - yym796 := z.EncBinary() - _ = yym796 + yy844 := &x.LastTransitionTime + yym845 := z.EncBinary() + _ = yym845 if false { - } else if z.HasExtensions() && z.EncExt(yy795) { - } else if yym796 { - z.EncBinaryMarshal(yy795) - } else if !yym796 && z.IsJSONHandle() { - z.EncJSONMarshal(yy795) + } else if z.HasExtensions() && z.EncExt(yy844) { + } else if yym845 { + z.EncBinaryMarshal(yy844) + } else if !yym845 && z.IsJSONHandle() { + z.EncJSONMarshal(yy844) } else { - z.EncFallback(yy795) + z.EncFallback(yy844) } } } - if yyr782 || yy2arr782 { + if yyr831 || yy2arr831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq782[4] { - yym798 := z.EncBinary() - _ = yym798 + if yyq831[4] { + yym847 := z.EncBinary() + _ = yym847 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -9424,23 +9742,23 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq782[4] { + if yyq831[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym799 := z.EncBinary() - _ = yym799 + yym848 := z.EncBinary() + _ = yym848 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr782 || yy2arr782 { + if yyr831 || yy2arr831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq782[5] { - yym801 := z.EncBinary() - _ = yym801 + if yyq831[5] { + yym850 := z.EncBinary() + _ = yym850 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -9449,19 +9767,19 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq782[5] { + if yyq831[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym802 := z.EncBinary() - _ = yym802 + yym851 := z.EncBinary() + _ = yym851 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr782 || yy2arr782 { + if yyr831 || yy2arr831 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9474,25 +9792,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym803 := z.DecBinary() - _ = yym803 + yym852 := z.DecBinary() + _ = yym852 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct804 := r.ContainerType() - if yyct804 == codecSelferValueTypeMap1234 { - yyl804 := r.ReadMapStart() - if yyl804 == 0 { + yyct853 := r.ContainerType() + if yyct853 == codecSelferValueTypeMap1234 { + yyl853 := r.ReadMapStart() + if yyl853 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl804, d) + x.codecDecodeSelfFromMap(yyl853, d) } - } else if yyct804 == codecSelferValueTypeArray1234 { - yyl804 := r.ReadArrayStart() - if yyl804 == 0 { + } else if yyct853 == codecSelferValueTypeArray1234 { + yyl853 := r.ReadArrayStart() + if yyl853 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl804, d) + x.codecDecodeSelfFromArray(yyl853, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9504,12 +9822,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys805Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys805Slc - var yyhl805 bool = l >= 0 - for yyj805 := 0; ; yyj805++ { - if yyhl805 { - if yyj805 >= l { + var yys854Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys854Slc + var yyhl854 bool = l >= 0 + for yyj854 := 0; ; yyj854++ { + if yyhl854 { + if yyj854 >= l { break } } else { @@ -9518,10 +9836,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys805Slc = r.DecodeBytes(yys805Slc, true, true) - yys805 := string(yys805Slc) + yys854Slc = r.DecodeBytes(yys854Slc, true, true) + yys854 := string(yys854Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys805 { + switch yys854 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -9538,34 +9856,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv808 := &x.LastProbeTime - yym809 := z.DecBinary() - _ = yym809 + yyv857 := &x.LastProbeTime + yym858 := z.DecBinary() + _ = yym858 if false { - } else if z.HasExtensions() && z.DecExt(yyv808) { - } else if yym809 { - z.DecBinaryUnmarshal(yyv808) - } else if !yym809 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv808) + } else if z.HasExtensions() && z.DecExt(yyv857) { + } else if yym858 { + z.DecBinaryUnmarshal(yyv857) + } else if !yym858 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv857) } else { - z.DecFallback(yyv808, false) + z.DecFallback(yyv857, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv810 := &x.LastTransitionTime - yym811 := z.DecBinary() - _ = yym811 + yyv859 := &x.LastTransitionTime + yym860 := z.DecBinary() + _ = yym860 if false { - } else if z.HasExtensions() && z.DecExt(yyv810) { - } else if yym811 { - z.DecBinaryUnmarshal(yyv810) - } else if !yym811 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv810) + } else if z.HasExtensions() && z.DecExt(yyv859) { + } else if yym860 { + z.DecBinaryUnmarshal(yyv859) + } else if !yym860 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv859) } else { - z.DecFallback(yyv810, false) + z.DecFallback(yyv859, false) } } case "reason": @@ -9581,9 +9899,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys805) - } // end switch yys805 - } // end for yyj805 + z.DecStructFieldNotFound(-1, yys854) + } // end switch yys854 + } // end for yyj854 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9591,16 +9909,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj814 int - var yyb814 bool - var yyhl814 bool = l >= 0 - yyj814++ - if yyhl814 { - yyb814 = yyj814 > l + var yyj863 int + var yyb863 bool + var yyhl863 bool = l >= 0 + yyj863++ + if yyhl863 { + yyb863 = yyj863 > l } else { - yyb814 = r.CheckBreak() + yyb863 = r.CheckBreak() } - if yyb814 { + if yyb863 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9610,13 +9928,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj814++ - if yyhl814 { - yyb814 = yyj814 > l + yyj863++ + if yyhl863 { + yyb863 = yyj863 > l } else { - yyb814 = r.CheckBreak() + yyb863 = r.CheckBreak() } - if yyb814 { + if yyb863 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9626,13 +9944,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj814++ - if yyhl814 { - yyb814 = yyj814 > l + yyj863++ + if yyhl863 { + yyb863 = yyj863 > l } else { - yyb814 = r.CheckBreak() + yyb863 = r.CheckBreak() } - if yyb814 { + if yyb863 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9640,26 +9958,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv817 := &x.LastProbeTime - yym818 := z.DecBinary() - _ = yym818 + yyv866 := &x.LastProbeTime + yym867 := z.DecBinary() + _ = yym867 if false { - } else if z.HasExtensions() && z.DecExt(yyv817) { - } else if yym818 { - z.DecBinaryUnmarshal(yyv817) - } else if !yym818 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv817) + } else if z.HasExtensions() && z.DecExt(yyv866) { + } else if yym867 { + z.DecBinaryUnmarshal(yyv866) + } else if !yym867 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv866) } else { - z.DecFallback(yyv817, false) + z.DecFallback(yyv866, false) } } - yyj814++ - if yyhl814 { - yyb814 = yyj814 > l + yyj863++ + if yyhl863 { + yyb863 = yyj863 > l } else { - yyb814 = r.CheckBreak() + yyb863 = r.CheckBreak() } - if yyb814 { + if yyb863 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9667,26 +9985,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv819 := &x.LastTransitionTime - yym820 := z.DecBinary() - _ = yym820 + yyv868 := &x.LastTransitionTime + yym869 := z.DecBinary() + _ = yym869 if false { - } else if z.HasExtensions() && z.DecExt(yyv819) { - } else if yym820 { - z.DecBinaryUnmarshal(yyv819) - } else if !yym820 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv819) + } else if z.HasExtensions() && z.DecExt(yyv868) { + } else if yym869 { + z.DecBinaryUnmarshal(yyv868) + } else if !yym869 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv868) } else { - z.DecFallback(yyv819, false) + z.DecFallback(yyv868, false) } } - yyj814++ - if yyhl814 { - yyb814 = yyj814 > l + yyj863++ + if yyhl863 { + yyb863 = yyj863 > l } else { - yyb814 = r.CheckBreak() + yyb863 = r.CheckBreak() } - if yyb814 { + if yyb863 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9696,13 +10014,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj814++ - if yyhl814 { - yyb814 = yyj814 > l + yyj863++ + if yyhl863 { + yyb863 = yyj863 > l } else { - yyb814 = r.CheckBreak() + yyb863 = r.CheckBreak() } - if yyb814 { + if yyb863 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9713,17 +10031,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj814++ - if yyhl814 { - yyb814 = yyj814 > l + yyj863++ + if yyhl863 { + yyb863 = yyj863 > l } else { - yyb814 = r.CheckBreak() + yyb863 = r.CheckBreak() } - if yyb814 { + if yyb863 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj814-1, "") + z.DecStructFieldNotFound(yyj863-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9735,39 +10053,39 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym823 := z.EncBinary() - _ = yym823 + yym872 := z.EncBinary() + _ = yym872 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep824 := !z.EncBinary() - yy2arr824 := z.EncBasicHandle().StructToArray - var yyq824 [5]bool - _, _, _ = yysep824, yyq824, yy2arr824 - const yyr824 bool = false - yyq824[0] = x.Kind != "" - yyq824[1] = x.APIVersion != "" - yyq824[2] = true - yyq824[3] = true - yyq824[4] = true - var yynn824 int - if yyr824 || yy2arr824 { + yysep873 := !z.EncBinary() + yy2arr873 := z.EncBasicHandle().StructToArray + var yyq873 [5]bool + _, _, _ = yysep873, yyq873, yy2arr873 + const yyr873 bool = false + yyq873[0] = x.Kind != "" + yyq873[1] = x.APIVersion != "" + yyq873[2] = true + yyq873[3] = true + yyq873[4] = true + var yynn873 int + if yyr873 || yy2arr873 { r.EncodeArrayStart(5) } else { - yynn824 = 0 - for _, b := range yyq824 { + yynn873 = 0 + for _, b := range yyq873 { if b { - yynn824++ + yynn873++ } } - r.EncodeMapStart(yynn824) - yynn824 = 0 + r.EncodeMapStart(yynn873) + yynn873 = 0 } - if yyr824 || yy2arr824 { + if yyr873 || yy2arr873 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq824[0] { - yym826 := z.EncBinary() - _ = yym826 + if yyq873[0] { + yym875 := z.EncBinary() + _ = yym875 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9776,23 +10094,23 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq824[0] { + if yyq873[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym827 := z.EncBinary() - _ = yym827 + yym876 := z.EncBinary() + _ = yym876 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr824 || yy2arr824 { + if yyr873 || yy2arr873 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq824[1] { - yym829 := z.EncBinary() - _ = yym829 + if yyq873[1] { + yym878 := z.EncBinary() + _ = yym878 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9801,70 +10119,82 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq824[1] { + if yyq873[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym830 := z.EncBinary() - _ = yym830 + yym879 := z.EncBinary() + _ = yym879 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr824 || yy2arr824 { + if yyr873 || yy2arr873 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq824[2] { - yy832 := &x.ObjectMeta - yy832.CodecEncodeSelf(e) + if yyq873[2] { + yy881 := &x.ObjectMeta + yym882 := z.EncBinary() + _ = yym882 + if false { + } else if z.HasExtensions() && z.EncExt(yy881) { + } else { + z.EncFallback(yy881) + } } else { r.EncodeNil() } } else { - if yyq824[2] { + if yyq873[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy833 := &x.ObjectMeta - yy833.CodecEncodeSelf(e) + yy883 := &x.ObjectMeta + yym884 := z.EncBinary() + _ = yym884 + if false { + } else if z.HasExtensions() && z.EncExt(yy883) { + } else { + z.EncFallback(yy883) + } } } - if yyr824 || yy2arr824 { + if yyr873 || yy2arr873 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq824[3] { - yy835 := &x.Spec - yy835.CodecEncodeSelf(e) + if yyq873[3] { + yy886 := &x.Spec + yy886.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq824[3] { + if yyq873[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy836 := &x.Spec - yy836.CodecEncodeSelf(e) + yy887 := &x.Spec + yy887.CodecEncodeSelf(e) } } - if yyr824 || yy2arr824 { + if yyr873 || yy2arr873 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq824[4] { - yy838 := &x.Status - yy838.CodecEncodeSelf(e) + if yyq873[4] { + yy889 := &x.Status + yy889.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq824[4] { + if yyq873[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy839 := &x.Status - yy839.CodecEncodeSelf(e) + yy890 := &x.Status + yy890.CodecEncodeSelf(e) } } - if yyr824 || yy2arr824 { + if yyr873 || yy2arr873 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9877,25 +10207,25 @@ func (x *Ingress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym840 := z.DecBinary() - _ = yym840 + yym891 := z.DecBinary() + _ = yym891 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct841 := r.ContainerType() - if yyct841 == codecSelferValueTypeMap1234 { - yyl841 := r.ReadMapStart() - if yyl841 == 0 { + yyct892 := r.ContainerType() + if yyct892 == codecSelferValueTypeMap1234 { + yyl892 := r.ReadMapStart() + if yyl892 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl841, d) + x.codecDecodeSelfFromMap(yyl892, d) } - } else if yyct841 == codecSelferValueTypeArray1234 { - yyl841 := r.ReadArrayStart() - if yyl841 == 0 { + } else if yyct892 == codecSelferValueTypeArray1234 { + yyl892 := r.ReadArrayStart() + if yyl892 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl841, d) + x.codecDecodeSelfFromArray(yyl892, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9907,12 +10237,12 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys842Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys842Slc - var yyhl842 bool = l >= 0 - for yyj842 := 0; ; yyj842++ { - if yyhl842 { - if yyj842 >= l { + var yys893Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys893Slc + var yyhl893 bool = l >= 0 + for yyj893 := 0; ; yyj893++ { + if yyhl893 { + if yyj893 >= l { break } } else { @@ -9921,10 +10251,10 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys842Slc = r.DecodeBytes(yys842Slc, true, true) - yys842 := string(yys842Slc) + yys893Slc = r.DecodeBytes(yys893Slc, true, true) + yys893 := string(yys893Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys842 { + switch yys893 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9941,27 +10271,33 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv845 := &x.ObjectMeta - yyv845.CodecDecodeSelf(d) + yyv896 := &x.ObjectMeta + yym897 := z.DecBinary() + _ = yym897 + if false { + } else if z.HasExtensions() && z.DecExt(yyv896) { + } else { + z.DecFallback(yyv896, false) + } } case "spec": if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv846 := &x.Spec - yyv846.CodecDecodeSelf(d) + yyv898 := &x.Spec + yyv898.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv847 := &x.Status - yyv847.CodecDecodeSelf(d) + yyv899 := &x.Status + yyv899.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys842) - } // end switch yys842 - } // end for yyj842 + z.DecStructFieldNotFound(-1, yys893) + } // end switch yys893 + } // end for yyj893 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9969,16 +10305,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj848 int - var yyb848 bool - var yyhl848 bool = l >= 0 - yyj848++ - if yyhl848 { - yyb848 = yyj848 > l + var yyj900 int + var yyb900 bool + var yyhl900 bool = l >= 0 + yyj900++ + if yyhl900 { + yyb900 = yyj900 > l } else { - yyb848 = r.CheckBreak() + yyb900 = r.CheckBreak() } - if yyb848 { + if yyb900 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9988,13 +10324,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj848++ - if yyhl848 { - yyb848 = yyj848 > l + yyj900++ + if yyhl900 { + yyb900 = yyj900 > l } else { - yyb848 = r.CheckBreak() + yyb900 = r.CheckBreak() } - if yyb848 { + if yyb900 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10004,13 +10340,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj848++ - if yyhl848 { - yyb848 = yyj848 > l + yyj900++ + if yyhl900 { + yyb900 = yyj900 > l } else { - yyb848 = r.CheckBreak() + yyb900 = r.CheckBreak() } - if yyb848 { + if yyb900 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10018,16 +10354,22 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv851 := &x.ObjectMeta - yyv851.CodecDecodeSelf(d) + yyv903 := &x.ObjectMeta + yym904 := z.DecBinary() + _ = yym904 + if false { + } else if z.HasExtensions() && z.DecExt(yyv903) { + } else { + z.DecFallback(yyv903, false) + } } - yyj848++ - if yyhl848 { - yyb848 = yyj848 > l + yyj900++ + if yyhl900 { + yyb900 = yyj900 > l } else { - yyb848 = r.CheckBreak() + yyb900 = r.CheckBreak() } - if yyb848 { + if yyb900 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10035,16 +10377,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv852 := &x.Spec - yyv852.CodecDecodeSelf(d) + yyv905 := &x.Spec + yyv905.CodecDecodeSelf(d) } - yyj848++ - if yyhl848 { - yyb848 = yyj848 > l + yyj900++ + if yyhl900 { + yyb900 = yyj900 > l } else { - yyb848 = r.CheckBreak() + yyb900 = r.CheckBreak() } - if yyb848 { + if yyb900 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10052,21 +10394,21 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv853 := &x.Status - yyv853.CodecDecodeSelf(d) + yyv906 := &x.Status + yyv906.CodecDecodeSelf(d) } for { - yyj848++ - if yyhl848 { - yyb848 = yyj848 > l + yyj900++ + if yyhl900 { + yyb900 = yyj900 > l } else { - yyb848 = r.CheckBreak() + yyb900 = r.CheckBreak() } - if yyb848 { + if yyb900 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj848-1, "") + z.DecStructFieldNotFound(yyj900-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10078,37 +10420,37 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym854 := z.EncBinary() - _ = yym854 + yym907 := z.EncBinary() + _ = yym907 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep855 := !z.EncBinary() - yy2arr855 := z.EncBasicHandle().StructToArray - var yyq855 [4]bool - _, _, _ = yysep855, yyq855, yy2arr855 - const yyr855 bool = false - yyq855[0] = x.Kind != "" - yyq855[1] = x.APIVersion != "" - yyq855[2] = true - var yynn855 int - if yyr855 || yy2arr855 { + yysep908 := !z.EncBinary() + yy2arr908 := z.EncBasicHandle().StructToArray + var yyq908 [4]bool + _, _, _ = yysep908, yyq908, yy2arr908 + const yyr908 bool = false + yyq908[0] = x.Kind != "" + yyq908[1] = x.APIVersion != "" + yyq908[2] = true + var yynn908 int + if yyr908 || yy2arr908 { r.EncodeArrayStart(4) } else { - yynn855 = 1 - for _, b := range yyq855 { + yynn908 = 1 + for _, b := range yyq908 { if b { - yynn855++ + yynn908++ } } - r.EncodeMapStart(yynn855) - yynn855 = 0 + r.EncodeMapStart(yynn908) + yynn908 = 0 } - if yyr855 || yy2arr855 { + if yyr908 || yy2arr908 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq855[0] { - yym857 := z.EncBinary() - _ = yym857 + if yyq908[0] { + yym910 := z.EncBinary() + _ = yym910 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -10117,23 +10459,23 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq855[0] { + if yyq908[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym858 := z.EncBinary() - _ = yym858 + yym911 := z.EncBinary() + _ = yym911 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr855 || yy2arr855 { + if yyr908 || yy2arr908 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq855[1] { - yym860 := z.EncBinary() - _ = yym860 + if yyq908[1] { + yym913 := z.EncBinary() + _ = yym913 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -10142,54 +10484,54 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq855[1] { + if yyq908[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym861 := z.EncBinary() - _ = yym861 + yym914 := z.EncBinary() + _ = yym914 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr855 || yy2arr855 { + if yyr908 || yy2arr908 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq855[2] { - yy863 := &x.ListMeta - yym864 := z.EncBinary() - _ = yym864 + if yyq908[2] { + yy916 := &x.ListMeta + yym917 := z.EncBinary() + _ = yym917 if false { - } else if z.HasExtensions() && z.EncExt(yy863) { + } else if z.HasExtensions() && z.EncExt(yy916) { } else { - z.EncFallback(yy863) + z.EncFallback(yy916) } } else { r.EncodeNil() } } else { - if yyq855[2] { + if yyq908[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy865 := &x.ListMeta - yym866 := z.EncBinary() - _ = yym866 + yy918 := &x.ListMeta + yym919 := z.EncBinary() + _ = yym919 if false { - } else if z.HasExtensions() && z.EncExt(yy865) { + } else if z.HasExtensions() && z.EncExt(yy918) { } else { - z.EncFallback(yy865) + z.EncFallback(yy918) } } } - if yyr855 || yy2arr855 { + if yyr908 || yy2arr908 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym868 := z.EncBinary() - _ = yym868 + yym921 := z.EncBinary() + _ = yym921 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) @@ -10202,15 +10544,15 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym869 := z.EncBinary() - _ = yym869 + yym922 := z.EncBinary() + _ = yym922 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) } } } - if yyr855 || yy2arr855 { + if yyr908 || yy2arr908 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10223,25 +10565,25 @@ func (x *IngressList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym870 := z.DecBinary() - _ = yym870 + yym923 := z.DecBinary() + _ = yym923 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct871 := r.ContainerType() - if yyct871 == codecSelferValueTypeMap1234 { - yyl871 := r.ReadMapStart() - if yyl871 == 0 { + yyct924 := r.ContainerType() + if yyct924 == codecSelferValueTypeMap1234 { + yyl924 := r.ReadMapStart() + if yyl924 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl871, d) + x.codecDecodeSelfFromMap(yyl924, d) } - } else if yyct871 == codecSelferValueTypeArray1234 { - yyl871 := r.ReadArrayStart() - if yyl871 == 0 { + } else if yyct924 == codecSelferValueTypeArray1234 { + yyl924 := r.ReadArrayStart() + if yyl924 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl871, d) + x.codecDecodeSelfFromArray(yyl924, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10253,12 +10595,12 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys872Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys872Slc - var yyhl872 bool = l >= 0 - for yyj872 := 0; ; yyj872++ { - if yyhl872 { - if yyj872 >= l { + var yys925Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys925Slc + var yyhl925 bool = l >= 0 + for yyj925 := 0; ; yyj925++ { + if yyhl925 { + if yyj925 >= l { break } } else { @@ -10267,10 +10609,10 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys872Slc = r.DecodeBytes(yys872Slc, true, true) - yys872 := string(yys872Slc) + yys925Slc = r.DecodeBytes(yys925Slc, true, true) + yys925 := string(yys925Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys872 { + switch yys925 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -10287,31 +10629,31 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv875 := &x.ListMeta - yym876 := z.DecBinary() - _ = yym876 + yyv928 := &x.ListMeta + yym929 := z.DecBinary() + _ = yym929 if false { - } else if z.HasExtensions() && z.DecExt(yyv875) { + } else if z.HasExtensions() && z.DecExt(yyv928) { } else { - z.DecFallback(yyv875, false) + z.DecFallback(yyv928, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv877 := &x.Items - yym878 := z.DecBinary() - _ = yym878 + yyv930 := &x.Items + yym931 := z.DecBinary() + _ = yym931 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv877), d) + h.decSliceIngress((*[]Ingress)(yyv930), d) } } default: - z.DecStructFieldNotFound(-1, yys872) - } // end switch yys872 - } // end for yyj872 + z.DecStructFieldNotFound(-1, yys925) + } // end switch yys925 + } // end for yyj925 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10319,16 +10661,16 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj879 int - var yyb879 bool - var yyhl879 bool = l >= 0 - yyj879++ - if yyhl879 { - yyb879 = yyj879 > l + var yyj932 int + var yyb932 bool + var yyhl932 bool = l >= 0 + yyj932++ + if yyhl932 { + yyb932 = yyj932 > l } else { - yyb879 = r.CheckBreak() + yyb932 = r.CheckBreak() } - if yyb879 { + if yyb932 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10338,13 +10680,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj879++ - if yyhl879 { - yyb879 = yyj879 > l + yyj932++ + if yyhl932 { + yyb932 = yyj932 > l } else { - yyb879 = r.CheckBreak() + yyb932 = r.CheckBreak() } - if yyb879 { + if yyb932 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10354,13 +10696,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj879++ - if yyhl879 { - yyb879 = yyj879 > l + yyj932++ + if yyhl932 { + yyb932 = yyj932 > l } else { - yyb879 = r.CheckBreak() + yyb932 = r.CheckBreak() } - if yyb879 { + if yyb932 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10368,22 +10710,22 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv882 := &x.ListMeta - yym883 := z.DecBinary() - _ = yym883 + yyv935 := &x.ListMeta + yym936 := z.DecBinary() + _ = yym936 if false { - } else if z.HasExtensions() && z.DecExt(yyv882) { + } else if z.HasExtensions() && z.DecExt(yyv935) { } else { - z.DecFallback(yyv882, false) + z.DecFallback(yyv935, false) } } - yyj879++ - if yyhl879 { - yyb879 = yyj879 > l + yyj932++ + if yyhl932 { + yyb932 = yyj932 > l } else { - yyb879 = r.CheckBreak() + yyb932 = r.CheckBreak() } - if yyb879 { + if yyb932 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10391,26 +10733,26 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv884 := &x.Items - yym885 := z.DecBinary() - _ = yym885 + yyv937 := &x.Items + yym938 := z.DecBinary() + _ = yym938 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv884), d) + h.decSliceIngress((*[]Ingress)(yyv937), d) } } for { - yyj879++ - if yyhl879 { - yyb879 = yyj879 > l + yyj932++ + if yyhl932 { + yyb932 = yyj932 > l } else { - yyb879 = r.CheckBreak() + yyb932 = r.CheckBreak() } - if yyb879 { + if yyb932 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj879-1, "") + z.DecStructFieldNotFound(yyj932-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10422,34 +10764,34 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym886 := z.EncBinary() - _ = yym886 + yym939 := z.EncBinary() + _ = yym939 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep887 := !z.EncBinary() - yy2arr887 := z.EncBasicHandle().StructToArray - var yyq887 [2]bool - _, _, _ = yysep887, yyq887, yy2arr887 - const yyr887 bool = false - yyq887[0] = x.Backend != nil - yyq887[1] = len(x.Rules) != 0 - var yynn887 int - if yyr887 || yy2arr887 { + yysep940 := !z.EncBinary() + yy2arr940 := z.EncBasicHandle().StructToArray + var yyq940 [2]bool + _, _, _ = yysep940, yyq940, yy2arr940 + const yyr940 bool = false + yyq940[0] = x.Backend != nil + yyq940[1] = len(x.Rules) != 0 + var yynn940 int + if yyr940 || yy2arr940 { r.EncodeArrayStart(2) } else { - yynn887 = 0 - for _, b := range yyq887 { + yynn940 = 0 + for _, b := range yyq940 { if b { - yynn887++ + yynn940++ } } - r.EncodeMapStart(yynn887) - yynn887 = 0 + r.EncodeMapStart(yynn940) + yynn940 = 0 } - if yyr887 || yy2arr887 { + if yyr940 || yy2arr940 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq887[0] { + if yyq940[0] { if x.Backend == nil { r.EncodeNil() } else { @@ -10459,7 +10801,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq887[0] { + if yyq940[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -10470,14 +10812,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr887 || yy2arr887 { + if yyr940 || yy2arr940 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq887[1] { + if yyq940[1] { if x.Rules == nil { r.EncodeNil() } else { - yym890 := z.EncBinary() - _ = yym890 + yym943 := z.EncBinary() + _ = yym943 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -10487,15 +10829,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq887[1] { + if yyq940[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rules")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Rules == nil { r.EncodeNil() } else { - yym891 := z.EncBinary() - _ = yym891 + yym944 := z.EncBinary() + _ = yym944 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -10503,7 +10845,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr887 || yy2arr887 { + if yyr940 || yy2arr940 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10516,25 +10858,25 @@ func (x *IngressSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym892 := z.DecBinary() - _ = yym892 + yym945 := z.DecBinary() + _ = yym945 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct893 := r.ContainerType() - if yyct893 == codecSelferValueTypeMap1234 { - yyl893 := r.ReadMapStart() - if yyl893 == 0 { + yyct946 := r.ContainerType() + if yyct946 == codecSelferValueTypeMap1234 { + yyl946 := r.ReadMapStart() + if yyl946 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl893, d) + x.codecDecodeSelfFromMap(yyl946, d) } - } else if yyct893 == codecSelferValueTypeArray1234 { - yyl893 := r.ReadArrayStart() - if yyl893 == 0 { + } else if yyct946 == codecSelferValueTypeArray1234 { + yyl946 := r.ReadArrayStart() + if yyl946 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl893, d) + x.codecDecodeSelfFromArray(yyl946, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10546,12 +10888,12 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys894Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys894Slc - var yyhl894 bool = l >= 0 - for yyj894 := 0; ; yyj894++ { - if yyhl894 { - if yyj894 >= l { + var yys947Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys947Slc + var yyhl947 bool = l >= 0 + for yyj947 := 0; ; yyj947++ { + if yyhl947 { + if yyj947 >= l { break } } else { @@ -10560,10 +10902,10 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys894Slc = r.DecodeBytes(yys894Slc, true, true) - yys894 := string(yys894Slc) + yys947Slc = r.DecodeBytes(yys947Slc, true, true) + yys947 := string(yys947Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys894 { + switch yys947 { case "backend": if r.TryDecodeAsNil() { if x.Backend != nil { @@ -10579,18 +10921,18 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv896 := &x.Rules - yym897 := z.DecBinary() - _ = yym897 + yyv949 := &x.Rules + yym950 := z.DecBinary() + _ = yym950 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv896), d) + h.decSliceIngressRule((*[]IngressRule)(yyv949), d) } } default: - z.DecStructFieldNotFound(-1, yys894) - } // end switch yys894 - } // end for yyj894 + z.DecStructFieldNotFound(-1, yys947) + } // end switch yys947 + } // end for yyj947 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10598,16 +10940,16 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj898 int - var yyb898 bool - var yyhl898 bool = l >= 0 - yyj898++ - if yyhl898 { - yyb898 = yyj898 > l + var yyj951 int + var yyb951 bool + var yyhl951 bool = l >= 0 + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb898 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb898 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10622,13 +10964,13 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Backend.CodecDecodeSelf(d) } - yyj898++ - if yyhl898 { - yyb898 = yyj898 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb898 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb898 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10636,26 +10978,26 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv900 := &x.Rules - yym901 := z.DecBinary() - _ = yym901 + yyv953 := &x.Rules + yym954 := z.DecBinary() + _ = yym954 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv900), d) + h.decSliceIngressRule((*[]IngressRule)(yyv953), d) } } for { - yyj898++ - if yyhl898 { - yyb898 = yyj898 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb898 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb898 { + if yyb951 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj898-1, "") + z.DecStructFieldNotFound(yyj951-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10667,48 +11009,60 @@ func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym902 := z.EncBinary() - _ = yym902 + yym955 := z.EncBinary() + _ = yym955 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep903 := !z.EncBinary() - yy2arr903 := z.EncBasicHandle().StructToArray - var yyq903 [1]bool - _, _, _ = yysep903, yyq903, yy2arr903 - const yyr903 bool = false - yyq903[0] = true - var yynn903 int - if yyr903 || yy2arr903 { + yysep956 := !z.EncBinary() + yy2arr956 := z.EncBasicHandle().StructToArray + var yyq956 [1]bool + _, _, _ = yysep956, yyq956, yy2arr956 + const yyr956 bool = false + yyq956[0] = true + var yynn956 int + if yyr956 || yy2arr956 { r.EncodeArrayStart(1) } else { - yynn903 = 0 - for _, b := range yyq903 { + yynn956 = 0 + for _, b := range yyq956 { if b { - yynn903++ + yynn956++ } } - r.EncodeMapStart(yynn903) - yynn903 = 0 + r.EncodeMapStart(yynn956) + yynn956 = 0 } - if yyr903 || yy2arr903 { + if yyr956 || yy2arr956 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq903[0] { - yy905 := &x.LoadBalancer - yy905.CodecEncodeSelf(e) + if yyq956[0] { + yy958 := &x.LoadBalancer + yym959 := z.EncBinary() + _ = yym959 + if false { + } else if z.HasExtensions() && z.EncExt(yy958) { + } else { + z.EncFallback(yy958) + } } else { r.EncodeNil() } } else { - if yyq903[0] { + if yyq956[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy906 := &x.LoadBalancer - yy906.CodecEncodeSelf(e) + yy960 := &x.LoadBalancer + yym961 := z.EncBinary() + _ = yym961 + if false { + } else if z.HasExtensions() && z.EncExt(yy960) { + } else { + z.EncFallback(yy960) + } } } - if yyr903 || yy2arr903 { + if yyr956 || yy2arr956 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10721,25 +11075,25 @@ func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym907 := z.DecBinary() - _ = yym907 + yym962 := z.DecBinary() + _ = yym962 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct908 := r.ContainerType() - if yyct908 == codecSelferValueTypeMap1234 { - yyl908 := r.ReadMapStart() - if yyl908 == 0 { + yyct963 := r.ContainerType() + if yyct963 == codecSelferValueTypeMap1234 { + yyl963 := r.ReadMapStart() + if yyl963 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl908, d) + x.codecDecodeSelfFromMap(yyl963, d) } - } else if yyct908 == codecSelferValueTypeArray1234 { - yyl908 := r.ReadArrayStart() - if yyl908 == 0 { + } else if yyct963 == codecSelferValueTypeArray1234 { + yyl963 := r.ReadArrayStart() + if yyl963 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl908, d) + x.codecDecodeSelfFromArray(yyl963, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10751,12 +11105,12 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys909Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys909Slc - var yyhl909 bool = l >= 0 - for yyj909 := 0; ; yyj909++ { - if yyhl909 { - if yyj909 >= l { + var yys964Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys964Slc + var yyhl964 bool = l >= 0 + for yyj964 := 0; ; yyj964++ { + if yyhl964 { + if yyj964 >= l { break } } else { @@ -10765,21 +11119,27 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys909Slc = r.DecodeBytes(yys909Slc, true, true) - yys909 := string(yys909Slc) + yys964Slc = r.DecodeBytes(yys964Slc, true, true) + yys964 := string(yys964Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys909 { + switch yys964 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} } else { - yyv910 := &x.LoadBalancer - yyv910.CodecDecodeSelf(d) + yyv965 := &x.LoadBalancer + yym966 := z.DecBinary() + _ = yym966 + if false { + } else if z.HasExtensions() && z.DecExt(yyv965) { + } else { + z.DecFallback(yyv965, false) + } } default: - z.DecStructFieldNotFound(-1, yys909) - } // end switch yys909 - } // end for yyj909 + z.DecStructFieldNotFound(-1, yys964) + } // end switch yys964 + } // end for yyj964 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10787,16 +11147,16 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj911 int - var yyb911 bool - var yyhl911 bool = l >= 0 - yyj911++ - if yyhl911 { - yyb911 = yyj911 > l + var yyj967 int + var yyb967 bool + var yyhl967 bool = l >= 0 + yyj967++ + if yyhl967 { + yyb967 = yyj967 > l } else { - yyb911 = r.CheckBreak() + yyb967 = r.CheckBreak() } - if yyb911 { + if yyb967 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10804,21 +11164,27 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} } else { - yyv912 := &x.LoadBalancer - yyv912.CodecDecodeSelf(d) + yyv968 := &x.LoadBalancer + yym969 := z.DecBinary() + _ = yym969 + if false { + } else if z.HasExtensions() && z.DecExt(yyv968) { + } else { + z.DecFallback(yyv968, false) + } } for { - yyj911++ - if yyhl911 { - yyb911 = yyj911 > l + yyj967++ + if yyhl967 { + yyb967 = yyj967 > l } else { - yyb911 = r.CheckBreak() + yyb967 = r.CheckBreak() } - if yyb911 { + if yyb967 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj911-1, "") + z.DecStructFieldNotFound(yyj967-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10830,36 +11196,36 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym913 := z.EncBinary() - _ = yym913 + yym970 := z.EncBinary() + _ = yym970 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep914 := !z.EncBinary() - yy2arr914 := z.EncBasicHandle().StructToArray - var yyq914 [2]bool - _, _, _ = yysep914, yyq914, yy2arr914 - const yyr914 bool = false - yyq914[0] = x.Host != "" - yyq914[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil - var yynn914 int - if yyr914 || yy2arr914 { + yysep971 := !z.EncBinary() + yy2arr971 := z.EncBasicHandle().StructToArray + var yyq971 [2]bool + _, _, _ = yysep971, yyq971, yy2arr971 + const yyr971 bool = false + yyq971[0] = x.Host != "" + yyq971[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil + var yynn971 int + if yyr971 || yy2arr971 { r.EncodeArrayStart(2) } else { - yynn914 = 0 - for _, b := range yyq914 { + yynn971 = 0 + for _, b := range yyq971 { if b { - yynn914++ + yynn971++ } } - r.EncodeMapStart(yynn914) - yynn914 = 0 + r.EncodeMapStart(yynn971) + yynn971 = 0 } - if yyr914 || yy2arr914 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq914[0] { - yym916 := z.EncBinary() - _ = yym916 + if yyq971[0] { + yym973 := z.EncBinary() + _ = yym973 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -10868,30 +11234,30 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq914[0] { + if yyq971[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym917 := z.EncBinary() - _ = yym917 + yym974 := z.EncBinary() + _ = yym974 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - var yyn918 bool + var yyn975 bool if x.IngressRuleValue.HTTP == nil { - yyn918 = true - goto LABEL918 + yyn975 = true + goto LABEL975 } - LABEL918: - if yyr914 || yy2arr914 { - if yyn918 { + LABEL975: + if yyr971 || yy2arr971 { + if yyn975 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq914[1] { + if yyq971[1] { if x.HTTP == nil { r.EncodeNil() } else { @@ -10902,11 +11268,11 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq914[1] { + if yyq971[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn918 { + if yyn975 { r.EncodeNil() } else { if x.HTTP == nil { @@ -10917,7 +11283,7 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr914 || yy2arr914 { + if yyr971 || yy2arr971 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10930,25 +11296,25 @@ func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym919 := z.DecBinary() - _ = yym919 + yym976 := z.DecBinary() + _ = yym976 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct920 := r.ContainerType() - if yyct920 == codecSelferValueTypeMap1234 { - yyl920 := r.ReadMapStart() - if yyl920 == 0 { + yyct977 := r.ContainerType() + if yyct977 == codecSelferValueTypeMap1234 { + yyl977 := r.ReadMapStart() + if yyl977 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl920, d) + x.codecDecodeSelfFromMap(yyl977, d) } - } else if yyct920 == codecSelferValueTypeArray1234 { - yyl920 := r.ReadArrayStart() - if yyl920 == 0 { + } else if yyct977 == codecSelferValueTypeArray1234 { + yyl977 := r.ReadArrayStart() + if yyl977 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl920, d) + x.codecDecodeSelfFromArray(yyl977, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10960,12 +11326,12 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys921Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys921Slc - var yyhl921 bool = l >= 0 - for yyj921 := 0; ; yyj921++ { - if yyhl921 { - if yyj921 >= l { + var yys978Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys978Slc + var yyhl978 bool = l >= 0 + for yyj978 := 0; ; yyj978++ { + if yyhl978 { + if yyj978 >= l { break } } else { @@ -10974,10 +11340,10 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys921Slc = r.DecodeBytes(yys921Slc, true, true) - yys921 := string(yys921Slc) + yys978Slc = r.DecodeBytes(yys978Slc, true, true) + yys978 := string(yys978Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys921 { + switch yys978 { case "host": if r.TryDecodeAsNil() { x.Host = "" @@ -10999,804 +11365,13 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys921) - } // end switch yys921 - } // end for yyj921 + z.DecStructFieldNotFound(-1, yys978) + } // end switch yys978 + } // end for yyj978 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj924 int - var yyb924 bool - var yyhl924 bool = l >= 0 - yyj924++ - if yyhl924 { - yyb924 = yyj924 > l - } else { - yyb924 = r.CheckBreak() - } - if yyb924 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Host = "" - } else { - x.Host = string(r.DecodeString()) - } - if x.IngressRuleValue.HTTP == nil { - x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) - } - yyj924++ - if yyhl924 { - yyb924 = yyj924 > l - } else { - yyb924 = r.CheckBreak() - } - if yyb924 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } - } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) - } - x.HTTP.CodecDecodeSelf(d) - } - for { - yyj924++ - if yyhl924 { - yyb924 = yyj924 > l - } else { - yyb924 = r.CheckBreak() - } - if yyb924 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj924-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym927 := z.EncBinary() - _ = yym927 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep928 := !z.EncBinary() - yy2arr928 := z.EncBasicHandle().StructToArray - var yyq928 [1]bool - _, _, _ = yysep928, yyq928, yy2arr928 - const yyr928 bool = false - yyq928[0] = x.HTTP != nil - var yynn928 int - if yyr928 || yy2arr928 { - r.EncodeArrayStart(1) - } else { - yynn928 = 0 - for _, b := range yyq928 { - if b { - yynn928++ - } - } - r.EncodeMapStart(yynn928) - yynn928 = 0 - } - if yyr928 || yy2arr928 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq928[0] { - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq928[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("http")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } - } - if yyr928 || yy2arr928 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym930 := z.DecBinary() - _ = yym930 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct931 := r.ContainerType() - if yyct931 == codecSelferValueTypeMap1234 { - yyl931 := r.ReadMapStart() - if yyl931 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl931, d) - } - } else if yyct931 == codecSelferValueTypeArray1234 { - yyl931 := r.ReadArrayStart() - if yyl931 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl931, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys932Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys932Slc - var yyhl932 bool = l >= 0 - for yyj932 := 0; ; yyj932++ { - if yyhl932 { - if yyj932 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys932Slc = r.DecodeBytes(yys932Slc, true, true) - yys932 := string(yys932Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys932 { - case "http": - if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } - } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) - } - x.HTTP.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys932) - } // end switch yys932 - } // end for yyj932 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj934 int - var yyb934 bool - var yyhl934 bool = l >= 0 - yyj934++ - if yyhl934 { - yyb934 = yyj934 > l - } else { - yyb934 = r.CheckBreak() - } - if yyb934 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } - } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) - } - x.HTTP.CodecDecodeSelf(d) - } - for { - yyj934++ - if yyhl934 { - yyb934 = yyj934 > l - } else { - yyb934 = r.CheckBreak() - } - if yyb934 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj934-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym936 := z.EncBinary() - _ = yym936 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep937 := !z.EncBinary() - yy2arr937 := z.EncBasicHandle().StructToArray - var yyq937 [1]bool - _, _, _ = yysep937, yyq937, yy2arr937 - const yyr937 bool = false - var yynn937 int - if yyr937 || yy2arr937 { - r.EncodeArrayStart(1) - } else { - yynn937 = 1 - for _, b := range yyq937 { - if b { - yynn937++ - } - } - r.EncodeMapStart(yynn937) - yynn937 = 0 - } - if yyr937 || yy2arr937 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Paths == nil { - r.EncodeNil() - } else { - yym939 := z.EncBinary() - _ = yym939 - if false { - } else { - h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("paths")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Paths == nil { - r.EncodeNil() - } else { - yym940 := z.EncBinary() - _ = yym940 - if false { - } else { - h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) - } - } - } - if yyr937 || yy2arr937 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym941 := z.DecBinary() - _ = yym941 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct942 := r.ContainerType() - if yyct942 == codecSelferValueTypeMap1234 { - yyl942 := r.ReadMapStart() - if yyl942 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl942, d) - } - } else if yyct942 == codecSelferValueTypeArray1234 { - yyl942 := r.ReadArrayStart() - if yyl942 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl942, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys943Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys943Slc - var yyhl943 bool = l >= 0 - for yyj943 := 0; ; yyj943++ { - if yyhl943 { - if yyj943 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys943Slc = r.DecodeBytes(yys943Slc, true, true) - yys943 := string(yys943Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys943 { - case "paths": - if r.TryDecodeAsNil() { - x.Paths = nil - } else { - yyv944 := &x.Paths - yym945 := z.DecBinary() - _ = yym945 - if false { - } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv944), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys943) - } // end switch yys943 - } // end for yyj943 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj946 int - var yyb946 bool - var yyhl946 bool = l >= 0 - yyj946++ - if yyhl946 { - yyb946 = yyj946 > l - } else { - yyb946 = r.CheckBreak() - } - if yyb946 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Paths = nil - } else { - yyv947 := &x.Paths - yym948 := z.DecBinary() - _ = yym948 - if false { - } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv947), d) - } - } - for { - yyj946++ - if yyhl946 { - yyb946 = yyj946 > l - } else { - yyb946 = r.CheckBreak() - } - if yyb946 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj946-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym949 := z.EncBinary() - _ = yym949 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep950 := !z.EncBinary() - yy2arr950 := z.EncBasicHandle().StructToArray - var yyq950 [2]bool - _, _, _ = yysep950, yyq950, yy2arr950 - const yyr950 bool = false - yyq950[0] = x.Path != "" - var yynn950 int - if yyr950 || yy2arr950 { - r.EncodeArrayStart(2) - } else { - yynn950 = 1 - for _, b := range yyq950 { - if b { - yynn950++ - } - } - r.EncodeMapStart(yynn950) - yynn950 = 0 - } - if yyr950 || yy2arr950 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq950[0] { - yym952 := z.EncBinary() - _ = yym952 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq950[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("path")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym953 := z.EncBinary() - _ = yym953 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } - } - if yyr950 || yy2arr950 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy955 := &x.Backend - yy955.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("backend")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy956 := &x.Backend - yy956.CodecEncodeSelf(e) - } - if yyr950 || yy2arr950 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym957 := z.DecBinary() - _ = yym957 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct958 := r.ContainerType() - if yyct958 == codecSelferValueTypeMap1234 { - yyl958 := r.ReadMapStart() - if yyl958 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl958, d) - } - } else if yyct958 == codecSelferValueTypeArray1234 { - yyl958 := r.ReadArrayStart() - if yyl958 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl958, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys959Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys959Slc - var yyhl959 bool = l >= 0 - for yyj959 := 0; ; yyj959++ { - if yyhl959 { - if yyj959 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys959Slc = r.DecodeBytes(yys959Slc, true, true) - yys959 := string(yys959Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys959 { - case "path": - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - case "backend": - if r.TryDecodeAsNil() { - x.Backend = IngressBackend{} - } else { - yyv961 := &x.Backend - yyv961.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys959) - } // end switch yys959 - } // end for yyj959 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj962 int - var yyb962 bool - var yyhl962 bool = l >= 0 - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l - } else { - yyb962 = r.CheckBreak() - } - if yyb962 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l - } else { - yyb962 = r.CheckBreak() - } - if yyb962 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Backend = IngressBackend{} - } else { - yyv964 := &x.Backend - yyv964.CodecDecodeSelf(d) - } - for { - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l - } else { - yyb962 = r.CheckBreak() - } - if yyb962 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj962-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym965 := z.EncBinary() - _ = yym965 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep966 := !z.EncBinary() - yy2arr966 := z.EncBasicHandle().StructToArray - var yyq966 [2]bool - _, _, _ = yysep966, yyq966, yy2arr966 - const yyr966 bool = false - var yynn966 int - if yyr966 || yy2arr966 { - r.EncodeArrayStart(2) - } else { - yynn966 = 2 - for _, b := range yyq966 { - if b { - yynn966++ - } - } - r.EncodeMapStart(yynn966) - yynn966 = 0 - } - if yyr966 || yy2arr966 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym968 := z.EncBinary() - _ = yym968 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("serviceName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym969 := z.EncBinary() - _ = yym969 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) - } - } - if yyr966 || yy2arr966 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy971 := &x.ServicePort - yym972 := z.EncBinary() - _ = yym972 - if false { - } else if z.HasExtensions() && z.EncExt(yy971) { - } else if !yym972 && z.IsJSONHandle() { - z.EncJSONMarshal(yy971) - } else { - z.EncFallback(yy971) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("servicePort")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy973 := &x.ServicePort - yym974 := z.EncBinary() - _ = yym974 - if false { - } else if z.HasExtensions() && z.EncExt(yy973) { - } else if !yym974 && z.IsJSONHandle() { - z.EncJSONMarshal(yy973) - } else { - z.EncFallback(yy973) - } - } - if yyr966 || yy2arr966 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym975 := z.DecBinary() - _ = yym975 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct976 := r.ContainerType() - if yyct976 == codecSelferValueTypeMap1234 { - yyl976 := r.ReadMapStart() - if yyl976 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl976, d) - } - } else if yyct976 == codecSelferValueTypeArray1234 { - yyl976 := r.ReadArrayStart() - if yyl976 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl976, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys977Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys977Slc - var yyhl977 bool = l >= 0 - for yyj977 := 0; ; yyj977++ { - if yyhl977 { - if yyj977 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys977Slc = r.DecodeBytes(yys977Slc, true, true) - yys977 := string(yys977Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys977 { - case "serviceName": - if r.TryDecodeAsNil() { - x.ServiceName = "" - } else { - x.ServiceName = string(r.DecodeString()) - } - case "servicePort": - if r.TryDecodeAsNil() { - x.ServicePort = pkg6_intstr.IntOrString{} - } else { - yyv979 := &x.ServicePort - yym980 := z.DecBinary() - _ = yym980 - if false { - } else if z.HasExtensions() && z.DecExt(yyv979) { - } else if !yym980 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv979) - } else { - z.DecFallback(yyv979, false) - } - } - default: - z.DecStructFieldNotFound(-1, yys977) - } // end switch yys977 - } // end for yyj977 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -11815,9 +11390,12 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ServiceName = "" + x.Host = "" } else { - x.ServiceName = string(r.DecodeString()) + x.Host = string(r.DecodeString()) + } + if x.IngressRuleValue.HTTP == nil { + x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) } yyj981++ if yyhl981 { @@ -11831,18 +11409,14 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ServicePort = pkg6_intstr.IntOrString{} - } else { - yyv983 := &x.ServicePort - yym984 := z.DecBinary() - _ = yym984 - if false { - } else if z.HasExtensions() && z.DecExt(yyv983) { - } else if !yym984 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv983) - } else { - z.DecFallback(yyv983, false) + if x.HTTP != nil { + x.HTTP = nil } + } else { + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) } for { yyj981++ @@ -11860,91 +11434,61 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x NodeResource) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym985 := z.EncBinary() - _ = yym985 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *NodeResource) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym986 := z.DecBinary() - _ = yym986 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *NodeUtilization) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym987 := z.EncBinary() - _ = yym987 + yym984 := z.EncBinary() + _ = yym984 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep988 := !z.EncBinary() - yy2arr988 := z.EncBasicHandle().StructToArray - var yyq988 [2]bool - _, _, _ = yysep988, yyq988, yy2arr988 - const yyr988 bool = false - var yynn988 int - if yyr988 || yy2arr988 { - r.EncodeArrayStart(2) + yysep985 := !z.EncBinary() + yy2arr985 := z.EncBasicHandle().StructToArray + var yyq985 [1]bool + _, _, _ = yysep985, yyq985, yy2arr985 + const yyr985 bool = false + yyq985[0] = x.HTTP != nil + var yynn985 int + if yyr985 || yy2arr985 { + r.EncodeArrayStart(1) } else { - yynn988 = 2 - for _, b := range yyq988 { + yynn985 = 0 + for _, b := range yyq985 { if b { - yynn988++ + yynn985++ } } - r.EncodeMapStart(yynn988) - yynn988 = 0 + r.EncodeMapStart(yynn985) + yynn985 = 0 } - if yyr988 || yy2arr988 { + if yyr985 || yy2arr985 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Resource.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resource")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Resource.CodecEncodeSelf(e) - } - if yyr988 || yy2arr988 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym991 := z.EncBinary() - _ = yym991 - if false { + if yyq985[0] { + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } } else { - r.EncodeFloat64(float64(x.Value)) + r.EncodeNil() } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("value")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym992 := z.EncBinary() - _ = yym992 - if false { - } else { - r.EncodeFloat64(float64(x.Value)) + if yyq985[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("http")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } } } - if yyr988 || yy2arr988 { + if yyr985 || yy2arr985 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11953,29 +11497,29 @@ func (x *NodeUtilization) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *NodeUtilization) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym993 := z.DecBinary() - _ = yym993 + yym987 := z.DecBinary() + _ = yym987 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct994 := r.ContainerType() - if yyct994 == codecSelferValueTypeMap1234 { - yyl994 := r.ReadMapStart() - if yyl994 == 0 { + yyct988 := r.ContainerType() + if yyct988 == codecSelferValueTypeMap1234 { + yyl988 := r.ReadMapStart() + if yyl988 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl994, d) + x.codecDecodeSelfFromMap(yyl988, d) } - } else if yyct994 == codecSelferValueTypeArray1234 { - yyl994 := r.ReadArrayStart() - if yyl994 == 0 { + } else if yyct988 == codecSelferValueTypeArray1234 { + yyl988 := r.ReadArrayStart() + if yyl988 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl994, d) + x.codecDecodeSelfFromArray(yyl988, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11983,16 +11527,16 @@ func (x *NodeUtilization) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *NodeUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys995Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys995Slc - var yyhl995 bool = l >= 0 - for yyj995 := 0; ; yyj995++ { - if yyhl995 { - if yyj995 >= l { + var yys989Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys989Slc + var yyhl989 bool = l >= 0 + for yyj989 := 0; ; yyj989++ { + if yyhl989 { + if yyj989 >= l { break } } else { @@ -12001,180 +11545,130 @@ func (x *NodeUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys995Slc = r.DecodeBytes(yys995Slc, true, true) - yys995 := string(yys995Slc) + yys989Slc = r.DecodeBytes(yys989Slc, true, true) + yys989 := string(yys989Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys995 { - case "resource": + switch yys989 { + case "http": if r.TryDecodeAsNil() { - x.Resource = "" + if x.HTTP != nil { + x.HTTP = nil + } } else { - x.Resource = NodeResource(r.DecodeString()) - } - case "value": - if r.TryDecodeAsNil() { - x.Value = 0 - } else { - x.Value = float64(r.DecodeFloat(false)) + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys995) - } // end switch yys995 - } // end for yyj995 + z.DecStructFieldNotFound(-1, yys989) + } // end switch yys989 + } // end for yyj989 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *NodeUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj998 int - var yyb998 bool - var yyhl998 bool = l >= 0 - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + var yyj991 int + var yyb991 bool + var yyhl991 bool = l >= 0 + yyj991++ + if yyhl991 { + yyb991 = yyj991 > l } else { - yyb998 = r.CheckBreak() + yyb991 = r.CheckBreak() } - if yyb998 { + if yyb991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Resource = "" + if x.HTTP != nil { + x.HTTP = nil + } } else { - x.Resource = NodeResource(r.DecodeString()) - } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l - } else { - yyb998 = r.CheckBreak() - } - if yyb998 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Value = 0 - } else { - x.Value = float64(r.DecodeFloat(false)) + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) } for { - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj991++ + if yyhl991 { + yyb991 = yyj991 > l } else { - yyb998 = r.CheckBreak() + yyb991 = r.CheckBreak() } - if yyb998 { + if yyb991 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj998-1, "") + z.DecStructFieldNotFound(yyj991-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ClusterAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym1001 := z.EncBinary() - _ = yym1001 + yym993 := z.EncBinary() + _ = yym993 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1002 := !z.EncBinary() - yy2arr1002 := z.EncBasicHandle().StructToArray - var yyq1002 [3]bool - _, _, _ = yysep1002, yyq1002, yy2arr1002 - const yyr1002 bool = false - var yynn1002 int - if yyr1002 || yy2arr1002 { - r.EncodeArrayStart(3) + yysep994 := !z.EncBinary() + yy2arr994 := z.EncBasicHandle().StructToArray + var yyq994 [1]bool + _, _, _ = yysep994, yyq994, yy2arr994 + const yyr994 bool = false + var yynn994 int + if yyr994 || yy2arr994 { + r.EncodeArrayStart(1) } else { - yynn1002 = 3 - for _, b := range yyq1002 { + yynn994 = 1 + for _, b := range yyq994 { if b { - yynn1002++ + yynn994++ } } - r.EncodeMapStart(yynn1002) - yynn1002 = 0 + r.EncodeMapStart(yynn994) + yynn994 = 0 } - if yyr1002 || yy2arr1002 { + if yyr994 || yy2arr994 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1004 := z.EncBinary() - _ = yym1004 - if false { - } else { - r.EncodeInt(int64(x.MinNodes)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("minNodes")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1005 := z.EncBinary() - _ = yym1005 - if false { - } else { - r.EncodeInt(int64(x.MinNodes)) - } - } - if yyr1002 || yy2arr1002 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1007 := z.EncBinary() - _ = yym1007 - if false { - } else { - r.EncodeInt(int64(x.MaxNodes)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxNodes")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1008 := z.EncBinary() - _ = yym1008 - if false { - } else { - r.EncodeInt(int64(x.MaxNodes)) - } - } - if yyr1002 || yy2arr1002 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.TargetUtilization == nil { + if x.Paths == nil { r.EncodeNil() } else { - yym1010 := z.EncBinary() - _ = yym1010 + yym996 := z.EncBinary() + _ = yym996 if false { } else { - h.encSliceNodeUtilization(([]NodeUtilization)(x.TargetUtilization), e) + h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) } } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("target")) + r.EncodeString(codecSelferC_UTF81234, string("paths")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.TargetUtilization == nil { + if x.Paths == nil { r.EncodeNil() } else { - yym1011 := z.EncBinary() - _ = yym1011 + yym997 := z.EncBinary() + _ = yym997 if false { } else { - h.encSliceNodeUtilization(([]NodeUtilization)(x.TargetUtilization), e) + h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) } } } - if yyr1002 || yy2arr1002 { + if yyr994 || yy2arr994 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12183,29 +11677,29 @@ func (x *ClusterAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ClusterAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1012 := z.DecBinary() - _ = yym1012 + yym998 := z.DecBinary() + _ = yym998 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1013 := r.ContainerType() - if yyct1013 == codecSelferValueTypeMap1234 { - yyl1013 := r.ReadMapStart() - if yyl1013 == 0 { + yyct999 := r.ContainerType() + if yyct999 == codecSelferValueTypeMap1234 { + yyl999 := r.ReadMapStart() + if yyl999 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1013, d) + x.codecDecodeSelfFromMap(yyl999, d) } - } else if yyct1013 == codecSelferValueTypeArray1234 { - yyl1013 := r.ReadArrayStart() - if yyl1013 == 0 { + } else if yyct999 == codecSelferValueTypeArray1234 { + yyl999 := r.ReadArrayStart() + if yyl999 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1013, d) + x.codecDecodeSelfFromArray(yyl999, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12213,16 +11707,16 @@ func (x *ClusterAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ClusterAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1014Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1014Slc - var yyhl1014 bool = l >= 0 - for yyj1014 := 0; ; yyj1014++ { - if yyhl1014 { - if yyj1014 >= l { + var yys1000Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1000Slc + var yyhl1000 bool = l >= 0 + for yyj1000 := 0; ; yyj1000++ { + if yyhl1000 { + if yyj1000 >= l { break } } else { @@ -12231,42 +11725,223 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1014Slc = r.DecodeBytes(yys1014Slc, true, true) - yys1014 := string(yys1014Slc) + yys1000Slc = r.DecodeBytes(yys1000Slc, true, true) + yys1000 := string(yys1000Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1014 { - case "minNodes": + switch yys1000 { + case "paths": if r.TryDecodeAsNil() { - x.MinNodes = 0 + x.Paths = nil } else { - x.MinNodes = int32(r.DecodeInt(32)) - } - case "maxNodes": - if r.TryDecodeAsNil() { - x.MaxNodes = 0 - } else { - x.MaxNodes = int32(r.DecodeInt(32)) - } - case "target": - if r.TryDecodeAsNil() { - x.TargetUtilization = nil - } else { - yyv1017 := &x.TargetUtilization - yym1018 := z.DecBinary() - _ = yym1018 + yyv1001 := &x.Paths + yym1002 := z.DecBinary() + _ = yym1002 if false { } else { - h.decSliceNodeUtilization((*[]NodeUtilization)(yyv1017), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1001), d) } } default: - z.DecStructFieldNotFound(-1, yys1014) - } // end switch yys1014 - } // end for yyj1014 + z.DecStructFieldNotFound(-1, yys1000) + } // end switch yys1000 + } // end for yyj1000 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1003 int + var yyb1003 bool + var yyhl1003 bool = l >= 0 + yyj1003++ + if yyhl1003 { + yyb1003 = yyj1003 > l + } else { + yyb1003 = r.CheckBreak() + } + if yyb1003 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Paths = nil + } else { + yyv1004 := &x.Paths + yym1005 := z.DecBinary() + _ = yym1005 + if false { + } else { + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1004), d) + } + } + for { + yyj1003++ + if yyhl1003 { + yyb1003 = yyj1003 > l + } else { + yyb1003 = r.CheckBreak() + } + if yyb1003 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1003-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1006 := z.EncBinary() + _ = yym1006 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1007 := !z.EncBinary() + yy2arr1007 := z.EncBasicHandle().StructToArray + var yyq1007 [2]bool + _, _, _ = yysep1007, yyq1007, yy2arr1007 + const yyr1007 bool = false + yyq1007[0] = x.Path != "" + var yynn1007 int + if yyr1007 || yy2arr1007 { + r.EncodeArrayStart(2) + } else { + yynn1007 = 1 + for _, b := range yyq1007 { + if b { + yynn1007++ + } + } + r.EncodeMapStart(yynn1007) + yynn1007 = 0 + } + if yyr1007 || yy2arr1007 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1007[0] { + yym1009 := z.EncBinary() + _ = yym1009 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1007[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("path")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1010 := z.EncBinary() + _ = yym1010 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } + } + if yyr1007 || yy2arr1007 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1012 := &x.Backend + yy1012.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("backend")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1013 := &x.Backend + yy1013.CodecEncodeSelf(e) + } + if yyr1007 || yy2arr1007 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1014 := z.DecBinary() + _ = yym1014 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1015 := r.ContainerType() + if yyct1015 == codecSelferValueTypeMap1234 { + yyl1015 := r.ReadMapStart() + if yyl1015 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1015, d) + } + } else if yyct1015 == codecSelferValueTypeArray1234 { + yyl1015 := r.ReadArrayStart() + if yyl1015 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1015, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1016Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1016Slc + var yyhl1016 bool = l >= 0 + for yyj1016 := 0; ; yyj1016++ { + if yyhl1016 { + if yyj1016 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1016Slc = r.DecodeBytes(yys1016Slc, true, true) + yys1016 := string(yys1016Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1016 { + case "path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } + case "backend": + if r.TryDecodeAsNil() { + x.Backend = IngressBackend{} + } else { + yyv1018 := &x.Backend + yyv1018.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys1016) + } // end switch yys1016 + } // end for yyj1016 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -12285,9 +11960,9 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.MinNodes = 0 + x.Path = "" } else { - x.MinNodes = int32(r.DecodeInt(32)) + x.Path = string(r.DecodeString()) } yyj1019++ if yyhl1019 { @@ -12301,31 +11976,10 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.MaxNodes = 0 + x.Backend = IngressBackend{} } else { - x.MaxNodes = int32(r.DecodeInt(32)) - } - yyj1019++ - if yyhl1019 { - yyb1019 = yyj1019 > l - } else { - yyb1019 = r.CheckBreak() - } - if yyb1019 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TargetUtilization = nil - } else { - yyv1022 := &x.TargetUtilization - yym1023 := z.DecBinary() - _ = yym1023 - if false { - } else { - h.decSliceNodeUtilization((*[]NodeUtilization)(yyv1022), d) - } + yyv1021 := &x.Backend + yyv1021.CodecDecodeSelf(d) } for { yyj1019++ @@ -12343,6 +11997,718 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1022 := z.EncBinary() + _ = yym1022 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1023 := !z.EncBinary() + yy2arr1023 := z.EncBasicHandle().StructToArray + var yyq1023 [2]bool + _, _, _ = yysep1023, yyq1023, yy2arr1023 + const yyr1023 bool = false + var yynn1023 int + if yyr1023 || yy2arr1023 { + r.EncodeArrayStart(2) + } else { + yynn1023 = 2 + for _, b := range yyq1023 { + if b { + yynn1023++ + } + } + r.EncodeMapStart(yynn1023) + yynn1023 = 0 + } + if yyr1023 || yy2arr1023 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1025 := z.EncBinary() + _ = yym1025 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("serviceName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1026 := z.EncBinary() + _ = yym1026 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) + } + } + if yyr1023 || yy2arr1023 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1028 := &x.ServicePort + yym1029 := z.EncBinary() + _ = yym1029 + if false { + } else if z.HasExtensions() && z.EncExt(yy1028) { + } else if !yym1029 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1028) + } else { + z.EncFallback(yy1028) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("servicePort")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1030 := &x.ServicePort + yym1031 := z.EncBinary() + _ = yym1031 + if false { + } else if z.HasExtensions() && z.EncExt(yy1030) { + } else if !yym1031 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1030) + } else { + z.EncFallback(yy1030) + } + } + if yyr1023 || yy2arr1023 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1032 := z.DecBinary() + _ = yym1032 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1033 := r.ContainerType() + if yyct1033 == codecSelferValueTypeMap1234 { + yyl1033 := r.ReadMapStart() + if yyl1033 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1033, d) + } + } else if yyct1033 == codecSelferValueTypeArray1234 { + yyl1033 := r.ReadArrayStart() + if yyl1033 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1033, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1034Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1034Slc + var yyhl1034 bool = l >= 0 + for yyj1034 := 0; ; yyj1034++ { + if yyhl1034 { + if yyj1034 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1034Slc = r.DecodeBytes(yys1034Slc, true, true) + yys1034 := string(yys1034Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1034 { + case "serviceName": + if r.TryDecodeAsNil() { + x.ServiceName = "" + } else { + x.ServiceName = string(r.DecodeString()) + } + case "servicePort": + if r.TryDecodeAsNil() { + x.ServicePort = pkg6_intstr.IntOrString{} + } else { + yyv1036 := &x.ServicePort + yym1037 := z.DecBinary() + _ = yym1037 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1036) { + } else if !yym1037 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1036) + } else { + z.DecFallback(yyv1036, false) + } + } + default: + z.DecStructFieldNotFound(-1, yys1034) + } // end switch yys1034 + } // end for yyj1034 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1038 int + var yyb1038 bool + var yyhl1038 bool = l >= 0 + yyj1038++ + if yyhl1038 { + yyb1038 = yyj1038 > l + } else { + yyb1038 = r.CheckBreak() + } + if yyb1038 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ServiceName = "" + } else { + x.ServiceName = string(r.DecodeString()) + } + yyj1038++ + if yyhl1038 { + yyb1038 = yyj1038 > l + } else { + yyb1038 = r.CheckBreak() + } + if yyb1038 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ServicePort = pkg6_intstr.IntOrString{} + } else { + yyv1040 := &x.ServicePort + yym1041 := z.DecBinary() + _ = yym1041 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1040) { + } else if !yym1041 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1040) + } else { + z.DecFallback(yyv1040, false) + } + } + for { + yyj1038++ + if yyhl1038 { + yyb1038 = yyj1038 > l + } else { + yyb1038 = r.CheckBreak() + } + if yyb1038 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1038-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x NodeResource) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym1042 := z.EncBinary() + _ = yym1042 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *NodeResource) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1043 := z.DecBinary() + _ = yym1043 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *NodeUtilization) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1044 := z.EncBinary() + _ = yym1044 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1045 := !z.EncBinary() + yy2arr1045 := z.EncBasicHandle().StructToArray + var yyq1045 [2]bool + _, _, _ = yysep1045, yyq1045, yy2arr1045 + const yyr1045 bool = false + var yynn1045 int + if yyr1045 || yy2arr1045 { + r.EncodeArrayStart(2) + } else { + yynn1045 = 2 + for _, b := range yyq1045 { + if b { + yynn1045++ + } + } + r.EncodeMapStart(yynn1045) + yynn1045 = 0 + } + if yyr1045 || yy2arr1045 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Resource.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("resource")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Resource.CodecEncodeSelf(e) + } + if yyr1045 || yy2arr1045 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1048 := z.EncBinary() + _ = yym1048 + if false { + } else { + r.EncodeFloat64(float64(x.Value)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("value")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1049 := z.EncBinary() + _ = yym1049 + if false { + } else { + r.EncodeFloat64(float64(x.Value)) + } + } + if yyr1045 || yy2arr1045 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NodeUtilization) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1050 := z.DecBinary() + _ = yym1050 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1051 := r.ContainerType() + if yyct1051 == codecSelferValueTypeMap1234 { + yyl1051 := r.ReadMapStart() + if yyl1051 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1051, d) + } + } else if yyct1051 == codecSelferValueTypeArray1234 { + yyl1051 := r.ReadArrayStart() + if yyl1051 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1051, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NodeUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1052Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1052Slc + var yyhl1052 bool = l >= 0 + for yyj1052 := 0; ; yyj1052++ { + if yyhl1052 { + if yyj1052 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1052Slc = r.DecodeBytes(yys1052Slc, true, true) + yys1052 := string(yys1052Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1052 { + case "resource": + if r.TryDecodeAsNil() { + x.Resource = "" + } else { + x.Resource = NodeResource(r.DecodeString()) + } + case "value": + if r.TryDecodeAsNil() { + x.Value = 0 + } else { + x.Value = float64(r.DecodeFloat(false)) + } + default: + z.DecStructFieldNotFound(-1, yys1052) + } // end switch yys1052 + } // end for yyj1052 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *NodeUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb1055 = r.CheckBreak() + } + if yyb1055 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Resource = "" + } else { + x.Resource = NodeResource(r.DecodeString()) + } + 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.Value = 0 + } else { + x.Value = float64(r.DecodeFloat(false)) + } + for { + yyj1055++ + if yyhl1055 { + yyb1055 = yyj1055 > l + } else { + yyb1055 = r.CheckBreak() + } + if yyb1055 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1055-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ClusterAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1058 := z.EncBinary() + _ = yym1058 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1059 := !z.EncBinary() + yy2arr1059 := z.EncBasicHandle().StructToArray + var yyq1059 [3]bool + _, _, _ = yysep1059, yyq1059, yy2arr1059 + const yyr1059 bool = false + var yynn1059 int + if yyr1059 || yy2arr1059 { + r.EncodeArrayStart(3) + } else { + yynn1059 = 3 + for _, b := range yyq1059 { + if b { + yynn1059++ + } + } + r.EncodeMapStart(yynn1059) + yynn1059 = 0 + } + if yyr1059 || yy2arr1059 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1061 := z.EncBinary() + _ = yym1061 + if false { + } else { + r.EncodeInt(int64(x.MinNodes)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("minNodes")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1062 := z.EncBinary() + _ = yym1062 + if false { + } else { + r.EncodeInt(int64(x.MinNodes)) + } + } + if yyr1059 || yy2arr1059 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1064 := z.EncBinary() + _ = yym1064 + if false { + } else { + r.EncodeInt(int64(x.MaxNodes)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("maxNodes")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1065 := z.EncBinary() + _ = yym1065 + if false { + } else { + r.EncodeInt(int64(x.MaxNodes)) + } + } + if yyr1059 || yy2arr1059 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.TargetUtilization == nil { + r.EncodeNil() + } else { + yym1067 := z.EncBinary() + _ = yym1067 + if false { + } else { + h.encSliceNodeUtilization(([]NodeUtilization)(x.TargetUtilization), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("target")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.TargetUtilization == nil { + r.EncodeNil() + } else { + yym1068 := z.EncBinary() + _ = yym1068 + if false { + } else { + h.encSliceNodeUtilization(([]NodeUtilization)(x.TargetUtilization), e) + } + } + } + if yyr1059 || yy2arr1059 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ClusterAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1069 := z.DecBinary() + _ = yym1069 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1070 := r.ContainerType() + if yyct1070 == codecSelferValueTypeMap1234 { + yyl1070 := r.ReadMapStart() + if yyl1070 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1070, d) + } + } else if yyct1070 == codecSelferValueTypeArray1234 { + yyl1070 := r.ReadArrayStart() + if yyl1070 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1070, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ClusterAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1071Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1071Slc + var yyhl1071 bool = l >= 0 + for yyj1071 := 0; ; yyj1071++ { + if yyhl1071 { + if yyj1071 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1071Slc = r.DecodeBytes(yys1071Slc, true, true) + yys1071 := string(yys1071Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1071 { + case "minNodes": + if r.TryDecodeAsNil() { + x.MinNodes = 0 + } else { + x.MinNodes = int32(r.DecodeInt(32)) + } + case "maxNodes": + if r.TryDecodeAsNil() { + x.MaxNodes = 0 + } else { + x.MaxNodes = int32(r.DecodeInt(32)) + } + case "target": + if r.TryDecodeAsNil() { + x.TargetUtilization = nil + } else { + yyv1074 := &x.TargetUtilization + yym1075 := z.DecBinary() + _ = yym1075 + if false { + } else { + h.decSliceNodeUtilization((*[]NodeUtilization)(yyv1074), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1071) + } // end switch yys1071 + } // end for yyj1071 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1076 int + var yyb1076 bool + var yyhl1076 bool = l >= 0 + yyj1076++ + if yyhl1076 { + yyb1076 = yyj1076 > l + } else { + yyb1076 = r.CheckBreak() + } + if yyb1076 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MinNodes = 0 + } else { + x.MinNodes = int32(r.DecodeInt(32)) + } + yyj1076++ + if yyhl1076 { + yyb1076 = yyj1076 > l + } else { + yyb1076 = r.CheckBreak() + } + if yyb1076 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxNodes = 0 + } else { + x.MaxNodes = int32(r.DecodeInt(32)) + } + yyj1076++ + if yyhl1076 { + yyb1076 = yyj1076 > l + } else { + yyb1076 = r.CheckBreak() + } + if yyb1076 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TargetUtilization = nil + } else { + yyv1079 := &x.TargetUtilization + yym1080 := z.DecBinary() + _ = yym1080 + if false { + } else { + h.decSliceNodeUtilization((*[]NodeUtilization)(yyv1079), d) + } + } + for { + yyj1076++ + if yyhl1076 { + yyb1076 = yyj1076 > l + } else { + yyb1076 = r.CheckBreak() + } + if yyb1076 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1076-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *ClusterAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -12350,38 +12716,38 @@ func (x *ClusterAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1024 := z.EncBinary() - _ = yym1024 + yym1081 := z.EncBinary() + _ = yym1081 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1025 := !z.EncBinary() - yy2arr1025 := z.EncBasicHandle().StructToArray - var yyq1025 [4]bool - _, _, _ = yysep1025, yyq1025, yy2arr1025 - const yyr1025 bool = false - yyq1025[0] = x.Kind != "" - yyq1025[1] = x.APIVersion != "" - yyq1025[2] = true - yyq1025[3] = true - var yynn1025 int - if yyr1025 || yy2arr1025 { + yysep1082 := !z.EncBinary() + yy2arr1082 := z.EncBasicHandle().StructToArray + var yyq1082 [4]bool + _, _, _ = yysep1082, yyq1082, yy2arr1082 + const yyr1082 bool = false + yyq1082[0] = x.Kind != "" + yyq1082[1] = x.APIVersion != "" + yyq1082[2] = true + yyq1082[3] = true + var yynn1082 int + if yyr1082 || yy2arr1082 { r.EncodeArrayStart(4) } else { - yynn1025 = 0 - for _, b := range yyq1025 { + yynn1082 = 0 + for _, b := range yyq1082 { if b { - yynn1025++ + yynn1082++ } } - r.EncodeMapStart(yynn1025) - yynn1025 = 0 + r.EncodeMapStart(yynn1082) + yynn1082 = 0 } - if yyr1025 || yy2arr1025 { + if yyr1082 || yy2arr1082 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1025[0] { - yym1027 := z.EncBinary() - _ = yym1027 + if yyq1082[0] { + yym1084 := z.EncBinary() + _ = yym1084 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -12390,23 +12756,23 @@ func (x *ClusterAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1025[0] { + if yyq1082[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1028 := z.EncBinary() - _ = yym1028 + yym1085 := z.EncBinary() + _ = yym1085 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1025 || yy2arr1025 { + if yyr1082 || yy2arr1082 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1025[1] { - yym1030 := z.EncBinary() - _ = yym1030 + if yyq1082[1] { + yym1087 := z.EncBinary() + _ = yym1087 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -12415,53 +12781,65 @@ func (x *ClusterAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1025[1] { + if yyq1082[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1031 := z.EncBinary() - _ = yym1031 + yym1088 := z.EncBinary() + _ = yym1088 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1025 || yy2arr1025 { + if yyr1082 || yy2arr1082 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1025[2] { - yy1033 := &x.ObjectMeta - yy1033.CodecEncodeSelf(e) + if yyq1082[2] { + yy1090 := &x.ObjectMeta + yym1091 := z.EncBinary() + _ = yym1091 + if false { + } else if z.HasExtensions() && z.EncExt(yy1090) { + } else { + z.EncFallback(yy1090) + } } else { r.EncodeNil() } } else { - if yyq1025[2] { + if yyq1082[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1034 := &x.ObjectMeta - yy1034.CodecEncodeSelf(e) + yy1092 := &x.ObjectMeta + yym1093 := z.EncBinary() + _ = yym1093 + if false { + } else if z.HasExtensions() && z.EncExt(yy1092) { + } else { + z.EncFallback(yy1092) + } } } - if yyr1025 || yy2arr1025 { + if yyr1082 || yy2arr1082 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1025[3] { - yy1036 := &x.Spec - yy1036.CodecEncodeSelf(e) + if yyq1082[3] { + yy1095 := &x.Spec + yy1095.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1025[3] { + if yyq1082[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1037 := &x.Spec - yy1037.CodecEncodeSelf(e) + yy1096 := &x.Spec + yy1096.CodecEncodeSelf(e) } } - if yyr1025 || yy2arr1025 { + if yyr1082 || yy2arr1082 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12474,25 +12852,25 @@ func (x *ClusterAutoscaler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1038 := z.DecBinary() - _ = yym1038 + yym1097 := z.DecBinary() + _ = yym1097 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1039 := r.ContainerType() - if yyct1039 == codecSelferValueTypeMap1234 { - yyl1039 := r.ReadMapStart() - if yyl1039 == 0 { + yyct1098 := r.ContainerType() + if yyct1098 == codecSelferValueTypeMap1234 { + yyl1098 := r.ReadMapStart() + if yyl1098 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1039, d) + x.codecDecodeSelfFromMap(yyl1098, d) } - } else if yyct1039 == codecSelferValueTypeArray1234 { - yyl1039 := r.ReadArrayStart() - if yyl1039 == 0 { + } else if yyct1098 == codecSelferValueTypeArray1234 { + yyl1098 := r.ReadArrayStart() + if yyl1098 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1039, d) + x.codecDecodeSelfFromArray(yyl1098, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12504,12 +12882,12 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1040Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1040Slc - var yyhl1040 bool = l >= 0 - for yyj1040 := 0; ; yyj1040++ { - if yyhl1040 { - if yyj1040 >= l { + var yys1099Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1099Slc + var yyhl1099 bool = l >= 0 + for yyj1099 := 0; ; yyj1099++ { + if yyhl1099 { + if yyj1099 >= l { break } } else { @@ -12518,10 +12896,10 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1040Slc = r.DecodeBytes(yys1040Slc, true, true) - yys1040 := string(yys1040Slc) + yys1099Slc = r.DecodeBytes(yys1099Slc, true, true) + yys1099 := string(yys1099Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1040 { + switch yys1099 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -12538,20 +12916,26 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1043 := &x.ObjectMeta - yyv1043.CodecDecodeSelf(d) + yyv1102 := &x.ObjectMeta + yym1103 := z.DecBinary() + _ = yym1103 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1102) { + } else { + z.DecFallback(yyv1102, false) + } } case "spec": if r.TryDecodeAsNil() { x.Spec = ClusterAutoscalerSpec{} } else { - yyv1044 := &x.Spec - yyv1044.CodecDecodeSelf(d) + yyv1104 := &x.Spec + yyv1104.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1040) - } // end switch yys1040 - } // end for yyj1040 + z.DecStructFieldNotFound(-1, yys1099) + } // end switch yys1099 + } // end for yyj1099 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12559,16 +12943,16 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1045 int - var yyb1045 bool - var yyhl1045 bool = l >= 0 - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + var yyj1105 int + var yyb1105 bool + var yyhl1105 bool = l >= 0 + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1045 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1045 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12578,13 +12962,13 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1045 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1045 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12594,13 +12978,13 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1045 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1045 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12608,16 +12992,22 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1048 := &x.ObjectMeta - yyv1048.CodecDecodeSelf(d) + yyv1108 := &x.ObjectMeta + yym1109 := z.DecBinary() + _ = yym1109 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1108) { + } else { + z.DecFallback(yyv1108, false) + } } - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1045 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1045 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12625,21 +13015,21 @@ func (x *ClusterAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Spec = ClusterAutoscalerSpec{} } else { - yyv1049 := &x.Spec - yyv1049.CodecDecodeSelf(d) + yyv1110 := &x.Spec + yyv1110.CodecDecodeSelf(d) } for { - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1045 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1045 { + if yyb1105 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1045-1, "") + z.DecStructFieldNotFound(yyj1105-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12651,37 +13041,37 @@ func (x *ClusterAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1050 := z.EncBinary() - _ = yym1050 + yym1111 := z.EncBinary() + _ = yym1111 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1051 := !z.EncBinary() - yy2arr1051 := z.EncBasicHandle().StructToArray - var yyq1051 [4]bool - _, _, _ = yysep1051, yyq1051, yy2arr1051 - const yyr1051 bool = false - yyq1051[0] = x.Kind != "" - yyq1051[1] = x.APIVersion != "" - yyq1051[2] = true - var yynn1051 int - if yyr1051 || yy2arr1051 { + yysep1112 := !z.EncBinary() + yy2arr1112 := z.EncBasicHandle().StructToArray + var yyq1112 [4]bool + _, _, _ = yysep1112, yyq1112, yy2arr1112 + const yyr1112 bool = false + yyq1112[0] = x.Kind != "" + yyq1112[1] = x.APIVersion != "" + yyq1112[2] = true + var yynn1112 int + if yyr1112 || yy2arr1112 { r.EncodeArrayStart(4) } else { - yynn1051 = 1 - for _, b := range yyq1051 { + yynn1112 = 1 + for _, b := range yyq1112 { if b { - yynn1051++ + yynn1112++ } } - r.EncodeMapStart(yynn1051) - yynn1051 = 0 + r.EncodeMapStart(yynn1112) + yynn1112 = 0 } - if yyr1051 || yy2arr1051 { + if yyr1112 || yy2arr1112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1051[0] { - yym1053 := z.EncBinary() - _ = yym1053 + if yyq1112[0] { + yym1114 := z.EncBinary() + _ = yym1114 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -12690,23 +13080,23 @@ func (x *ClusterAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1051[0] { + if yyq1112[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1054 := z.EncBinary() - _ = yym1054 + yym1115 := z.EncBinary() + _ = yym1115 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1051 || yy2arr1051 { + if yyr1112 || yy2arr1112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1051[1] { - yym1056 := z.EncBinary() - _ = yym1056 + if yyq1112[1] { + yym1117 := z.EncBinary() + _ = yym1117 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -12715,54 +13105,54 @@ func (x *ClusterAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1051[1] { + if yyq1112[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1057 := z.EncBinary() - _ = yym1057 + yym1118 := z.EncBinary() + _ = yym1118 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1051 || yy2arr1051 { + if yyr1112 || yy2arr1112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1051[2] { - yy1059 := &x.ListMeta - yym1060 := z.EncBinary() - _ = yym1060 + if yyq1112[2] { + yy1120 := &x.ListMeta + yym1121 := z.EncBinary() + _ = yym1121 if false { - } else if z.HasExtensions() && z.EncExt(yy1059) { + } else if z.HasExtensions() && z.EncExt(yy1120) { } else { - z.EncFallback(yy1059) + z.EncFallback(yy1120) } } else { r.EncodeNil() } } else { - if yyq1051[2] { + if yyq1112[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1061 := &x.ListMeta - yym1062 := z.EncBinary() - _ = yym1062 + yy1122 := &x.ListMeta + yym1123 := z.EncBinary() + _ = yym1123 if false { - } else if z.HasExtensions() && z.EncExt(yy1061) { + } else if z.HasExtensions() && z.EncExt(yy1122) { } else { - z.EncFallback(yy1061) + z.EncFallback(yy1122) } } } - if yyr1051 || yy2arr1051 { + if yyr1112 || yy2arr1112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1064 := z.EncBinary() - _ = yym1064 + yym1125 := z.EncBinary() + _ = yym1125 if false { } else { h.encSliceClusterAutoscaler(([]ClusterAutoscaler)(x.Items), e) @@ -12775,15 +13165,15 @@ func (x *ClusterAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1065 := z.EncBinary() - _ = yym1065 + yym1126 := z.EncBinary() + _ = yym1126 if false { } else { h.encSliceClusterAutoscaler(([]ClusterAutoscaler)(x.Items), e) } } } - if yyr1051 || yy2arr1051 { + if yyr1112 || yy2arr1112 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12796,25 +13186,25 @@ func (x *ClusterAutoscalerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1066 := z.DecBinary() - _ = yym1066 + yym1127 := z.DecBinary() + _ = yym1127 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1067 := r.ContainerType() - if yyct1067 == codecSelferValueTypeMap1234 { - yyl1067 := r.ReadMapStart() - if yyl1067 == 0 { + yyct1128 := r.ContainerType() + if yyct1128 == codecSelferValueTypeMap1234 { + yyl1128 := r.ReadMapStart() + if yyl1128 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1067, d) + x.codecDecodeSelfFromMap(yyl1128, d) } - } else if yyct1067 == codecSelferValueTypeArray1234 { - yyl1067 := r.ReadArrayStart() - if yyl1067 == 0 { + } else if yyct1128 == codecSelferValueTypeArray1234 { + yyl1128 := r.ReadArrayStart() + if yyl1128 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1067, d) + x.codecDecodeSelfFromArray(yyl1128, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12826,12 +13216,12 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1068Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1068Slc - var yyhl1068 bool = l >= 0 - for yyj1068 := 0; ; yyj1068++ { - if yyhl1068 { - if yyj1068 >= l { + var yys1129Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1129Slc + var yyhl1129 bool = l >= 0 + for yyj1129 := 0; ; yyj1129++ { + if yyhl1129 { + if yyj1129 >= l { break } } else { @@ -12840,10 +13230,10 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1068Slc = r.DecodeBytes(yys1068Slc, true, true) - yys1068 := string(yys1068Slc) + yys1129Slc = r.DecodeBytes(yys1129Slc, true, true) + yys1129 := string(yys1129Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1068 { + switch yys1129 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -12860,31 +13250,31 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1071 := &x.ListMeta - yym1072 := z.DecBinary() - _ = yym1072 + yyv1132 := &x.ListMeta + yym1133 := z.DecBinary() + _ = yym1133 if false { - } else if z.HasExtensions() && z.DecExt(yyv1071) { + } else if z.HasExtensions() && z.DecExt(yyv1132) { } else { - z.DecFallback(yyv1071, false) + z.DecFallback(yyv1132, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1073 := &x.Items - yym1074 := z.DecBinary() - _ = yym1074 + yyv1134 := &x.Items + yym1135 := z.DecBinary() + _ = yym1135 if false { } else { - h.decSliceClusterAutoscaler((*[]ClusterAutoscaler)(yyv1073), d) + h.decSliceClusterAutoscaler((*[]ClusterAutoscaler)(yyv1134), d) } } default: - z.DecStructFieldNotFound(-1, yys1068) - } // end switch yys1068 - } // end for yyj1068 + z.DecStructFieldNotFound(-1, yys1129) + } // end switch yys1129 + } // end for yyj1129 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12892,16 +13282,16 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1075 int - var yyb1075 bool - var yyhl1075 bool = l >= 0 - yyj1075++ - if yyhl1075 { - yyb1075 = yyj1075 > l + var yyj1136 int + var yyb1136 bool + var yyhl1136 bool = l >= 0 + yyj1136++ + if yyhl1136 { + yyb1136 = yyj1136 > l } else { - yyb1075 = r.CheckBreak() + yyb1136 = r.CheckBreak() } - if yyb1075 { + if yyb1136 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12911,13 +13301,13 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj1075++ - if yyhl1075 { - yyb1075 = yyj1075 > l + yyj1136++ + if yyhl1136 { + yyb1136 = yyj1136 > l } else { - yyb1075 = r.CheckBreak() + yyb1136 = r.CheckBreak() } - if yyb1075 { + if yyb1136 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12927,13 +13317,13 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj1075++ - if yyhl1075 { - yyb1075 = yyj1075 > l + yyj1136++ + if yyhl1136 { + yyb1136 = yyj1136 > l } else { - yyb1075 = r.CheckBreak() + yyb1136 = r.CheckBreak() } - if yyb1075 { + if yyb1136 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12941,22 +13331,22 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1078 := &x.ListMeta - yym1079 := z.DecBinary() - _ = yym1079 + yyv1139 := &x.ListMeta + yym1140 := z.DecBinary() + _ = yym1140 if false { - } else if z.HasExtensions() && z.DecExt(yyv1078) { + } else if z.HasExtensions() && z.DecExt(yyv1139) { } else { - z.DecFallback(yyv1078, false) + z.DecFallback(yyv1139, false) } } - yyj1075++ - if yyhl1075 { - yyb1075 = yyj1075 > l + yyj1136++ + if yyhl1136 { + yyb1136 = yyj1136 > l } else { - yyb1075 = r.CheckBreak() + yyb1136 = r.CheckBreak() } - if yyb1075 { + if yyb1136 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12964,26 +13354,26 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1080 := &x.Items - yym1081 := z.DecBinary() - _ = yym1081 + yyv1141 := &x.Items + yym1142 := z.DecBinary() + _ = yym1142 if false { } else { - h.decSliceClusterAutoscaler((*[]ClusterAutoscaler)(yyv1080), d) + h.decSliceClusterAutoscaler((*[]ClusterAutoscaler)(yyv1141), d) } } for { - yyj1075++ - if yyhl1075 { - yyb1075 = yyj1075 > l + yyj1136++ + if yyhl1136 { + yyb1136 = yyj1136 > l } else { - yyb1075 = r.CheckBreak() + yyb1136 = r.CheckBreak() } - if yyb1075 { + if yyb1136 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1075-1, "") + z.DecStructFieldNotFound(yyj1136-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12995,36 +13385,36 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1082 := z.EncBinary() - _ = yym1082 + yym1143 := z.EncBinary() + _ = yym1143 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1083 := !z.EncBinary() - yy2arr1083 := z.EncBasicHandle().StructToArray - var yyq1083 [4]bool - _, _, _ = yysep1083, yyq1083, yy2arr1083 - const yyr1083 bool = false - yyq1083[0] = x.Kind != "" - yyq1083[1] = x.APIVersion != "" - var yynn1083 int - if yyr1083 || yy2arr1083 { + yysep1144 := !z.EncBinary() + yy2arr1144 := z.EncBasicHandle().StructToArray + var yyq1144 [4]bool + _, _, _ = yysep1144, yyq1144, yy2arr1144 + const yyr1144 bool = false + yyq1144[0] = x.Kind != "" + yyq1144[1] = x.APIVersion != "" + var yynn1144 int + if yyr1144 || yy2arr1144 { r.EncodeArrayStart(4) } else { - yynn1083 = 2 - for _, b := range yyq1083 { + yynn1144 = 2 + for _, b := range yyq1144 { if b { - yynn1083++ + yynn1144++ } } - r.EncodeMapStart(yynn1083) - yynn1083 = 0 + r.EncodeMapStart(yynn1144) + yynn1144 = 0 } - if yyr1083 || yy2arr1083 { + if yyr1144 || yy2arr1144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1083[0] { - yym1085 := z.EncBinary() - _ = yym1085 + if yyq1144[0] { + yym1146 := z.EncBinary() + _ = yym1146 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -13033,23 +13423,23 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1083[0] { + if yyq1144[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1086 := z.EncBinary() - _ = yym1086 + yym1147 := z.EncBinary() + _ = yym1147 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1083 || yy2arr1083 { + if yyr1144 || yy2arr1144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1083[1] { - yym1088 := z.EncBinary() - _ = yym1088 + if yyq1144[1] { + yym1149 := z.EncBinary() + _ = yym1149 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -13058,22 +13448,22 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1083[1] { + if yyq1144[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1089 := z.EncBinary() - _ = yym1089 + yym1150 := z.EncBinary() + _ = yym1150 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1083 || yy2arr1083 { + if yyr1144 || yy2arr1144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1091 := z.EncBinary() - _ = yym1091 + yym1152 := z.EncBinary() + _ = yym1152 if false { } else { r.EncodeBool(bool(x.Export)) @@ -13082,17 +13472,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1092 := z.EncBinary() - _ = yym1092 + yym1153 := z.EncBinary() + _ = yym1153 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr1083 || yy2arr1083 { + if yyr1144 || yy2arr1144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1094 := z.EncBinary() - _ = yym1094 + yym1155 := z.EncBinary() + _ = yym1155 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -13101,14 +13491,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1095 := z.EncBinary() - _ = yym1095 + yym1156 := z.EncBinary() + _ = yym1156 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr1083 || yy2arr1083 { + if yyr1144 || yy2arr1144 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13121,25 +13511,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1096 := z.DecBinary() - _ = yym1096 + yym1157 := z.DecBinary() + _ = yym1157 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1097 := r.ContainerType() - if yyct1097 == codecSelferValueTypeMap1234 { - yyl1097 := r.ReadMapStart() - if yyl1097 == 0 { + yyct1158 := r.ContainerType() + if yyct1158 == codecSelferValueTypeMap1234 { + yyl1158 := r.ReadMapStart() + if yyl1158 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1097, d) + x.codecDecodeSelfFromMap(yyl1158, d) } - } else if yyct1097 == codecSelferValueTypeArray1234 { - yyl1097 := r.ReadArrayStart() - if yyl1097 == 0 { + } else if yyct1158 == codecSelferValueTypeArray1234 { + yyl1158 := r.ReadArrayStart() + if yyl1158 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1097, d) + x.codecDecodeSelfFromArray(yyl1158, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13151,12 +13541,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1098Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1098Slc - var yyhl1098 bool = l >= 0 - for yyj1098 := 0; ; yyj1098++ { - if yyhl1098 { - if yyj1098 >= l { + var yys1159Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1159Slc + var yyhl1159 bool = l >= 0 + for yyj1159 := 0; ; yyj1159++ { + if yyhl1159 { + if yyj1159 >= l { break } } else { @@ -13165,10 +13555,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1098Slc = r.DecodeBytes(yys1098Slc, true, true) - yys1098 := string(yys1098Slc) + yys1159Slc = r.DecodeBytes(yys1159Slc, true, true) + yys1159 := string(yys1159Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1098 { + switch yys1159 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -13194,9 +13584,9 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1098) - } // end switch yys1098 - } // end for yyj1098 + z.DecStructFieldNotFound(-1, yys1159) + } // end switch yys1159 + } // end for yyj1159 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13204,16 +13594,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1103 int - var yyb1103 bool - var yyhl1103 bool = l >= 0 - yyj1103++ - if yyhl1103 { - yyb1103 = yyj1103 > l + var yyj1164 int + var yyb1164 bool + var yyhl1164 bool = l >= 0 + yyj1164++ + if yyhl1164 { + yyb1164 = yyj1164 > l } else { - yyb1103 = r.CheckBreak() + yyb1164 = r.CheckBreak() } - if yyb1103 { + if yyb1164 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13223,13 +13613,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1103++ - if yyhl1103 { - yyb1103 = yyj1103 > l + yyj1164++ + if yyhl1164 { + yyb1164 = yyj1164 > l } else { - yyb1103 = r.CheckBreak() + yyb1164 = r.CheckBreak() } - if yyb1103 { + if yyb1164 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13239,13 +13629,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1103++ - if yyhl1103 { - yyb1103 = yyj1103 > l + yyj1164++ + if yyhl1164 { + yyb1164 = yyj1164 > l } else { - yyb1103 = r.CheckBreak() + yyb1164 = r.CheckBreak() } - if yyb1103 { + if yyb1164 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13255,13 +13645,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Export = bool(r.DecodeBool()) } - yyj1103++ - if yyhl1103 { - yyb1103 = yyj1103 > l + yyj1164++ + if yyhl1164 { + yyb1164 = yyj1164 > l } else { - yyb1103 = r.CheckBreak() + yyb1164 = r.CheckBreak() } - if yyb1103 { + if yyb1164 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13272,17 +13662,17 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } for { - yyj1103++ - if yyhl1103 { - yyb1103 = yyj1103 > l + yyj1164++ + if yyhl1164 { + yyb1164 = yyj1164 > l } else { - yyb1103 = r.CheckBreak() + yyb1164 = r.CheckBreak() } - if yyb1103 { + if yyb1164 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1103-1, "") + z.DecStructFieldNotFound(yyj1164-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13294,41 +13684,41 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1108 := z.EncBinary() - _ = yym1108 + yym1169 := z.EncBinary() + _ = yym1169 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1109 := !z.EncBinary() - yy2arr1109 := z.EncBasicHandle().StructToArray - var yyq1109 [7]bool - _, _, _ = yysep1109, yyq1109, yy2arr1109 - const yyr1109 bool = false - yyq1109[0] = x.Kind != "" - yyq1109[1] = x.APIVersion != "" - yyq1109[2] = x.LabelSelector != "" - yyq1109[3] = x.FieldSelector != "" - yyq1109[4] = x.Watch != false - yyq1109[5] = x.ResourceVersion != "" - yyq1109[6] = x.TimeoutSeconds != nil - var yynn1109 int - if yyr1109 || yy2arr1109 { + yysep1170 := !z.EncBinary() + yy2arr1170 := z.EncBasicHandle().StructToArray + var yyq1170 [7]bool + _, _, _ = yysep1170, yyq1170, yy2arr1170 + const yyr1170 bool = false + yyq1170[0] = x.Kind != "" + yyq1170[1] = x.APIVersion != "" + yyq1170[2] = x.LabelSelector != "" + yyq1170[3] = x.FieldSelector != "" + yyq1170[4] = x.Watch != false + yyq1170[5] = x.ResourceVersion != "" + yyq1170[6] = x.TimeoutSeconds != nil + var yynn1170 int + if yyr1170 || yy2arr1170 { r.EncodeArrayStart(7) } else { - yynn1109 = 0 - for _, b := range yyq1109 { + yynn1170 = 0 + for _, b := range yyq1170 { if b { - yynn1109++ + yynn1170++ } } - r.EncodeMapStart(yynn1109) - yynn1109 = 0 + r.EncodeMapStart(yynn1170) + yynn1170 = 0 } - if yyr1109 || yy2arr1109 { + if yyr1170 || yy2arr1170 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1109[0] { - yym1111 := z.EncBinary() - _ = yym1111 + if yyq1170[0] { + yym1172 := z.EncBinary() + _ = yym1172 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -13337,23 +13727,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1109[0] { + if yyq1170[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1112 := z.EncBinary() - _ = yym1112 + yym1173 := z.EncBinary() + _ = yym1173 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1109 || yy2arr1109 { + if yyr1170 || yy2arr1170 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1109[1] { - yym1114 := z.EncBinary() - _ = yym1114 + if yyq1170[1] { + yym1175 := z.EncBinary() + _ = yym1175 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -13362,23 +13752,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1109[1] { + if yyq1170[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1115 := z.EncBinary() - _ = yym1115 + yym1176 := z.EncBinary() + _ = yym1176 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1109 || yy2arr1109 { + if yyr1170 || yy2arr1170 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1109[2] { - yym1117 := z.EncBinary() - _ = yym1117 + if yyq1170[2] { + yym1178 := z.EncBinary() + _ = yym1178 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) @@ -13387,23 +13777,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1109[2] { + if yyq1170[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1118 := z.EncBinary() - _ = yym1118 + yym1179 := z.EncBinary() + _ = yym1179 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) } } } - if yyr1109 || yy2arr1109 { + if yyr1170 || yy2arr1170 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1109[3] { - yym1120 := z.EncBinary() - _ = yym1120 + if yyq1170[3] { + yym1181 := z.EncBinary() + _ = yym1181 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) @@ -13412,23 +13802,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1109[3] { + if yyq1170[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1121 := z.EncBinary() - _ = yym1121 + yym1182 := z.EncBinary() + _ = yym1182 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) } } } - if yyr1109 || yy2arr1109 { + if yyr1170 || yy2arr1170 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1109[4] { - yym1123 := z.EncBinary() - _ = yym1123 + if yyq1170[4] { + yym1184 := z.EncBinary() + _ = yym1184 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -13437,23 +13827,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1109[4] { + if yyq1170[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1124 := z.EncBinary() - _ = yym1124 + yym1185 := z.EncBinary() + _ = yym1185 if false { } else { r.EncodeBool(bool(x.Watch)) } } } - if yyr1109 || yy2arr1109 { + if yyr1170 || yy2arr1170 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1109[5] { - yym1126 := z.EncBinary() - _ = yym1126 + if yyq1170[5] { + yym1187 := z.EncBinary() + _ = yym1187 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -13462,54 +13852,54 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1109[5] { + if yyq1170[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1127 := z.EncBinary() - _ = yym1127 + yym1188 := z.EncBinary() + _ = yym1188 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr1109 || yy2arr1109 { + if yyr1170 || yy2arr1170 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1109[6] { + if yyq1170[6] { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy1129 := *x.TimeoutSeconds - yym1130 := z.EncBinary() - _ = yym1130 + yy1190 := *x.TimeoutSeconds + yym1191 := z.EncBinary() + _ = yym1191 if false { } else { - r.EncodeInt(int64(yy1129)) + r.EncodeInt(int64(yy1190)) } } } else { r.EncodeNil() } } else { - if yyq1109[6] { + if yyq1170[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy1131 := *x.TimeoutSeconds - yym1132 := z.EncBinary() - _ = yym1132 + yy1192 := *x.TimeoutSeconds + yym1193 := z.EncBinary() + _ = yym1193 if false { } else { - r.EncodeInt(int64(yy1131)) + r.EncodeInt(int64(yy1192)) } } } } - if yyr1109 || yy2arr1109 { + if yyr1170 || yy2arr1170 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13522,25 +13912,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1133 := z.DecBinary() - _ = yym1133 + yym1194 := z.DecBinary() + _ = yym1194 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1134 := r.ContainerType() - if yyct1134 == codecSelferValueTypeMap1234 { - yyl1134 := r.ReadMapStart() - if yyl1134 == 0 { + yyct1195 := r.ContainerType() + if yyct1195 == codecSelferValueTypeMap1234 { + yyl1195 := r.ReadMapStart() + if yyl1195 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1134, d) + x.codecDecodeSelfFromMap(yyl1195, d) } - } else if yyct1134 == codecSelferValueTypeArray1234 { - yyl1134 := r.ReadArrayStart() - if yyl1134 == 0 { + } else if yyct1195 == codecSelferValueTypeArray1234 { + yyl1195 := r.ReadArrayStart() + if yyl1195 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1134, d) + x.codecDecodeSelfFromArray(yyl1195, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13552,12 +13942,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1135Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1135Slc - var yyhl1135 bool = l >= 0 - for yyj1135 := 0; ; yyj1135++ { - if yyhl1135 { - if yyj1135 >= l { + var yys1196Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1196Slc + var yyhl1196 bool = l >= 0 + for yyj1196 := 0; ; yyj1196++ { + if yyhl1196 { + if yyj1196 >= l { break } } else { @@ -13566,10 +13956,10 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1135Slc = r.DecodeBytes(yys1135Slc, true, true) - yys1135 := string(yys1135Slc) + yys1196Slc = r.DecodeBytes(yys1196Slc, true, true) + yys1196 := string(yys1196Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1135 { + switch yys1196 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -13615,17 +14005,17 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym1143 := z.DecBinary() - _ = yym1143 + yym1204 := z.DecBinary() + _ = yym1204 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys1135) - } // end switch yys1135 - } // end for yyj1135 + z.DecStructFieldNotFound(-1, yys1196) + } // end switch yys1196 + } // end for yyj1196 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13633,16 +14023,16 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { 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 yyj1205 int + var yyb1205 bool + var yyhl1205 bool = l >= 0 + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l } else { - yyb1144 = r.CheckBreak() + yyb1205 = r.CheckBreak() } - if yyb1144 { + if yyb1205 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13652,13 +14042,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1144++ - if yyhl1144 { - yyb1144 = yyj1144 > l + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l } else { - yyb1144 = r.CheckBreak() + yyb1205 = r.CheckBreak() } - if yyb1144 { + if yyb1205 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13668,13 +14058,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1144++ - if yyhl1144 { - yyb1144 = yyj1144 > l + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l } else { - yyb1144 = r.CheckBreak() + yyb1205 = r.CheckBreak() } - if yyb1144 { + if yyb1205 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13684,13 +14074,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LabelSelector = string(r.DecodeString()) } - yyj1144++ - if yyhl1144 { - yyb1144 = yyj1144 > l + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l } else { - yyb1144 = r.CheckBreak() + yyb1205 = r.CheckBreak() } - if yyb1144 { + if yyb1205 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13700,13 +14090,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FieldSelector = string(r.DecodeString()) } - yyj1144++ - if yyhl1144 { - yyb1144 = yyj1144 > l + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l } else { - yyb1144 = r.CheckBreak() + yyb1205 = r.CheckBreak() } - if yyb1144 { + if yyb1205 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13716,13 +14106,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Watch = bool(r.DecodeBool()) } - yyj1144++ - if yyhl1144 { - yyb1144 = yyj1144 > l + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l } else { - yyb1144 = r.CheckBreak() + yyb1205 = r.CheckBreak() } - if yyb1144 { + if yyb1205 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13732,13 +14122,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj1144++ - if yyhl1144 { - yyb1144 = yyj1144 > l + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l } else { - yyb1144 = r.CheckBreak() + yyb1205 = r.CheckBreak() } - if yyb1144 { + if yyb1205 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13751,25 +14141,25 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym1152 := z.DecBinary() - _ = yym1152 + yym1213 := z.DecBinary() + _ = yym1213 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } for { - yyj1144++ - if yyhl1144 { - yyb1144 = yyj1144 > l + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l } else { - yyb1144 = r.CheckBreak() + yyb1205 = r.CheckBreak() } - if yyb1144 { + if yyb1205 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1144-1, "") + z.DecStructFieldNotFound(yyj1205-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13781,39 +14171,39 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1153 := z.EncBinary() - _ = yym1153 + yym1214 := z.EncBinary() + _ = yym1214 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1154 := !z.EncBinary() - yy2arr1154 := z.EncBasicHandle().StructToArray - var yyq1154 [2]bool - _, _, _ = yysep1154, yyq1154, yy2arr1154 - const yyr1154 bool = false - yyq1154[0] = len(x.MatchLabels) != 0 - yyq1154[1] = len(x.MatchExpressions) != 0 - var yynn1154 int - if yyr1154 || yy2arr1154 { + yysep1215 := !z.EncBinary() + yy2arr1215 := z.EncBasicHandle().StructToArray + var yyq1215 [2]bool + _, _, _ = yysep1215, yyq1215, yy2arr1215 + const yyr1215 bool = false + yyq1215[0] = len(x.MatchLabels) != 0 + yyq1215[1] = len(x.MatchExpressions) != 0 + var yynn1215 int + if yyr1215 || yy2arr1215 { r.EncodeArrayStart(2) } else { - yynn1154 = 0 - for _, b := range yyq1154 { + yynn1215 = 0 + for _, b := range yyq1215 { if b { - yynn1154++ + yynn1215++ } } - r.EncodeMapStart(yynn1154) - yynn1154 = 0 + r.EncodeMapStart(yynn1215) + yynn1215 = 0 } - if yyr1154 || yy2arr1154 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1154[0] { + if yyq1215[0] { if x.MatchLabels == nil { r.EncodeNil() } else { - yym1156 := z.EncBinary() - _ = yym1156 + yym1217 := z.EncBinary() + _ = yym1217 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -13823,15 +14213,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1154[0] { + if yyq1215[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchLabels == nil { r.EncodeNil() } else { - yym1157 := z.EncBinary() - _ = yym1157 + yym1218 := z.EncBinary() + _ = yym1218 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -13839,14 +14229,14 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1154 || yy2arr1154 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1154[1] { + if yyq1215[1] { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1159 := z.EncBinary() - _ = yym1159 + yym1220 := z.EncBinary() + _ = yym1220 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -13856,15 +14246,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1154[1] { + if yyq1215[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1160 := z.EncBinary() - _ = yym1160 + yym1221 := z.EncBinary() + _ = yym1221 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -13872,7 +14262,7 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1154 || yy2arr1154 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13885,25 +14275,25 @@ func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1161 := z.DecBinary() - _ = yym1161 + yym1222 := z.DecBinary() + _ = yym1222 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1162 := r.ContainerType() - if yyct1162 == codecSelferValueTypeMap1234 { - yyl1162 := r.ReadMapStart() - if yyl1162 == 0 { + yyct1223 := r.ContainerType() + if yyct1223 == codecSelferValueTypeMap1234 { + yyl1223 := r.ReadMapStart() + if yyl1223 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1162, d) + x.codecDecodeSelfFromMap(yyl1223, d) } - } else if yyct1162 == codecSelferValueTypeArray1234 { - yyl1162 := r.ReadArrayStart() - if yyl1162 == 0 { + } else if yyct1223 == codecSelferValueTypeArray1234 { + yyl1223 := r.ReadArrayStart() + if yyl1223 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1162, d) + x.codecDecodeSelfFromArray(yyl1223, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13915,12 +14305,12 @@ func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1163Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1163Slc - var yyhl1163 bool = l >= 0 - for yyj1163 := 0; ; yyj1163++ { - if yyhl1163 { - if yyj1163 >= l { + var yys1224Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1224Slc + var yyhl1224 bool = l >= 0 + for yyj1224 := 0; ; yyj1224++ { + if yyhl1224 { + if yyj1224 >= l { break } } else { @@ -13929,38 +14319,38 @@ func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1163Slc = r.DecodeBytes(yys1163Slc, true, true) - yys1163 := string(yys1163Slc) + yys1224Slc = r.DecodeBytes(yys1224Slc, true, true) + yys1224 := string(yys1224Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1163 { + switch yys1224 { case "matchLabels": if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv1164 := &x.MatchLabels - yym1165 := z.DecBinary() - _ = yym1165 + yyv1225 := &x.MatchLabels + yym1226 := z.DecBinary() + _ = yym1226 if false { } else { - z.F.DecMapStringStringX(yyv1164, false, d) + z.F.DecMapStringStringX(yyv1225, false, d) } } case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1166 := &x.MatchExpressions - yym1167 := z.DecBinary() - _ = yym1167 + yyv1227 := &x.MatchExpressions + yym1228 := z.DecBinary() + _ = yym1228 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1166), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1227), d) } } default: - z.DecStructFieldNotFound(-1, yys1163) - } // end switch yys1163 - } // end for yyj1163 + z.DecStructFieldNotFound(-1, yys1224) + } // end switch yys1224 + } // end for yyj1224 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13968,16 +14358,16 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1168 int - var yyb1168 bool - var yyhl1168 bool = l >= 0 - yyj1168++ - if yyhl1168 { - yyb1168 = yyj1168 > l + var yyj1229 int + var yyb1229 bool + var yyhl1229 bool = l >= 0 + yyj1229++ + if yyhl1229 { + yyb1229 = yyj1229 > l } else { - yyb1168 = r.CheckBreak() + yyb1229 = r.CheckBreak() } - if yyb1168 { + if yyb1229 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13985,21 +14375,21 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv1169 := &x.MatchLabels - yym1170 := z.DecBinary() - _ = yym1170 + yyv1230 := &x.MatchLabels + yym1231 := z.DecBinary() + _ = yym1231 if false { } else { - z.F.DecMapStringStringX(yyv1169, false, d) + z.F.DecMapStringStringX(yyv1230, false, d) } } - yyj1168++ - if yyhl1168 { - yyb1168 = yyj1168 > l + yyj1229++ + if yyhl1229 { + yyb1229 = yyj1229 > l } else { - yyb1168 = r.CheckBreak() + yyb1229 = r.CheckBreak() } - if yyb1168 { + if yyb1229 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14007,26 +14397,26 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1171 := &x.MatchExpressions - yym1172 := z.DecBinary() - _ = yym1172 + yyv1232 := &x.MatchExpressions + yym1233 := z.DecBinary() + _ = yym1233 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1171), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1232), d) } } for { - yyj1168++ - if yyhl1168 { - yyb1168 = yyj1168 > l + yyj1229++ + if yyhl1229 { + yyb1229 = yyj1229 > l } else { - yyb1168 = r.CheckBreak() + yyb1229 = r.CheckBreak() } - if yyb1168 { + if yyb1229 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1168-1, "") + z.DecStructFieldNotFound(yyj1229-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14038,34 +14428,34 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1173 := z.EncBinary() - _ = yym1173 + yym1234 := z.EncBinary() + _ = yym1234 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1174 := !z.EncBinary() - yy2arr1174 := z.EncBasicHandle().StructToArray - var yyq1174 [3]bool - _, _, _ = yysep1174, yyq1174, yy2arr1174 - const yyr1174 bool = false - yyq1174[2] = len(x.Values) != 0 - var yynn1174 int - if yyr1174 || yy2arr1174 { + yysep1235 := !z.EncBinary() + yy2arr1235 := z.EncBasicHandle().StructToArray + var yyq1235 [3]bool + _, _, _ = yysep1235, yyq1235, yy2arr1235 + const yyr1235 bool = false + yyq1235[2] = len(x.Values) != 0 + var yynn1235 int + if yyr1235 || yy2arr1235 { r.EncodeArrayStart(3) } else { - yynn1174 = 2 - for _, b := range yyq1174 { + yynn1235 = 2 + for _, b := range yyq1235 { if b { - yynn1174++ + yynn1235++ } } - r.EncodeMapStart(yynn1174) - yynn1174 = 0 + r.EncodeMapStart(yynn1235) + yynn1235 = 0 } - if yyr1174 || yy2arr1174 { + if yyr1235 || yy2arr1235 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1176 := z.EncBinary() - _ = yym1176 + yym1237 := z.EncBinary() + _ = yym1237 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -14074,14 +14464,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1177 := z.EncBinary() - _ = yym1177 + yym1238 := z.EncBinary() + _ = yym1238 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1174 || yy2arr1174 { + if yyr1235 || yy2arr1235 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Operator.CodecEncodeSelf(e) } else { @@ -14090,14 +14480,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } - if yyr1174 || yy2arr1174 { + if yyr1235 || yy2arr1235 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1174[2] { + if yyq1235[2] { if x.Values == nil { r.EncodeNil() } else { - yym1180 := z.EncBinary() - _ = yym1180 + yym1241 := z.EncBinary() + _ = yym1241 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -14107,15 +14497,15 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1174[2] { + if yyq1235[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Values == nil { r.EncodeNil() } else { - yym1181 := z.EncBinary() - _ = yym1181 + yym1242 := z.EncBinary() + _ = yym1242 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -14123,7 +14513,7 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1174 || yy2arr1174 { + if yyr1235 || yy2arr1235 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14136,25 +14526,25 @@ func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1182 := z.DecBinary() - _ = yym1182 + yym1243 := z.DecBinary() + _ = yym1243 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1183 := r.ContainerType() - if yyct1183 == codecSelferValueTypeMap1234 { - yyl1183 := r.ReadMapStart() - if yyl1183 == 0 { + yyct1244 := r.ContainerType() + if yyct1244 == codecSelferValueTypeMap1234 { + yyl1244 := r.ReadMapStart() + if yyl1244 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1183, d) + x.codecDecodeSelfFromMap(yyl1244, d) } - } else if yyct1183 == codecSelferValueTypeArray1234 { - yyl1183 := r.ReadArrayStart() - if yyl1183 == 0 { + } else if yyct1244 == codecSelferValueTypeArray1234 { + yyl1244 := r.ReadArrayStart() + if yyl1244 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1183, d) + x.codecDecodeSelfFromArray(yyl1244, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14166,12 +14556,12 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1184Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1184Slc - var yyhl1184 bool = l >= 0 - for yyj1184 := 0; ; yyj1184++ { - if yyhl1184 { - if yyj1184 >= l { + var yys1245Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1245Slc + var yyhl1245 bool = l >= 0 + for yyj1245 := 0; ; yyj1245++ { + if yyhl1245 { + if yyj1245 >= l { break } } else { @@ -14180,10 +14570,10 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1184Slc = r.DecodeBytes(yys1184Slc, true, true) - yys1184 := string(yys1184Slc) + yys1245Slc = r.DecodeBytes(yys1245Slc, true, true) + yys1245 := string(yys1245Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1184 { + switch yys1245 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -14200,18 +14590,18 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1187 := &x.Values - yym1188 := z.DecBinary() - _ = yym1188 + yyv1248 := &x.Values + yym1249 := z.DecBinary() + _ = yym1249 if false { } else { - z.F.DecSliceStringX(yyv1187, false, d) + z.F.DecSliceStringX(yyv1248, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1184) - } // end switch yys1184 - } // end for yyj1184 + z.DecStructFieldNotFound(-1, yys1245) + } // end switch yys1245 + } // end for yyj1245 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14219,16 +14609,16 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1189 int - var yyb1189 bool - var yyhl1189 bool = l >= 0 - yyj1189++ - if yyhl1189 { - yyb1189 = yyj1189 > l + var yyj1250 int + var yyb1250 bool + var yyhl1250 bool = l >= 0 + yyj1250++ + if yyhl1250 { + yyb1250 = yyj1250 > l } else { - yyb1189 = r.CheckBreak() + yyb1250 = r.CheckBreak() } - if yyb1189 { + if yyb1250 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14238,13 +14628,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Key = string(r.DecodeString()) } - yyj1189++ - if yyhl1189 { - yyb1189 = yyj1189 > l + yyj1250++ + if yyhl1250 { + yyb1250 = yyj1250 > l } else { - yyb1189 = r.CheckBreak() + yyb1250 = r.CheckBreak() } - if yyb1189 { + if yyb1250 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14254,13 +14644,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Operator = LabelSelectorOperator(r.DecodeString()) } - yyj1189++ - if yyhl1189 { - yyb1189 = yyj1189 > l + yyj1250++ + if yyhl1250 { + yyb1250 = yyj1250 > l } else { - yyb1189 = r.CheckBreak() + yyb1250 = r.CheckBreak() } - if yyb1189 { + if yyb1250 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14268,26 +14658,26 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1192 := &x.Values - yym1193 := z.DecBinary() - _ = yym1193 + yyv1253 := &x.Values + yym1254 := z.DecBinary() + _ = yym1254 if false { } else { - z.F.DecSliceStringX(yyv1192, false, d) + z.F.DecSliceStringX(yyv1253, false, d) } } for { - yyj1189++ - if yyhl1189 { - yyb1189 = yyj1189 > l + yyj1250++ + if yyhl1250 { + yyb1250 = yyj1250 > l } else { - yyb1189 = r.CheckBreak() + yyb1250 = r.CheckBreak() } - if yyb1189 { + if yyb1250 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1189-1, "") + z.DecStructFieldNotFound(yyj1250-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14296,8 +14686,8 @@ func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1194 := z.EncBinary() - _ = yym1194 + yym1255 := z.EncBinary() + _ = yym1255 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -14309,8 +14699,8 @@ func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1195 := z.DecBinary() - _ = yym1195 + yym1256 := z.DecBinary() + _ = yym1256 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -14325,38 +14715,38 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1196 := z.EncBinary() - _ = yym1196 + yym1257 := z.EncBinary() + _ = yym1257 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1197 := !z.EncBinary() - yy2arr1197 := z.EncBasicHandle().StructToArray - var yyq1197 [4]bool - _, _, _ = yysep1197, yyq1197, yy2arr1197 - const yyr1197 bool = false - yyq1197[0] = x.Kind != "" - yyq1197[1] = x.APIVersion != "" - yyq1197[2] = true - yyq1197[3] = len(x.Data) != 0 - var yynn1197 int - if yyr1197 || yy2arr1197 { + yysep1258 := !z.EncBinary() + yy2arr1258 := z.EncBasicHandle().StructToArray + var yyq1258 [4]bool + _, _, _ = yysep1258, yyq1258, yy2arr1258 + const yyr1258 bool = false + yyq1258[0] = x.Kind != "" + yyq1258[1] = x.APIVersion != "" + yyq1258[2] = true + yyq1258[3] = len(x.Data) != 0 + var yynn1258 int + if yyr1258 || yy2arr1258 { r.EncodeArrayStart(4) } else { - yynn1197 = 0 - for _, b := range yyq1197 { + yynn1258 = 0 + for _, b := range yyq1258 { if b { - yynn1197++ + yynn1258++ } } - r.EncodeMapStart(yynn1197) - yynn1197 = 0 + r.EncodeMapStart(yynn1258) + yynn1258 = 0 } - if yyr1197 || yy2arr1197 { + if yyr1258 || yy2arr1258 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1197[0] { - yym1199 := z.EncBinary() - _ = yym1199 + if yyq1258[0] { + yym1260 := z.EncBinary() + _ = yym1260 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -14365,23 +14755,23 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1197[0] { + if yyq1258[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1200 := z.EncBinary() - _ = yym1200 + yym1261 := z.EncBinary() + _ = yym1261 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1197 || yy2arr1197 { + if yyr1258 || yy2arr1258 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1197[1] { - yym1202 := z.EncBinary() - _ = yym1202 + if yyq1258[1] { + yym1263 := z.EncBinary() + _ = yym1263 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -14390,43 +14780,55 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1197[1] { + if yyq1258[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1203 := z.EncBinary() - _ = yym1203 + yym1264 := z.EncBinary() + _ = yym1264 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1197 || yy2arr1197 { + if yyr1258 || yy2arr1258 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1197[2] { - yy1205 := &x.ObjectMeta - yy1205.CodecEncodeSelf(e) + if yyq1258[2] { + yy1266 := &x.ObjectMeta + yym1267 := z.EncBinary() + _ = yym1267 + if false { + } else if z.HasExtensions() && z.EncExt(yy1266) { + } else { + z.EncFallback(yy1266) + } } else { r.EncodeNil() } } else { - if yyq1197[2] { + if yyq1258[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1206 := &x.ObjectMeta - yy1206.CodecEncodeSelf(e) + yy1268 := &x.ObjectMeta + yym1269 := z.EncBinary() + _ = yym1269 + if false { + } else if z.HasExtensions() && z.EncExt(yy1268) { + } else { + z.EncFallback(yy1268) + } } } - if yyr1197 || yy2arr1197 { + if yyr1258 || yy2arr1258 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1197[3] { + if yyq1258[3] { if x.Data == nil { r.EncodeNil() } else { - yym1208 := z.EncBinary() - _ = yym1208 + yym1271 := z.EncBinary() + _ = yym1271 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -14436,15 +14838,15 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1197[3] { + if yyq1258[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym1209 := z.EncBinary() - _ = yym1209 + yym1272 := z.EncBinary() + _ = yym1272 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -14452,7 +14854,7 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1197 || yy2arr1197 { + if yyr1258 || yy2arr1258 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14465,25 +14867,25 @@ func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1210 := z.DecBinary() - _ = yym1210 + yym1273 := z.DecBinary() + _ = yym1273 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1211 := r.ContainerType() - if yyct1211 == codecSelferValueTypeMap1234 { - yyl1211 := r.ReadMapStart() - if yyl1211 == 0 { + yyct1274 := r.ContainerType() + if yyct1274 == codecSelferValueTypeMap1234 { + yyl1274 := r.ReadMapStart() + if yyl1274 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1211, d) + x.codecDecodeSelfFromMap(yyl1274, d) } - } else if yyct1211 == codecSelferValueTypeArray1234 { - yyl1211 := r.ReadArrayStart() - if yyl1211 == 0 { + } else if yyct1274 == codecSelferValueTypeArray1234 { + yyl1274 := r.ReadArrayStart() + if yyl1274 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1211, d) + x.codecDecodeSelfFromArray(yyl1274, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14495,12 +14897,12 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1212Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1212Slc - var yyhl1212 bool = l >= 0 - for yyj1212 := 0; ; yyj1212++ { - if yyhl1212 { - if yyj1212 >= l { + var yys1275Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1275Slc + var yyhl1275 bool = l >= 0 + for yyj1275 := 0; ; yyj1275++ { + if yyhl1275 { + if yyj1275 >= l { break } } else { @@ -14509,10 +14911,10 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1212Slc = r.DecodeBytes(yys1212Slc, true, true) - yys1212 := string(yys1212Slc) + yys1275Slc = r.DecodeBytes(yys1275Slc, true, true) + yys1275 := string(yys1275Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1212 { + switch yys1275 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14529,25 +14931,31 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1215 := &x.ObjectMeta - yyv1215.CodecDecodeSelf(d) + yyv1278 := &x.ObjectMeta + yym1279 := z.DecBinary() + _ = yym1279 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1278) { + } else { + z.DecFallback(yyv1278, false) + } } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv1216 := &x.Data - yym1217 := z.DecBinary() - _ = yym1217 + yyv1280 := &x.Data + yym1281 := z.DecBinary() + _ = yym1281 if false { } else { - z.F.DecMapStringStringX(yyv1216, false, d) + z.F.DecMapStringStringX(yyv1280, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1212) - } // end switch yys1212 - } // end for yyj1212 + z.DecStructFieldNotFound(-1, yys1275) + } // end switch yys1275 + } // end for yyj1275 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14555,16 +14963,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1218 int - var yyb1218 bool - var yyhl1218 bool = l >= 0 - yyj1218++ - if yyhl1218 { - yyb1218 = yyj1218 > l + var yyj1282 int + var yyb1282 bool + var yyhl1282 bool = l >= 0 + yyj1282++ + if yyhl1282 { + yyb1282 = yyj1282 > l } else { - yyb1218 = r.CheckBreak() + yyb1282 = r.CheckBreak() } - if yyb1218 { + if yyb1282 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14574,13 +14982,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1218++ - if yyhl1218 { - yyb1218 = yyj1218 > l + yyj1282++ + if yyhl1282 { + yyb1282 = yyj1282 > l } else { - yyb1218 = r.CheckBreak() + yyb1282 = r.CheckBreak() } - if yyb1218 { + if yyb1282 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14590,13 +14998,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1218++ - if yyhl1218 { - yyb1218 = yyj1218 > l + yyj1282++ + if yyhl1282 { + yyb1282 = yyj1282 > l } else { - yyb1218 = r.CheckBreak() + yyb1282 = r.CheckBreak() } - if yyb1218 { + if yyb1282 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14604,16 +15012,22 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1221 := &x.ObjectMeta - yyv1221.CodecDecodeSelf(d) + yyv1285 := &x.ObjectMeta + yym1286 := z.DecBinary() + _ = yym1286 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1285) { + } else { + z.DecFallback(yyv1285, false) + } } - yyj1218++ - if yyhl1218 { - yyb1218 = yyj1218 > l + yyj1282++ + if yyhl1282 { + yyb1282 = yyj1282 > l } else { - yyb1218 = r.CheckBreak() + yyb1282 = r.CheckBreak() } - if yyb1218 { + if yyb1282 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14621,26 +15035,26 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv1222 := &x.Data - yym1223 := z.DecBinary() - _ = yym1223 + yyv1287 := &x.Data + yym1288 := z.DecBinary() + _ = yym1288 if false { } else { - z.F.DecMapStringStringX(yyv1222, false, d) + z.F.DecMapStringStringX(yyv1287, false, d) } } for { - yyj1218++ - if yyhl1218 { - yyb1218 = yyj1218 > l + yyj1282++ + if yyhl1282 { + yyb1282 = yyj1282 > l } else { - yyb1218 = r.CheckBreak() + yyb1282 = r.CheckBreak() } - if yyb1218 { + if yyb1282 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1218-1, "") + z.DecStructFieldNotFound(yyj1282-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14652,38 +15066,38 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1224 := z.EncBinary() - _ = yym1224 + yym1289 := z.EncBinary() + _ = yym1289 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1225 := !z.EncBinary() - yy2arr1225 := z.EncBasicHandle().StructToArray - var yyq1225 [4]bool - _, _, _ = yysep1225, yyq1225, yy2arr1225 - const yyr1225 bool = false - yyq1225[0] = x.Kind != "" - yyq1225[1] = x.APIVersion != "" - yyq1225[2] = true - yyq1225[3] = len(x.Items) != 0 - var yynn1225 int - if yyr1225 || yy2arr1225 { + yysep1290 := !z.EncBinary() + yy2arr1290 := z.EncBasicHandle().StructToArray + var yyq1290 [4]bool + _, _, _ = yysep1290, yyq1290, yy2arr1290 + const yyr1290 bool = false + yyq1290[0] = x.Kind != "" + yyq1290[1] = x.APIVersion != "" + yyq1290[2] = true + yyq1290[3] = len(x.Items) != 0 + var yynn1290 int + if yyr1290 || yy2arr1290 { r.EncodeArrayStart(4) } else { - yynn1225 = 0 - for _, b := range yyq1225 { + yynn1290 = 0 + for _, b := range yyq1290 { if b { - yynn1225++ + yynn1290++ } } - r.EncodeMapStart(yynn1225) - yynn1225 = 0 + r.EncodeMapStart(yynn1290) + yynn1290 = 0 } - if yyr1225 || yy2arr1225 { + if yyr1290 || yy2arr1290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1225[0] { - yym1227 := z.EncBinary() - _ = yym1227 + if yyq1290[0] { + yym1292 := z.EncBinary() + _ = yym1292 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -14692,23 +15106,23 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1225[0] { + if yyq1290[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1228 := z.EncBinary() - _ = yym1228 + yym1293 := z.EncBinary() + _ = yym1293 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1225 || yy2arr1225 { + if yyr1290 || yy2arr1290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1225[1] { - yym1230 := z.EncBinary() - _ = yym1230 + if yyq1290[1] { + yym1295 := z.EncBinary() + _ = yym1295 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -14717,55 +15131,55 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1225[1] { + if yyq1290[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1231 := z.EncBinary() - _ = yym1231 + yym1296 := z.EncBinary() + _ = yym1296 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1225 || yy2arr1225 { + if yyr1290 || yy2arr1290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1225[2] { - yy1233 := &x.ListMeta - yym1234 := z.EncBinary() - _ = yym1234 + if yyq1290[2] { + yy1298 := &x.ListMeta + yym1299 := z.EncBinary() + _ = yym1299 if false { - } else if z.HasExtensions() && z.EncExt(yy1233) { + } else if z.HasExtensions() && z.EncExt(yy1298) { } else { - z.EncFallback(yy1233) + z.EncFallback(yy1298) } } else { r.EncodeNil() } } else { - if yyq1225[2] { + if yyq1290[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1235 := &x.ListMeta - yym1236 := z.EncBinary() - _ = yym1236 + yy1300 := &x.ListMeta + yym1301 := z.EncBinary() + _ = yym1301 if false { - } else if z.HasExtensions() && z.EncExt(yy1235) { + } else if z.HasExtensions() && z.EncExt(yy1300) { } else { - z.EncFallback(yy1235) + z.EncFallback(yy1300) } } } - if yyr1225 || yy2arr1225 { + if yyr1290 || yy2arr1290 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1225[3] { + if yyq1290[3] { if x.Items == nil { r.EncodeNil() } else { - yym1238 := z.EncBinary() - _ = yym1238 + yym1303 := z.EncBinary() + _ = yym1303 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -14775,15 +15189,15 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1225[3] { + if yyq1290[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym1239 := z.EncBinary() - _ = yym1239 + yym1304 := z.EncBinary() + _ = yym1304 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -14791,7 +15205,7 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1225 || yy2arr1225 { + if yyr1290 || yy2arr1290 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14804,25 +15218,25 @@ func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1240 := z.DecBinary() - _ = yym1240 + yym1305 := z.DecBinary() + _ = yym1305 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1241 := r.ContainerType() - if yyct1241 == codecSelferValueTypeMap1234 { - yyl1241 := r.ReadMapStart() - if yyl1241 == 0 { + yyct1306 := r.ContainerType() + if yyct1306 == codecSelferValueTypeMap1234 { + yyl1306 := r.ReadMapStart() + if yyl1306 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1241, d) + x.codecDecodeSelfFromMap(yyl1306, d) } - } else if yyct1241 == codecSelferValueTypeArray1234 { - yyl1241 := r.ReadArrayStart() - if yyl1241 == 0 { + } else if yyct1306 == codecSelferValueTypeArray1234 { + yyl1306 := r.ReadArrayStart() + if yyl1306 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1241, d) + x.codecDecodeSelfFromArray(yyl1306, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14834,12 +15248,12 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1242Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1242Slc - var yyhl1242 bool = l >= 0 - for yyj1242 := 0; ; yyj1242++ { - if yyhl1242 { - if yyj1242 >= l { + var yys1307Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1307Slc + var yyhl1307 bool = l >= 0 + for yyj1307 := 0; ; yyj1307++ { + if yyhl1307 { + if yyj1307 >= l { break } } else { @@ -14848,10 +15262,10 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1242Slc = r.DecodeBytes(yys1242Slc, true, true) - yys1242 := string(yys1242Slc) + yys1307Slc = r.DecodeBytes(yys1307Slc, true, true) + yys1307 := string(yys1307Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1242 { + switch yys1307 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14868,31 +15282,31 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1245 := &x.ListMeta - yym1246 := z.DecBinary() - _ = yym1246 + yyv1310 := &x.ListMeta + yym1311 := z.DecBinary() + _ = yym1311 if false { - } else if z.HasExtensions() && z.DecExt(yyv1245) { + } else if z.HasExtensions() && z.DecExt(yyv1310) { } else { - z.DecFallback(yyv1245, false) + z.DecFallback(yyv1310, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1247 := &x.Items - yym1248 := z.DecBinary() - _ = yym1248 + yyv1312 := &x.Items + yym1313 := z.DecBinary() + _ = yym1313 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv1247), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv1312), d) } } default: - z.DecStructFieldNotFound(-1, yys1242) - } // end switch yys1242 - } // end for yyj1242 + z.DecStructFieldNotFound(-1, yys1307) + } // end switch yys1307 + } // end for yyj1307 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14900,16 +15314,16 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1249 int - var yyb1249 bool - var yyhl1249 bool = l >= 0 - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + var yyj1314 int + var yyb1314 bool + var yyhl1314 bool = l >= 0 + yyj1314++ + if yyhl1314 { + yyb1314 = yyj1314 > l } else { - yyb1249 = r.CheckBreak() + yyb1314 = r.CheckBreak() } - if yyb1249 { + if yyb1314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14919,13 +15333,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1314++ + if yyhl1314 { + yyb1314 = yyj1314 > l } else { - yyb1249 = r.CheckBreak() + yyb1314 = r.CheckBreak() } - if yyb1249 { + if yyb1314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14935,13 +15349,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1314++ + if yyhl1314 { + yyb1314 = yyj1314 > l } else { - yyb1249 = r.CheckBreak() + yyb1314 = r.CheckBreak() } - if yyb1249 { + if yyb1314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14949,22 +15363,22 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1252 := &x.ListMeta - yym1253 := z.DecBinary() - _ = yym1253 + yyv1317 := &x.ListMeta + yym1318 := z.DecBinary() + _ = yym1318 if false { - } else if z.HasExtensions() && z.DecExt(yyv1252) { + } else if z.HasExtensions() && z.DecExt(yyv1317) { } else { - z.DecFallback(yyv1252, false) + z.DecFallback(yyv1317, false) } } - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1314++ + if yyhl1314 { + yyb1314 = yyj1314 > l } else { - yyb1249 = r.CheckBreak() + yyb1314 = r.CheckBreak() } - if yyb1249 { + if yyb1314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14972,26 +15386,26 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1254 := &x.Items - yym1255 := z.DecBinary() - _ = yym1255 + yyv1319 := &x.Items + yym1320 := z.DecBinary() + _ = yym1320 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv1254), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv1319), d) } } for { - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1314++ + if yyhl1314 { + yyb1314 = yyj1314 > l } else { - yyb1249 = r.CheckBreak() + yyb1314 = r.CheckBreak() } - if yyb1249 { + if yyb1314 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1249-1, "") + z.DecStructFieldNotFound(yyj1314-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15001,10 +15415,10 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1256 := range v { + for _, yyv1321 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1257 := &yyv1256 - yy1257.CodecEncodeSelf(e) + yy1322 := &yyv1321 + yy1322.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15014,83 +15428,83 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1258 := *v - yyh1258, yyl1258 := z.DecSliceHelperStart() - var yyc1258 bool - if yyl1258 == 0 { - if yyv1258 == nil { - yyv1258 = []HorizontalPodAutoscaler{} - yyc1258 = true - } else if len(yyv1258) != 0 { - yyv1258 = yyv1258[:0] - yyc1258 = true + yyv1323 := *v + yyh1323, yyl1323 := z.DecSliceHelperStart() + var yyc1323 bool + if yyl1323 == 0 { + if yyv1323 == nil { + yyv1323 = []HorizontalPodAutoscaler{} + yyc1323 = true + } else if len(yyv1323) != 0 { + yyv1323 = yyv1323[:0] + yyc1323 = true } - } else if yyl1258 > 0 { - var yyrr1258, yyrl1258 int - var yyrt1258 bool - if yyl1258 > cap(yyv1258) { + } else if yyl1323 > 0 { + var yyrr1323, yyrl1323 int + var yyrt1323 bool + if yyl1323 > cap(yyv1323) { - yyrg1258 := len(yyv1258) > 0 - yyv21258 := yyv1258 - yyrl1258, yyrt1258 = z.DecInferLen(yyl1258, z.DecBasicHandle().MaxInitLen, 312) - if yyrt1258 { - if yyrl1258 <= cap(yyv1258) { - yyv1258 = yyv1258[:yyrl1258] + yyrg1323 := len(yyv1323) > 0 + yyv21323 := yyv1323 + yyrl1323, yyrt1323 = z.DecInferLen(yyl1323, z.DecBasicHandle().MaxInitLen, 312) + if yyrt1323 { + if yyrl1323 <= cap(yyv1323) { + yyv1323 = yyv1323[:yyrl1323] } else { - yyv1258 = make([]HorizontalPodAutoscaler, yyrl1258) + yyv1323 = make([]HorizontalPodAutoscaler, yyrl1323) } } else { - yyv1258 = make([]HorizontalPodAutoscaler, yyrl1258) + yyv1323 = make([]HorizontalPodAutoscaler, yyrl1323) } - yyc1258 = true - yyrr1258 = len(yyv1258) - if yyrg1258 { - copy(yyv1258, yyv21258) + yyc1323 = true + yyrr1323 = len(yyv1323) + if yyrg1323 { + copy(yyv1323, yyv21323) } - } else if yyl1258 != len(yyv1258) { - yyv1258 = yyv1258[:yyl1258] - yyc1258 = true + } else if yyl1323 != len(yyv1323) { + yyv1323 = yyv1323[:yyl1323] + yyc1323 = true } - yyj1258 := 0 - for ; yyj1258 < yyrr1258; yyj1258++ { - yyh1258.ElemContainerState(yyj1258) + yyj1323 := 0 + for ; yyj1323 < yyrr1323; yyj1323++ { + yyh1323.ElemContainerState(yyj1323) if r.TryDecodeAsNil() { - yyv1258[yyj1258] = HorizontalPodAutoscaler{} + yyv1323[yyj1323] = HorizontalPodAutoscaler{} } else { - yyv1259 := &yyv1258[yyj1258] - yyv1259.CodecDecodeSelf(d) + yyv1324 := &yyv1323[yyj1323] + yyv1324.CodecDecodeSelf(d) } } - if yyrt1258 { - for ; yyj1258 < yyl1258; yyj1258++ { - yyv1258 = append(yyv1258, HorizontalPodAutoscaler{}) - yyh1258.ElemContainerState(yyj1258) + if yyrt1323 { + for ; yyj1323 < yyl1323; yyj1323++ { + yyv1323 = append(yyv1323, HorizontalPodAutoscaler{}) + yyh1323.ElemContainerState(yyj1323) if r.TryDecodeAsNil() { - yyv1258[yyj1258] = HorizontalPodAutoscaler{} + yyv1323[yyj1323] = HorizontalPodAutoscaler{} } else { - yyv1260 := &yyv1258[yyj1258] - yyv1260.CodecDecodeSelf(d) + yyv1325 := &yyv1323[yyj1323] + yyv1325.CodecDecodeSelf(d) } } } } else { - yyj1258 := 0 - for ; !r.CheckBreak(); yyj1258++ { + yyj1323 := 0 + for ; !r.CheckBreak(); yyj1323++ { - if yyj1258 >= len(yyv1258) { - yyv1258 = append(yyv1258, HorizontalPodAutoscaler{}) // var yyz1258 HorizontalPodAutoscaler - yyc1258 = true + if yyj1323 >= len(yyv1323) { + yyv1323 = append(yyv1323, HorizontalPodAutoscaler{}) // var yyz1323 HorizontalPodAutoscaler + yyc1323 = true } - yyh1258.ElemContainerState(yyj1258) - if yyj1258 < len(yyv1258) { + yyh1323.ElemContainerState(yyj1323) + if yyj1323 < len(yyv1323) { if r.TryDecodeAsNil() { - yyv1258[yyj1258] = HorizontalPodAutoscaler{} + yyv1323[yyj1323] = HorizontalPodAutoscaler{} } else { - yyv1261 := &yyv1258[yyj1258] - yyv1261.CodecDecodeSelf(d) + yyv1326 := &yyv1323[yyj1323] + yyv1326.CodecDecodeSelf(d) } } else { @@ -15098,17 +15512,17 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } - if yyj1258 < len(yyv1258) { - yyv1258 = yyv1258[:yyj1258] - yyc1258 = true - } else if yyj1258 == 0 && yyv1258 == nil { - yyv1258 = []HorizontalPodAutoscaler{} - yyc1258 = true + if yyj1323 < len(yyv1323) { + yyv1323 = yyv1323[:yyj1323] + yyc1323 = true + } else if yyj1323 == 0 && yyv1323 == nil { + yyv1323 = []HorizontalPodAutoscaler{} + yyc1323 = true } } - yyh1258.End() - if yyc1258 { - *v = yyv1258 + yyh1323.End() + if yyc1323 { + *v = yyv1323 } } @@ -15117,10 +15531,10 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1262 := range v { + for _, yyv1327 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1263 := &yyv1262 - yy1263.CodecEncodeSelf(e) + yy1328 := &yyv1327 + yy1328.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15130,83 +15544,83 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1264 := *v - yyh1264, yyl1264 := z.DecSliceHelperStart() - var yyc1264 bool - if yyl1264 == 0 { - if yyv1264 == nil { - yyv1264 = []APIVersion{} - yyc1264 = true - } else if len(yyv1264) != 0 { - yyv1264 = yyv1264[:0] - yyc1264 = true + yyv1329 := *v + yyh1329, yyl1329 := z.DecSliceHelperStart() + var yyc1329 bool + if yyl1329 == 0 { + if yyv1329 == nil { + yyv1329 = []APIVersion{} + yyc1329 = true + } else if len(yyv1329) != 0 { + yyv1329 = yyv1329[:0] + yyc1329 = true } - } else if yyl1264 > 0 { - var yyrr1264, yyrl1264 int - var yyrt1264 bool - if yyl1264 > cap(yyv1264) { + } else if yyl1329 > 0 { + var yyrr1329, yyrl1329 int + var yyrt1329 bool + if yyl1329 > cap(yyv1329) { - yyrg1264 := len(yyv1264) > 0 - yyv21264 := yyv1264 - yyrl1264, yyrt1264 = z.DecInferLen(yyl1264, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1264 { - if yyrl1264 <= cap(yyv1264) { - yyv1264 = yyv1264[:yyrl1264] + yyrg1329 := len(yyv1329) > 0 + yyv21329 := yyv1329 + yyrl1329, yyrt1329 = z.DecInferLen(yyl1329, z.DecBasicHandle().MaxInitLen, 32) + if yyrt1329 { + if yyrl1329 <= cap(yyv1329) { + yyv1329 = yyv1329[:yyrl1329] } else { - yyv1264 = make([]APIVersion, yyrl1264) + yyv1329 = make([]APIVersion, yyrl1329) } } else { - yyv1264 = make([]APIVersion, yyrl1264) + yyv1329 = make([]APIVersion, yyrl1329) } - yyc1264 = true - yyrr1264 = len(yyv1264) - if yyrg1264 { - copy(yyv1264, yyv21264) + yyc1329 = true + yyrr1329 = len(yyv1329) + if yyrg1329 { + copy(yyv1329, yyv21329) } - } else if yyl1264 != len(yyv1264) { - yyv1264 = yyv1264[:yyl1264] - yyc1264 = true + } else if yyl1329 != len(yyv1329) { + yyv1329 = yyv1329[:yyl1329] + yyc1329 = true } - yyj1264 := 0 - for ; yyj1264 < yyrr1264; yyj1264++ { - yyh1264.ElemContainerState(yyj1264) + yyj1329 := 0 + for ; yyj1329 < yyrr1329; yyj1329++ { + yyh1329.ElemContainerState(yyj1329) if r.TryDecodeAsNil() { - yyv1264[yyj1264] = APIVersion{} + yyv1329[yyj1329] = APIVersion{} } else { - yyv1265 := &yyv1264[yyj1264] - yyv1265.CodecDecodeSelf(d) + yyv1330 := &yyv1329[yyj1329] + yyv1330.CodecDecodeSelf(d) } } - if yyrt1264 { - for ; yyj1264 < yyl1264; yyj1264++ { - yyv1264 = append(yyv1264, APIVersion{}) - yyh1264.ElemContainerState(yyj1264) + if yyrt1329 { + for ; yyj1329 < yyl1329; yyj1329++ { + yyv1329 = append(yyv1329, APIVersion{}) + yyh1329.ElemContainerState(yyj1329) if r.TryDecodeAsNil() { - yyv1264[yyj1264] = APIVersion{} + yyv1329[yyj1329] = APIVersion{} } else { - yyv1266 := &yyv1264[yyj1264] - yyv1266.CodecDecodeSelf(d) + yyv1331 := &yyv1329[yyj1329] + yyv1331.CodecDecodeSelf(d) } } } } else { - yyj1264 := 0 - for ; !r.CheckBreak(); yyj1264++ { + yyj1329 := 0 + for ; !r.CheckBreak(); yyj1329++ { - if yyj1264 >= len(yyv1264) { - yyv1264 = append(yyv1264, APIVersion{}) // var yyz1264 APIVersion - yyc1264 = true + if yyj1329 >= len(yyv1329) { + yyv1329 = append(yyv1329, APIVersion{}) // var yyz1329 APIVersion + yyc1329 = true } - yyh1264.ElemContainerState(yyj1264) - if yyj1264 < len(yyv1264) { + yyh1329.ElemContainerState(yyj1329) + if yyj1329 < len(yyv1329) { if r.TryDecodeAsNil() { - yyv1264[yyj1264] = APIVersion{} + yyv1329[yyj1329] = APIVersion{} } else { - yyv1267 := &yyv1264[yyj1264] - yyv1267.CodecDecodeSelf(d) + yyv1332 := &yyv1329[yyj1329] + yyv1332.CodecDecodeSelf(d) } } else { @@ -15214,17 +15628,17 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } - if yyj1264 < len(yyv1264) { - yyv1264 = yyv1264[:yyj1264] - yyc1264 = true - } else if yyj1264 == 0 && yyv1264 == nil { - yyv1264 = []APIVersion{} - yyc1264 = true + if yyj1329 < len(yyv1329) { + yyv1329 = yyv1329[:yyj1329] + yyc1329 = true + } else if yyj1329 == 0 && yyv1329 == nil { + yyv1329 = []APIVersion{} + yyc1329 = true } } - yyh1264.End() - if yyc1264 { - *v = yyv1264 + yyh1329.End() + if yyc1329 { + *v = yyv1329 } } @@ -15233,10 +15647,10 @@ func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1268 := range v { + for _, yyv1333 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1269 := &yyv1268 - yy1269.CodecEncodeSelf(e) + yy1334 := &yyv1333 + yy1334.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15246,83 +15660,83 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1270 := *v - yyh1270, yyl1270 := z.DecSliceHelperStart() - var yyc1270 bool - if yyl1270 == 0 { - if yyv1270 == nil { - yyv1270 = []ThirdPartyResource{} - yyc1270 = true - } else if len(yyv1270) != 0 { - yyv1270 = yyv1270[:0] - yyc1270 = true + yyv1335 := *v + yyh1335, yyl1335 := z.DecSliceHelperStart() + var yyc1335 bool + if yyl1335 == 0 { + if yyv1335 == nil { + yyv1335 = []ThirdPartyResource{} + yyc1335 = true + } else if len(yyv1335) != 0 { + yyv1335 = yyv1335[:0] + yyc1335 = true } - } else if yyl1270 > 0 { - var yyrr1270, yyrl1270 int - var yyrt1270 bool - if yyl1270 > cap(yyv1270) { + } else if yyl1335 > 0 { + var yyrr1335, yyrl1335 int + var yyrt1335 bool + if yyl1335 > cap(yyv1335) { - yyrg1270 := len(yyv1270) > 0 - yyv21270 := yyv1270 - yyrl1270, yyrt1270 = z.DecInferLen(yyl1270, z.DecBasicHandle().MaxInitLen, 232) - if yyrt1270 { - if yyrl1270 <= cap(yyv1270) { - yyv1270 = yyv1270[:yyrl1270] + yyrg1335 := len(yyv1335) > 0 + yyv21335 := yyv1335 + yyrl1335, yyrt1335 = z.DecInferLen(yyl1335, z.DecBasicHandle().MaxInitLen, 232) + if yyrt1335 { + if yyrl1335 <= cap(yyv1335) { + yyv1335 = yyv1335[:yyrl1335] } else { - yyv1270 = make([]ThirdPartyResource, yyrl1270) + yyv1335 = make([]ThirdPartyResource, yyrl1335) } } else { - yyv1270 = make([]ThirdPartyResource, yyrl1270) + yyv1335 = make([]ThirdPartyResource, yyrl1335) } - yyc1270 = true - yyrr1270 = len(yyv1270) - if yyrg1270 { - copy(yyv1270, yyv21270) + yyc1335 = true + yyrr1335 = len(yyv1335) + if yyrg1335 { + copy(yyv1335, yyv21335) } - } else if yyl1270 != len(yyv1270) { - yyv1270 = yyv1270[:yyl1270] - yyc1270 = true + } else if yyl1335 != len(yyv1335) { + yyv1335 = yyv1335[:yyl1335] + yyc1335 = true } - yyj1270 := 0 - for ; yyj1270 < yyrr1270; yyj1270++ { - yyh1270.ElemContainerState(yyj1270) + yyj1335 := 0 + for ; yyj1335 < yyrr1335; yyj1335++ { + yyh1335.ElemContainerState(yyj1335) if r.TryDecodeAsNil() { - yyv1270[yyj1270] = ThirdPartyResource{} + yyv1335[yyj1335] = ThirdPartyResource{} } else { - yyv1271 := &yyv1270[yyj1270] - yyv1271.CodecDecodeSelf(d) + yyv1336 := &yyv1335[yyj1335] + yyv1336.CodecDecodeSelf(d) } } - if yyrt1270 { - for ; yyj1270 < yyl1270; yyj1270++ { - yyv1270 = append(yyv1270, ThirdPartyResource{}) - yyh1270.ElemContainerState(yyj1270) + if yyrt1335 { + for ; yyj1335 < yyl1335; yyj1335++ { + yyv1335 = append(yyv1335, ThirdPartyResource{}) + yyh1335.ElemContainerState(yyj1335) if r.TryDecodeAsNil() { - yyv1270[yyj1270] = ThirdPartyResource{} + yyv1335[yyj1335] = ThirdPartyResource{} } else { - yyv1272 := &yyv1270[yyj1270] - yyv1272.CodecDecodeSelf(d) + yyv1337 := &yyv1335[yyj1335] + yyv1337.CodecDecodeSelf(d) } } } } else { - yyj1270 := 0 - for ; !r.CheckBreak(); yyj1270++ { + yyj1335 := 0 + for ; !r.CheckBreak(); yyj1335++ { - if yyj1270 >= len(yyv1270) { - yyv1270 = append(yyv1270, ThirdPartyResource{}) // var yyz1270 ThirdPartyResource - yyc1270 = true + if yyj1335 >= len(yyv1335) { + yyv1335 = append(yyv1335, ThirdPartyResource{}) // var yyz1335 ThirdPartyResource + yyc1335 = true } - yyh1270.ElemContainerState(yyj1270) - if yyj1270 < len(yyv1270) { + yyh1335.ElemContainerState(yyj1335) + if yyj1335 < len(yyv1335) { if r.TryDecodeAsNil() { - yyv1270[yyj1270] = ThirdPartyResource{} + yyv1335[yyj1335] = ThirdPartyResource{} } else { - yyv1273 := &yyv1270[yyj1270] - yyv1273.CodecDecodeSelf(d) + yyv1338 := &yyv1335[yyj1335] + yyv1338.CodecDecodeSelf(d) } } else { @@ -15330,17 +15744,17 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } - if yyj1270 < len(yyv1270) { - yyv1270 = yyv1270[:yyj1270] - yyc1270 = true - } else if yyj1270 == 0 && yyv1270 == nil { - yyv1270 = []ThirdPartyResource{} - yyc1270 = true + if yyj1335 < len(yyv1335) { + yyv1335 = yyv1335[:yyj1335] + yyc1335 = true + } else if yyj1335 == 0 && yyv1335 == nil { + yyv1335 = []ThirdPartyResource{} + yyc1335 = true } } - yyh1270.End() - if yyc1270 { - *v = yyv1270 + yyh1335.End() + if yyc1335 { + *v = yyv1335 } } @@ -15349,10 +15763,10 @@ func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1274 := range v { + for _, yyv1339 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1275 := &yyv1274 - yy1275.CodecEncodeSelf(e) + yy1340 := &yyv1339 + yy1340.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15362,83 +15776,83 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1276 := *v - yyh1276, yyl1276 := z.DecSliceHelperStart() - var yyc1276 bool - if yyl1276 == 0 { - if yyv1276 == nil { - yyv1276 = []Deployment{} - yyc1276 = true - } else if len(yyv1276) != 0 { - yyv1276 = yyv1276[:0] - yyc1276 = true + yyv1341 := *v + yyh1341, yyl1341 := z.DecSliceHelperStart() + var yyc1341 bool + if yyl1341 == 0 { + if yyv1341 == nil { + yyv1341 = []Deployment{} + yyc1341 = true + } else if len(yyv1341) != 0 { + yyv1341 = yyv1341[:0] + yyc1341 = true } - } else if yyl1276 > 0 { - var yyrr1276, yyrl1276 int - var yyrt1276 bool - if yyl1276 > cap(yyv1276) { + } else if yyl1341 > 0 { + var yyrr1341, yyrl1341 int + var yyrt1341 bool + if yyl1341 > cap(yyv1341) { - yyrg1276 := len(yyv1276) > 0 - yyv21276 := yyv1276 - yyrl1276, yyrt1276 = z.DecInferLen(yyl1276, z.DecBasicHandle().MaxInitLen, 600) - if yyrt1276 { - if yyrl1276 <= cap(yyv1276) { - yyv1276 = yyv1276[:yyrl1276] + yyrg1341 := len(yyv1341) > 0 + yyv21341 := yyv1341 + yyrl1341, yyrt1341 = z.DecInferLen(yyl1341, z.DecBasicHandle().MaxInitLen, 600) + if yyrt1341 { + if yyrl1341 <= cap(yyv1341) { + yyv1341 = yyv1341[:yyrl1341] } else { - yyv1276 = make([]Deployment, yyrl1276) + yyv1341 = make([]Deployment, yyrl1341) } } else { - yyv1276 = make([]Deployment, yyrl1276) + yyv1341 = make([]Deployment, yyrl1341) } - yyc1276 = true - yyrr1276 = len(yyv1276) - if yyrg1276 { - copy(yyv1276, yyv21276) + yyc1341 = true + yyrr1341 = len(yyv1341) + if yyrg1341 { + copy(yyv1341, yyv21341) } - } else if yyl1276 != len(yyv1276) { - yyv1276 = yyv1276[:yyl1276] - yyc1276 = true + } else if yyl1341 != len(yyv1341) { + yyv1341 = yyv1341[:yyl1341] + yyc1341 = true } - yyj1276 := 0 - for ; yyj1276 < yyrr1276; yyj1276++ { - yyh1276.ElemContainerState(yyj1276) + yyj1341 := 0 + for ; yyj1341 < yyrr1341; yyj1341++ { + yyh1341.ElemContainerState(yyj1341) if r.TryDecodeAsNil() { - yyv1276[yyj1276] = Deployment{} + yyv1341[yyj1341] = Deployment{} } else { - yyv1277 := &yyv1276[yyj1276] - yyv1277.CodecDecodeSelf(d) + yyv1342 := &yyv1341[yyj1341] + yyv1342.CodecDecodeSelf(d) } } - if yyrt1276 { - for ; yyj1276 < yyl1276; yyj1276++ { - yyv1276 = append(yyv1276, Deployment{}) - yyh1276.ElemContainerState(yyj1276) + if yyrt1341 { + for ; yyj1341 < yyl1341; yyj1341++ { + yyv1341 = append(yyv1341, Deployment{}) + yyh1341.ElemContainerState(yyj1341) if r.TryDecodeAsNil() { - yyv1276[yyj1276] = Deployment{} + yyv1341[yyj1341] = Deployment{} } else { - yyv1278 := &yyv1276[yyj1276] - yyv1278.CodecDecodeSelf(d) + yyv1343 := &yyv1341[yyj1341] + yyv1343.CodecDecodeSelf(d) } } } } else { - yyj1276 := 0 - for ; !r.CheckBreak(); yyj1276++ { + yyj1341 := 0 + for ; !r.CheckBreak(); yyj1341++ { - if yyj1276 >= len(yyv1276) { - yyv1276 = append(yyv1276, Deployment{}) // var yyz1276 Deployment - yyc1276 = true + if yyj1341 >= len(yyv1341) { + yyv1341 = append(yyv1341, Deployment{}) // var yyz1341 Deployment + yyc1341 = true } - yyh1276.ElemContainerState(yyj1276) - if yyj1276 < len(yyv1276) { + yyh1341.ElemContainerState(yyj1341) + if yyj1341 < len(yyv1341) { if r.TryDecodeAsNil() { - yyv1276[yyj1276] = Deployment{} + yyv1341[yyj1341] = Deployment{} } else { - yyv1279 := &yyv1276[yyj1276] - yyv1279.CodecDecodeSelf(d) + yyv1344 := &yyv1341[yyj1341] + yyv1344.CodecDecodeSelf(d) } } else { @@ -15446,17 +15860,17 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } - if yyj1276 < len(yyv1276) { - yyv1276 = yyv1276[:yyj1276] - yyc1276 = true - } else if yyj1276 == 0 && yyv1276 == nil { - yyv1276 = []Deployment{} - yyc1276 = true + if yyj1341 < len(yyv1341) { + yyv1341 = yyv1341[:yyj1341] + yyc1341 = true + } else if yyj1341 == 0 && yyv1341 == nil { + yyv1341 = []Deployment{} + yyc1341 = true } } - yyh1276.End() - if yyc1276 { - *v = yyv1276 + yyh1341.End() + if yyc1341 { + *v = yyv1341 } } @@ -15465,10 +15879,10 @@ func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1280 := range v { + for _, yyv1345 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1281 := &yyv1280 - yy1281.CodecEncodeSelf(e) + yy1346 := &yyv1345 + yy1346.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15478,83 +15892,83 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1282 := *v - yyh1282, yyl1282 := z.DecSliceHelperStart() - var yyc1282 bool - if yyl1282 == 0 { - if yyv1282 == nil { - yyv1282 = []DaemonSet{} - yyc1282 = true - } else if len(yyv1282) != 0 { - yyv1282 = yyv1282[:0] - yyc1282 = true + yyv1347 := *v + yyh1347, yyl1347 := z.DecSliceHelperStart() + var yyc1347 bool + if yyl1347 == 0 { + if yyv1347 == nil { + yyv1347 = []DaemonSet{} + yyc1347 = true + } else if len(yyv1347) != 0 { + yyv1347 = yyv1347[:0] + yyc1347 = true } - } else if yyl1282 > 0 { - var yyrr1282, yyrl1282 int - var yyrt1282 bool - if yyl1282 > cap(yyv1282) { + } else if yyl1347 > 0 { + var yyrr1347, yyrl1347 int + var yyrt1347 bool + if yyl1347 > cap(yyv1347) { - yyrg1282 := len(yyv1282) > 0 - yyv21282 := yyv1282 - yyrl1282, yyrt1282 = z.DecInferLen(yyl1282, z.DecBasicHandle().MaxInitLen, 224) - if yyrt1282 { - if yyrl1282 <= cap(yyv1282) { - yyv1282 = yyv1282[:yyrl1282] + yyrg1347 := len(yyv1347) > 0 + yyv21347 := yyv1347 + yyrl1347, yyrt1347 = z.DecInferLen(yyl1347, z.DecBasicHandle().MaxInitLen, 224) + if yyrt1347 { + if yyrl1347 <= cap(yyv1347) { + yyv1347 = yyv1347[:yyrl1347] } else { - yyv1282 = make([]DaemonSet, yyrl1282) + yyv1347 = make([]DaemonSet, yyrl1347) } } else { - yyv1282 = make([]DaemonSet, yyrl1282) + yyv1347 = make([]DaemonSet, yyrl1347) } - yyc1282 = true - yyrr1282 = len(yyv1282) - if yyrg1282 { - copy(yyv1282, yyv21282) + yyc1347 = true + yyrr1347 = len(yyv1347) + if yyrg1347 { + copy(yyv1347, yyv21347) } - } else if yyl1282 != len(yyv1282) { - yyv1282 = yyv1282[:yyl1282] - yyc1282 = true + } else if yyl1347 != len(yyv1347) { + yyv1347 = yyv1347[:yyl1347] + yyc1347 = true } - yyj1282 := 0 - for ; yyj1282 < yyrr1282; yyj1282++ { - yyh1282.ElemContainerState(yyj1282) + yyj1347 := 0 + for ; yyj1347 < yyrr1347; yyj1347++ { + yyh1347.ElemContainerState(yyj1347) if r.TryDecodeAsNil() { - yyv1282[yyj1282] = DaemonSet{} + yyv1347[yyj1347] = DaemonSet{} } else { - yyv1283 := &yyv1282[yyj1282] - yyv1283.CodecDecodeSelf(d) + yyv1348 := &yyv1347[yyj1347] + yyv1348.CodecDecodeSelf(d) } } - if yyrt1282 { - for ; yyj1282 < yyl1282; yyj1282++ { - yyv1282 = append(yyv1282, DaemonSet{}) - yyh1282.ElemContainerState(yyj1282) + if yyrt1347 { + for ; yyj1347 < yyl1347; yyj1347++ { + yyv1347 = append(yyv1347, DaemonSet{}) + yyh1347.ElemContainerState(yyj1347) if r.TryDecodeAsNil() { - yyv1282[yyj1282] = DaemonSet{} + yyv1347[yyj1347] = DaemonSet{} } else { - yyv1284 := &yyv1282[yyj1282] - yyv1284.CodecDecodeSelf(d) + yyv1349 := &yyv1347[yyj1347] + yyv1349.CodecDecodeSelf(d) } } } } else { - yyj1282 := 0 - for ; !r.CheckBreak(); yyj1282++ { + yyj1347 := 0 + for ; !r.CheckBreak(); yyj1347++ { - if yyj1282 >= len(yyv1282) { - yyv1282 = append(yyv1282, DaemonSet{}) // var yyz1282 DaemonSet - yyc1282 = true + if yyj1347 >= len(yyv1347) { + yyv1347 = append(yyv1347, DaemonSet{}) // var yyz1347 DaemonSet + yyc1347 = true } - yyh1282.ElemContainerState(yyj1282) - if yyj1282 < len(yyv1282) { + yyh1347.ElemContainerState(yyj1347) + if yyj1347 < len(yyv1347) { if r.TryDecodeAsNil() { - yyv1282[yyj1282] = DaemonSet{} + yyv1347[yyj1347] = DaemonSet{} } else { - yyv1285 := &yyv1282[yyj1282] - yyv1285.CodecDecodeSelf(d) + yyv1350 := &yyv1347[yyj1347] + yyv1350.CodecDecodeSelf(d) } } else { @@ -15562,17 +15976,17 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } } - if yyj1282 < len(yyv1282) { - yyv1282 = yyv1282[:yyj1282] - yyc1282 = true - } else if yyj1282 == 0 && yyv1282 == nil { - yyv1282 = []DaemonSet{} - yyc1282 = true + if yyj1347 < len(yyv1347) { + yyv1347 = yyv1347[:yyj1347] + yyc1347 = true + } else if yyj1347 == 0 && yyv1347 == nil { + yyv1347 = []DaemonSet{} + yyc1347 = true } } - yyh1282.End() - if yyc1282 { - *v = yyv1282 + yyh1347.End() + if yyc1347 { + *v = yyv1347 } } @@ -15581,10 +15995,10 @@ func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceDa z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1286 := range v { + for _, yyv1351 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1287 := &yyv1286 - yy1287.CodecEncodeSelf(e) + yy1352 := &yyv1351 + yy1352.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15594,83 +16008,83 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1288 := *v - yyh1288, yyl1288 := z.DecSliceHelperStart() - var yyc1288 bool - if yyl1288 == 0 { - if yyv1288 == nil { - yyv1288 = []ThirdPartyResourceData{} - yyc1288 = true - } else if len(yyv1288) != 0 { - yyv1288 = yyv1288[:0] - yyc1288 = true + yyv1353 := *v + yyh1353, yyl1353 := z.DecSliceHelperStart() + var yyc1353 bool + if yyl1353 == 0 { + if yyv1353 == nil { + yyv1353 = []ThirdPartyResourceData{} + yyc1353 = true + } else if len(yyv1353) != 0 { + yyv1353 = yyv1353[:0] + yyc1353 = true } - } else if yyl1288 > 0 { - var yyrr1288, yyrl1288 int - var yyrt1288 bool - if yyl1288 > cap(yyv1288) { + } else if yyl1353 > 0 { + var yyrr1353, yyrl1353 int + var yyrt1353 bool + if yyl1353 > cap(yyv1353) { - yyrg1288 := len(yyv1288) > 0 - yyv21288 := yyv1288 - yyrl1288, yyrt1288 = z.DecInferLen(yyl1288, z.DecBasicHandle().MaxInitLen, 216) - if yyrt1288 { - if yyrl1288 <= cap(yyv1288) { - yyv1288 = yyv1288[:yyrl1288] + yyrg1353 := len(yyv1353) > 0 + yyv21353 := yyv1353 + yyrl1353, yyrt1353 = z.DecInferLen(yyl1353, z.DecBasicHandle().MaxInitLen, 216) + if yyrt1353 { + if yyrl1353 <= cap(yyv1353) { + yyv1353 = yyv1353[:yyrl1353] } else { - yyv1288 = make([]ThirdPartyResourceData, yyrl1288) + yyv1353 = make([]ThirdPartyResourceData, yyrl1353) } } else { - yyv1288 = make([]ThirdPartyResourceData, yyrl1288) + yyv1353 = make([]ThirdPartyResourceData, yyrl1353) } - yyc1288 = true - yyrr1288 = len(yyv1288) - if yyrg1288 { - copy(yyv1288, yyv21288) + yyc1353 = true + yyrr1353 = len(yyv1353) + if yyrg1353 { + copy(yyv1353, yyv21353) } - } else if yyl1288 != len(yyv1288) { - yyv1288 = yyv1288[:yyl1288] - yyc1288 = true + } else if yyl1353 != len(yyv1353) { + yyv1353 = yyv1353[:yyl1353] + yyc1353 = true } - yyj1288 := 0 - for ; yyj1288 < yyrr1288; yyj1288++ { - yyh1288.ElemContainerState(yyj1288) + yyj1353 := 0 + for ; yyj1353 < yyrr1353; yyj1353++ { + yyh1353.ElemContainerState(yyj1353) if r.TryDecodeAsNil() { - yyv1288[yyj1288] = ThirdPartyResourceData{} + yyv1353[yyj1353] = ThirdPartyResourceData{} } else { - yyv1289 := &yyv1288[yyj1288] - yyv1289.CodecDecodeSelf(d) + yyv1354 := &yyv1353[yyj1353] + yyv1354.CodecDecodeSelf(d) } } - if yyrt1288 { - for ; yyj1288 < yyl1288; yyj1288++ { - yyv1288 = append(yyv1288, ThirdPartyResourceData{}) - yyh1288.ElemContainerState(yyj1288) + if yyrt1353 { + for ; yyj1353 < yyl1353; yyj1353++ { + yyv1353 = append(yyv1353, ThirdPartyResourceData{}) + yyh1353.ElemContainerState(yyj1353) if r.TryDecodeAsNil() { - yyv1288[yyj1288] = ThirdPartyResourceData{} + yyv1353[yyj1353] = ThirdPartyResourceData{} } else { - yyv1290 := &yyv1288[yyj1288] - yyv1290.CodecDecodeSelf(d) + yyv1355 := &yyv1353[yyj1353] + yyv1355.CodecDecodeSelf(d) } } } } else { - yyj1288 := 0 - for ; !r.CheckBreak(); yyj1288++ { + yyj1353 := 0 + for ; !r.CheckBreak(); yyj1353++ { - if yyj1288 >= len(yyv1288) { - yyv1288 = append(yyv1288, ThirdPartyResourceData{}) // var yyz1288 ThirdPartyResourceData - yyc1288 = true + if yyj1353 >= len(yyv1353) { + yyv1353 = append(yyv1353, ThirdPartyResourceData{}) // var yyz1353 ThirdPartyResourceData + yyc1353 = true } - yyh1288.ElemContainerState(yyj1288) - if yyj1288 < len(yyv1288) { + yyh1353.ElemContainerState(yyj1353) + if yyj1353 < len(yyv1353) { if r.TryDecodeAsNil() { - yyv1288[yyj1288] = ThirdPartyResourceData{} + yyv1353[yyj1353] = ThirdPartyResourceData{} } else { - yyv1291 := &yyv1288[yyj1288] - yyv1291.CodecDecodeSelf(d) + yyv1356 := &yyv1353[yyj1353] + yyv1356.CodecDecodeSelf(d) } } else { @@ -15678,17 +16092,17 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } } - if yyj1288 < len(yyv1288) { - yyv1288 = yyv1288[:yyj1288] - yyc1288 = true - } else if yyj1288 == 0 && yyv1288 == nil { - yyv1288 = []ThirdPartyResourceData{} - yyc1288 = true + if yyj1353 < len(yyv1353) { + yyv1353 = yyv1353[:yyj1353] + yyc1353 = true + } else if yyj1353 == 0 && yyv1353 == nil { + yyv1353 = []ThirdPartyResourceData{} + yyc1353 = true } } - yyh1288.End() - if yyc1288 { - *v = yyv1288 + yyh1353.End() + if yyc1353 { + *v = yyv1353 } } @@ -15697,10 +16111,10 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1292 := range v { + for _, yyv1357 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1293 := &yyv1292 - yy1293.CodecEncodeSelf(e) + yy1358 := &yyv1357 + yy1358.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15710,83 +16124,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1294 := *v - yyh1294, yyl1294 := z.DecSliceHelperStart() - var yyc1294 bool - if yyl1294 == 0 { - if yyv1294 == nil { - yyv1294 = []Job{} - yyc1294 = true - } else if len(yyv1294) != 0 { - yyv1294 = yyv1294[:0] - yyc1294 = true + yyv1359 := *v + yyh1359, yyl1359 := z.DecSliceHelperStart() + var yyc1359 bool + if yyl1359 == 0 { + if yyv1359 == nil { + yyv1359 = []Job{} + yyc1359 = true + } else if len(yyv1359) != 0 { + yyv1359 = yyv1359[:0] + yyc1359 = true } - } else if yyl1294 > 0 { - var yyrr1294, yyrl1294 int - var yyrt1294 bool - if yyl1294 > cap(yyv1294) { + } else if yyl1359 > 0 { + var yyrr1359, yyrl1359 int + var yyrt1359 bool + if yyl1359 > cap(yyv1359) { - yyrg1294 := len(yyv1294) > 0 - yyv21294 := yyv1294 - yyrl1294, yyrt1294 = z.DecInferLen(yyl1294, z.DecBasicHandle().MaxInitLen, 624) - if yyrt1294 { - if yyrl1294 <= cap(yyv1294) { - yyv1294 = yyv1294[:yyrl1294] + yyrg1359 := len(yyv1359) > 0 + yyv21359 := yyv1359 + yyrl1359, yyrt1359 = z.DecInferLen(yyl1359, z.DecBasicHandle().MaxInitLen, 632) + if yyrt1359 { + if yyrl1359 <= cap(yyv1359) { + yyv1359 = yyv1359[:yyrl1359] } else { - yyv1294 = make([]Job, yyrl1294) + yyv1359 = make([]Job, yyrl1359) } } else { - yyv1294 = make([]Job, yyrl1294) + yyv1359 = make([]Job, yyrl1359) } - yyc1294 = true - yyrr1294 = len(yyv1294) - if yyrg1294 { - copy(yyv1294, yyv21294) + yyc1359 = true + yyrr1359 = len(yyv1359) + if yyrg1359 { + copy(yyv1359, yyv21359) } - } else if yyl1294 != len(yyv1294) { - yyv1294 = yyv1294[:yyl1294] - yyc1294 = true + } else if yyl1359 != len(yyv1359) { + yyv1359 = yyv1359[:yyl1359] + yyc1359 = true } - yyj1294 := 0 - for ; yyj1294 < yyrr1294; yyj1294++ { - yyh1294.ElemContainerState(yyj1294) + yyj1359 := 0 + for ; yyj1359 < yyrr1359; yyj1359++ { + yyh1359.ElemContainerState(yyj1359) if r.TryDecodeAsNil() { - yyv1294[yyj1294] = Job{} + yyv1359[yyj1359] = Job{} } else { - yyv1295 := &yyv1294[yyj1294] - yyv1295.CodecDecodeSelf(d) + yyv1360 := &yyv1359[yyj1359] + yyv1360.CodecDecodeSelf(d) } } - if yyrt1294 { - for ; yyj1294 < yyl1294; yyj1294++ { - yyv1294 = append(yyv1294, Job{}) - yyh1294.ElemContainerState(yyj1294) + if yyrt1359 { + for ; yyj1359 < yyl1359; yyj1359++ { + yyv1359 = append(yyv1359, Job{}) + yyh1359.ElemContainerState(yyj1359) if r.TryDecodeAsNil() { - yyv1294[yyj1294] = Job{} + yyv1359[yyj1359] = Job{} } else { - yyv1296 := &yyv1294[yyj1294] - yyv1296.CodecDecodeSelf(d) + yyv1361 := &yyv1359[yyj1359] + yyv1361.CodecDecodeSelf(d) } } } } else { - yyj1294 := 0 - for ; !r.CheckBreak(); yyj1294++ { + yyj1359 := 0 + for ; !r.CheckBreak(); yyj1359++ { - if yyj1294 >= len(yyv1294) { - yyv1294 = append(yyv1294, Job{}) // var yyz1294 Job - yyc1294 = true + if yyj1359 >= len(yyv1359) { + yyv1359 = append(yyv1359, Job{}) // var yyz1359 Job + yyc1359 = true } - yyh1294.ElemContainerState(yyj1294) - if yyj1294 < len(yyv1294) { + yyh1359.ElemContainerState(yyj1359) + if yyj1359 < len(yyv1359) { if r.TryDecodeAsNil() { - yyv1294[yyj1294] = Job{} + yyv1359[yyj1359] = Job{} } else { - yyv1297 := &yyv1294[yyj1294] - yyv1297.CodecDecodeSelf(d) + yyv1362 := &yyv1359[yyj1359] + yyv1362.CodecDecodeSelf(d) } } else { @@ -15794,17 +16208,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj1294 < len(yyv1294) { - yyv1294 = yyv1294[:yyj1294] - yyc1294 = true - } else if yyj1294 == 0 && yyv1294 == nil { - yyv1294 = []Job{} - yyc1294 = true + if yyj1359 < len(yyv1359) { + yyv1359 = yyv1359[:yyj1359] + yyc1359 = true + } else if yyj1359 == 0 && yyv1359 == nil { + yyv1359 = []Job{} + yyc1359 = true } } - yyh1294.End() - if yyc1294 { - *v = yyv1294 + yyh1359.End() + if yyc1359 { + *v = yyv1359 } } @@ -15813,10 +16227,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1298 := range v { + for _, yyv1363 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1299 := &yyv1298 - yy1299.CodecEncodeSelf(e) + yy1364 := &yyv1363 + yy1364.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15826,83 +16240,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1300 := *v - yyh1300, yyl1300 := z.DecSliceHelperStart() - var yyc1300 bool - if yyl1300 == 0 { - if yyv1300 == nil { - yyv1300 = []JobCondition{} - yyc1300 = true - } else if len(yyv1300) != 0 { - yyv1300 = yyv1300[:0] - yyc1300 = true + yyv1365 := *v + yyh1365, yyl1365 := z.DecSliceHelperStart() + var yyc1365 bool + if yyl1365 == 0 { + if yyv1365 == nil { + yyv1365 = []JobCondition{} + yyc1365 = true + } else if len(yyv1365) != 0 { + yyv1365 = yyv1365[:0] + yyc1365 = true } - } else if yyl1300 > 0 { - var yyrr1300, yyrl1300 int - var yyrt1300 bool - if yyl1300 > cap(yyv1300) { + } else if yyl1365 > 0 { + var yyrr1365, yyrl1365 int + var yyrt1365 bool + if yyl1365 > cap(yyv1365) { - yyrg1300 := len(yyv1300) > 0 - yyv21300 := yyv1300 - yyrl1300, yyrt1300 = z.DecInferLen(yyl1300, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1300 { - if yyrl1300 <= cap(yyv1300) { - yyv1300 = yyv1300[:yyrl1300] + yyrg1365 := len(yyv1365) > 0 + yyv21365 := yyv1365 + yyrl1365, yyrt1365 = z.DecInferLen(yyl1365, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1365 { + if yyrl1365 <= cap(yyv1365) { + yyv1365 = yyv1365[:yyrl1365] } else { - yyv1300 = make([]JobCondition, yyrl1300) + yyv1365 = make([]JobCondition, yyrl1365) } } else { - yyv1300 = make([]JobCondition, yyrl1300) + yyv1365 = make([]JobCondition, yyrl1365) } - yyc1300 = true - yyrr1300 = len(yyv1300) - if yyrg1300 { - copy(yyv1300, yyv21300) + yyc1365 = true + yyrr1365 = len(yyv1365) + if yyrg1365 { + copy(yyv1365, yyv21365) } - } else if yyl1300 != len(yyv1300) { - yyv1300 = yyv1300[:yyl1300] - yyc1300 = true + } else if yyl1365 != len(yyv1365) { + yyv1365 = yyv1365[:yyl1365] + yyc1365 = true } - yyj1300 := 0 - for ; yyj1300 < yyrr1300; yyj1300++ { - yyh1300.ElemContainerState(yyj1300) + yyj1365 := 0 + for ; yyj1365 < yyrr1365; yyj1365++ { + yyh1365.ElemContainerState(yyj1365) if r.TryDecodeAsNil() { - yyv1300[yyj1300] = JobCondition{} + yyv1365[yyj1365] = JobCondition{} } else { - yyv1301 := &yyv1300[yyj1300] - yyv1301.CodecDecodeSelf(d) + yyv1366 := &yyv1365[yyj1365] + yyv1366.CodecDecodeSelf(d) } } - if yyrt1300 { - for ; yyj1300 < yyl1300; yyj1300++ { - yyv1300 = append(yyv1300, JobCondition{}) - yyh1300.ElemContainerState(yyj1300) + if yyrt1365 { + for ; yyj1365 < yyl1365; yyj1365++ { + yyv1365 = append(yyv1365, JobCondition{}) + yyh1365.ElemContainerState(yyj1365) if r.TryDecodeAsNil() { - yyv1300[yyj1300] = JobCondition{} + yyv1365[yyj1365] = JobCondition{} } else { - yyv1302 := &yyv1300[yyj1300] - yyv1302.CodecDecodeSelf(d) + yyv1367 := &yyv1365[yyj1365] + yyv1367.CodecDecodeSelf(d) } } } } else { - yyj1300 := 0 - for ; !r.CheckBreak(); yyj1300++ { + yyj1365 := 0 + for ; !r.CheckBreak(); yyj1365++ { - if yyj1300 >= len(yyv1300) { - yyv1300 = append(yyv1300, JobCondition{}) // var yyz1300 JobCondition - yyc1300 = true + if yyj1365 >= len(yyv1365) { + yyv1365 = append(yyv1365, JobCondition{}) // var yyz1365 JobCondition + yyc1365 = true } - yyh1300.ElemContainerState(yyj1300) - if yyj1300 < len(yyv1300) { + yyh1365.ElemContainerState(yyj1365) + if yyj1365 < len(yyv1365) { if r.TryDecodeAsNil() { - yyv1300[yyj1300] = JobCondition{} + yyv1365[yyj1365] = JobCondition{} } else { - yyv1303 := &yyv1300[yyj1300] - yyv1303.CodecDecodeSelf(d) + yyv1368 := &yyv1365[yyj1365] + yyv1368.CodecDecodeSelf(d) } } else { @@ -15910,17 +16324,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj1300 < len(yyv1300) { - yyv1300 = yyv1300[:yyj1300] - yyc1300 = true - } else if yyj1300 == 0 && yyv1300 == nil { - yyv1300 = []JobCondition{} - yyc1300 = true + if yyj1365 < len(yyv1365) { + yyv1365 = yyv1365[:yyj1365] + yyc1365 = true + } else if yyj1365 == 0 && yyv1365 == nil { + yyv1365 = []JobCondition{} + yyc1365 = true } } - yyh1300.End() - if yyc1300 { - *v = yyv1300 + yyh1365.End() + if yyc1365 { + *v = yyv1365 } } @@ -15929,10 +16343,10 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1304 := range v { + for _, yyv1369 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1305 := &yyv1304 - yy1305.CodecEncodeSelf(e) + yy1370 := &yyv1369 + yy1370.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15942,83 +16356,83 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1306 := *v - yyh1306, yyl1306 := z.DecSliceHelperStart() - var yyc1306 bool - if yyl1306 == 0 { - if yyv1306 == nil { - yyv1306 = []Ingress{} - yyc1306 = true - } else if len(yyv1306) != 0 { - yyv1306 = yyv1306[:0] - yyc1306 = true + yyv1371 := *v + yyh1371, yyl1371 := z.DecSliceHelperStart() + var yyc1371 bool + if yyl1371 == 0 { + if yyv1371 == nil { + yyv1371 = []Ingress{} + yyc1371 = true + } else if len(yyv1371) != 0 { + yyv1371 = yyv1371[:0] + yyc1371 = true } - } else if yyl1306 > 0 { - var yyrr1306, yyrl1306 int - var yyrt1306 bool - if yyl1306 > cap(yyv1306) { + } else if yyl1371 > 0 { + var yyrr1371, yyrl1371 int + var yyrt1371 bool + if yyl1371 > cap(yyv1371) { - yyrg1306 := len(yyv1306) > 0 - yyv21306 := yyv1306 - yyrl1306, yyrt1306 = z.DecInferLen(yyl1306, z.DecBasicHandle().MaxInitLen, 248) - if yyrt1306 { - if yyrl1306 <= cap(yyv1306) { - yyv1306 = yyv1306[:yyrl1306] + yyrg1371 := len(yyv1371) > 0 + yyv21371 := yyv1371 + yyrl1371, yyrt1371 = z.DecInferLen(yyl1371, z.DecBasicHandle().MaxInitLen, 248) + if yyrt1371 { + if yyrl1371 <= cap(yyv1371) { + yyv1371 = yyv1371[:yyrl1371] } else { - yyv1306 = make([]Ingress, yyrl1306) + yyv1371 = make([]Ingress, yyrl1371) } } else { - yyv1306 = make([]Ingress, yyrl1306) + yyv1371 = make([]Ingress, yyrl1371) } - yyc1306 = true - yyrr1306 = len(yyv1306) - if yyrg1306 { - copy(yyv1306, yyv21306) + yyc1371 = true + yyrr1371 = len(yyv1371) + if yyrg1371 { + copy(yyv1371, yyv21371) } - } else if yyl1306 != len(yyv1306) { - yyv1306 = yyv1306[:yyl1306] - yyc1306 = true + } else if yyl1371 != len(yyv1371) { + yyv1371 = yyv1371[:yyl1371] + yyc1371 = true } - yyj1306 := 0 - for ; yyj1306 < yyrr1306; yyj1306++ { - yyh1306.ElemContainerState(yyj1306) + yyj1371 := 0 + for ; yyj1371 < yyrr1371; yyj1371++ { + yyh1371.ElemContainerState(yyj1371) if r.TryDecodeAsNil() { - yyv1306[yyj1306] = Ingress{} + yyv1371[yyj1371] = Ingress{} } else { - yyv1307 := &yyv1306[yyj1306] - yyv1307.CodecDecodeSelf(d) + yyv1372 := &yyv1371[yyj1371] + yyv1372.CodecDecodeSelf(d) } } - if yyrt1306 { - for ; yyj1306 < yyl1306; yyj1306++ { - yyv1306 = append(yyv1306, Ingress{}) - yyh1306.ElemContainerState(yyj1306) + if yyrt1371 { + for ; yyj1371 < yyl1371; yyj1371++ { + yyv1371 = append(yyv1371, Ingress{}) + yyh1371.ElemContainerState(yyj1371) if r.TryDecodeAsNil() { - yyv1306[yyj1306] = Ingress{} + yyv1371[yyj1371] = Ingress{} } else { - yyv1308 := &yyv1306[yyj1306] - yyv1308.CodecDecodeSelf(d) + yyv1373 := &yyv1371[yyj1371] + yyv1373.CodecDecodeSelf(d) } } } } else { - yyj1306 := 0 - for ; !r.CheckBreak(); yyj1306++ { + yyj1371 := 0 + for ; !r.CheckBreak(); yyj1371++ { - if yyj1306 >= len(yyv1306) { - yyv1306 = append(yyv1306, Ingress{}) // var yyz1306 Ingress - yyc1306 = true + if yyj1371 >= len(yyv1371) { + yyv1371 = append(yyv1371, Ingress{}) // var yyz1371 Ingress + yyc1371 = true } - yyh1306.ElemContainerState(yyj1306) - if yyj1306 < len(yyv1306) { + yyh1371.ElemContainerState(yyj1371) + if yyj1371 < len(yyv1371) { if r.TryDecodeAsNil() { - yyv1306[yyj1306] = Ingress{} + yyv1371[yyj1371] = Ingress{} } else { - yyv1309 := &yyv1306[yyj1306] - yyv1309.CodecDecodeSelf(d) + yyv1374 := &yyv1371[yyj1371] + yyv1374.CodecDecodeSelf(d) } } else { @@ -16026,17 +16440,17 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } - if yyj1306 < len(yyv1306) { - yyv1306 = yyv1306[:yyj1306] - yyc1306 = true - } else if yyj1306 == 0 && yyv1306 == nil { - yyv1306 = []Ingress{} - yyc1306 = true + if yyj1371 < len(yyv1371) { + yyv1371 = yyv1371[:yyj1371] + yyc1371 = true + } else if yyj1371 == 0 && yyv1371 == nil { + yyv1371 = []Ingress{} + yyc1371 = true } } - yyh1306.End() - if yyc1306 { - *v = yyv1306 + yyh1371.End() + if yyc1371 { + *v = yyv1371 } } @@ -16045,10 +16459,10 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1310 := range v { + for _, yyv1375 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1311 := &yyv1310 - yy1311.CodecEncodeSelf(e) + yy1376 := &yyv1375 + yy1376.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16058,83 +16472,83 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1312 := *v - yyh1312, yyl1312 := z.DecSliceHelperStart() - var yyc1312 bool - if yyl1312 == 0 { - if yyv1312 == nil { - yyv1312 = []IngressRule{} - yyc1312 = true - } else if len(yyv1312) != 0 { - yyv1312 = yyv1312[:0] - yyc1312 = true + yyv1377 := *v + yyh1377, yyl1377 := z.DecSliceHelperStart() + var yyc1377 bool + if yyl1377 == 0 { + if yyv1377 == nil { + yyv1377 = []IngressRule{} + yyc1377 = true + } else if len(yyv1377) != 0 { + yyv1377 = yyv1377[:0] + yyc1377 = true } - } else if yyl1312 > 0 { - var yyrr1312, yyrl1312 int - var yyrt1312 bool - if yyl1312 > cap(yyv1312) { + } else if yyl1377 > 0 { + var yyrr1377, yyrl1377 int + var yyrt1377 bool + if yyl1377 > cap(yyv1377) { - yyrg1312 := len(yyv1312) > 0 - yyv21312 := yyv1312 - yyrl1312, yyrt1312 = z.DecInferLen(yyl1312, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1312 { - if yyrl1312 <= cap(yyv1312) { - yyv1312 = yyv1312[:yyrl1312] + yyrg1377 := len(yyv1377) > 0 + yyv21377 := yyv1377 + yyrl1377, yyrt1377 = z.DecInferLen(yyl1377, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1377 { + if yyrl1377 <= cap(yyv1377) { + yyv1377 = yyv1377[:yyrl1377] } else { - yyv1312 = make([]IngressRule, yyrl1312) + yyv1377 = make([]IngressRule, yyrl1377) } } else { - yyv1312 = make([]IngressRule, yyrl1312) + yyv1377 = make([]IngressRule, yyrl1377) } - yyc1312 = true - yyrr1312 = len(yyv1312) - if yyrg1312 { - copy(yyv1312, yyv21312) + yyc1377 = true + yyrr1377 = len(yyv1377) + if yyrg1377 { + copy(yyv1377, yyv21377) } - } else if yyl1312 != len(yyv1312) { - yyv1312 = yyv1312[:yyl1312] - yyc1312 = true + } else if yyl1377 != len(yyv1377) { + yyv1377 = yyv1377[:yyl1377] + yyc1377 = true } - yyj1312 := 0 - for ; yyj1312 < yyrr1312; yyj1312++ { - yyh1312.ElemContainerState(yyj1312) + yyj1377 := 0 + for ; yyj1377 < yyrr1377; yyj1377++ { + yyh1377.ElemContainerState(yyj1377) if r.TryDecodeAsNil() { - yyv1312[yyj1312] = IngressRule{} + yyv1377[yyj1377] = IngressRule{} } else { - yyv1313 := &yyv1312[yyj1312] - yyv1313.CodecDecodeSelf(d) + yyv1378 := &yyv1377[yyj1377] + yyv1378.CodecDecodeSelf(d) } } - if yyrt1312 { - for ; yyj1312 < yyl1312; yyj1312++ { - yyv1312 = append(yyv1312, IngressRule{}) - yyh1312.ElemContainerState(yyj1312) + if yyrt1377 { + for ; yyj1377 < yyl1377; yyj1377++ { + yyv1377 = append(yyv1377, IngressRule{}) + yyh1377.ElemContainerState(yyj1377) if r.TryDecodeAsNil() { - yyv1312[yyj1312] = IngressRule{} + yyv1377[yyj1377] = IngressRule{} } else { - yyv1314 := &yyv1312[yyj1312] - yyv1314.CodecDecodeSelf(d) + yyv1379 := &yyv1377[yyj1377] + yyv1379.CodecDecodeSelf(d) } } } } else { - yyj1312 := 0 - for ; !r.CheckBreak(); yyj1312++ { + yyj1377 := 0 + for ; !r.CheckBreak(); yyj1377++ { - if yyj1312 >= len(yyv1312) { - yyv1312 = append(yyv1312, IngressRule{}) // var yyz1312 IngressRule - yyc1312 = true + if yyj1377 >= len(yyv1377) { + yyv1377 = append(yyv1377, IngressRule{}) // var yyz1377 IngressRule + yyc1377 = true } - yyh1312.ElemContainerState(yyj1312) - if yyj1312 < len(yyv1312) { + yyh1377.ElemContainerState(yyj1377) + if yyj1377 < len(yyv1377) { if r.TryDecodeAsNil() { - yyv1312[yyj1312] = IngressRule{} + yyv1377[yyj1377] = IngressRule{} } else { - yyv1315 := &yyv1312[yyj1312] - yyv1315.CodecDecodeSelf(d) + yyv1380 := &yyv1377[yyj1377] + yyv1380.CodecDecodeSelf(d) } } else { @@ -16142,17 +16556,17 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } } - if yyj1312 < len(yyv1312) { - yyv1312 = yyv1312[:yyj1312] - yyc1312 = true - } else if yyj1312 == 0 && yyv1312 == nil { - yyv1312 = []IngressRule{} - yyc1312 = true + if yyj1377 < len(yyv1377) { + yyv1377 = yyv1377[:yyj1377] + yyc1377 = true + } else if yyj1377 == 0 && yyv1377 == nil { + yyv1377 = []IngressRule{} + yyc1377 = true } } - yyh1312.End() - if yyc1312 { - *v = yyv1312 + yyh1377.End() + if yyc1377 { + *v = yyv1377 } } @@ -16161,10 +16575,10 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1316 := range v { + for _, yyv1381 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1317 := &yyv1316 - yy1317.CodecEncodeSelf(e) + yy1382 := &yyv1381 + yy1382.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16174,83 +16588,83 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1318 := *v - yyh1318, yyl1318 := z.DecSliceHelperStart() - var yyc1318 bool - if yyl1318 == 0 { - if yyv1318 == nil { - yyv1318 = []HTTPIngressPath{} - yyc1318 = true - } else if len(yyv1318) != 0 { - yyv1318 = yyv1318[:0] - yyc1318 = true + yyv1383 := *v + yyh1383, yyl1383 := z.DecSliceHelperStart() + var yyc1383 bool + if yyl1383 == 0 { + if yyv1383 == nil { + yyv1383 = []HTTPIngressPath{} + yyc1383 = true + } else if len(yyv1383) != 0 { + yyv1383 = yyv1383[:0] + yyc1383 = true } - } else if yyl1318 > 0 { - var yyrr1318, yyrl1318 int - var yyrt1318 bool - if yyl1318 > cap(yyv1318) { + } else if yyl1383 > 0 { + var yyrr1383, yyrl1383 int + var yyrt1383 bool + if yyl1383 > cap(yyv1383) { - yyrg1318 := len(yyv1318) > 0 - yyv21318 := yyv1318 - yyrl1318, yyrt1318 = z.DecInferLen(yyl1318, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1318 { - if yyrl1318 <= cap(yyv1318) { - yyv1318 = yyv1318[:yyrl1318] + yyrg1383 := len(yyv1383) > 0 + yyv21383 := yyv1383 + yyrl1383, yyrt1383 = z.DecInferLen(yyl1383, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1383 { + if yyrl1383 <= cap(yyv1383) { + yyv1383 = yyv1383[:yyrl1383] } else { - yyv1318 = make([]HTTPIngressPath, yyrl1318) + yyv1383 = make([]HTTPIngressPath, yyrl1383) } } else { - yyv1318 = make([]HTTPIngressPath, yyrl1318) + yyv1383 = make([]HTTPIngressPath, yyrl1383) } - yyc1318 = true - yyrr1318 = len(yyv1318) - if yyrg1318 { - copy(yyv1318, yyv21318) + yyc1383 = true + yyrr1383 = len(yyv1383) + if yyrg1383 { + copy(yyv1383, yyv21383) } - } else if yyl1318 != len(yyv1318) { - yyv1318 = yyv1318[:yyl1318] - yyc1318 = true + } else if yyl1383 != len(yyv1383) { + yyv1383 = yyv1383[:yyl1383] + yyc1383 = true } - yyj1318 := 0 - for ; yyj1318 < yyrr1318; yyj1318++ { - yyh1318.ElemContainerState(yyj1318) + yyj1383 := 0 + for ; yyj1383 < yyrr1383; yyj1383++ { + yyh1383.ElemContainerState(yyj1383) if r.TryDecodeAsNil() { - yyv1318[yyj1318] = HTTPIngressPath{} + yyv1383[yyj1383] = HTTPIngressPath{} } else { - yyv1319 := &yyv1318[yyj1318] - yyv1319.CodecDecodeSelf(d) + yyv1384 := &yyv1383[yyj1383] + yyv1384.CodecDecodeSelf(d) } } - if yyrt1318 { - for ; yyj1318 < yyl1318; yyj1318++ { - yyv1318 = append(yyv1318, HTTPIngressPath{}) - yyh1318.ElemContainerState(yyj1318) + if yyrt1383 { + for ; yyj1383 < yyl1383; yyj1383++ { + yyv1383 = append(yyv1383, HTTPIngressPath{}) + yyh1383.ElemContainerState(yyj1383) if r.TryDecodeAsNil() { - yyv1318[yyj1318] = HTTPIngressPath{} + yyv1383[yyj1383] = HTTPIngressPath{} } else { - yyv1320 := &yyv1318[yyj1318] - yyv1320.CodecDecodeSelf(d) + yyv1385 := &yyv1383[yyj1383] + yyv1385.CodecDecodeSelf(d) } } } } else { - yyj1318 := 0 - for ; !r.CheckBreak(); yyj1318++ { + yyj1383 := 0 + for ; !r.CheckBreak(); yyj1383++ { - if yyj1318 >= len(yyv1318) { - yyv1318 = append(yyv1318, HTTPIngressPath{}) // var yyz1318 HTTPIngressPath - yyc1318 = true + if yyj1383 >= len(yyv1383) { + yyv1383 = append(yyv1383, HTTPIngressPath{}) // var yyz1383 HTTPIngressPath + yyc1383 = true } - yyh1318.ElemContainerState(yyj1318) - if yyj1318 < len(yyv1318) { + yyh1383.ElemContainerState(yyj1383) + if yyj1383 < len(yyv1383) { if r.TryDecodeAsNil() { - yyv1318[yyj1318] = HTTPIngressPath{} + yyv1383[yyj1383] = HTTPIngressPath{} } else { - yyv1321 := &yyv1318[yyj1318] - yyv1321.CodecDecodeSelf(d) + yyv1386 := &yyv1383[yyj1383] + yyv1386.CodecDecodeSelf(d) } } else { @@ -16258,17 +16672,17 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } } - if yyj1318 < len(yyv1318) { - yyv1318 = yyv1318[:yyj1318] - yyc1318 = true - } else if yyj1318 == 0 && yyv1318 == nil { - yyv1318 = []HTTPIngressPath{} - yyc1318 = true + if yyj1383 < len(yyv1383) { + yyv1383 = yyv1383[:yyj1383] + yyc1383 = true + } else if yyj1383 == 0 && yyv1383 == nil { + yyv1383 = []HTTPIngressPath{} + yyc1383 = true } } - yyh1318.End() - if yyc1318 { - *v = yyv1318 + yyh1383.End() + if yyc1383 { + *v = yyv1383 } } @@ -16277,10 +16691,10 @@ func (x codecSelfer1234) encSliceNodeUtilization(v []NodeUtilization, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1322 := range v { + for _, yyv1387 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1323 := &yyv1322 - yy1323.CodecEncodeSelf(e) + yy1388 := &yyv1387 + yy1388.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16290,83 +16704,83 @@ func (x codecSelfer1234) decSliceNodeUtilization(v *[]NodeUtilization, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1324 := *v - yyh1324, yyl1324 := z.DecSliceHelperStart() - var yyc1324 bool - if yyl1324 == 0 { - if yyv1324 == nil { - yyv1324 = []NodeUtilization{} - yyc1324 = true - } else if len(yyv1324) != 0 { - yyv1324 = yyv1324[:0] - yyc1324 = true + yyv1389 := *v + yyh1389, yyl1389 := z.DecSliceHelperStart() + var yyc1389 bool + if yyl1389 == 0 { + if yyv1389 == nil { + yyv1389 = []NodeUtilization{} + yyc1389 = true + } else if len(yyv1389) != 0 { + yyv1389 = yyv1389[:0] + yyc1389 = true } - } else if yyl1324 > 0 { - var yyrr1324, yyrl1324 int - var yyrt1324 bool - if yyl1324 > cap(yyv1324) { + } else if yyl1389 > 0 { + var yyrr1389, yyrl1389 int + var yyrt1389 bool + if yyl1389 > cap(yyv1389) { - yyrg1324 := len(yyv1324) > 0 - yyv21324 := yyv1324 - yyrl1324, yyrt1324 = z.DecInferLen(yyl1324, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1324 { - if yyrl1324 <= cap(yyv1324) { - yyv1324 = yyv1324[:yyrl1324] + yyrg1389 := len(yyv1389) > 0 + yyv21389 := yyv1389 + yyrl1389, yyrt1389 = z.DecInferLen(yyl1389, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1389 { + if yyrl1389 <= cap(yyv1389) { + yyv1389 = yyv1389[:yyrl1389] } else { - yyv1324 = make([]NodeUtilization, yyrl1324) + yyv1389 = make([]NodeUtilization, yyrl1389) } } else { - yyv1324 = make([]NodeUtilization, yyrl1324) + yyv1389 = make([]NodeUtilization, yyrl1389) } - yyc1324 = true - yyrr1324 = len(yyv1324) - if yyrg1324 { - copy(yyv1324, yyv21324) + yyc1389 = true + yyrr1389 = len(yyv1389) + if yyrg1389 { + copy(yyv1389, yyv21389) } - } else if yyl1324 != len(yyv1324) { - yyv1324 = yyv1324[:yyl1324] - yyc1324 = true + } else if yyl1389 != len(yyv1389) { + yyv1389 = yyv1389[:yyl1389] + yyc1389 = true } - yyj1324 := 0 - for ; yyj1324 < yyrr1324; yyj1324++ { - yyh1324.ElemContainerState(yyj1324) + yyj1389 := 0 + for ; yyj1389 < yyrr1389; yyj1389++ { + yyh1389.ElemContainerState(yyj1389) if r.TryDecodeAsNil() { - yyv1324[yyj1324] = NodeUtilization{} + yyv1389[yyj1389] = NodeUtilization{} } else { - yyv1325 := &yyv1324[yyj1324] - yyv1325.CodecDecodeSelf(d) + yyv1390 := &yyv1389[yyj1389] + yyv1390.CodecDecodeSelf(d) } } - if yyrt1324 { - for ; yyj1324 < yyl1324; yyj1324++ { - yyv1324 = append(yyv1324, NodeUtilization{}) - yyh1324.ElemContainerState(yyj1324) + if yyrt1389 { + for ; yyj1389 < yyl1389; yyj1389++ { + yyv1389 = append(yyv1389, NodeUtilization{}) + yyh1389.ElemContainerState(yyj1389) if r.TryDecodeAsNil() { - yyv1324[yyj1324] = NodeUtilization{} + yyv1389[yyj1389] = NodeUtilization{} } else { - yyv1326 := &yyv1324[yyj1324] - yyv1326.CodecDecodeSelf(d) + yyv1391 := &yyv1389[yyj1389] + yyv1391.CodecDecodeSelf(d) } } } } else { - yyj1324 := 0 - for ; !r.CheckBreak(); yyj1324++ { + yyj1389 := 0 + for ; !r.CheckBreak(); yyj1389++ { - if yyj1324 >= len(yyv1324) { - yyv1324 = append(yyv1324, NodeUtilization{}) // var yyz1324 NodeUtilization - yyc1324 = true + if yyj1389 >= len(yyv1389) { + yyv1389 = append(yyv1389, NodeUtilization{}) // var yyz1389 NodeUtilization + yyc1389 = true } - yyh1324.ElemContainerState(yyj1324) - if yyj1324 < len(yyv1324) { + yyh1389.ElemContainerState(yyj1389) + if yyj1389 < len(yyv1389) { if r.TryDecodeAsNil() { - yyv1324[yyj1324] = NodeUtilization{} + yyv1389[yyj1389] = NodeUtilization{} } else { - yyv1327 := &yyv1324[yyj1324] - yyv1327.CodecDecodeSelf(d) + yyv1392 := &yyv1389[yyj1389] + yyv1392.CodecDecodeSelf(d) } } else { @@ -16374,17 +16788,17 @@ func (x codecSelfer1234) decSliceNodeUtilization(v *[]NodeUtilization, d *codec1 } } - if yyj1324 < len(yyv1324) { - yyv1324 = yyv1324[:yyj1324] - yyc1324 = true - } else if yyj1324 == 0 && yyv1324 == nil { - yyv1324 = []NodeUtilization{} - yyc1324 = true + if yyj1389 < len(yyv1389) { + yyv1389 = yyv1389[:yyj1389] + yyc1389 = true + } else if yyj1389 == 0 && yyv1389 == nil { + yyv1389 = []NodeUtilization{} + yyc1389 = true } } - yyh1324.End() - if yyc1324 { - *v = yyv1324 + yyh1389.End() + if yyc1389 { + *v = yyv1389 } } @@ -16393,10 +16807,10 @@ func (x codecSelfer1234) encSliceClusterAutoscaler(v []ClusterAutoscaler, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1328 := range v { + for _, yyv1393 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1329 := &yyv1328 - yy1329.CodecEncodeSelf(e) + yy1394 := &yyv1393 + yy1394.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16406,83 +16820,83 @@ func (x codecSelfer1234) decSliceClusterAutoscaler(v *[]ClusterAutoscaler, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1330 := *v - yyh1330, yyl1330 := z.DecSliceHelperStart() - var yyc1330 bool - if yyl1330 == 0 { - if yyv1330 == nil { - yyv1330 = []ClusterAutoscaler{} - yyc1330 = true - } else if len(yyv1330) != 0 { - yyv1330 = yyv1330[:0] - yyc1330 = true + yyv1395 := *v + yyh1395, yyl1395 := z.DecSliceHelperStart() + var yyc1395 bool + if yyl1395 == 0 { + if yyv1395 == nil { + yyv1395 = []ClusterAutoscaler{} + yyc1395 = true + } else if len(yyv1395) != 0 { + yyv1395 = yyv1395[:0] + yyc1395 = true } - } else if yyl1330 > 0 { - var yyrr1330, yyrl1330 int - var yyrt1330 bool - if yyl1330 > cap(yyv1330) { + } else if yyl1395 > 0 { + var yyrr1395, yyrl1395 int + var yyrt1395 bool + if yyl1395 > cap(yyv1395) { - yyrg1330 := len(yyv1330) > 0 - yyv21330 := yyv1330 - yyrl1330, yyrt1330 = z.DecInferLen(yyl1330, z.DecBasicHandle().MaxInitLen, 224) - if yyrt1330 { - if yyrl1330 <= cap(yyv1330) { - yyv1330 = yyv1330[:yyrl1330] + yyrg1395 := len(yyv1395) > 0 + yyv21395 := yyv1395 + yyrl1395, yyrt1395 = z.DecInferLen(yyl1395, z.DecBasicHandle().MaxInitLen, 224) + if yyrt1395 { + if yyrl1395 <= cap(yyv1395) { + yyv1395 = yyv1395[:yyrl1395] } else { - yyv1330 = make([]ClusterAutoscaler, yyrl1330) + yyv1395 = make([]ClusterAutoscaler, yyrl1395) } } else { - yyv1330 = make([]ClusterAutoscaler, yyrl1330) + yyv1395 = make([]ClusterAutoscaler, yyrl1395) } - yyc1330 = true - yyrr1330 = len(yyv1330) - if yyrg1330 { - copy(yyv1330, yyv21330) + yyc1395 = true + yyrr1395 = len(yyv1395) + if yyrg1395 { + copy(yyv1395, yyv21395) } - } else if yyl1330 != len(yyv1330) { - yyv1330 = yyv1330[:yyl1330] - yyc1330 = true + } else if yyl1395 != len(yyv1395) { + yyv1395 = yyv1395[:yyl1395] + yyc1395 = true } - yyj1330 := 0 - for ; yyj1330 < yyrr1330; yyj1330++ { - yyh1330.ElemContainerState(yyj1330) + yyj1395 := 0 + for ; yyj1395 < yyrr1395; yyj1395++ { + yyh1395.ElemContainerState(yyj1395) if r.TryDecodeAsNil() { - yyv1330[yyj1330] = ClusterAutoscaler{} + yyv1395[yyj1395] = ClusterAutoscaler{} } else { - yyv1331 := &yyv1330[yyj1330] - yyv1331.CodecDecodeSelf(d) + yyv1396 := &yyv1395[yyj1395] + yyv1396.CodecDecodeSelf(d) } } - if yyrt1330 { - for ; yyj1330 < yyl1330; yyj1330++ { - yyv1330 = append(yyv1330, ClusterAutoscaler{}) - yyh1330.ElemContainerState(yyj1330) + if yyrt1395 { + for ; yyj1395 < yyl1395; yyj1395++ { + yyv1395 = append(yyv1395, ClusterAutoscaler{}) + yyh1395.ElemContainerState(yyj1395) if r.TryDecodeAsNil() { - yyv1330[yyj1330] = ClusterAutoscaler{} + yyv1395[yyj1395] = ClusterAutoscaler{} } else { - yyv1332 := &yyv1330[yyj1330] - yyv1332.CodecDecodeSelf(d) + yyv1397 := &yyv1395[yyj1395] + yyv1397.CodecDecodeSelf(d) } } } } else { - yyj1330 := 0 - for ; !r.CheckBreak(); yyj1330++ { + yyj1395 := 0 + for ; !r.CheckBreak(); yyj1395++ { - if yyj1330 >= len(yyv1330) { - yyv1330 = append(yyv1330, ClusterAutoscaler{}) // var yyz1330 ClusterAutoscaler - yyc1330 = true + if yyj1395 >= len(yyv1395) { + yyv1395 = append(yyv1395, ClusterAutoscaler{}) // var yyz1395 ClusterAutoscaler + yyc1395 = true } - yyh1330.ElemContainerState(yyj1330) - if yyj1330 < len(yyv1330) { + yyh1395.ElemContainerState(yyj1395) + if yyj1395 < len(yyv1395) { if r.TryDecodeAsNil() { - yyv1330[yyj1330] = ClusterAutoscaler{} + yyv1395[yyj1395] = ClusterAutoscaler{} } else { - yyv1333 := &yyv1330[yyj1330] - yyv1333.CodecDecodeSelf(d) + yyv1398 := &yyv1395[yyj1395] + yyv1398.CodecDecodeSelf(d) } } else { @@ -16490,17 +16904,17 @@ func (x codecSelfer1234) decSliceClusterAutoscaler(v *[]ClusterAutoscaler, d *co } } - if yyj1330 < len(yyv1330) { - yyv1330 = yyv1330[:yyj1330] - yyc1330 = true - } else if yyj1330 == 0 && yyv1330 == nil { - yyv1330 = []ClusterAutoscaler{} - yyc1330 = true + if yyj1395 < len(yyv1395) { + yyv1395 = yyv1395[:yyj1395] + yyc1395 = true + } else if yyj1395 == 0 && yyv1395 == nil { + yyv1395 = []ClusterAutoscaler{} + yyc1395 = true } } - yyh1330.End() - if yyc1330 { - *v = yyv1330 + yyh1395.End() + if yyc1395 { + *v = yyv1395 } } @@ -16509,10 +16923,10 @@ func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequi z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1334 := range v { + for _, yyv1399 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1335 := &yyv1334 - yy1335.CodecEncodeSelf(e) + yy1400 := &yyv1399 + yy1400.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16522,83 +16936,83 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1336 := *v - yyh1336, yyl1336 := z.DecSliceHelperStart() - var yyc1336 bool - if yyl1336 == 0 { - if yyv1336 == nil { - yyv1336 = []LabelSelectorRequirement{} - yyc1336 = true - } else if len(yyv1336) != 0 { - yyv1336 = yyv1336[:0] - yyc1336 = true + yyv1401 := *v + yyh1401, yyl1401 := z.DecSliceHelperStart() + var yyc1401 bool + if yyl1401 == 0 { + if yyv1401 == nil { + yyv1401 = []LabelSelectorRequirement{} + yyc1401 = true + } else if len(yyv1401) != 0 { + yyv1401 = yyv1401[:0] + yyc1401 = true } - } else if yyl1336 > 0 { - var yyrr1336, yyrl1336 int - var yyrt1336 bool - if yyl1336 > cap(yyv1336) { + } else if yyl1401 > 0 { + var yyrr1401, yyrl1401 int + var yyrt1401 bool + if yyl1401 > cap(yyv1401) { - yyrg1336 := len(yyv1336) > 0 - yyv21336 := yyv1336 - yyrl1336, yyrt1336 = z.DecInferLen(yyl1336, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1336 { - if yyrl1336 <= cap(yyv1336) { - yyv1336 = yyv1336[:yyrl1336] + yyrg1401 := len(yyv1401) > 0 + yyv21401 := yyv1401 + yyrl1401, yyrt1401 = z.DecInferLen(yyl1401, z.DecBasicHandle().MaxInitLen, 56) + if yyrt1401 { + if yyrl1401 <= cap(yyv1401) { + yyv1401 = yyv1401[:yyrl1401] } else { - yyv1336 = make([]LabelSelectorRequirement, yyrl1336) + yyv1401 = make([]LabelSelectorRequirement, yyrl1401) } } else { - yyv1336 = make([]LabelSelectorRequirement, yyrl1336) + yyv1401 = make([]LabelSelectorRequirement, yyrl1401) } - yyc1336 = true - yyrr1336 = len(yyv1336) - if yyrg1336 { - copy(yyv1336, yyv21336) + yyc1401 = true + yyrr1401 = len(yyv1401) + if yyrg1401 { + copy(yyv1401, yyv21401) } - } else if yyl1336 != len(yyv1336) { - yyv1336 = yyv1336[:yyl1336] - yyc1336 = true + } else if yyl1401 != len(yyv1401) { + yyv1401 = yyv1401[:yyl1401] + yyc1401 = true } - yyj1336 := 0 - for ; yyj1336 < yyrr1336; yyj1336++ { - yyh1336.ElemContainerState(yyj1336) + yyj1401 := 0 + for ; yyj1401 < yyrr1401; yyj1401++ { + yyh1401.ElemContainerState(yyj1401) if r.TryDecodeAsNil() { - yyv1336[yyj1336] = LabelSelectorRequirement{} + yyv1401[yyj1401] = LabelSelectorRequirement{} } else { - yyv1337 := &yyv1336[yyj1336] - yyv1337.CodecDecodeSelf(d) + yyv1402 := &yyv1401[yyj1401] + yyv1402.CodecDecodeSelf(d) } } - if yyrt1336 { - for ; yyj1336 < yyl1336; yyj1336++ { - yyv1336 = append(yyv1336, LabelSelectorRequirement{}) - yyh1336.ElemContainerState(yyj1336) + if yyrt1401 { + for ; yyj1401 < yyl1401; yyj1401++ { + yyv1401 = append(yyv1401, LabelSelectorRequirement{}) + yyh1401.ElemContainerState(yyj1401) if r.TryDecodeAsNil() { - yyv1336[yyj1336] = LabelSelectorRequirement{} + yyv1401[yyj1401] = LabelSelectorRequirement{} } else { - yyv1338 := &yyv1336[yyj1336] - yyv1338.CodecDecodeSelf(d) + yyv1403 := &yyv1401[yyj1401] + yyv1403.CodecDecodeSelf(d) } } } } else { - yyj1336 := 0 - for ; !r.CheckBreak(); yyj1336++ { + yyj1401 := 0 + for ; !r.CheckBreak(); yyj1401++ { - if yyj1336 >= len(yyv1336) { - yyv1336 = append(yyv1336, LabelSelectorRequirement{}) // var yyz1336 LabelSelectorRequirement - yyc1336 = true + if yyj1401 >= len(yyv1401) { + yyv1401 = append(yyv1401, LabelSelectorRequirement{}) // var yyz1401 LabelSelectorRequirement + yyc1401 = true } - yyh1336.ElemContainerState(yyj1336) - if yyj1336 < len(yyv1336) { + yyh1401.ElemContainerState(yyj1401) + if yyj1401 < len(yyv1401) { if r.TryDecodeAsNil() { - yyv1336[yyj1336] = LabelSelectorRequirement{} + yyv1401[yyj1401] = LabelSelectorRequirement{} } else { - yyv1339 := &yyv1336[yyj1336] - yyv1339.CodecDecodeSelf(d) + yyv1404 := &yyv1401[yyj1401] + yyv1404.CodecDecodeSelf(d) } } else { @@ -16606,17 +17020,17 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ } } - if yyj1336 < len(yyv1336) { - yyv1336 = yyv1336[:yyj1336] - yyc1336 = true - } else if yyj1336 == 0 && yyv1336 == nil { - yyv1336 = []LabelSelectorRequirement{} - yyc1336 = true + if yyj1401 < len(yyv1401) { + yyv1401 = yyv1401[:yyj1401] + yyc1401 = true + } else if yyj1401 == 0 && yyv1401 == nil { + yyv1401 = []LabelSelectorRequirement{} + yyc1401 = true } } - yyh1336.End() - if yyc1336 { - *v = yyv1336 + yyh1401.End() + if yyc1401 { + *v = yyv1401 } } @@ -16625,10 +17039,10 @@ func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1340 := range v { + for _, yyv1405 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1341 := &yyv1340 - yy1341.CodecEncodeSelf(e) + yy1406 := &yyv1405 + yy1406.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16638,83 +17052,83 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1342 := *v - yyh1342, yyl1342 := z.DecSliceHelperStart() - var yyc1342 bool - if yyl1342 == 0 { - if yyv1342 == nil { - yyv1342 = []ConfigMap{} - yyc1342 = true - } else if len(yyv1342) != 0 { - yyv1342 = yyv1342[:0] - yyc1342 = true + yyv1407 := *v + yyh1407, yyl1407 := z.DecSliceHelperStart() + var yyc1407 bool + if yyl1407 == 0 { + if yyv1407 == nil { + yyv1407 = []ConfigMap{} + yyc1407 = true + } else if len(yyv1407) != 0 { + yyv1407 = yyv1407[:0] + yyc1407 = true } - } else if yyl1342 > 0 { - var yyrr1342, yyrl1342 int - var yyrt1342 bool - if yyl1342 > cap(yyv1342) { + } else if yyl1407 > 0 { + var yyrr1407, yyrl1407 int + var yyrt1407 bool + if yyl1407 > cap(yyv1407) { - yyrg1342 := len(yyv1342) > 0 - yyv21342 := yyv1342 - yyrl1342, yyrt1342 = z.DecInferLen(yyl1342, z.DecBasicHandle().MaxInitLen, 200) - if yyrt1342 { - if yyrl1342 <= cap(yyv1342) { - yyv1342 = yyv1342[:yyrl1342] + yyrg1407 := len(yyv1407) > 0 + yyv21407 := yyv1407 + yyrl1407, yyrt1407 = z.DecInferLen(yyl1407, z.DecBasicHandle().MaxInitLen, 200) + if yyrt1407 { + if yyrl1407 <= cap(yyv1407) { + yyv1407 = yyv1407[:yyrl1407] } else { - yyv1342 = make([]ConfigMap, yyrl1342) + yyv1407 = make([]ConfigMap, yyrl1407) } } else { - yyv1342 = make([]ConfigMap, yyrl1342) + yyv1407 = make([]ConfigMap, yyrl1407) } - yyc1342 = true - yyrr1342 = len(yyv1342) - if yyrg1342 { - copy(yyv1342, yyv21342) + yyc1407 = true + yyrr1407 = len(yyv1407) + if yyrg1407 { + copy(yyv1407, yyv21407) } - } else if yyl1342 != len(yyv1342) { - yyv1342 = yyv1342[:yyl1342] - yyc1342 = true + } else if yyl1407 != len(yyv1407) { + yyv1407 = yyv1407[:yyl1407] + yyc1407 = true } - yyj1342 := 0 - for ; yyj1342 < yyrr1342; yyj1342++ { - yyh1342.ElemContainerState(yyj1342) + yyj1407 := 0 + for ; yyj1407 < yyrr1407; yyj1407++ { + yyh1407.ElemContainerState(yyj1407) if r.TryDecodeAsNil() { - yyv1342[yyj1342] = ConfigMap{} + yyv1407[yyj1407] = ConfigMap{} } else { - yyv1343 := &yyv1342[yyj1342] - yyv1343.CodecDecodeSelf(d) + yyv1408 := &yyv1407[yyj1407] + yyv1408.CodecDecodeSelf(d) } } - if yyrt1342 { - for ; yyj1342 < yyl1342; yyj1342++ { - yyv1342 = append(yyv1342, ConfigMap{}) - yyh1342.ElemContainerState(yyj1342) + if yyrt1407 { + for ; yyj1407 < yyl1407; yyj1407++ { + yyv1407 = append(yyv1407, ConfigMap{}) + yyh1407.ElemContainerState(yyj1407) if r.TryDecodeAsNil() { - yyv1342[yyj1342] = ConfigMap{} + yyv1407[yyj1407] = ConfigMap{} } else { - yyv1344 := &yyv1342[yyj1342] - yyv1344.CodecDecodeSelf(d) + yyv1409 := &yyv1407[yyj1407] + yyv1409.CodecDecodeSelf(d) } } } } else { - yyj1342 := 0 - for ; !r.CheckBreak(); yyj1342++ { + yyj1407 := 0 + for ; !r.CheckBreak(); yyj1407++ { - if yyj1342 >= len(yyv1342) { - yyv1342 = append(yyv1342, ConfigMap{}) // var yyz1342 ConfigMap - yyc1342 = true + if yyj1407 >= len(yyv1407) { + yyv1407 = append(yyv1407, ConfigMap{}) // var yyz1407 ConfigMap + yyc1407 = true } - yyh1342.ElemContainerState(yyj1342) - if yyj1342 < len(yyv1342) { + yyh1407.ElemContainerState(yyj1407) + if yyj1407 < len(yyv1407) { if r.TryDecodeAsNil() { - yyv1342[yyj1342] = ConfigMap{} + yyv1407[yyj1407] = ConfigMap{} } else { - yyv1345 := &yyv1342[yyj1342] - yyv1345.CodecDecodeSelf(d) + yyv1410 := &yyv1407[yyj1407] + yyv1410.CodecDecodeSelf(d) } } else { @@ -16722,16 +17136,16 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) } } - if yyj1342 < len(yyv1342) { - yyv1342 = yyv1342[:yyj1342] - yyc1342 = true - } else if yyj1342 == 0 && yyv1342 == nil { - yyv1342 = []ConfigMap{} - yyc1342 = true + if yyj1407 < len(yyv1407) { + yyv1407 = yyv1407[:yyj1407] + yyc1407 = true + } else if yyj1407 == 0 && yyv1407 == nil { + yyv1407 = []ConfigMap{} + yyc1407 = true } } - yyh1342.End() - if yyc1342 { - *v = yyv1342 + yyh1407.End() + if yyc1407 { + *v = yyv1407 } } diff --git a/pkg/apis/extensions/v1beta1/types.go b/pkg/apis/extensions/v1beta1/types.go index bd50e0782b3..e2ad01deec9 100644 --- a/pkg/apis/extensions/v1beta1/types.go +++ b/pkg/apis/extensions/v1beta1/types.go @@ -415,6 +415,10 @@ type JobSpec struct { // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md Completions *int32 `json:"completions,omitempty"` + // Optional duration in seconds relative to the startTime that the job may be active + // before the system tries to terminate it; value must be positive integer + ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"` + // Selector is a label query over pods that should match the pod count. // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors Selector *LabelSelector `json:"selector,omitempty"` @@ -458,6 +462,8 @@ type JobConditionType string const ( // JobComplete means the job has completed its execution. JobComplete JobConditionType = "Complete" + // JobFailed means the job has failed its execution. + JobFailed JobConditionType = "Failed" ) // JobCondition describes current state of a job. diff --git a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go index 6d57c49fff5..28686ef86da 100644 --- a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go +++ b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go @@ -368,11 +368,12 @@ func (JobList) SwaggerDoc() map[string]string { } var map_JobSpec = map[string]string{ - "": "JobSpec describes how the job execution will look like.", - "parallelism": "Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", - "completions": "Completions specifies the desired number of successfully finished pods the job should be run with. Defaults to 1. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", - "selector": "Selector is a label query over pods that should match the pod count. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors", - "template": "Template is the object that describes the pod that will be created when executing a job. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", + "": "JobSpec describes how the job execution will look like.", + "parallelism": "Parallelism specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", + "completions": "Completions specifies the desired number of successfully finished pods the job should be run with. Defaults to 1. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", + "activeDeadlineSeconds": "Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer", + "selector": "Selector is a label query over pods that should match the pod count. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors", + "template": "Template is the object that describes the pod that will be created when executing a job. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", } func (JobSpec) SwaggerDoc() map[string]string { diff --git a/pkg/apis/extensions/validation/validation.go b/pkg/apis/extensions/validation/validation.go index f0719207c43..02f8534a13d 100644 --- a/pkg/apis/extensions/validation/validation.go +++ b/pkg/apis/extensions/validation/validation.go @@ -338,6 +338,9 @@ func ValidateJobSpec(spec *extensions.JobSpec, fldPath *field.Path) field.ErrorL if spec.Completions != nil { allErrs = append(allErrs, apivalidation.ValidatePositiveField(int64(*spec.Completions), fldPath.Child("completions"))...) } + if spec.ActiveDeadlineSeconds != nil { + allErrs = append(allErrs, apivalidation.ValidatePositiveField(int64(*spec.ActiveDeadlineSeconds), fldPath.Child("activeDeadlineSeconds"))...) + } if spec.Selector == nil { allErrs = append(allErrs, field.Required(fldPath.Child("selector"))) } else { diff --git a/pkg/apis/extensions/validation/validation_test.go b/pkg/apis/extensions/validation/validation_test.go index 827cb4d3cb4..0c00bb8e597 100644 --- a/pkg/apis/extensions/validation/validation_test.go +++ b/pkg/apis/extensions/validation/validation_test.go @@ -839,6 +839,7 @@ func TestValidateJob(t *testing.T) { } } negative := -1 + negative64 := int64(-1) errorCases := map[string]extensions.Job{ "spec.parallelism:must be non-negative": { ObjectMeta: api.ObjectMeta{ @@ -862,6 +863,17 @@ func TestValidateJob(t *testing.T) { Template: validPodTemplateSpec, }, }, + "spec.activeDeadlineSeconds:must be non-negative": { + ObjectMeta: api.ObjectMeta{ + Name: "myjob", + Namespace: api.NamespaceDefault, + }, + Spec: extensions.JobSpec{ + ActiveDeadlineSeconds: &negative64, + Selector: validSelector, + Template: validPodTemplateSpec, + }, + }, "spec.selector:required value": { ObjectMeta: api.ObjectMeta{ Name: "myjob", diff --git a/pkg/apiserver/testing/types.generated.go b/pkg/apiserver/testing/types.generated.go index 63d1f35a63e..39607198ab1 100644 --- a/pkg/apiserver/testing/types.generated.go +++ b/pkg/apiserver/testing/types.generated.go @@ -158,19 +158,31 @@ func (x *Simple) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) yy10 := &x.ObjectMeta - yy10.CodecEncodeSelf(e) + yym11 := z.EncBinary() + _ = yym11 + if false { + } else if z.HasExtensions() && z.EncExt(yy10) { + } else { + z.EncFallback(yy10) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.ObjectMeta - yy11.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yym13 := z.EncBinary() + _ = yym13 + if false { + } else if z.HasExtensions() && z.EncExt(yy12) { + } else { + z.EncFallback(yy12) + } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Other)) @@ -183,8 +195,8 @@ func (x *Simple) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("other")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Other)) @@ -197,8 +209,8 @@ func (x *Simple) CodecEncodeSelf(e *codec1978.Encoder) { if x.Labels == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym18 := z.EncBinary() + _ = yym18 if false { } else { z.F.EncMapStringStringV(x.Labels, false, e) @@ -215,8 +227,8 @@ func (x *Simple) CodecEncodeSelf(e *codec1978.Encoder) { if x.Labels == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym19 := z.EncBinary() + _ = yym19 if false { } else { z.F.EncMapStringStringV(x.Labels, false, e) @@ -237,25 +249,25 @@ func (x *Simple) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym18 := z.DecBinary() - _ = yym18 + yym20 := z.DecBinary() + _ = yym20 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct19 := r.ContainerType() - if yyct19 == codecSelferValueTypeMap1234 { - yyl19 := r.ReadMapStart() - if yyl19 == 0 { + yyct21 := r.ContainerType() + if yyct21 == codecSelferValueTypeMap1234 { + yyl21 := r.ReadMapStart() + if yyl21 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl19, d) + x.codecDecodeSelfFromMap(yyl21, d) } - } else if yyct19 == codecSelferValueTypeArray1234 { - yyl19 := r.ReadArrayStart() - if yyl19 == 0 { + } else if yyct21 == codecSelferValueTypeArray1234 { + yyl21 := r.ReadArrayStart() + if yyl21 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl19, d) + x.codecDecodeSelfFromArray(yyl21, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -267,12 +279,12 @@ func (x *Simple) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys20Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys20Slc - var yyhl20 bool = l >= 0 - for yyj20 := 0; ; yyj20++ { - if yyhl20 { - if yyj20 >= l { + var yys22Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys22Slc + var yyhl22 bool = l >= 0 + for yyj22 := 0; ; yyj22++ { + if yyhl22 { + if yyj22 >= l { break } } else { @@ -281,10 +293,10 @@ func (x *Simple) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys20Slc = r.DecodeBytes(yys20Slc, true, true) - yys20 := string(yys20Slc) + yys22Slc = r.DecodeBytes(yys22Slc, true, true) + yys22 := string(yys22Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys20 { + switch yys22 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -301,8 +313,14 @@ func (x *Simple) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv23 := &x.ObjectMeta - yyv23.CodecDecodeSelf(d) + yyv25 := &x.ObjectMeta + yym26 := z.DecBinary() + _ = yym26 + if false { + } else if z.HasExtensions() && z.DecExt(yyv25) { + } else { + z.DecFallback(yyv25, false) + } } case "other": if r.TryDecodeAsNil() { @@ -314,18 +332,18 @@ func (x *Simple) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv25 := &x.Labels - yym26 := z.DecBinary() - _ = yym26 + yyv28 := &x.Labels + yym29 := z.DecBinary() + _ = yym29 if false { } else { - z.F.DecMapStringStringX(yyv25, false, d) + z.F.DecMapStringStringX(yyv28, false, d) } } default: - z.DecStructFieldNotFound(-1, yys20) - } // end switch yys20 - } // end for yyj20 + z.DecStructFieldNotFound(-1, yys22) + } // end switch yys22 + } // end for yyj22 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -333,16 +351,16 @@ func (x *Simple) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj27 int - var yyb27 bool - var yyhl27 bool = l >= 0 - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + var yyj30 int + var yyb30 bool + var yyhl30 bool = l >= 0 + yyj30++ + if yyhl30 { + yyb30 = yyj30 > l } else { - yyb27 = r.CheckBreak() + yyb30 = r.CheckBreak() } - if yyb27 { + if yyb30 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -352,13 +370,13 @@ func (x *Simple) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj30++ + if yyhl30 { + yyb30 = yyj30 > l } else { - yyb27 = r.CheckBreak() + yyb30 = r.CheckBreak() } - if yyb27 { + if yyb30 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -368,13 +386,13 @@ func (x *Simple) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj30++ + if yyhl30 { + yyb30 = yyj30 > l } else { - yyb27 = r.CheckBreak() + yyb30 = r.CheckBreak() } - if yyb27 { + if yyb30 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -382,16 +400,22 @@ func (x *Simple) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv30 := &x.ObjectMeta - yyv30.CodecDecodeSelf(d) + yyv33 := &x.ObjectMeta + yym34 := z.DecBinary() + _ = yym34 + if false { + } else if z.HasExtensions() && z.DecExt(yyv33) { + } else { + z.DecFallback(yyv33, false) + } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj30++ + if yyhl30 { + yyb30 = yyj30 > l } else { - yyb27 = r.CheckBreak() + yyb30 = r.CheckBreak() } - if yyb27 { + if yyb30 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -401,13 +425,13 @@ func (x *Simple) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Other = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj30++ + if yyhl30 { + yyb30 = yyj30 > l } else { - yyb27 = r.CheckBreak() + yyb30 = r.CheckBreak() } - if yyb27 { + if yyb30 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -415,26 +439,26 @@ func (x *Simple) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv32 := &x.Labels - yym33 := z.DecBinary() - _ = yym33 + yyv36 := &x.Labels + yym37 := z.DecBinary() + _ = yym37 if false { } else { - z.F.DecMapStringStringX(yyv32, false, d) + z.F.DecMapStringStringX(yyv36, false, d) } } for { - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj30++ + if yyhl30 { + yyb30 = yyj30 > l } else { - yyb27 = r.CheckBreak() + yyb30 = r.CheckBreak() } - if yyb27 { + if yyb30 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj27-1, "") + z.DecStructFieldNotFound(yyj30-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -446,99 +470,111 @@ func (x *SimpleRoot) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym34 := z.EncBinary() - _ = yym34 + yym38 := z.EncBinary() + _ = yym38 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep35 := !z.EncBinary() - yy2arr35 := z.EncBasicHandle().StructToArray - var yyq35 [5]bool - _, _, _ = yysep35, yyq35, yy2arr35 - const yyr35 bool = false - yyq35[0] = x.Kind != "" - yyq35[1] = x.APIVersion != "" - yyq35[3] = x.Other != "" - yyq35[4] = len(x.Labels) != 0 - var yynn35 int - if yyr35 || yy2arr35 { + yysep39 := !z.EncBinary() + yy2arr39 := z.EncBasicHandle().StructToArray + var yyq39 [5]bool + _, _, _ = yysep39, yyq39, yy2arr39 + const yyr39 bool = false + yyq39[0] = x.Kind != "" + yyq39[1] = x.APIVersion != "" + yyq39[3] = x.Other != "" + yyq39[4] = len(x.Labels) != 0 + var yynn39 int + if yyr39 || yy2arr39 { r.EncodeArrayStart(5) } else { - yynn35 = 1 - for _, b := range yyq35 { + yynn39 = 1 + for _, b := range yyq39 { if b { - yynn35++ + yynn39++ } } - r.EncodeMapStart(yynn35) - yynn35 = 0 + r.EncodeMapStart(yynn39) + yynn39 = 0 } - if yyr35 || yy2arr35 { + if yyr39 || yy2arr39 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq35[0] { - yym37 := z.EncBinary() - _ = yym37 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq35[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym38 := z.EncBinary() - _ = yym38 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr35 || yy2arr35 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq35[1] { - yym40 := z.EncBinary() - _ = yym40 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq35[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq39[0] { yym41 := z.EncBinary() _ = yym41 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq39[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym42 := z.EncBinary() + _ = yym42 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr39 || yy2arr39 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq39[1] { + yym44 := z.EncBinary() + _ = yym44 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq39[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym45 := z.EncBinary() + _ = yym45 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr35 || yy2arr35 { + if yyr39 || yy2arr39 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy43 := &x.ObjectMeta - yy43.CodecEncodeSelf(e) + yy47 := &x.ObjectMeta + yym48 := z.EncBinary() + _ = yym48 + if false { + } else if z.HasExtensions() && z.EncExt(yy47) { + } else { + z.EncFallback(yy47) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy44 := &x.ObjectMeta - yy44.CodecEncodeSelf(e) + yy49 := &x.ObjectMeta + yym50 := z.EncBinary() + _ = yym50 + if false { + } else if z.HasExtensions() && z.EncExt(yy49) { + } else { + z.EncFallback(yy49) + } } - if yyr35 || yy2arr35 { + if yyr39 || yy2arr39 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq35[3] { - yym46 := z.EncBinary() - _ = yym46 + if yyq39[3] { + yym52 := z.EncBinary() + _ = yym52 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Other)) @@ -547,26 +583,26 @@ func (x *SimpleRoot) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq35[3] { + if yyq39[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("other")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym47 := z.EncBinary() - _ = yym47 + yym53 := z.EncBinary() + _ = yym53 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Other)) } } } - if yyr35 || yy2arr35 { + if yyr39 || yy2arr39 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq35[4] { + if yyq39[4] { if x.Labels == nil { r.EncodeNil() } else { - yym49 := z.EncBinary() - _ = yym49 + yym55 := z.EncBinary() + _ = yym55 if false { } else { z.F.EncMapStringStringV(x.Labels, false, e) @@ -576,15 +612,15 @@ func (x *SimpleRoot) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq35[4] { + if yyq39[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labels")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Labels == nil { r.EncodeNil() } else { - yym50 := z.EncBinary() - _ = yym50 + yym56 := z.EncBinary() + _ = yym56 if false { } else { z.F.EncMapStringStringV(x.Labels, false, e) @@ -592,7 +628,7 @@ func (x *SimpleRoot) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr35 || yy2arr35 { + if yyr39 || yy2arr39 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -605,25 +641,25 @@ func (x *SimpleRoot) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym51 := z.DecBinary() - _ = yym51 + yym57 := z.DecBinary() + _ = yym57 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct52 := r.ContainerType() - if yyct52 == codecSelferValueTypeMap1234 { - yyl52 := r.ReadMapStart() - if yyl52 == 0 { + yyct58 := r.ContainerType() + if yyct58 == codecSelferValueTypeMap1234 { + yyl58 := r.ReadMapStart() + if yyl58 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl52, d) + x.codecDecodeSelfFromMap(yyl58, d) } - } else if yyct52 == codecSelferValueTypeArray1234 { - yyl52 := r.ReadArrayStart() - if yyl52 == 0 { + } else if yyct58 == codecSelferValueTypeArray1234 { + yyl58 := r.ReadArrayStart() + if yyl58 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl52, d) + x.codecDecodeSelfFromArray(yyl58, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -635,12 +671,12 @@ func (x *SimpleRoot) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys53Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys53Slc - var yyhl53 bool = l >= 0 - for yyj53 := 0; ; yyj53++ { - if yyhl53 { - if yyj53 >= l { + var yys59Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys59Slc + var yyhl59 bool = l >= 0 + for yyj59 := 0; ; yyj59++ { + if yyhl59 { + if yyj59 >= l { break } } else { @@ -649,10 +685,10 @@ func (x *SimpleRoot) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys53Slc = r.DecodeBytes(yys53Slc, true, true) - yys53 := string(yys53Slc) + yys59Slc = r.DecodeBytes(yys59Slc, true, true) + yys59 := string(yys59Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys53 { + switch yys59 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -669,8 +705,14 @@ func (x *SimpleRoot) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv56 := &x.ObjectMeta - yyv56.CodecDecodeSelf(d) + yyv62 := &x.ObjectMeta + yym63 := z.DecBinary() + _ = yym63 + if false { + } else if z.HasExtensions() && z.DecExt(yyv62) { + } else { + z.DecFallback(yyv62, false) + } } case "other": if r.TryDecodeAsNil() { @@ -682,18 +724,18 @@ func (x *SimpleRoot) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv58 := &x.Labels - yym59 := z.DecBinary() - _ = yym59 + yyv65 := &x.Labels + yym66 := z.DecBinary() + _ = yym66 if false { } else { - z.F.DecMapStringStringX(yyv58, false, d) + z.F.DecMapStringStringX(yyv65, false, d) } } default: - z.DecStructFieldNotFound(-1, yys53) - } // end switch yys53 - } // end for yyj53 + z.DecStructFieldNotFound(-1, yys59) + } // end switch yys59 + } // end for yyj59 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -701,16 +743,16 @@ func (x *SimpleRoot) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj60 int - var yyb60 bool - var yyhl60 bool = l >= 0 - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + var yyj67 int + var yyb67 bool + var yyhl67 bool = l >= 0 + yyj67++ + if yyhl67 { + yyb67 = yyj67 > l } else { - yyb60 = r.CheckBreak() + yyb67 = r.CheckBreak() } - if yyb60 { + if yyb67 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -720,13 +762,13 @@ func (x *SimpleRoot) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + yyj67++ + if yyhl67 { + yyb67 = yyj67 > l } else { - yyb60 = r.CheckBreak() + yyb67 = r.CheckBreak() } - if yyb60 { + if yyb67 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -736,13 +778,13 @@ func (x *SimpleRoot) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + yyj67++ + if yyhl67 { + yyb67 = yyj67 > l } else { - yyb60 = r.CheckBreak() + yyb67 = r.CheckBreak() } - if yyb60 { + if yyb67 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -750,16 +792,22 @@ func (x *SimpleRoot) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv63 := &x.ObjectMeta - yyv63.CodecDecodeSelf(d) + yyv70 := &x.ObjectMeta + yym71 := z.DecBinary() + _ = yym71 + if false { + } else if z.HasExtensions() && z.DecExt(yyv70) { + } else { + z.DecFallback(yyv70, false) + } } - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + yyj67++ + if yyhl67 { + yyb67 = yyj67 > l } else { - yyb60 = r.CheckBreak() + yyb67 = r.CheckBreak() } - if yyb60 { + if yyb67 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -769,13 +817,13 @@ func (x *SimpleRoot) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Other = string(r.DecodeString()) } - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + yyj67++ + if yyhl67 { + yyb67 = yyj67 > l } else { - yyb60 = r.CheckBreak() + yyb67 = r.CheckBreak() } - if yyb60 { + if yyb67 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -783,26 +831,26 @@ func (x *SimpleRoot) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv65 := &x.Labels - yym66 := z.DecBinary() - _ = yym66 + yyv73 := &x.Labels + yym74 := z.DecBinary() + _ = yym74 if false { } else { - z.F.DecMapStringStringX(yyv65, false, d) + z.F.DecMapStringStringX(yyv73, false, d) } } for { - yyj60++ - if yyhl60 { - yyb60 = yyj60 > l + yyj67++ + if yyhl67 { + yyb67 = yyj67 > l } else { - yyb60 = r.CheckBreak() + yyb67 = r.CheckBreak() } - if yyb60 { + if yyb67 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj60-1, "") + z.DecStructFieldNotFound(yyj67-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -814,36 +862,36 @@ func (x *SimpleGetOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym67 := z.EncBinary() - _ = yym67 + yym75 := z.EncBinary() + _ = yym75 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep68 := !z.EncBinary() - yy2arr68 := z.EncBasicHandle().StructToArray - var yyq68 [5]bool - _, _, _ = yysep68, yyq68, yy2arr68 - const yyr68 bool = false - yyq68[0] = x.Kind != "" - yyq68[1] = x.APIVersion != "" - var yynn68 int - if yyr68 || yy2arr68 { + yysep76 := !z.EncBinary() + yy2arr76 := z.EncBasicHandle().StructToArray + var yyq76 [5]bool + _, _, _ = yysep76, yyq76, yy2arr76 + const yyr76 bool = false + yyq76[0] = x.Kind != "" + yyq76[1] = x.APIVersion != "" + var yynn76 int + if yyr76 || yy2arr76 { r.EncodeArrayStart(5) } else { - yynn68 = 3 - for _, b := range yyq68 { + yynn76 = 3 + for _, b := range yyq76 { if b { - yynn68++ + yynn76++ } } - r.EncodeMapStart(yynn68) - yynn68 = 0 + r.EncodeMapStart(yynn76) + yynn76 = 0 } - if yyr68 || yy2arr68 { + if yyr76 || yy2arr76 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq68[0] { - yym70 := z.EncBinary() - _ = yym70 + if yyq76[0] { + yym78 := z.EncBinary() + _ = yym78 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -852,23 +900,23 @@ func (x *SimpleGetOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq68[0] { + if yyq76[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym71 := z.EncBinary() - _ = yym71 + yym79 := z.EncBinary() + _ = yym79 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr68 || yy2arr68 { + if yyr76 || yy2arr76 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq68[1] { - yym73 := z.EncBinary() - _ = yym73 + if yyq76[1] { + yym81 := z.EncBinary() + _ = yym81 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -877,22 +925,22 @@ func (x *SimpleGetOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq68[1] { + if yyq76[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym74 := z.EncBinary() - _ = yym74 + yym82 := z.EncBinary() + _ = yym82 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr68 || yy2arr68 { + if yyr76 || yy2arr76 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym76 := z.EncBinary() - _ = yym76 + yym84 := z.EncBinary() + _ = yym84 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Param1)) @@ -901,17 +949,17 @@ func (x *SimpleGetOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("param1")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym77 := z.EncBinary() - _ = yym77 + yym85 := z.EncBinary() + _ = yym85 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Param1)) } } - if yyr68 || yy2arr68 { + if yyr76 || yy2arr76 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym79 := z.EncBinary() - _ = yym79 + yym87 := z.EncBinary() + _ = yym87 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Param2)) @@ -920,17 +968,17 @@ func (x *SimpleGetOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("param2")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym80 := z.EncBinary() - _ = yym80 + yym88 := z.EncBinary() + _ = yym88 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Param2)) } } - if yyr68 || yy2arr68 { + if yyr76 || yy2arr76 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym82 := z.EncBinary() - _ = yym82 + yym90 := z.EncBinary() + _ = yym90 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -939,14 +987,14 @@ func (x *SimpleGetOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("atAPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym83 := z.EncBinary() - _ = yym83 + yym91 := z.EncBinary() + _ = yym91 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr68 || yy2arr68 { + if yyr76 || yy2arr76 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -959,25 +1007,25 @@ func (x *SimpleGetOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym84 := z.DecBinary() - _ = yym84 + yym92 := z.DecBinary() + _ = yym92 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct85 := r.ContainerType() - if yyct85 == codecSelferValueTypeMap1234 { - yyl85 := r.ReadMapStart() - if yyl85 == 0 { + yyct93 := r.ContainerType() + if yyct93 == codecSelferValueTypeMap1234 { + yyl93 := r.ReadMapStart() + if yyl93 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl85, d) + x.codecDecodeSelfFromMap(yyl93, d) } - } else if yyct85 == codecSelferValueTypeArray1234 { - yyl85 := r.ReadArrayStart() - if yyl85 == 0 { + } else if yyct93 == codecSelferValueTypeArray1234 { + yyl93 := r.ReadArrayStart() + if yyl93 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl85, d) + x.codecDecodeSelfFromArray(yyl93, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -989,12 +1037,12 @@ func (x *SimpleGetOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys86Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys86Slc - var yyhl86 bool = l >= 0 - for yyj86 := 0; ; yyj86++ { - if yyhl86 { - if yyj86 >= l { + var yys94Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys94Slc + var yyhl94 bool = l >= 0 + for yyj94 := 0; ; yyj94++ { + if yyhl94 { + if yyj94 >= l { break } } else { @@ -1003,10 +1051,10 @@ func (x *SimpleGetOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys86Slc = r.DecodeBytes(yys86Slc, true, true) - yys86 := string(yys86Slc) + yys94Slc = r.DecodeBytes(yys94Slc, true, true) + yys94 := string(yys94Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys86 { + switch yys94 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1038,9 +1086,9 @@ func (x *SimpleGetOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys86) - } // end switch yys86 - } // end for yyj86 + z.DecStructFieldNotFound(-1, yys94) + } // end switch yys94 + } // end for yyj94 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1048,16 +1096,16 @@ func (x *SimpleGetOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj92 int - var yyb92 bool - var yyhl92 bool = l >= 0 - yyj92++ - if yyhl92 { - yyb92 = yyj92 > l + var yyj100 int + var yyb100 bool + var yyhl100 bool = l >= 0 + yyj100++ + if yyhl100 { + yyb100 = yyj100 > l } else { - yyb92 = r.CheckBreak() + yyb100 = r.CheckBreak() } - if yyb92 { + if yyb100 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1067,13 +1115,13 @@ func (x *SimpleGetOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj92++ - if yyhl92 { - yyb92 = yyj92 > l + yyj100++ + if yyhl100 { + yyb100 = yyj100 > l } else { - yyb92 = r.CheckBreak() + yyb100 = r.CheckBreak() } - if yyb92 { + if yyb100 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1083,13 +1131,13 @@ func (x *SimpleGetOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj92++ - if yyhl92 { - yyb92 = yyj92 > l + yyj100++ + if yyhl100 { + yyb100 = yyj100 > l } else { - yyb92 = r.CheckBreak() + yyb100 = r.CheckBreak() } - if yyb92 { + if yyb100 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1099,13 +1147,13 @@ func (x *SimpleGetOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Param1 = string(r.DecodeString()) } - yyj92++ - if yyhl92 { - yyb92 = yyj92 > l + yyj100++ + if yyhl100 { + yyb100 = yyj100 > l } else { - yyb92 = r.CheckBreak() + yyb100 = r.CheckBreak() } - if yyb92 { + if yyb100 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1115,13 +1163,13 @@ func (x *SimpleGetOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Param2 = string(r.DecodeString()) } - yyj92++ - if yyhl92 { - yyb92 = yyj92 > l + yyj100++ + if yyhl100 { + yyb100 = yyj100 > l } else { - yyb92 = r.CheckBreak() + yyb100 = r.CheckBreak() } - if yyb92 { + if yyb100 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1132,17 +1180,17 @@ func (x *SimpleGetOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Path = string(r.DecodeString()) } for { - yyj92++ - if yyhl92 { - yyb92 = yyj92 > l + yyj100++ + if yyhl100 { + yyb100 = yyj100 > l } else { - yyb92 = r.CheckBreak() + yyb100 = r.CheckBreak() } - if yyb92 { + if yyb100 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj92-1, "") + z.DecStructFieldNotFound(yyj100-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1154,37 +1202,37 @@ func (x *SimpleList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym98 := z.EncBinary() - _ = yym98 + yym106 := z.EncBinary() + _ = yym106 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep99 := !z.EncBinary() - yy2arr99 := z.EncBasicHandle().StructToArray - var yyq99 [4]bool - _, _, _ = yysep99, yyq99, yy2arr99 - const yyr99 bool = false - yyq99[0] = x.Kind != "" - yyq99[1] = x.APIVersion != "" - yyq99[3] = len(x.Items) != 0 - var yynn99 int - if yyr99 || yy2arr99 { + yysep107 := !z.EncBinary() + yy2arr107 := z.EncBasicHandle().StructToArray + var yyq107 [4]bool + _, _, _ = yysep107, yyq107, yy2arr107 + const yyr107 bool = false + yyq107[0] = x.Kind != "" + yyq107[1] = x.APIVersion != "" + yyq107[3] = len(x.Items) != 0 + var yynn107 int + if yyr107 || yy2arr107 { r.EncodeArrayStart(4) } else { - yynn99 = 1 - for _, b := range yyq99 { + yynn107 = 1 + for _, b := range yyq107 { if b { - yynn99++ + yynn107++ } } - r.EncodeMapStart(yynn99) - yynn99 = 0 + r.EncodeMapStart(yynn107) + yynn107 = 0 } - if yyr99 || yy2arr99 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq99[0] { - yym101 := z.EncBinary() - _ = yym101 + if yyq107[0] { + yym109 := z.EncBinary() + _ = yym109 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1193,23 +1241,23 @@ func (x *SimpleList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq99[0] { + if yyq107[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym102 := z.EncBinary() - _ = yym102 + yym110 := z.EncBinary() + _ = yym110 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr99 || yy2arr99 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq99[1] { - yym104 := z.EncBinary() - _ = yym104 + if yyq107[1] { + yym112 := z.EncBinary() + _ = yym112 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1218,49 +1266,49 @@ func (x *SimpleList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq99[1] { + if yyq107[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym105 := z.EncBinary() - _ = yym105 + yym113 := z.EncBinary() + _ = yym113 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr99 || yy2arr99 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy107 := &x.ListMeta - yym108 := z.EncBinary() - _ = yym108 + yy115 := &x.ListMeta + yym116 := z.EncBinary() + _ = yym116 if false { - } else if z.HasExtensions() && z.EncExt(yy107) { + } else if z.HasExtensions() && z.EncExt(yy115) { } else { - z.EncFallback(yy107) + z.EncFallback(yy115) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy109 := &x.ListMeta - yym110 := z.EncBinary() - _ = yym110 + yy117 := &x.ListMeta + yym118 := z.EncBinary() + _ = yym118 if false { - } else if z.HasExtensions() && z.EncExt(yy109) { + } else if z.HasExtensions() && z.EncExt(yy117) { } else { - z.EncFallback(yy109) + z.EncFallback(yy117) } } - if yyr99 || yy2arr99 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq99[3] { + if yyq107[3] { if x.Items == nil { r.EncodeNil() } else { - yym112 := z.EncBinary() - _ = yym112 + yym120 := z.EncBinary() + _ = yym120 if false { } else { h.encSliceSimple(([]Simple)(x.Items), e) @@ -1270,15 +1318,15 @@ func (x *SimpleList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq99[3] { + if yyq107[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym113 := z.EncBinary() - _ = yym113 + yym121 := z.EncBinary() + _ = yym121 if false { } else { h.encSliceSimple(([]Simple)(x.Items), e) @@ -1286,7 +1334,7 @@ func (x *SimpleList) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr99 || yy2arr99 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1299,25 +1347,25 @@ func (x *SimpleList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym114 := z.DecBinary() - _ = yym114 + yym122 := z.DecBinary() + _ = yym122 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct115 := r.ContainerType() - if yyct115 == codecSelferValueTypeMap1234 { - yyl115 := r.ReadMapStart() - if yyl115 == 0 { + yyct123 := r.ContainerType() + if yyct123 == codecSelferValueTypeMap1234 { + yyl123 := r.ReadMapStart() + if yyl123 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl115, d) + x.codecDecodeSelfFromMap(yyl123, d) } - } else if yyct115 == codecSelferValueTypeArray1234 { - yyl115 := r.ReadArrayStart() - if yyl115 == 0 { + } else if yyct123 == codecSelferValueTypeArray1234 { + yyl123 := r.ReadArrayStart() + if yyl123 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl115, d) + x.codecDecodeSelfFromArray(yyl123, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1329,12 +1377,12 @@ func (x *SimpleList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys116Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys116Slc - var yyhl116 bool = l >= 0 - for yyj116 := 0; ; yyj116++ { - if yyhl116 { - if yyj116 >= l { + var yys124Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys124Slc + var yyhl124 bool = l >= 0 + for yyj124 := 0; ; yyj124++ { + if yyhl124 { + if yyj124 >= l { break } } else { @@ -1343,10 +1391,10 @@ func (x *SimpleList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys116Slc = r.DecodeBytes(yys116Slc, true, true) - yys116 := string(yys116Slc) + yys124Slc = r.DecodeBytes(yys124Slc, true, true) + yys124 := string(yys124Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys116 { + switch yys124 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1363,31 +1411,31 @@ func (x *SimpleList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv119 := &x.ListMeta - yym120 := z.DecBinary() - _ = yym120 + yyv127 := &x.ListMeta + yym128 := z.DecBinary() + _ = yym128 if false { - } else if z.HasExtensions() && z.DecExt(yyv119) { + } else if z.HasExtensions() && z.DecExt(yyv127) { } else { - z.DecFallback(yyv119, false) + z.DecFallback(yyv127, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv121 := &x.Items - yym122 := z.DecBinary() - _ = yym122 + yyv129 := &x.Items + yym130 := z.DecBinary() + _ = yym130 if false { } else { - h.decSliceSimple((*[]Simple)(yyv121), d) + h.decSliceSimple((*[]Simple)(yyv129), d) } } default: - z.DecStructFieldNotFound(-1, yys116) - } // end switch yys116 - } // end for yyj116 + z.DecStructFieldNotFound(-1, yys124) + } // end switch yys124 + } // end for yyj124 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1395,16 +1443,16 @@ func (x *SimpleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj123 int - var yyb123 bool - var yyhl123 bool = l >= 0 - yyj123++ - if yyhl123 { - yyb123 = yyj123 > l + var yyj131 int + var yyb131 bool + var yyhl131 bool = l >= 0 + yyj131++ + if yyhl131 { + yyb131 = yyj131 > l } else { - yyb123 = r.CheckBreak() + yyb131 = r.CheckBreak() } - if yyb123 { + if yyb131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1414,13 +1462,13 @@ func (x *SimpleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj123++ - if yyhl123 { - yyb123 = yyj123 > l + yyj131++ + if yyhl131 { + yyb131 = yyj131 > l } else { - yyb123 = r.CheckBreak() + yyb131 = r.CheckBreak() } - if yyb123 { + if yyb131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1430,13 +1478,13 @@ func (x *SimpleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj123++ - if yyhl123 { - yyb123 = yyj123 > l + yyj131++ + if yyhl131 { + yyb131 = yyj131 > l } else { - yyb123 = r.CheckBreak() + yyb131 = r.CheckBreak() } - if yyb123 { + if yyb131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1444,22 +1492,22 @@ func (x *SimpleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv126 := &x.ListMeta - yym127 := z.DecBinary() - _ = yym127 + yyv134 := &x.ListMeta + yym135 := z.DecBinary() + _ = yym135 if false { - } else if z.HasExtensions() && z.DecExt(yyv126) { + } else if z.HasExtensions() && z.DecExt(yyv134) { } else { - z.DecFallback(yyv126, false) + z.DecFallback(yyv134, false) } } - yyj123++ - if yyhl123 { - yyb123 = yyj123 > l + yyj131++ + if yyhl131 { + yyb131 = yyj131 > l } else { - yyb123 = r.CheckBreak() + yyb131 = r.CheckBreak() } - if yyb123 { + if yyb131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1467,26 +1515,26 @@ func (x *SimpleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv128 := &x.Items - yym129 := z.DecBinary() - _ = yym129 + yyv136 := &x.Items + yym137 := z.DecBinary() + _ = yym137 if false { } else { - h.decSliceSimple((*[]Simple)(yyv128), d) + h.decSliceSimple((*[]Simple)(yyv136), d) } } for { - yyj123++ - if yyhl123 { - yyb123 = yyj123 > l + yyj131++ + if yyhl131 { + yyb131 = yyj131 > l } else { - yyb123 = r.CheckBreak() + yyb131 = r.CheckBreak() } - if yyb123 { + if yyb131 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj123-1, "") + z.DecStructFieldNotFound(yyj131-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1496,10 +1544,10 @@ func (x codecSelfer1234) encSliceSimple(v []Simple, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv130 := range v { + for _, yyv138 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy131 := &yyv130 - yy131.CodecEncodeSelf(e) + yy139 := &yyv138 + yy139.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1509,83 +1557,83 @@ func (x codecSelfer1234) decSliceSimple(v *[]Simple, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv132 := *v - yyh132, yyl132 := z.DecSliceHelperStart() - var yyc132 bool - if yyl132 == 0 { - if yyv132 == nil { - yyv132 = []Simple{} - yyc132 = true - } else if len(yyv132) != 0 { - yyv132 = yyv132[:0] - yyc132 = true + yyv140 := *v + yyh140, yyl140 := z.DecSliceHelperStart() + var yyc140 bool + if yyl140 == 0 { + if yyv140 == nil { + yyv140 = []Simple{} + yyc140 = true + } else if len(yyv140) != 0 { + yyv140 = yyv140[:0] + yyc140 = true } - } else if yyl132 > 0 { - var yyrr132, yyrl132 int - var yyrt132 bool - if yyl132 > cap(yyv132) { + } else if yyl140 > 0 { + var yyrr140, yyrl140 int + var yyrt140 bool + if yyl140 > cap(yyv140) { - yyrg132 := len(yyv132) > 0 - yyv2132 := yyv132 - yyrl132, yyrt132 = z.DecInferLen(yyl132, z.DecBasicHandle().MaxInitLen, 216) - if yyrt132 { - if yyrl132 <= cap(yyv132) { - yyv132 = yyv132[:yyrl132] + yyrg140 := len(yyv140) > 0 + yyv2140 := yyv140 + yyrl140, yyrt140 = z.DecInferLen(yyl140, z.DecBasicHandle().MaxInitLen, 216) + if yyrt140 { + if yyrl140 <= cap(yyv140) { + yyv140 = yyv140[:yyrl140] } else { - yyv132 = make([]Simple, yyrl132) + yyv140 = make([]Simple, yyrl140) } } else { - yyv132 = make([]Simple, yyrl132) + yyv140 = make([]Simple, yyrl140) } - yyc132 = true - yyrr132 = len(yyv132) - if yyrg132 { - copy(yyv132, yyv2132) + yyc140 = true + yyrr140 = len(yyv140) + if yyrg140 { + copy(yyv140, yyv2140) } - } else if yyl132 != len(yyv132) { - yyv132 = yyv132[:yyl132] - yyc132 = true + } else if yyl140 != len(yyv140) { + yyv140 = yyv140[:yyl140] + yyc140 = true } - yyj132 := 0 - for ; yyj132 < yyrr132; yyj132++ { - yyh132.ElemContainerState(yyj132) + yyj140 := 0 + for ; yyj140 < yyrr140; yyj140++ { + yyh140.ElemContainerState(yyj140) if r.TryDecodeAsNil() { - yyv132[yyj132] = Simple{} + yyv140[yyj140] = Simple{} } else { - yyv133 := &yyv132[yyj132] - yyv133.CodecDecodeSelf(d) + yyv141 := &yyv140[yyj140] + yyv141.CodecDecodeSelf(d) } } - if yyrt132 { - for ; yyj132 < yyl132; yyj132++ { - yyv132 = append(yyv132, Simple{}) - yyh132.ElemContainerState(yyj132) + if yyrt140 { + for ; yyj140 < yyl140; yyj140++ { + yyv140 = append(yyv140, Simple{}) + yyh140.ElemContainerState(yyj140) if r.TryDecodeAsNil() { - yyv132[yyj132] = Simple{} + yyv140[yyj140] = Simple{} } else { - yyv134 := &yyv132[yyj132] - yyv134.CodecDecodeSelf(d) + yyv142 := &yyv140[yyj140] + yyv142.CodecDecodeSelf(d) } } } } else { - yyj132 := 0 - for ; !r.CheckBreak(); yyj132++ { + yyj140 := 0 + for ; !r.CheckBreak(); yyj140++ { - if yyj132 >= len(yyv132) { - yyv132 = append(yyv132, Simple{}) // var yyz132 Simple - yyc132 = true + if yyj140 >= len(yyv140) { + yyv140 = append(yyv140, Simple{}) // var yyz140 Simple + yyc140 = true } - yyh132.ElemContainerState(yyj132) - if yyj132 < len(yyv132) { + yyh140.ElemContainerState(yyj140) + if yyj140 < len(yyv140) { if r.TryDecodeAsNil() { - yyv132[yyj132] = Simple{} + yyv140[yyj140] = Simple{} } else { - yyv135 := &yyv132[yyj132] - yyv135.CodecDecodeSelf(d) + yyv143 := &yyv140[yyj140] + yyv143.CodecDecodeSelf(d) } } else { @@ -1593,16 +1641,16 @@ func (x codecSelfer1234) decSliceSimple(v *[]Simple, d *codec1978.Decoder) { } } - if yyj132 < len(yyv132) { - yyv132 = yyv132[:yyj132] - yyc132 = true - } else if yyj132 == 0 && yyv132 == nil { - yyv132 = []Simple{} - yyc132 = true + if yyj140 < len(yyv140) { + yyv140 = yyv140[:yyj140] + yyc140 = true + } else if yyj140 == 0 && yyv140 == nil { + yyv140 = []Simple{} + yyc140 = true } } - yyh132.End() - if yyc132 { - *v = yyv132 + yyh140.End() + if yyc140 { + *v = yyv140 } } diff --git a/pkg/controller/job/controller.go b/pkg/controller/job/controller.go index eea1860a595..8ccea7291d8 100644 --- a/pkg/controller/job/controller.go +++ b/pkg/controller/job/controller.go @@ -64,6 +64,8 @@ type JobController struct { // Jobs that need to be updated queue *workqueue.Type + + recorder record.EventRecorder } func NewJobController(kubeClient client.Interface, resyncPeriod controller.ResyncPeriodFunc) *JobController { @@ -75,10 +77,11 @@ func NewJobController(kubeClient client.Interface, resyncPeriod controller.Resyn kubeClient: kubeClient, podControl: controller.RealPodControl{ KubeClient: kubeClient, - Recorder: eventBroadcaster.NewRecorder(api.EventSource{Component: "job"}), + Recorder: eventBroadcaster.NewRecorder(api.EventSource{Component: "job-controller"}), }, expectations: controller.NewControllerExpectations(), queue: workqueue.New(), + recorder: eventBroadcaster.NewRecorder(api.EventSource{Component: "job-controller"}), } jm.jobStore.Store, jm.jobController = framework.NewInformer( @@ -322,16 +325,52 @@ func (jm *JobController) syncJob(key string) error { activePods := controller.FilterActivePods(podList.Items) active := len(activePods) succeeded, failed := getStatus(podList.Items) - if jobNeedsSync { - active = jm.manageJob(activePods, succeeded, &job) + conditions := len(job.Status.Conditions) + if job.Status.StartTime == nil { + now := unversioned.Now() + job.Status.StartTime = &now } - completions := succeeded - if completions == *job.Spec.Completions { - job.Status.Conditions = append(job.Status.Conditions, newCondition()) + if pastActiveDeadline(&job) { + // if job was finished previously, we don't want to redo the termination + if isJobFinished(&job) { + return nil + } + // TODO: below code should be replaced with pod termination resulting in + // pod failures, rather than killing pods. Unfortunately none such solution + // exists ATM. There's an open discussion in the topic in + // https://github.com/kubernetes/kubernetes/issues/14602 which might give + // some sort of solution to above problem. + // kill remaining active pods + wait := sync.WaitGroup{} + wait.Add(active) + for i := 0; i < active; i++ { + go func(ix int) { + defer wait.Done() + if err := jm.podControl.DeletePod(job.Namespace, activePods[ix].Name); err != nil { + defer util.HandleError(err) + } + }(i) + } + wait.Wait() + // update status values accordingly + failed += active + active = 0 + job.Status.Conditions = append(job.Status.Conditions, newCondition(extensions.JobFailed, "DeadlineExceeded", "Job was active longer than specified deadline")) + jm.recorder.Event(&job, api.EventTypeNormal, "DeadlineExceeded", "Job was active longer than specified deadline") + } else { + if jobNeedsSync { + active = jm.manageJob(activePods, succeeded, &job) + } + completions := succeeded + if completions == *job.Spec.Completions { + job.Status.Conditions = append(job.Status.Conditions, newCondition(extensions.JobComplete, "", "")) + now := unversioned.Now() + job.Status.CompletionTime = &now + } } // no need to update the job if the status hasn't changed since last time - if job.Status.Active != active || job.Status.Succeeded != succeeded || job.Status.Failed != failed { + if job.Status.Active != active || job.Status.Succeeded != succeeded || job.Status.Failed != failed || len(job.Status.Conditions) != conditions { job.Status.Active = active job.Status.Succeeded = succeeded job.Status.Failed = failed @@ -344,21 +383,38 @@ func (jm *JobController) syncJob(key string) error { return nil } -func newCondition() extensions.JobCondition { +// pastActiveDeadline checks if job has ActiveDeadlineSeconds field set and if it is exceeded. +func pastActiveDeadline(job *extensions.Job) bool { + if job.Spec.ActiveDeadlineSeconds == nil || job.Status.StartTime == nil { + return false + } + now := unversioned.Now() + start := job.Status.StartTime.Time + duration := now.Time.Sub(start) + allowedDuration := time.Duration(*job.Spec.ActiveDeadlineSeconds) * time.Second + return duration >= allowedDuration +} + +func newCondition(conditionType extensions.JobConditionType, reason, message string) extensions.JobCondition { return extensions.JobCondition{ - Type: extensions.JobComplete, + Type: conditionType, Status: api.ConditionTrue, LastProbeTime: unversioned.Now(), LastTransitionTime: unversioned.Now(), + Reason: reason, + Message: message, } } +// getStatus returns no of succeeded and failed pods running a job func getStatus(pods []api.Pod) (succeeded, failed int) { succeeded = filterPods(pods, api.PodSucceeded) failed = filterPods(pods, api.PodFailed) return } +// manageJob is the core method responsible for managing the number of running +// pods according to what is specified in the job.Spec. func (jm *JobController) manageJob(activePods []*api.Pod, succeeded int, job *extensions.Job) int { var activeLock sync.Mutex active := len(activePods) @@ -447,7 +503,7 @@ func filterPods(pods []api.Pod, phase api.PodPhase) int { func isJobFinished(j *extensions.Job) bool { for _, c := range j.Status.Conditions { - if c.Type == extensions.JobComplete && c.Status == api.ConditionTrue { + if (c.Type == extensions.JobComplete || c.Type == extensions.JobFailed) && c.Status == api.ConditionTrue { return true } } diff --git a/pkg/controller/job/controller_test.go b/pkg/controller/job/controller_test.go index 2fb8214efa1..6fa0b57aaac 100644 --- a/pkg/controller/job/controller_test.go +++ b/pkg/controller/job/controller_test.go @@ -23,6 +23,7 @@ import ( "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/pkg/api/testapi" + "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/apis/extensions" client "k8s.io/kubernetes/pkg/client/unversioned" "k8s.io/kubernetes/pkg/client/unversioned/testclient" @@ -209,22 +210,158 @@ func TestControllerSyncJob(t *testing.T) { if actual.Status.Failed != tc.expectedFailed { t.Errorf("%s: unexpected number of failed pods. Expected %d, saw %d\n", name, tc.expectedFailed, actual.Status.Failed) } + if actual.Status.StartTime == nil { + t.Errorf("%s: .status.startTime was not set", name) + } // validate conditions - if tc.expectedComplete { - completed := false - for _, v := range actual.Status.Conditions { - if v.Type == extensions.JobComplete && v.Status == api.ConditionTrue { - completed = true - break - } - } - if !completed { - t.Errorf("%s: expected completion condition. Got %v", name, actual.Status.Conditions) - } + if tc.expectedComplete && !getCondition(actual, extensions.JobComplete) { + t.Errorf("%s: expected completion condition. Got %#v", name, actual.Status.Conditions) } } } +func TestSyncJobPastDeadline(t *testing.T) { + testCases := map[string]struct { + // job setup + parallelism int + completions int + activeDeadlineSeconds int64 + startTime int64 + + // pod setup + activePods int + succeededPods int + failedPods int + + // expectations + expectedDeletions int + expectedActive int + expectedSucceeded int + expectedFailed int + }{ + "activeDeadlineSeconds less than single pod execution": { + 1, 1, 10, 15, + 1, 0, 0, + 1, 0, 0, 1, + }, + "activeDeadlineSeconds bigger than single pod execution": { + 1, 2, 10, 15, + 1, 1, 0, + 1, 0, 1, 1, + }, + "activeDeadlineSeconds times-out before any pod starts": { + 1, 1, 10, 10, + 0, 0, 0, + 0, 0, 0, 0, + }, + } + + for name, tc := range testCases { + // job manager setup + client := client.NewOrDie(&client.Config{Host: "", GroupVersion: testapi.Default.GroupVersion()}) + manager := NewJobController(client, controller.NoResyncPeriodFunc) + fakePodControl := controller.FakePodControl{} + manager.podControl = &fakePodControl + manager.podStoreSynced = alwaysReady + var actual *extensions.Job + manager.updateHandler = func(job *extensions.Job) error { + actual = job + return nil + } + + // job & pods setup + job := newJob(tc.parallelism, tc.completions) + job.Spec.ActiveDeadlineSeconds = &tc.activeDeadlineSeconds + start := unversioned.Unix(unversioned.Now().Time.Unix()-tc.startTime, 0) + job.Status.StartTime = &start + manager.jobStore.Store.Add(job) + for _, pod := range newPodList(tc.activePods, api.PodRunning, job) { + manager.podStore.Store.Add(&pod) + } + for _, pod := range newPodList(tc.succeededPods, api.PodSucceeded, job) { + manager.podStore.Store.Add(&pod) + } + for _, pod := range newPodList(tc.failedPods, api.PodFailed, job) { + manager.podStore.Store.Add(&pod) + } + + // run + err := manager.syncJob(getKey(job, t)) + if err != nil { + t.Errorf("%s: unexpected error when syncing jobs %v", err) + } + + // validate created/deleted pods + if len(fakePodControl.Templates) != 0 { + t.Errorf("%s: unexpected number of creates. Expected 0, saw %d\n", name, len(fakePodControl.Templates)) + } + if len(fakePodControl.DeletePodName) != tc.expectedDeletions { + t.Errorf("%s: unexpected number of deletes. Expected %d, saw %d\n", name, tc.expectedDeletions, len(fakePodControl.DeletePodName)) + } + // validate status + if actual.Status.Active != tc.expectedActive { + t.Errorf("%s: unexpected number of active pods. Expected %d, saw %d\n", name, tc.expectedActive, actual.Status.Active) + } + if actual.Status.Succeeded != tc.expectedSucceeded { + t.Errorf("%s: unexpected number of succeeded pods. Expected %d, saw %d\n", name, tc.expectedSucceeded, actual.Status.Succeeded) + } + if actual.Status.Failed != tc.expectedFailed { + t.Errorf("%s: unexpected number of failed pods. Expected %d, saw %d\n", name, tc.expectedFailed, actual.Status.Failed) + } + if actual.Status.StartTime == nil { + t.Errorf("%s: .status.startTime was not set", name) + } + // validate conditions + if !getCondition(actual, extensions.JobFailed) { + t.Errorf("%s: expected fail condition. Got %#v", name, actual.Status.Conditions) + } + } +} + +func getCondition(job *extensions.Job, condition extensions.JobConditionType) bool { + for _, v := range job.Status.Conditions { + if v.Type == condition && v.Status == api.ConditionTrue { + return true + } + } + return false +} + +func TestSyncPastDeadlineJobFinished(t *testing.T) { + client := client.NewOrDie(&client.Config{Host: "", GroupVersion: testapi.Default.GroupVersion()}) + manager := NewJobController(client, controller.NoResyncPeriodFunc) + fakePodControl := controller.FakePodControl{} + manager.podControl = &fakePodControl + manager.podStoreSynced = alwaysReady + var actual *extensions.Job + manager.updateHandler = func(job *extensions.Job) error { + actual = job + return nil + } + + job := newJob(1, 1) + activeDeadlineSeconds := int64(10) + job.Spec.ActiveDeadlineSeconds = &activeDeadlineSeconds + start := unversioned.Unix(unversioned.Now().Time.Unix()-15, 0) + job.Status.StartTime = &start + job.Status.Conditions = append(job.Status.Conditions, newCondition(extensions.JobFailed, "DeadlineExceeded", "Job was active longer than specified deadline")) + manager.jobStore.Store.Add(job) + err := manager.syncJob(getKey(job, t)) + if err != nil { + t.Errorf("Unexpected error when syncing jobs %v", err) + } + if len(fakePodControl.Templates) != 0 { + t.Errorf("Unexpected number of creates. Expected %d, saw %d\n", 0, len(fakePodControl.Templates)) + } + if len(fakePodControl.DeletePodName) != 0 { + t.Errorf("Unexpected number of deletes. Expected %d, saw %d\n", 0, len(fakePodControl.DeletePodName)) + } + if actual != nil { + t.Error("Unexpected job modification") + } + +} + func TestSyncJobDeleted(t *testing.T) { client := client.NewOrDie(&client.Config{Host: "", GroupVersion: testapi.Default.GroupVersion()}) manager := NewJobController(client, controller.NoResyncPeriodFunc) diff --git a/pkg/kubectl/describe.go b/pkg/kubectl/describe.go index ac61fd4c97e..0aa56f821d7 100644 --- a/pkg/kubectl/describe.go +++ b/pkg/kubectl/describe.go @@ -895,6 +895,12 @@ func describeJob(job *extensions.Job, events *api.EventList) (string, error) { fmt.Fprintf(out, "Selector:\t%s\n", selector) fmt.Fprintf(out, "Parallelism:\t%d\n", *job.Spec.Parallelism) fmt.Fprintf(out, "Completions:\t%d\n", *job.Spec.Completions) + if job.Status.StartTime != nil { + fmt.Fprintf(out, "Start Time:\t%s\n", job.Status.StartTime.Time.Format(time.RFC1123Z)) + } + if job.Spec.ActiveDeadlineSeconds != nil { + fmt.Fprintf(out, "Active Deadline Seconds:\t%ds\n", *job.Spec.ActiveDeadlineSeconds) + } fmt.Fprintf(out, "Labels:\t%s\n", labels.FormatLabels(job.Labels)) fmt.Fprintf(out, "Pods Statuses:\t%d Running / %d Succeeded / %d Failed\n", job.Status.Active, job.Status.Succeeded, job.Status.Failed) describeVolumes(job.Spec.Template.Spec.Volumes, out) diff --git a/pkg/kubectl/testing/types.generated.go b/pkg/kubectl/testing/types.generated.go index 5888f237fdc..f03019a052c 100644 --- a/pkg/kubectl/testing/types.generated.go +++ b/pkg/kubectl/testing/types.generated.go @@ -158,7 +158,13 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[2] { yy10 := &x.ObjectMeta - yy10.CodecEncodeSelf(e) + yym11 := z.EncBinary() + _ = yym11 + if false { + } else if z.HasExtensions() && z.EncExt(yy10) { + } else { + z.EncFallback(yy10) + } } else { r.EncodeNil() } @@ -167,14 +173,20 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.ObjectMeta - yy11.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yym13 := z.EncBinary() + _ = yym13 + if false { + } else if z.HasExtensions() && z.EncExt(yy12) { + } else { + z.EncFallback(yy12) + } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -183,8 +195,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -195,8 +207,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) { if x.Map == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym18 := z.EncBinary() + _ = yym18 if false { } else { z.F.EncMapStringIntV(x.Map, false, e) @@ -209,8 +221,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) { if x.Map == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym19 := z.EncBinary() + _ = yym19 if false { } else { z.F.EncMapStringIntV(x.Map, false, e) @@ -222,8 +234,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) { if x.StringList == nil { r.EncodeNil() } else { - yym19 := z.EncBinary() - _ = yym19 + yym21 := z.EncBinary() + _ = yym21 if false { } else { z.F.EncSliceStringV(x.StringList, false, e) @@ -236,8 +248,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) { if x.StringList == nil { r.EncodeNil() } else { - yym20 := z.EncBinary() - _ = yym20 + yym22 := z.EncBinary() + _ = yym22 if false { } else { z.F.EncSliceStringV(x.StringList, false, e) @@ -249,8 +261,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) { if x.IntList == nil { r.EncodeNil() } else { - yym22 := z.EncBinary() - _ = yym22 + yym24 := z.EncBinary() + _ = yym24 if false { } else { z.F.EncSliceIntV(x.IntList, false, e) @@ -263,8 +275,8 @@ func (x *TestStruct) CodecEncodeSelf(e *codec1978.Encoder) { if x.IntList == nil { r.EncodeNil() } else { - yym23 := z.EncBinary() - _ = yym23 + yym25 := z.EncBinary() + _ = yym25 if false { } else { z.F.EncSliceIntV(x.IntList, false, e) @@ -284,25 +296,25 @@ func (x *TestStruct) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym24 := z.DecBinary() - _ = yym24 + yym26 := z.DecBinary() + _ = yym26 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct25 := r.ContainerType() - if yyct25 == codecSelferValueTypeMap1234 { - yyl25 := r.ReadMapStart() - if yyl25 == 0 { + yyct27 := r.ContainerType() + if yyct27 == codecSelferValueTypeMap1234 { + yyl27 := r.ReadMapStart() + if yyl27 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl25, d) + x.codecDecodeSelfFromMap(yyl27, d) } - } else if yyct25 == codecSelferValueTypeArray1234 { - yyl25 := r.ReadArrayStart() - if yyl25 == 0 { + } else if yyct27 == codecSelferValueTypeArray1234 { + yyl27 := r.ReadArrayStart() + if yyl27 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl25, d) + x.codecDecodeSelfFromArray(yyl27, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -314,12 +326,12 @@ func (x *TestStruct) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys26Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys26Slc - var yyhl26 bool = l >= 0 - for yyj26 := 0; ; yyj26++ { - if yyhl26 { - if yyj26 >= l { + var yys28Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys28Slc + var yyhl28 bool = l >= 0 + for yyj28 := 0; ; yyj28++ { + if yyhl28 { + if yyj28 >= l { break } } else { @@ -328,10 +340,10 @@ func (x *TestStruct) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys26Slc = r.DecodeBytes(yys26Slc, true, true) - yys26 := string(yys26Slc) + yys28Slc = r.DecodeBytes(yys28Slc, true, true) + yys28 := string(yys28Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys26 { + switch yys28 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -348,8 +360,14 @@ func (x *TestStruct) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv29 := &x.ObjectMeta - yyv29.CodecDecodeSelf(d) + yyv31 := &x.ObjectMeta + yym32 := z.DecBinary() + _ = yym32 + if false { + } else if z.HasExtensions() && z.DecExt(yyv31) { + } else { + z.DecFallback(yyv31, false) + } } case "Key": if r.TryDecodeAsNil() { @@ -361,42 +379,42 @@ func (x *TestStruct) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Map = nil } else { - yyv31 := &x.Map - yym32 := z.DecBinary() - _ = yym32 + yyv34 := &x.Map + yym35 := z.DecBinary() + _ = yym35 if false { } else { - z.F.DecMapStringIntX(yyv31, false, d) + z.F.DecMapStringIntX(yyv34, false, d) } } case "StringList": if r.TryDecodeAsNil() { x.StringList = nil } else { - yyv33 := &x.StringList - yym34 := z.DecBinary() - _ = yym34 + yyv36 := &x.StringList + yym37 := z.DecBinary() + _ = yym37 if false { } else { - z.F.DecSliceStringX(yyv33, false, d) + z.F.DecSliceStringX(yyv36, false, d) } } case "IntList": if r.TryDecodeAsNil() { x.IntList = nil } else { - yyv35 := &x.IntList - yym36 := z.DecBinary() - _ = yym36 + yyv38 := &x.IntList + yym39 := z.DecBinary() + _ = yym39 if false { } else { - z.F.DecSliceIntX(yyv35, false, d) + z.F.DecSliceIntX(yyv38, false, d) } } default: - z.DecStructFieldNotFound(-1, yys26) - } // end switch yys26 - } // end for yyj26 + z.DecStructFieldNotFound(-1, yys28) + } // end switch yys28 + } // end for yyj28 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -404,16 +422,16 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj37 int - var yyb37 bool - var yyhl37 bool = l >= 0 - yyj37++ - if yyhl37 { - yyb37 = yyj37 > l + var yyj40 int + var yyb40 bool + var yyhl40 bool = l >= 0 + yyj40++ + if yyhl40 { + yyb40 = yyj40 > l } else { - yyb37 = r.CheckBreak() + yyb40 = r.CheckBreak() } - if yyb37 { + if yyb40 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -423,13 +441,13 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj37++ - if yyhl37 { - yyb37 = yyj37 > l + yyj40++ + if yyhl40 { + yyb40 = yyj40 > l } else { - yyb37 = r.CheckBreak() + yyb40 = r.CheckBreak() } - if yyb37 { + if yyb40 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -439,13 +457,13 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj37++ - if yyhl37 { - yyb37 = yyj37 > l + yyj40++ + if yyhl40 { + yyb40 = yyj40 > l } else { - yyb37 = r.CheckBreak() + yyb40 = r.CheckBreak() } - if yyb37 { + if yyb40 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -453,16 +471,22 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv40 := &x.ObjectMeta - yyv40.CodecDecodeSelf(d) + yyv43 := &x.ObjectMeta + yym44 := z.DecBinary() + _ = yym44 + if false { + } else if z.HasExtensions() && z.DecExt(yyv43) { + } else { + z.DecFallback(yyv43, false) + } } - yyj37++ - if yyhl37 { - yyb37 = yyj37 > l + yyj40++ + if yyhl40 { + yyb40 = yyj40 > l } else { - yyb37 = r.CheckBreak() + yyb40 = r.CheckBreak() } - if yyb37 { + if yyb40 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -472,13 +496,13 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Key = string(r.DecodeString()) } - yyj37++ - if yyhl37 { - yyb37 = yyj37 > l + yyj40++ + if yyhl40 { + yyb40 = yyj40 > l } else { - yyb37 = r.CheckBreak() + yyb40 = r.CheckBreak() } - if yyb37 { + if yyb40 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -486,21 +510,21 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Map = nil } else { - yyv42 := &x.Map - yym43 := z.DecBinary() - _ = yym43 + yyv46 := &x.Map + yym47 := z.DecBinary() + _ = yym47 if false { } else { - z.F.DecMapStringIntX(yyv42, false, d) + z.F.DecMapStringIntX(yyv46, false, d) } } - yyj37++ - if yyhl37 { - yyb37 = yyj37 > l + yyj40++ + if yyhl40 { + yyb40 = yyj40 > l } else { - yyb37 = r.CheckBreak() + yyb40 = r.CheckBreak() } - if yyb37 { + if yyb40 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -508,21 +532,21 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.StringList = nil } else { - yyv44 := &x.StringList - yym45 := z.DecBinary() - _ = yym45 + yyv48 := &x.StringList + yym49 := z.DecBinary() + _ = yym49 if false { } else { - z.F.DecSliceStringX(yyv44, false, d) + z.F.DecSliceStringX(yyv48, false, d) } } - yyj37++ - if yyhl37 { - yyb37 = yyj37 > l + yyj40++ + if yyhl40 { + yyb40 = yyj40 > l } else { - yyb37 = r.CheckBreak() + yyb40 = r.CheckBreak() } - if yyb37 { + if yyb40 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -530,26 +554,26 @@ func (x *TestStruct) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.IntList = nil } else { - yyv46 := &x.IntList - yym47 := z.DecBinary() - _ = yym47 + yyv50 := &x.IntList + yym51 := z.DecBinary() + _ = yym51 if false { } else { - z.F.DecSliceIntX(yyv46, false, d) + z.F.DecSliceIntX(yyv50, false, d) } } for { - yyj37++ - if yyhl37 { - yyb37 = yyj37 > l + yyj40++ + if yyhl40 { + yyb40 = yyj40 > l } else { - yyb37 = r.CheckBreak() + yyb40 = r.CheckBreak() } - if yyb37 { + if yyb40 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj37-1, "") + z.DecStructFieldNotFound(yyj40-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } diff --git a/pkg/storage/testing/types.generated.go b/pkg/storage/testing/types.generated.go index a35912adb45..9c35faa0f87 100644 --- a/pkg/storage/testing/types.generated.go +++ b/pkg/storage/testing/types.generated.go @@ -156,18 +156,30 @@ func (x *TestResource) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) yy10 := &x.ObjectMeta - yy10.CodecEncodeSelf(e) + yym11 := z.EncBinary() + _ = yym11 + if false { + } else if z.HasExtensions() && z.EncExt(yy10) { + } else { + z.EncFallback(yy10) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.ObjectMeta - yy11.CodecEncodeSelf(e) + yy12 := &x.ObjectMeta + yym13 := z.EncBinary() + _ = yym13 + if false { + } else if z.HasExtensions() && z.EncExt(yy12) { + } else { + z.EncFallback(yy12) + } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeInt(int64(x.Value)) @@ -176,8 +188,8 @@ func (x *TestResource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeInt(int64(x.Value)) @@ -196,25 +208,25 @@ func (x *TestResource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym15 := z.DecBinary() - _ = yym15 + yym17 := z.DecBinary() + _ = yym17 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct16 := r.ContainerType() - if yyct16 == codecSelferValueTypeMap1234 { - yyl16 := r.ReadMapStart() - if yyl16 == 0 { + yyct18 := r.ContainerType() + if yyct18 == codecSelferValueTypeMap1234 { + yyl18 := r.ReadMapStart() + if yyl18 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl16, d) + x.codecDecodeSelfFromMap(yyl18, d) } - } else if yyct16 == codecSelferValueTypeArray1234 { - yyl16 := r.ReadArrayStart() - if yyl16 == 0 { + } else if yyct18 == codecSelferValueTypeArray1234 { + yyl18 := r.ReadArrayStart() + if yyl18 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl16, d) + x.codecDecodeSelfFromArray(yyl18, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -226,12 +238,12 @@ func (x *TestResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys17Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys17Slc - var yyhl17 bool = l >= 0 - for yyj17 := 0; ; yyj17++ { - if yyhl17 { - if yyj17 >= l { + var yys19Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys19Slc + var yyhl19 bool = l >= 0 + for yyj19 := 0; ; yyj19++ { + if yyhl19 { + if yyj19 >= l { break } } else { @@ -240,10 +252,10 @@ func (x *TestResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys17Slc = r.DecodeBytes(yys17Slc, true, true) - yys17 := string(yys17Slc) + yys19Slc = r.DecodeBytes(yys19Slc, true, true) + yys19 := string(yys19Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys17 { + switch yys19 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -260,8 +272,14 @@ func (x *TestResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv20 := &x.ObjectMeta - yyv20.CodecDecodeSelf(d) + yyv22 := &x.ObjectMeta + yym23 := z.DecBinary() + _ = yym23 + if false { + } else if z.HasExtensions() && z.DecExt(yyv22) { + } else { + z.DecFallback(yyv22, false) + } } case "value": if r.TryDecodeAsNil() { @@ -270,9 +288,9 @@ func (x *TestResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Value = int(r.DecodeInt(codecSelferBitsize1234)) } default: - z.DecStructFieldNotFound(-1, yys17) - } // end switch yys17 - } // end for yyj17 + z.DecStructFieldNotFound(-1, yys19) + } // end switch yys19 + } // end for yyj19 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -280,16 +298,16 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj22 int - var yyb22 bool - var yyhl22 bool = l >= 0 - yyj22++ - if yyhl22 { - yyb22 = yyj22 > l + var yyj25 int + var yyb25 bool + var yyhl25 bool = l >= 0 + yyj25++ + if yyhl25 { + yyb25 = yyj25 > l } else { - yyb22 = r.CheckBreak() + yyb25 = r.CheckBreak() } - if yyb22 { + if yyb25 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -299,13 +317,13 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj22++ - if yyhl22 { - yyb22 = yyj22 > l + yyj25++ + if yyhl25 { + yyb25 = yyj25 > l } else { - yyb22 = r.CheckBreak() + yyb25 = r.CheckBreak() } - if yyb22 { + if yyb25 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -315,13 +333,13 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj22++ - if yyhl22 { - yyb22 = yyj22 > l + yyj25++ + if yyhl25 { + yyb25 = yyj25 > l } else { - yyb22 = r.CheckBreak() + yyb25 = r.CheckBreak() } - if yyb22 { + if yyb25 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -329,16 +347,22 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv25 := &x.ObjectMeta - yyv25.CodecDecodeSelf(d) + yyv28 := &x.ObjectMeta + yym29 := z.DecBinary() + _ = yym29 + if false { + } else if z.HasExtensions() && z.DecExt(yyv28) { + } else { + z.DecFallback(yyv28, false) + } } - yyj22++ - if yyhl22 { - yyb22 = yyj22 > l + yyj25++ + if yyhl25 { + yyb25 = yyj25 > l } else { - yyb22 = r.CheckBreak() + yyb25 = r.CheckBreak() } - if yyb22 { + if yyb25 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -349,17 +373,17 @@ func (x *TestResource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Value = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj22++ - if yyhl22 { - yyb22 = yyj22 > l + yyj25++ + if yyhl25 { + yyb25 = yyj25 > l } else { - yyb22 = r.CheckBreak() + yyb25 = r.CheckBreak() } - if yyb22 { + if yyb25 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj22-1, "") + z.DecStructFieldNotFound(yyj25-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } diff --git a/test/e2e/job.go b/test/e2e/job.go index 5623b73820b..5546a53b690 100644 --- a/test/e2e/job.go +++ b/test/e2e/job.go @@ -182,6 +182,19 @@ var _ = Describe("Job", func() { Expect(err).To(HaveOccurred()) Expect(errors.IsNotFound(err)).To(BeTrue()) }) + + It("should fail a job", func() { + By("Creating a job") + job := newTestJob("notTerminate", "foo", api.RestartPolicyNever, parallelism, completions) + activeDeadlineSeconds := int64(10) + job.Spec.ActiveDeadlineSeconds = &activeDeadlineSeconds + job, err := createJob(f.Client, f.Namespace.Name, job) + Expect(err).NotTo(HaveOccurred()) + + By("Ensuring job was failed") + err = waitForJobFail(f.Client, f.Namespace.Name, job.Name) + Expect(err).NotTo(HaveOccurred()) + }) }) // newTestJob returns a job which does one of several testing behaviors. @@ -283,3 +296,19 @@ func waitForJobFinish(c *client.Client, ns, jobName string, completions int) err return curr.Status.Succeeded == completions, nil }) } + +// Wait for job fail. +func waitForJobFail(c *client.Client, ns, jobName string) error { + return wait.Poll(poll, jobTimeout, func() (bool, error) { + curr, err := c.Extensions().Jobs(ns).Get(jobName) + if err != nil { + return false, err + } + for _, c := range curr.Status.Conditions { + if c.Type == extensions.JobFailed && c.Status == api.ConditionTrue { + return true, nil + } + } + return false, nil + }) +}