From a60069b30098e965eeaf6331732fa8b31c583d4d Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Tue, 1 Dec 2015 15:45:29 -0800 Subject: [PATCH] Add a server side export facility --- api/swagger-spec/v1.json | 208 + api/swagger-spec/v1beta1.json | 48 + .../apis/testgroup/types.generated.go | 554 +- .../apis/testgroup/v1/types.generated.go | 554 +- .../extensions/v1beta1/operations.html | 50 +- docs/api-reference/v1/operations.html | 210 +- hack/update-codecgen.sh | 2 +- pkg/api/deep_copy_generated.go | 32 - pkg/api/register.go | 3 + pkg/api/rest/export.go | 28 + pkg/api/rest/rest.go | 8 + pkg/api/serialization_test.go | 4 +- pkg/api/types.generated.go | 13331 +++++++-------- pkg/api/types.go | 9 + pkg/api/unversioned/register.go | 1 + pkg/api/unversioned/types.go | 9 + .../types_swagger_doc_generated.go | 10 + pkg/api/v1/conversion_generated.go | 101 +- pkg/api/v1/deep_copy_generated.go | 10 + pkg/api/v1/register.go | 2 + pkg/api/v1/types.generated.go | 13527 ++++++++-------- pkg/api/v1/types.go | 10 + pkg/api/v1/types_swagger_doc_generated.go | 10 + pkg/apis/extensions/register.go | 1 + .../extensions/v1beta1/types.generated.go | 3279 ++-- pkg/apis/extensions/v1beta1/types.go | 9 + .../v1beta1/types_swagger_doc_generated.go | 10 + pkg/apiserver/api_installer.go | 19 +- pkg/apiserver/apiserver_test.go | 70 +- pkg/apiserver/resthandler.go | 24 +- pkg/registry/generic/etcd/etcd.go | 39 + pkg/registry/generic/etcd/etcd_test.go | 106 +- pkg/registry/limitrange/etcd/etcd.go | 1 + pkg/registry/limitrange/strategy.go | 7 + pkg/registry/node/etcd/etcd.go | 1 + pkg/registry/node/strategy.go | 16 + pkg/registry/podtemplate/etcd/etcd.go | 6 +- pkg/registry/podtemplate/strategy.go | 5 + pkg/registry/secret/strategy.go | 21 + pkg/registry/secret/strategy_test.go | 99 + pkg/registry/service/strategy.go | 22 + pkg/registry/service/strategy_test.go | 78 + pkg/storage/etcd/etcd_helper_test.go | 5 +- 43 files changed, 17308 insertions(+), 15231 deletions(-) create mode 100644 pkg/api/rest/export.go create mode 100644 pkg/registry/secret/strategy_test.go diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index a892c60f0e8..a5bc218a52b 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -479,6 +479,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -1220,6 +1236,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -1961,6 +1993,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -2670,6 +2718,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -3291,6 +3355,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -4217,6 +4297,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -4985,6 +5081,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -5587,6 +5699,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -7871,6 +7999,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -8612,6 +8756,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -9412,6 +9572,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -10212,6 +10388,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -10953,6 +11145,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", diff --git a/api/swagger-spec/v1beta1.json b/api/swagger-spec/v1beta1.json index 9ce39328d05..a8f9d1dc18d 100644 --- a/api/swagger-spec/v1beta1.json +++ b/api/swagger-spec/v1beta1.json @@ -310,6 +310,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -1110,6 +1126,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", @@ -1910,6 +1942,22 @@ "required": false, "allowMultiple": false }, + { + "type": "boolean", + "paramType": "query", + "name": "export", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "exact", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", + "required": false, + "allowMultiple": false + }, { "type": "string", "paramType": "path", 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/operations.html b/docs/api-reference/extensions/v1beta1/operations.html index 870e3c12851..b6191c446fd 100755 --- a/docs/api-reference/extensions/v1beta1/operations.html +++ b/docs/api-reference/extensions/v1beta1/operations.html @@ -1282,6 +1282,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -2288,6 +2304,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -3294,6 +3326,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -5530,7 +5578,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } diff --git a/docs/api-reference/v1/operations.html b/docs/api-reference/v1/operations.html index d9f8de1cc84..7925c273a67 100755 --- a/docs/api-reference/v1/operations.html +++ b/docs/api-reference/v1/operations.html @@ -2016,6 +2016,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -2901,6 +2917,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -3786,6 +3818,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -4671,6 +4719,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -5677,6 +5741,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -8723,6 +8803,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -9608,6 +9704,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -10614,6 +10726,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -11620,6 +11748,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -12505,6 +12649,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -13719,6 +13879,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

name

name of the Namespace

@@ -14774,6 +14950,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

name

name of the Node

@@ -15853,6 +16045,22 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +

QueryParameter

+

export

+

Should this value be exported. Export strips fields that a user can not specify.

+

false

+

boolean

+ + + +

QueryParameter

+

exact

+

Should the export be exact. Exact export maintains cluster-specific fields like Namespace

+

false

+

boolean

+ + +

PathParameter

name

name of the PersistentVolume

@@ -25525,7 +25733,7 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } diff --git a/hack/update-codecgen.sh b/hack/update-codecgen.sh index 80310785b0b..3d98caab7cf 100755 --- a/hack/update-codecgen.sh +++ b/hack/update-codecgen.sh @@ -54,7 +54,7 @@ function depends { file=${generated_files[$1]//\.generated\.go/.go} deps=$(go list -f "{{.Deps}}" ${file} | tr "[" " " | tr "]" " ") inputfile=${generated_files[$2]//\.generated\.go/.go} - fullpath=$(readlink -f ${generated_files[$2]//\.generated\.go/.go}) + fullpath=${generated_files[$2]//\.generated\.go/.go} candidate=$(dirname "${fullpath}") result=false for dep in ${deps}; do diff --git a/pkg/api/deep_copy_generated.go b/pkg/api/deep_copy_generated.go index e4fa60a2c73..20399c01239 100644 --- a/pkg/api/deep_copy_generated.go +++ b/pkg/api/deep_copy_generated.go @@ -24,8 +24,6 @@ import ( resource "k8s.io/kubernetes/pkg/api/resource" unversioned "k8s.io/kubernetes/pkg/api/unversioned" conversion "k8s.io/kubernetes/pkg/conversion" - fields "k8s.io/kubernetes/pkg/fields" - labels "k8s.io/kubernetes/pkg/labels" runtime "k8s.io/kubernetes/pkg/runtime" intstr "k8s.io/kubernetes/pkg/util/intstr" inf "speter.net/go/exp/math/dec/inf" @@ -809,35 +807,6 @@ func deepCopy_api_List(in List, out *List, c *conversion.Cloner) error { return nil } -func deepCopy_api_ListOptions(in ListOptions, out *ListOptions, c *conversion.Cloner) error { - if err := deepCopy_unversioned_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil { - return err - } - if newVal, err := c.DeepCopy(in.LabelSelector); err != nil { - return err - } else if newVal == nil { - out.LabelSelector = nil - } else { - out.LabelSelector = newVal.(labels.Selector) - } - if newVal, err := c.DeepCopy(in.FieldSelector); err != nil { - return err - } else if newVal == nil { - out.FieldSelector = nil - } else { - out.FieldSelector = newVal.(fields.Selector) - } - out.Watch = in.Watch - out.ResourceVersion = in.ResourceVersion - if in.TimeoutSeconds != nil { - out.TimeoutSeconds = new(int64) - *out.TimeoutSeconds = *in.TimeoutSeconds - } else { - out.TimeoutSeconds = nil - } - return nil -} - func deepCopy_api_LoadBalancerIngress(in LoadBalancerIngress, out *LoadBalancerIngress, c *conversion.Cloner) error { out.IP = in.IP out.Hostname = in.Hostname @@ -2417,7 +2386,6 @@ func init() { deepCopy_api_LimitRangeList, deepCopy_api_LimitRangeSpec, deepCopy_api_List, - deepCopy_api_ListOptions, deepCopy_api_LoadBalancerIngress, deepCopy_api_LoadBalancerStatus, deepCopy_api_LocalObjectReference, diff --git a/pkg/api/register.go b/pkg/api/register.go index 2776f8e4be6..65c0a5d9193 100644 --- a/pkg/api/register.go +++ b/pkg/api/register.go @@ -88,6 +88,8 @@ func init() { // Register Unversioned types // TODO this should not be done here + Scheme.AddKnownTypes(SchemeGroupVersion, &unversioned.ExportOptions{}) + Scheme.AddKnownTypes(SchemeGroupVersion, &unversioned.ListOptions{}) Scheme.AddKnownTypes(SchemeGroupVersion, &unversioned.Status{}) Scheme.AddKnownTypes(SchemeGroupVersion, &unversioned.APIVersions{}) Scheme.AddKnownTypes(SchemeGroupVersion, &unversioned.APIGroupList{}) @@ -155,3 +157,4 @@ func (obj *SerializedReference) GetObjectKind() unversioned.ObjectKind { r func (obj *RangeAllocation) GetObjectMeta() meta.Object { return &obj.ObjectMeta } func (obj *RangeAllocation) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } func (obj *ObjectReference) GetObjectKind() unversioned.ObjectKind { return obj } +func (obj *ExportOptions) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/api/rest/export.go b/pkg/api/rest/export.go new file mode 100644 index 00000000000..e12f65de3c7 --- /dev/null +++ b/pkg/api/rest/export.go @@ -0,0 +1,28 @@ +/* +Copyright 2015 The Kubernetes Authors All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package rest + +import ( + "k8s.io/kubernetes/pkg/runtime" +) + +// RESTExportStrategy is the interface that defines how to export a Kubernetes object +type RESTExportStrategy interface { + // Export strips fields that can not be set by the user. If 'exact' is false + // fields specific to the cluster are also stripped + Export(obj runtime.Object, exact bool) error +} diff --git a/pkg/api/rest/rest.go b/pkg/api/rest/rest.go index 393d6d5cec1..ceb962062e2 100644 --- a/pkg/api/rest/rest.go +++ b/pkg/api/rest/rest.go @@ -64,6 +64,14 @@ type Lister interface { List(ctx api.Context, options *unversioned.ListOptions) (runtime.Object, error) } +// Exporter is an object that knows how to strip a RESTful resource for export +type Exporter interface { + // Export an object. Fields that are not user specified (e.g. Status, ObjectMeta.ResourceVersion) are stripped out + // Returns the stripped object. If 'exact' is true, fields that are specific to the cluster (e.g. namespace) are + // retained, otherwise they are stripped also. + Export(ctx api.Context, name string, opts unversioned.ExportOptions) (runtime.Object, error) +} + // Getter is an object that can retrieve a named RESTful resource. type Getter interface { // Get finds a resource in the storage by name and returns it. diff --git a/pkg/api/serialization_test.go b/pkg/api/serialization_test.go index ca1a8ff9fb0..3f4f4fcb74e 100644 --- a/pkg/api/serialization_test.go +++ b/pkg/api/serialization_test.go @@ -147,9 +147,9 @@ func TestList(t *testing.T) { roundTripSame(t, item) } -var nonRoundTrippableTypes = sets.NewString() +var nonRoundTrippableTypes = sets.NewString("ExportOptions") -var nonInternalRoundTrippableTypes = sets.NewString("List", "ListOptions") +var nonInternalRoundTrippableTypes = sets.NewString("List", "ListOptions", "ExportOptions") var nonRoundTrippableTypesByVersion = map[string][]string{} func TestRoundTripTypes(t *testing.T) { diff --git a/pkg/api/types.generated.go b/pkg/api/types.generated.go index d5f36dbfc9a..c34f8c260a1 100644 --- a/pkg/api/types.generated.go +++ b/pkg/api/types.generated.go @@ -33110,7 +33110,7 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -33124,16 +33124,16 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep2619 := !z.EncBinary() yy2arr2619 := z.EncBasicHandle().StructToArray - var yyq2619 [7]bool + var yyq2619 [4]bool _, _, _ = yysep2619, yyq2619, yy2arr2619 const yyr2619 bool = false yyq2619[0] = x.Kind != "" yyq2619[1] = x.APIVersion != "" var yynn2619 int if yyr2619 || yy2arr2619 { - r.EncodeArrayStart(7) + r.EncodeArrayStart(4) } else { - yynn2619 = 5 + yynn2619 = 2 for _, b := range yyq2619 { if b { yynn2619++ @@ -33193,12 +33193,311 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } if yyr2619 || yy2arr2619 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2627 := z.EncBinary() + _ = yym2627 + if false { + } else { + r.EncodeBool(bool(x.Export)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("export")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2628 := z.EncBinary() + _ = yym2628 + if false { + } else { + r.EncodeBool(bool(x.Export)) + } + } + if yyr2619 || yy2arr2619 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2630 := z.EncBinary() + _ = yym2630 + if false { + } else { + r.EncodeBool(bool(x.Exact)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("exact")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2631 := z.EncBinary() + _ = yym2631 + if false { + } else { + r.EncodeBool(bool(x.Exact)) + } + } + if yyr2619 || yy2arr2619 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2632 := z.DecBinary() + _ = yym2632 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2633 := r.ContainerType() + if yyct2633 == codecSelferValueTypeMap1234 { + yyl2633 := r.ReadMapStart() + if yyl2633 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2633, d) + } + } else if yyct2633 == codecSelferValueTypeArray1234 { + yyl2633 := r.ReadArrayStart() + if yyl2633 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2633, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2634Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2634Slc + var yyhl2634 bool = l >= 0 + for yyj2634 := 0; ; yyj2634++ { + if yyhl2634 { + if yyj2634 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2634Slc = r.DecodeBytes(yys2634Slc, true, true) + yys2634 := string(yys2634Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2634 { + 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 "export": + if r.TryDecodeAsNil() { + x.Export = false + } else { + x.Export = bool(r.DecodeBool()) + } + case "exact": + if r.TryDecodeAsNil() { + x.Exact = false + } else { + x.Exact = bool(r.DecodeBool()) + } + default: + z.DecStructFieldNotFound(-1, yys2634) + } // end switch yys2634 + } // end for yyj2634 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2639 int + var yyb2639 bool + var yyhl2639 bool = l >= 0 + yyj2639++ + if yyhl2639 { + yyb2639 = yyj2639 > l + } else { + yyb2639 = r.CheckBreak() + } + if yyb2639 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj2639++ + if yyhl2639 { + yyb2639 = yyj2639 > l + } else { + yyb2639 = r.CheckBreak() + } + if yyb2639 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj2639++ + if yyhl2639 { + yyb2639 = yyj2639 > l + } else { + yyb2639 = r.CheckBreak() + } + if yyb2639 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Export = false + } else { + x.Export = bool(r.DecodeBool()) + } + yyj2639++ + if yyhl2639 { + yyb2639 = yyj2639 > l + } else { + yyb2639 = r.CheckBreak() + } + if yyb2639 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Exact = false + } else { + x.Exact = bool(r.DecodeBool()) + } + for { + yyj2639++ + if yyhl2639 { + yyb2639 = yyj2639 > l + } else { + yyb2639 = r.CheckBreak() + } + if yyb2639 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2639-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2644 := z.EncBinary() + _ = yym2644 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2645 := !z.EncBinary() + yy2arr2645 := z.EncBasicHandle().StructToArray + var yyq2645 [7]bool + _, _, _ = yysep2645, yyq2645, yy2arr2645 + const yyr2645 bool = false + yyq2645[0] = x.Kind != "" + yyq2645[1] = x.APIVersion != "" + var yynn2645 int + if yyr2645 || yy2arr2645 { + r.EncodeArrayStart(7) + } else { + yynn2645 = 5 + for _, b := range yyq2645 { + if b { + yynn2645++ + } + } + r.EncodeMapStart(yynn2645) + yynn2645 = 0 + } + if yyr2645 || yy2arr2645 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2645[0] { + yym2647 := z.EncBinary() + _ = yym2647 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2645[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2648 := z.EncBinary() + _ = yym2648 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2645 || yy2arr2645 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2645[1] { + yym2650 := z.EncBinary() + _ = yym2650 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2645[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2651 := z.EncBinary() + _ = yym2651 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2645 || yy2arr2645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.LabelSelector == nil { r.EncodeNil() } else { - yym2627 := z.EncBinary() - _ = yym2627 + yym2653 := z.EncBinary() + _ = yym2653 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -33212,8 +33511,8 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.LabelSelector == nil { r.EncodeNil() } else { - yym2628 := z.EncBinary() - _ = yym2628 + yym2654 := z.EncBinary() + _ = yym2654 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -33221,13 +33520,13 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2619 || yy2arr2619 { + if yyr2645 || yy2arr2645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.FieldSelector == nil { r.EncodeNil() } else { - yym2630 := z.EncBinary() - _ = yym2630 + yym2656 := z.EncBinary() + _ = yym2656 if false { } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { } else { @@ -33241,8 +33540,8 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.FieldSelector == nil { r.EncodeNil() } else { - yym2631 := z.EncBinary() - _ = yym2631 + yym2657 := z.EncBinary() + _ = yym2657 if false { } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { } else { @@ -33250,10 +33549,10 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2619 || yy2arr2619 { + if yyr2645 || yy2arr2645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2633 := z.EncBinary() - _ = yym2633 + yym2659 := z.EncBinary() + _ = yym2659 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -33262,17 +33561,17 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2634 := z.EncBinary() - _ = yym2634 + yym2660 := z.EncBinary() + _ = yym2660 if false { } else { r.EncodeBool(bool(x.Watch)) } } - if yyr2619 || yy2arr2619 { + if yyr2645 || yy2arr2645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2636 := z.EncBinary() - _ = yym2636 + yym2662 := z.EncBinary() + _ = yym2662 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -33281,24 +33580,24 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ResourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2637 := z.EncBinary() - _ = yym2637 + yym2663 := z.EncBinary() + _ = yym2663 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } - if yyr2619 || yy2arr2619 { + if yyr2645 || yy2arr2645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy2639 := *x.TimeoutSeconds - yym2640 := z.EncBinary() - _ = yym2640 + yy2665 := *x.TimeoutSeconds + yym2666 := z.EncBinary() + _ = yym2666 if false { } else { - r.EncodeInt(int64(yy2639)) + r.EncodeInt(int64(yy2665)) } } } else { @@ -33308,16 +33607,16 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy2641 := *x.TimeoutSeconds - yym2642 := z.EncBinary() - _ = yym2642 + yy2667 := *x.TimeoutSeconds + yym2668 := z.EncBinary() + _ = yym2668 if false { } else { - r.EncodeInt(int64(yy2641)) + r.EncodeInt(int64(yy2667)) } } } - if yyr2619 || yy2arr2619 { + if yyr2645 || yy2arr2645 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33330,25 +33629,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2643 := z.DecBinary() - _ = yym2643 + yym2669 := z.DecBinary() + _ = yym2669 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2644 := r.ContainerType() - if yyct2644 == codecSelferValueTypeMap1234 { - yyl2644 := r.ReadMapStart() - if yyl2644 == 0 { + yyct2670 := r.ContainerType() + if yyct2670 == codecSelferValueTypeMap1234 { + yyl2670 := r.ReadMapStart() + if yyl2670 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2644, d) + x.codecDecodeSelfFromMap(yyl2670, d) } - } else if yyct2644 == codecSelferValueTypeArray1234 { - yyl2644 := r.ReadArrayStart() - if yyl2644 == 0 { + } else if yyct2670 == codecSelferValueTypeArray1234 { + yyl2670 := r.ReadArrayStart() + if yyl2670 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2644, d) + x.codecDecodeSelfFromArray(yyl2670, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33360,12 +33659,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2645Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2645Slc - var yyhl2645 bool = l >= 0 - for yyj2645 := 0; ; yyj2645++ { - if yyhl2645 { - if yyj2645 >= l { + var yys2671Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2671Slc + var yyhl2671 bool = l >= 0 + for yyj2671 := 0; ; yyj2671++ { + if yyhl2671 { + if yyj2671 >= l { break } } else { @@ -33374,10 +33673,10 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2645Slc = r.DecodeBytes(yys2645Slc, true, true) - yys2645 := string(yys2645Slc) + yys2671Slc = r.DecodeBytes(yys2671Slc, true, true) + yys2671 := string(yys2671Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2645 { + switch yys2671 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33394,26 +33693,26 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LabelSelector = nil } else { - yyv2648 := &x.LabelSelector - yym2649 := z.DecBinary() - _ = yym2649 + yyv2674 := &x.LabelSelector + yym2675 := z.DecBinary() + _ = yym2675 if false { - } else if z.HasExtensions() && z.DecExt(yyv2648) { + } else if z.HasExtensions() && z.DecExt(yyv2674) { } else { - z.DecFallback(yyv2648, true) + z.DecFallback(yyv2674, true) } } case "FieldSelector": if r.TryDecodeAsNil() { x.FieldSelector = nil } else { - yyv2650 := &x.FieldSelector - yym2651 := z.DecBinary() - _ = yym2651 + yyv2676 := &x.FieldSelector + yym2677 := z.DecBinary() + _ = yym2677 if false { - } else if z.HasExtensions() && z.DecExt(yyv2650) { + } else if z.HasExtensions() && z.DecExt(yyv2676) { } else { - z.DecFallback(yyv2650, true) + z.DecFallback(yyv2676, true) } } case "Watch": @@ -33437,17 +33736,17 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym2655 := z.DecBinary() - _ = yym2655 + yym2681 := z.DecBinary() + _ = yym2681 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys2645) - } // end switch yys2645 - } // end for yyj2645 + z.DecStructFieldNotFound(-1, yys2671) + } // end switch yys2671 + } // end for yyj2671 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33455,16 +33754,16 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2656 int - var yyb2656 bool - var yyhl2656 bool = l >= 0 - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + var yyj2682 int + var yyb2682 bool + var yyhl2682 bool = l >= 0 + yyj2682++ + if yyhl2682 { + yyb2682 = yyj2682 > l } else { - yyb2656 = r.CheckBreak() + yyb2682 = r.CheckBreak() } - if yyb2656 { + if yyb2682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33474,13 +33773,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + yyj2682++ + if yyhl2682 { + yyb2682 = yyj2682 > l } else { - yyb2656 = r.CheckBreak() + yyb2682 = r.CheckBreak() } - if yyb2656 { + if yyb2682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33490,13 +33789,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + yyj2682++ + if yyhl2682 { + yyb2682 = yyj2682 > l } else { - yyb2656 = r.CheckBreak() + yyb2682 = r.CheckBreak() } - if yyb2656 { + if yyb2682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33504,22 +33803,22 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LabelSelector = nil } else { - yyv2659 := &x.LabelSelector - yym2660 := z.DecBinary() - _ = yym2660 + yyv2685 := &x.LabelSelector + yym2686 := z.DecBinary() + _ = yym2686 if false { - } else if z.HasExtensions() && z.DecExt(yyv2659) { + } else if z.HasExtensions() && z.DecExt(yyv2685) { } else { - z.DecFallback(yyv2659, true) + z.DecFallback(yyv2685, true) } } - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + yyj2682++ + if yyhl2682 { + yyb2682 = yyj2682 > l } else { - yyb2656 = r.CheckBreak() + yyb2682 = r.CheckBreak() } - if yyb2656 { + if yyb2682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33527,22 +33826,22 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FieldSelector = nil } else { - yyv2661 := &x.FieldSelector - yym2662 := z.DecBinary() - _ = yym2662 + yyv2687 := &x.FieldSelector + yym2688 := z.DecBinary() + _ = yym2688 if false { - } else if z.HasExtensions() && z.DecExt(yyv2661) { + } else if z.HasExtensions() && z.DecExt(yyv2687) { } else { - z.DecFallback(yyv2661, true) + z.DecFallback(yyv2687, true) } } - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + yyj2682++ + if yyhl2682 { + yyb2682 = yyj2682 > l } else { - yyb2656 = r.CheckBreak() + yyb2682 = r.CheckBreak() } - if yyb2656 { + if yyb2682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33552,13 +33851,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Watch = bool(r.DecodeBool()) } - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + yyj2682++ + if yyhl2682 { + yyb2682 = yyj2682 > l } else { - yyb2656 = r.CheckBreak() + yyb2682 = r.CheckBreak() } - if yyb2656 { + if yyb2682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33568,13 +33867,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + yyj2682++ + if yyhl2682 { + yyb2682 = yyj2682 > l } else { - yyb2656 = r.CheckBreak() + yyb2682 = r.CheckBreak() } - if yyb2656 { + if yyb2682 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33587,25 +33886,25 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym2666 := z.DecBinary() - _ = yym2666 + yym2692 := z.DecBinary() + _ = yym2692 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } for { - yyj2656++ - if yyhl2656 { - yyb2656 = yyj2656 > l + yyj2682++ + if yyhl2682 { + yyb2682 = yyj2682 > l } else { - yyb2656 = r.CheckBreak() + yyb2682 = r.CheckBreak() } - if yyb2656 { + if yyb2682 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2656-1, "") + z.DecStructFieldNotFound(yyj2682-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33617,36 +33916,36 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2667 := z.EncBinary() - _ = yym2667 + yym2693 := z.EncBinary() + _ = yym2693 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2668 := !z.EncBinary() - yy2arr2668 := z.EncBasicHandle().StructToArray - var yyq2668 [10]bool - _, _, _ = yysep2668, yyq2668, yy2arr2668 - const yyr2668 bool = false - yyq2668[0] = x.Kind != "" - yyq2668[1] = x.APIVersion != "" - var yynn2668 int - if yyr2668 || yy2arr2668 { + yysep2694 := !z.EncBinary() + yy2arr2694 := z.EncBasicHandle().StructToArray + var yyq2694 [10]bool + _, _, _ = yysep2694, yyq2694, yy2arr2694 + const yyr2694 bool = false + yyq2694[0] = x.Kind != "" + yyq2694[1] = x.APIVersion != "" + var yynn2694 int + if yyr2694 || yy2arr2694 { r.EncodeArrayStart(10) } else { - yynn2668 = 8 - for _, b := range yyq2668 { + yynn2694 = 8 + for _, b := range yyq2694 { if b { - yynn2668++ + yynn2694++ } } - r.EncodeMapStart(yynn2668) - yynn2668 = 0 + r.EncodeMapStart(yynn2694) + yynn2694 = 0 } - if yyr2668 || yy2arr2668 { + if yyr2694 || yy2arr2694 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2668[0] { - yym2670 := z.EncBinary() - _ = yym2670 + if yyq2694[0] { + yym2696 := z.EncBinary() + _ = yym2696 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -33655,23 +33954,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2668[0] { + if yyq2694[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2671 := z.EncBinary() - _ = yym2671 + yym2697 := z.EncBinary() + _ = yym2697 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2668 || yy2arr2668 { + if yyr2694 || yy2arr2694 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2668[1] { - yym2673 := z.EncBinary() - _ = yym2673 + if yyq2694[1] { + yym2699 := z.EncBinary() + _ = yym2699 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -33680,22 +33979,22 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2668[1] { + if yyq2694[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2674 := z.EncBinary() - _ = yym2674 + yym2700 := z.EncBinary() + _ = yym2700 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2668 || yy2arr2668 { + if yyr2694 || yy2arr2694 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2676 := z.EncBinary() - _ = yym2676 + yym2702 := z.EncBinary() + _ = yym2702 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -33704,17 +34003,17 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2677 := z.EncBinary() - _ = yym2677 + yym2703 := z.EncBinary() + _ = yym2703 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } - if yyr2668 || yy2arr2668 { + if yyr2694 || yy2arr2694 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2679 := z.EncBinary() - _ = yym2679 + yym2705 := z.EncBinary() + _ = yym2705 if false { } else { r.EncodeBool(bool(x.Follow)) @@ -33723,17 +34022,17 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Follow")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2680 := z.EncBinary() - _ = yym2680 + yym2706 := z.EncBinary() + _ = yym2706 if false { } else { r.EncodeBool(bool(x.Follow)) } } - if yyr2668 || yy2arr2668 { + if yyr2694 || yy2arr2694 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2682 := z.EncBinary() - _ = yym2682 + yym2708 := z.EncBinary() + _ = yym2708 if false { } else { r.EncodeBool(bool(x.Previous)) @@ -33742,24 +34041,24 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Previous")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2683 := z.EncBinary() - _ = yym2683 + yym2709 := z.EncBinary() + _ = yym2709 if false { } else { r.EncodeBool(bool(x.Previous)) } } - if yyr2668 || yy2arr2668 { + if yyr2694 || yy2arr2694 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SinceSeconds == nil { r.EncodeNil() } else { - yy2685 := *x.SinceSeconds - yym2686 := z.EncBinary() - _ = yym2686 + yy2711 := *x.SinceSeconds + yym2712 := z.EncBinary() + _ = yym2712 if false { } else { - r.EncodeInt(int64(yy2685)) + r.EncodeInt(int64(yy2711)) } } } else { @@ -33769,27 +34068,27 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.SinceSeconds == nil { r.EncodeNil() } else { - yy2687 := *x.SinceSeconds - yym2688 := z.EncBinary() - _ = yym2688 + yy2713 := *x.SinceSeconds + yym2714 := z.EncBinary() + _ = yym2714 if false { } else { - r.EncodeInt(int64(yy2687)) + r.EncodeInt(int64(yy2713)) } } } - if yyr2668 || yy2arr2668 { + if yyr2694 || yy2arr2694 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SinceTime == nil { r.EncodeNil() } else { - yym2690 := z.EncBinary() - _ = yym2690 + yym2716 := z.EncBinary() + _ = yym2716 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym2690 { + } else if yym2716 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym2690 && z.IsJSONHandle() { + } else if !yym2716 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -33802,23 +34101,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.SinceTime == nil { r.EncodeNil() } else { - yym2691 := z.EncBinary() - _ = yym2691 + yym2717 := z.EncBinary() + _ = yym2717 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym2691 { + } else if yym2717 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym2691 && z.IsJSONHandle() { + } else if !yym2717 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) } } } - if yyr2668 || yy2arr2668 { + if yyr2694 || yy2arr2694 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2693 := z.EncBinary() - _ = yym2693 + yym2719 := z.EncBinary() + _ = yym2719 if false { } else { r.EncodeBool(bool(x.Timestamps)) @@ -33827,24 +34126,24 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Timestamps")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2694 := z.EncBinary() - _ = yym2694 + yym2720 := z.EncBinary() + _ = yym2720 if false { } else { r.EncodeBool(bool(x.Timestamps)) } } - if yyr2668 || yy2arr2668 { + if yyr2694 || yy2arr2694 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TailLines == nil { r.EncodeNil() } else { - yy2696 := *x.TailLines - yym2697 := z.EncBinary() - _ = yym2697 + yy2722 := *x.TailLines + yym2723 := z.EncBinary() + _ = yym2723 if false { } else { - r.EncodeInt(int64(yy2696)) + r.EncodeInt(int64(yy2722)) } } } else { @@ -33854,26 +34153,26 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.TailLines == nil { r.EncodeNil() } else { - yy2698 := *x.TailLines - yym2699 := z.EncBinary() - _ = yym2699 + yy2724 := *x.TailLines + yym2725 := z.EncBinary() + _ = yym2725 if false { } else { - r.EncodeInt(int64(yy2698)) + r.EncodeInt(int64(yy2724)) } } } - if yyr2668 || yy2arr2668 { + if yyr2694 || yy2arr2694 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.LimitBytes == nil { r.EncodeNil() } else { - yy2701 := *x.LimitBytes - yym2702 := z.EncBinary() - _ = yym2702 + yy2727 := *x.LimitBytes + yym2728 := z.EncBinary() + _ = yym2728 if false { } else { - r.EncodeInt(int64(yy2701)) + r.EncodeInt(int64(yy2727)) } } } else { @@ -33883,16 +34182,16 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.LimitBytes == nil { r.EncodeNil() } else { - yy2703 := *x.LimitBytes - yym2704 := z.EncBinary() - _ = yym2704 + yy2729 := *x.LimitBytes + yym2730 := z.EncBinary() + _ = yym2730 if false { } else { - r.EncodeInt(int64(yy2703)) + r.EncodeInt(int64(yy2729)) } } } - if yyr2668 || yy2arr2668 { + if yyr2694 || yy2arr2694 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33905,25 +34204,25 @@ func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2705 := z.DecBinary() - _ = yym2705 + yym2731 := z.DecBinary() + _ = yym2731 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2706 := r.ContainerType() - if yyct2706 == codecSelferValueTypeMap1234 { - yyl2706 := r.ReadMapStart() - if yyl2706 == 0 { + yyct2732 := r.ContainerType() + if yyct2732 == codecSelferValueTypeMap1234 { + yyl2732 := r.ReadMapStart() + if yyl2732 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2706, d) + x.codecDecodeSelfFromMap(yyl2732, d) } - } else if yyct2706 == codecSelferValueTypeArray1234 { - yyl2706 := r.ReadArrayStart() - if yyl2706 == 0 { + } else if yyct2732 == codecSelferValueTypeArray1234 { + yyl2732 := r.ReadArrayStart() + if yyl2732 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2706, d) + x.codecDecodeSelfFromArray(yyl2732, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33935,12 +34234,12 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2707Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2707Slc - var yyhl2707 bool = l >= 0 - for yyj2707 := 0; ; yyj2707++ { - if yyhl2707 { - if yyj2707 >= l { + var yys2733Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2733Slc + var yyhl2733 bool = l >= 0 + for yyj2733 := 0; ; yyj2733++ { + if yyhl2733 { + if yyj2733 >= l { break } } else { @@ -33949,10 +34248,10 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2707Slc = r.DecodeBytes(yys2707Slc, true, true) - yys2707 := string(yys2707Slc) + yys2733Slc = r.DecodeBytes(yys2733Slc, true, true) + yys2733 := string(yys2733Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2707 { + switch yys2733 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33992,8 +34291,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym2714 := z.DecBinary() - _ = yym2714 + yym2740 := z.DecBinary() + _ = yym2740 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) @@ -34008,13 +34307,13 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym2716 := z.DecBinary() - _ = yym2716 + yym2742 := z.DecBinary() + _ = yym2742 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym2716 { + } else if yym2742 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym2716 && z.IsJSONHandle() { + } else if !yym2742 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) @@ -34035,8 +34334,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym2719 := z.DecBinary() - _ = yym2719 + yym2745 := z.DecBinary() + _ = yym2745 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) @@ -34051,17 +34350,17 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym2721 := z.DecBinary() - _ = yym2721 + yym2747 := z.DecBinary() + _ = yym2747 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys2707) - } // end switch yys2707 - } // end for yyj2707 + z.DecStructFieldNotFound(-1, yys2733) + } // end switch yys2733 + } // end for yyj2733 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34069,16 +34368,16 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2722 int - var yyb2722 bool - var yyhl2722 bool = l >= 0 - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + var yyj2748 int + var yyb2748 bool + var yyhl2748 bool = l >= 0 + yyj2748++ + if yyhl2748 { + yyb2748 = yyj2748 > l } else { - yyb2722 = r.CheckBreak() + yyb2748 = r.CheckBreak() } - if yyb2722 { + if yyb2748 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34088,13 +34387,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2748++ + if yyhl2748 { + yyb2748 = yyj2748 > l } else { - yyb2722 = r.CheckBreak() + yyb2748 = r.CheckBreak() } - if yyb2722 { + if yyb2748 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34104,13 +34403,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2748++ + if yyhl2748 { + yyb2748 = yyj2748 > l } else { - yyb2722 = r.CheckBreak() + yyb2748 = r.CheckBreak() } - if yyb2722 { + if yyb2748 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34120,13 +34419,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2748++ + if yyhl2748 { + yyb2748 = yyj2748 > l } else { - yyb2722 = r.CheckBreak() + yyb2748 = r.CheckBreak() } - if yyb2722 { + if yyb2748 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34136,13 +34435,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Follow = bool(r.DecodeBool()) } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2748++ + if yyhl2748 { + yyb2748 = yyj2748 > l } else { - yyb2722 = r.CheckBreak() + yyb2748 = r.CheckBreak() } - if yyb2722 { + if yyb2748 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34152,13 +34451,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Previous = bool(r.DecodeBool()) } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2748++ + if yyhl2748 { + yyb2748 = yyj2748 > l } else { - yyb2722 = r.CheckBreak() + yyb2748 = r.CheckBreak() } - if yyb2722 { + if yyb2748 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34171,20 +34470,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym2729 := z.DecBinary() - _ = yym2729 + yym2755 := z.DecBinary() + _ = yym2755 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) } } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2748++ + if yyhl2748 { + yyb2748 = yyj2748 > l } else { - yyb2722 = r.CheckBreak() + yyb2748 = r.CheckBreak() } - if yyb2722 { + if yyb2748 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34197,25 +34496,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym2731 := z.DecBinary() - _ = yym2731 + yym2757 := z.DecBinary() + _ = yym2757 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym2731 { + } else if yym2757 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym2731 && z.IsJSONHandle() { + } else if !yym2757 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) } } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2748++ + if yyhl2748 { + yyb2748 = yyj2748 > l } else { - yyb2722 = r.CheckBreak() + yyb2748 = r.CheckBreak() } - if yyb2722 { + if yyb2748 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34225,13 +34524,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Timestamps = bool(r.DecodeBool()) } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2748++ + if yyhl2748 { + yyb2748 = yyj2748 > l } else { - yyb2722 = r.CheckBreak() + yyb2748 = r.CheckBreak() } - if yyb2722 { + if yyb2748 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34244,20 +34543,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym2734 := z.DecBinary() - _ = yym2734 + yym2760 := z.DecBinary() + _ = yym2760 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) } } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2748++ + if yyhl2748 { + yyb2748 = yyj2748 > l } else { - yyb2722 = r.CheckBreak() + yyb2748 = r.CheckBreak() } - if yyb2722 { + if yyb2748 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34270,25 +34569,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym2736 := z.DecBinary() - _ = yym2736 + yym2762 := z.DecBinary() + _ = yym2762 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } for { - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l + yyj2748++ + if yyhl2748 { + yyb2748 = yyj2748 > l } else { - yyb2722 = r.CheckBreak() + yyb2748 = r.CheckBreak() } - if yyb2722 { + if yyb2748 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2722-1, "") + z.DecStructFieldNotFound(yyj2748-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34300,41 +34599,41 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2737 := z.EncBinary() - _ = yym2737 + yym2763 := z.EncBinary() + _ = yym2763 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2738 := !z.EncBinary() - yy2arr2738 := z.EncBasicHandle().StructToArray - var yyq2738 [7]bool - _, _, _ = yysep2738, yyq2738, yy2arr2738 - const yyr2738 bool = false - yyq2738[0] = x.Kind != "" - yyq2738[1] = x.APIVersion != "" - yyq2738[2] = x.Stdin != false - yyq2738[3] = x.Stdout != false - yyq2738[4] = x.Stderr != false - yyq2738[5] = x.TTY != false - yyq2738[6] = x.Container != "" - var yynn2738 int - if yyr2738 || yy2arr2738 { + yysep2764 := !z.EncBinary() + yy2arr2764 := z.EncBasicHandle().StructToArray + var yyq2764 [7]bool + _, _, _ = yysep2764, yyq2764, yy2arr2764 + const yyr2764 bool = false + yyq2764[0] = x.Kind != "" + yyq2764[1] = x.APIVersion != "" + yyq2764[2] = x.Stdin != false + yyq2764[3] = x.Stdout != false + yyq2764[4] = x.Stderr != false + yyq2764[5] = x.TTY != false + yyq2764[6] = x.Container != "" + var yynn2764 int + if yyr2764 || yy2arr2764 { r.EncodeArrayStart(7) } else { - yynn2738 = 0 - for _, b := range yyq2738 { + yynn2764 = 0 + for _, b := range yyq2764 { if b { - yynn2738++ + yynn2764++ } } - r.EncodeMapStart(yynn2738) - yynn2738 = 0 + r.EncodeMapStart(yynn2764) + yynn2764 = 0 } - if yyr2738 || yy2arr2738 { + if yyr2764 || yy2arr2764 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[0] { - yym2740 := z.EncBinary() - _ = yym2740 + if yyq2764[0] { + yym2766 := z.EncBinary() + _ = yym2766 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34343,23 +34642,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2738[0] { + if yyq2764[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2741 := z.EncBinary() - _ = yym2741 + yym2767 := z.EncBinary() + _ = yym2767 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2738 || yy2arr2738 { + if yyr2764 || yy2arr2764 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[1] { - yym2743 := z.EncBinary() - _ = yym2743 + if yyq2764[1] { + yym2769 := z.EncBinary() + _ = yym2769 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -34368,23 +34667,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2738[1] { + if yyq2764[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2744 := z.EncBinary() - _ = yym2744 + yym2770 := z.EncBinary() + _ = yym2770 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2738 || yy2arr2738 { + if yyr2764 || yy2arr2764 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[2] { - yym2746 := z.EncBinary() - _ = yym2746 + if yyq2764[2] { + yym2772 := z.EncBinary() + _ = yym2772 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -34393,23 +34692,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2738[2] { + if yyq2764[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2747 := z.EncBinary() - _ = yym2747 + yym2773 := z.EncBinary() + _ = yym2773 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr2738 || yy2arr2738 { + if yyr2764 || yy2arr2764 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[3] { - yym2749 := z.EncBinary() - _ = yym2749 + if yyq2764[3] { + yym2775 := z.EncBinary() + _ = yym2775 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -34418,23 +34717,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2738[3] { + if yyq2764[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2750 := z.EncBinary() - _ = yym2750 + yym2776 := z.EncBinary() + _ = yym2776 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr2738 || yy2arr2738 { + if yyr2764 || yy2arr2764 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[4] { - yym2752 := z.EncBinary() - _ = yym2752 + if yyq2764[4] { + yym2778 := z.EncBinary() + _ = yym2778 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -34443,23 +34742,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2738[4] { + if yyq2764[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2753 := z.EncBinary() - _ = yym2753 + yym2779 := z.EncBinary() + _ = yym2779 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr2738 || yy2arr2738 { + if yyr2764 || yy2arr2764 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[5] { - yym2755 := z.EncBinary() - _ = yym2755 + if yyq2764[5] { + yym2781 := z.EncBinary() + _ = yym2781 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -34468,23 +34767,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2738[5] { + if yyq2764[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2756 := z.EncBinary() - _ = yym2756 + yym2782 := z.EncBinary() + _ = yym2782 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr2738 || yy2arr2738 { + if yyr2764 || yy2arr2764 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2738[6] { - yym2758 := z.EncBinary() - _ = yym2758 + if yyq2764[6] { + yym2784 := z.EncBinary() + _ = yym2784 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -34493,19 +34792,19 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2738[6] { + if yyq2764[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2759 := z.EncBinary() - _ = yym2759 + yym2785 := z.EncBinary() + _ = yym2785 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr2738 || yy2arr2738 { + if yyr2764 || yy2arr2764 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34518,25 +34817,25 @@ func (x *PodAttachOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2760 := z.DecBinary() - _ = yym2760 + yym2786 := z.DecBinary() + _ = yym2786 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2761 := r.ContainerType() - if yyct2761 == codecSelferValueTypeMap1234 { - yyl2761 := r.ReadMapStart() - if yyl2761 == 0 { + yyct2787 := r.ContainerType() + if yyct2787 == codecSelferValueTypeMap1234 { + yyl2787 := r.ReadMapStart() + if yyl2787 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2761, d) + x.codecDecodeSelfFromMap(yyl2787, d) } - } else if yyct2761 == codecSelferValueTypeArray1234 { - yyl2761 := r.ReadArrayStart() - if yyl2761 == 0 { + } else if yyct2787 == codecSelferValueTypeArray1234 { + yyl2787 := r.ReadArrayStart() + if yyl2787 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2761, d) + x.codecDecodeSelfFromArray(yyl2787, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34548,12 +34847,12 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2762Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2762Slc - var yyhl2762 bool = l >= 0 - for yyj2762 := 0; ; yyj2762++ { - if yyhl2762 { - if yyj2762 >= l { + var yys2788Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2788Slc + var yyhl2788 bool = l >= 0 + for yyj2788 := 0; ; yyj2788++ { + if yyhl2788 { + if yyj2788 >= l { break } } else { @@ -34562,10 +34861,10 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2762Slc = r.DecodeBytes(yys2762Slc, true, true) - yys2762 := string(yys2762Slc) + yys2788Slc = r.DecodeBytes(yys2788Slc, true, true) + yys2788 := string(yys2788Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2762 { + switch yys2788 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -34609,9 +34908,9 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Container = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2762) - } // end switch yys2762 - } // end for yyj2762 + z.DecStructFieldNotFound(-1, yys2788) + } // end switch yys2788 + } // end for yyj2788 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34619,16 +34918,16 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2770 int - var yyb2770 bool - var yyhl2770 bool = l >= 0 - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + var yyj2796 int + var yyb2796 bool + var yyhl2796 bool = l >= 0 + yyj2796++ + if yyhl2796 { + yyb2796 = yyj2796 > l } else { - yyb2770 = r.CheckBreak() + yyb2796 = r.CheckBreak() } - if yyb2770 { + if yyb2796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34638,13 +34937,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2796++ + if yyhl2796 { + yyb2796 = yyj2796 > l } else { - yyb2770 = r.CheckBreak() + yyb2796 = r.CheckBreak() } - if yyb2770 { + if yyb2796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34654,13 +34953,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2796++ + if yyhl2796 { + yyb2796 = yyj2796 > l } else { - yyb2770 = r.CheckBreak() + yyb2796 = r.CheckBreak() } - if yyb2770 { + if yyb2796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34670,13 +34969,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdin = bool(r.DecodeBool()) } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2796++ + if yyhl2796 { + yyb2796 = yyj2796 > l } else { - yyb2770 = r.CheckBreak() + yyb2796 = r.CheckBreak() } - if yyb2770 { + if yyb2796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34686,13 +34985,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdout = bool(r.DecodeBool()) } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2796++ + if yyhl2796 { + yyb2796 = yyj2796 > l } else { - yyb2770 = r.CheckBreak() + yyb2796 = r.CheckBreak() } - if yyb2770 { + if yyb2796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34702,13 +35001,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stderr = bool(r.DecodeBool()) } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2796++ + if yyhl2796 { + yyb2796 = yyj2796 > l } else { - yyb2770 = r.CheckBreak() + yyb2796 = r.CheckBreak() } - if yyb2770 { + if yyb2796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34718,13 +35017,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.TTY = bool(r.DecodeBool()) } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2796++ + if yyhl2796 { + yyb2796 = yyj2796 > l } else { - yyb2770 = r.CheckBreak() + yyb2796 = r.CheckBreak() } - if yyb2770 { + if yyb2796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34735,17 +35034,17 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Container = string(r.DecodeString()) } for { - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l + yyj2796++ + if yyhl2796 { + yyb2796 = yyj2796 > l } else { - yyb2770 = r.CheckBreak() + yyb2796 = r.CheckBreak() } - if yyb2770 { + if yyb2796 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2770-1, "") + z.DecStructFieldNotFound(yyj2796-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34757,36 +35056,36 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2778 := z.EncBinary() - _ = yym2778 + yym2804 := z.EncBinary() + _ = yym2804 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2779 := !z.EncBinary() - yy2arr2779 := z.EncBasicHandle().StructToArray - var yyq2779 [8]bool - _, _, _ = yysep2779, yyq2779, yy2arr2779 - const yyr2779 bool = false - yyq2779[0] = x.Kind != "" - yyq2779[1] = x.APIVersion != "" - var yynn2779 int - if yyr2779 || yy2arr2779 { + yysep2805 := !z.EncBinary() + yy2arr2805 := z.EncBasicHandle().StructToArray + var yyq2805 [8]bool + _, _, _ = yysep2805, yyq2805, yy2arr2805 + const yyr2805 bool = false + yyq2805[0] = x.Kind != "" + yyq2805[1] = x.APIVersion != "" + var yynn2805 int + if yyr2805 || yy2arr2805 { r.EncodeArrayStart(8) } else { - yynn2779 = 6 - for _, b := range yyq2779 { + yynn2805 = 6 + for _, b := range yyq2805 { if b { - yynn2779++ + yynn2805++ } } - r.EncodeMapStart(yynn2779) - yynn2779 = 0 + r.EncodeMapStart(yynn2805) + yynn2805 = 0 } - if yyr2779 || yy2arr2779 { + if yyr2805 || yy2arr2805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2779[0] { - yym2781 := z.EncBinary() - _ = yym2781 + if yyq2805[0] { + yym2807 := z.EncBinary() + _ = yym2807 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34795,23 +35094,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2779[0] { + if yyq2805[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2782 := z.EncBinary() - _ = yym2782 + yym2808 := z.EncBinary() + _ = yym2808 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2779 || yy2arr2779 { + if yyr2805 || yy2arr2805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2779[1] { - yym2784 := z.EncBinary() - _ = yym2784 + if yyq2805[1] { + yym2810 := z.EncBinary() + _ = yym2810 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -34820,22 +35119,22 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2779[1] { + if yyq2805[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2785 := z.EncBinary() - _ = yym2785 + yym2811 := z.EncBinary() + _ = yym2811 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2779 || yy2arr2779 { + if yyr2805 || yy2arr2805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2787 := z.EncBinary() - _ = yym2787 + yym2813 := z.EncBinary() + _ = yym2813 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -34844,17 +35143,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2788 := z.EncBinary() - _ = yym2788 + yym2814 := z.EncBinary() + _ = yym2814 if false { } else { r.EncodeBool(bool(x.Stdin)) } } - if yyr2779 || yy2arr2779 { + if yyr2805 || yy2arr2805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2790 := z.EncBinary() - _ = yym2790 + yym2816 := z.EncBinary() + _ = yym2816 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -34863,17 +35162,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2791 := z.EncBinary() - _ = yym2791 + yym2817 := z.EncBinary() + _ = yym2817 if false { } else { r.EncodeBool(bool(x.Stdout)) } } - if yyr2779 || yy2arr2779 { + if yyr2805 || yy2arr2805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2793 := z.EncBinary() - _ = yym2793 + yym2819 := z.EncBinary() + _ = yym2819 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -34882,17 +35181,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2794 := z.EncBinary() - _ = yym2794 + yym2820 := z.EncBinary() + _ = yym2820 if false { } else { r.EncodeBool(bool(x.Stderr)) } } - if yyr2779 || yy2arr2779 { + if yyr2805 || yy2arr2805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2796 := z.EncBinary() - _ = yym2796 + yym2822 := z.EncBinary() + _ = yym2822 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -34901,17 +35200,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("TTY")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2797 := z.EncBinary() - _ = yym2797 + yym2823 := z.EncBinary() + _ = yym2823 if false { } else { r.EncodeBool(bool(x.TTY)) } } - if yyr2779 || yy2arr2779 { + if yyr2805 || yy2arr2805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2799 := z.EncBinary() - _ = yym2799 + yym2825 := z.EncBinary() + _ = yym2825 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -34920,20 +35219,20 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2800 := z.EncBinary() - _ = yym2800 + yym2826 := z.EncBinary() + _ = yym2826 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } - if yyr2779 || yy2arr2779 { + if yyr2805 || yy2arr2805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Command == nil { r.EncodeNil() } else { - yym2802 := z.EncBinary() - _ = yym2802 + yym2828 := z.EncBinary() + _ = yym2828 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -34946,15 +35245,15 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.Command == nil { r.EncodeNil() } else { - yym2803 := z.EncBinary() - _ = yym2803 + yym2829 := z.EncBinary() + _ = yym2829 if false { } else { z.F.EncSliceStringV(x.Command, false, e) } } } - if yyr2779 || yy2arr2779 { + if yyr2805 || yy2arr2805 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34967,25 +35266,25 @@ func (x *PodExecOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2804 := z.DecBinary() - _ = yym2804 + yym2830 := z.DecBinary() + _ = yym2830 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2805 := r.ContainerType() - if yyct2805 == codecSelferValueTypeMap1234 { - yyl2805 := r.ReadMapStart() - if yyl2805 == 0 { + yyct2831 := r.ContainerType() + if yyct2831 == codecSelferValueTypeMap1234 { + yyl2831 := r.ReadMapStart() + if yyl2831 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2805, d) + x.codecDecodeSelfFromMap(yyl2831, d) } - } else if yyct2805 == codecSelferValueTypeArray1234 { - yyl2805 := r.ReadArrayStart() - if yyl2805 == 0 { + } else if yyct2831 == codecSelferValueTypeArray1234 { + yyl2831 := r.ReadArrayStart() + if yyl2831 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2805, d) + x.codecDecodeSelfFromArray(yyl2831, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34997,12 +35296,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2806Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2806Slc - var yyhl2806 bool = l >= 0 - for yyj2806 := 0; ; yyj2806++ { - if yyhl2806 { - if yyj2806 >= l { + var yys2832Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2832Slc + var yyhl2832 bool = l >= 0 + for yyj2832 := 0; ; yyj2832++ { + if yyhl2832 { + if yyj2832 >= l { break } } else { @@ -35011,10 +35310,10 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2806Slc = r.DecodeBytes(yys2806Slc, true, true) - yys2806 := string(yys2806Slc) + yys2832Slc = r.DecodeBytes(yys2832Slc, true, true) + yys2832 := string(yys2832Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2806 { + switch yys2832 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35061,18 +35360,18 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv2814 := &x.Command - yym2815 := z.DecBinary() - _ = yym2815 + yyv2840 := &x.Command + yym2841 := z.DecBinary() + _ = yym2841 if false { } else { - z.F.DecSliceStringX(yyv2814, false, d) + z.F.DecSliceStringX(yyv2840, false, d) } } default: - z.DecStructFieldNotFound(-1, yys2806) - } // end switch yys2806 - } // end for yyj2806 + z.DecStructFieldNotFound(-1, yys2832) + } // end switch yys2832 + } // end for yyj2832 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35080,16 +35379,16 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2816 int - var yyb2816 bool - var yyhl2816 bool = l >= 0 - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + var yyj2842 int + var yyb2842 bool + var yyhl2842 bool = l >= 0 + yyj2842++ + if yyhl2842 { + yyb2842 = yyj2842 > l } else { - yyb2816 = r.CheckBreak() + yyb2842 = r.CheckBreak() } - if yyb2816 { + if yyb2842 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35099,13 +35398,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2842++ + if yyhl2842 { + yyb2842 = yyj2842 > l } else { - yyb2816 = r.CheckBreak() + yyb2842 = r.CheckBreak() } - if yyb2816 { + if yyb2842 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35115,13 +35414,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2842++ + if yyhl2842 { + yyb2842 = yyj2842 > l } else { - yyb2816 = r.CheckBreak() + yyb2842 = r.CheckBreak() } - if yyb2816 { + if yyb2842 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35131,13 +35430,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2842++ + if yyhl2842 { + yyb2842 = yyj2842 > l } else { - yyb2816 = r.CheckBreak() + yyb2842 = r.CheckBreak() } - if yyb2816 { + if yyb2842 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35147,13 +35446,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdout = bool(r.DecodeBool()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2842++ + if yyhl2842 { + yyb2842 = yyj2842 > l } else { - yyb2816 = r.CheckBreak() + yyb2842 = r.CheckBreak() } - if yyb2816 { + if yyb2842 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35163,13 +35462,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stderr = bool(r.DecodeBool()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2842++ + if yyhl2842 { + yyb2842 = yyj2842 > l } else { - yyb2816 = r.CheckBreak() + yyb2842 = r.CheckBreak() } - if yyb2816 { + if yyb2842 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35179,13 +35478,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TTY = bool(r.DecodeBool()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2842++ + if yyhl2842 { + yyb2842 = yyj2842 > l } else { - yyb2816 = r.CheckBreak() + yyb2842 = r.CheckBreak() } - if yyb2816 { + if yyb2842 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35195,13 +35494,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2842++ + if yyhl2842 { + yyb2842 = yyj2842 > l } else { - yyb2816 = r.CheckBreak() + yyb2842 = r.CheckBreak() } - if yyb2816 { + if yyb2842 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35209,26 +35508,26 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv2824 := &x.Command - yym2825 := z.DecBinary() - _ = yym2825 + yyv2850 := &x.Command + yym2851 := z.DecBinary() + _ = yym2851 if false { } else { - z.F.DecSliceStringX(yyv2824, false, d) + z.F.DecSliceStringX(yyv2850, false, d) } } for { - yyj2816++ - if yyhl2816 { - yyb2816 = yyj2816 > l + yyj2842++ + if yyhl2842 { + yyb2842 = yyj2842 > l } else { - yyb2816 = r.CheckBreak() + yyb2842 = r.CheckBreak() } - if yyb2816 { + if yyb2842 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2816-1, "") + z.DecStructFieldNotFound(yyj2842-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35240,36 +35539,36 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2826 := z.EncBinary() - _ = yym2826 + yym2852 := z.EncBinary() + _ = yym2852 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2827 := !z.EncBinary() - yy2arr2827 := z.EncBasicHandle().StructToArray - var yyq2827 [3]bool - _, _, _ = yysep2827, yyq2827, yy2arr2827 - const yyr2827 bool = false - yyq2827[0] = x.Kind != "" - yyq2827[1] = x.APIVersion != "" - var yynn2827 int - if yyr2827 || yy2arr2827 { + yysep2853 := !z.EncBinary() + yy2arr2853 := z.EncBasicHandle().StructToArray + var yyq2853 [3]bool + _, _, _ = yysep2853, yyq2853, yy2arr2853 + const yyr2853 bool = false + yyq2853[0] = x.Kind != "" + yyq2853[1] = x.APIVersion != "" + var yynn2853 int + if yyr2853 || yy2arr2853 { r.EncodeArrayStart(3) } else { - yynn2827 = 1 - for _, b := range yyq2827 { + yynn2853 = 1 + for _, b := range yyq2853 { if b { - yynn2827++ + yynn2853++ } } - r.EncodeMapStart(yynn2827) - yynn2827 = 0 + r.EncodeMapStart(yynn2853) + yynn2853 = 0 } - if yyr2827 || yy2arr2827 { + if yyr2853 || yy2arr2853 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2827[0] { - yym2829 := z.EncBinary() - _ = yym2829 + if yyq2853[0] { + yym2855 := z.EncBinary() + _ = yym2855 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35278,23 +35577,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2827[0] { + if yyq2853[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2830 := z.EncBinary() - _ = yym2830 + yym2856 := z.EncBinary() + _ = yym2856 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2827 || yy2arr2827 { + if yyr2853 || yy2arr2853 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2827[1] { - yym2832 := z.EncBinary() - _ = yym2832 + if yyq2853[1] { + yym2858 := z.EncBinary() + _ = yym2858 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35303,22 +35602,22 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2827[1] { + if yyq2853[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2833 := z.EncBinary() - _ = yym2833 + yym2859 := z.EncBinary() + _ = yym2859 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2827 || yy2arr2827 { + if yyr2853 || yy2arr2853 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2835 := z.EncBinary() - _ = yym2835 + yym2861 := z.EncBinary() + _ = yym2861 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -35327,14 +35626,14 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2836 := z.EncBinary() - _ = yym2836 + yym2862 := z.EncBinary() + _ = yym2862 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2827 || yy2arr2827 { + if yyr2853 || yy2arr2853 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35347,25 +35646,25 @@ func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2837 := z.DecBinary() - _ = yym2837 + yym2863 := z.DecBinary() + _ = yym2863 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2838 := r.ContainerType() - if yyct2838 == codecSelferValueTypeMap1234 { - yyl2838 := r.ReadMapStart() - if yyl2838 == 0 { + yyct2864 := r.ContainerType() + if yyct2864 == codecSelferValueTypeMap1234 { + yyl2864 := r.ReadMapStart() + if yyl2864 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2838, d) + x.codecDecodeSelfFromMap(yyl2864, d) } - } else if yyct2838 == codecSelferValueTypeArray1234 { - yyl2838 := r.ReadArrayStart() - if yyl2838 == 0 { + } else if yyct2864 == codecSelferValueTypeArray1234 { + yyl2864 := r.ReadArrayStart() + if yyl2864 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2838, d) + x.codecDecodeSelfFromArray(yyl2864, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35377,12 +35676,12 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2839Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2839Slc - var yyhl2839 bool = l >= 0 - for yyj2839 := 0; ; yyj2839++ { - if yyhl2839 { - if yyj2839 >= l { + var yys2865Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2865Slc + var yyhl2865 bool = l >= 0 + for yyj2865 := 0; ; yyj2865++ { + if yyhl2865 { + if yyj2865 >= l { break } } else { @@ -35391,10 +35690,10 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2839Slc = r.DecodeBytes(yys2839Slc, true, true) - yys2839 := string(yys2839Slc) + yys2865Slc = r.DecodeBytes(yys2865Slc, true, true) + yys2865 := string(yys2865Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2839 { + switch yys2865 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35414,9 +35713,9 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2839) - } // end switch yys2839 - } // end for yyj2839 + z.DecStructFieldNotFound(-1, yys2865) + } // end switch yys2865 + } // end for yyj2865 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35424,16 +35723,16 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2843 int - var yyb2843 bool - var yyhl2843 bool = l >= 0 - yyj2843++ - if yyhl2843 { - yyb2843 = yyj2843 > l + var yyj2869 int + var yyb2869 bool + var yyhl2869 bool = l >= 0 + yyj2869++ + if yyhl2869 { + yyb2869 = yyj2869 > l } else { - yyb2843 = r.CheckBreak() + yyb2869 = r.CheckBreak() } - if yyb2843 { + if yyb2869 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35443,13 +35742,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2843++ - if yyhl2843 { - yyb2843 = yyj2843 > l + yyj2869++ + if yyhl2869 { + yyb2869 = yyj2869 > l } else { - yyb2843 = r.CheckBreak() + yyb2869 = r.CheckBreak() } - if yyb2843 { + if yyb2869 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35459,13 +35758,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2843++ - if yyhl2843 { - yyb2843 = yyj2843 > l + yyj2869++ + if yyhl2869 { + yyb2869 = yyj2869 > l } else { - yyb2843 = r.CheckBreak() + yyb2869 = r.CheckBreak() } - if yyb2843 { + if yyb2869 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35476,17 +35775,17 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Path = string(r.DecodeString()) } for { - yyj2843++ - if yyhl2843 { - yyb2843 = yyj2843 > l + yyj2869++ + if yyhl2869 { + yyb2869 = yyj2869 > l } else { - yyb2843 = r.CheckBreak() + yyb2869 = r.CheckBreak() } - if yyb2843 { + if yyb2869 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2843-1, "") + z.DecStructFieldNotFound(yyj2869-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35498,41 +35797,41 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2847 := z.EncBinary() - _ = yym2847 + yym2873 := z.EncBinary() + _ = yym2873 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2848 := !z.EncBinary() - yy2arr2848 := z.EncBasicHandle().StructToArray - var yyq2848 [7]bool - _, _, _ = yysep2848, yyq2848, yy2arr2848 - const yyr2848 bool = false - yyq2848[0] = x.Kind != "" - yyq2848[1] = x.Namespace != "" - yyq2848[2] = x.Name != "" - yyq2848[3] = x.UID != "" - yyq2848[4] = x.APIVersion != "" - yyq2848[5] = x.ResourceVersion != "" - yyq2848[6] = x.FieldPath != "" - var yynn2848 int - if yyr2848 || yy2arr2848 { + yysep2874 := !z.EncBinary() + yy2arr2874 := z.EncBasicHandle().StructToArray + var yyq2874 [7]bool + _, _, _ = yysep2874, yyq2874, yy2arr2874 + const yyr2874 bool = false + yyq2874[0] = x.Kind != "" + yyq2874[1] = x.Namespace != "" + yyq2874[2] = x.Name != "" + yyq2874[3] = x.UID != "" + yyq2874[4] = x.APIVersion != "" + yyq2874[5] = x.ResourceVersion != "" + yyq2874[6] = x.FieldPath != "" + var yynn2874 int + if yyr2874 || yy2arr2874 { r.EncodeArrayStart(7) } else { - yynn2848 = 0 - for _, b := range yyq2848 { + yynn2874 = 0 + for _, b := range yyq2874 { if b { - yynn2848++ + yynn2874++ } } - r.EncodeMapStart(yynn2848) - yynn2848 = 0 + r.EncodeMapStart(yynn2874) + yynn2874 = 0 } - if yyr2848 || yy2arr2848 { + if yyr2874 || yy2arr2874 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[0] { - yym2850 := z.EncBinary() - _ = yym2850 + if yyq2874[0] { + yym2876 := z.EncBinary() + _ = yym2876 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35541,23 +35840,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[0] { + if yyq2874[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2851 := z.EncBinary() - _ = yym2851 + yym2877 := z.EncBinary() + _ = yym2877 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2848 || yy2arr2848 { + if yyr2874 || yy2arr2874 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[1] { - yym2853 := z.EncBinary() - _ = yym2853 + if yyq2874[1] { + yym2879 := z.EncBinary() + _ = yym2879 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -35566,23 +35865,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[1] { + if yyq2874[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2854 := z.EncBinary() - _ = yym2854 + yym2880 := z.EncBinary() + _ = yym2880 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr2848 || yy2arr2848 { + if yyr2874 || yy2arr2874 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[2] { - yym2856 := z.EncBinary() - _ = yym2856 + if yyq2874[2] { + yym2882 := z.EncBinary() + _ = yym2882 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -35591,23 +35890,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[2] { + if yyq2874[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2857 := z.EncBinary() - _ = yym2857 + yym2883 := z.EncBinary() + _ = yym2883 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2848 || yy2arr2848 { + if yyr2874 || yy2arr2874 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[3] { - yym2859 := z.EncBinary() - _ = yym2859 + if yyq2874[3] { + yym2885 := z.EncBinary() + _ = yym2885 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -35617,12 +35916,12 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[3] { + if yyq2874[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2860 := z.EncBinary() - _ = yym2860 + yym2886 := z.EncBinary() + _ = yym2886 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -35630,11 +35929,11 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2848 || yy2arr2848 { + if yyr2874 || yy2arr2874 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[4] { - yym2862 := z.EncBinary() - _ = yym2862 + if yyq2874[4] { + yym2888 := z.EncBinary() + _ = yym2888 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35643,23 +35942,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[4] { + if yyq2874[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2863 := z.EncBinary() - _ = yym2863 + yym2889 := z.EncBinary() + _ = yym2889 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2848 || yy2arr2848 { + if yyr2874 || yy2arr2874 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[5] { - yym2865 := z.EncBinary() - _ = yym2865 + if yyq2874[5] { + yym2891 := z.EncBinary() + _ = yym2891 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -35668,23 +35967,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[5] { + if yyq2874[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2866 := z.EncBinary() - _ = yym2866 + yym2892 := z.EncBinary() + _ = yym2892 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr2848 || yy2arr2848 { + if yyr2874 || yy2arr2874 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2848[6] { - yym2868 := z.EncBinary() - _ = yym2868 + if yyq2874[6] { + yym2894 := z.EncBinary() + _ = yym2894 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -35693,19 +35992,19 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2848[6] { + if yyq2874[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2869 := z.EncBinary() - _ = yym2869 + yym2895 := z.EncBinary() + _ = yym2895 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } } - if yyr2848 || yy2arr2848 { + if yyr2874 || yy2arr2874 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35718,25 +36017,25 @@ func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2870 := z.DecBinary() - _ = yym2870 + yym2896 := z.DecBinary() + _ = yym2896 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2871 := r.ContainerType() - if yyct2871 == codecSelferValueTypeMap1234 { - yyl2871 := r.ReadMapStart() - if yyl2871 == 0 { + yyct2897 := r.ContainerType() + if yyct2897 == codecSelferValueTypeMap1234 { + yyl2897 := r.ReadMapStart() + if yyl2897 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2871, d) + x.codecDecodeSelfFromMap(yyl2897, d) } - } else if yyct2871 == codecSelferValueTypeArray1234 { - yyl2871 := r.ReadArrayStart() - if yyl2871 == 0 { + } else if yyct2897 == codecSelferValueTypeArray1234 { + yyl2897 := r.ReadArrayStart() + if yyl2897 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2871, d) + x.codecDecodeSelfFromArray(yyl2897, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35748,12 +36047,12 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2872Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2872Slc - var yyhl2872 bool = l >= 0 - for yyj2872 := 0; ; yyj2872++ { - if yyhl2872 { - if yyj2872 >= l { + var yys2898Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2898Slc + var yyhl2898 bool = l >= 0 + for yyj2898 := 0; ; yyj2898++ { + if yyhl2898 { + if yyj2898 >= l { break } } else { @@ -35762,10 +36061,10 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2872Slc = r.DecodeBytes(yys2872Slc, true, true) - yys2872 := string(yys2872Slc) + yys2898Slc = r.DecodeBytes(yys2898Slc, true, true) + yys2898 := string(yys2898Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2872 { + switch yys2898 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35809,9 +36108,9 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2872) - } // end switch yys2872 - } // end for yyj2872 + z.DecStructFieldNotFound(-1, yys2898) + } // end switch yys2898 + } // end for yyj2898 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35819,16 +36118,16 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2880 int - var yyb2880 bool - var yyhl2880 bool = l >= 0 - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + var yyj2906 int + var yyb2906 bool + var yyhl2906 bool = l >= 0 + yyj2906++ + if yyhl2906 { + yyb2906 = yyj2906 > l } else { - yyb2880 = r.CheckBreak() + yyb2906 = r.CheckBreak() } - if yyb2880 { + if yyb2906 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35838,13 +36137,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2906++ + if yyhl2906 { + yyb2906 = yyj2906 > l } else { - yyb2880 = r.CheckBreak() + yyb2906 = r.CheckBreak() } - if yyb2880 { + if yyb2906 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35854,13 +36153,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Namespace = string(r.DecodeString()) } - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2906++ + if yyhl2906 { + yyb2906 = yyj2906 > l } else { - yyb2880 = r.CheckBreak() + yyb2906 = r.CheckBreak() } - if yyb2880 { + if yyb2906 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35870,13 +36169,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2906++ + if yyhl2906 { + yyb2906 = yyj2906 > l } else { - yyb2880 = r.CheckBreak() + yyb2906 = r.CheckBreak() } - if yyb2880 { + if yyb2906 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35886,13 +36185,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2906++ + if yyhl2906 { + yyb2906 = yyj2906 > l } else { - yyb2880 = r.CheckBreak() + yyb2906 = r.CheckBreak() } - if yyb2880 { + if yyb2906 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35902,13 +36201,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2906++ + if yyhl2906 { + yyb2906 = yyj2906 > l } else { - yyb2880 = r.CheckBreak() + yyb2906 = r.CheckBreak() } - if yyb2880 { + if yyb2906 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35918,13 +36217,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ResourceVersion = string(r.DecodeString()) } - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2906++ + if yyhl2906 { + yyb2906 = yyj2906 > l } else { - yyb2880 = r.CheckBreak() + yyb2906 = r.CheckBreak() } - if yyb2880 { + if yyb2906 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35935,17 +36234,17 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.FieldPath = string(r.DecodeString()) } for { - yyj2880++ - if yyhl2880 { - yyb2880 = yyj2880 > l + yyj2906++ + if yyhl2906 { + yyb2906 = yyj2906 > l } else { - yyb2880 = r.CheckBreak() + yyb2906 = r.CheckBreak() } - if yyb2880 { + if yyb2906 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2880-1, "") + z.DecStructFieldNotFound(yyj2906-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35957,33 +36256,33 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2888 := z.EncBinary() - _ = yym2888 + yym2914 := z.EncBinary() + _ = yym2914 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2889 := !z.EncBinary() - yy2arr2889 := z.EncBasicHandle().StructToArray - var yyq2889 [1]bool - _, _, _ = yysep2889, yyq2889, yy2arr2889 - const yyr2889 bool = false - var yynn2889 int - if yyr2889 || yy2arr2889 { + yysep2915 := !z.EncBinary() + yy2arr2915 := z.EncBasicHandle().StructToArray + var yyq2915 [1]bool + _, _, _ = yysep2915, yyq2915, yy2arr2915 + const yyr2915 bool = false + var yynn2915 int + if yyr2915 || yy2arr2915 { r.EncodeArrayStart(1) } else { - yynn2889 = 1 - for _, b := range yyq2889 { + yynn2915 = 1 + for _, b := range yyq2915 { if b { - yynn2889++ + yynn2915++ } } - r.EncodeMapStart(yynn2889) - yynn2889 = 0 + r.EncodeMapStart(yynn2915) + yynn2915 = 0 } - if yyr2889 || yy2arr2889 { + if yyr2915 || yy2arr2915 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2891 := z.EncBinary() - _ = yym2891 + yym2917 := z.EncBinary() + _ = yym2917 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -35992,14 +36291,14 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2892 := z.EncBinary() - _ = yym2892 + yym2918 := z.EncBinary() + _ = yym2918 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2889 || yy2arr2889 { + if yyr2915 || yy2arr2915 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36012,25 +36311,25 @@ func (x *LocalObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2893 := z.DecBinary() - _ = yym2893 + yym2919 := z.DecBinary() + _ = yym2919 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2894 := r.ContainerType() - if yyct2894 == codecSelferValueTypeMap1234 { - yyl2894 := r.ReadMapStart() - if yyl2894 == 0 { + yyct2920 := r.ContainerType() + if yyct2920 == codecSelferValueTypeMap1234 { + yyl2920 := r.ReadMapStart() + if yyl2920 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2894, d) + x.codecDecodeSelfFromMap(yyl2920, d) } - } else if yyct2894 == codecSelferValueTypeArray1234 { - yyl2894 := r.ReadArrayStart() - if yyl2894 == 0 { + } else if yyct2920 == codecSelferValueTypeArray1234 { + yyl2920 := r.ReadArrayStart() + if yyl2920 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2894, d) + x.codecDecodeSelfFromArray(yyl2920, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36042,12 +36341,12 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2895Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2895Slc - var yyhl2895 bool = l >= 0 - for yyj2895 := 0; ; yyj2895++ { - if yyhl2895 { - if yyj2895 >= l { + var yys2921Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2921Slc + var yyhl2921 bool = l >= 0 + for yyj2921 := 0; ; yyj2921++ { + if yyhl2921 { + if yyj2921 >= l { break } } else { @@ -36056,10 +36355,10 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2895Slc = r.DecodeBytes(yys2895Slc, true, true) - yys2895 := string(yys2895Slc) + yys2921Slc = r.DecodeBytes(yys2921Slc, true, true) + yys2921 := string(yys2921Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2895 { + switch yys2921 { case "Name": if r.TryDecodeAsNil() { x.Name = "" @@ -36067,9 +36366,9 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2895) - } // end switch yys2895 - } // end for yyj2895 + z.DecStructFieldNotFound(-1, yys2921) + } // end switch yys2921 + } // end for yyj2921 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36077,16 +36376,16 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2897 int - var yyb2897 bool - var yyhl2897 bool = l >= 0 - yyj2897++ - if yyhl2897 { - yyb2897 = yyj2897 > l + var yyj2923 int + var yyb2923 bool + var yyhl2923 bool = l >= 0 + yyj2923++ + if yyhl2923 { + yyb2923 = yyj2923 > l } else { - yyb2897 = r.CheckBreak() + yyb2923 = r.CheckBreak() } - if yyb2897 { + if yyb2923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36097,17 +36396,17 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Name = string(r.DecodeString()) } for { - yyj2897++ - if yyhl2897 { - yyb2897 = yyj2897 > l + yyj2923++ + if yyhl2923 { + yyb2923 = yyj2923 > l } else { - yyb2897 = r.CheckBreak() + yyb2923 = r.CheckBreak() } - if yyb2897 { + if yyb2923 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2897-1, "") + z.DecStructFieldNotFound(yyj2923-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36119,37 +36418,37 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2899 := z.EncBinary() - _ = yym2899 + yym2925 := z.EncBinary() + _ = yym2925 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2900 := !z.EncBinary() - yy2arr2900 := z.EncBasicHandle().StructToArray - var yyq2900 [3]bool - _, _, _ = yysep2900, yyq2900, yy2arr2900 - const yyr2900 bool = false - yyq2900[0] = x.Kind != "" - yyq2900[1] = x.APIVersion != "" - yyq2900[2] = true - var yynn2900 int - if yyr2900 || yy2arr2900 { + yysep2926 := !z.EncBinary() + yy2arr2926 := z.EncBasicHandle().StructToArray + var yyq2926 [3]bool + _, _, _ = yysep2926, yyq2926, yy2arr2926 + const yyr2926 bool = false + yyq2926[0] = x.Kind != "" + yyq2926[1] = x.APIVersion != "" + yyq2926[2] = true + var yynn2926 int + if yyr2926 || yy2arr2926 { r.EncodeArrayStart(3) } else { - yynn2900 = 0 - for _, b := range yyq2900 { + yynn2926 = 0 + for _, b := range yyq2926 { if b { - yynn2900++ + yynn2926++ } } - r.EncodeMapStart(yynn2900) - yynn2900 = 0 + r.EncodeMapStart(yynn2926) + yynn2926 = 0 } - if yyr2900 || yy2arr2900 { + if yyr2926 || yy2arr2926 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2900[0] { - yym2902 := z.EncBinary() - _ = yym2902 + if yyq2926[0] { + yym2928 := z.EncBinary() + _ = yym2928 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36158,23 +36457,23 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2900[0] { + if yyq2926[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2903 := z.EncBinary() - _ = yym2903 + yym2929 := z.EncBinary() + _ = yym2929 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2900 || yy2arr2900 { + if yyr2926 || yy2arr2926 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2900[1] { - yym2905 := z.EncBinary() - _ = yym2905 + if yyq2926[1] { + yym2931 := z.EncBinary() + _ = yym2931 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36183,36 +36482,36 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2900[1] { + if yyq2926[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2906 := z.EncBinary() - _ = yym2906 + yym2932 := z.EncBinary() + _ = yym2932 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2900 || yy2arr2900 { + if yyr2926 || yy2arr2926 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2900[2] { - yy2908 := &x.Reference - yy2908.CodecEncodeSelf(e) + if yyq2926[2] { + yy2934 := &x.Reference + yy2934.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2900[2] { + if yyq2926[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2909 := &x.Reference - yy2909.CodecEncodeSelf(e) + yy2935 := &x.Reference + yy2935.CodecEncodeSelf(e) } } - if yyr2900 || yy2arr2900 { + if yyr2926 || yy2arr2926 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36225,25 +36524,25 @@ func (x *SerializedReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2910 := z.DecBinary() - _ = yym2910 + yym2936 := z.DecBinary() + _ = yym2936 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2911 := r.ContainerType() - if yyct2911 == codecSelferValueTypeMap1234 { - yyl2911 := r.ReadMapStart() - if yyl2911 == 0 { + yyct2937 := r.ContainerType() + if yyct2937 == codecSelferValueTypeMap1234 { + yyl2937 := r.ReadMapStart() + if yyl2937 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2911, d) + x.codecDecodeSelfFromMap(yyl2937, d) } - } else if yyct2911 == codecSelferValueTypeArray1234 { - yyl2911 := r.ReadArrayStart() - if yyl2911 == 0 { + } else if yyct2937 == codecSelferValueTypeArray1234 { + yyl2937 := r.ReadArrayStart() + if yyl2937 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2911, d) + x.codecDecodeSelfFromArray(yyl2937, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36255,12 +36554,12 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2912Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2912Slc - var yyhl2912 bool = l >= 0 - for yyj2912 := 0; ; yyj2912++ { - if yyhl2912 { - if yyj2912 >= l { + var yys2938Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2938Slc + var yyhl2938 bool = l >= 0 + for yyj2938 := 0; ; yyj2938++ { + if yyhl2938 { + if yyj2938 >= l { break } } else { @@ -36269,10 +36568,10 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2912Slc = r.DecodeBytes(yys2912Slc, true, true) - yys2912 := string(yys2912Slc) + yys2938Slc = r.DecodeBytes(yys2938Slc, true, true) + yys2938 := string(yys2938Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2912 { + switch yys2938 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -36289,13 +36588,13 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv2915 := &x.Reference - yyv2915.CodecDecodeSelf(d) + yyv2941 := &x.Reference + yyv2941.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2912) - } // end switch yys2912 - } // end for yyj2912 + z.DecStructFieldNotFound(-1, yys2938) + } // end switch yys2938 + } // end for yyj2938 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36303,16 +36602,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2916 int - var yyb2916 bool - var yyhl2916 bool = l >= 0 - yyj2916++ - if yyhl2916 { - yyb2916 = yyj2916 > l + var yyj2942 int + var yyb2942 bool + var yyhl2942 bool = l >= 0 + yyj2942++ + if yyhl2942 { + yyb2942 = yyj2942 > l } else { - yyb2916 = r.CheckBreak() + yyb2942 = r.CheckBreak() } - if yyb2916 { + if yyb2942 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36322,13 +36621,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj2916++ - if yyhl2916 { - yyb2916 = yyj2916 > l + yyj2942++ + if yyhl2942 { + yyb2942 = yyj2942 > l } else { - yyb2916 = r.CheckBreak() + yyb2942 = r.CheckBreak() } - if yyb2916 { + if yyb2942 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36338,13 +36637,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj2916++ - if yyhl2916 { - yyb2916 = yyj2916 > l + yyj2942++ + if yyhl2942 { + yyb2942 = yyj2942 > l } else { - yyb2916 = r.CheckBreak() + yyb2942 = r.CheckBreak() } - if yyb2916 { + if yyb2942 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36352,21 +36651,21 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv2919 := &x.Reference - yyv2919.CodecDecodeSelf(d) + yyv2945 := &x.Reference + yyv2945.CodecDecodeSelf(d) } for { - yyj2916++ - if yyhl2916 { - yyb2916 = yyj2916 > l + yyj2942++ + if yyhl2942 { + yyb2942 = yyj2942 > l } else { - yyb2916 = r.CheckBreak() + yyb2942 = r.CheckBreak() } - if yyb2916 { + if yyb2942 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2916-1, "") + z.DecStructFieldNotFound(yyj2942-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36378,36 +36677,36 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2920 := z.EncBinary() - _ = yym2920 + yym2946 := z.EncBinary() + _ = yym2946 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2921 := !z.EncBinary() - yy2arr2921 := z.EncBasicHandle().StructToArray - var yyq2921 [2]bool - _, _, _ = yysep2921, yyq2921, yy2arr2921 - const yyr2921 bool = false - yyq2921[0] = x.Component != "" - yyq2921[1] = x.Host != "" - var yynn2921 int - if yyr2921 || yy2arr2921 { + yysep2947 := !z.EncBinary() + yy2arr2947 := z.EncBasicHandle().StructToArray + var yyq2947 [2]bool + _, _, _ = yysep2947, yyq2947, yy2arr2947 + const yyr2947 bool = false + yyq2947[0] = x.Component != "" + yyq2947[1] = x.Host != "" + var yynn2947 int + if yyr2947 || yy2arr2947 { r.EncodeArrayStart(2) } else { - yynn2921 = 0 - for _, b := range yyq2921 { + yynn2947 = 0 + for _, b := range yyq2947 { if b { - yynn2921++ + yynn2947++ } } - r.EncodeMapStart(yynn2921) - yynn2921 = 0 + r.EncodeMapStart(yynn2947) + yynn2947 = 0 } - if yyr2921 || yy2arr2921 { + if yyr2947 || yy2arr2947 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2921[0] { - yym2923 := z.EncBinary() - _ = yym2923 + if yyq2947[0] { + yym2949 := z.EncBinary() + _ = yym2949 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) @@ -36416,23 +36715,23 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2921[0] { + if yyq2947[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("component")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2924 := z.EncBinary() - _ = yym2924 + yym2950 := z.EncBinary() + _ = yym2950 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) } } } - if yyr2921 || yy2arr2921 { + if yyr2947 || yy2arr2947 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2921[1] { - yym2926 := z.EncBinary() - _ = yym2926 + if yyq2947[1] { + yym2952 := z.EncBinary() + _ = yym2952 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -36441,19 +36740,19 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2921[1] { + if yyq2947[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2927 := z.EncBinary() - _ = yym2927 + yym2953 := z.EncBinary() + _ = yym2953 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr2921 || yy2arr2921 { + if yyr2947 || yy2arr2947 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36466,25 +36765,25 @@ func (x *EventSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2928 := z.DecBinary() - _ = yym2928 + yym2954 := z.DecBinary() + _ = yym2954 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2929 := r.ContainerType() - if yyct2929 == codecSelferValueTypeMap1234 { - yyl2929 := r.ReadMapStart() - if yyl2929 == 0 { + yyct2955 := r.ContainerType() + if yyct2955 == codecSelferValueTypeMap1234 { + yyl2955 := r.ReadMapStart() + if yyl2955 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2929, d) + x.codecDecodeSelfFromMap(yyl2955, d) } - } else if yyct2929 == codecSelferValueTypeArray1234 { - yyl2929 := r.ReadArrayStart() - if yyl2929 == 0 { + } else if yyct2955 == codecSelferValueTypeArray1234 { + yyl2955 := r.ReadArrayStart() + if yyl2955 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2929, d) + x.codecDecodeSelfFromArray(yyl2955, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36496,12 +36795,12 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2930Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2930Slc - var yyhl2930 bool = l >= 0 - for yyj2930 := 0; ; yyj2930++ { - if yyhl2930 { - if yyj2930 >= l { + var yys2956Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2956Slc + var yyhl2956 bool = l >= 0 + for yyj2956 := 0; ; yyj2956++ { + if yyhl2956 { + if yyj2956 >= l { break } } else { @@ -36510,10 +36809,10 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2930Slc = r.DecodeBytes(yys2930Slc, true, true) - yys2930 := string(yys2930Slc) + yys2956Slc = r.DecodeBytes(yys2956Slc, true, true) + yys2956 := string(yys2956Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2930 { + switch yys2956 { case "component": if r.TryDecodeAsNil() { x.Component = "" @@ -36527,9 +36826,9 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2930) - } // end switch yys2930 - } // end for yyj2930 + z.DecStructFieldNotFound(-1, yys2956) + } // end switch yys2956 + } // end for yyj2956 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36537,16 +36836,16 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2933 int - var yyb2933 bool - var yyhl2933 bool = l >= 0 - yyj2933++ - if yyhl2933 { - yyb2933 = yyj2933 > l + var yyj2959 int + var yyb2959 bool + var yyhl2959 bool = l >= 0 + yyj2959++ + if yyhl2959 { + yyb2959 = yyj2959 > l } else { - yyb2933 = r.CheckBreak() + yyb2959 = r.CheckBreak() } - if yyb2933 { + if yyb2959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36556,13 +36855,13 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Component = string(r.DecodeString()) } - yyj2933++ - if yyhl2933 { - yyb2933 = yyj2933 > l + yyj2959++ + if yyhl2959 { + yyb2959 = yyj2959 > l } else { - yyb2933 = r.CheckBreak() + yyb2959 = r.CheckBreak() } - if yyb2933 { + if yyb2959 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36573,17 +36872,17 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } for { - yyj2933++ - if yyhl2933 { - yyb2933 = yyj2933 > l + yyj2959++ + if yyhl2959 { + yyb2959 = yyj2959 > l } else { - yyb2933 = r.CheckBreak() + yyb2959 = r.CheckBreak() } - if yyb2933 { + if yyb2959 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2933-1, "") + z.DecStructFieldNotFound(yyj2959-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36595,45 +36894,45 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2936 := z.EncBinary() - _ = yym2936 + yym2962 := z.EncBinary() + _ = yym2962 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2937 := !z.EncBinary() - yy2arr2937 := z.EncBasicHandle().StructToArray - var yyq2937 [11]bool - _, _, _ = yysep2937, yyq2937, yy2arr2937 - const yyr2937 bool = false - yyq2937[0] = x.Kind != "" - yyq2937[1] = x.APIVersion != "" - yyq2937[2] = true - yyq2937[3] = true - yyq2937[4] = x.Reason != "" - yyq2937[5] = x.Message != "" - yyq2937[6] = true - yyq2937[7] = true - yyq2937[8] = true - yyq2937[9] = x.Count != 0 - yyq2937[10] = x.Type != "" - var yynn2937 int - if yyr2937 || yy2arr2937 { + yysep2963 := !z.EncBinary() + yy2arr2963 := z.EncBasicHandle().StructToArray + var yyq2963 [11]bool + _, _, _ = yysep2963, yyq2963, yy2arr2963 + const yyr2963 bool = false + yyq2963[0] = x.Kind != "" + yyq2963[1] = x.APIVersion != "" + yyq2963[2] = true + yyq2963[3] = true + yyq2963[4] = x.Reason != "" + yyq2963[5] = x.Message != "" + yyq2963[6] = true + yyq2963[7] = true + yyq2963[8] = true + yyq2963[9] = x.Count != 0 + yyq2963[10] = x.Type != "" + var yynn2963 int + if yyr2963 || yy2arr2963 { r.EncodeArrayStart(11) } else { - yynn2937 = 0 - for _, b := range yyq2937 { + yynn2963 = 0 + for _, b := range yyq2963 { if b { - yynn2937++ + yynn2963++ } } - r.EncodeMapStart(yynn2937) - yynn2937 = 0 + r.EncodeMapStart(yynn2963) + yynn2963 = 0 } - if yyr2937 || yy2arr2937 { + if yyr2963 || yy2arr2963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[0] { - yym2939 := z.EncBinary() - _ = yym2939 + if yyq2963[0] { + yym2965 := z.EncBinary() + _ = yym2965 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36642,223 +36941,223 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2937[0] { + if yyq2963[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2940 := z.EncBinary() - _ = yym2940 + yym2966 := z.EncBinary() + _ = yym2966 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2937 || yy2arr2937 { + if yyr2963 || yy2arr2963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[1] { - yym2942 := z.EncBinary() - _ = yym2942 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2937[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2943 := z.EncBinary() - _ = yym2943 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2937 || yy2arr2937 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[2] { - yy2945 := &x.ObjectMeta - yy2945.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2937[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2946 := &x.ObjectMeta - yy2946.CodecEncodeSelf(e) - } - } - if yyr2937 || yy2arr2937 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[3] { - yy2948 := &x.InvolvedObject - yy2948.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2937[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2949 := &x.InvolvedObject - yy2949.CodecEncodeSelf(e) - } - } - if yyr2937 || yy2arr2937 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[4] { - yym2951 := z.EncBinary() - _ = yym2951 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2937[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2952 := z.EncBinary() - _ = yym2952 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr2937 || yy2arr2937 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[5] { - yym2954 := z.EncBinary() - _ = yym2954 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2937[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2955 := z.EncBinary() - _ = yym2955 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } - } - if yyr2937 || yy2arr2937 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[6] { - yy2957 := &x.Source - yy2957.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2937[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("source")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2958 := &x.Source - yy2958.CodecEncodeSelf(e) - } - } - if yyr2937 || yy2arr2937 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[7] { - yy2960 := &x.FirstTimestamp - yym2961 := z.EncBinary() - _ = yym2961 - if false { - } else if z.HasExtensions() && z.EncExt(yy2960) { - } else if yym2961 { - z.EncBinaryMarshal(yy2960) - } else if !yym2961 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2960) - } else { - z.EncFallback(yy2960) - } - } else { - r.EncodeNil() - } - } else { - if yyq2937[7] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2962 := &x.FirstTimestamp - yym2963 := z.EncBinary() - _ = yym2963 - if false { - } else if z.HasExtensions() && z.EncExt(yy2962) { - } else if yym2963 { - z.EncBinaryMarshal(yy2962) - } else if !yym2963 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2962) - } else { - z.EncFallback(yy2962) - } - } - } - if yyr2937 || yy2arr2937 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[8] { - yy2965 := &x.LastTimestamp - yym2966 := z.EncBinary() - _ = yym2966 - if false { - } else if z.HasExtensions() && z.EncExt(yy2965) { - } else if yym2966 { - z.EncBinaryMarshal(yy2965) - } else if !yym2966 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2965) - } else { - z.EncFallback(yy2965) - } - } else { - r.EncodeNil() - } - } else { - if yyq2937[8] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2967 := &x.LastTimestamp + if yyq2963[1] { yym2968 := z.EncBinary() _ = yym2968 if false { - } else if z.HasExtensions() && z.EncExt(yy2967) { - } else if yym2968 { - z.EncBinaryMarshal(yy2967) - } else if !yym2968 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2967) } else { - z.EncFallback(yy2967) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2963[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2969 := z.EncBinary() + _ = yym2969 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2937 || yy2arr2937 { + if yyr2963 || yy2arr2963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[9] { - yym2970 := z.EncBinary() - _ = yym2970 + if yyq2963[2] { + yy2971 := &x.ObjectMeta + yy2971.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2963[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2972 := &x.ObjectMeta + yy2972.CodecEncodeSelf(e) + } + } + if yyr2963 || yy2arr2963 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2963[3] { + yy2974 := &x.InvolvedObject + yy2974.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2963[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2975 := &x.InvolvedObject + yy2975.CodecEncodeSelf(e) + } + } + if yyr2963 || yy2arr2963 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2963[4] { + yym2977 := z.EncBinary() + _ = yym2977 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2963[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2978 := z.EncBinary() + _ = yym2978 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr2963 || yy2arr2963 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2963[5] { + yym2980 := z.EncBinary() + _ = yym2980 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2963[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2981 := z.EncBinary() + _ = yym2981 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr2963 || yy2arr2963 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2963[6] { + yy2983 := &x.Source + yy2983.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2963[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("source")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2984 := &x.Source + yy2984.CodecEncodeSelf(e) + } + } + if yyr2963 || yy2arr2963 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2963[7] { + yy2986 := &x.FirstTimestamp + yym2987 := z.EncBinary() + _ = yym2987 + if false { + } else if z.HasExtensions() && z.EncExt(yy2986) { + } else if yym2987 { + z.EncBinaryMarshal(yy2986) + } else if !yym2987 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2986) + } else { + z.EncFallback(yy2986) + } + } else { + r.EncodeNil() + } + } else { + if yyq2963[7] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2988 := &x.FirstTimestamp + yym2989 := z.EncBinary() + _ = yym2989 + if false { + } else if z.HasExtensions() && z.EncExt(yy2988) { + } else if yym2989 { + z.EncBinaryMarshal(yy2988) + } else if !yym2989 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2988) + } else { + z.EncFallback(yy2988) + } + } + } + if yyr2963 || yy2arr2963 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2963[8] { + yy2991 := &x.LastTimestamp + yym2992 := z.EncBinary() + _ = yym2992 + if false { + } else if z.HasExtensions() && z.EncExt(yy2991) { + } else if yym2992 { + z.EncBinaryMarshal(yy2991) + } else if !yym2992 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2991) + } else { + z.EncFallback(yy2991) + } + } else { + r.EncodeNil() + } + } else { + if yyq2963[8] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2993 := &x.LastTimestamp + yym2994 := z.EncBinary() + _ = yym2994 + if false { + } else if z.HasExtensions() && z.EncExt(yy2993) { + } else if yym2994 { + z.EncBinaryMarshal(yy2993) + } else if !yym2994 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2993) + } else { + z.EncFallback(yy2993) + } + } + } + if yyr2963 || yy2arr2963 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2963[9] { + yym2996 := z.EncBinary() + _ = yym2996 if false { } else { r.EncodeInt(int64(x.Count)) @@ -36867,23 +37166,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2937[9] { + if yyq2963[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("count")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2971 := z.EncBinary() - _ = yym2971 + yym2997 := z.EncBinary() + _ = yym2997 if false { } else { r.EncodeInt(int64(x.Count)) } } } - if yyr2937 || yy2arr2937 { + if yyr2963 || yy2arr2963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2937[10] { - yym2973 := z.EncBinary() - _ = yym2973 + if yyq2963[10] { + yym2999 := z.EncBinary() + _ = yym2999 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -36892,19 +37191,19 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2937[10] { + if yyq2963[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2974 := z.EncBinary() - _ = yym2974 + yym3000 := z.EncBinary() + _ = yym3000 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr2937 || yy2arr2937 { + if yyr2963 || yy2arr2963 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36917,25 +37216,25 @@ func (x *Event) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2975 := z.DecBinary() - _ = yym2975 + yym3001 := z.DecBinary() + _ = yym3001 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2976 := r.ContainerType() - if yyct2976 == codecSelferValueTypeMap1234 { - yyl2976 := r.ReadMapStart() - if yyl2976 == 0 { + yyct3002 := r.ContainerType() + if yyct3002 == codecSelferValueTypeMap1234 { + yyl3002 := r.ReadMapStart() + if yyl3002 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2976, d) + x.codecDecodeSelfFromMap(yyl3002, d) } - } else if yyct2976 == codecSelferValueTypeArray1234 { - yyl2976 := r.ReadArrayStart() - if yyl2976 == 0 { + } else if yyct3002 == codecSelferValueTypeArray1234 { + yyl3002 := r.ReadArrayStart() + if yyl3002 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2976, d) + x.codecDecodeSelfFromArray(yyl3002, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36947,12 +37246,12 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2977Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2977Slc - var yyhl2977 bool = l >= 0 - for yyj2977 := 0; ; yyj2977++ { - if yyhl2977 { - if yyj2977 >= l { + var yys3003Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3003Slc + var yyhl3003 bool = l >= 0 + for yyj3003 := 0; ; yyj3003++ { + if yyhl3003 { + if yyj3003 >= l { break } } else { @@ -36961,10 +37260,10 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2977Slc = r.DecodeBytes(yys2977Slc, true, true) - yys2977 := string(yys2977Slc) + yys3003Slc = r.DecodeBytes(yys3003Slc, true, true) + yys3003 := string(yys3003Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2977 { + switch yys3003 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -36981,15 +37280,15 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2980 := &x.ObjectMeta - yyv2980.CodecDecodeSelf(d) + yyv3006 := &x.ObjectMeta + yyv3006.CodecDecodeSelf(d) } case "involvedObject": if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv2981 := &x.InvolvedObject - yyv2981.CodecDecodeSelf(d) + yyv3007 := &x.InvolvedObject + yyv3007.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { @@ -37007,41 +37306,41 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv2984 := &x.Source - yyv2984.CodecDecodeSelf(d) + yyv3010 := &x.Source + yyv3010.CodecDecodeSelf(d) } case "firstTimestamp": if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv2985 := &x.FirstTimestamp - yym2986 := z.DecBinary() - _ = yym2986 + yyv3011 := &x.FirstTimestamp + yym3012 := z.DecBinary() + _ = yym3012 if false { - } else if z.HasExtensions() && z.DecExt(yyv2985) { - } else if yym2986 { - z.DecBinaryUnmarshal(yyv2985) - } else if !yym2986 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2985) + } else if z.HasExtensions() && z.DecExt(yyv3011) { + } else if yym3012 { + z.DecBinaryUnmarshal(yyv3011) + } else if !yym3012 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3011) } else { - z.DecFallback(yyv2985, false) + z.DecFallback(yyv3011, false) } } case "lastTimestamp": if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv2987 := &x.LastTimestamp - yym2988 := z.DecBinary() - _ = yym2988 + yyv3013 := &x.LastTimestamp + yym3014 := z.DecBinary() + _ = yym3014 if false { - } else if z.HasExtensions() && z.DecExt(yyv2987) { - } else if yym2988 { - z.DecBinaryUnmarshal(yyv2987) - } else if !yym2988 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2987) + } else if z.HasExtensions() && z.DecExt(yyv3013) { + } else if yym3014 { + z.DecBinaryUnmarshal(yyv3013) + } else if !yym3014 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3013) } else { - z.DecFallback(yyv2987, false) + z.DecFallback(yyv3013, false) } } case "count": @@ -37057,9 +37356,9 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2977) - } // end switch yys2977 - } // end for yyj2977 + z.DecStructFieldNotFound(-1, yys3003) + } // end switch yys3003 + } // end for yyj3003 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37067,16 +37366,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2991 int - var yyb2991 bool - var yyhl2991 bool = l >= 0 - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + var yyj3017 int + var yyb3017 bool + var yyhl3017 bool = l >= 0 + yyj3017++ + if yyhl3017 { + yyb3017 = yyj3017 > l } else { - yyb2991 = r.CheckBreak() + yyb3017 = r.CheckBreak() } - if yyb2991 { + if yyb3017 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37086,13 +37385,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3017++ + if yyhl3017 { + yyb3017 = yyj3017 > l } else { - yyb2991 = r.CheckBreak() + yyb3017 = r.CheckBreak() } - if yyb2991 { + if yyb3017 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37102,13 +37401,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3017++ + if yyhl3017 { + yyb3017 = yyj3017 > l } else { - yyb2991 = r.CheckBreak() + yyb3017 = r.CheckBreak() } - if yyb2991 { + if yyb3017 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37116,16 +37415,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2994 := &x.ObjectMeta - yyv2994.CodecDecodeSelf(d) + yyv3020 := &x.ObjectMeta + yyv3020.CodecDecodeSelf(d) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3017++ + if yyhl3017 { + yyb3017 = yyj3017 > l } else { - yyb2991 = r.CheckBreak() + yyb3017 = r.CheckBreak() } - if yyb2991 { + if yyb3017 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37133,16 +37432,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv2995 := &x.InvolvedObject - yyv2995.CodecDecodeSelf(d) + yyv3021 := &x.InvolvedObject + yyv3021.CodecDecodeSelf(d) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3017++ + if yyhl3017 { + yyb3017 = yyj3017 > l } else { - yyb2991 = r.CheckBreak() + yyb3017 = r.CheckBreak() } - if yyb2991 { + if yyb3017 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37152,13 +37451,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3017++ + if yyhl3017 { + yyb3017 = yyj3017 > l } else { - yyb2991 = r.CheckBreak() + yyb3017 = r.CheckBreak() } - if yyb2991 { + if yyb3017 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37168,13 +37467,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3017++ + if yyhl3017 { + yyb3017 = yyj3017 > l } else { - yyb2991 = r.CheckBreak() + yyb3017 = r.CheckBreak() } - if yyb2991 { + if yyb3017 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37182,16 +37481,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv2998 := &x.Source - yyv2998.CodecDecodeSelf(d) + yyv3024 := &x.Source + yyv3024.CodecDecodeSelf(d) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3017++ + if yyhl3017 { + yyb3017 = yyj3017 > l } else { - yyb2991 = r.CheckBreak() + yyb3017 = r.CheckBreak() } - if yyb2991 { + if yyb3017 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37199,26 +37498,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv2999 := &x.FirstTimestamp - yym3000 := z.DecBinary() - _ = yym3000 + yyv3025 := &x.FirstTimestamp + yym3026 := z.DecBinary() + _ = yym3026 if false { - } else if z.HasExtensions() && z.DecExt(yyv2999) { - } else if yym3000 { - z.DecBinaryUnmarshal(yyv2999) - } else if !yym3000 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2999) + } else if z.HasExtensions() && z.DecExt(yyv3025) { + } else if yym3026 { + z.DecBinaryUnmarshal(yyv3025) + } else if !yym3026 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3025) } else { - z.DecFallback(yyv2999, false) + z.DecFallback(yyv3025, false) } } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3017++ + if yyhl3017 { + yyb3017 = yyj3017 > l } else { - yyb2991 = r.CheckBreak() + yyb3017 = r.CheckBreak() } - if yyb2991 { + if yyb3017 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37226,26 +37525,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3001 := &x.LastTimestamp - yym3002 := z.DecBinary() - _ = yym3002 + yyv3027 := &x.LastTimestamp + yym3028 := z.DecBinary() + _ = yym3028 if false { - } else if z.HasExtensions() && z.DecExt(yyv3001) { - } else if yym3002 { - z.DecBinaryUnmarshal(yyv3001) - } else if !yym3002 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3001) + } else if z.HasExtensions() && z.DecExt(yyv3027) { + } else if yym3028 { + z.DecBinaryUnmarshal(yyv3027) + } else if !yym3028 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3027) } else { - z.DecFallback(yyv3001, false) + z.DecFallback(yyv3027, false) } } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3017++ + if yyhl3017 { + yyb3017 = yyj3017 > l } else { - yyb2991 = r.CheckBreak() + yyb3017 = r.CheckBreak() } - if yyb2991 { + if yyb3017 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37255,13 +37554,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Count = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3017++ + if yyhl3017 { + yyb3017 = yyj3017 > l } else { - yyb2991 = r.CheckBreak() + yyb3017 = r.CheckBreak() } - if yyb2991 { + if yyb3017 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37272,17 +37571,17 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } for { - yyj2991++ - if yyhl2991 { - yyb2991 = yyj2991 > l + yyj3017++ + if yyhl3017 { + yyb3017 = yyj3017 > l } else { - yyb2991 = r.CheckBreak() + yyb3017 = r.CheckBreak() } - if yyb2991 { + if yyb3017 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2991-1, "") + z.DecStructFieldNotFound(yyj3017-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37294,37 +37593,37 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3005 := z.EncBinary() - _ = yym3005 + yym3031 := z.EncBinary() + _ = yym3031 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3006 := !z.EncBinary() - yy2arr3006 := z.EncBasicHandle().StructToArray - var yyq3006 [4]bool - _, _, _ = yysep3006, yyq3006, yy2arr3006 - const yyr3006 bool = false - yyq3006[0] = x.Kind != "" - yyq3006[1] = x.APIVersion != "" - yyq3006[2] = true - var yynn3006 int - if yyr3006 || yy2arr3006 { + yysep3032 := !z.EncBinary() + yy2arr3032 := z.EncBasicHandle().StructToArray + var yyq3032 [4]bool + _, _, _ = yysep3032, yyq3032, yy2arr3032 + const yyr3032 bool = false + yyq3032[0] = x.Kind != "" + yyq3032[1] = x.APIVersion != "" + yyq3032[2] = true + var yynn3032 int + if yyr3032 || yy2arr3032 { r.EncodeArrayStart(4) } else { - yynn3006 = 1 - for _, b := range yyq3006 { + yynn3032 = 1 + for _, b := range yyq3032 { if b { - yynn3006++ + yynn3032++ } } - r.EncodeMapStart(yynn3006) - yynn3006 = 0 + r.EncodeMapStart(yynn3032) + yynn3032 = 0 } - if yyr3006 || yy2arr3006 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3006[0] { - yym3008 := z.EncBinary() - _ = yym3008 + if yyq3032[0] { + yym3034 := z.EncBinary() + _ = yym3034 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37333,23 +37632,23 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3006[0] { + if yyq3032[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3009 := z.EncBinary() - _ = yym3009 + yym3035 := z.EncBinary() + _ = yym3035 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3006 || yy2arr3006 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3006[1] { - yym3011 := z.EncBinary() - _ = yym3011 + if yyq3032[1] { + yym3037 := z.EncBinary() + _ = yym3037 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37358,54 +37657,54 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3006[1] { + if yyq3032[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3012 := z.EncBinary() - _ = yym3012 + yym3038 := z.EncBinary() + _ = yym3038 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3006 || yy2arr3006 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3006[2] { - yy3014 := &x.ListMeta - yym3015 := z.EncBinary() - _ = yym3015 + if yyq3032[2] { + yy3040 := &x.ListMeta + yym3041 := z.EncBinary() + _ = yym3041 if false { - } else if z.HasExtensions() && z.EncExt(yy3014) { + } else if z.HasExtensions() && z.EncExt(yy3040) { } else { - z.EncFallback(yy3014) + z.EncFallback(yy3040) } } else { r.EncodeNil() } } else { - if yyq3006[2] { + if yyq3032[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3016 := &x.ListMeta - yym3017 := z.EncBinary() - _ = yym3017 + yy3042 := &x.ListMeta + yym3043 := z.EncBinary() + _ = yym3043 if false { - } else if z.HasExtensions() && z.EncExt(yy3016) { + } else if z.HasExtensions() && z.EncExt(yy3042) { } else { - z.EncFallback(yy3016) + z.EncFallback(yy3042) } } } - if yyr3006 || yy2arr3006 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3019 := z.EncBinary() - _ = yym3019 + yym3045 := z.EncBinary() + _ = yym3045 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) @@ -37418,15 +37717,15 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3020 := z.EncBinary() - _ = yym3020 + yym3046 := z.EncBinary() + _ = yym3046 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) } } } - if yyr3006 || yy2arr3006 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37439,25 +37738,25 @@ func (x *EventList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3021 := z.DecBinary() - _ = yym3021 + yym3047 := z.DecBinary() + _ = yym3047 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3022 := r.ContainerType() - if yyct3022 == codecSelferValueTypeMap1234 { - yyl3022 := r.ReadMapStart() - if yyl3022 == 0 { + yyct3048 := r.ContainerType() + if yyct3048 == codecSelferValueTypeMap1234 { + yyl3048 := r.ReadMapStart() + if yyl3048 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3022, d) + x.codecDecodeSelfFromMap(yyl3048, d) } - } else if yyct3022 == codecSelferValueTypeArray1234 { - yyl3022 := r.ReadArrayStart() - if yyl3022 == 0 { + } else if yyct3048 == codecSelferValueTypeArray1234 { + yyl3048 := r.ReadArrayStart() + if yyl3048 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3022, d) + x.codecDecodeSelfFromArray(yyl3048, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37469,12 +37768,12 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3023Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3023Slc - var yyhl3023 bool = l >= 0 - for yyj3023 := 0; ; yyj3023++ { - if yyhl3023 { - if yyj3023 >= l { + var yys3049Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3049Slc + var yyhl3049 bool = l >= 0 + for yyj3049 := 0; ; yyj3049++ { + if yyhl3049 { + if yyj3049 >= l { break } } else { @@ -37483,10 +37782,10 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3023Slc = r.DecodeBytes(yys3023Slc, true, true) - yys3023 := string(yys3023Slc) + yys3049Slc = r.DecodeBytes(yys3049Slc, true, true) + yys3049 := string(yys3049Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3023 { + switch yys3049 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -37503,31 +37802,31 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3026 := &x.ListMeta - yym3027 := z.DecBinary() - _ = yym3027 + yyv3052 := &x.ListMeta + yym3053 := z.DecBinary() + _ = yym3053 if false { - } else if z.HasExtensions() && z.DecExt(yyv3026) { + } else if z.HasExtensions() && z.DecExt(yyv3052) { } else { - z.DecFallback(yyv3026, false) + z.DecFallback(yyv3052, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3028 := &x.Items - yym3029 := z.DecBinary() - _ = yym3029 + yyv3054 := &x.Items + yym3055 := z.DecBinary() + _ = yym3055 if false { } else { - h.decSliceEvent((*[]Event)(yyv3028), d) + h.decSliceEvent((*[]Event)(yyv3054), d) } } default: - z.DecStructFieldNotFound(-1, yys3023) - } // end switch yys3023 - } // end for yyj3023 + z.DecStructFieldNotFound(-1, yys3049) + } // end switch yys3049 + } // end for yyj3049 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37535,16 +37834,16 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3030 int - var yyb3030 bool - var yyhl3030 bool = l >= 0 - yyj3030++ - if yyhl3030 { - yyb3030 = yyj3030 > l + var yyj3056 int + var yyb3056 bool + var yyhl3056 bool = l >= 0 + yyj3056++ + if yyhl3056 { + yyb3056 = yyj3056 > l } else { - yyb3030 = r.CheckBreak() + yyb3056 = r.CheckBreak() } - if yyb3030 { + if yyb3056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37554,13 +37853,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3030++ - if yyhl3030 { - yyb3030 = yyj3030 > l + yyj3056++ + if yyhl3056 { + yyb3056 = yyj3056 > l } else { - yyb3030 = r.CheckBreak() + yyb3056 = r.CheckBreak() } - if yyb3030 { + if yyb3056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37570,13 +37869,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3030++ - if yyhl3030 { - yyb3030 = yyj3030 > l + yyj3056++ + if yyhl3056 { + yyb3056 = yyj3056 > l } else { - yyb3030 = r.CheckBreak() + yyb3056 = r.CheckBreak() } - if yyb3030 { + if yyb3056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37584,22 +37883,22 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3033 := &x.ListMeta - yym3034 := z.DecBinary() - _ = yym3034 + yyv3059 := &x.ListMeta + yym3060 := z.DecBinary() + _ = yym3060 if false { - } else if z.HasExtensions() && z.DecExt(yyv3033) { + } else if z.HasExtensions() && z.DecExt(yyv3059) { } else { - z.DecFallback(yyv3033, false) + z.DecFallback(yyv3059, false) } } - yyj3030++ - if yyhl3030 { - yyb3030 = yyj3030 > l + yyj3056++ + if yyhl3056 { + yyb3056 = yyj3056 > l } else { - yyb3030 = r.CheckBreak() + yyb3056 = r.CheckBreak() } - if yyb3030 { + if yyb3056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37607,26 +37906,26 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3035 := &x.Items - yym3036 := z.DecBinary() - _ = yym3036 + yyv3061 := &x.Items + yym3062 := z.DecBinary() + _ = yym3062 if false { } else { - h.decSliceEvent((*[]Event)(yyv3035), d) + h.decSliceEvent((*[]Event)(yyv3061), d) } } for { - yyj3030++ - if yyhl3030 { - yyb3030 = yyj3030 > l + yyj3056++ + if yyhl3056 { + yyb3056 = yyj3056 > l } else { - yyb3030 = r.CheckBreak() + yyb3056 = r.CheckBreak() } - if yyb3030 { + if yyb3056 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3030-1, "") + z.DecStructFieldNotFound(yyj3056-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37638,37 +37937,37 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3037 := z.EncBinary() - _ = yym3037 + yym3063 := z.EncBinary() + _ = yym3063 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3038 := !z.EncBinary() - yy2arr3038 := z.EncBasicHandle().StructToArray - var yyq3038 [4]bool - _, _, _ = yysep3038, yyq3038, yy2arr3038 - const yyr3038 bool = false - yyq3038[0] = x.Kind != "" - yyq3038[1] = x.APIVersion != "" - yyq3038[2] = true - var yynn3038 int - if yyr3038 || yy2arr3038 { + yysep3064 := !z.EncBinary() + yy2arr3064 := z.EncBasicHandle().StructToArray + var yyq3064 [4]bool + _, _, _ = yysep3064, yyq3064, yy2arr3064 + const yyr3064 bool = false + yyq3064[0] = x.Kind != "" + yyq3064[1] = x.APIVersion != "" + yyq3064[2] = true + var yynn3064 int + if yyr3064 || yy2arr3064 { r.EncodeArrayStart(4) } else { - yynn3038 = 1 - for _, b := range yyq3038 { + yynn3064 = 1 + for _, b := range yyq3064 { if b { - yynn3038++ + yynn3064++ } } - r.EncodeMapStart(yynn3038) - yynn3038 = 0 + r.EncodeMapStart(yynn3064) + yynn3064 = 0 } - if yyr3038 || yy2arr3038 { + if yyr3064 || yy2arr3064 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3038[0] { - yym3040 := z.EncBinary() - _ = yym3040 + if yyq3064[0] { + yym3066 := z.EncBinary() + _ = yym3066 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37677,23 +37976,23 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3038[0] { + if yyq3064[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3041 := z.EncBinary() - _ = yym3041 + yym3067 := z.EncBinary() + _ = yym3067 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3038 || yy2arr3038 { + if yyr3064 || yy2arr3064 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3038[1] { - yym3043 := z.EncBinary() - _ = yym3043 + if yyq3064[1] { + yym3069 := z.EncBinary() + _ = yym3069 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37702,54 +38001,54 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3038[1] { + if yyq3064[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3044 := z.EncBinary() - _ = yym3044 + yym3070 := z.EncBinary() + _ = yym3070 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3038 || yy2arr3038 { + if yyr3064 || yy2arr3064 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3038[2] { - yy3046 := &x.ListMeta - yym3047 := z.EncBinary() - _ = yym3047 + if yyq3064[2] { + yy3072 := &x.ListMeta + yym3073 := z.EncBinary() + _ = yym3073 if false { - } else if z.HasExtensions() && z.EncExt(yy3046) { + } else if z.HasExtensions() && z.EncExt(yy3072) { } else { - z.EncFallback(yy3046) + z.EncFallback(yy3072) } } else { r.EncodeNil() } } else { - if yyq3038[2] { + if yyq3064[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3048 := &x.ListMeta - yym3049 := z.EncBinary() - _ = yym3049 + yy3074 := &x.ListMeta + yym3075 := z.EncBinary() + _ = yym3075 if false { - } else if z.HasExtensions() && z.EncExt(yy3048) { + } else if z.HasExtensions() && z.EncExt(yy3074) { } else { - z.EncFallback(yy3048) + z.EncFallback(yy3074) } } } - if yyr3038 || yy2arr3038 { + if yyr3064 || yy2arr3064 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3051 := z.EncBinary() - _ = yym3051 + yym3077 := z.EncBinary() + _ = yym3077 if false { } else { h.encSliceruntime_Object(([]pkg8_runtime.Object)(x.Items), e) @@ -37762,15 +38061,15 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3052 := z.EncBinary() - _ = yym3052 + yym3078 := z.EncBinary() + _ = yym3078 if false { } else { h.encSliceruntime_Object(([]pkg8_runtime.Object)(x.Items), e) } } } - if yyr3038 || yy2arr3038 { + if yyr3064 || yy2arr3064 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37780,403 +38079,6 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *List) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3053 := z.DecBinary() - _ = yym3053 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3054 := r.ContainerType() - if yyct3054 == codecSelferValueTypeMap1234 { - yyl3054 := r.ReadMapStart() - if yyl3054 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3054, d) - } - } else if yyct3054 == codecSelferValueTypeArray1234 { - yyl3054 := r.ReadArrayStart() - if yyl3054 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3054, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3055Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3055Slc - var yyhl3055 bool = l >= 0 - for yyj3055 := 0; ; yyj3055++ { - if yyhl3055 { - if yyj3055 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3055Slc = r.DecodeBytes(yys3055Slc, true, true) - yys3055 := string(yys3055Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3055 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3058 := &x.ListMeta - yym3059 := z.DecBinary() - _ = yym3059 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3058) { - } else { - z.DecFallback(yyv3058, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3060 := &x.Items - yym3061 := z.DecBinary() - _ = yym3061 - if false { - } else { - h.decSliceruntime_Object((*[]pkg8_runtime.Object)(yyv3060), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys3055) - } // end switch yys3055 - } // end for yyj3055 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3062 int - var yyb3062 bool - var yyhl3062 bool = l >= 0 - yyj3062++ - if yyhl3062 { - yyb3062 = yyj3062 > l - } else { - yyb3062 = r.CheckBreak() - } - if yyb3062 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3062++ - if yyhl3062 { - yyb3062 = yyj3062 > l - } else { - yyb3062 = r.CheckBreak() - } - if yyb3062 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3062++ - if yyhl3062 { - yyb3062 = yyj3062 > l - } else { - yyb3062 = r.CheckBreak() - } - if yyb3062 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3065 := &x.ListMeta - yym3066 := z.DecBinary() - _ = yym3066 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3065) { - } else { - z.DecFallback(yyv3065, false) - } - } - yyj3062++ - if yyhl3062 { - yyb3062 = yyj3062 > l - } else { - yyb3062 = r.CheckBreak() - } - if yyb3062 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3067 := &x.Items - yym3068 := z.DecBinary() - _ = yym3068 - if false { - } else { - h.decSliceruntime_Object((*[]pkg8_runtime.Object)(yyv3067), d) - } - } - for { - yyj3062++ - if yyhl3062 { - yyb3062 = yyj3062 > l - } else { - yyb3062 = r.CheckBreak() - } - if yyb3062 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3062-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3069 := z.EncBinary() - _ = yym3069 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3070 := z.DecBinary() - _ = yym3070 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3071 := z.EncBinary() - _ = yym3071 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3072 := !z.EncBinary() - yy2arr3072 := z.EncBasicHandle().StructToArray - var yyq3072 [6]bool - _, _, _ = yysep3072, yyq3072, yy2arr3072 - const yyr3072 bool = false - yyq3072[0] = x.Type != "" - yyq3072[1] = len(x.Max) != 0 - yyq3072[2] = len(x.Min) != 0 - yyq3072[3] = len(x.Default) != 0 - yyq3072[4] = len(x.DefaultRequest) != 0 - yyq3072[5] = len(x.MaxLimitRequestRatio) != 0 - var yynn3072 int - if yyr3072 || yy2arr3072 { - r.EncodeArrayStart(6) - } else { - yynn3072 = 0 - for _, b := range yyq3072 { - if b { - yynn3072++ - } - } - r.EncodeMapStart(yynn3072) - yynn3072 = 0 - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3072[0] { - x.Type.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3072[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("type")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Type.CodecEncodeSelf(e) - } - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3072[1] { - if x.Max == nil { - r.EncodeNil() - } else { - x.Max.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3072[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("max")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Max == nil { - r.EncodeNil() - } else { - x.Max.CodecEncodeSelf(e) - } - } - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3072[2] { - if x.Min == nil { - r.EncodeNil() - } else { - x.Min.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3072[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("min")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Min == nil { - r.EncodeNil() - } else { - x.Min.CodecEncodeSelf(e) - } - } - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3072[3] { - if x.Default == nil { - r.EncodeNil() - } else { - x.Default.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3072[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("default")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Default == nil { - r.EncodeNil() - } else { - x.Default.CodecEncodeSelf(e) - } - } - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3072[4] { - if x.DefaultRequest == nil { - r.EncodeNil() - } else { - x.DefaultRequest.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3072[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.DefaultRequest == nil { - r.EncodeNil() - } else { - x.DefaultRequest.CodecEncodeSelf(e) - } - } - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3072[5] { - if x.MaxLimitRequestRatio == nil { - r.EncodeNil() - } else { - x.MaxLimitRequestRatio.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3072[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MaxLimitRequestRatio == nil { - r.EncodeNil() - } else { - x.MaxLimitRequestRatio.CodecEncodeSelf(e) - } - } - } - if yyr3072 || yy2arr3072 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -38206,7 +38108,7 @@ func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -38228,46 +38130,42 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys3081 := string(yys3081Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys3081 { - case "type": + case "kind": if r.TryDecodeAsNil() { - x.Type = "" + x.Kind = "" } else { - x.Type = LimitType(r.DecodeString()) + x.Kind = string(r.DecodeString()) } - case "max": + case "apiVersion": if r.TryDecodeAsNil() { - x.Max = nil + x.APIVersion = "" } else { - yyv3083 := &x.Max - yyv3083.CodecDecodeSelf(d) + x.APIVersion = string(r.DecodeString()) } - case "min": + case "metadata": if r.TryDecodeAsNil() { - x.Min = nil + x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3084 := &x.Min - yyv3084.CodecDecodeSelf(d) + yyv3084 := &x.ListMeta + yym3085 := z.DecBinary() + _ = yym3085 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3084) { + } else { + z.DecFallback(yyv3084, false) + } } - case "default": + case "items": if r.TryDecodeAsNil() { - x.Default = nil + x.Items = nil } else { - yyv3085 := &x.Default - yyv3085.CodecDecodeSelf(d) - } - case "defaultRequest": - if r.TryDecodeAsNil() { - x.DefaultRequest = nil - } else { - yyv3086 := &x.DefaultRequest - yyv3086.CodecDecodeSelf(d) - } - case "maxLimitRequestRatio": - if r.TryDecodeAsNil() { - x.MaxLimitRequestRatio = nil - } else { - yyv3087 := &x.MaxLimitRequestRatio - yyv3087.CodecDecodeSelf(d) + yyv3086 := &x.Items + yym3087 := z.DecBinary() + _ = yym3087 + if false { + } else { + h.decSliceruntime_Object((*[]pkg8_runtime.Object)(yyv3086), d) + } } default: z.DecStructFieldNotFound(-1, yys3081) @@ -38276,7 +38174,7 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -38295,9 +38193,9 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Type = "" + x.Kind = "" } else { - x.Type = LimitType(r.DecodeString()) + x.Kind = string(r.DecodeString()) } yyj3088++ if yyhl3088 { @@ -38311,10 +38209,9 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Max = nil + x.APIVersion = "" } else { - yyv3090 := &x.Max - yyv3090.CodecDecodeSelf(d) + x.APIVersion = string(r.DecodeString()) } yyj3088++ if yyhl3088 { @@ -38328,10 +38225,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Min = nil + x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3091 := &x.Min - yyv3091.CodecDecodeSelf(d) + yyv3091 := &x.ListMeta + yym3092 := z.DecBinary() + _ = yym3092 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3091) { + } else { + z.DecFallback(yyv3091, false) + } } yyj3088++ if yyhl3088 { @@ -38345,44 +38248,15 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Default = nil + x.Items = nil } else { - yyv3092 := &x.Default - yyv3092.CodecDecodeSelf(d) - } - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DefaultRequest = nil - } else { - yyv3093 := &x.DefaultRequest - yyv3093.CodecDecodeSelf(d) - } - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l - } else { - yyb3088 = r.CheckBreak() - } - if yyb3088 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxLimitRequestRatio = nil - } else { - yyv3094 := &x.MaxLimitRequestRatio - yyv3094.CodecDecodeSelf(d) + yyv3093 := &x.Items + yym3094 := z.DecBinary() + _ = yym3094 + if false { + } else { + h.decSliceruntime_Object((*[]pkg8_runtime.Object)(yyv3093), d) + } } for { yyj3088++ @@ -38400,6 +38274,431 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3095 := z.EncBinary() + _ = yym3095 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3096 := z.DecBinary() + _ = yym3096 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3097 := z.EncBinary() + _ = yym3097 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3098 := !z.EncBinary() + yy2arr3098 := z.EncBasicHandle().StructToArray + var yyq3098 [6]bool + _, _, _ = yysep3098, yyq3098, yy2arr3098 + const yyr3098 bool = false + yyq3098[0] = x.Type != "" + yyq3098[1] = len(x.Max) != 0 + yyq3098[2] = len(x.Min) != 0 + yyq3098[3] = len(x.Default) != 0 + yyq3098[4] = len(x.DefaultRequest) != 0 + yyq3098[5] = len(x.MaxLimitRequestRatio) != 0 + var yynn3098 int + if yyr3098 || yy2arr3098 { + r.EncodeArrayStart(6) + } else { + yynn3098 = 0 + for _, b := range yyq3098 { + if b { + yynn3098++ + } + } + r.EncodeMapStart(yynn3098) + yynn3098 = 0 + } + if yyr3098 || yy2arr3098 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3098[0] { + x.Type.CodecEncodeSelf(e) + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3098[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Type.CodecEncodeSelf(e) + } + } + if yyr3098 || yy2arr3098 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3098[1] { + if x.Max == nil { + r.EncodeNil() + } else { + x.Max.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3098[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("max")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Max == nil { + r.EncodeNil() + } else { + x.Max.CodecEncodeSelf(e) + } + } + } + if yyr3098 || yy2arr3098 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3098[2] { + if x.Min == nil { + r.EncodeNil() + } else { + x.Min.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3098[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("min")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Min == nil { + r.EncodeNil() + } else { + x.Min.CodecEncodeSelf(e) + } + } + } + if yyr3098 || yy2arr3098 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3098[3] { + if x.Default == nil { + r.EncodeNil() + } else { + x.Default.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3098[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("default")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Default == nil { + r.EncodeNil() + } else { + x.Default.CodecEncodeSelf(e) + } + } + } + if yyr3098 || yy2arr3098 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3098[4] { + if x.DefaultRequest == nil { + r.EncodeNil() + } else { + x.DefaultRequest.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3098[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.DefaultRequest == nil { + r.EncodeNil() + } else { + x.DefaultRequest.CodecEncodeSelf(e) + } + } + } + if yyr3098 || yy2arr3098 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3098[5] { + if x.MaxLimitRequestRatio == nil { + r.EncodeNil() + } else { + x.MaxLimitRequestRatio.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3098[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.MaxLimitRequestRatio == nil { + r.EncodeNil() + } else { + x.MaxLimitRequestRatio.CodecEncodeSelf(e) + } + } + } + if yyr3098 || yy2arr3098 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3105 := z.DecBinary() + _ = yym3105 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3106 := r.ContainerType() + if yyct3106 == codecSelferValueTypeMap1234 { + yyl3106 := r.ReadMapStart() + if yyl3106 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3106, d) + } + } else if yyct3106 == codecSelferValueTypeArray1234 { + yyl3106 := r.ReadArrayStart() + if yyl3106 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3106, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3107Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3107Slc + var yyhl3107 bool = l >= 0 + for yyj3107 := 0; ; yyj3107++ { + if yyhl3107 { + if yyj3107 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3107Slc = r.DecodeBytes(yys3107Slc, true, true) + yys3107 := string(yys3107Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3107 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = LimitType(r.DecodeString()) + } + case "max": + if r.TryDecodeAsNil() { + x.Max = nil + } else { + yyv3109 := &x.Max + yyv3109.CodecDecodeSelf(d) + } + case "min": + if r.TryDecodeAsNil() { + x.Min = nil + } else { + yyv3110 := &x.Min + yyv3110.CodecDecodeSelf(d) + } + case "default": + if r.TryDecodeAsNil() { + x.Default = nil + } else { + yyv3111 := &x.Default + yyv3111.CodecDecodeSelf(d) + } + case "defaultRequest": + if r.TryDecodeAsNil() { + x.DefaultRequest = nil + } else { + yyv3112 := &x.DefaultRequest + yyv3112.CodecDecodeSelf(d) + } + case "maxLimitRequestRatio": + if r.TryDecodeAsNil() { + x.MaxLimitRequestRatio = nil + } else { + yyv3113 := &x.MaxLimitRequestRatio + yyv3113.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys3107) + } // end switch yys3107 + } // end for yyj3107 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3114 int + var yyb3114 bool + var yyhl3114 bool = l >= 0 + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l + } else { + yyb3114 = r.CheckBreak() + } + if yyb3114 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = LimitType(r.DecodeString()) + } + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l + } else { + yyb3114 = r.CheckBreak() + } + if yyb3114 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Max = nil + } else { + yyv3116 := &x.Max + yyv3116.CodecDecodeSelf(d) + } + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l + } else { + yyb3114 = r.CheckBreak() + } + if yyb3114 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Min = nil + } else { + yyv3117 := &x.Min + yyv3117.CodecDecodeSelf(d) + } + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l + } else { + yyb3114 = r.CheckBreak() + } + if yyb3114 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Default = nil + } else { + yyv3118 := &x.Default + yyv3118.CodecDecodeSelf(d) + } + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l + } else { + yyb3114 = r.CheckBreak() + } + if yyb3114 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DefaultRequest = nil + } else { + yyv3119 := &x.DefaultRequest + yyv3119.CodecDecodeSelf(d) + } + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l + } else { + yyb3114 = r.CheckBreak() + } + if yyb3114 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxLimitRequestRatio = nil + } else { + yyv3120 := &x.MaxLimitRequestRatio + yyv3120.CodecDecodeSelf(d) + } + for { + yyj3114++ + if yyhl3114 { + yyb3114 = yyj3114 > l + } else { + yyb3114 = r.CheckBreak() + } + if yyb3114 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3114-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -38407,36 +38706,36 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3095 := z.EncBinary() - _ = yym3095 + yym3121 := z.EncBinary() + _ = yym3121 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3096 := !z.EncBinary() - yy2arr3096 := z.EncBasicHandle().StructToArray - var yyq3096 [1]bool - _, _, _ = yysep3096, yyq3096, yy2arr3096 - const yyr3096 bool = false - var yynn3096 int - if yyr3096 || yy2arr3096 { + yysep3122 := !z.EncBinary() + yy2arr3122 := z.EncBasicHandle().StructToArray + var yyq3122 [1]bool + _, _, _ = yysep3122, yyq3122, yy2arr3122 + const yyr3122 bool = false + var yynn3122 int + if yyr3122 || yy2arr3122 { r.EncodeArrayStart(1) } else { - yynn3096 = 1 - for _, b := range yyq3096 { + yynn3122 = 1 + for _, b := range yyq3122 { if b { - yynn3096++ + yynn3122++ } } - r.EncodeMapStart(yynn3096) - yynn3096 = 0 + r.EncodeMapStart(yynn3122) + yynn3122 = 0 } - if yyr3096 || yy2arr3096 { + if yyr3122 || yy2arr3122 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Limits == nil { r.EncodeNil() } else { - yym3098 := z.EncBinary() - _ = yym3098 + yym3124 := z.EncBinary() + _ = yym3124 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) @@ -38449,15 +38748,15 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Limits == nil { r.EncodeNil() } else { - yym3099 := z.EncBinary() - _ = yym3099 + yym3125 := z.EncBinary() + _ = yym3125 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) } } } - if yyr3096 || yy2arr3096 { + if yyr3122 || yy2arr3122 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38470,25 +38769,25 @@ func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3100 := z.DecBinary() - _ = yym3100 + yym3126 := z.DecBinary() + _ = yym3126 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3101 := r.ContainerType() - if yyct3101 == codecSelferValueTypeMap1234 { - yyl3101 := r.ReadMapStart() - if yyl3101 == 0 { + yyct3127 := r.ContainerType() + if yyct3127 == codecSelferValueTypeMap1234 { + yyl3127 := r.ReadMapStart() + if yyl3127 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3101, d) + x.codecDecodeSelfFromMap(yyl3127, d) } - } else if yyct3101 == codecSelferValueTypeArray1234 { - yyl3101 := r.ReadArrayStart() - if yyl3101 == 0 { + } else if yyct3127 == codecSelferValueTypeArray1234 { + yyl3127 := r.ReadArrayStart() + if yyl3127 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3101, d) + x.codecDecodeSelfFromArray(yyl3127, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38500,12 +38799,12 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3102Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3102Slc - var yyhl3102 bool = l >= 0 - for yyj3102 := 0; ; yyj3102++ { - if yyhl3102 { - if yyj3102 >= l { + var yys3128Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3128Slc + var yyhl3128 bool = l >= 0 + for yyj3128 := 0; ; yyj3128++ { + if yyhl3128 { + if yyj3128 >= l { break } } else { @@ -38514,26 +38813,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3102Slc = r.DecodeBytes(yys3102Slc, true, true) - yys3102 := string(yys3102Slc) + yys3128Slc = r.DecodeBytes(yys3128Slc, true, true) + yys3128 := string(yys3128Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3102 { + switch yys3128 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv3103 := &x.Limits - yym3104 := z.DecBinary() - _ = yym3104 + yyv3129 := &x.Limits + yym3130 := z.DecBinary() + _ = yym3130 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3103), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3129), d) } } default: - z.DecStructFieldNotFound(-1, yys3102) - } // end switch yys3102 - } // end for yyj3102 + z.DecStructFieldNotFound(-1, yys3128) + } // end switch yys3128 + } // end for yyj3128 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38541,16 +38840,16 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3105 int - var yyb3105 bool - var yyhl3105 bool = l >= 0 - yyj3105++ - if yyhl3105 { - yyb3105 = yyj3105 > l + var yyj3131 int + var yyb3131 bool + var yyhl3131 bool = l >= 0 + yyj3131++ + if yyhl3131 { + yyb3131 = yyj3131 > l } else { - yyb3105 = r.CheckBreak() + yyb3131 = r.CheckBreak() } - if yyb3105 { + if yyb3131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38558,332 +38857,31 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv3106 := &x.Limits - yym3107 := z.DecBinary() - _ = yym3107 + yyv3132 := &x.Limits + yym3133 := z.DecBinary() + _ = yym3133 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3106), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3132), d) } } for { - yyj3105++ - if yyhl3105 { - yyb3105 = yyj3105 > l + yyj3131++ + if yyhl3131 { + yyb3131 = yyj3131 > l } else { - yyb3105 = r.CheckBreak() + yyb3131 = r.CheckBreak() } - if yyb3105 { + if yyb3131 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3105-1, "") + z.DecStructFieldNotFound(yyj3131-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3108 := z.EncBinary() - _ = yym3108 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3109 := !z.EncBinary() - yy2arr3109 := z.EncBasicHandle().StructToArray - var yyq3109 [4]bool - _, _, _ = yysep3109, yyq3109, yy2arr3109 - const yyr3109 bool = false - yyq3109[0] = x.Kind != "" - yyq3109[1] = x.APIVersion != "" - yyq3109[2] = true - yyq3109[3] = true - var yynn3109 int - if yyr3109 || yy2arr3109 { - r.EncodeArrayStart(4) - } else { - yynn3109 = 0 - for _, b := range yyq3109 { - if b { - yynn3109++ - } - } - r.EncodeMapStart(yynn3109) - yynn3109 = 0 - } - if yyr3109 || yy2arr3109 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3109[0] { - yym3111 := z.EncBinary() - _ = yym3111 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3109[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3112 := z.EncBinary() - _ = yym3112 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3109 || yy2arr3109 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3109[1] { - yym3114 := z.EncBinary() - _ = yym3114 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3109[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3115 := z.EncBinary() - _ = yym3115 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3109 || yy2arr3109 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3109[2] { - yy3117 := &x.ObjectMeta - yy3117.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3109[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3118 := &x.ObjectMeta - yy3118.CodecEncodeSelf(e) - } - } - if yyr3109 || yy2arr3109 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3109[3] { - yy3120 := &x.Spec - yy3120.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3109[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3121 := &x.Spec - yy3121.CodecEncodeSelf(e) - } - } - if yyr3109 || yy2arr3109 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3122 := z.DecBinary() - _ = yym3122 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3123 := r.ContainerType() - if yyct3123 == codecSelferValueTypeMap1234 { - yyl3123 := r.ReadMapStart() - if yyl3123 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3123, d) - } - } else if yyct3123 == codecSelferValueTypeArray1234 { - yyl3123 := r.ReadArrayStart() - if yyl3123 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3123, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3124Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3124Slc - var yyhl3124 bool = l >= 0 - for yyj3124 := 0; ; yyj3124++ { - if yyhl3124 { - if yyj3124 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3124Slc = r.DecodeBytes(yys3124Slc, true, true) - yys3124 := string(yys3124Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3124 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv3127 := &x.ObjectMeta - yyv3127.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = LimitRangeSpec{} - } else { - yyv3128 := &x.Spec - yyv3128.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys3124) - } // end switch yys3124 - } // end for yyj3124 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3129 int - var yyb3129 bool - var yyhl3129 bool = l >= 0 - yyj3129++ - if yyhl3129 { - yyb3129 = yyj3129 > l - } else { - yyb3129 = r.CheckBreak() - } - if yyb3129 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3129++ - if yyhl3129 { - yyb3129 = yyj3129 > l - } else { - yyb3129 = r.CheckBreak() - } - if yyb3129 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3129++ - if yyhl3129 { - yyb3129 = yyj3129 > l - } else { - yyb3129 = r.CheckBreak() - } - if yyb3129 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv3132 := &x.ObjectMeta - yyv3132.CodecDecodeSelf(d) - } - yyj3129++ - if yyhl3129 { - yyb3129 = yyj3129 > l - } else { - yyb3129 = r.CheckBreak() - } - if yyb3129 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = LimitRangeSpec{} - } else { - yyv3133 := &x.Spec - yyv3133.CodecDecodeSelf(d) - } - for { - yyj3129++ - if yyhl3129 { - yyb3129 = yyj3129 > l - } else { - yyb3129 = r.CheckBreak() - } - if yyb3129 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3129-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -38903,11 +38901,12 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { yyq3135[0] = x.Kind != "" yyq3135[1] = x.APIVersion != "" yyq3135[2] = true + yyq3135[3] = true var yynn3135 int if yyr3135 || yy2arr3135 { r.EncodeArrayStart(4) } else { - yynn3135 = 1 + yynn3135 = 0 for _, b := range yyq3135 { if b { yynn3135++ @@ -38969,14 +38968,8 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if yyr3135 || yy2arr3135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq3135[2] { - yy3143 := &x.ListMeta - yym3144 := z.EncBinary() - _ = yym3144 - if false { - } else if z.HasExtensions() && z.EncExt(yy3143) { - } else { - z.EncFallback(yy3143) - } + yy3143 := &x.ObjectMeta + yy3143.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -38985,23 +38978,329 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3145 := &x.ListMeta - yym3146 := z.EncBinary() - _ = yym3146 - if false { - } else if z.HasExtensions() && z.EncExt(yy3145) { - } else { - z.EncFallback(yy3145) - } + yy3144 := &x.ObjectMeta + yy3144.CodecEncodeSelf(e) } } if yyr3135 || yy2arr3135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3135[3] { + yy3146 := &x.Spec + yy3146.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3135[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3147 := &x.Spec + yy3147.CodecEncodeSelf(e) + } + } + if yyr3135 || yy2arr3135 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3148 := z.DecBinary() + _ = yym3148 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3149 := r.ContainerType() + if yyct3149 == codecSelferValueTypeMap1234 { + yyl3149 := r.ReadMapStart() + if yyl3149 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3149, d) + } + } else if yyct3149 == codecSelferValueTypeArray1234 { + yyl3149 := r.ReadArrayStart() + if yyl3149 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3149, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3150Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3150Slc + var yyhl3150 bool = l >= 0 + for yyj3150 := 0; ; yyj3150++ { + if yyhl3150 { + if yyj3150 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3150Slc = r.DecodeBytes(yys3150Slc, true, true) + yys3150 := string(yys3150Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3150 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3153 := &x.ObjectMeta + yyv3153.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = LimitRangeSpec{} + } else { + yyv3154 := &x.Spec + yyv3154.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys3150) + } // end switch yys3150 + } // end for yyj3150 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3155 int + var yyb3155 bool + var yyhl3155 bool = l >= 0 + yyj3155++ + if yyhl3155 { + yyb3155 = yyj3155 > l + } else { + yyb3155 = r.CheckBreak() + } + if yyb3155 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3155++ + if yyhl3155 { + yyb3155 = yyj3155 > l + } else { + yyb3155 = r.CheckBreak() + } + if yyb3155 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3155++ + if yyhl3155 { + yyb3155 = yyj3155 > l + } else { + yyb3155 = r.CheckBreak() + } + if yyb3155 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3158 := &x.ObjectMeta + yyv3158.CodecDecodeSelf(d) + } + yyj3155++ + if yyhl3155 { + yyb3155 = yyj3155 > l + } else { + yyb3155 = r.CheckBreak() + } + if yyb3155 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = LimitRangeSpec{} + } else { + yyv3159 := &x.Spec + yyv3159.CodecDecodeSelf(d) + } + for { + yyj3155++ + if yyhl3155 { + yyb3155 = yyj3155 > l + } else { + yyb3155 = r.CheckBreak() + } + if yyb3155 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3155-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3160 := z.EncBinary() + _ = yym3160 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3161 := !z.EncBinary() + yy2arr3161 := z.EncBasicHandle().StructToArray + var yyq3161 [4]bool + _, _, _ = yysep3161, yyq3161, yy2arr3161 + const yyr3161 bool = false + yyq3161[0] = x.Kind != "" + yyq3161[1] = x.APIVersion != "" + yyq3161[2] = true + var yynn3161 int + if yyr3161 || yy2arr3161 { + r.EncodeArrayStart(4) + } else { + yynn3161 = 1 + for _, b := range yyq3161 { + if b { + yynn3161++ + } + } + r.EncodeMapStart(yynn3161) + yynn3161 = 0 + } + if yyr3161 || yy2arr3161 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3161[0] { + yym3163 := z.EncBinary() + _ = yym3163 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3161[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3164 := z.EncBinary() + _ = yym3164 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3161 || yy2arr3161 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3161[1] { + yym3166 := z.EncBinary() + _ = yym3166 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3161[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3167 := z.EncBinary() + _ = yym3167 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3161 || yy2arr3161 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3161[2] { + yy3169 := &x.ListMeta + yym3170 := z.EncBinary() + _ = yym3170 + if false { + } else if z.HasExtensions() && z.EncExt(yy3169) { + } else { + z.EncFallback(yy3169) + } + } else { + r.EncodeNil() + } + } else { + if yyq3161[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3171 := &x.ListMeta + yym3172 := z.EncBinary() + _ = yym3172 + if false { + } else if z.HasExtensions() && z.EncExt(yy3171) { + } else { + z.EncFallback(yy3171) + } + } + } + if yyr3161 || yy2arr3161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3148 := z.EncBinary() - _ = yym3148 + yym3174 := z.EncBinary() + _ = yym3174 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) @@ -39014,15 +39313,15 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3149 := z.EncBinary() - _ = yym3149 + yym3175 := z.EncBinary() + _ = yym3175 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) } } } - if yyr3135 || yy2arr3135 { + if yyr3161 || yy2arr3161 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39035,25 +39334,25 @@ func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3150 := z.DecBinary() - _ = yym3150 + yym3176 := z.DecBinary() + _ = yym3176 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3151 := r.ContainerType() - if yyct3151 == codecSelferValueTypeMap1234 { - yyl3151 := r.ReadMapStart() - if yyl3151 == 0 { + yyct3177 := r.ContainerType() + if yyct3177 == codecSelferValueTypeMap1234 { + yyl3177 := r.ReadMapStart() + if yyl3177 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3151, d) + x.codecDecodeSelfFromMap(yyl3177, d) } - } else if yyct3151 == codecSelferValueTypeArray1234 { - yyl3151 := r.ReadArrayStart() - if yyl3151 == 0 { + } else if yyct3177 == codecSelferValueTypeArray1234 { + yyl3177 := r.ReadArrayStart() + if yyl3177 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3151, d) + x.codecDecodeSelfFromArray(yyl3177, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39065,12 +39364,12 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3152Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3152Slc - var yyhl3152 bool = l >= 0 - for yyj3152 := 0; ; yyj3152++ { - if yyhl3152 { - if yyj3152 >= l { + var yys3178Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3178Slc + var yyhl3178 bool = l >= 0 + for yyj3178 := 0; ; yyj3178++ { + if yyhl3178 { + if yyj3178 >= l { break } } else { @@ -39079,10 +39378,10 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3152Slc = r.DecodeBytes(yys3152Slc, true, true) - yys3152 := string(yys3152Slc) + yys3178Slc = r.DecodeBytes(yys3178Slc, true, true) + yys3178 := string(yys3178Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3152 { + switch yys3178 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -39099,31 +39398,31 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3155 := &x.ListMeta - yym3156 := z.DecBinary() - _ = yym3156 + yyv3181 := &x.ListMeta + yym3182 := z.DecBinary() + _ = yym3182 if false { - } else if z.HasExtensions() && z.DecExt(yyv3155) { + } else if z.HasExtensions() && z.DecExt(yyv3181) { } else { - z.DecFallback(yyv3155, false) + z.DecFallback(yyv3181, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3157 := &x.Items - yym3158 := z.DecBinary() - _ = yym3158 + yyv3183 := &x.Items + yym3184 := z.DecBinary() + _ = yym3184 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv3157), d) + h.decSliceLimitRange((*[]LimitRange)(yyv3183), d) } } default: - z.DecStructFieldNotFound(-1, yys3152) - } // end switch yys3152 - } // end for yyj3152 + z.DecStructFieldNotFound(-1, yys3178) + } // end switch yys3178 + } // end for yyj3178 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39131,16 +39430,16 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3159 int - var yyb3159 bool - var yyhl3159 bool = l >= 0 - yyj3159++ - if yyhl3159 { - yyb3159 = yyj3159 > l + var yyj3185 int + var yyb3185 bool + var yyhl3185 bool = l >= 0 + yyj3185++ + if yyhl3185 { + yyb3185 = yyj3185 > l } else { - yyb3159 = r.CheckBreak() + yyb3185 = r.CheckBreak() } - if yyb3159 { + if yyb3185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39150,13 +39449,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3159++ - if yyhl3159 { - yyb3159 = yyj3159 > l + yyj3185++ + if yyhl3185 { + yyb3185 = yyj3185 > l } else { - yyb3159 = r.CheckBreak() + yyb3185 = r.CheckBreak() } - if yyb3159 { + if yyb3185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39166,13 +39465,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3159++ - if yyhl3159 { - yyb3159 = yyj3159 > l + yyj3185++ + if yyhl3185 { + yyb3185 = yyj3185 > l } else { - yyb3159 = r.CheckBreak() + yyb3185 = r.CheckBreak() } - if yyb3159 { + if yyb3185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39180,22 +39479,22 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3162 := &x.ListMeta - yym3163 := z.DecBinary() - _ = yym3163 + yyv3188 := &x.ListMeta + yym3189 := z.DecBinary() + _ = yym3189 if false { - } else if z.HasExtensions() && z.DecExt(yyv3162) { + } else if z.HasExtensions() && z.DecExt(yyv3188) { } else { - z.DecFallback(yyv3162, false) + z.DecFallback(yyv3188, false) } } - yyj3159++ - if yyhl3159 { - yyb3159 = yyj3159 > l + yyj3185++ + if yyhl3185 { + yyb3185 = yyj3185 > l } else { - yyb3159 = r.CheckBreak() + yyb3185 = r.CheckBreak() } - if yyb3159 { + if yyb3185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39203,26 +39502,26 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3164 := &x.Items - yym3165 := z.DecBinary() - _ = yym3165 + yyv3190 := &x.Items + yym3191 := z.DecBinary() + _ = yym3191 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv3164), d) + h.decSliceLimitRange((*[]LimitRange)(yyv3190), d) } } for { - yyj3159++ - if yyhl3159 { - yyb3159 = yyj3159 > l + yyj3185++ + if yyhl3185 { + yyb3185 = yyj3185 > l } else { - yyb3159 = r.CheckBreak() + yyb3185 = r.CheckBreak() } - if yyb3159 { + if yyb3185 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3159-1, "") + z.DecStructFieldNotFound(yyj3185-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39234,33 +39533,33 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3166 := z.EncBinary() - _ = yym3166 + yym3192 := z.EncBinary() + _ = yym3192 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3167 := !z.EncBinary() - yy2arr3167 := z.EncBasicHandle().StructToArray - var yyq3167 [1]bool - _, _, _ = yysep3167, yyq3167, yy2arr3167 - const yyr3167 bool = false - yyq3167[0] = len(x.Hard) != 0 - var yynn3167 int - if yyr3167 || yy2arr3167 { + yysep3193 := !z.EncBinary() + yy2arr3193 := z.EncBasicHandle().StructToArray + var yyq3193 [1]bool + _, _, _ = yysep3193, yyq3193, yy2arr3193 + const yyr3193 bool = false + yyq3193[0] = len(x.Hard) != 0 + var yynn3193 int + if yyr3193 || yy2arr3193 { r.EncodeArrayStart(1) } else { - yynn3167 = 0 - for _, b := range yyq3167 { + yynn3193 = 0 + for _, b := range yyq3193 { if b { - yynn3167++ + yynn3193++ } } - r.EncodeMapStart(yynn3167) - yynn3167 = 0 + r.EncodeMapStart(yynn3193) + yynn3193 = 0 } - if yyr3167 || yy2arr3167 { + if yyr3193 || yy2arr3193 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3167[0] { + if yyq3193[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -39270,7 +39569,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3167[0] { + if yyq3193[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39281,7 +39580,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3167 || yy2arr3167 { + if yyr3193 || yy2arr3193 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39294,25 +39593,25 @@ func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3169 := z.DecBinary() - _ = yym3169 + yym3195 := z.DecBinary() + _ = yym3195 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3170 := r.ContainerType() - if yyct3170 == codecSelferValueTypeMap1234 { - yyl3170 := r.ReadMapStart() - if yyl3170 == 0 { + yyct3196 := r.ContainerType() + if yyct3196 == codecSelferValueTypeMap1234 { + yyl3196 := r.ReadMapStart() + if yyl3196 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3170, d) + x.codecDecodeSelfFromMap(yyl3196, d) } - } else if yyct3170 == codecSelferValueTypeArray1234 { - yyl3170 := r.ReadArrayStart() - if yyl3170 == 0 { + } else if yyct3196 == codecSelferValueTypeArray1234 { + yyl3196 := r.ReadArrayStart() + if yyl3196 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3170, d) + x.codecDecodeSelfFromArray(yyl3196, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39324,12 +39623,12 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3171Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3171Slc - var yyhl3171 bool = l >= 0 - for yyj3171 := 0; ; yyj3171++ { - if yyhl3171 { - if yyj3171 >= l { + var yys3197Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3197Slc + var yyhl3197 bool = l >= 0 + for yyj3197 := 0; ; yyj3197++ { + if yyhl3197 { + if yyj3197 >= l { break } } else { @@ -39338,21 +39637,21 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3171Slc = r.DecodeBytes(yys3171Slc, true, true) - yys3171 := string(yys3171Slc) + yys3197Slc = r.DecodeBytes(yys3197Slc, true, true) + yys3197 := string(yys3197Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3171 { + switch yys3197 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3172 := &x.Hard - yyv3172.CodecDecodeSelf(d) + yyv3198 := &x.Hard + yyv3198.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3171) - } // end switch yys3171 - } // end for yyj3171 + z.DecStructFieldNotFound(-1, yys3197) + } // end switch yys3197 + } // end for yyj3197 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39360,16 +39659,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3173 int - var yyb3173 bool - var yyhl3173 bool = l >= 0 - yyj3173++ - if yyhl3173 { - yyb3173 = yyj3173 > l + var yyj3199 int + var yyb3199 bool + var yyhl3199 bool = l >= 0 + yyj3199++ + if yyhl3199 { + yyb3199 = yyj3199 > l } else { - yyb3173 = r.CheckBreak() + yyb3199 = r.CheckBreak() } - if yyb3173 { + if yyb3199 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39377,21 +39676,21 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3174 := &x.Hard - yyv3174.CodecDecodeSelf(d) + yyv3200 := &x.Hard + yyv3200.CodecDecodeSelf(d) } for { - yyj3173++ - if yyhl3173 { - yyb3173 = yyj3173 > l + yyj3199++ + if yyhl3199 { + yyb3199 = yyj3199 > l } else { - yyb3173 = r.CheckBreak() + yyb3199 = r.CheckBreak() } - if yyb3173 { + if yyb3199 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3173-1, "") + z.DecStructFieldNotFound(yyj3199-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39403,34 +39702,34 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3175 := z.EncBinary() - _ = yym3175 + yym3201 := z.EncBinary() + _ = yym3201 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3176 := !z.EncBinary() - yy2arr3176 := z.EncBasicHandle().StructToArray - var yyq3176 [2]bool - _, _, _ = yysep3176, yyq3176, yy2arr3176 - const yyr3176 bool = false - yyq3176[0] = len(x.Hard) != 0 - yyq3176[1] = len(x.Used) != 0 - var yynn3176 int - if yyr3176 || yy2arr3176 { + yysep3202 := !z.EncBinary() + yy2arr3202 := z.EncBasicHandle().StructToArray + var yyq3202 [2]bool + _, _, _ = yysep3202, yyq3202, yy2arr3202 + const yyr3202 bool = false + yyq3202[0] = len(x.Hard) != 0 + yyq3202[1] = len(x.Used) != 0 + var yynn3202 int + if yyr3202 || yy2arr3202 { r.EncodeArrayStart(2) } else { - yynn3176 = 0 - for _, b := range yyq3176 { + yynn3202 = 0 + for _, b := range yyq3202 { if b { - yynn3176++ + yynn3202++ } } - r.EncodeMapStart(yynn3176) - yynn3176 = 0 + r.EncodeMapStart(yynn3202) + yynn3202 = 0 } - if yyr3176 || yy2arr3176 { + if yyr3202 || yy2arr3202 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3176[0] { + if yyq3202[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -39440,7 +39739,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3176[0] { + if yyq3202[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39451,9 +39750,9 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3176 || yy2arr3176 { + if yyr3202 || yy2arr3202 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3176[1] { + if yyq3202[1] { if x.Used == nil { r.EncodeNil() } else { @@ -39463,7 +39762,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3176[1] { + if yyq3202[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("used")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39474,7 +39773,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3176 || yy2arr3176 { + if yyr3202 || yy2arr3202 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39487,25 +39786,25 @@ func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3179 := z.DecBinary() - _ = yym3179 + yym3205 := z.DecBinary() + _ = yym3205 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3180 := r.ContainerType() - if yyct3180 == codecSelferValueTypeMap1234 { - yyl3180 := r.ReadMapStart() - if yyl3180 == 0 { + yyct3206 := r.ContainerType() + if yyct3206 == codecSelferValueTypeMap1234 { + yyl3206 := r.ReadMapStart() + if yyl3206 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3180, d) + x.codecDecodeSelfFromMap(yyl3206, d) } - } else if yyct3180 == codecSelferValueTypeArray1234 { - yyl3180 := r.ReadArrayStart() - if yyl3180 == 0 { + } else if yyct3206 == codecSelferValueTypeArray1234 { + yyl3206 := r.ReadArrayStart() + if yyl3206 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3180, d) + x.codecDecodeSelfFromArray(yyl3206, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39517,12 +39816,12 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3181Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3181Slc - var yyhl3181 bool = l >= 0 - for yyj3181 := 0; ; yyj3181++ { - if yyhl3181 { - if yyj3181 >= l { + var yys3207Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3207Slc + var yyhl3207 bool = l >= 0 + for yyj3207 := 0; ; yyj3207++ { + if yyhl3207 { + if yyj3207 >= l { break } } else { @@ -39531,28 +39830,28 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3181Slc = r.DecodeBytes(yys3181Slc, true, true) - yys3181 := string(yys3181Slc) + yys3207Slc = r.DecodeBytes(yys3207Slc, true, true) + yys3207 := string(yys3207Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3181 { + switch yys3207 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3182 := &x.Hard - yyv3182.CodecDecodeSelf(d) + yyv3208 := &x.Hard + yyv3208.CodecDecodeSelf(d) } case "used": if r.TryDecodeAsNil() { x.Used = nil } else { - yyv3183 := &x.Used - yyv3183.CodecDecodeSelf(d) + yyv3209 := &x.Used + yyv3209.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3181) - } // end switch yys3181 - } // end for yyj3181 + z.DecStructFieldNotFound(-1, yys3207) + } // end switch yys3207 + } // end for yyj3207 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39560,16 +39859,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3184 int - var yyb3184 bool - var yyhl3184 bool = l >= 0 - yyj3184++ - if yyhl3184 { - yyb3184 = yyj3184 > l + var yyj3210 int + var yyb3210 bool + var yyhl3210 bool = l >= 0 + yyj3210++ + if yyhl3210 { + yyb3210 = yyj3210 > l } else { - yyb3184 = r.CheckBreak() + yyb3210 = r.CheckBreak() } - if yyb3184 { + if yyb3210 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39577,16 +39876,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3185 := &x.Hard - yyv3185.CodecDecodeSelf(d) + yyv3211 := &x.Hard + yyv3211.CodecDecodeSelf(d) } - yyj3184++ - if yyhl3184 { - yyb3184 = yyj3184 > l + yyj3210++ + if yyhl3210 { + yyb3210 = yyj3210 > l } else { - yyb3184 = r.CheckBreak() + yyb3210 = r.CheckBreak() } - if yyb3184 { + if yyb3210 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39594,21 +39893,21 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Used = nil } else { - yyv3186 := &x.Used - yyv3186.CodecDecodeSelf(d) + yyv3212 := &x.Used + yyv3212.CodecDecodeSelf(d) } for { - yyj3184++ - if yyhl3184 { - yyb3184 = yyj3184 > l + yyj3210++ + if yyhl3210 { + yyb3210 = yyj3210 > l } else { - yyb3184 = r.CheckBreak() + yyb3210 = r.CheckBreak() } - if yyb3184 { + if yyb3210 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3184-1, "") + z.DecStructFieldNotFound(yyj3210-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39620,39 +39919,39 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3187 := z.EncBinary() - _ = yym3187 + yym3213 := z.EncBinary() + _ = yym3213 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3188 := !z.EncBinary() - yy2arr3188 := z.EncBasicHandle().StructToArray - var yyq3188 [5]bool - _, _, _ = yysep3188, yyq3188, yy2arr3188 - const yyr3188 bool = false - yyq3188[0] = x.Kind != "" - yyq3188[1] = x.APIVersion != "" - yyq3188[2] = true - yyq3188[3] = true - yyq3188[4] = true - var yynn3188 int - if yyr3188 || yy2arr3188 { + yysep3214 := !z.EncBinary() + yy2arr3214 := z.EncBasicHandle().StructToArray + var yyq3214 [5]bool + _, _, _ = yysep3214, yyq3214, yy2arr3214 + const yyr3214 bool = false + yyq3214[0] = x.Kind != "" + yyq3214[1] = x.APIVersion != "" + yyq3214[2] = true + yyq3214[3] = true + yyq3214[4] = true + var yynn3214 int + if yyr3214 || yy2arr3214 { r.EncodeArrayStart(5) } else { - yynn3188 = 0 - for _, b := range yyq3188 { + yynn3214 = 0 + for _, b := range yyq3214 { if b { - yynn3188++ + yynn3214++ } } - r.EncodeMapStart(yynn3188) - yynn3188 = 0 + r.EncodeMapStart(yynn3214) + yynn3214 = 0 } - if yyr3188 || yy2arr3188 { + if yyr3214 || yy2arr3214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3188[0] { - yym3190 := z.EncBinary() - _ = yym3190 + if yyq3214[0] { + yym3216 := z.EncBinary() + _ = yym3216 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -39661,23 +39960,23 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3188[0] { + if yyq3214[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3191 := z.EncBinary() - _ = yym3191 + yym3217 := z.EncBinary() + _ = yym3217 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3188 || yy2arr3188 { + if yyr3214 || yy2arr3214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3188[1] { - yym3193 := z.EncBinary() - _ = yym3193 + if yyq3214[1] { + yym3219 := z.EncBinary() + _ = yym3219 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -39686,70 +39985,70 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3188[1] { + if yyq3214[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3194 := z.EncBinary() - _ = yym3194 + yym3220 := z.EncBinary() + _ = yym3220 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3188 || yy2arr3188 { + if yyr3214 || yy2arr3214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3188[2] { - yy3196 := &x.ObjectMeta - yy3196.CodecEncodeSelf(e) + if yyq3214[2] { + yy3222 := &x.ObjectMeta + yy3222.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3188[2] { + if yyq3214[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3197 := &x.ObjectMeta - yy3197.CodecEncodeSelf(e) + yy3223 := &x.ObjectMeta + yy3223.CodecEncodeSelf(e) } } - if yyr3188 || yy2arr3188 { + if yyr3214 || yy2arr3214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3188[3] { - yy3199 := &x.Spec - yy3199.CodecEncodeSelf(e) + if yyq3214[3] { + yy3225 := &x.Spec + yy3225.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3188[3] { + if yyq3214[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3200 := &x.Spec - yy3200.CodecEncodeSelf(e) + yy3226 := &x.Spec + yy3226.CodecEncodeSelf(e) } } - if yyr3188 || yy2arr3188 { + if yyr3214 || yy2arr3214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3188[4] { - yy3202 := &x.Status - yy3202.CodecEncodeSelf(e) + if yyq3214[4] { + yy3228 := &x.Status + yy3228.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3188[4] { + if yyq3214[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3203 := &x.Status - yy3203.CodecEncodeSelf(e) + yy3229 := &x.Status + yy3229.CodecEncodeSelf(e) } } - if yyr3188 || yy2arr3188 { + if yyr3214 || yy2arr3214 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39762,25 +40061,25 @@ func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3204 := z.DecBinary() - _ = yym3204 + yym3230 := z.DecBinary() + _ = yym3230 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3205 := r.ContainerType() - if yyct3205 == codecSelferValueTypeMap1234 { - yyl3205 := r.ReadMapStart() - if yyl3205 == 0 { + yyct3231 := r.ContainerType() + if yyct3231 == codecSelferValueTypeMap1234 { + yyl3231 := r.ReadMapStart() + if yyl3231 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3205, d) + x.codecDecodeSelfFromMap(yyl3231, d) } - } else if yyct3205 == codecSelferValueTypeArray1234 { - yyl3205 := r.ReadArrayStart() - if yyl3205 == 0 { + } else if yyct3231 == codecSelferValueTypeArray1234 { + yyl3231 := r.ReadArrayStart() + if yyl3231 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3205, d) + x.codecDecodeSelfFromArray(yyl3231, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39792,12 +40091,12 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3206Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3206Slc - var yyhl3206 bool = l >= 0 - for yyj3206 := 0; ; yyj3206++ { - if yyhl3206 { - if yyj3206 >= l { + var yys3232Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3232Slc + var yyhl3232 bool = l >= 0 + for yyj3232 := 0; ; yyj3232++ { + if yyhl3232 { + if yyj3232 >= l { break } } else { @@ -39806,10 +40105,10 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3206Slc = r.DecodeBytes(yys3206Slc, true, true) - yys3206 := string(yys3206Slc) + yys3232Slc = r.DecodeBytes(yys3232Slc, true, true) + yys3232 := string(yys3232Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3206 { + switch yys3232 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -39826,27 +40125,27 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3209 := &x.ObjectMeta - yyv3209.CodecDecodeSelf(d) + yyv3235 := &x.ObjectMeta + yyv3235.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv3210 := &x.Spec - yyv3210.CodecDecodeSelf(d) + yyv3236 := &x.Spec + yyv3236.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv3211 := &x.Status - yyv3211.CodecDecodeSelf(d) + yyv3237 := &x.Status + yyv3237.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3206) - } // end switch yys3206 - } // end for yyj3206 + z.DecStructFieldNotFound(-1, yys3232) + } // end switch yys3232 + } // end for yyj3232 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39854,16 +40153,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3212 int - var yyb3212 bool - var yyhl3212 bool = l >= 0 - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l + var yyj3238 int + var yyb3238 bool + var yyhl3238 bool = l >= 0 + yyj3238++ + if yyhl3238 { + yyb3238 = yyj3238 > l } else { - yyb3212 = r.CheckBreak() + yyb3238 = r.CheckBreak() } - if yyb3212 { + if yyb3238 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39873,13 +40172,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l + yyj3238++ + if yyhl3238 { + yyb3238 = yyj3238 > l } else { - yyb3212 = r.CheckBreak() + yyb3238 = r.CheckBreak() } - if yyb3212 { + if yyb3238 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39889,13 +40188,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l + yyj3238++ + if yyhl3238 { + yyb3238 = yyj3238 > l } else { - yyb3212 = r.CheckBreak() + yyb3238 = r.CheckBreak() } - if yyb3212 { + if yyb3238 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39903,16 +40202,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3215 := &x.ObjectMeta - yyv3215.CodecDecodeSelf(d) + yyv3241 := &x.ObjectMeta + yyv3241.CodecDecodeSelf(d) } - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l + yyj3238++ + if yyhl3238 { + yyb3238 = yyj3238 > l } else { - yyb3212 = r.CheckBreak() + yyb3238 = r.CheckBreak() } - if yyb3212 { + if yyb3238 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39920,16 +40219,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv3216 := &x.Spec - yyv3216.CodecDecodeSelf(d) + yyv3242 := &x.Spec + yyv3242.CodecDecodeSelf(d) } - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l + yyj3238++ + if yyhl3238 { + yyb3238 = yyj3238 > l } else { - yyb3212 = r.CheckBreak() + yyb3238 = r.CheckBreak() } - if yyb3212 { + if yyb3238 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39937,21 +40236,21 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv3217 := &x.Status - yyv3217.CodecDecodeSelf(d) + yyv3243 := &x.Status + yyv3243.CodecDecodeSelf(d) } for { - yyj3212++ - if yyhl3212 { - yyb3212 = yyj3212 > l + yyj3238++ + if yyhl3238 { + yyb3238 = yyj3238 > l } else { - yyb3212 = r.CheckBreak() + yyb3238 = r.CheckBreak() } - if yyb3212 { + if yyb3238 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3212-1, "") + z.DecStructFieldNotFound(yyj3238-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39963,37 +40262,37 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3218 := z.EncBinary() - _ = yym3218 + yym3244 := z.EncBinary() + _ = yym3244 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3219 := !z.EncBinary() - yy2arr3219 := z.EncBasicHandle().StructToArray - var yyq3219 [4]bool - _, _, _ = yysep3219, yyq3219, yy2arr3219 - const yyr3219 bool = false - yyq3219[0] = x.Kind != "" - yyq3219[1] = x.APIVersion != "" - yyq3219[2] = true - var yynn3219 int - if yyr3219 || yy2arr3219 { + yysep3245 := !z.EncBinary() + yy2arr3245 := z.EncBasicHandle().StructToArray + var yyq3245 [4]bool + _, _, _ = yysep3245, yyq3245, yy2arr3245 + const yyr3245 bool = false + yyq3245[0] = x.Kind != "" + yyq3245[1] = x.APIVersion != "" + yyq3245[2] = true + var yynn3245 int + if yyr3245 || yy2arr3245 { r.EncodeArrayStart(4) } else { - yynn3219 = 1 - for _, b := range yyq3219 { + yynn3245 = 1 + for _, b := range yyq3245 { if b { - yynn3219++ + yynn3245++ } } - r.EncodeMapStart(yynn3219) - yynn3219 = 0 + r.EncodeMapStart(yynn3245) + yynn3245 = 0 } - if yyr3219 || yy2arr3219 { + if yyr3245 || yy2arr3245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3219[0] { - yym3221 := z.EncBinary() - _ = yym3221 + if yyq3245[0] { + yym3247 := z.EncBinary() + _ = yym3247 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40002,23 +40301,23 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3219[0] { + if yyq3245[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3222 := z.EncBinary() - _ = yym3222 + yym3248 := z.EncBinary() + _ = yym3248 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3219 || yy2arr3219 { + if yyr3245 || yy2arr3245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3219[1] { - yym3224 := z.EncBinary() - _ = yym3224 + if yyq3245[1] { + yym3250 := z.EncBinary() + _ = yym3250 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40027,54 +40326,54 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3219[1] { + if yyq3245[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3225 := z.EncBinary() - _ = yym3225 + yym3251 := z.EncBinary() + _ = yym3251 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3219 || yy2arr3219 { + if yyr3245 || yy2arr3245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3219[2] { - yy3227 := &x.ListMeta - yym3228 := z.EncBinary() - _ = yym3228 + if yyq3245[2] { + yy3253 := &x.ListMeta + yym3254 := z.EncBinary() + _ = yym3254 if false { - } else if z.HasExtensions() && z.EncExt(yy3227) { + } else if z.HasExtensions() && z.EncExt(yy3253) { } else { - z.EncFallback(yy3227) + z.EncFallback(yy3253) } } else { r.EncodeNil() } } else { - if yyq3219[2] { + if yyq3245[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3229 := &x.ListMeta - yym3230 := z.EncBinary() - _ = yym3230 + yy3255 := &x.ListMeta + yym3256 := z.EncBinary() + _ = yym3256 if false { - } else if z.HasExtensions() && z.EncExt(yy3229) { + } else if z.HasExtensions() && z.EncExt(yy3255) { } else { - z.EncFallback(yy3229) + z.EncFallback(yy3255) } } } - if yyr3219 || yy2arr3219 { + if yyr3245 || yy2arr3245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3232 := z.EncBinary() - _ = yym3232 + yym3258 := z.EncBinary() + _ = yym3258 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) @@ -40087,15 +40386,15 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3233 := z.EncBinary() - _ = yym3233 + yym3259 := z.EncBinary() + _ = yym3259 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) } } } - if yyr3219 || yy2arr3219 { + if yyr3245 || yy2arr3245 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40108,25 +40407,25 @@ func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3234 := z.DecBinary() - _ = yym3234 + yym3260 := z.DecBinary() + _ = yym3260 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3235 := r.ContainerType() - if yyct3235 == codecSelferValueTypeMap1234 { - yyl3235 := r.ReadMapStart() - if yyl3235 == 0 { + yyct3261 := r.ContainerType() + if yyct3261 == codecSelferValueTypeMap1234 { + yyl3261 := r.ReadMapStart() + if yyl3261 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3235, d) + x.codecDecodeSelfFromMap(yyl3261, d) } - } else if yyct3235 == codecSelferValueTypeArray1234 { - yyl3235 := r.ReadArrayStart() - if yyl3235 == 0 { + } else if yyct3261 == codecSelferValueTypeArray1234 { + yyl3261 := r.ReadArrayStart() + if yyl3261 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3235, d) + x.codecDecodeSelfFromArray(yyl3261, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40138,12 +40437,12 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3236Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3236Slc - var yyhl3236 bool = l >= 0 - for yyj3236 := 0; ; yyj3236++ { - if yyhl3236 { - if yyj3236 >= l { + var yys3262Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3262Slc + var yyhl3262 bool = l >= 0 + for yyj3262 := 0; ; yyj3262++ { + if yyhl3262 { + if yyj3262 >= l { break } } else { @@ -40152,10 +40451,10 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3236Slc = r.DecodeBytes(yys3236Slc, true, true) - yys3236 := string(yys3236Slc) + yys3262Slc = r.DecodeBytes(yys3262Slc, true, true) + yys3262 := string(yys3262Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3236 { + switch yys3262 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -40172,31 +40471,31 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3239 := &x.ListMeta - yym3240 := z.DecBinary() - _ = yym3240 + yyv3265 := &x.ListMeta + yym3266 := z.DecBinary() + _ = yym3266 if false { - } else if z.HasExtensions() && z.DecExt(yyv3239) { + } else if z.HasExtensions() && z.DecExt(yyv3265) { } else { - z.DecFallback(yyv3239, false) + z.DecFallback(yyv3265, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3241 := &x.Items - yym3242 := z.DecBinary() - _ = yym3242 + yyv3267 := &x.Items + yym3268 := z.DecBinary() + _ = yym3268 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv3241), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3267), d) } } default: - z.DecStructFieldNotFound(-1, yys3236) - } // end switch yys3236 - } // end for yyj3236 + z.DecStructFieldNotFound(-1, yys3262) + } // end switch yys3262 + } // end for yyj3262 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40204,16 +40503,16 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3243 int - var yyb3243 bool - var yyhl3243 bool = l >= 0 - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + var yyj3269 int + var yyb3269 bool + var yyhl3269 bool = l >= 0 + yyj3269++ + if yyhl3269 { + yyb3269 = yyj3269 > l } else { - yyb3243 = r.CheckBreak() + yyb3269 = r.CheckBreak() } - if yyb3243 { + if yyb3269 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40223,13 +40522,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + yyj3269++ + if yyhl3269 { + yyb3269 = yyj3269 > l } else { - yyb3243 = r.CheckBreak() + yyb3269 = r.CheckBreak() } - if yyb3243 { + if yyb3269 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40239,13 +40538,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + yyj3269++ + if yyhl3269 { + yyb3269 = yyj3269 > l } else { - yyb3243 = r.CheckBreak() + yyb3269 = r.CheckBreak() } - if yyb3243 { + if yyb3269 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40253,22 +40552,22 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3246 := &x.ListMeta - yym3247 := z.DecBinary() - _ = yym3247 + yyv3272 := &x.ListMeta + yym3273 := z.DecBinary() + _ = yym3273 if false { - } else if z.HasExtensions() && z.DecExt(yyv3246) { + } else if z.HasExtensions() && z.DecExt(yyv3272) { } else { - z.DecFallback(yyv3246, false) + z.DecFallback(yyv3272, false) } } - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + yyj3269++ + if yyhl3269 { + yyb3269 = yyj3269 > l } else { - yyb3243 = r.CheckBreak() + yyb3269 = r.CheckBreak() } - if yyb3243 { + if yyb3269 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40276,26 +40575,26 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3248 := &x.Items - yym3249 := z.DecBinary() - _ = yym3249 + yyv3274 := &x.Items + yym3275 := z.DecBinary() + _ = yym3275 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv3248), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3274), d) } } for { - yyj3243++ - if yyhl3243 { - yyb3243 = yyj3243 > l + yyj3269++ + if yyhl3269 { + yyb3269 = yyj3269 > l } else { - yyb3243 = r.CheckBreak() + yyb3269 = r.CheckBreak() } - if yyb3243 { + if yyb3269 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3243-1, "") + z.DecStructFieldNotFound(yyj3269-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40307,39 +40606,39 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3250 := z.EncBinary() - _ = yym3250 + yym3276 := z.EncBinary() + _ = yym3276 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3251 := !z.EncBinary() - yy2arr3251 := z.EncBasicHandle().StructToArray - var yyq3251 [5]bool - _, _, _ = yysep3251, yyq3251, yy2arr3251 - const yyr3251 bool = false - yyq3251[0] = x.Kind != "" - yyq3251[1] = x.APIVersion != "" - yyq3251[2] = true - yyq3251[3] = len(x.Data) != 0 - yyq3251[4] = x.Type != "" - var yynn3251 int - if yyr3251 || yy2arr3251 { + yysep3277 := !z.EncBinary() + yy2arr3277 := z.EncBasicHandle().StructToArray + var yyq3277 [5]bool + _, _, _ = yysep3277, yyq3277, yy2arr3277 + const yyr3277 bool = false + yyq3277[0] = x.Kind != "" + yyq3277[1] = x.APIVersion != "" + yyq3277[2] = true + yyq3277[3] = len(x.Data) != 0 + yyq3277[4] = x.Type != "" + var yynn3277 int + if yyr3277 || yy2arr3277 { r.EncodeArrayStart(5) } else { - yynn3251 = 0 - for _, b := range yyq3251 { + yynn3277 = 0 + for _, b := range yyq3277 { if b { - yynn3251++ + yynn3277++ } } - r.EncodeMapStart(yynn3251) - yynn3251 = 0 + r.EncodeMapStart(yynn3277) + yynn3277 = 0 } - if yyr3251 || yy2arr3251 { + if yyr3277 || yy2arr3277 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3251[0] { - yym3253 := z.EncBinary() - _ = yym3253 + if yyq3277[0] { + yym3279 := z.EncBinary() + _ = yym3279 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40348,23 +40647,23 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3251[0] { + if yyq3277[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3254 := z.EncBinary() - _ = yym3254 + yym3280 := z.EncBinary() + _ = yym3280 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3251 || yy2arr3251 { + if yyr3277 || yy2arr3277 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3251[1] { - yym3256 := z.EncBinary() - _ = yym3256 + if yyq3277[1] { + yym3282 := z.EncBinary() + _ = yym3282 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40373,43 +40672,43 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3251[1] { + if yyq3277[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3257 := z.EncBinary() - _ = yym3257 + yym3283 := z.EncBinary() + _ = yym3283 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3251 || yy2arr3251 { + if yyr3277 || yy2arr3277 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3251[2] { - yy3259 := &x.ObjectMeta - yy3259.CodecEncodeSelf(e) + if yyq3277[2] { + yy3285 := &x.ObjectMeta + yy3285.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3251[2] { + if yyq3277[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3260 := &x.ObjectMeta - yy3260.CodecEncodeSelf(e) + yy3286 := &x.ObjectMeta + yy3286.CodecEncodeSelf(e) } } - if yyr3251 || yy2arr3251 { + if yyr3277 || yy2arr3277 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3251[3] { + if yyq3277[3] { if x.Data == nil { r.EncodeNil() } else { - yym3262 := z.EncBinary() - _ = yym3262 + yym3288 := z.EncBinary() + _ = yym3288 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -40419,15 +40718,15 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3251[3] { + if yyq3277[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym3263 := z.EncBinary() - _ = yym3263 + yym3289 := z.EncBinary() + _ = yym3289 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -40435,22 +40734,22 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3251 || yy2arr3251 { + if yyr3277 || yy2arr3277 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3251[4] { + if yyq3277[4] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3251[4] { + if yyq3277[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr3251 || yy2arr3251 { + if yyr3277 || yy2arr3277 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40463,25 +40762,25 @@ func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3265 := z.DecBinary() - _ = yym3265 + yym3291 := z.DecBinary() + _ = yym3291 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3266 := r.ContainerType() - if yyct3266 == codecSelferValueTypeMap1234 { - yyl3266 := r.ReadMapStart() - if yyl3266 == 0 { + yyct3292 := r.ContainerType() + if yyct3292 == codecSelferValueTypeMap1234 { + yyl3292 := r.ReadMapStart() + if yyl3292 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3266, d) + x.codecDecodeSelfFromMap(yyl3292, d) } - } else if yyct3266 == codecSelferValueTypeArray1234 { - yyl3266 := r.ReadArrayStart() - if yyl3266 == 0 { + } else if yyct3292 == codecSelferValueTypeArray1234 { + yyl3292 := r.ReadArrayStart() + if yyl3292 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3266, d) + x.codecDecodeSelfFromArray(yyl3292, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40493,12 +40792,12 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3267Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3267Slc - var yyhl3267 bool = l >= 0 - for yyj3267 := 0; ; yyj3267++ { - if yyhl3267 { - if yyj3267 >= l { + var yys3293Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3293Slc + var yyhl3293 bool = l >= 0 + for yyj3293 := 0; ; yyj3293++ { + if yyhl3293 { + if yyj3293 >= l { break } } else { @@ -40507,10 +40806,10 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3267Slc = r.DecodeBytes(yys3267Slc, true, true) - yys3267 := string(yys3267Slc) + yys3293Slc = r.DecodeBytes(yys3293Slc, true, true) + yys3293 := string(yys3293Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3267 { + switch yys3293 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -40527,19 +40826,19 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3270 := &x.ObjectMeta - yyv3270.CodecDecodeSelf(d) + yyv3296 := &x.ObjectMeta + yyv3296.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3271 := &x.Data - yym3272 := z.DecBinary() - _ = yym3272 + yyv3297 := &x.Data + yym3298 := z.DecBinary() + _ = yym3298 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv3271), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv3297), d) } } case "type": @@ -40549,9 +40848,9 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Type = SecretType(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3267) - } // end switch yys3267 - } // end for yyj3267 + z.DecStructFieldNotFound(-1, yys3293) + } // end switch yys3293 + } // end for yyj3293 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40559,16 +40858,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3274 int - var yyb3274 bool - var yyhl3274 bool = l >= 0 - yyj3274++ - if yyhl3274 { - yyb3274 = yyj3274 > l + var yyj3300 int + var yyb3300 bool + var yyhl3300 bool = l >= 0 + yyj3300++ + if yyhl3300 { + yyb3300 = yyj3300 > l } else { - yyb3274 = r.CheckBreak() + yyb3300 = r.CheckBreak() } - if yyb3274 { + if yyb3300 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40578,13 +40877,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3274++ - if yyhl3274 { - yyb3274 = yyj3274 > l + yyj3300++ + if yyhl3300 { + yyb3300 = yyj3300 > l } else { - yyb3274 = r.CheckBreak() + yyb3300 = r.CheckBreak() } - if yyb3274 { + if yyb3300 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40594,13 +40893,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3274++ - if yyhl3274 { - yyb3274 = yyj3274 > l + yyj3300++ + if yyhl3300 { + yyb3300 = yyj3300 > l } else { - yyb3274 = r.CheckBreak() + yyb3300 = r.CheckBreak() } - if yyb3274 { + if yyb3300 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40608,16 +40907,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3277 := &x.ObjectMeta - yyv3277.CodecDecodeSelf(d) + yyv3303 := &x.ObjectMeta + yyv3303.CodecDecodeSelf(d) } - yyj3274++ - if yyhl3274 { - yyb3274 = yyj3274 > l + yyj3300++ + if yyhl3300 { + yyb3300 = yyj3300 > l } else { - yyb3274 = r.CheckBreak() + yyb3300 = r.CheckBreak() } - if yyb3274 { + if yyb3300 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40625,21 +40924,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3278 := &x.Data - yym3279 := z.DecBinary() - _ = yym3279 + yyv3304 := &x.Data + yym3305 := z.DecBinary() + _ = yym3305 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv3278), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv3304), d) } } - yyj3274++ - if yyhl3274 { - yyb3274 = yyj3274 > l + yyj3300++ + if yyhl3300 { + yyb3300 = yyj3300 > l } else { - yyb3274 = r.CheckBreak() + yyb3300 = r.CheckBreak() } - if yyb3274 { + if yyb3300 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40650,17 +40949,17 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = SecretType(r.DecodeString()) } for { - yyj3274++ - if yyhl3274 { - yyb3274 = yyj3274 > l + yyj3300++ + if yyhl3300 { + yyb3300 = yyj3300 > l } else { - yyb3274 = r.CheckBreak() + yyb3300 = r.CheckBreak() } - if yyb3274 { + if yyb3300 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3274-1, "") + z.DecStructFieldNotFound(yyj3300-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40669,8 +40968,8 @@ func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3281 := z.EncBinary() - _ = yym3281 + yym3307 := z.EncBinary() + _ = yym3307 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -40682,8 +40981,8 @@ func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3282 := z.DecBinary() - _ = yym3282 + yym3308 := z.DecBinary() + _ = yym3308 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -40698,37 +40997,37 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3283 := z.EncBinary() - _ = yym3283 + yym3309 := z.EncBinary() + _ = yym3309 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3284 := !z.EncBinary() - yy2arr3284 := z.EncBasicHandle().StructToArray - var yyq3284 [4]bool - _, _, _ = yysep3284, yyq3284, yy2arr3284 - const yyr3284 bool = false - yyq3284[0] = x.Kind != "" - yyq3284[1] = x.APIVersion != "" - yyq3284[2] = true - var yynn3284 int - if yyr3284 || yy2arr3284 { + yysep3310 := !z.EncBinary() + yy2arr3310 := z.EncBasicHandle().StructToArray + var yyq3310 [4]bool + _, _, _ = yysep3310, yyq3310, yy2arr3310 + const yyr3310 bool = false + yyq3310[0] = x.Kind != "" + yyq3310[1] = x.APIVersion != "" + yyq3310[2] = true + var yynn3310 int + if yyr3310 || yy2arr3310 { r.EncodeArrayStart(4) } else { - yynn3284 = 1 - for _, b := range yyq3284 { + yynn3310 = 1 + for _, b := range yyq3310 { if b { - yynn3284++ + yynn3310++ } } - r.EncodeMapStart(yynn3284) - yynn3284 = 0 + r.EncodeMapStart(yynn3310) + yynn3310 = 0 } - if yyr3284 || yy2arr3284 { + if yyr3310 || yy2arr3310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3284[0] { - yym3286 := z.EncBinary() - _ = yym3286 + if yyq3310[0] { + yym3312 := z.EncBinary() + _ = yym3312 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40737,23 +41036,23 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3284[0] { + if yyq3310[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3287 := z.EncBinary() - _ = yym3287 + yym3313 := z.EncBinary() + _ = yym3313 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3284 || yy2arr3284 { + if yyr3310 || yy2arr3310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3284[1] { - yym3289 := z.EncBinary() - _ = yym3289 + if yyq3310[1] { + yym3315 := z.EncBinary() + _ = yym3315 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40762,54 +41061,54 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3284[1] { + if yyq3310[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3290 := z.EncBinary() - _ = yym3290 + yym3316 := z.EncBinary() + _ = yym3316 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3284 || yy2arr3284 { + if yyr3310 || yy2arr3310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3284[2] { - yy3292 := &x.ListMeta - yym3293 := z.EncBinary() - _ = yym3293 + if yyq3310[2] { + yy3318 := &x.ListMeta + yym3319 := z.EncBinary() + _ = yym3319 if false { - } else if z.HasExtensions() && z.EncExt(yy3292) { + } else if z.HasExtensions() && z.EncExt(yy3318) { } else { - z.EncFallback(yy3292) + z.EncFallback(yy3318) } } else { r.EncodeNil() } } else { - if yyq3284[2] { + if yyq3310[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3294 := &x.ListMeta - yym3295 := z.EncBinary() - _ = yym3295 + yy3320 := &x.ListMeta + yym3321 := z.EncBinary() + _ = yym3321 if false { - } else if z.HasExtensions() && z.EncExt(yy3294) { + } else if z.HasExtensions() && z.EncExt(yy3320) { } else { - z.EncFallback(yy3294) + z.EncFallback(yy3320) } } } - if yyr3284 || yy2arr3284 { + if yyr3310 || yy2arr3310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3297 := z.EncBinary() - _ = yym3297 + yym3323 := z.EncBinary() + _ = yym3323 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) @@ -40822,15 +41121,15 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3298 := z.EncBinary() - _ = yym3298 + yym3324 := z.EncBinary() + _ = yym3324 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) } } } - if yyr3284 || yy2arr3284 { + if yyr3310 || yy2arr3310 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40843,25 +41142,25 @@ func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3299 := z.DecBinary() - _ = yym3299 + yym3325 := z.DecBinary() + _ = yym3325 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3300 := r.ContainerType() - if yyct3300 == codecSelferValueTypeMap1234 { - yyl3300 := r.ReadMapStart() - if yyl3300 == 0 { + yyct3326 := r.ContainerType() + if yyct3326 == codecSelferValueTypeMap1234 { + yyl3326 := r.ReadMapStart() + if yyl3326 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3300, d) + x.codecDecodeSelfFromMap(yyl3326, d) } - } else if yyct3300 == codecSelferValueTypeArray1234 { - yyl3300 := r.ReadArrayStart() - if yyl3300 == 0 { + } else if yyct3326 == codecSelferValueTypeArray1234 { + yyl3326 := r.ReadArrayStart() + if yyl3326 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3300, d) + x.codecDecodeSelfFromArray(yyl3326, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40873,12 +41172,12 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3301Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3301Slc - var yyhl3301 bool = l >= 0 - for yyj3301 := 0; ; yyj3301++ { - if yyhl3301 { - if yyj3301 >= l { + var yys3327Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3327Slc + var yyhl3327 bool = l >= 0 + for yyj3327 := 0; ; yyj3327++ { + if yyhl3327 { + if yyj3327 >= l { break } } else { @@ -40887,10 +41186,10 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3301Slc = r.DecodeBytes(yys3301Slc, true, true) - yys3301 := string(yys3301Slc) + yys3327Slc = r.DecodeBytes(yys3327Slc, true, true) + yys3327 := string(yys3327Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3301 { + switch yys3327 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -40907,31 +41206,31 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3304 := &x.ListMeta - yym3305 := z.DecBinary() - _ = yym3305 + yyv3330 := &x.ListMeta + yym3331 := z.DecBinary() + _ = yym3331 if false { - } else if z.HasExtensions() && z.DecExt(yyv3304) { + } else if z.HasExtensions() && z.DecExt(yyv3330) { } else { - z.DecFallback(yyv3304, false) + z.DecFallback(yyv3330, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3306 := &x.Items - yym3307 := z.DecBinary() - _ = yym3307 + yyv3332 := &x.Items + yym3333 := z.DecBinary() + _ = yym3333 if false { } else { - h.decSliceSecret((*[]Secret)(yyv3306), d) + h.decSliceSecret((*[]Secret)(yyv3332), d) } } default: - z.DecStructFieldNotFound(-1, yys3301) - } // end switch yys3301 - } // end for yyj3301 + z.DecStructFieldNotFound(-1, yys3327) + } // end switch yys3327 + } // end for yyj3327 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40939,16 +41238,16 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3308 int - var yyb3308 bool - var yyhl3308 bool = l >= 0 - yyj3308++ - if yyhl3308 { - yyb3308 = yyj3308 > l + var yyj3334 int + var yyb3334 bool + var yyhl3334 bool = l >= 0 + yyj3334++ + if yyhl3334 { + yyb3334 = yyj3334 > l } else { - yyb3308 = r.CheckBreak() + yyb3334 = r.CheckBreak() } - if yyb3308 { + if yyb3334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40958,13 +41257,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3308++ - if yyhl3308 { - yyb3308 = yyj3308 > l + yyj3334++ + if yyhl3334 { + yyb3334 = yyj3334 > l } else { - yyb3308 = r.CheckBreak() + yyb3334 = r.CheckBreak() } - if yyb3308 { + if yyb3334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40974,13 +41273,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3308++ - if yyhl3308 { - yyb3308 = yyj3308 > l + yyj3334++ + if yyhl3334 { + yyb3334 = yyj3334 > l } else { - yyb3308 = r.CheckBreak() + yyb3334 = r.CheckBreak() } - if yyb3308 { + if yyb3334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40988,22 +41287,22 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3311 := &x.ListMeta - yym3312 := z.DecBinary() - _ = yym3312 + yyv3337 := &x.ListMeta + yym3338 := z.DecBinary() + _ = yym3338 if false { - } else if z.HasExtensions() && z.DecExt(yyv3311) { + } else if z.HasExtensions() && z.DecExt(yyv3337) { } else { - z.DecFallback(yyv3311, false) + z.DecFallback(yyv3337, false) } } - yyj3308++ - if yyhl3308 { - yyb3308 = yyj3308 > l + yyj3334++ + if yyhl3334 { + yyb3334 = yyj3334 > l } else { - yyb3308 = r.CheckBreak() + yyb3334 = r.CheckBreak() } - if yyb3308 { + if yyb3334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41011,26 +41310,26 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3313 := &x.Items - yym3314 := z.DecBinary() - _ = yym3314 + yyv3339 := &x.Items + yym3340 := z.DecBinary() + _ = yym3340 if false { } else { - h.decSliceSecret((*[]Secret)(yyv3313), d) + h.decSliceSecret((*[]Secret)(yyv3339), d) } } for { - yyj3308++ - if yyhl3308 { - yyb3308 = yyj3308 > l + yyj3334++ + if yyhl3334 { + yyb3334 = yyj3334 > l } else { - yyb3308 = r.CheckBreak() + yyb3334 = r.CheckBreak() } - if yyb3308 { + if yyb3334 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3308-1, "") + z.DecStructFieldNotFound(yyj3334-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41039,8 +41338,8 @@ func (x PatchType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3315 := z.EncBinary() - _ = yym3315 + yym3341 := z.EncBinary() + _ = yym3341 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41052,8 +41351,8 @@ func (x *PatchType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3316 := z.DecBinary() - _ = yym3316 + yym3342 := z.DecBinary() + _ = yym3342 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41065,8 +41364,8 @@ func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3317 := z.EncBinary() - _ = yym3317 + yym3343 := z.EncBinary() + _ = yym3343 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41078,8 +41377,8 @@ func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3318 := z.DecBinary() - _ = yym3318 + yym3344 := z.DecBinary() + _ = yym3344 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41094,32 +41393,32 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3319 := z.EncBinary() - _ = yym3319 + yym3345 := z.EncBinary() + _ = yym3345 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3320 := !z.EncBinary() - yy2arr3320 := z.EncBasicHandle().StructToArray - var yyq3320 [4]bool - _, _, _ = yysep3320, yyq3320, yy2arr3320 - const yyr3320 bool = false - yyq3320[2] = x.Message != "" - yyq3320[3] = x.Error != "" - var yynn3320 int - if yyr3320 || yy2arr3320 { + yysep3346 := !z.EncBinary() + yy2arr3346 := z.EncBasicHandle().StructToArray + var yyq3346 [4]bool + _, _, _ = yysep3346, yyq3346, yy2arr3346 + const yyr3346 bool = false + yyq3346[2] = x.Message != "" + yyq3346[3] = x.Error != "" + var yynn3346 int + if yyr3346 || yy2arr3346 { r.EncodeArrayStart(4) } else { - yynn3320 = 2 - for _, b := range yyq3320 { + yynn3346 = 2 + for _, b := range yyq3346 { if b { - yynn3320++ + yynn3346++ } } - r.EncodeMapStart(yynn3320) - yynn3320 = 0 + r.EncodeMapStart(yynn3346) + yynn3346 = 0 } - if yyr3320 || yy2arr3320 { + if yyr3346 || yy2arr3346 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -41128,7 +41427,7 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3320 || yy2arr3320 { + if yyr3346 || yy2arr3346 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -41137,11 +41436,11 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr3320 || yy2arr3320 { + if yyr3346 || yy2arr3346 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3320[2] { - yym3324 := z.EncBinary() - _ = yym3324 + if yyq3346[2] { + yym3350 := z.EncBinary() + _ = yym3350 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -41150,23 +41449,23 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3320[2] { + if yyq3346[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3325 := z.EncBinary() - _ = yym3325 + yym3351 := z.EncBinary() + _ = yym3351 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3320 || yy2arr3320 { + if yyr3346 || yy2arr3346 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3320[3] { - yym3327 := z.EncBinary() - _ = yym3327 + if yyq3346[3] { + yym3353 := z.EncBinary() + _ = yym3353 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -41175,19 +41474,19 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3320[3] { + if yyq3346[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3328 := z.EncBinary() - _ = yym3328 + yym3354 := z.EncBinary() + _ = yym3354 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr3320 || yy2arr3320 { + if yyr3346 || yy2arr3346 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41197,319 +41496,6 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3329 := z.DecBinary() - _ = yym3329 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3330 := r.ContainerType() - if yyct3330 == codecSelferValueTypeMap1234 { - yyl3330 := r.ReadMapStart() - if yyl3330 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3330, d) - } - } else if yyct3330 == codecSelferValueTypeArray1234 { - yyl3330 := r.ReadArrayStart() - if yyl3330 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3330, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3331Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3331Slc - var yyhl3331 bool = l >= 0 - for yyj3331 := 0; ; yyj3331++ { - if yyhl3331 { - if yyj3331 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3331Slc = r.DecodeBytes(yys3331Slc, true, true) - yys3331 := string(yys3331Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3331 { - case "type": - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = ComponentConditionType(r.DecodeString()) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = "" - } else { - x.Status = ConditionStatus(r.DecodeString()) - } - case "message": - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - case "error": - if r.TryDecodeAsNil() { - x.Error = "" - } else { - x.Error = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys3331) - } // end switch yys3331 - } // end for yyj3331 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3336 int - var yyb3336 bool - var yyhl3336 bool = l >= 0 - yyj3336++ - if yyhl3336 { - yyb3336 = yyj3336 > l - } else { - yyb3336 = r.CheckBreak() - } - if yyb3336 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = ComponentConditionType(r.DecodeString()) - } - yyj3336++ - if yyhl3336 { - yyb3336 = yyj3336 > l - } else { - yyb3336 = r.CheckBreak() - } - if yyb3336 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = "" - } else { - x.Status = ConditionStatus(r.DecodeString()) - } - yyj3336++ - if yyhl3336 { - yyb3336 = yyj3336 > l - } else { - yyb3336 = r.CheckBreak() - } - if yyb3336 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - yyj3336++ - if yyhl3336 { - yyb3336 = yyj3336 > l - } else { - yyb3336 = r.CheckBreak() - } - if yyb3336 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Error = "" - } else { - x.Error = string(r.DecodeString()) - } - for { - yyj3336++ - if yyhl3336 { - yyb3336 = yyj3336 > l - } else { - yyb3336 = r.CheckBreak() - } - if yyb3336 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3336-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3341 := z.EncBinary() - _ = yym3341 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3342 := !z.EncBinary() - yy2arr3342 := z.EncBasicHandle().StructToArray - var yyq3342 [4]bool - _, _, _ = yysep3342, yyq3342, yy2arr3342 - const yyr3342 bool = false - yyq3342[0] = x.Kind != "" - yyq3342[1] = x.APIVersion != "" - yyq3342[2] = true - yyq3342[3] = len(x.Conditions) != 0 - var yynn3342 int - if yyr3342 || yy2arr3342 { - r.EncodeArrayStart(4) - } else { - yynn3342 = 0 - for _, b := range yyq3342 { - if b { - yynn3342++ - } - } - r.EncodeMapStart(yynn3342) - yynn3342 = 0 - } - if yyr3342 || yy2arr3342 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3342[0] { - yym3344 := z.EncBinary() - _ = yym3344 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3342[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3345 := z.EncBinary() - _ = yym3345 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3342 || yy2arr3342 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3342[1] { - yym3347 := z.EncBinary() - _ = yym3347 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3342[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3348 := z.EncBinary() - _ = yym3348 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3342 || yy2arr3342 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3342[2] { - yy3350 := &x.ObjectMeta - yy3350.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3342[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3351 := &x.ObjectMeta - yy3351.CodecEncodeSelf(e) - } - } - if yyr3342 || yy2arr3342 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3342[3] { - if x.Conditions == nil { - r.EncodeNil() - } else { - yym3353 := z.EncBinary() - _ = yym3353 - if false { - } else { - h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq3342[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("conditions")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Conditions == nil { - r.EncodeNil() - } else { - yym3354 := z.EncBinary() - _ = yym3354 - if false { - } else { - h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) - } - } - } - } - if yyr3342 || yy2arr3342 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -41539,7 +41525,7 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -41561,6 +41547,319 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys3357 := string(yys3357Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys3357 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = ComponentConditionType(r.DecodeString()) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = ConditionStatus(r.DecodeString()) + } + case "message": + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + case "error": + if r.TryDecodeAsNil() { + x.Error = "" + } else { + x.Error = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys3357) + } // end switch yys3357 + } // end for yyj3357 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3362 int + var yyb3362 bool + var yyhl3362 bool = l >= 0 + yyj3362++ + if yyhl3362 { + yyb3362 = yyj3362 > l + } else { + yyb3362 = r.CheckBreak() + } + if yyb3362 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = ComponentConditionType(r.DecodeString()) + } + yyj3362++ + if yyhl3362 { + yyb3362 = yyj3362 > l + } else { + yyb3362 = r.CheckBreak() + } + if yyb3362 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = ConditionStatus(r.DecodeString()) + } + yyj3362++ + if yyhl3362 { + yyb3362 = yyj3362 > l + } else { + yyb3362 = r.CheckBreak() + } + if yyb3362 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + yyj3362++ + if yyhl3362 { + yyb3362 = yyj3362 > l + } else { + yyb3362 = r.CheckBreak() + } + if yyb3362 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Error = "" + } else { + x.Error = string(r.DecodeString()) + } + for { + yyj3362++ + if yyhl3362 { + yyb3362 = yyj3362 > l + } else { + yyb3362 = r.CheckBreak() + } + if yyb3362 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3362-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3367 := z.EncBinary() + _ = yym3367 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3368 := !z.EncBinary() + yy2arr3368 := z.EncBasicHandle().StructToArray + var yyq3368 [4]bool + _, _, _ = yysep3368, yyq3368, yy2arr3368 + const yyr3368 bool = false + yyq3368[0] = x.Kind != "" + yyq3368[1] = x.APIVersion != "" + yyq3368[2] = true + yyq3368[3] = len(x.Conditions) != 0 + var yynn3368 int + if yyr3368 || yy2arr3368 { + r.EncodeArrayStart(4) + } else { + yynn3368 = 0 + for _, b := range yyq3368 { + if b { + yynn3368++ + } + } + r.EncodeMapStart(yynn3368) + yynn3368 = 0 + } + if yyr3368 || yy2arr3368 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3368[0] { + yym3370 := z.EncBinary() + _ = yym3370 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3368[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3371 := z.EncBinary() + _ = yym3371 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3368 || yy2arr3368 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3368[1] { + yym3373 := z.EncBinary() + _ = yym3373 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3368[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3374 := z.EncBinary() + _ = yym3374 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3368 || yy2arr3368 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3368[2] { + yy3376 := &x.ObjectMeta + yy3376.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3368[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3377 := &x.ObjectMeta + yy3377.CodecEncodeSelf(e) + } + } + if yyr3368 || yy2arr3368 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3368[3] { + if x.Conditions == nil { + r.EncodeNil() + } else { + yym3379 := z.EncBinary() + _ = yym3379 + if false { + } else { + h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3368[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("conditions")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Conditions == nil { + r.EncodeNil() + } else { + yym3380 := z.EncBinary() + _ = yym3380 + if false { + } else { + h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) + } + } + } + } + if yyr3368 || yy2arr3368 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3381 := z.DecBinary() + _ = yym3381 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3382 := r.ContainerType() + if yyct3382 == codecSelferValueTypeMap1234 { + yyl3382 := r.ReadMapStart() + if yyl3382 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3382, d) + } + } else if yyct3382 == codecSelferValueTypeArray1234 { + yyl3382 := r.ReadArrayStart() + if yyl3382 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3382, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3383Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3383Slc + var yyhl3383 bool = l >= 0 + for yyj3383 := 0; ; yyj3383++ { + if yyhl3383 { + if yyj3383 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3383Slc = r.DecodeBytes(yys3383Slc, true, true) + yys3383 := string(yys3383Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3383 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -41577,25 +41876,25 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3360 := &x.ObjectMeta - yyv3360.CodecDecodeSelf(d) + yyv3386 := &x.ObjectMeta + yyv3386.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3361 := &x.Conditions - yym3362 := z.DecBinary() - _ = yym3362 + yyv3387 := &x.Conditions + yym3388 := z.DecBinary() + _ = yym3388 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3361), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3387), d) } } default: - z.DecStructFieldNotFound(-1, yys3357) - } // end switch yys3357 - } // end for yyj3357 + z.DecStructFieldNotFound(-1, yys3383) + } // end switch yys3383 + } // end for yyj3383 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41603,16 +41902,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3363 int - var yyb3363 bool - var yyhl3363 bool = l >= 0 - yyj3363++ - if yyhl3363 { - yyb3363 = yyj3363 > l + var yyj3389 int + var yyb3389 bool + var yyhl3389 bool = l >= 0 + yyj3389++ + if yyhl3389 { + yyb3389 = yyj3389 > l } else { - yyb3363 = r.CheckBreak() + yyb3389 = r.CheckBreak() } - if yyb3363 { + if yyb3389 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41622,13 +41921,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3363++ - if yyhl3363 { - yyb3363 = yyj3363 > l + yyj3389++ + if yyhl3389 { + yyb3389 = yyj3389 > l } else { - yyb3363 = r.CheckBreak() + yyb3389 = r.CheckBreak() } - if yyb3363 { + if yyb3389 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41638,13 +41937,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3363++ - if yyhl3363 { - yyb3363 = yyj3363 > l + yyj3389++ + if yyhl3389 { + yyb3389 = yyj3389 > l } else { - yyb3363 = r.CheckBreak() + yyb3389 = r.CheckBreak() } - if yyb3363 { + if yyb3389 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41652,16 +41951,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3366 := &x.ObjectMeta - yyv3366.CodecDecodeSelf(d) + yyv3392 := &x.ObjectMeta + yyv3392.CodecDecodeSelf(d) } - yyj3363++ - if yyhl3363 { - yyb3363 = yyj3363 > l + yyj3389++ + if yyhl3389 { + yyb3389 = yyj3389 > l } else { - yyb3363 = r.CheckBreak() + yyb3389 = r.CheckBreak() } - if yyb3363 { + if yyb3389 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41669,26 +41968,26 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3367 := &x.Conditions - yym3368 := z.DecBinary() - _ = yym3368 + yyv3393 := &x.Conditions + yym3394 := z.DecBinary() + _ = yym3394 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3367), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3393), d) } } for { - yyj3363++ - if yyhl3363 { - yyb3363 = yyj3363 > l + yyj3389++ + if yyhl3389 { + yyb3389 = yyj3389 > l } else { - yyb3363 = r.CheckBreak() + yyb3389 = r.CheckBreak() } - if yyb3363 { + if yyb3389 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3363-1, "") + z.DecStructFieldNotFound(yyj3389-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41700,37 +41999,37 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3369 := z.EncBinary() - _ = yym3369 + yym3395 := z.EncBinary() + _ = yym3395 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3370 := !z.EncBinary() - yy2arr3370 := z.EncBasicHandle().StructToArray - var yyq3370 [4]bool - _, _, _ = yysep3370, yyq3370, yy2arr3370 - const yyr3370 bool = false - yyq3370[0] = x.Kind != "" - yyq3370[1] = x.APIVersion != "" - yyq3370[2] = true - var yynn3370 int - if yyr3370 || yy2arr3370 { + yysep3396 := !z.EncBinary() + yy2arr3396 := z.EncBasicHandle().StructToArray + var yyq3396 [4]bool + _, _, _ = yysep3396, yyq3396, yy2arr3396 + const yyr3396 bool = false + yyq3396[0] = x.Kind != "" + yyq3396[1] = x.APIVersion != "" + yyq3396[2] = true + var yynn3396 int + if yyr3396 || yy2arr3396 { r.EncodeArrayStart(4) } else { - yynn3370 = 1 - for _, b := range yyq3370 { + yynn3396 = 1 + for _, b := range yyq3396 { if b { - yynn3370++ + yynn3396++ } } - r.EncodeMapStart(yynn3370) - yynn3370 = 0 + r.EncodeMapStart(yynn3396) + yynn3396 = 0 } - if yyr3370 || yy2arr3370 { + if yyr3396 || yy2arr3396 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3370[0] { - yym3372 := z.EncBinary() - _ = yym3372 + if yyq3396[0] { + yym3398 := z.EncBinary() + _ = yym3398 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -41739,23 +42038,23 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3370[0] { + if yyq3396[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3373 := z.EncBinary() - _ = yym3373 + yym3399 := z.EncBinary() + _ = yym3399 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3370 || yy2arr3370 { + if yyr3396 || yy2arr3396 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3370[1] { - yym3375 := z.EncBinary() - _ = yym3375 + if yyq3396[1] { + yym3401 := z.EncBinary() + _ = yym3401 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -41764,54 +42063,54 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3370[1] { + if yyq3396[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3376 := z.EncBinary() - _ = yym3376 + yym3402 := z.EncBinary() + _ = yym3402 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3370 || yy2arr3370 { + if yyr3396 || yy2arr3396 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3370[2] { - yy3378 := &x.ListMeta - yym3379 := z.EncBinary() - _ = yym3379 + if yyq3396[2] { + yy3404 := &x.ListMeta + yym3405 := z.EncBinary() + _ = yym3405 if false { - } else if z.HasExtensions() && z.EncExt(yy3378) { + } else if z.HasExtensions() && z.EncExt(yy3404) { } else { - z.EncFallback(yy3378) + z.EncFallback(yy3404) } } else { r.EncodeNil() } } else { - if yyq3370[2] { + if yyq3396[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3380 := &x.ListMeta - yym3381 := z.EncBinary() - _ = yym3381 + yy3406 := &x.ListMeta + yym3407 := z.EncBinary() + _ = yym3407 if false { - } else if z.HasExtensions() && z.EncExt(yy3380) { + } else if z.HasExtensions() && z.EncExt(yy3406) { } else { - z.EncFallback(yy3380) + z.EncFallback(yy3406) } } } - if yyr3370 || yy2arr3370 { + if yyr3396 || yy2arr3396 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3383 := z.EncBinary() - _ = yym3383 + yym3409 := z.EncBinary() + _ = yym3409 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -41824,15 +42123,15 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3384 := z.EncBinary() - _ = yym3384 + yym3410 := z.EncBinary() + _ = yym3410 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr3370 || yy2arr3370 { + if yyr3396 || yy2arr3396 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41845,25 +42144,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3385 := z.DecBinary() - _ = yym3385 + yym3411 := z.DecBinary() + _ = yym3411 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3386 := r.ContainerType() - if yyct3386 == codecSelferValueTypeMap1234 { - yyl3386 := r.ReadMapStart() - if yyl3386 == 0 { + yyct3412 := r.ContainerType() + if yyct3412 == codecSelferValueTypeMap1234 { + yyl3412 := r.ReadMapStart() + if yyl3412 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3386, d) + x.codecDecodeSelfFromMap(yyl3412, d) } - } else if yyct3386 == codecSelferValueTypeArray1234 { - yyl3386 := r.ReadArrayStart() - if yyl3386 == 0 { + } else if yyct3412 == codecSelferValueTypeArray1234 { + yyl3412 := r.ReadArrayStart() + if yyl3412 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3386, d) + x.codecDecodeSelfFromArray(yyl3412, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41875,12 +42174,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3387Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3387Slc - var yyhl3387 bool = l >= 0 - for yyj3387 := 0; ; yyj3387++ { - if yyhl3387 { - if yyj3387 >= l { + var yys3413Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3413Slc + var yyhl3413 bool = l >= 0 + for yyj3413 := 0; ; yyj3413++ { + if yyhl3413 { + if yyj3413 >= l { break } } else { @@ -41889,10 +42188,10 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3387Slc = r.DecodeBytes(yys3387Slc, true, true) - yys3387 := string(yys3387Slc) + yys3413Slc = r.DecodeBytes(yys3413Slc, true, true) + yys3413 := string(yys3413Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3387 { + switch yys3413 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -41909,31 +42208,31 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3390 := &x.ListMeta - yym3391 := z.DecBinary() - _ = yym3391 + yyv3416 := &x.ListMeta + yym3417 := z.DecBinary() + _ = yym3417 if false { - } else if z.HasExtensions() && z.DecExt(yyv3390) { + } else if z.HasExtensions() && z.DecExt(yyv3416) { } else { - z.DecFallback(yyv3390, false) + z.DecFallback(yyv3416, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3392 := &x.Items - yym3393 := z.DecBinary() - _ = yym3393 + yyv3418 := &x.Items + yym3419 := z.DecBinary() + _ = yym3419 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3392), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3418), d) } } default: - z.DecStructFieldNotFound(-1, yys3387) - } // end switch yys3387 - } // end for yyj3387 + z.DecStructFieldNotFound(-1, yys3413) + } // end switch yys3413 + } // end for yyj3413 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41941,16 +42240,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3394 int - var yyb3394 bool - var yyhl3394 bool = l >= 0 - yyj3394++ - if yyhl3394 { - yyb3394 = yyj3394 > l + var yyj3420 int + var yyb3420 bool + var yyhl3420 bool = l >= 0 + yyj3420++ + if yyhl3420 { + yyb3420 = yyj3420 > l } else { - yyb3394 = r.CheckBreak() + yyb3420 = r.CheckBreak() } - if yyb3394 { + if yyb3420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41960,13 +42259,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3394++ - if yyhl3394 { - yyb3394 = yyj3394 > l + yyj3420++ + if yyhl3420 { + yyb3420 = yyj3420 > l } else { - yyb3394 = r.CheckBreak() + yyb3420 = r.CheckBreak() } - if yyb3394 { + if yyb3420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41976,13 +42275,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3394++ - if yyhl3394 { - yyb3394 = yyj3394 > l + yyj3420++ + if yyhl3420 { + yyb3420 = yyj3420 > l } else { - yyb3394 = r.CheckBreak() + yyb3420 = r.CheckBreak() } - if yyb3394 { + if yyb3420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41990,22 +42289,22 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3397 := &x.ListMeta - yym3398 := z.DecBinary() - _ = yym3398 + yyv3423 := &x.ListMeta + yym3424 := z.DecBinary() + _ = yym3424 if false { - } else if z.HasExtensions() && z.DecExt(yyv3397) { + } else if z.HasExtensions() && z.DecExt(yyv3423) { } else { - z.DecFallback(yyv3397, false) + z.DecFallback(yyv3423, false) } } - yyj3394++ - if yyhl3394 { - yyb3394 = yyj3394 > l + yyj3420++ + if yyhl3420 { + yyb3420 = yyj3420 > l } else { - yyb3394 = r.CheckBreak() + yyb3420 = r.CheckBreak() } - if yyb3394 { + if yyb3420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42013,26 +42312,26 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3399 := &x.Items - yym3400 := z.DecBinary() - _ = yym3400 + yyv3425 := &x.Items + yym3426 := z.DecBinary() + _ = yym3426 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3399), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3425), d) } } for { - yyj3394++ - if yyhl3394 { - yyb3394 = yyj3394 > l + yyj3420++ + if yyhl3420 { + yyb3420 = yyj3420 > l } else { - yyb3394 = r.CheckBreak() + yyb3420 = r.CheckBreak() } - if yyb3394 { + if yyb3420 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3394-1, "") + z.DecStructFieldNotFound(yyj3420-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42044,37 +42343,37 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3401 := z.EncBinary() - _ = yym3401 + yym3427 := z.EncBinary() + _ = yym3427 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3402 := !z.EncBinary() - yy2arr3402 := z.EncBasicHandle().StructToArray - var yyq3402 [5]bool - _, _, _ = yysep3402, yyq3402, yy2arr3402 - const yyr3402 bool = false - yyq3402[0] = x.Capabilities != nil - yyq3402[1] = x.Privileged != nil - yyq3402[2] = x.SELinuxOptions != nil - yyq3402[3] = x.RunAsUser != nil - yyq3402[4] = x.RunAsNonRoot != nil - var yynn3402 int - if yyr3402 || yy2arr3402 { + yysep3428 := !z.EncBinary() + yy2arr3428 := z.EncBasicHandle().StructToArray + var yyq3428 [5]bool + _, _, _ = yysep3428, yyq3428, yy2arr3428 + const yyr3428 bool = false + yyq3428[0] = x.Capabilities != nil + yyq3428[1] = x.Privileged != nil + yyq3428[2] = x.SELinuxOptions != nil + yyq3428[3] = x.RunAsUser != nil + yyq3428[4] = x.RunAsNonRoot != nil + var yynn3428 int + if yyr3428 || yy2arr3428 { r.EncodeArrayStart(5) } else { - yynn3402 = 0 - for _, b := range yyq3402 { + yynn3428 = 0 + for _, b := range yyq3428 { if b { - yynn3402++ + yynn3428++ } } - r.EncodeMapStart(yynn3402) - yynn3402 = 0 + r.EncodeMapStart(yynn3428) + yynn3428 = 0 } - if yyr3402 || yy2arr3402 { + if yyr3428 || yy2arr3428 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3402[0] { + if yyq3428[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -42084,7 +42383,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3402[0] { + if yyq3428[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -42095,44 +42394,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3402 || yy2arr3402 { + if yyr3428 || yy2arr3428 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3402[1] { + if yyq3428[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy3405 := *x.Privileged - yym3406 := z.EncBinary() - _ = yym3406 + yy3431 := *x.Privileged + yym3432 := z.EncBinary() + _ = yym3432 if false { } else { - r.EncodeBool(bool(yy3405)) + r.EncodeBool(bool(yy3431)) } } } else { r.EncodeNil() } } else { - if yyq3402[1] { + if yyq3428[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy3407 := *x.Privileged - yym3408 := z.EncBinary() - _ = yym3408 + yy3433 := *x.Privileged + yym3434 := z.EncBinary() + _ = yym3434 if false { } else { - r.EncodeBool(bool(yy3407)) + r.EncodeBool(bool(yy3433)) } } } } - if yyr3402 || yy2arr3402 { + if yyr3428 || yy2arr3428 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3402[2] { + if yyq3428[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -42142,7 +42441,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3402[2] { + if yyq3428[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -42153,77 +42452,77 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3402 || yy2arr3402 { + if yyr3428 || yy2arr3428 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3402[3] { + if yyq3428[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy3411 := *x.RunAsUser - yym3412 := z.EncBinary() - _ = yym3412 + yy3437 := *x.RunAsUser + yym3438 := z.EncBinary() + _ = yym3438 if false { } else { - r.EncodeInt(int64(yy3411)) + r.EncodeInt(int64(yy3437)) } } } else { r.EncodeNil() } } else { - if yyq3402[3] { + if yyq3428[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy3413 := *x.RunAsUser - yym3414 := z.EncBinary() - _ = yym3414 + yy3439 := *x.RunAsUser + yym3440 := z.EncBinary() + _ = yym3440 if false { } else { - r.EncodeInt(int64(yy3413)) + r.EncodeInt(int64(yy3439)) } } } } - if yyr3402 || yy2arr3402 { + if yyr3428 || yy2arr3428 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3402[4] { + if yyq3428[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3416 := *x.RunAsNonRoot - yym3417 := z.EncBinary() - _ = yym3417 + yy3442 := *x.RunAsNonRoot + yym3443 := z.EncBinary() + _ = yym3443 if false { } else { - r.EncodeBool(bool(yy3416)) + r.EncodeBool(bool(yy3442)) } } } else { r.EncodeNil() } } else { - if yyq3402[4] { + if yyq3428[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3418 := *x.RunAsNonRoot - yym3419 := z.EncBinary() - _ = yym3419 + yy3444 := *x.RunAsNonRoot + yym3445 := z.EncBinary() + _ = yym3445 if false { } else { - r.EncodeBool(bool(yy3418)) + r.EncodeBool(bool(yy3444)) } } } } - if yyr3402 || yy2arr3402 { + if yyr3428 || yy2arr3428 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42236,25 +42535,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3420 := z.DecBinary() - _ = yym3420 + yym3446 := z.DecBinary() + _ = yym3446 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3421 := r.ContainerType() - if yyct3421 == codecSelferValueTypeMap1234 { - yyl3421 := r.ReadMapStart() - if yyl3421 == 0 { + yyct3447 := r.ContainerType() + if yyct3447 == codecSelferValueTypeMap1234 { + yyl3447 := r.ReadMapStart() + if yyl3447 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3421, d) + x.codecDecodeSelfFromMap(yyl3447, d) } - } else if yyct3421 == codecSelferValueTypeArray1234 { - yyl3421 := r.ReadArrayStart() - if yyl3421 == 0 { + } else if yyct3447 == codecSelferValueTypeArray1234 { + yyl3447 := r.ReadArrayStart() + if yyl3447 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3421, d) + x.codecDecodeSelfFromArray(yyl3447, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42266,12 +42565,12 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3422Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3422Slc - var yyhl3422 bool = l >= 0 - for yyj3422 := 0; ; yyj3422++ { - if yyhl3422 { - if yyj3422 >= l { + var yys3448Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3448Slc + var yyhl3448 bool = l >= 0 + for yyj3448 := 0; ; yyj3448++ { + if yyhl3448 { + if yyj3448 >= l { break } } else { @@ -42280,10 +42579,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3422Slc = r.DecodeBytes(yys3422Slc, true, true) - yys3422 := string(yys3422Slc) + yys3448Slc = r.DecodeBytes(yys3448Slc, true, true) + yys3448 := string(yys3448Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3422 { + switch yys3448 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -42304,8 +42603,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym3425 := z.DecBinary() - _ = yym3425 + yym3451 := z.DecBinary() + _ = yym3451 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -42331,8 +42630,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3428 := z.DecBinary() - _ = yym3428 + yym3454 := z.DecBinary() + _ = yym3454 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -42347,17 +42646,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3430 := z.DecBinary() - _ = yym3430 + yym3456 := z.DecBinary() + _ = yym3456 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3422) - } // end switch yys3422 - } // end for yyj3422 + z.DecStructFieldNotFound(-1, yys3448) + } // end switch yys3448 + } // end for yyj3448 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42365,16 +42664,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3431 int - var yyb3431 bool - var yyhl3431 bool = l >= 0 - yyj3431++ - if yyhl3431 { - yyb3431 = yyj3431 > l + var yyj3457 int + var yyb3457 bool + var yyhl3457 bool = l >= 0 + yyj3457++ + if yyhl3457 { + yyb3457 = yyj3457 > l } else { - yyb3431 = r.CheckBreak() + yyb3457 = r.CheckBreak() } - if yyb3431 { + if yyb3457 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42389,13 +42688,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj3431++ - if yyhl3431 { - yyb3431 = yyj3431 > l + yyj3457++ + if yyhl3457 { + yyb3457 = yyj3457 > l } else { - yyb3431 = r.CheckBreak() + yyb3457 = r.CheckBreak() } - if yyb3431 { + if yyb3457 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42408,20 +42707,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym3434 := z.DecBinary() - _ = yym3434 + yym3460 := z.DecBinary() + _ = yym3460 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj3431++ - if yyhl3431 { - yyb3431 = yyj3431 > l + yyj3457++ + if yyhl3457 { + yyb3457 = yyj3457 > l } else { - yyb3431 = r.CheckBreak() + yyb3457 = r.CheckBreak() } - if yyb3431 { + if yyb3457 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42436,13 +42735,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj3431++ - if yyhl3431 { - yyb3431 = yyj3431 > l + yyj3457++ + if yyhl3457 { + yyb3457 = yyj3457 > l } else { - yyb3431 = r.CheckBreak() + yyb3457 = r.CheckBreak() } - if yyb3431 { + if yyb3457 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42455,20 +42754,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3437 := z.DecBinary() - _ = yym3437 + yym3463 := z.DecBinary() + _ = yym3463 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj3431++ - if yyhl3431 { - yyb3431 = yyj3431 > l + yyj3457++ + if yyhl3457 { + yyb3457 = yyj3457 > l } else { - yyb3431 = r.CheckBreak() + yyb3457 = r.CheckBreak() } - if yyb3431 { + if yyb3457 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42481,25 +42780,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3439 := z.DecBinary() - _ = yym3439 + yym3465 := z.DecBinary() + _ = yym3465 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } for { - yyj3431++ - if yyhl3431 { - yyb3431 = yyj3431 > l + yyj3457++ + if yyhl3457 { + yyb3457 = yyj3457 > l } else { - yyb3431 = r.CheckBreak() + yyb3457 = r.CheckBreak() } - if yyb3431 { + if yyb3457 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3431-1, "") + z.DecStructFieldNotFound(yyj3457-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42511,38 +42810,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3440 := z.EncBinary() - _ = yym3440 + yym3466 := z.EncBinary() + _ = yym3466 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3441 := !z.EncBinary() - yy2arr3441 := z.EncBasicHandle().StructToArray - var yyq3441 [4]bool - _, _, _ = yysep3441, yyq3441, yy2arr3441 - const yyr3441 bool = false - yyq3441[0] = x.User != "" - yyq3441[1] = x.Role != "" - yyq3441[2] = x.Type != "" - yyq3441[3] = x.Level != "" - var yynn3441 int - if yyr3441 || yy2arr3441 { + yysep3467 := !z.EncBinary() + yy2arr3467 := z.EncBasicHandle().StructToArray + var yyq3467 [4]bool + _, _, _ = yysep3467, yyq3467, yy2arr3467 + const yyr3467 bool = false + yyq3467[0] = x.User != "" + yyq3467[1] = x.Role != "" + yyq3467[2] = x.Type != "" + yyq3467[3] = x.Level != "" + var yynn3467 int + if yyr3467 || yy2arr3467 { r.EncodeArrayStart(4) } else { - yynn3441 = 0 - for _, b := range yyq3441 { + yynn3467 = 0 + for _, b := range yyq3467 { if b { - yynn3441++ + yynn3467++ } } - r.EncodeMapStart(yynn3441) - yynn3441 = 0 + r.EncodeMapStart(yynn3467) + yynn3467 = 0 } - if yyr3441 || yy2arr3441 { + if yyr3467 || yy2arr3467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3441[0] { - yym3443 := z.EncBinary() - _ = yym3443 + if yyq3467[0] { + yym3469 := z.EncBinary() + _ = yym3469 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -42551,23 +42850,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3441[0] { + if yyq3467[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3444 := z.EncBinary() - _ = yym3444 + yym3470 := z.EncBinary() + _ = yym3470 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr3441 || yy2arr3441 { + if yyr3467 || yy2arr3467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3441[1] { - yym3446 := z.EncBinary() - _ = yym3446 + if yyq3467[1] { + yym3472 := z.EncBinary() + _ = yym3472 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) @@ -42576,23 +42875,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3441[1] { + if yyq3467[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("role")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3447 := z.EncBinary() - _ = yym3447 + yym3473 := z.EncBinary() + _ = yym3473 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) } } } - if yyr3441 || yy2arr3441 { + if yyr3467 || yy2arr3467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3441[2] { - yym3449 := z.EncBinary() - _ = yym3449 + if yyq3467[2] { + yym3475 := z.EncBinary() + _ = yym3475 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -42601,23 +42900,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3441[2] { + if yyq3467[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3450 := z.EncBinary() - _ = yym3450 + yym3476 := z.EncBinary() + _ = yym3476 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3441 || yy2arr3441 { + if yyr3467 || yy2arr3467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3441[3] { - yym3452 := z.EncBinary() - _ = yym3452 + if yyq3467[3] { + yym3478 := z.EncBinary() + _ = yym3478 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) @@ -42626,19 +42925,19 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3441[3] { + if yyq3467[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("level")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3453 := z.EncBinary() - _ = yym3453 + yym3479 := z.EncBinary() + _ = yym3479 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr3441 || yy2arr3441 { + if yyr3467 || yy2arr3467 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42651,25 +42950,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3454 := z.DecBinary() - _ = yym3454 + yym3480 := z.DecBinary() + _ = yym3480 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3455 := r.ContainerType() - if yyct3455 == codecSelferValueTypeMap1234 { - yyl3455 := r.ReadMapStart() - if yyl3455 == 0 { + yyct3481 := r.ContainerType() + if yyct3481 == codecSelferValueTypeMap1234 { + yyl3481 := r.ReadMapStart() + if yyl3481 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3455, d) + x.codecDecodeSelfFromMap(yyl3481, d) } - } else if yyct3455 == codecSelferValueTypeArray1234 { - yyl3455 := r.ReadArrayStart() - if yyl3455 == 0 { + } else if yyct3481 == codecSelferValueTypeArray1234 { + yyl3481 := r.ReadArrayStart() + if yyl3481 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3455, d) + x.codecDecodeSelfFromArray(yyl3481, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42681,12 +42980,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3456Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3456Slc - var yyhl3456 bool = l >= 0 - for yyj3456 := 0; ; yyj3456++ { - if yyhl3456 { - if yyj3456 >= l { + var yys3482Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3482Slc + var yyhl3482 bool = l >= 0 + for yyj3482 := 0; ; yyj3482++ { + if yyhl3482 { + if yyj3482 >= l { break } } else { @@ -42695,10 +42994,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3456Slc = r.DecodeBytes(yys3456Slc, true, true) - yys3456 := string(yys3456Slc) + yys3482Slc = r.DecodeBytes(yys3482Slc, true, true) + yys3482 := string(yys3482Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3456 { + switch yys3482 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -42724,9 +43023,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3456) - } // end switch yys3456 - } // end for yyj3456 + z.DecStructFieldNotFound(-1, yys3482) + } // end switch yys3482 + } // end for yyj3482 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42734,16 +43033,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3461 int - var yyb3461 bool - var yyhl3461 bool = l >= 0 - yyj3461++ - if yyhl3461 { - yyb3461 = yyj3461 > l + var yyj3487 int + var yyb3487 bool + var yyhl3487 bool = l >= 0 + yyj3487++ + if yyhl3487 { + yyb3487 = yyj3487 > l } else { - yyb3461 = r.CheckBreak() + yyb3487 = r.CheckBreak() } - if yyb3461 { + if yyb3487 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42753,13 +43052,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj3461++ - if yyhl3461 { - yyb3461 = yyj3461 > l + yyj3487++ + if yyhl3487 { + yyb3487 = yyj3487 > l } else { - yyb3461 = r.CheckBreak() + yyb3487 = r.CheckBreak() } - if yyb3461 { + if yyb3487 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42769,13 +43068,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj3461++ - if yyhl3461 { - yyb3461 = yyj3461 > l + yyj3487++ + if yyhl3487 { + yyb3487 = yyj3487 > l } else { - yyb3461 = r.CheckBreak() + yyb3487 = r.CheckBreak() } - if yyb3461 { + if yyb3487 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42785,13 +43084,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj3461++ - if yyhl3461 { - yyb3461 = yyj3461 > l + yyj3487++ + if yyhl3487 { + yyb3487 = yyj3487 > l } else { - yyb3461 = r.CheckBreak() + yyb3487 = r.CheckBreak() } - if yyb3461 { + if yyb3487 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42802,17 +43101,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj3461++ - if yyhl3461 { - yyb3461 = yyj3461 > l + yyj3487++ + if yyhl3487 { + yyb3487 = yyj3487 > l } else { - yyb3461 = r.CheckBreak() + yyb3487 = r.CheckBreak() } - if yyb3461 { + if yyb3487 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3461-1, "") + z.DecStructFieldNotFound(yyj3487-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42824,37 +43123,37 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3466 := z.EncBinary() - _ = yym3466 + yym3492 := z.EncBinary() + _ = yym3492 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3467 := !z.EncBinary() - yy2arr3467 := z.EncBasicHandle().StructToArray - var yyq3467 [5]bool - _, _, _ = yysep3467, yyq3467, yy2arr3467 - const yyr3467 bool = false - yyq3467[0] = x.Kind != "" - yyq3467[1] = x.APIVersion != "" - yyq3467[2] = true - var yynn3467 int - if yyr3467 || yy2arr3467 { + yysep3493 := !z.EncBinary() + yy2arr3493 := z.EncBasicHandle().StructToArray + var yyq3493 [5]bool + _, _, _ = yysep3493, yyq3493, yy2arr3493 + const yyr3493 bool = false + yyq3493[0] = x.Kind != "" + yyq3493[1] = x.APIVersion != "" + yyq3493[2] = true + var yynn3493 int + if yyr3493 || yy2arr3493 { r.EncodeArrayStart(5) } else { - yynn3467 = 2 - for _, b := range yyq3467 { + yynn3493 = 2 + for _, b := range yyq3493 { if b { - yynn3467++ + yynn3493++ } } - r.EncodeMapStart(yynn3467) - yynn3467 = 0 + r.EncodeMapStart(yynn3493) + yynn3493 = 0 } - if yyr3467 || yy2arr3467 { + if yyr3493 || yy2arr3493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3467[0] { - yym3469 := z.EncBinary() - _ = yym3469 + if yyq3493[0] { + yym3495 := z.EncBinary() + _ = yym3495 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42863,23 +43162,23 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3467[0] { + if yyq3493[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3470 := z.EncBinary() - _ = yym3470 + yym3496 := z.EncBinary() + _ = yym3496 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3467 || yy2arr3467 { + if yyr3493 || yy2arr3493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3467[1] { - yym3472 := z.EncBinary() - _ = yym3472 + if yyq3493[1] { + yym3498 := z.EncBinary() + _ = yym3498 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42888,39 +43187,39 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3467[1] { + if yyq3493[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3473 := z.EncBinary() - _ = yym3473 + yym3499 := z.EncBinary() + _ = yym3499 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3467 || yy2arr3467 { + if yyr3493 || yy2arr3493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3467[2] { - yy3475 := &x.ObjectMeta - yy3475.CodecEncodeSelf(e) + if yyq3493[2] { + yy3501 := &x.ObjectMeta + yy3501.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3467[2] { + if yyq3493[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3476 := &x.ObjectMeta - yy3476.CodecEncodeSelf(e) + yy3502 := &x.ObjectMeta + yy3502.CodecEncodeSelf(e) } } - if yyr3467 || yy2arr3467 { + if yyr3493 || yy2arr3493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3478 := z.EncBinary() - _ = yym3478 + yym3504 := z.EncBinary() + _ = yym3504 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -42929,20 +43228,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3479 := z.EncBinary() - _ = yym3479 + yym3505 := z.EncBinary() + _ = yym3505 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr3467 || yy2arr3467 { + if yyr3493 || yy2arr3493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym3481 := z.EncBinary() - _ = yym3481 + yym3507 := z.EncBinary() + _ = yym3507 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -42955,15 +43254,15 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym3482 := z.EncBinary() - _ = yym3482 + yym3508 := z.EncBinary() + _ = yym3508 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr3467 || yy2arr3467 { + if yyr3493 || yy2arr3493 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42976,25 +43275,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3483 := z.DecBinary() - _ = yym3483 + yym3509 := z.DecBinary() + _ = yym3509 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3484 := r.ContainerType() - if yyct3484 == codecSelferValueTypeMap1234 { - yyl3484 := r.ReadMapStart() - if yyl3484 == 0 { + yyct3510 := r.ContainerType() + if yyct3510 == codecSelferValueTypeMap1234 { + yyl3510 := r.ReadMapStart() + if yyl3510 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3484, d) + x.codecDecodeSelfFromMap(yyl3510, d) } - } else if yyct3484 == codecSelferValueTypeArray1234 { - yyl3484 := r.ReadArrayStart() - if yyl3484 == 0 { + } else if yyct3510 == codecSelferValueTypeArray1234 { + yyl3510 := r.ReadArrayStart() + if yyl3510 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3484, d) + x.codecDecodeSelfFromArray(yyl3510, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43006,12 +43305,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3485Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3485Slc - var yyhl3485 bool = l >= 0 - for yyj3485 := 0; ; yyj3485++ { - if yyhl3485 { - if yyj3485 >= l { + var yys3511Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3511Slc + var yyhl3511 bool = l >= 0 + for yyj3511 := 0; ; yyj3511++ { + if yyhl3511 { + if yyj3511 >= l { break } } else { @@ -43020,10 +43319,10 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3485Slc = r.DecodeBytes(yys3485Slc, true, true) - yys3485 := string(yys3485Slc) + yys3511Slc = r.DecodeBytes(yys3511Slc, true, true) + yys3511 := string(yys3511Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3485 { + switch yys3511 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43040,8 +43339,8 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3488 := &x.ObjectMeta - yyv3488.CodecDecodeSelf(d) + yyv3514 := &x.ObjectMeta + yyv3514.CodecDecodeSelf(d) } case "range": if r.TryDecodeAsNil() { @@ -43053,18 +43352,18 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3490 := &x.Data - yym3491 := z.DecBinary() - _ = yym3491 + yyv3516 := &x.Data + yym3517 := z.DecBinary() + _ = yym3517 if false { } else { - *yyv3490 = r.DecodeBytes(*(*[]byte)(yyv3490), false, false) + *yyv3516 = r.DecodeBytes(*(*[]byte)(yyv3516), false, false) } } default: - z.DecStructFieldNotFound(-1, yys3485) - } // end switch yys3485 - } // end for yyj3485 + z.DecStructFieldNotFound(-1, yys3511) + } // end switch yys3511 + } // end for yyj3511 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43072,16 +43371,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3492 int - var yyb3492 bool - var yyhl3492 bool = l >= 0 - yyj3492++ - if yyhl3492 { - yyb3492 = yyj3492 > l + var yyj3518 int + var yyb3518 bool + var yyhl3518 bool = l >= 0 + yyj3518++ + if yyhl3518 { + yyb3518 = yyj3518 > l } else { - yyb3492 = r.CheckBreak() + yyb3518 = r.CheckBreak() } - if yyb3492 { + if yyb3518 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43091,13 +43390,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3492++ - if yyhl3492 { - yyb3492 = yyj3492 > l + yyj3518++ + if yyhl3518 { + yyb3518 = yyj3518 > l } else { - yyb3492 = r.CheckBreak() + yyb3518 = r.CheckBreak() } - if yyb3492 { + if yyb3518 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43107,13 +43406,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3492++ - if yyhl3492 { - yyb3492 = yyj3492 > l + yyj3518++ + if yyhl3518 { + yyb3518 = yyj3518 > l } else { - yyb3492 = r.CheckBreak() + yyb3518 = r.CheckBreak() } - if yyb3492 { + if yyb3518 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43121,16 +43420,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3495 := &x.ObjectMeta - yyv3495.CodecDecodeSelf(d) + yyv3521 := &x.ObjectMeta + yyv3521.CodecDecodeSelf(d) } - yyj3492++ - if yyhl3492 { - yyb3492 = yyj3492 > l + yyj3518++ + if yyhl3518 { + yyb3518 = yyj3518 > l } else { - yyb3492 = r.CheckBreak() + yyb3518 = r.CheckBreak() } - if yyb3492 { + if yyb3518 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43140,13 +43439,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Range = string(r.DecodeString()) } - yyj3492++ - if yyhl3492 { - yyb3492 = yyj3492 > l + yyj3518++ + if yyhl3518 { + yyb3518 = yyj3518 > l } else { - yyb3492 = r.CheckBreak() + yyb3518 = r.CheckBreak() } - if yyb3492 { + if yyb3518 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43154,26 +43453,26 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3497 := &x.Data - yym3498 := z.DecBinary() - _ = yym3498 + yyv3523 := &x.Data + yym3524 := z.DecBinary() + _ = yym3524 if false { } else { - *yyv3497 = r.DecodeBytes(*(*[]byte)(yyv3497), false, false) + *yyv3523 = r.DecodeBytes(*(*[]byte)(yyv3523), false, false) } } for { - yyj3492++ - if yyhl3492 { - yyb3492 = yyj3492 > l + yyj3518++ + if yyhl3518 { + yyb3518 = yyj3518 > l } else { - yyb3492 = r.CheckBreak() + yyb3518 = r.CheckBreak() } - if yyb3492 { + if yyb3518 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3492-1, "") + z.DecStructFieldNotFound(yyj3518-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43183,9 +43482,9 @@ func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolume z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3499 := range v { + for _, yyv3525 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3499.CodecEncodeSelf(e) + yyv3525.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43195,75 +43494,75 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3500 := *v - yyh3500, yyl3500 := z.DecSliceHelperStart() - var yyc3500 bool - if yyl3500 == 0 { - if yyv3500 == nil { - yyv3500 = []PersistentVolumeAccessMode{} - yyc3500 = true - } else if len(yyv3500) != 0 { - yyv3500 = yyv3500[:0] - yyc3500 = true + yyv3526 := *v + yyh3526, yyl3526 := z.DecSliceHelperStart() + var yyc3526 bool + if yyl3526 == 0 { + if yyv3526 == nil { + yyv3526 = []PersistentVolumeAccessMode{} + yyc3526 = true + } else if len(yyv3526) != 0 { + yyv3526 = yyv3526[:0] + yyc3526 = true } - } else if yyl3500 > 0 { - var yyrr3500, yyrl3500 int - var yyrt3500 bool - if yyl3500 > cap(yyv3500) { + } else if yyl3526 > 0 { + var yyrr3526, yyrl3526 int + var yyrt3526 bool + if yyl3526 > cap(yyv3526) { - yyrl3500, yyrt3500 = z.DecInferLen(yyl3500, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3500 { - if yyrl3500 <= cap(yyv3500) { - yyv3500 = yyv3500[:yyrl3500] + yyrl3526, yyrt3526 = z.DecInferLen(yyl3526, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3526 { + if yyrl3526 <= cap(yyv3526) { + yyv3526 = yyv3526[:yyrl3526] } else { - yyv3500 = make([]PersistentVolumeAccessMode, yyrl3500) + yyv3526 = make([]PersistentVolumeAccessMode, yyrl3526) } } else { - yyv3500 = make([]PersistentVolumeAccessMode, yyrl3500) + yyv3526 = make([]PersistentVolumeAccessMode, yyrl3526) } - yyc3500 = true - yyrr3500 = len(yyv3500) - } else if yyl3500 != len(yyv3500) { - yyv3500 = yyv3500[:yyl3500] - yyc3500 = true + yyc3526 = true + yyrr3526 = len(yyv3526) + } else if yyl3526 != len(yyv3526) { + yyv3526 = yyv3526[:yyl3526] + yyc3526 = true } - yyj3500 := 0 - for ; yyj3500 < yyrr3500; yyj3500++ { - yyh3500.ElemContainerState(yyj3500) + yyj3526 := 0 + for ; yyj3526 < yyrr3526; yyj3526++ { + yyh3526.ElemContainerState(yyj3526) if r.TryDecodeAsNil() { - yyv3500[yyj3500] = "" + yyv3526[yyj3526] = "" } else { - yyv3500[yyj3500] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3526[yyj3526] = PersistentVolumeAccessMode(r.DecodeString()) } } - if yyrt3500 { - for ; yyj3500 < yyl3500; yyj3500++ { - yyv3500 = append(yyv3500, "") - yyh3500.ElemContainerState(yyj3500) + if yyrt3526 { + for ; yyj3526 < yyl3526; yyj3526++ { + yyv3526 = append(yyv3526, "") + yyh3526.ElemContainerState(yyj3526) if r.TryDecodeAsNil() { - yyv3500[yyj3500] = "" + yyv3526[yyj3526] = "" } else { - yyv3500[yyj3500] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3526[yyj3526] = PersistentVolumeAccessMode(r.DecodeString()) } } } } else { - yyj3500 := 0 - for ; !r.CheckBreak(); yyj3500++ { + yyj3526 := 0 + for ; !r.CheckBreak(); yyj3526++ { - if yyj3500 >= len(yyv3500) { - yyv3500 = append(yyv3500, "") // var yyz3500 PersistentVolumeAccessMode - yyc3500 = true + if yyj3526 >= len(yyv3526) { + yyv3526 = append(yyv3526, "") // var yyz3526 PersistentVolumeAccessMode + yyc3526 = true } - yyh3500.ElemContainerState(yyj3500) - if yyj3500 < len(yyv3500) { + yyh3526.ElemContainerState(yyj3526) + if yyj3526 < len(yyv3526) { if r.TryDecodeAsNil() { - yyv3500[yyj3500] = "" + yyv3526[yyj3526] = "" } else { - yyv3500[yyj3500] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3526[yyj3526] = PersistentVolumeAccessMode(r.DecodeString()) } } else { @@ -43271,17 +43570,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum } } - if yyj3500 < len(yyv3500) { - yyv3500 = yyv3500[:yyj3500] - yyc3500 = true - } else if yyj3500 == 0 && yyv3500 == nil { - yyv3500 = []PersistentVolumeAccessMode{} - yyc3500 = true + if yyj3526 < len(yyv3526) { + yyv3526 = yyv3526[:yyj3526] + yyc3526 = true + } else if yyj3526 == 0 && yyv3526 == nil { + yyv3526 = []PersistentVolumeAccessMode{} + yyc3526 = true } } - yyh3500.End() - if yyc3500 { - *v = yyv3500 + yyh3526.End() + if yyc3526 { + *v = yyv3526 } } @@ -43290,10 +43589,10 @@ func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3504 := range v { + for _, yyv3530 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3505 := &yyv3504 - yy3505.CodecEncodeSelf(e) + yy3531 := &yyv3530 + yy3531.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43303,83 +43602,83 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3506 := *v - yyh3506, yyl3506 := z.DecSliceHelperStart() - var yyc3506 bool - if yyl3506 == 0 { - if yyv3506 == nil { - yyv3506 = []PersistentVolume{} - yyc3506 = true - } else if len(yyv3506) != 0 { - yyv3506 = yyv3506[:0] - yyc3506 = true + yyv3532 := *v + yyh3532, yyl3532 := z.DecSliceHelperStart() + var yyc3532 bool + if yyl3532 == 0 { + if yyv3532 == nil { + yyv3532 = []PersistentVolume{} + yyc3532 = true + } else if len(yyv3532) != 0 { + yyv3532 = yyv3532[:0] + yyc3532 = true } - } else if yyl3506 > 0 { - var yyrr3506, yyrl3506 int - var yyrt3506 bool - if yyl3506 > cap(yyv3506) { + } else if yyl3532 > 0 { + var yyrr3532, yyrl3532 int + var yyrt3532 bool + if yyl3532 > cap(yyv3532) { - yyrg3506 := len(yyv3506) > 0 - yyv23506 := yyv3506 - yyrl3506, yyrt3506 = z.DecInferLen(yyl3506, z.DecBasicHandle().MaxInitLen, 384) - if yyrt3506 { - if yyrl3506 <= cap(yyv3506) { - yyv3506 = yyv3506[:yyrl3506] + yyrg3532 := len(yyv3532) > 0 + yyv23532 := yyv3532 + yyrl3532, yyrt3532 = z.DecInferLen(yyl3532, z.DecBasicHandle().MaxInitLen, 384) + if yyrt3532 { + if yyrl3532 <= cap(yyv3532) { + yyv3532 = yyv3532[:yyrl3532] } else { - yyv3506 = make([]PersistentVolume, yyrl3506) + yyv3532 = make([]PersistentVolume, yyrl3532) } } else { - yyv3506 = make([]PersistentVolume, yyrl3506) + yyv3532 = make([]PersistentVolume, yyrl3532) } - yyc3506 = true - yyrr3506 = len(yyv3506) - if yyrg3506 { - copy(yyv3506, yyv23506) + yyc3532 = true + yyrr3532 = len(yyv3532) + if yyrg3532 { + copy(yyv3532, yyv23532) } - } else if yyl3506 != len(yyv3506) { - yyv3506 = yyv3506[:yyl3506] - yyc3506 = true + } else if yyl3532 != len(yyv3532) { + yyv3532 = yyv3532[:yyl3532] + yyc3532 = true } - yyj3506 := 0 - for ; yyj3506 < yyrr3506; yyj3506++ { - yyh3506.ElemContainerState(yyj3506) + yyj3532 := 0 + for ; yyj3532 < yyrr3532; yyj3532++ { + yyh3532.ElemContainerState(yyj3532) if r.TryDecodeAsNil() { - yyv3506[yyj3506] = PersistentVolume{} + yyv3532[yyj3532] = PersistentVolume{} } else { - yyv3507 := &yyv3506[yyj3506] - yyv3507.CodecDecodeSelf(d) + yyv3533 := &yyv3532[yyj3532] + yyv3533.CodecDecodeSelf(d) } } - if yyrt3506 { - for ; yyj3506 < yyl3506; yyj3506++ { - yyv3506 = append(yyv3506, PersistentVolume{}) - yyh3506.ElemContainerState(yyj3506) + if yyrt3532 { + for ; yyj3532 < yyl3532; yyj3532++ { + yyv3532 = append(yyv3532, PersistentVolume{}) + yyh3532.ElemContainerState(yyj3532) if r.TryDecodeAsNil() { - yyv3506[yyj3506] = PersistentVolume{} + yyv3532[yyj3532] = PersistentVolume{} } else { - yyv3508 := &yyv3506[yyj3506] - yyv3508.CodecDecodeSelf(d) + yyv3534 := &yyv3532[yyj3532] + yyv3534.CodecDecodeSelf(d) } } } } else { - yyj3506 := 0 - for ; !r.CheckBreak(); yyj3506++ { + yyj3532 := 0 + for ; !r.CheckBreak(); yyj3532++ { - if yyj3506 >= len(yyv3506) { - yyv3506 = append(yyv3506, PersistentVolume{}) // var yyz3506 PersistentVolume - yyc3506 = true + if yyj3532 >= len(yyv3532) { + yyv3532 = append(yyv3532, PersistentVolume{}) // var yyz3532 PersistentVolume + yyc3532 = true } - yyh3506.ElemContainerState(yyj3506) - if yyj3506 < len(yyv3506) { + yyh3532.ElemContainerState(yyj3532) + if yyj3532 < len(yyv3532) { if r.TryDecodeAsNil() { - yyv3506[yyj3506] = PersistentVolume{} + yyv3532[yyj3532] = PersistentVolume{} } else { - yyv3509 := &yyv3506[yyj3506] - yyv3509.CodecDecodeSelf(d) + yyv3535 := &yyv3532[yyj3532] + yyv3535.CodecDecodeSelf(d) } } else { @@ -43387,17 +43686,17 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code } } - if yyj3506 < len(yyv3506) { - yyv3506 = yyv3506[:yyj3506] - yyc3506 = true - } else if yyj3506 == 0 && yyv3506 == nil { - yyv3506 = []PersistentVolume{} - yyc3506 = true + if yyj3532 < len(yyv3532) { + yyv3532 = yyv3532[:yyj3532] + yyc3532 = true + } else if yyj3532 == 0 && yyv3532 == nil { + yyv3532 = []PersistentVolume{} + yyc3532 = true } } - yyh3506.End() - if yyc3506 { - *v = yyv3506 + yyh3532.End() + if yyc3532 { + *v = yyv3532 } } @@ -43406,10 +43705,10 @@ func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3510 := range v { + for _, yyv3536 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3511 := &yyv3510 - yy3511.CodecEncodeSelf(e) + yy3537 := &yyv3536 + yy3537.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43419,83 +43718,83 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3512 := *v - yyh3512, yyl3512 := z.DecSliceHelperStart() - var yyc3512 bool - if yyl3512 == 0 { - if yyv3512 == nil { - yyv3512 = []PersistentVolumeClaim{} - yyc3512 = true - } else if len(yyv3512) != 0 { - yyv3512 = yyv3512[:0] - yyc3512 = true + yyv3538 := *v + yyh3538, yyl3538 := z.DecSliceHelperStart() + var yyc3538 bool + if yyl3538 == 0 { + if yyv3538 == nil { + yyv3538 = []PersistentVolumeClaim{} + yyc3538 = true + } else if len(yyv3538) != 0 { + yyv3538 = yyv3538[:0] + yyc3538 = true } - } else if yyl3512 > 0 { - var yyrr3512, yyrl3512 int - var yyrt3512 bool - if yyl3512 > cap(yyv3512) { + } else if yyl3538 > 0 { + var yyrr3538, yyrl3538 int + var yyrt3538 bool + if yyl3538 > cap(yyv3538) { - yyrg3512 := len(yyv3512) > 0 - yyv23512 := yyv3512 - yyrl3512, yyrt3512 = z.DecInferLen(yyl3512, z.DecBasicHandle().MaxInitLen, 296) - if yyrt3512 { - if yyrl3512 <= cap(yyv3512) { - yyv3512 = yyv3512[:yyrl3512] + yyrg3538 := len(yyv3538) > 0 + yyv23538 := yyv3538 + yyrl3538, yyrt3538 = z.DecInferLen(yyl3538, z.DecBasicHandle().MaxInitLen, 296) + if yyrt3538 { + if yyrl3538 <= cap(yyv3538) { + yyv3538 = yyv3538[:yyrl3538] } else { - yyv3512 = make([]PersistentVolumeClaim, yyrl3512) + yyv3538 = make([]PersistentVolumeClaim, yyrl3538) } } else { - yyv3512 = make([]PersistentVolumeClaim, yyrl3512) + yyv3538 = make([]PersistentVolumeClaim, yyrl3538) } - yyc3512 = true - yyrr3512 = len(yyv3512) - if yyrg3512 { - copy(yyv3512, yyv23512) + yyc3538 = true + yyrr3538 = len(yyv3538) + if yyrg3538 { + copy(yyv3538, yyv23538) } - } else if yyl3512 != len(yyv3512) { - yyv3512 = yyv3512[:yyl3512] - yyc3512 = true + } else if yyl3538 != len(yyv3538) { + yyv3538 = yyv3538[:yyl3538] + yyc3538 = true } - yyj3512 := 0 - for ; yyj3512 < yyrr3512; yyj3512++ { - yyh3512.ElemContainerState(yyj3512) + yyj3538 := 0 + for ; yyj3538 < yyrr3538; yyj3538++ { + yyh3538.ElemContainerState(yyj3538) if r.TryDecodeAsNil() { - yyv3512[yyj3512] = PersistentVolumeClaim{} + yyv3538[yyj3538] = PersistentVolumeClaim{} } else { - yyv3513 := &yyv3512[yyj3512] - yyv3513.CodecDecodeSelf(d) + yyv3539 := &yyv3538[yyj3538] + yyv3539.CodecDecodeSelf(d) } } - if yyrt3512 { - for ; yyj3512 < yyl3512; yyj3512++ { - yyv3512 = append(yyv3512, PersistentVolumeClaim{}) - yyh3512.ElemContainerState(yyj3512) + if yyrt3538 { + for ; yyj3538 < yyl3538; yyj3538++ { + yyv3538 = append(yyv3538, PersistentVolumeClaim{}) + yyh3538.ElemContainerState(yyj3538) if r.TryDecodeAsNil() { - yyv3512[yyj3512] = PersistentVolumeClaim{} + yyv3538[yyj3538] = PersistentVolumeClaim{} } else { - yyv3514 := &yyv3512[yyj3512] - yyv3514.CodecDecodeSelf(d) + yyv3540 := &yyv3538[yyj3538] + yyv3540.CodecDecodeSelf(d) } } } } else { - yyj3512 := 0 - for ; !r.CheckBreak(); yyj3512++ { + yyj3538 := 0 + for ; !r.CheckBreak(); yyj3538++ { - if yyj3512 >= len(yyv3512) { - yyv3512 = append(yyv3512, PersistentVolumeClaim{}) // var yyz3512 PersistentVolumeClaim - yyc3512 = true + if yyj3538 >= len(yyv3538) { + yyv3538 = append(yyv3538, PersistentVolumeClaim{}) // var yyz3538 PersistentVolumeClaim + yyc3538 = true } - yyh3512.ElemContainerState(yyj3512) - if yyj3512 < len(yyv3512) { + yyh3538.ElemContainerState(yyj3538) + if yyj3538 < len(yyv3538) { if r.TryDecodeAsNil() { - yyv3512[yyj3512] = PersistentVolumeClaim{} + yyv3538[yyj3538] = PersistentVolumeClaim{} } else { - yyv3515 := &yyv3512[yyj3512] - yyv3515.CodecDecodeSelf(d) + yyv3541 := &yyv3538[yyj3538] + yyv3541.CodecDecodeSelf(d) } } else { @@ -43503,17 +43802,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai } } - if yyj3512 < len(yyv3512) { - yyv3512 = yyv3512[:yyj3512] - yyc3512 = true - } else if yyj3512 == 0 && yyv3512 == nil { - yyv3512 = []PersistentVolumeClaim{} - yyc3512 = true + if yyj3538 < len(yyv3538) { + yyv3538 = yyv3538[:yyj3538] + yyc3538 = true + } else if yyj3538 == 0 && yyv3538 == nil { + yyv3538 = []PersistentVolumeClaim{} + yyc3538 = true } } - yyh3512.End() - if yyc3512 { - *v = yyv3512 + yyh3538.End() + if yyc3538 { + *v = yyv3538 } } @@ -43522,10 +43821,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3516 := range v { + for _, yyv3542 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3517 := &yyv3516 - yy3517.CodecEncodeSelf(e) + yy3543 := &yyv3542 + yy3543.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43535,83 +43834,83 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3518 := *v - yyh3518, yyl3518 := z.DecSliceHelperStart() - var yyc3518 bool - if yyl3518 == 0 { - if yyv3518 == nil { - yyv3518 = []DownwardAPIVolumeFile{} - yyc3518 = true - } else if len(yyv3518) != 0 { - yyv3518 = yyv3518[:0] - yyc3518 = true + yyv3544 := *v + yyh3544, yyl3544 := z.DecSliceHelperStart() + var yyc3544 bool + if yyl3544 == 0 { + if yyv3544 == nil { + yyv3544 = []DownwardAPIVolumeFile{} + yyc3544 = true + } else if len(yyv3544) != 0 { + yyv3544 = yyv3544[:0] + yyc3544 = true } - } else if yyl3518 > 0 { - var yyrr3518, yyrl3518 int - var yyrt3518 bool - if yyl3518 > cap(yyv3518) { + } else if yyl3544 > 0 { + var yyrr3544, yyrl3544 int + var yyrt3544 bool + if yyl3544 > cap(yyv3544) { - yyrg3518 := len(yyv3518) > 0 - yyv23518 := yyv3518 - yyrl3518, yyrt3518 = z.DecInferLen(yyl3518, z.DecBasicHandle().MaxInitLen, 48) - if yyrt3518 { - if yyrl3518 <= cap(yyv3518) { - yyv3518 = yyv3518[:yyrl3518] + yyrg3544 := len(yyv3544) > 0 + yyv23544 := yyv3544 + yyrl3544, yyrt3544 = z.DecInferLen(yyl3544, z.DecBasicHandle().MaxInitLen, 48) + if yyrt3544 { + if yyrl3544 <= cap(yyv3544) { + yyv3544 = yyv3544[:yyrl3544] } else { - yyv3518 = make([]DownwardAPIVolumeFile, yyrl3518) + yyv3544 = make([]DownwardAPIVolumeFile, yyrl3544) } } else { - yyv3518 = make([]DownwardAPIVolumeFile, yyrl3518) + yyv3544 = make([]DownwardAPIVolumeFile, yyrl3544) } - yyc3518 = true - yyrr3518 = len(yyv3518) - if yyrg3518 { - copy(yyv3518, yyv23518) + yyc3544 = true + yyrr3544 = len(yyv3544) + if yyrg3544 { + copy(yyv3544, yyv23544) } - } else if yyl3518 != len(yyv3518) { - yyv3518 = yyv3518[:yyl3518] - yyc3518 = true + } else if yyl3544 != len(yyv3544) { + yyv3544 = yyv3544[:yyl3544] + yyc3544 = true } - yyj3518 := 0 - for ; yyj3518 < yyrr3518; yyj3518++ { - yyh3518.ElemContainerState(yyj3518) + yyj3544 := 0 + for ; yyj3544 < yyrr3544; yyj3544++ { + yyh3544.ElemContainerState(yyj3544) if r.TryDecodeAsNil() { - yyv3518[yyj3518] = DownwardAPIVolumeFile{} + yyv3544[yyj3544] = DownwardAPIVolumeFile{} } else { - yyv3519 := &yyv3518[yyj3518] - yyv3519.CodecDecodeSelf(d) + yyv3545 := &yyv3544[yyj3544] + yyv3545.CodecDecodeSelf(d) } } - if yyrt3518 { - for ; yyj3518 < yyl3518; yyj3518++ { - yyv3518 = append(yyv3518, DownwardAPIVolumeFile{}) - yyh3518.ElemContainerState(yyj3518) + if yyrt3544 { + for ; yyj3544 < yyl3544; yyj3544++ { + yyv3544 = append(yyv3544, DownwardAPIVolumeFile{}) + yyh3544.ElemContainerState(yyj3544) if r.TryDecodeAsNil() { - yyv3518[yyj3518] = DownwardAPIVolumeFile{} + yyv3544[yyj3544] = DownwardAPIVolumeFile{} } else { - yyv3520 := &yyv3518[yyj3518] - yyv3520.CodecDecodeSelf(d) + yyv3546 := &yyv3544[yyj3544] + yyv3546.CodecDecodeSelf(d) } } } } else { - yyj3518 := 0 - for ; !r.CheckBreak(); yyj3518++ { + yyj3544 := 0 + for ; !r.CheckBreak(); yyj3544++ { - if yyj3518 >= len(yyv3518) { - yyv3518 = append(yyv3518, DownwardAPIVolumeFile{}) // var yyz3518 DownwardAPIVolumeFile - yyc3518 = true + if yyj3544 >= len(yyv3544) { + yyv3544 = append(yyv3544, DownwardAPIVolumeFile{}) // var yyz3544 DownwardAPIVolumeFile + yyc3544 = true } - yyh3518.ElemContainerState(yyj3518) - if yyj3518 < len(yyv3518) { + yyh3544.ElemContainerState(yyj3544) + if yyj3544 < len(yyv3544) { if r.TryDecodeAsNil() { - yyv3518[yyj3518] = DownwardAPIVolumeFile{} + yyv3544[yyj3544] = DownwardAPIVolumeFile{} } else { - yyv3521 := &yyv3518[yyj3518] - yyv3521.CodecDecodeSelf(d) + yyv3547 := &yyv3544[yyj3544] + yyv3547.CodecDecodeSelf(d) } } else { @@ -43619,17 +43918,17 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj3518 < len(yyv3518) { - yyv3518 = yyv3518[:yyj3518] - yyc3518 = true - } else if yyj3518 == 0 && yyv3518 == nil { - yyv3518 = []DownwardAPIVolumeFile{} - yyc3518 = true + if yyj3544 < len(yyv3544) { + yyv3544 = yyv3544[:yyj3544] + yyc3544 = true + } else if yyj3544 == 0 && yyv3544 == nil { + yyv3544 = []DownwardAPIVolumeFile{} + yyc3544 = true } } - yyh3518.End() - if yyc3518 { - *v = yyv3518 + yyh3544.End() + if yyc3544 { + *v = yyv3544 } } @@ -43638,9 +43937,9 @@ func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3522 := range v { + for _, yyv3548 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3522.CodecEncodeSelf(e) + yyv3548.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43650,75 +43949,75 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3523 := *v - yyh3523, yyl3523 := z.DecSliceHelperStart() - var yyc3523 bool - if yyl3523 == 0 { - if yyv3523 == nil { - yyv3523 = []Capability{} - yyc3523 = true - } else if len(yyv3523) != 0 { - yyv3523 = yyv3523[:0] - yyc3523 = true + yyv3549 := *v + yyh3549, yyl3549 := z.DecSliceHelperStart() + var yyc3549 bool + if yyl3549 == 0 { + if yyv3549 == nil { + yyv3549 = []Capability{} + yyc3549 = true + } else if len(yyv3549) != 0 { + yyv3549 = yyv3549[:0] + yyc3549 = true } - } else if yyl3523 > 0 { - var yyrr3523, yyrl3523 int - var yyrt3523 bool - if yyl3523 > cap(yyv3523) { + } else if yyl3549 > 0 { + var yyrr3549, yyrl3549 int + var yyrt3549 bool + if yyl3549 > cap(yyv3549) { - yyrl3523, yyrt3523 = z.DecInferLen(yyl3523, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3523 { - if yyrl3523 <= cap(yyv3523) { - yyv3523 = yyv3523[:yyrl3523] + yyrl3549, yyrt3549 = z.DecInferLen(yyl3549, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3549 { + if yyrl3549 <= cap(yyv3549) { + yyv3549 = yyv3549[:yyrl3549] } else { - yyv3523 = make([]Capability, yyrl3523) + yyv3549 = make([]Capability, yyrl3549) } } else { - yyv3523 = make([]Capability, yyrl3523) + yyv3549 = make([]Capability, yyrl3549) } - yyc3523 = true - yyrr3523 = len(yyv3523) - } else if yyl3523 != len(yyv3523) { - yyv3523 = yyv3523[:yyl3523] - yyc3523 = true + yyc3549 = true + yyrr3549 = len(yyv3549) + } else if yyl3549 != len(yyv3549) { + yyv3549 = yyv3549[:yyl3549] + yyc3549 = true } - yyj3523 := 0 - for ; yyj3523 < yyrr3523; yyj3523++ { - yyh3523.ElemContainerState(yyj3523) + yyj3549 := 0 + for ; yyj3549 < yyrr3549; yyj3549++ { + yyh3549.ElemContainerState(yyj3549) if r.TryDecodeAsNil() { - yyv3523[yyj3523] = "" + yyv3549[yyj3549] = "" } else { - yyv3523[yyj3523] = Capability(r.DecodeString()) + yyv3549[yyj3549] = Capability(r.DecodeString()) } } - if yyrt3523 { - for ; yyj3523 < yyl3523; yyj3523++ { - yyv3523 = append(yyv3523, "") - yyh3523.ElemContainerState(yyj3523) + if yyrt3549 { + for ; yyj3549 < yyl3549; yyj3549++ { + yyv3549 = append(yyv3549, "") + yyh3549.ElemContainerState(yyj3549) if r.TryDecodeAsNil() { - yyv3523[yyj3523] = "" + yyv3549[yyj3549] = "" } else { - yyv3523[yyj3523] = Capability(r.DecodeString()) + yyv3549[yyj3549] = Capability(r.DecodeString()) } } } } else { - yyj3523 := 0 - for ; !r.CheckBreak(); yyj3523++ { + yyj3549 := 0 + for ; !r.CheckBreak(); yyj3549++ { - if yyj3523 >= len(yyv3523) { - yyv3523 = append(yyv3523, "") // var yyz3523 Capability - yyc3523 = true + if yyj3549 >= len(yyv3549) { + yyv3549 = append(yyv3549, "") // var yyz3549 Capability + yyc3549 = true } - yyh3523.ElemContainerState(yyj3523) - if yyj3523 < len(yyv3523) { + yyh3549.ElemContainerState(yyj3549) + if yyj3549 < len(yyv3549) { if r.TryDecodeAsNil() { - yyv3523[yyj3523] = "" + yyv3549[yyj3549] = "" } else { - yyv3523[yyj3523] = Capability(r.DecodeString()) + yyv3549[yyj3549] = Capability(r.DecodeString()) } } else { @@ -43726,17 +44025,17 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode } } - if yyj3523 < len(yyv3523) { - yyv3523 = yyv3523[:yyj3523] - yyc3523 = true - } else if yyj3523 == 0 && yyv3523 == nil { - yyv3523 = []Capability{} - yyc3523 = true + if yyj3549 < len(yyv3549) { + yyv3549 = yyv3549[:yyj3549] + yyc3549 = true + } else if yyj3549 == 0 && yyv3549 == nil { + yyv3549 = []Capability{} + yyc3549 = true } } - yyh3523.End() - if yyc3523 { - *v = yyv3523 + yyh3549.End() + if yyc3549 { + *v = yyv3549 } } @@ -43745,10 +44044,10 @@ func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3527 := range v { + for _, yyv3553 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3528 := &yyv3527 - yy3528.CodecEncodeSelf(e) + yy3554 := &yyv3553 + yy3554.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43758,83 +44057,83 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3529 := *v - yyh3529, yyl3529 := z.DecSliceHelperStart() - var yyc3529 bool - if yyl3529 == 0 { - if yyv3529 == nil { - yyv3529 = []ContainerPort{} - yyc3529 = true - } else if len(yyv3529) != 0 { - yyv3529 = yyv3529[:0] - yyc3529 = true + yyv3555 := *v + yyh3555, yyl3555 := z.DecSliceHelperStart() + var yyc3555 bool + if yyl3555 == 0 { + if yyv3555 == nil { + yyv3555 = []ContainerPort{} + yyc3555 = true + } else if len(yyv3555) != 0 { + yyv3555 = yyv3555[:0] + yyc3555 = true } - } else if yyl3529 > 0 { - var yyrr3529, yyrl3529 int - var yyrt3529 bool - if yyl3529 > cap(yyv3529) { + } else if yyl3555 > 0 { + var yyrr3555, yyrl3555 int + var yyrt3555 bool + if yyl3555 > cap(yyv3555) { - yyrg3529 := len(yyv3529) > 0 - yyv23529 := yyv3529 - yyrl3529, yyrt3529 = z.DecInferLen(yyl3529, z.DecBasicHandle().MaxInitLen, 64) - if yyrt3529 { - if yyrl3529 <= cap(yyv3529) { - yyv3529 = yyv3529[:yyrl3529] + yyrg3555 := len(yyv3555) > 0 + yyv23555 := yyv3555 + yyrl3555, yyrt3555 = z.DecInferLen(yyl3555, z.DecBasicHandle().MaxInitLen, 64) + if yyrt3555 { + if yyrl3555 <= cap(yyv3555) { + yyv3555 = yyv3555[:yyrl3555] } else { - yyv3529 = make([]ContainerPort, yyrl3529) + yyv3555 = make([]ContainerPort, yyrl3555) } } else { - yyv3529 = make([]ContainerPort, yyrl3529) + yyv3555 = make([]ContainerPort, yyrl3555) } - yyc3529 = true - yyrr3529 = len(yyv3529) - if yyrg3529 { - copy(yyv3529, yyv23529) + yyc3555 = true + yyrr3555 = len(yyv3555) + if yyrg3555 { + copy(yyv3555, yyv23555) } - } else if yyl3529 != len(yyv3529) { - yyv3529 = yyv3529[:yyl3529] - yyc3529 = true + } else if yyl3555 != len(yyv3555) { + yyv3555 = yyv3555[:yyl3555] + yyc3555 = true } - yyj3529 := 0 - for ; yyj3529 < yyrr3529; yyj3529++ { - yyh3529.ElemContainerState(yyj3529) + yyj3555 := 0 + for ; yyj3555 < yyrr3555; yyj3555++ { + yyh3555.ElemContainerState(yyj3555) if r.TryDecodeAsNil() { - yyv3529[yyj3529] = ContainerPort{} + yyv3555[yyj3555] = ContainerPort{} } else { - yyv3530 := &yyv3529[yyj3529] - yyv3530.CodecDecodeSelf(d) + yyv3556 := &yyv3555[yyj3555] + yyv3556.CodecDecodeSelf(d) } } - if yyrt3529 { - for ; yyj3529 < yyl3529; yyj3529++ { - yyv3529 = append(yyv3529, ContainerPort{}) - yyh3529.ElemContainerState(yyj3529) + if yyrt3555 { + for ; yyj3555 < yyl3555; yyj3555++ { + yyv3555 = append(yyv3555, ContainerPort{}) + yyh3555.ElemContainerState(yyj3555) if r.TryDecodeAsNil() { - yyv3529[yyj3529] = ContainerPort{} + yyv3555[yyj3555] = ContainerPort{} } else { - yyv3531 := &yyv3529[yyj3529] - yyv3531.CodecDecodeSelf(d) + yyv3557 := &yyv3555[yyj3555] + yyv3557.CodecDecodeSelf(d) } } } } else { - yyj3529 := 0 - for ; !r.CheckBreak(); yyj3529++ { + yyj3555 := 0 + for ; !r.CheckBreak(); yyj3555++ { - if yyj3529 >= len(yyv3529) { - yyv3529 = append(yyv3529, ContainerPort{}) // var yyz3529 ContainerPort - yyc3529 = true + if yyj3555 >= len(yyv3555) { + yyv3555 = append(yyv3555, ContainerPort{}) // var yyz3555 ContainerPort + yyc3555 = true } - yyh3529.ElemContainerState(yyj3529) - if yyj3529 < len(yyv3529) { + yyh3555.ElemContainerState(yyj3555) + if yyj3555 < len(yyv3555) { if r.TryDecodeAsNil() { - yyv3529[yyj3529] = ContainerPort{} + yyv3555[yyj3555] = ContainerPort{} } else { - yyv3532 := &yyv3529[yyj3529] - yyv3532.CodecDecodeSelf(d) + yyv3558 := &yyv3555[yyj3555] + yyv3558.CodecDecodeSelf(d) } } else { @@ -43842,17 +44141,17 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. } } - if yyj3529 < len(yyv3529) { - yyv3529 = yyv3529[:yyj3529] - yyc3529 = true - } else if yyj3529 == 0 && yyv3529 == nil { - yyv3529 = []ContainerPort{} - yyc3529 = true + if yyj3555 < len(yyv3555) { + yyv3555 = yyv3555[:yyj3555] + yyc3555 = true + } else if yyj3555 == 0 && yyv3555 == nil { + yyv3555 = []ContainerPort{} + yyc3555 = true } } - yyh3529.End() - if yyc3529 { - *v = yyv3529 + yyh3555.End() + if yyc3555 { + *v = yyv3555 } } @@ -43861,10 +44160,10 @@ func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3533 := range v { + for _, yyv3559 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3534 := &yyv3533 - yy3534.CodecEncodeSelf(e) + yy3560 := &yyv3559 + yy3560.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43874,83 +44173,83 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3535 := *v - yyh3535, yyl3535 := z.DecSliceHelperStart() - var yyc3535 bool - if yyl3535 == 0 { - if yyv3535 == nil { - yyv3535 = []EnvVar{} - yyc3535 = true - } else if len(yyv3535) != 0 { - yyv3535 = yyv3535[:0] - yyc3535 = true + yyv3561 := *v + yyh3561, yyl3561 := z.DecSliceHelperStart() + var yyc3561 bool + if yyl3561 == 0 { + if yyv3561 == nil { + yyv3561 = []EnvVar{} + yyc3561 = true + } else if len(yyv3561) != 0 { + yyv3561 = yyv3561[:0] + yyc3561 = true } - } else if yyl3535 > 0 { - var yyrr3535, yyrl3535 int - var yyrt3535 bool - if yyl3535 > cap(yyv3535) { + } else if yyl3561 > 0 { + var yyrr3561, yyrl3561 int + var yyrt3561 bool + if yyl3561 > cap(yyv3561) { - yyrg3535 := len(yyv3535) > 0 - yyv23535 := yyv3535 - yyrl3535, yyrt3535 = z.DecInferLen(yyl3535, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3535 { - if yyrl3535 <= cap(yyv3535) { - yyv3535 = yyv3535[:yyrl3535] + yyrg3561 := len(yyv3561) > 0 + yyv23561 := yyv3561 + yyrl3561, yyrt3561 = z.DecInferLen(yyl3561, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3561 { + if yyrl3561 <= cap(yyv3561) { + yyv3561 = yyv3561[:yyrl3561] } else { - yyv3535 = make([]EnvVar, yyrl3535) + yyv3561 = make([]EnvVar, yyrl3561) } } else { - yyv3535 = make([]EnvVar, yyrl3535) + yyv3561 = make([]EnvVar, yyrl3561) } - yyc3535 = true - yyrr3535 = len(yyv3535) - if yyrg3535 { - copy(yyv3535, yyv23535) + yyc3561 = true + yyrr3561 = len(yyv3561) + if yyrg3561 { + copy(yyv3561, yyv23561) } - } else if yyl3535 != len(yyv3535) { - yyv3535 = yyv3535[:yyl3535] - yyc3535 = true + } else if yyl3561 != len(yyv3561) { + yyv3561 = yyv3561[:yyl3561] + yyc3561 = true } - yyj3535 := 0 - for ; yyj3535 < yyrr3535; yyj3535++ { - yyh3535.ElemContainerState(yyj3535) + yyj3561 := 0 + for ; yyj3561 < yyrr3561; yyj3561++ { + yyh3561.ElemContainerState(yyj3561) if r.TryDecodeAsNil() { - yyv3535[yyj3535] = EnvVar{} + yyv3561[yyj3561] = EnvVar{} } else { - yyv3536 := &yyv3535[yyj3535] - yyv3536.CodecDecodeSelf(d) + yyv3562 := &yyv3561[yyj3561] + yyv3562.CodecDecodeSelf(d) } } - if yyrt3535 { - for ; yyj3535 < yyl3535; yyj3535++ { - yyv3535 = append(yyv3535, EnvVar{}) - yyh3535.ElemContainerState(yyj3535) + if yyrt3561 { + for ; yyj3561 < yyl3561; yyj3561++ { + yyv3561 = append(yyv3561, EnvVar{}) + yyh3561.ElemContainerState(yyj3561) if r.TryDecodeAsNil() { - yyv3535[yyj3535] = EnvVar{} + yyv3561[yyj3561] = EnvVar{} } else { - yyv3537 := &yyv3535[yyj3535] - yyv3537.CodecDecodeSelf(d) + yyv3563 := &yyv3561[yyj3561] + yyv3563.CodecDecodeSelf(d) } } } } else { - yyj3535 := 0 - for ; !r.CheckBreak(); yyj3535++ { + yyj3561 := 0 + for ; !r.CheckBreak(); yyj3561++ { - if yyj3535 >= len(yyv3535) { - yyv3535 = append(yyv3535, EnvVar{}) // var yyz3535 EnvVar - yyc3535 = true + if yyj3561 >= len(yyv3561) { + yyv3561 = append(yyv3561, EnvVar{}) // var yyz3561 EnvVar + yyc3561 = true } - yyh3535.ElemContainerState(yyj3535) - if yyj3535 < len(yyv3535) { + yyh3561.ElemContainerState(yyj3561) + if yyj3561 < len(yyv3561) { if r.TryDecodeAsNil() { - yyv3535[yyj3535] = EnvVar{} + yyv3561[yyj3561] = EnvVar{} } else { - yyv3538 := &yyv3535[yyj3535] - yyv3538.CodecDecodeSelf(d) + yyv3564 := &yyv3561[yyj3561] + yyv3564.CodecDecodeSelf(d) } } else { @@ -43958,17 +44257,17 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { } } - if yyj3535 < len(yyv3535) { - yyv3535 = yyv3535[:yyj3535] - yyc3535 = true - } else if yyj3535 == 0 && yyv3535 == nil { - yyv3535 = []EnvVar{} - yyc3535 = true + if yyj3561 < len(yyv3561) { + yyv3561 = yyv3561[:yyj3561] + yyc3561 = true + } else if yyj3561 == 0 && yyv3561 == nil { + yyv3561 = []EnvVar{} + yyc3561 = true } } - yyh3535.End() - if yyc3535 { - *v = yyv3535 + yyh3561.End() + if yyc3561 { + *v = yyv3561 } } @@ -43977,10 +44276,10 @@ func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3539 := range v { + for _, yyv3565 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3540 := &yyv3539 - yy3540.CodecEncodeSelf(e) + yy3566 := &yyv3565 + yy3566.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43990,83 +44289,83 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3541 := *v - yyh3541, yyl3541 := z.DecSliceHelperStart() - var yyc3541 bool - if yyl3541 == 0 { - if yyv3541 == nil { - yyv3541 = []VolumeMount{} - yyc3541 = true - } else if len(yyv3541) != 0 { - yyv3541 = yyv3541[:0] - yyc3541 = true + yyv3567 := *v + yyh3567, yyl3567 := z.DecSliceHelperStart() + var yyc3567 bool + if yyl3567 == 0 { + if yyv3567 == nil { + yyv3567 = []VolumeMount{} + yyc3567 = true + } else if len(yyv3567) != 0 { + yyv3567 = yyv3567[:0] + yyc3567 = true } - } else if yyl3541 > 0 { - var yyrr3541, yyrl3541 int - var yyrt3541 bool - if yyl3541 > cap(yyv3541) { + } else if yyl3567 > 0 { + var yyrr3567, yyrl3567 int + var yyrt3567 bool + if yyl3567 > cap(yyv3567) { - yyrg3541 := len(yyv3541) > 0 - yyv23541 := yyv3541 - yyrl3541, yyrt3541 = z.DecInferLen(yyl3541, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3541 { - if yyrl3541 <= cap(yyv3541) { - yyv3541 = yyv3541[:yyrl3541] + yyrg3567 := len(yyv3567) > 0 + yyv23567 := yyv3567 + yyrl3567, yyrt3567 = z.DecInferLen(yyl3567, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3567 { + if yyrl3567 <= cap(yyv3567) { + yyv3567 = yyv3567[:yyrl3567] } else { - yyv3541 = make([]VolumeMount, yyrl3541) + yyv3567 = make([]VolumeMount, yyrl3567) } } else { - yyv3541 = make([]VolumeMount, yyrl3541) + yyv3567 = make([]VolumeMount, yyrl3567) } - yyc3541 = true - yyrr3541 = len(yyv3541) - if yyrg3541 { - copy(yyv3541, yyv23541) + yyc3567 = true + yyrr3567 = len(yyv3567) + if yyrg3567 { + copy(yyv3567, yyv23567) } - } else if yyl3541 != len(yyv3541) { - yyv3541 = yyv3541[:yyl3541] - yyc3541 = true + } else if yyl3567 != len(yyv3567) { + yyv3567 = yyv3567[:yyl3567] + yyc3567 = true } - yyj3541 := 0 - for ; yyj3541 < yyrr3541; yyj3541++ { - yyh3541.ElemContainerState(yyj3541) + yyj3567 := 0 + for ; yyj3567 < yyrr3567; yyj3567++ { + yyh3567.ElemContainerState(yyj3567) if r.TryDecodeAsNil() { - yyv3541[yyj3541] = VolumeMount{} + yyv3567[yyj3567] = VolumeMount{} } else { - yyv3542 := &yyv3541[yyj3541] - yyv3542.CodecDecodeSelf(d) + yyv3568 := &yyv3567[yyj3567] + yyv3568.CodecDecodeSelf(d) } } - if yyrt3541 { - for ; yyj3541 < yyl3541; yyj3541++ { - yyv3541 = append(yyv3541, VolumeMount{}) - yyh3541.ElemContainerState(yyj3541) + if yyrt3567 { + for ; yyj3567 < yyl3567; yyj3567++ { + yyv3567 = append(yyv3567, VolumeMount{}) + yyh3567.ElemContainerState(yyj3567) if r.TryDecodeAsNil() { - yyv3541[yyj3541] = VolumeMount{} + yyv3567[yyj3567] = VolumeMount{} } else { - yyv3543 := &yyv3541[yyj3541] - yyv3543.CodecDecodeSelf(d) + yyv3569 := &yyv3567[yyj3567] + yyv3569.CodecDecodeSelf(d) } } } } else { - yyj3541 := 0 - for ; !r.CheckBreak(); yyj3541++ { + yyj3567 := 0 + for ; !r.CheckBreak(); yyj3567++ { - if yyj3541 >= len(yyv3541) { - yyv3541 = append(yyv3541, VolumeMount{}) // var yyz3541 VolumeMount - yyc3541 = true + if yyj3567 >= len(yyv3567) { + yyv3567 = append(yyv3567, VolumeMount{}) // var yyz3567 VolumeMount + yyc3567 = true } - yyh3541.ElemContainerState(yyj3541) - if yyj3541 < len(yyv3541) { + yyh3567.ElemContainerState(yyj3567) + if yyj3567 < len(yyv3567) { if r.TryDecodeAsNil() { - yyv3541[yyj3541] = VolumeMount{} + yyv3567[yyj3567] = VolumeMount{} } else { - yyv3544 := &yyv3541[yyj3541] - yyv3544.CodecDecodeSelf(d) + yyv3570 := &yyv3567[yyj3567] + yyv3570.CodecDecodeSelf(d) } } else { @@ -44074,17 +44373,17 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco } } - if yyj3541 < len(yyv3541) { - yyv3541 = yyv3541[:yyj3541] - yyc3541 = true - } else if yyj3541 == 0 && yyv3541 == nil { - yyv3541 = []VolumeMount{} - yyc3541 = true + if yyj3567 < len(yyv3567) { + yyv3567 = yyv3567[:yyj3567] + yyc3567 = true + } else if yyj3567 == 0 && yyv3567 == nil { + yyv3567 = []VolumeMount{} + yyc3567 = true } } - yyh3541.End() - if yyc3541 { - *v = yyv3541 + yyh3567.End() + if yyc3567 { + *v = yyv3567 } } @@ -44093,10 +44392,10 @@ func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3545 := range v { + for _, yyv3571 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3546 := &yyv3545 - yy3546.CodecEncodeSelf(e) + yy3572 := &yyv3571 + yy3572.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44106,83 +44405,83 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3547 := *v - yyh3547, yyl3547 := z.DecSliceHelperStart() - var yyc3547 bool - if yyl3547 == 0 { - if yyv3547 == nil { - yyv3547 = []Pod{} - yyc3547 = true - } else if len(yyv3547) != 0 { - yyv3547 = yyv3547[:0] - yyc3547 = true + yyv3573 := *v + yyh3573, yyl3573 := z.DecSliceHelperStart() + var yyc3573 bool + if yyl3573 == 0 { + if yyv3573 == nil { + yyv3573 = []Pod{} + yyc3573 = true + } else if len(yyv3573) != 0 { + yyv3573 = yyv3573[:0] + yyc3573 = true } - } else if yyl3547 > 0 { - var yyrr3547, yyrl3547 int - var yyrt3547 bool - if yyl3547 > cap(yyv3547) { + } else if yyl3573 > 0 { + var yyrr3573, yyrl3573 int + var yyrt3573 bool + if yyl3573 > cap(yyv3573) { - yyrg3547 := len(yyv3547) > 0 - yyv23547 := yyv3547 - yyrl3547, yyrt3547 = z.DecInferLen(yyl3547, z.DecBasicHandle().MaxInitLen, 496) - if yyrt3547 { - if yyrl3547 <= cap(yyv3547) { - yyv3547 = yyv3547[:yyrl3547] + yyrg3573 := len(yyv3573) > 0 + yyv23573 := yyv3573 + yyrl3573, yyrt3573 = z.DecInferLen(yyl3573, z.DecBasicHandle().MaxInitLen, 496) + if yyrt3573 { + if yyrl3573 <= cap(yyv3573) { + yyv3573 = yyv3573[:yyrl3573] } else { - yyv3547 = make([]Pod, yyrl3547) + yyv3573 = make([]Pod, yyrl3573) } } else { - yyv3547 = make([]Pod, yyrl3547) + yyv3573 = make([]Pod, yyrl3573) } - yyc3547 = true - yyrr3547 = len(yyv3547) - if yyrg3547 { - copy(yyv3547, yyv23547) + yyc3573 = true + yyrr3573 = len(yyv3573) + if yyrg3573 { + copy(yyv3573, yyv23573) } - } else if yyl3547 != len(yyv3547) { - yyv3547 = yyv3547[:yyl3547] - yyc3547 = true + } else if yyl3573 != len(yyv3573) { + yyv3573 = yyv3573[:yyl3573] + yyc3573 = true } - yyj3547 := 0 - for ; yyj3547 < yyrr3547; yyj3547++ { - yyh3547.ElemContainerState(yyj3547) + yyj3573 := 0 + for ; yyj3573 < yyrr3573; yyj3573++ { + yyh3573.ElemContainerState(yyj3573) if r.TryDecodeAsNil() { - yyv3547[yyj3547] = Pod{} + yyv3573[yyj3573] = Pod{} } else { - yyv3548 := &yyv3547[yyj3547] - yyv3548.CodecDecodeSelf(d) + yyv3574 := &yyv3573[yyj3573] + yyv3574.CodecDecodeSelf(d) } } - if yyrt3547 { - for ; yyj3547 < yyl3547; yyj3547++ { - yyv3547 = append(yyv3547, Pod{}) - yyh3547.ElemContainerState(yyj3547) + if yyrt3573 { + for ; yyj3573 < yyl3573; yyj3573++ { + yyv3573 = append(yyv3573, Pod{}) + yyh3573.ElemContainerState(yyj3573) if r.TryDecodeAsNil() { - yyv3547[yyj3547] = Pod{} + yyv3573[yyj3573] = Pod{} } else { - yyv3549 := &yyv3547[yyj3547] - yyv3549.CodecDecodeSelf(d) + yyv3575 := &yyv3573[yyj3573] + yyv3575.CodecDecodeSelf(d) } } } } else { - yyj3547 := 0 - for ; !r.CheckBreak(); yyj3547++ { + yyj3573 := 0 + for ; !r.CheckBreak(); yyj3573++ { - if yyj3547 >= len(yyv3547) { - yyv3547 = append(yyv3547, Pod{}) // var yyz3547 Pod - yyc3547 = true + if yyj3573 >= len(yyv3573) { + yyv3573 = append(yyv3573, Pod{}) // var yyz3573 Pod + yyc3573 = true } - yyh3547.ElemContainerState(yyj3547) - if yyj3547 < len(yyv3547) { + yyh3573.ElemContainerState(yyj3573) + if yyj3573 < len(yyv3573) { if r.TryDecodeAsNil() { - yyv3547[yyj3547] = Pod{} + yyv3573[yyj3573] = Pod{} } else { - yyv3550 := &yyv3547[yyj3547] - yyv3550.CodecDecodeSelf(d) + yyv3576 := &yyv3573[yyj3573] + yyv3576.CodecDecodeSelf(d) } } else { @@ -44190,17 +44489,17 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } } - if yyj3547 < len(yyv3547) { - yyv3547 = yyv3547[:yyj3547] - yyc3547 = true - } else if yyj3547 == 0 && yyv3547 == nil { - yyv3547 = []Pod{} - yyc3547 = true + if yyj3573 < len(yyv3573) { + yyv3573 = yyv3573[:yyj3573] + yyc3573 = true + } else if yyj3573 == 0 && yyv3573 == nil { + yyv3573 = []Pod{} + yyc3573 = true } } - yyh3547.End() - if yyc3547 { - *v = yyv3547 + yyh3573.End() + if yyc3573 { + *v = yyv3573 } } @@ -44209,10 +44508,10 @@ func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3551 := range v { + for _, yyv3577 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3552 := &yyv3551 - yy3552.CodecEncodeSelf(e) + yy3578 := &yyv3577 + yy3578.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44222,83 +44521,83 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3553 := *v - yyh3553, yyl3553 := z.DecSliceHelperStart() - var yyc3553 bool - if yyl3553 == 0 { - if yyv3553 == nil { - yyv3553 = []Volume{} - yyc3553 = true - } else if len(yyv3553) != 0 { - yyv3553 = yyv3553[:0] - yyc3553 = true + yyv3579 := *v + yyh3579, yyl3579 := z.DecSliceHelperStart() + var yyc3579 bool + if yyl3579 == 0 { + if yyv3579 == nil { + yyv3579 = []Volume{} + yyc3579 = true + } else if len(yyv3579) != 0 { + yyv3579 = yyv3579[:0] + yyc3579 = true } - } else if yyl3553 > 0 { - var yyrr3553, yyrl3553 int - var yyrt3553 bool - if yyl3553 > cap(yyv3553) { + } else if yyl3579 > 0 { + var yyrr3579, yyrl3579 int + var yyrt3579 bool + if yyl3579 > cap(yyv3579) { - yyrg3553 := len(yyv3553) > 0 - yyv23553 := yyv3553 - yyrl3553, yyrt3553 = z.DecInferLen(yyl3553, z.DecBasicHandle().MaxInitLen, 144) - if yyrt3553 { - if yyrl3553 <= cap(yyv3553) { - yyv3553 = yyv3553[:yyrl3553] + yyrg3579 := len(yyv3579) > 0 + yyv23579 := yyv3579 + yyrl3579, yyrt3579 = z.DecInferLen(yyl3579, z.DecBasicHandle().MaxInitLen, 144) + if yyrt3579 { + if yyrl3579 <= cap(yyv3579) { + yyv3579 = yyv3579[:yyrl3579] } else { - yyv3553 = make([]Volume, yyrl3553) + yyv3579 = make([]Volume, yyrl3579) } } else { - yyv3553 = make([]Volume, yyrl3553) + yyv3579 = make([]Volume, yyrl3579) } - yyc3553 = true - yyrr3553 = len(yyv3553) - if yyrg3553 { - copy(yyv3553, yyv23553) + yyc3579 = true + yyrr3579 = len(yyv3579) + if yyrg3579 { + copy(yyv3579, yyv23579) } - } else if yyl3553 != len(yyv3553) { - yyv3553 = yyv3553[:yyl3553] - yyc3553 = true + } else if yyl3579 != len(yyv3579) { + yyv3579 = yyv3579[:yyl3579] + yyc3579 = true } - yyj3553 := 0 - for ; yyj3553 < yyrr3553; yyj3553++ { - yyh3553.ElemContainerState(yyj3553) + yyj3579 := 0 + for ; yyj3579 < yyrr3579; yyj3579++ { + yyh3579.ElemContainerState(yyj3579) if r.TryDecodeAsNil() { - yyv3553[yyj3553] = Volume{} + yyv3579[yyj3579] = Volume{} } else { - yyv3554 := &yyv3553[yyj3553] - yyv3554.CodecDecodeSelf(d) + yyv3580 := &yyv3579[yyj3579] + yyv3580.CodecDecodeSelf(d) } } - if yyrt3553 { - for ; yyj3553 < yyl3553; yyj3553++ { - yyv3553 = append(yyv3553, Volume{}) - yyh3553.ElemContainerState(yyj3553) + if yyrt3579 { + for ; yyj3579 < yyl3579; yyj3579++ { + yyv3579 = append(yyv3579, Volume{}) + yyh3579.ElemContainerState(yyj3579) if r.TryDecodeAsNil() { - yyv3553[yyj3553] = Volume{} + yyv3579[yyj3579] = Volume{} } else { - yyv3555 := &yyv3553[yyj3553] - yyv3555.CodecDecodeSelf(d) + yyv3581 := &yyv3579[yyj3579] + yyv3581.CodecDecodeSelf(d) } } } } else { - yyj3553 := 0 - for ; !r.CheckBreak(); yyj3553++ { + yyj3579 := 0 + for ; !r.CheckBreak(); yyj3579++ { - if yyj3553 >= len(yyv3553) { - yyv3553 = append(yyv3553, Volume{}) // var yyz3553 Volume - yyc3553 = true + if yyj3579 >= len(yyv3579) { + yyv3579 = append(yyv3579, Volume{}) // var yyz3579 Volume + yyc3579 = true } - yyh3553.ElemContainerState(yyj3553) - if yyj3553 < len(yyv3553) { + yyh3579.ElemContainerState(yyj3579) + if yyj3579 < len(yyv3579) { if r.TryDecodeAsNil() { - yyv3553[yyj3553] = Volume{} + yyv3579[yyj3579] = Volume{} } else { - yyv3556 := &yyv3553[yyj3553] - yyv3556.CodecDecodeSelf(d) + yyv3582 := &yyv3579[yyj3579] + yyv3582.CodecDecodeSelf(d) } } else { @@ -44306,17 +44605,17 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { } } - if yyj3553 < len(yyv3553) { - yyv3553 = yyv3553[:yyj3553] - yyc3553 = true - } else if yyj3553 == 0 && yyv3553 == nil { - yyv3553 = []Volume{} - yyc3553 = true + if yyj3579 < len(yyv3579) { + yyv3579 = yyv3579[:yyj3579] + yyc3579 = true + } else if yyj3579 == 0 && yyv3579 == nil { + yyv3579 = []Volume{} + yyc3579 = true } } - yyh3553.End() - if yyc3553 { - *v = yyv3553 + yyh3579.End() + if yyc3579 { + *v = yyv3579 } } @@ -44325,10 +44624,10 @@ func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3557 := range v { + for _, yyv3583 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3558 := &yyv3557 - yy3558.CodecEncodeSelf(e) + yy3584 := &yyv3583 + yy3584.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44338,83 +44637,83 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3559 := *v - yyh3559, yyl3559 := z.DecSliceHelperStart() - var yyc3559 bool - if yyl3559 == 0 { - if yyv3559 == nil { - yyv3559 = []Container{} - yyc3559 = true - } else if len(yyv3559) != 0 { - yyv3559 = yyv3559[:0] - yyc3559 = true + yyv3585 := *v + yyh3585, yyl3585 := z.DecSliceHelperStart() + var yyc3585 bool + if yyl3585 == 0 { + if yyv3585 == nil { + yyv3585 = []Container{} + yyc3585 = true + } else if len(yyv3585) != 0 { + yyv3585 = yyv3585[:0] + yyc3585 = true } - } else if yyl3559 > 0 { - var yyrr3559, yyrl3559 int - var yyrt3559 bool - if yyl3559 > cap(yyv3559) { + } else if yyl3585 > 0 { + var yyrr3585, yyrl3585 int + var yyrt3585 bool + if yyl3585 > cap(yyv3585) { - yyrg3559 := len(yyv3559) > 0 - yyv23559 := yyv3559 - yyrl3559, yyrt3559 = z.DecInferLen(yyl3559, z.DecBasicHandle().MaxInitLen, 256) - if yyrt3559 { - if yyrl3559 <= cap(yyv3559) { - yyv3559 = yyv3559[:yyrl3559] + yyrg3585 := len(yyv3585) > 0 + yyv23585 := yyv3585 + yyrl3585, yyrt3585 = z.DecInferLen(yyl3585, z.DecBasicHandle().MaxInitLen, 256) + if yyrt3585 { + if yyrl3585 <= cap(yyv3585) { + yyv3585 = yyv3585[:yyrl3585] } else { - yyv3559 = make([]Container, yyrl3559) + yyv3585 = make([]Container, yyrl3585) } } else { - yyv3559 = make([]Container, yyrl3559) + yyv3585 = make([]Container, yyrl3585) } - yyc3559 = true - yyrr3559 = len(yyv3559) - if yyrg3559 { - copy(yyv3559, yyv23559) + yyc3585 = true + yyrr3585 = len(yyv3585) + if yyrg3585 { + copy(yyv3585, yyv23585) } - } else if yyl3559 != len(yyv3559) { - yyv3559 = yyv3559[:yyl3559] - yyc3559 = true + } else if yyl3585 != len(yyv3585) { + yyv3585 = yyv3585[:yyl3585] + yyc3585 = true } - yyj3559 := 0 - for ; yyj3559 < yyrr3559; yyj3559++ { - yyh3559.ElemContainerState(yyj3559) + yyj3585 := 0 + for ; yyj3585 < yyrr3585; yyj3585++ { + yyh3585.ElemContainerState(yyj3585) if r.TryDecodeAsNil() { - yyv3559[yyj3559] = Container{} + yyv3585[yyj3585] = Container{} } else { - yyv3560 := &yyv3559[yyj3559] - yyv3560.CodecDecodeSelf(d) + yyv3586 := &yyv3585[yyj3585] + yyv3586.CodecDecodeSelf(d) } } - if yyrt3559 { - for ; yyj3559 < yyl3559; yyj3559++ { - yyv3559 = append(yyv3559, Container{}) - yyh3559.ElemContainerState(yyj3559) + if yyrt3585 { + for ; yyj3585 < yyl3585; yyj3585++ { + yyv3585 = append(yyv3585, Container{}) + yyh3585.ElemContainerState(yyj3585) if r.TryDecodeAsNil() { - yyv3559[yyj3559] = Container{} + yyv3585[yyj3585] = Container{} } else { - yyv3561 := &yyv3559[yyj3559] - yyv3561.CodecDecodeSelf(d) + yyv3587 := &yyv3585[yyj3585] + yyv3587.CodecDecodeSelf(d) } } } } else { - yyj3559 := 0 - for ; !r.CheckBreak(); yyj3559++ { + yyj3585 := 0 + for ; !r.CheckBreak(); yyj3585++ { - if yyj3559 >= len(yyv3559) { - yyv3559 = append(yyv3559, Container{}) // var yyz3559 Container - yyc3559 = true + if yyj3585 >= len(yyv3585) { + yyv3585 = append(yyv3585, Container{}) // var yyz3585 Container + yyc3585 = true } - yyh3559.ElemContainerState(yyj3559) - if yyj3559 < len(yyv3559) { + yyh3585.ElemContainerState(yyj3585) + if yyj3585 < len(yyv3585) { if r.TryDecodeAsNil() { - yyv3559[yyj3559] = Container{} + yyv3585[yyj3585] = Container{} } else { - yyv3562 := &yyv3559[yyj3559] - yyv3562.CodecDecodeSelf(d) + yyv3588 := &yyv3585[yyj3585] + yyv3588.CodecDecodeSelf(d) } } else { @@ -44422,17 +44721,17 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) } } - if yyj3559 < len(yyv3559) { - yyv3559 = yyv3559[:yyj3559] - yyc3559 = true - } else if yyj3559 == 0 && yyv3559 == nil { - yyv3559 = []Container{} - yyc3559 = true + if yyj3585 < len(yyv3585) { + yyv3585 = yyv3585[:yyj3585] + yyc3585 = true + } else if yyj3585 == 0 && yyv3585 == nil { + yyv3585 = []Container{} + yyc3585 = true } } - yyh3559.End() - if yyc3559 { - *v = yyv3559 + yyh3585.End() + if yyc3585 { + *v = yyv3585 } } @@ -44441,10 +44740,10 @@ func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3563 := range v { + for _, yyv3589 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3564 := &yyv3563 - yy3564.CodecEncodeSelf(e) + yy3590 := &yyv3589 + yy3590.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44454,83 +44753,83 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3565 := *v - yyh3565, yyl3565 := z.DecSliceHelperStart() - var yyc3565 bool - if yyl3565 == 0 { - if yyv3565 == nil { - yyv3565 = []LocalObjectReference{} - yyc3565 = true - } else if len(yyv3565) != 0 { - yyv3565 = yyv3565[:0] - yyc3565 = true + yyv3591 := *v + yyh3591, yyl3591 := z.DecSliceHelperStart() + var yyc3591 bool + if yyl3591 == 0 { + if yyv3591 == nil { + yyv3591 = []LocalObjectReference{} + yyc3591 = true + } else if len(yyv3591) != 0 { + yyv3591 = yyv3591[:0] + yyc3591 = true } - } else if yyl3565 > 0 { - var yyrr3565, yyrl3565 int - var yyrt3565 bool - if yyl3565 > cap(yyv3565) { + } else if yyl3591 > 0 { + var yyrr3591, yyrl3591 int + var yyrt3591 bool + if yyl3591 > cap(yyv3591) { - yyrg3565 := len(yyv3565) > 0 - yyv23565 := yyv3565 - yyrl3565, yyrt3565 = z.DecInferLen(yyl3565, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3565 { - if yyrl3565 <= cap(yyv3565) { - yyv3565 = yyv3565[:yyrl3565] + yyrg3591 := len(yyv3591) > 0 + yyv23591 := yyv3591 + yyrl3591, yyrt3591 = z.DecInferLen(yyl3591, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3591 { + if yyrl3591 <= cap(yyv3591) { + yyv3591 = yyv3591[:yyrl3591] } else { - yyv3565 = make([]LocalObjectReference, yyrl3565) + yyv3591 = make([]LocalObjectReference, yyrl3591) } } else { - yyv3565 = make([]LocalObjectReference, yyrl3565) + yyv3591 = make([]LocalObjectReference, yyrl3591) } - yyc3565 = true - yyrr3565 = len(yyv3565) - if yyrg3565 { - copy(yyv3565, yyv23565) + yyc3591 = true + yyrr3591 = len(yyv3591) + if yyrg3591 { + copy(yyv3591, yyv23591) } - } else if yyl3565 != len(yyv3565) { - yyv3565 = yyv3565[:yyl3565] - yyc3565 = true + } else if yyl3591 != len(yyv3591) { + yyv3591 = yyv3591[:yyl3591] + yyc3591 = true } - yyj3565 := 0 - for ; yyj3565 < yyrr3565; yyj3565++ { - yyh3565.ElemContainerState(yyj3565) + yyj3591 := 0 + for ; yyj3591 < yyrr3591; yyj3591++ { + yyh3591.ElemContainerState(yyj3591) if r.TryDecodeAsNil() { - yyv3565[yyj3565] = LocalObjectReference{} + yyv3591[yyj3591] = LocalObjectReference{} } else { - yyv3566 := &yyv3565[yyj3565] - yyv3566.CodecDecodeSelf(d) + yyv3592 := &yyv3591[yyj3591] + yyv3592.CodecDecodeSelf(d) } } - if yyrt3565 { - for ; yyj3565 < yyl3565; yyj3565++ { - yyv3565 = append(yyv3565, LocalObjectReference{}) - yyh3565.ElemContainerState(yyj3565) + if yyrt3591 { + for ; yyj3591 < yyl3591; yyj3591++ { + yyv3591 = append(yyv3591, LocalObjectReference{}) + yyh3591.ElemContainerState(yyj3591) if r.TryDecodeAsNil() { - yyv3565[yyj3565] = LocalObjectReference{} + yyv3591[yyj3591] = LocalObjectReference{} } else { - yyv3567 := &yyv3565[yyj3565] - yyv3567.CodecDecodeSelf(d) + yyv3593 := &yyv3591[yyj3591] + yyv3593.CodecDecodeSelf(d) } } } } else { - yyj3565 := 0 - for ; !r.CheckBreak(); yyj3565++ { + yyj3591 := 0 + for ; !r.CheckBreak(); yyj3591++ { - if yyj3565 >= len(yyv3565) { - yyv3565 = append(yyv3565, LocalObjectReference{}) // var yyz3565 LocalObjectReference - yyc3565 = true + if yyj3591 >= len(yyv3591) { + yyv3591 = append(yyv3591, LocalObjectReference{}) // var yyz3591 LocalObjectReference + yyc3591 = true } - yyh3565.ElemContainerState(yyj3565) - if yyj3565 < len(yyv3565) { + yyh3591.ElemContainerState(yyj3591) + if yyj3591 < len(yyv3591) { if r.TryDecodeAsNil() { - yyv3565[yyj3565] = LocalObjectReference{} + yyv3591[yyj3591] = LocalObjectReference{} } else { - yyv3568 := &yyv3565[yyj3565] - yyv3568.CodecDecodeSelf(d) + yyv3594 := &yyv3591[yyj3591] + yyv3594.CodecDecodeSelf(d) } } else { @@ -44538,17 +44837,17 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, } } - if yyj3565 < len(yyv3565) { - yyv3565 = yyv3565[:yyj3565] - yyc3565 = true - } else if yyj3565 == 0 && yyv3565 == nil { - yyv3565 = []LocalObjectReference{} - yyc3565 = true + if yyj3591 < len(yyv3591) { + yyv3591 = yyv3591[:yyj3591] + yyc3591 = true + } else if yyj3591 == 0 && yyv3591 == nil { + yyv3591 = []LocalObjectReference{} + yyc3591 = true } } - yyh3565.End() - if yyc3565 { - *v = yyv3565 + yyh3591.End() + if yyc3591 { + *v = yyv3591 } } @@ -44557,10 +44856,10 @@ func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3569 := range v { + for _, yyv3595 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3570 := &yyv3569 - yy3570.CodecEncodeSelf(e) + yy3596 := &yyv3595 + yy3596.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44570,83 +44869,83 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3571 := *v - yyh3571, yyl3571 := z.DecSliceHelperStart() - var yyc3571 bool - if yyl3571 == 0 { - if yyv3571 == nil { - yyv3571 = []PodCondition{} - yyc3571 = true - } else if len(yyv3571) != 0 { - yyv3571 = yyv3571[:0] - yyc3571 = true + yyv3597 := *v + yyh3597, yyl3597 := z.DecSliceHelperStart() + var yyc3597 bool + if yyl3597 == 0 { + if yyv3597 == nil { + yyv3597 = []PodCondition{} + yyc3597 = true + } else if len(yyv3597) != 0 { + yyv3597 = yyv3597[:0] + yyc3597 = true } - } else if yyl3571 > 0 { - var yyrr3571, yyrl3571 int - var yyrt3571 bool - if yyl3571 > cap(yyv3571) { + } else if yyl3597 > 0 { + var yyrr3597, yyrl3597 int + var yyrt3597 bool + if yyl3597 > cap(yyv3597) { - yyrg3571 := len(yyv3571) > 0 - yyv23571 := yyv3571 - yyrl3571, yyrt3571 = z.DecInferLen(yyl3571, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3571 { - if yyrl3571 <= cap(yyv3571) { - yyv3571 = yyv3571[:yyrl3571] + yyrg3597 := len(yyv3597) > 0 + yyv23597 := yyv3597 + yyrl3597, yyrt3597 = z.DecInferLen(yyl3597, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3597 { + if yyrl3597 <= cap(yyv3597) { + yyv3597 = yyv3597[:yyrl3597] } else { - yyv3571 = make([]PodCondition, yyrl3571) + yyv3597 = make([]PodCondition, yyrl3597) } } else { - yyv3571 = make([]PodCondition, yyrl3571) + yyv3597 = make([]PodCondition, yyrl3597) } - yyc3571 = true - yyrr3571 = len(yyv3571) - if yyrg3571 { - copy(yyv3571, yyv23571) + yyc3597 = true + yyrr3597 = len(yyv3597) + if yyrg3597 { + copy(yyv3597, yyv23597) } - } else if yyl3571 != len(yyv3571) { - yyv3571 = yyv3571[:yyl3571] - yyc3571 = true + } else if yyl3597 != len(yyv3597) { + yyv3597 = yyv3597[:yyl3597] + yyc3597 = true } - yyj3571 := 0 - for ; yyj3571 < yyrr3571; yyj3571++ { - yyh3571.ElemContainerState(yyj3571) + yyj3597 := 0 + for ; yyj3597 < yyrr3597; yyj3597++ { + yyh3597.ElemContainerState(yyj3597) if r.TryDecodeAsNil() { - yyv3571[yyj3571] = PodCondition{} + yyv3597[yyj3597] = PodCondition{} } else { - yyv3572 := &yyv3571[yyj3571] - yyv3572.CodecDecodeSelf(d) + yyv3598 := &yyv3597[yyj3597] + yyv3598.CodecDecodeSelf(d) } } - if yyrt3571 { - for ; yyj3571 < yyl3571; yyj3571++ { - yyv3571 = append(yyv3571, PodCondition{}) - yyh3571.ElemContainerState(yyj3571) + if yyrt3597 { + for ; yyj3597 < yyl3597; yyj3597++ { + yyv3597 = append(yyv3597, PodCondition{}) + yyh3597.ElemContainerState(yyj3597) if r.TryDecodeAsNil() { - yyv3571[yyj3571] = PodCondition{} + yyv3597[yyj3597] = PodCondition{} } else { - yyv3573 := &yyv3571[yyj3571] - yyv3573.CodecDecodeSelf(d) + yyv3599 := &yyv3597[yyj3597] + yyv3599.CodecDecodeSelf(d) } } } } else { - yyj3571 := 0 - for ; !r.CheckBreak(); yyj3571++ { + yyj3597 := 0 + for ; !r.CheckBreak(); yyj3597++ { - if yyj3571 >= len(yyv3571) { - yyv3571 = append(yyv3571, PodCondition{}) // var yyz3571 PodCondition - yyc3571 = true + if yyj3597 >= len(yyv3597) { + yyv3597 = append(yyv3597, PodCondition{}) // var yyz3597 PodCondition + yyc3597 = true } - yyh3571.ElemContainerState(yyj3571) - if yyj3571 < len(yyv3571) { + yyh3597.ElemContainerState(yyj3597) + if yyj3597 < len(yyv3597) { if r.TryDecodeAsNil() { - yyv3571[yyj3571] = PodCondition{} + yyv3597[yyj3597] = PodCondition{} } else { - yyv3574 := &yyv3571[yyj3571] - yyv3574.CodecDecodeSelf(d) + yyv3600 := &yyv3597[yyj3597] + yyv3600.CodecDecodeSelf(d) } } else { @@ -44654,17 +44953,17 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De } } - if yyj3571 < len(yyv3571) { - yyv3571 = yyv3571[:yyj3571] - yyc3571 = true - } else if yyj3571 == 0 && yyv3571 == nil { - yyv3571 = []PodCondition{} - yyc3571 = true + if yyj3597 < len(yyv3597) { + yyv3597 = yyv3597[:yyj3597] + yyc3597 = true + } else if yyj3597 == 0 && yyv3597 == nil { + yyv3597 = []PodCondition{} + yyc3597 = true } } - yyh3571.End() - if yyc3571 { - *v = yyv3571 + yyh3597.End() + if yyc3597 { + *v = yyv3597 } } @@ -44673,10 +44972,10 @@ func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3575 := range v { + for _, yyv3601 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3576 := &yyv3575 - yy3576.CodecEncodeSelf(e) + yy3602 := &yyv3601 + yy3602.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44686,83 +44985,83 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3577 := *v - yyh3577, yyl3577 := z.DecSliceHelperStart() - var yyc3577 bool - if yyl3577 == 0 { - if yyv3577 == nil { - yyv3577 = []ContainerStatus{} - yyc3577 = true - } else if len(yyv3577) != 0 { - yyv3577 = yyv3577[:0] - yyc3577 = true + yyv3603 := *v + yyh3603, yyl3603 := z.DecSliceHelperStart() + var yyc3603 bool + if yyl3603 == 0 { + if yyv3603 == nil { + yyv3603 = []ContainerStatus{} + yyc3603 = true + } else if len(yyv3603) != 0 { + yyv3603 = yyv3603[:0] + yyc3603 = true } - } else if yyl3577 > 0 { - var yyrr3577, yyrl3577 int - var yyrt3577 bool - if yyl3577 > cap(yyv3577) { + } else if yyl3603 > 0 { + var yyrr3603, yyrl3603 int + var yyrt3603 bool + if yyl3603 > cap(yyv3603) { - yyrg3577 := len(yyv3577) > 0 - yyv23577 := yyv3577 - yyrl3577, yyrt3577 = z.DecInferLen(yyl3577, z.DecBasicHandle().MaxInitLen, 128) - if yyrt3577 { - if yyrl3577 <= cap(yyv3577) { - yyv3577 = yyv3577[:yyrl3577] + yyrg3603 := len(yyv3603) > 0 + yyv23603 := yyv3603 + yyrl3603, yyrt3603 = z.DecInferLen(yyl3603, z.DecBasicHandle().MaxInitLen, 128) + if yyrt3603 { + if yyrl3603 <= cap(yyv3603) { + yyv3603 = yyv3603[:yyrl3603] } else { - yyv3577 = make([]ContainerStatus, yyrl3577) + yyv3603 = make([]ContainerStatus, yyrl3603) } } else { - yyv3577 = make([]ContainerStatus, yyrl3577) + yyv3603 = make([]ContainerStatus, yyrl3603) } - yyc3577 = true - yyrr3577 = len(yyv3577) - if yyrg3577 { - copy(yyv3577, yyv23577) + yyc3603 = true + yyrr3603 = len(yyv3603) + if yyrg3603 { + copy(yyv3603, yyv23603) } - } else if yyl3577 != len(yyv3577) { - yyv3577 = yyv3577[:yyl3577] - yyc3577 = true + } else if yyl3603 != len(yyv3603) { + yyv3603 = yyv3603[:yyl3603] + yyc3603 = true } - yyj3577 := 0 - for ; yyj3577 < yyrr3577; yyj3577++ { - yyh3577.ElemContainerState(yyj3577) + yyj3603 := 0 + for ; yyj3603 < yyrr3603; yyj3603++ { + yyh3603.ElemContainerState(yyj3603) if r.TryDecodeAsNil() { - yyv3577[yyj3577] = ContainerStatus{} + yyv3603[yyj3603] = ContainerStatus{} } else { - yyv3578 := &yyv3577[yyj3577] - yyv3578.CodecDecodeSelf(d) + yyv3604 := &yyv3603[yyj3603] + yyv3604.CodecDecodeSelf(d) } } - if yyrt3577 { - for ; yyj3577 < yyl3577; yyj3577++ { - yyv3577 = append(yyv3577, ContainerStatus{}) - yyh3577.ElemContainerState(yyj3577) + if yyrt3603 { + for ; yyj3603 < yyl3603; yyj3603++ { + yyv3603 = append(yyv3603, ContainerStatus{}) + yyh3603.ElemContainerState(yyj3603) if r.TryDecodeAsNil() { - yyv3577[yyj3577] = ContainerStatus{} + yyv3603[yyj3603] = ContainerStatus{} } else { - yyv3579 := &yyv3577[yyj3577] - yyv3579.CodecDecodeSelf(d) + yyv3605 := &yyv3603[yyj3603] + yyv3605.CodecDecodeSelf(d) } } } } else { - yyj3577 := 0 - for ; !r.CheckBreak(); yyj3577++ { + yyj3603 := 0 + for ; !r.CheckBreak(); yyj3603++ { - if yyj3577 >= len(yyv3577) { - yyv3577 = append(yyv3577, ContainerStatus{}) // var yyz3577 ContainerStatus - yyc3577 = true + if yyj3603 >= len(yyv3603) { + yyv3603 = append(yyv3603, ContainerStatus{}) // var yyz3603 ContainerStatus + yyc3603 = true } - yyh3577.ElemContainerState(yyj3577) - if yyj3577 < len(yyv3577) { + yyh3603.ElemContainerState(yyj3603) + if yyj3603 < len(yyv3603) { if r.TryDecodeAsNil() { - yyv3577[yyj3577] = ContainerStatus{} + yyv3603[yyj3603] = ContainerStatus{} } else { - yyv3580 := &yyv3577[yyj3577] - yyv3580.CodecDecodeSelf(d) + yyv3606 := &yyv3603[yyj3603] + yyv3606.CodecDecodeSelf(d) } } else { @@ -44770,17 +45069,17 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 } } - if yyj3577 < len(yyv3577) { - yyv3577 = yyv3577[:yyj3577] - yyc3577 = true - } else if yyj3577 == 0 && yyv3577 == nil { - yyv3577 = []ContainerStatus{} - yyc3577 = true + if yyj3603 < len(yyv3603) { + yyv3603 = yyv3603[:yyj3603] + yyc3603 = true + } else if yyj3603 == 0 && yyv3603 == nil { + yyv3603 = []ContainerStatus{} + yyc3603 = true } } - yyh3577.End() - if yyc3577 { - *v = yyv3577 + yyh3603.End() + if yyc3603 { + *v = yyv3603 } } @@ -44789,10 +45088,10 @@ func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3581 := range v { + for _, yyv3607 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3582 := &yyv3581 - yy3582.CodecEncodeSelf(e) + yy3608 := &yyv3607 + yy3608.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44802,83 +45101,83 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3583 := *v - yyh3583, yyl3583 := z.DecSliceHelperStart() - var yyc3583 bool - if yyl3583 == 0 { - if yyv3583 == nil { - yyv3583 = []PodTemplate{} - yyc3583 = true - } else if len(yyv3583) != 0 { - yyv3583 = yyv3583[:0] - yyc3583 = true + yyv3609 := *v + yyh3609, yyl3609 := z.DecSliceHelperStart() + var yyc3609 bool + if yyl3609 == 0 { + if yyv3609 == nil { + yyv3609 = []PodTemplate{} + yyc3609 = true + } else if len(yyv3609) != 0 { + yyv3609 = yyv3609[:0] + yyc3609 = true } - } else if yyl3583 > 0 { - var yyrr3583, yyrl3583 int - var yyrt3583 bool - if yyl3583 > cap(yyv3583) { + } else if yyl3609 > 0 { + var yyrr3609, yyrl3609 int + var yyrt3609 bool + if yyl3609 > cap(yyv3609) { - yyrg3583 := len(yyv3583) > 0 - yyv23583 := yyv3583 - yyrl3583, yyrt3583 = z.DecInferLen(yyl3583, z.DecBasicHandle().MaxInitLen, 520) - if yyrt3583 { - if yyrl3583 <= cap(yyv3583) { - yyv3583 = yyv3583[:yyrl3583] + yyrg3609 := len(yyv3609) > 0 + yyv23609 := yyv3609 + yyrl3609, yyrt3609 = z.DecInferLen(yyl3609, z.DecBasicHandle().MaxInitLen, 520) + if yyrt3609 { + if yyrl3609 <= cap(yyv3609) { + yyv3609 = yyv3609[:yyrl3609] } else { - yyv3583 = make([]PodTemplate, yyrl3583) + yyv3609 = make([]PodTemplate, yyrl3609) } } else { - yyv3583 = make([]PodTemplate, yyrl3583) + yyv3609 = make([]PodTemplate, yyrl3609) } - yyc3583 = true - yyrr3583 = len(yyv3583) - if yyrg3583 { - copy(yyv3583, yyv23583) + yyc3609 = true + yyrr3609 = len(yyv3609) + if yyrg3609 { + copy(yyv3609, yyv23609) } - } else if yyl3583 != len(yyv3583) { - yyv3583 = yyv3583[:yyl3583] - yyc3583 = true + } else if yyl3609 != len(yyv3609) { + yyv3609 = yyv3609[:yyl3609] + yyc3609 = true } - yyj3583 := 0 - for ; yyj3583 < yyrr3583; yyj3583++ { - yyh3583.ElemContainerState(yyj3583) + yyj3609 := 0 + for ; yyj3609 < yyrr3609; yyj3609++ { + yyh3609.ElemContainerState(yyj3609) if r.TryDecodeAsNil() { - yyv3583[yyj3583] = PodTemplate{} + yyv3609[yyj3609] = PodTemplate{} } else { - yyv3584 := &yyv3583[yyj3583] - yyv3584.CodecDecodeSelf(d) + yyv3610 := &yyv3609[yyj3609] + yyv3610.CodecDecodeSelf(d) } } - if yyrt3583 { - for ; yyj3583 < yyl3583; yyj3583++ { - yyv3583 = append(yyv3583, PodTemplate{}) - yyh3583.ElemContainerState(yyj3583) + if yyrt3609 { + for ; yyj3609 < yyl3609; yyj3609++ { + yyv3609 = append(yyv3609, PodTemplate{}) + yyh3609.ElemContainerState(yyj3609) if r.TryDecodeAsNil() { - yyv3583[yyj3583] = PodTemplate{} + yyv3609[yyj3609] = PodTemplate{} } else { - yyv3585 := &yyv3583[yyj3583] - yyv3585.CodecDecodeSelf(d) + yyv3611 := &yyv3609[yyj3609] + yyv3611.CodecDecodeSelf(d) } } } } else { - yyj3583 := 0 - for ; !r.CheckBreak(); yyj3583++ { + yyj3609 := 0 + for ; !r.CheckBreak(); yyj3609++ { - if yyj3583 >= len(yyv3583) { - yyv3583 = append(yyv3583, PodTemplate{}) // var yyz3583 PodTemplate - yyc3583 = true + if yyj3609 >= len(yyv3609) { + yyv3609 = append(yyv3609, PodTemplate{}) // var yyz3609 PodTemplate + yyc3609 = true } - yyh3583.ElemContainerState(yyj3583) - if yyj3583 < len(yyv3583) { + yyh3609.ElemContainerState(yyj3609) + if yyj3609 < len(yyv3609) { if r.TryDecodeAsNil() { - yyv3583[yyj3583] = PodTemplate{} + yyv3609[yyj3609] = PodTemplate{} } else { - yyv3586 := &yyv3583[yyj3583] - yyv3586.CodecDecodeSelf(d) + yyv3612 := &yyv3609[yyj3609] + yyv3612.CodecDecodeSelf(d) } } else { @@ -44886,17 +45185,17 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } - if yyj3583 < len(yyv3583) { - yyv3583 = yyv3583[:yyj3583] - yyc3583 = true - } else if yyj3583 == 0 && yyv3583 == nil { - yyv3583 = []PodTemplate{} - yyc3583 = true + if yyj3609 < len(yyv3609) { + yyv3609 = yyv3609[:yyj3609] + yyc3609 = true + } else if yyj3609 == 0 && yyv3609 == nil { + yyv3609 = []PodTemplate{} + yyc3609 = true } } - yyh3583.End() - if yyc3583 { - *v = yyv3583 + yyh3609.End() + if yyc3609 { + *v = yyv3609 } } @@ -44905,10 +45204,10 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3587 := range v { + for _, yyv3613 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3588 := &yyv3587 - yy3588.CodecEncodeSelf(e) + yy3614 := &yyv3613 + yy3614.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44918,83 +45217,83 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3589 := *v - yyh3589, yyl3589 := z.DecSliceHelperStart() - var yyc3589 bool - if yyl3589 == 0 { - if yyv3589 == nil { - yyv3589 = []ReplicationController{} - yyc3589 = true - } else if len(yyv3589) != 0 { - yyv3589 = yyv3589[:0] - yyc3589 = true + yyv3615 := *v + yyh3615, yyl3615 := z.DecSliceHelperStart() + var yyc3615 bool + if yyl3615 == 0 { + if yyv3615 == nil { + yyv3615 = []ReplicationController{} + yyc3615 = true + } else if len(yyv3615) != 0 { + yyv3615 = yyv3615[:0] + yyc3615 = true } - } else if yyl3589 > 0 { - var yyrr3589, yyrl3589 int - var yyrt3589 bool - if yyl3589 > cap(yyv3589) { + } else if yyl3615 > 0 { + var yyrr3615, yyrl3615 int + var yyrt3615 bool + if yyl3615 > cap(yyv3615) { - yyrg3589 := len(yyv3589) > 0 - yyv23589 := yyv3589 - yyrl3589, yyrt3589 = z.DecInferLen(yyl3589, z.DecBasicHandle().MaxInitLen, 232) - if yyrt3589 { - if yyrl3589 <= cap(yyv3589) { - yyv3589 = yyv3589[:yyrl3589] + yyrg3615 := len(yyv3615) > 0 + yyv23615 := yyv3615 + yyrl3615, yyrt3615 = z.DecInferLen(yyl3615, z.DecBasicHandle().MaxInitLen, 232) + if yyrt3615 { + if yyrl3615 <= cap(yyv3615) { + yyv3615 = yyv3615[:yyrl3615] } else { - yyv3589 = make([]ReplicationController, yyrl3589) + yyv3615 = make([]ReplicationController, yyrl3615) } } else { - yyv3589 = make([]ReplicationController, yyrl3589) + yyv3615 = make([]ReplicationController, yyrl3615) } - yyc3589 = true - yyrr3589 = len(yyv3589) - if yyrg3589 { - copy(yyv3589, yyv23589) + yyc3615 = true + yyrr3615 = len(yyv3615) + if yyrg3615 { + copy(yyv3615, yyv23615) } - } else if yyl3589 != len(yyv3589) { - yyv3589 = yyv3589[:yyl3589] - yyc3589 = true + } else if yyl3615 != len(yyv3615) { + yyv3615 = yyv3615[:yyl3615] + yyc3615 = true } - yyj3589 := 0 - for ; yyj3589 < yyrr3589; yyj3589++ { - yyh3589.ElemContainerState(yyj3589) + yyj3615 := 0 + for ; yyj3615 < yyrr3615; yyj3615++ { + yyh3615.ElemContainerState(yyj3615) if r.TryDecodeAsNil() { - yyv3589[yyj3589] = ReplicationController{} + yyv3615[yyj3615] = ReplicationController{} } else { - yyv3590 := &yyv3589[yyj3589] - yyv3590.CodecDecodeSelf(d) + yyv3616 := &yyv3615[yyj3615] + yyv3616.CodecDecodeSelf(d) } } - if yyrt3589 { - for ; yyj3589 < yyl3589; yyj3589++ { - yyv3589 = append(yyv3589, ReplicationController{}) - yyh3589.ElemContainerState(yyj3589) + if yyrt3615 { + for ; yyj3615 < yyl3615; yyj3615++ { + yyv3615 = append(yyv3615, ReplicationController{}) + yyh3615.ElemContainerState(yyj3615) if r.TryDecodeAsNil() { - yyv3589[yyj3589] = ReplicationController{} + yyv3615[yyj3615] = ReplicationController{} } else { - yyv3591 := &yyv3589[yyj3589] - yyv3591.CodecDecodeSelf(d) + yyv3617 := &yyv3615[yyj3615] + yyv3617.CodecDecodeSelf(d) } } } } else { - yyj3589 := 0 - for ; !r.CheckBreak(); yyj3589++ { + yyj3615 := 0 + for ; !r.CheckBreak(); yyj3615++ { - if yyj3589 >= len(yyv3589) { - yyv3589 = append(yyv3589, ReplicationController{}) // var yyz3589 ReplicationController - yyc3589 = true + if yyj3615 >= len(yyv3615) { + yyv3615 = append(yyv3615, ReplicationController{}) // var yyz3615 ReplicationController + yyc3615 = true } - yyh3589.ElemContainerState(yyj3589) - if yyj3589 < len(yyv3589) { + yyh3615.ElemContainerState(yyj3615) + if yyj3615 < len(yyv3615) { if r.TryDecodeAsNil() { - yyv3589[yyj3589] = ReplicationController{} + yyv3615[yyj3615] = ReplicationController{} } else { - yyv3592 := &yyv3589[yyj3589] - yyv3592.CodecDecodeSelf(d) + yyv3618 := &yyv3615[yyj3615] + yyv3618.CodecDecodeSelf(d) } } else { @@ -45002,17 +45301,17 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } - if yyj3589 < len(yyv3589) { - yyv3589 = yyv3589[:yyj3589] - yyc3589 = true - } else if yyj3589 == 0 && yyv3589 == nil { - yyv3589 = []ReplicationController{} - yyc3589 = true + if yyj3615 < len(yyv3615) { + yyv3615 = yyv3615[:yyj3615] + yyc3615 = true + } else if yyj3615 == 0 && yyv3615 == nil { + yyv3615 = []ReplicationController{} + yyc3615 = true } } - yyh3589.End() - if yyc3589 { - *v = yyv3589 + yyh3615.End() + if yyc3615 { + *v = yyv3615 } } @@ -45021,10 +45320,10 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3593 := range v { + for _, yyv3619 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3594 := &yyv3593 - yy3594.CodecEncodeSelf(e) + yy3620 := &yyv3619 + yy3620.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45034,83 +45333,83 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3595 := *v - yyh3595, yyl3595 := z.DecSliceHelperStart() - var yyc3595 bool - if yyl3595 == 0 { - if yyv3595 == nil { - yyv3595 = []Service{} - yyc3595 = true - } else if len(yyv3595) != 0 { - yyv3595 = yyv3595[:0] - yyc3595 = true + yyv3621 := *v + yyh3621, yyl3621 := z.DecSliceHelperStart() + var yyc3621 bool + if yyl3621 == 0 { + if yyv3621 == nil { + yyv3621 = []Service{} + yyc3621 = true + } else if len(yyv3621) != 0 { + yyv3621 = yyv3621[:0] + yyc3621 = true } - } else if yyl3595 > 0 { - var yyrr3595, yyrl3595 int - var yyrt3595 bool - if yyl3595 > cap(yyv3595) { + } else if yyl3621 > 0 { + var yyrr3621, yyrl3621 int + var yyrt3621 bool + if yyl3621 > cap(yyv3621) { - yyrg3595 := len(yyv3595) > 0 - yyv23595 := yyv3595 - yyrl3595, yyrt3595 = z.DecInferLen(yyl3595, z.DecBasicHandle().MaxInitLen, 336) - if yyrt3595 { - if yyrl3595 <= cap(yyv3595) { - yyv3595 = yyv3595[:yyrl3595] + yyrg3621 := len(yyv3621) > 0 + yyv23621 := yyv3621 + yyrl3621, yyrt3621 = z.DecInferLen(yyl3621, z.DecBasicHandle().MaxInitLen, 336) + if yyrt3621 { + if yyrl3621 <= cap(yyv3621) { + yyv3621 = yyv3621[:yyrl3621] } else { - yyv3595 = make([]Service, yyrl3595) + yyv3621 = make([]Service, yyrl3621) } } else { - yyv3595 = make([]Service, yyrl3595) + yyv3621 = make([]Service, yyrl3621) } - yyc3595 = true - yyrr3595 = len(yyv3595) - if yyrg3595 { - copy(yyv3595, yyv23595) + yyc3621 = true + yyrr3621 = len(yyv3621) + if yyrg3621 { + copy(yyv3621, yyv23621) } - } else if yyl3595 != len(yyv3595) { - yyv3595 = yyv3595[:yyl3595] - yyc3595 = true + } else if yyl3621 != len(yyv3621) { + yyv3621 = yyv3621[:yyl3621] + yyc3621 = true } - yyj3595 := 0 - for ; yyj3595 < yyrr3595; yyj3595++ { - yyh3595.ElemContainerState(yyj3595) + yyj3621 := 0 + for ; yyj3621 < yyrr3621; yyj3621++ { + yyh3621.ElemContainerState(yyj3621) if r.TryDecodeAsNil() { - yyv3595[yyj3595] = Service{} + yyv3621[yyj3621] = Service{} } else { - yyv3596 := &yyv3595[yyj3595] - yyv3596.CodecDecodeSelf(d) + yyv3622 := &yyv3621[yyj3621] + yyv3622.CodecDecodeSelf(d) } } - if yyrt3595 { - for ; yyj3595 < yyl3595; yyj3595++ { - yyv3595 = append(yyv3595, Service{}) - yyh3595.ElemContainerState(yyj3595) + if yyrt3621 { + for ; yyj3621 < yyl3621; yyj3621++ { + yyv3621 = append(yyv3621, Service{}) + yyh3621.ElemContainerState(yyj3621) if r.TryDecodeAsNil() { - yyv3595[yyj3595] = Service{} + yyv3621[yyj3621] = Service{} } else { - yyv3597 := &yyv3595[yyj3595] - yyv3597.CodecDecodeSelf(d) + yyv3623 := &yyv3621[yyj3621] + yyv3623.CodecDecodeSelf(d) } } } } else { - yyj3595 := 0 - for ; !r.CheckBreak(); yyj3595++ { + yyj3621 := 0 + for ; !r.CheckBreak(); yyj3621++ { - if yyj3595 >= len(yyv3595) { - yyv3595 = append(yyv3595, Service{}) // var yyz3595 Service - yyc3595 = true + if yyj3621 >= len(yyv3621) { + yyv3621 = append(yyv3621, Service{}) // var yyz3621 Service + yyc3621 = true } - yyh3595.ElemContainerState(yyj3595) - if yyj3595 < len(yyv3595) { + yyh3621.ElemContainerState(yyj3621) + if yyj3621 < len(yyv3621) { if r.TryDecodeAsNil() { - yyv3595[yyj3595] = Service{} + yyv3621[yyj3621] = Service{} } else { - yyv3598 := &yyv3595[yyj3595] - yyv3598.CodecDecodeSelf(d) + yyv3624 := &yyv3621[yyj3621] + yyv3624.CodecDecodeSelf(d) } } else { @@ -45118,17 +45417,17 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } - if yyj3595 < len(yyv3595) { - yyv3595 = yyv3595[:yyj3595] - yyc3595 = true - } else if yyj3595 == 0 && yyv3595 == nil { - yyv3595 = []Service{} - yyc3595 = true + if yyj3621 < len(yyv3621) { + yyv3621 = yyv3621[:yyj3621] + yyc3621 = true + } else if yyj3621 == 0 && yyv3621 == nil { + yyv3621 = []Service{} + yyc3621 = true } } - yyh3595.End() - if yyc3595 { - *v = yyv3595 + yyh3621.End() + if yyc3621 { + *v = yyv3621 } } @@ -45137,10 +45436,10 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3599 := range v { + for _, yyv3625 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3600 := &yyv3599 - yy3600.CodecEncodeSelf(e) + yy3626 := &yyv3625 + yy3626.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45150,83 +45449,83 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3601 := *v - yyh3601, yyl3601 := z.DecSliceHelperStart() - var yyc3601 bool - if yyl3601 == 0 { - if yyv3601 == nil { - yyv3601 = []LoadBalancerIngress{} - yyc3601 = true - } else if len(yyv3601) != 0 { - yyv3601 = yyv3601[:0] - yyc3601 = true + yyv3627 := *v + yyh3627, yyl3627 := z.DecSliceHelperStart() + var yyc3627 bool + if yyl3627 == 0 { + if yyv3627 == nil { + yyv3627 = []LoadBalancerIngress{} + yyc3627 = true + } else if len(yyv3627) != 0 { + yyv3627 = yyv3627[:0] + yyc3627 = true } - } else if yyl3601 > 0 { - var yyrr3601, yyrl3601 int - var yyrt3601 bool - if yyl3601 > cap(yyv3601) { + } else if yyl3627 > 0 { + var yyrr3627, yyrl3627 int + var yyrt3627 bool + if yyl3627 > cap(yyv3627) { - yyrg3601 := len(yyv3601) > 0 - yyv23601 := yyv3601 - yyrl3601, yyrt3601 = z.DecInferLen(yyl3601, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3601 { - if yyrl3601 <= cap(yyv3601) { - yyv3601 = yyv3601[:yyrl3601] + yyrg3627 := len(yyv3627) > 0 + yyv23627 := yyv3627 + yyrl3627, yyrt3627 = z.DecInferLen(yyl3627, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3627 { + if yyrl3627 <= cap(yyv3627) { + yyv3627 = yyv3627[:yyrl3627] } else { - yyv3601 = make([]LoadBalancerIngress, yyrl3601) + yyv3627 = make([]LoadBalancerIngress, yyrl3627) } } else { - yyv3601 = make([]LoadBalancerIngress, yyrl3601) + yyv3627 = make([]LoadBalancerIngress, yyrl3627) } - yyc3601 = true - yyrr3601 = len(yyv3601) - if yyrg3601 { - copy(yyv3601, yyv23601) + yyc3627 = true + yyrr3627 = len(yyv3627) + if yyrg3627 { + copy(yyv3627, yyv23627) } - } else if yyl3601 != len(yyv3601) { - yyv3601 = yyv3601[:yyl3601] - yyc3601 = true + } else if yyl3627 != len(yyv3627) { + yyv3627 = yyv3627[:yyl3627] + yyc3627 = true } - yyj3601 := 0 - for ; yyj3601 < yyrr3601; yyj3601++ { - yyh3601.ElemContainerState(yyj3601) + yyj3627 := 0 + for ; yyj3627 < yyrr3627; yyj3627++ { + yyh3627.ElemContainerState(yyj3627) if r.TryDecodeAsNil() { - yyv3601[yyj3601] = LoadBalancerIngress{} + yyv3627[yyj3627] = LoadBalancerIngress{} } else { - yyv3602 := &yyv3601[yyj3601] - yyv3602.CodecDecodeSelf(d) + yyv3628 := &yyv3627[yyj3627] + yyv3628.CodecDecodeSelf(d) } } - if yyrt3601 { - for ; yyj3601 < yyl3601; yyj3601++ { - yyv3601 = append(yyv3601, LoadBalancerIngress{}) - yyh3601.ElemContainerState(yyj3601) + if yyrt3627 { + for ; yyj3627 < yyl3627; yyj3627++ { + yyv3627 = append(yyv3627, LoadBalancerIngress{}) + yyh3627.ElemContainerState(yyj3627) if r.TryDecodeAsNil() { - yyv3601[yyj3601] = LoadBalancerIngress{} + yyv3627[yyj3627] = LoadBalancerIngress{} } else { - yyv3603 := &yyv3601[yyj3601] - yyv3603.CodecDecodeSelf(d) + yyv3629 := &yyv3627[yyj3627] + yyv3629.CodecDecodeSelf(d) } } } } else { - yyj3601 := 0 - for ; !r.CheckBreak(); yyj3601++ { + yyj3627 := 0 + for ; !r.CheckBreak(); yyj3627++ { - if yyj3601 >= len(yyv3601) { - yyv3601 = append(yyv3601, LoadBalancerIngress{}) // var yyz3601 LoadBalancerIngress - yyc3601 = true + if yyj3627 >= len(yyv3627) { + yyv3627 = append(yyv3627, LoadBalancerIngress{}) // var yyz3627 LoadBalancerIngress + yyc3627 = true } - yyh3601.ElemContainerState(yyj3601) - if yyj3601 < len(yyv3601) { + yyh3627.ElemContainerState(yyj3627) + if yyj3627 < len(yyv3627) { if r.TryDecodeAsNil() { - yyv3601[yyj3601] = LoadBalancerIngress{} + yyv3627[yyj3627] = LoadBalancerIngress{} } else { - yyv3604 := &yyv3601[yyj3601] - yyv3604.CodecDecodeSelf(d) + yyv3630 := &yyv3627[yyj3627] + yyv3630.CodecDecodeSelf(d) } } else { @@ -45234,17 +45533,17 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } - if yyj3601 < len(yyv3601) { - yyv3601 = yyv3601[:yyj3601] - yyc3601 = true - } else if yyj3601 == 0 && yyv3601 == nil { - yyv3601 = []LoadBalancerIngress{} - yyc3601 = true + if yyj3627 < len(yyv3627) { + yyv3627 = yyv3627[:yyj3627] + yyc3627 = true + } else if yyj3627 == 0 && yyv3627 == nil { + yyv3627 = []LoadBalancerIngress{} + yyc3627 = true } } - yyh3601.End() - if yyc3601 { - *v = yyv3601 + yyh3627.End() + if yyc3627 { + *v = yyv3627 } } @@ -45253,10 +45552,10 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3605 := range v { + for _, yyv3631 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3606 := &yyv3605 - yy3606.CodecEncodeSelf(e) + yy3632 := &yyv3631 + yy3632.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45266,83 +45565,83 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3607 := *v - yyh3607, yyl3607 := z.DecSliceHelperStart() - var yyc3607 bool - if yyl3607 == 0 { - if yyv3607 == nil { - yyv3607 = []ServicePort{} - yyc3607 = true - } else if len(yyv3607) != 0 { - yyv3607 = yyv3607[:0] - yyc3607 = true + yyv3633 := *v + yyh3633, yyl3633 := z.DecSliceHelperStart() + var yyc3633 bool + if yyl3633 == 0 { + if yyv3633 == nil { + yyv3633 = []ServicePort{} + yyc3633 = true + } else if len(yyv3633) != 0 { + yyv3633 = yyv3633[:0] + yyc3633 = true } - } else if yyl3607 > 0 { - var yyrr3607, yyrl3607 int - var yyrt3607 bool - if yyl3607 > cap(yyv3607) { + } else if yyl3633 > 0 { + var yyrr3633, yyrl3633 int + var yyrt3633 bool + if yyl3633 > cap(yyv3633) { - yyrg3607 := len(yyv3607) > 0 - yyv23607 := yyv3607 - yyrl3607, yyrt3607 = z.DecInferLen(yyl3607, z.DecBasicHandle().MaxInitLen, 80) - if yyrt3607 { - if yyrl3607 <= cap(yyv3607) { - yyv3607 = yyv3607[:yyrl3607] + yyrg3633 := len(yyv3633) > 0 + yyv23633 := yyv3633 + yyrl3633, yyrt3633 = z.DecInferLen(yyl3633, z.DecBasicHandle().MaxInitLen, 80) + if yyrt3633 { + if yyrl3633 <= cap(yyv3633) { + yyv3633 = yyv3633[:yyrl3633] } else { - yyv3607 = make([]ServicePort, yyrl3607) + yyv3633 = make([]ServicePort, yyrl3633) } } else { - yyv3607 = make([]ServicePort, yyrl3607) + yyv3633 = make([]ServicePort, yyrl3633) } - yyc3607 = true - yyrr3607 = len(yyv3607) - if yyrg3607 { - copy(yyv3607, yyv23607) + yyc3633 = true + yyrr3633 = len(yyv3633) + if yyrg3633 { + copy(yyv3633, yyv23633) } - } else if yyl3607 != len(yyv3607) { - yyv3607 = yyv3607[:yyl3607] - yyc3607 = true + } else if yyl3633 != len(yyv3633) { + yyv3633 = yyv3633[:yyl3633] + yyc3633 = true } - yyj3607 := 0 - for ; yyj3607 < yyrr3607; yyj3607++ { - yyh3607.ElemContainerState(yyj3607) + yyj3633 := 0 + for ; yyj3633 < yyrr3633; yyj3633++ { + yyh3633.ElemContainerState(yyj3633) if r.TryDecodeAsNil() { - yyv3607[yyj3607] = ServicePort{} + yyv3633[yyj3633] = ServicePort{} } else { - yyv3608 := &yyv3607[yyj3607] - yyv3608.CodecDecodeSelf(d) + yyv3634 := &yyv3633[yyj3633] + yyv3634.CodecDecodeSelf(d) } } - if yyrt3607 { - for ; yyj3607 < yyl3607; yyj3607++ { - yyv3607 = append(yyv3607, ServicePort{}) - yyh3607.ElemContainerState(yyj3607) + if yyrt3633 { + for ; yyj3633 < yyl3633; yyj3633++ { + yyv3633 = append(yyv3633, ServicePort{}) + yyh3633.ElemContainerState(yyj3633) if r.TryDecodeAsNil() { - yyv3607[yyj3607] = ServicePort{} + yyv3633[yyj3633] = ServicePort{} } else { - yyv3609 := &yyv3607[yyj3607] - yyv3609.CodecDecodeSelf(d) + yyv3635 := &yyv3633[yyj3633] + yyv3635.CodecDecodeSelf(d) } } } } else { - yyj3607 := 0 - for ; !r.CheckBreak(); yyj3607++ { + yyj3633 := 0 + for ; !r.CheckBreak(); yyj3633++ { - if yyj3607 >= len(yyv3607) { - yyv3607 = append(yyv3607, ServicePort{}) // var yyz3607 ServicePort - yyc3607 = true + if yyj3633 >= len(yyv3633) { + yyv3633 = append(yyv3633, ServicePort{}) // var yyz3633 ServicePort + yyc3633 = true } - yyh3607.ElemContainerState(yyj3607) - if yyj3607 < len(yyv3607) { + yyh3633.ElemContainerState(yyj3633) + if yyj3633 < len(yyv3633) { if r.TryDecodeAsNil() { - yyv3607[yyj3607] = ServicePort{} + yyv3633[yyj3633] = ServicePort{} } else { - yyv3610 := &yyv3607[yyj3607] - yyv3610.CodecDecodeSelf(d) + yyv3636 := &yyv3633[yyj3633] + yyv3636.CodecDecodeSelf(d) } } else { @@ -45350,17 +45649,17 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } - if yyj3607 < len(yyv3607) { - yyv3607 = yyv3607[:yyj3607] - yyc3607 = true - } else if yyj3607 == 0 && yyv3607 == nil { - yyv3607 = []ServicePort{} - yyc3607 = true + if yyj3633 < len(yyv3633) { + yyv3633 = yyv3633[:yyj3633] + yyc3633 = true + } else if yyj3633 == 0 && yyv3633 == nil { + yyv3633 = []ServicePort{} + yyc3633 = true } } - yyh3607.End() - if yyc3607 { - *v = yyv3607 + yyh3633.End() + if yyc3633 { + *v = yyv3633 } } @@ -45369,10 +45668,10 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3611 := range v { + for _, yyv3637 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3612 := &yyv3611 - yy3612.CodecEncodeSelf(e) + yy3638 := &yyv3637 + yy3638.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45382,83 +45681,83 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3613 := *v - yyh3613, yyl3613 := z.DecSliceHelperStart() - var yyc3613 bool - if yyl3613 == 0 { - if yyv3613 == nil { - yyv3613 = []ObjectReference{} - yyc3613 = true - } else if len(yyv3613) != 0 { - yyv3613 = yyv3613[:0] - yyc3613 = true + yyv3639 := *v + yyh3639, yyl3639 := z.DecSliceHelperStart() + var yyc3639 bool + if yyl3639 == 0 { + if yyv3639 == nil { + yyv3639 = []ObjectReference{} + yyc3639 = true + } else if len(yyv3639) != 0 { + yyv3639 = yyv3639[:0] + yyc3639 = true } - } else if yyl3613 > 0 { - var yyrr3613, yyrl3613 int - var yyrt3613 bool - if yyl3613 > cap(yyv3613) { + } else if yyl3639 > 0 { + var yyrr3639, yyrl3639 int + var yyrt3639 bool + if yyl3639 > cap(yyv3639) { - yyrg3613 := len(yyv3613) > 0 - yyv23613 := yyv3613 - yyrl3613, yyrt3613 = z.DecInferLen(yyl3613, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3613 { - if yyrl3613 <= cap(yyv3613) { - yyv3613 = yyv3613[:yyrl3613] + yyrg3639 := len(yyv3639) > 0 + yyv23639 := yyv3639 + yyrl3639, yyrt3639 = z.DecInferLen(yyl3639, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3639 { + if yyrl3639 <= cap(yyv3639) { + yyv3639 = yyv3639[:yyrl3639] } else { - yyv3613 = make([]ObjectReference, yyrl3613) + yyv3639 = make([]ObjectReference, yyrl3639) } } else { - yyv3613 = make([]ObjectReference, yyrl3613) + yyv3639 = make([]ObjectReference, yyrl3639) } - yyc3613 = true - yyrr3613 = len(yyv3613) - if yyrg3613 { - copy(yyv3613, yyv23613) + yyc3639 = true + yyrr3639 = len(yyv3639) + if yyrg3639 { + copy(yyv3639, yyv23639) } - } else if yyl3613 != len(yyv3613) { - yyv3613 = yyv3613[:yyl3613] - yyc3613 = true + } else if yyl3639 != len(yyv3639) { + yyv3639 = yyv3639[:yyl3639] + yyc3639 = true } - yyj3613 := 0 - for ; yyj3613 < yyrr3613; yyj3613++ { - yyh3613.ElemContainerState(yyj3613) + yyj3639 := 0 + for ; yyj3639 < yyrr3639; yyj3639++ { + yyh3639.ElemContainerState(yyj3639) if r.TryDecodeAsNil() { - yyv3613[yyj3613] = ObjectReference{} + yyv3639[yyj3639] = ObjectReference{} } else { - yyv3614 := &yyv3613[yyj3613] - yyv3614.CodecDecodeSelf(d) + yyv3640 := &yyv3639[yyj3639] + yyv3640.CodecDecodeSelf(d) } } - if yyrt3613 { - for ; yyj3613 < yyl3613; yyj3613++ { - yyv3613 = append(yyv3613, ObjectReference{}) - yyh3613.ElemContainerState(yyj3613) + if yyrt3639 { + for ; yyj3639 < yyl3639; yyj3639++ { + yyv3639 = append(yyv3639, ObjectReference{}) + yyh3639.ElemContainerState(yyj3639) if r.TryDecodeAsNil() { - yyv3613[yyj3613] = ObjectReference{} + yyv3639[yyj3639] = ObjectReference{} } else { - yyv3615 := &yyv3613[yyj3613] - yyv3615.CodecDecodeSelf(d) + yyv3641 := &yyv3639[yyj3639] + yyv3641.CodecDecodeSelf(d) } } } } else { - yyj3613 := 0 - for ; !r.CheckBreak(); yyj3613++ { + yyj3639 := 0 + for ; !r.CheckBreak(); yyj3639++ { - if yyj3613 >= len(yyv3613) { - yyv3613 = append(yyv3613, ObjectReference{}) // var yyz3613 ObjectReference - yyc3613 = true + if yyj3639 >= len(yyv3639) { + yyv3639 = append(yyv3639, ObjectReference{}) // var yyz3639 ObjectReference + yyc3639 = true } - yyh3613.ElemContainerState(yyj3613) - if yyj3613 < len(yyv3613) { + yyh3639.ElemContainerState(yyj3639) + if yyj3639 < len(yyv3639) { if r.TryDecodeAsNil() { - yyv3613[yyj3613] = ObjectReference{} + yyv3639[yyj3639] = ObjectReference{} } else { - yyv3616 := &yyv3613[yyj3613] - yyv3616.CodecDecodeSelf(d) + yyv3642 := &yyv3639[yyj3639] + yyv3642.CodecDecodeSelf(d) } } else { @@ -45466,17 +45765,17 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } - if yyj3613 < len(yyv3613) { - yyv3613 = yyv3613[:yyj3613] - yyc3613 = true - } else if yyj3613 == 0 && yyv3613 == nil { - yyv3613 = []ObjectReference{} - yyc3613 = true + if yyj3639 < len(yyv3639) { + yyv3639 = yyv3639[:yyj3639] + yyc3639 = true + } else if yyj3639 == 0 && yyv3639 == nil { + yyv3639 = []ObjectReference{} + yyc3639 = true } } - yyh3613.End() - if yyc3613 { - *v = yyv3613 + yyh3639.End() + if yyc3639 { + *v = yyv3639 } } @@ -45485,10 +45784,10 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3617 := range v { + for _, yyv3643 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3618 := &yyv3617 - yy3618.CodecEncodeSelf(e) + yy3644 := &yyv3643 + yy3644.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45498,83 +45797,83 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3619 := *v - yyh3619, yyl3619 := z.DecSliceHelperStart() - var yyc3619 bool - if yyl3619 == 0 { - if yyv3619 == nil { - yyv3619 = []ServiceAccount{} - yyc3619 = true - } else if len(yyv3619) != 0 { - yyv3619 = yyv3619[:0] - yyc3619 = true + yyv3645 := *v + yyh3645, yyl3645 := z.DecSliceHelperStart() + var yyc3645 bool + if yyl3645 == 0 { + if yyv3645 == nil { + yyv3645 = []ServiceAccount{} + yyc3645 = true + } else if len(yyv3645) != 0 { + yyv3645 = yyv3645[:0] + yyc3645 = true } - } else if yyl3619 > 0 { - var yyrr3619, yyrl3619 int - var yyrt3619 bool - if yyl3619 > cap(yyv3619) { + } else if yyl3645 > 0 { + var yyrr3645, yyrl3645 int + var yyrt3645 bool + if yyl3645 > cap(yyv3645) { - yyrg3619 := len(yyv3619) > 0 - yyv23619 := yyv3619 - yyrl3619, yyrt3619 = z.DecInferLen(yyl3619, z.DecBasicHandle().MaxInitLen, 240) - if yyrt3619 { - if yyrl3619 <= cap(yyv3619) { - yyv3619 = yyv3619[:yyrl3619] + yyrg3645 := len(yyv3645) > 0 + yyv23645 := yyv3645 + yyrl3645, yyrt3645 = z.DecInferLen(yyl3645, z.DecBasicHandle().MaxInitLen, 240) + if yyrt3645 { + if yyrl3645 <= cap(yyv3645) { + yyv3645 = yyv3645[:yyrl3645] } else { - yyv3619 = make([]ServiceAccount, yyrl3619) + yyv3645 = make([]ServiceAccount, yyrl3645) } } else { - yyv3619 = make([]ServiceAccount, yyrl3619) + yyv3645 = make([]ServiceAccount, yyrl3645) } - yyc3619 = true - yyrr3619 = len(yyv3619) - if yyrg3619 { - copy(yyv3619, yyv23619) + yyc3645 = true + yyrr3645 = len(yyv3645) + if yyrg3645 { + copy(yyv3645, yyv23645) } - } else if yyl3619 != len(yyv3619) { - yyv3619 = yyv3619[:yyl3619] - yyc3619 = true + } else if yyl3645 != len(yyv3645) { + yyv3645 = yyv3645[:yyl3645] + yyc3645 = true } - yyj3619 := 0 - for ; yyj3619 < yyrr3619; yyj3619++ { - yyh3619.ElemContainerState(yyj3619) + yyj3645 := 0 + for ; yyj3645 < yyrr3645; yyj3645++ { + yyh3645.ElemContainerState(yyj3645) if r.TryDecodeAsNil() { - yyv3619[yyj3619] = ServiceAccount{} + yyv3645[yyj3645] = ServiceAccount{} } else { - yyv3620 := &yyv3619[yyj3619] - yyv3620.CodecDecodeSelf(d) + yyv3646 := &yyv3645[yyj3645] + yyv3646.CodecDecodeSelf(d) } } - if yyrt3619 { - for ; yyj3619 < yyl3619; yyj3619++ { - yyv3619 = append(yyv3619, ServiceAccount{}) - yyh3619.ElemContainerState(yyj3619) + if yyrt3645 { + for ; yyj3645 < yyl3645; yyj3645++ { + yyv3645 = append(yyv3645, ServiceAccount{}) + yyh3645.ElemContainerState(yyj3645) if r.TryDecodeAsNil() { - yyv3619[yyj3619] = ServiceAccount{} + yyv3645[yyj3645] = ServiceAccount{} } else { - yyv3621 := &yyv3619[yyj3619] - yyv3621.CodecDecodeSelf(d) + yyv3647 := &yyv3645[yyj3645] + yyv3647.CodecDecodeSelf(d) } } } } else { - yyj3619 := 0 - for ; !r.CheckBreak(); yyj3619++ { + yyj3645 := 0 + for ; !r.CheckBreak(); yyj3645++ { - if yyj3619 >= len(yyv3619) { - yyv3619 = append(yyv3619, ServiceAccount{}) // var yyz3619 ServiceAccount - yyc3619 = true + if yyj3645 >= len(yyv3645) { + yyv3645 = append(yyv3645, ServiceAccount{}) // var yyz3645 ServiceAccount + yyc3645 = true } - yyh3619.ElemContainerState(yyj3619) - if yyj3619 < len(yyv3619) { + yyh3645.ElemContainerState(yyj3645) + if yyj3645 < len(yyv3645) { if r.TryDecodeAsNil() { - yyv3619[yyj3619] = ServiceAccount{} + yyv3645[yyj3645] = ServiceAccount{} } else { - yyv3622 := &yyv3619[yyj3619] - yyv3622.CodecDecodeSelf(d) + yyv3648 := &yyv3645[yyj3645] + yyv3648.CodecDecodeSelf(d) } } else { @@ -45582,17 +45881,17 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } - if yyj3619 < len(yyv3619) { - yyv3619 = yyv3619[:yyj3619] - yyc3619 = true - } else if yyj3619 == 0 && yyv3619 == nil { - yyv3619 = []ServiceAccount{} - yyc3619 = true + if yyj3645 < len(yyv3645) { + yyv3645 = yyv3645[:yyj3645] + yyc3645 = true + } else if yyj3645 == 0 && yyv3645 == nil { + yyv3645 = []ServiceAccount{} + yyc3645 = true } } - yyh3619.End() - if yyc3619 { - *v = yyv3619 + yyh3645.End() + if yyc3645 { + *v = yyv3645 } } @@ -45601,10 +45900,10 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3623 := range v { + for _, yyv3649 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3624 := &yyv3623 - yy3624.CodecEncodeSelf(e) + yy3650 := &yyv3649 + yy3650.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45614,83 +45913,83 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3625 := *v - yyh3625, yyl3625 := z.DecSliceHelperStart() - var yyc3625 bool - if yyl3625 == 0 { - if yyv3625 == nil { - yyv3625 = []EndpointSubset{} - yyc3625 = true - } else if len(yyv3625) != 0 { - yyv3625 = yyv3625[:0] - yyc3625 = true + yyv3651 := *v + yyh3651, yyl3651 := z.DecSliceHelperStart() + var yyc3651 bool + if yyl3651 == 0 { + if yyv3651 == nil { + yyv3651 = []EndpointSubset{} + yyc3651 = true + } else if len(yyv3651) != 0 { + yyv3651 = yyv3651[:0] + yyc3651 = true } - } else if yyl3625 > 0 { - var yyrr3625, yyrl3625 int - var yyrt3625 bool - if yyl3625 > cap(yyv3625) { + } else if yyl3651 > 0 { + var yyrr3651, yyrl3651 int + var yyrt3651 bool + if yyl3651 > cap(yyv3651) { - yyrg3625 := len(yyv3625) > 0 - yyv23625 := yyv3625 - yyrl3625, yyrt3625 = z.DecInferLen(yyl3625, z.DecBasicHandle().MaxInitLen, 72) - if yyrt3625 { - if yyrl3625 <= cap(yyv3625) { - yyv3625 = yyv3625[:yyrl3625] + yyrg3651 := len(yyv3651) > 0 + yyv23651 := yyv3651 + yyrl3651, yyrt3651 = z.DecInferLen(yyl3651, z.DecBasicHandle().MaxInitLen, 72) + if yyrt3651 { + if yyrl3651 <= cap(yyv3651) { + yyv3651 = yyv3651[:yyrl3651] } else { - yyv3625 = make([]EndpointSubset, yyrl3625) + yyv3651 = make([]EndpointSubset, yyrl3651) } } else { - yyv3625 = make([]EndpointSubset, yyrl3625) + yyv3651 = make([]EndpointSubset, yyrl3651) } - yyc3625 = true - yyrr3625 = len(yyv3625) - if yyrg3625 { - copy(yyv3625, yyv23625) + yyc3651 = true + yyrr3651 = len(yyv3651) + if yyrg3651 { + copy(yyv3651, yyv23651) } - } else if yyl3625 != len(yyv3625) { - yyv3625 = yyv3625[:yyl3625] - yyc3625 = true + } else if yyl3651 != len(yyv3651) { + yyv3651 = yyv3651[:yyl3651] + yyc3651 = true } - yyj3625 := 0 - for ; yyj3625 < yyrr3625; yyj3625++ { - yyh3625.ElemContainerState(yyj3625) + yyj3651 := 0 + for ; yyj3651 < yyrr3651; yyj3651++ { + yyh3651.ElemContainerState(yyj3651) if r.TryDecodeAsNil() { - yyv3625[yyj3625] = EndpointSubset{} + yyv3651[yyj3651] = EndpointSubset{} } else { - yyv3626 := &yyv3625[yyj3625] - yyv3626.CodecDecodeSelf(d) + yyv3652 := &yyv3651[yyj3651] + yyv3652.CodecDecodeSelf(d) } } - if yyrt3625 { - for ; yyj3625 < yyl3625; yyj3625++ { - yyv3625 = append(yyv3625, EndpointSubset{}) - yyh3625.ElemContainerState(yyj3625) + if yyrt3651 { + for ; yyj3651 < yyl3651; yyj3651++ { + yyv3651 = append(yyv3651, EndpointSubset{}) + yyh3651.ElemContainerState(yyj3651) if r.TryDecodeAsNil() { - yyv3625[yyj3625] = EndpointSubset{} + yyv3651[yyj3651] = EndpointSubset{} } else { - yyv3627 := &yyv3625[yyj3625] - yyv3627.CodecDecodeSelf(d) + yyv3653 := &yyv3651[yyj3651] + yyv3653.CodecDecodeSelf(d) } } } } else { - yyj3625 := 0 - for ; !r.CheckBreak(); yyj3625++ { + yyj3651 := 0 + for ; !r.CheckBreak(); yyj3651++ { - if yyj3625 >= len(yyv3625) { - yyv3625 = append(yyv3625, EndpointSubset{}) // var yyz3625 EndpointSubset - yyc3625 = true + if yyj3651 >= len(yyv3651) { + yyv3651 = append(yyv3651, EndpointSubset{}) // var yyz3651 EndpointSubset + yyc3651 = true } - yyh3625.ElemContainerState(yyj3625) - if yyj3625 < len(yyv3625) { + yyh3651.ElemContainerState(yyj3651) + if yyj3651 < len(yyv3651) { if r.TryDecodeAsNil() { - yyv3625[yyj3625] = EndpointSubset{} + yyv3651[yyj3651] = EndpointSubset{} } else { - yyv3628 := &yyv3625[yyj3625] - yyv3628.CodecDecodeSelf(d) + yyv3654 := &yyv3651[yyj3651] + yyv3654.CodecDecodeSelf(d) } } else { @@ -45698,17 +45997,17 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } - if yyj3625 < len(yyv3625) { - yyv3625 = yyv3625[:yyj3625] - yyc3625 = true - } else if yyj3625 == 0 && yyv3625 == nil { - yyv3625 = []EndpointSubset{} - yyc3625 = true + if yyj3651 < len(yyv3651) { + yyv3651 = yyv3651[:yyj3651] + yyc3651 = true + } else if yyj3651 == 0 && yyv3651 == nil { + yyv3651 = []EndpointSubset{} + yyc3651 = true } } - yyh3625.End() - if yyc3625 { - *v = yyv3625 + yyh3651.End() + if yyc3651 { + *v = yyv3651 } } @@ -45717,10 +46016,10 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3629 := range v { + for _, yyv3655 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3630 := &yyv3629 - yy3630.CodecEncodeSelf(e) + yy3656 := &yyv3655 + yy3656.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45730,83 +46029,83 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3631 := *v - yyh3631, yyl3631 := z.DecSliceHelperStart() - var yyc3631 bool - if yyl3631 == 0 { - if yyv3631 == nil { - yyv3631 = []EndpointAddress{} - yyc3631 = true - } else if len(yyv3631) != 0 { - yyv3631 = yyv3631[:0] - yyc3631 = true + yyv3657 := *v + yyh3657, yyl3657 := z.DecSliceHelperStart() + var yyc3657 bool + if yyl3657 == 0 { + if yyv3657 == nil { + yyv3657 = []EndpointAddress{} + yyc3657 = true + } else if len(yyv3657) != 0 { + yyv3657 = yyv3657[:0] + yyc3657 = true } - } else if yyl3631 > 0 { - var yyrr3631, yyrl3631 int - var yyrt3631 bool - if yyl3631 > cap(yyv3631) { + } else if yyl3657 > 0 { + var yyrr3657, yyrl3657 int + var yyrt3657 bool + if yyl3657 > cap(yyv3657) { - yyrg3631 := len(yyv3631) > 0 - yyv23631 := yyv3631 - yyrl3631, yyrt3631 = z.DecInferLen(yyl3631, z.DecBasicHandle().MaxInitLen, 24) - if yyrt3631 { - if yyrl3631 <= cap(yyv3631) { - yyv3631 = yyv3631[:yyrl3631] + yyrg3657 := len(yyv3657) > 0 + yyv23657 := yyv3657 + yyrl3657, yyrt3657 = z.DecInferLen(yyl3657, z.DecBasicHandle().MaxInitLen, 24) + if yyrt3657 { + if yyrl3657 <= cap(yyv3657) { + yyv3657 = yyv3657[:yyrl3657] } else { - yyv3631 = make([]EndpointAddress, yyrl3631) + yyv3657 = make([]EndpointAddress, yyrl3657) } } else { - yyv3631 = make([]EndpointAddress, yyrl3631) + yyv3657 = make([]EndpointAddress, yyrl3657) } - yyc3631 = true - yyrr3631 = len(yyv3631) - if yyrg3631 { - copy(yyv3631, yyv23631) + yyc3657 = true + yyrr3657 = len(yyv3657) + if yyrg3657 { + copy(yyv3657, yyv23657) } - } else if yyl3631 != len(yyv3631) { - yyv3631 = yyv3631[:yyl3631] - yyc3631 = true + } else if yyl3657 != len(yyv3657) { + yyv3657 = yyv3657[:yyl3657] + yyc3657 = true } - yyj3631 := 0 - for ; yyj3631 < yyrr3631; yyj3631++ { - yyh3631.ElemContainerState(yyj3631) + yyj3657 := 0 + for ; yyj3657 < yyrr3657; yyj3657++ { + yyh3657.ElemContainerState(yyj3657) if r.TryDecodeAsNil() { - yyv3631[yyj3631] = EndpointAddress{} + yyv3657[yyj3657] = EndpointAddress{} } else { - yyv3632 := &yyv3631[yyj3631] - yyv3632.CodecDecodeSelf(d) + yyv3658 := &yyv3657[yyj3657] + yyv3658.CodecDecodeSelf(d) } } - if yyrt3631 { - for ; yyj3631 < yyl3631; yyj3631++ { - yyv3631 = append(yyv3631, EndpointAddress{}) - yyh3631.ElemContainerState(yyj3631) + if yyrt3657 { + for ; yyj3657 < yyl3657; yyj3657++ { + yyv3657 = append(yyv3657, EndpointAddress{}) + yyh3657.ElemContainerState(yyj3657) if r.TryDecodeAsNil() { - yyv3631[yyj3631] = EndpointAddress{} + yyv3657[yyj3657] = EndpointAddress{} } else { - yyv3633 := &yyv3631[yyj3631] - yyv3633.CodecDecodeSelf(d) + yyv3659 := &yyv3657[yyj3657] + yyv3659.CodecDecodeSelf(d) } } } } else { - yyj3631 := 0 - for ; !r.CheckBreak(); yyj3631++ { + yyj3657 := 0 + for ; !r.CheckBreak(); yyj3657++ { - if yyj3631 >= len(yyv3631) { - yyv3631 = append(yyv3631, EndpointAddress{}) // var yyz3631 EndpointAddress - yyc3631 = true + if yyj3657 >= len(yyv3657) { + yyv3657 = append(yyv3657, EndpointAddress{}) // var yyz3657 EndpointAddress + yyc3657 = true } - yyh3631.ElemContainerState(yyj3631) - if yyj3631 < len(yyv3631) { + yyh3657.ElemContainerState(yyj3657) + if yyj3657 < len(yyv3657) { if r.TryDecodeAsNil() { - yyv3631[yyj3631] = EndpointAddress{} + yyv3657[yyj3657] = EndpointAddress{} } else { - yyv3634 := &yyv3631[yyj3631] - yyv3634.CodecDecodeSelf(d) + yyv3660 := &yyv3657[yyj3657] + yyv3660.CodecDecodeSelf(d) } } else { @@ -45814,17 +46113,17 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } - if yyj3631 < len(yyv3631) { - yyv3631 = yyv3631[:yyj3631] - yyc3631 = true - } else if yyj3631 == 0 && yyv3631 == nil { - yyv3631 = []EndpointAddress{} - yyc3631 = true + if yyj3657 < len(yyv3657) { + yyv3657 = yyv3657[:yyj3657] + yyc3657 = true + } else if yyj3657 == 0 && yyv3657 == nil { + yyv3657 = []EndpointAddress{} + yyc3657 = true } } - yyh3631.End() - if yyc3631 { - *v = yyv3631 + yyh3657.End() + if yyc3657 { + *v = yyv3657 } } @@ -45833,10 +46132,10 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3635 := range v { + for _, yyv3661 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3636 := &yyv3635 - yy3636.CodecEncodeSelf(e) + yy3662 := &yyv3661 + yy3662.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45846,83 +46145,83 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3637 := *v - yyh3637, yyl3637 := z.DecSliceHelperStart() - var yyc3637 bool - if yyl3637 == 0 { - if yyv3637 == nil { - yyv3637 = []EndpointPort{} - yyc3637 = true - } else if len(yyv3637) != 0 { - yyv3637 = yyv3637[:0] - yyc3637 = true + yyv3663 := *v + yyh3663, yyl3663 := z.DecSliceHelperStart() + var yyc3663 bool + if yyl3663 == 0 { + if yyv3663 == nil { + yyv3663 = []EndpointPort{} + yyc3663 = true + } else if len(yyv3663) != 0 { + yyv3663 = yyv3663[:0] + yyc3663 = true } - } else if yyl3637 > 0 { - var yyrr3637, yyrl3637 int - var yyrt3637 bool - if yyl3637 > cap(yyv3637) { + } else if yyl3663 > 0 { + var yyrr3663, yyrl3663 int + var yyrt3663 bool + if yyl3663 > cap(yyv3663) { - yyrg3637 := len(yyv3637) > 0 - yyv23637 := yyv3637 - yyrl3637, yyrt3637 = z.DecInferLen(yyl3637, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3637 { - if yyrl3637 <= cap(yyv3637) { - yyv3637 = yyv3637[:yyrl3637] + yyrg3663 := len(yyv3663) > 0 + yyv23663 := yyv3663 + yyrl3663, yyrt3663 = z.DecInferLen(yyl3663, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3663 { + if yyrl3663 <= cap(yyv3663) { + yyv3663 = yyv3663[:yyrl3663] } else { - yyv3637 = make([]EndpointPort, yyrl3637) + yyv3663 = make([]EndpointPort, yyrl3663) } } else { - yyv3637 = make([]EndpointPort, yyrl3637) + yyv3663 = make([]EndpointPort, yyrl3663) } - yyc3637 = true - yyrr3637 = len(yyv3637) - if yyrg3637 { - copy(yyv3637, yyv23637) + yyc3663 = true + yyrr3663 = len(yyv3663) + if yyrg3663 { + copy(yyv3663, yyv23663) } - } else if yyl3637 != len(yyv3637) { - yyv3637 = yyv3637[:yyl3637] - yyc3637 = true + } else if yyl3663 != len(yyv3663) { + yyv3663 = yyv3663[:yyl3663] + yyc3663 = true } - yyj3637 := 0 - for ; yyj3637 < yyrr3637; yyj3637++ { - yyh3637.ElemContainerState(yyj3637) + yyj3663 := 0 + for ; yyj3663 < yyrr3663; yyj3663++ { + yyh3663.ElemContainerState(yyj3663) if r.TryDecodeAsNil() { - yyv3637[yyj3637] = EndpointPort{} + yyv3663[yyj3663] = EndpointPort{} } else { - yyv3638 := &yyv3637[yyj3637] - yyv3638.CodecDecodeSelf(d) + yyv3664 := &yyv3663[yyj3663] + yyv3664.CodecDecodeSelf(d) } } - if yyrt3637 { - for ; yyj3637 < yyl3637; yyj3637++ { - yyv3637 = append(yyv3637, EndpointPort{}) - yyh3637.ElemContainerState(yyj3637) + if yyrt3663 { + for ; yyj3663 < yyl3663; yyj3663++ { + yyv3663 = append(yyv3663, EndpointPort{}) + yyh3663.ElemContainerState(yyj3663) if r.TryDecodeAsNil() { - yyv3637[yyj3637] = EndpointPort{} + yyv3663[yyj3663] = EndpointPort{} } else { - yyv3639 := &yyv3637[yyj3637] - yyv3639.CodecDecodeSelf(d) + yyv3665 := &yyv3663[yyj3663] + yyv3665.CodecDecodeSelf(d) } } } } else { - yyj3637 := 0 - for ; !r.CheckBreak(); yyj3637++ { + yyj3663 := 0 + for ; !r.CheckBreak(); yyj3663++ { - if yyj3637 >= len(yyv3637) { - yyv3637 = append(yyv3637, EndpointPort{}) // var yyz3637 EndpointPort - yyc3637 = true + if yyj3663 >= len(yyv3663) { + yyv3663 = append(yyv3663, EndpointPort{}) // var yyz3663 EndpointPort + yyc3663 = true } - yyh3637.ElemContainerState(yyj3637) - if yyj3637 < len(yyv3637) { + yyh3663.ElemContainerState(yyj3663) + if yyj3663 < len(yyv3663) { if r.TryDecodeAsNil() { - yyv3637[yyj3637] = EndpointPort{} + yyv3663[yyj3663] = EndpointPort{} } else { - yyv3640 := &yyv3637[yyj3637] - yyv3640.CodecDecodeSelf(d) + yyv3666 := &yyv3663[yyj3663] + yyv3666.CodecDecodeSelf(d) } } else { @@ -45930,17 +46229,17 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } - if yyj3637 < len(yyv3637) { - yyv3637 = yyv3637[:yyj3637] - yyc3637 = true - } else if yyj3637 == 0 && yyv3637 == nil { - yyv3637 = []EndpointPort{} - yyc3637 = true + if yyj3663 < len(yyv3663) { + yyv3663 = yyv3663[:yyj3663] + yyc3663 = true + } else if yyj3663 == 0 && yyv3663 == nil { + yyv3663 = []EndpointPort{} + yyc3663 = true } } - yyh3637.End() - if yyc3637 { - *v = yyv3637 + yyh3663.End() + if yyc3663 { + *v = yyv3663 } } @@ -45949,10 +46248,10 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3641 := range v { + for _, yyv3667 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3642 := &yyv3641 - yy3642.CodecEncodeSelf(e) + yy3668 := &yyv3667 + yy3668.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45962,83 +46261,83 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3643 := *v - yyh3643, yyl3643 := z.DecSliceHelperStart() - var yyc3643 bool - if yyl3643 == 0 { - if yyv3643 == nil { - yyv3643 = []Endpoints{} - yyc3643 = true - } else if len(yyv3643) != 0 { - yyv3643 = yyv3643[:0] - yyc3643 = true + yyv3669 := *v + yyh3669, yyl3669 := z.DecSliceHelperStart() + var yyc3669 bool + if yyl3669 == 0 { + if yyv3669 == nil { + yyv3669 = []Endpoints{} + yyc3669 = true + } else if len(yyv3669) != 0 { + yyv3669 = yyv3669[:0] + yyc3669 = true } - } else if yyl3643 > 0 { - var yyrr3643, yyrl3643 int - var yyrt3643 bool - if yyl3643 > cap(yyv3643) { + } else if yyl3669 > 0 { + var yyrr3669, yyrl3669 int + var yyrt3669 bool + if yyl3669 > cap(yyv3669) { - yyrg3643 := len(yyv3643) > 0 - yyv23643 := yyv3643 - yyrl3643, yyrt3643 = z.DecInferLen(yyl3643, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3643 { - if yyrl3643 <= cap(yyv3643) { - yyv3643 = yyv3643[:yyrl3643] + yyrg3669 := len(yyv3669) > 0 + yyv23669 := yyv3669 + yyrl3669, yyrt3669 = z.DecInferLen(yyl3669, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3669 { + if yyrl3669 <= cap(yyv3669) { + yyv3669 = yyv3669[:yyrl3669] } else { - yyv3643 = make([]Endpoints, yyrl3643) + yyv3669 = make([]Endpoints, yyrl3669) } } else { - yyv3643 = make([]Endpoints, yyrl3643) + yyv3669 = make([]Endpoints, yyrl3669) } - yyc3643 = true - yyrr3643 = len(yyv3643) - if yyrg3643 { - copy(yyv3643, yyv23643) + yyc3669 = true + yyrr3669 = len(yyv3669) + if yyrg3669 { + copy(yyv3669, yyv23669) } - } else if yyl3643 != len(yyv3643) { - yyv3643 = yyv3643[:yyl3643] - yyc3643 = true + } else if yyl3669 != len(yyv3669) { + yyv3669 = yyv3669[:yyl3669] + yyc3669 = true } - yyj3643 := 0 - for ; yyj3643 < yyrr3643; yyj3643++ { - yyh3643.ElemContainerState(yyj3643) + yyj3669 := 0 + for ; yyj3669 < yyrr3669; yyj3669++ { + yyh3669.ElemContainerState(yyj3669) if r.TryDecodeAsNil() { - yyv3643[yyj3643] = Endpoints{} + yyv3669[yyj3669] = Endpoints{} } else { - yyv3644 := &yyv3643[yyj3643] - yyv3644.CodecDecodeSelf(d) + yyv3670 := &yyv3669[yyj3669] + yyv3670.CodecDecodeSelf(d) } } - if yyrt3643 { - for ; yyj3643 < yyl3643; yyj3643++ { - yyv3643 = append(yyv3643, Endpoints{}) - yyh3643.ElemContainerState(yyj3643) + if yyrt3669 { + for ; yyj3669 < yyl3669; yyj3669++ { + yyv3669 = append(yyv3669, Endpoints{}) + yyh3669.ElemContainerState(yyj3669) if r.TryDecodeAsNil() { - yyv3643[yyj3643] = Endpoints{} + yyv3669[yyj3669] = Endpoints{} } else { - yyv3645 := &yyv3643[yyj3643] - yyv3645.CodecDecodeSelf(d) + yyv3671 := &yyv3669[yyj3669] + yyv3671.CodecDecodeSelf(d) } } } } else { - yyj3643 := 0 - for ; !r.CheckBreak(); yyj3643++ { + yyj3669 := 0 + for ; !r.CheckBreak(); yyj3669++ { - if yyj3643 >= len(yyv3643) { - yyv3643 = append(yyv3643, Endpoints{}) // var yyz3643 Endpoints - yyc3643 = true + if yyj3669 >= len(yyv3669) { + yyv3669 = append(yyv3669, Endpoints{}) // var yyz3669 Endpoints + yyc3669 = true } - yyh3643.ElemContainerState(yyj3643) - if yyj3643 < len(yyv3643) { + yyh3669.ElemContainerState(yyj3669) + if yyj3669 < len(yyv3669) { if r.TryDecodeAsNil() { - yyv3643[yyj3643] = Endpoints{} + yyv3669[yyj3669] = Endpoints{} } else { - yyv3646 := &yyv3643[yyj3643] - yyv3646.CodecDecodeSelf(d) + yyv3672 := &yyv3669[yyj3669] + yyv3672.CodecDecodeSelf(d) } } else { @@ -46046,17 +46345,17 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } - if yyj3643 < len(yyv3643) { - yyv3643 = yyv3643[:yyj3643] - yyc3643 = true - } else if yyj3643 == 0 && yyv3643 == nil { - yyv3643 = []Endpoints{} - yyc3643 = true + if yyj3669 < len(yyv3669) { + yyv3669 = yyv3669[:yyj3669] + yyc3669 = true + } else if yyj3669 == 0 && yyv3669 == nil { + yyv3669 = []Endpoints{} + yyc3669 = true } } - yyh3643.End() - if yyc3643 { - *v = yyv3643 + yyh3669.End() + if yyc3669 { + *v = yyv3669 } } @@ -46065,10 +46364,10 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3647 := range v { + for _, yyv3673 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3648 := &yyv3647 - yy3648.CodecEncodeSelf(e) + yy3674 := &yyv3673 + yy3674.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46078,83 +46377,83 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3649 := *v - yyh3649, yyl3649 := z.DecSliceHelperStart() - var yyc3649 bool - if yyl3649 == 0 { - if yyv3649 == nil { - yyv3649 = []NodeCondition{} - yyc3649 = true - } else if len(yyv3649) != 0 { - yyv3649 = yyv3649[:0] - yyc3649 = true + yyv3675 := *v + yyh3675, yyl3675 := z.DecSliceHelperStart() + var yyc3675 bool + if yyl3675 == 0 { + if yyv3675 == nil { + yyv3675 = []NodeCondition{} + yyc3675 = true + } else if len(yyv3675) != 0 { + yyv3675 = yyv3675[:0] + yyc3675 = true } - } else if yyl3649 > 0 { - var yyrr3649, yyrl3649 int - var yyrt3649 bool - if yyl3649 > cap(yyv3649) { + } else if yyl3675 > 0 { + var yyrr3675, yyrl3675 int + var yyrt3675 bool + if yyl3675 > cap(yyv3675) { - yyrg3649 := len(yyv3649) > 0 - yyv23649 := yyv3649 - yyrl3649, yyrt3649 = z.DecInferLen(yyl3649, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3649 { - if yyrl3649 <= cap(yyv3649) { - yyv3649 = yyv3649[:yyrl3649] + yyrg3675 := len(yyv3675) > 0 + yyv23675 := yyv3675 + yyrl3675, yyrt3675 = z.DecInferLen(yyl3675, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3675 { + if yyrl3675 <= cap(yyv3675) { + yyv3675 = yyv3675[:yyrl3675] } else { - yyv3649 = make([]NodeCondition, yyrl3649) + yyv3675 = make([]NodeCondition, yyrl3675) } } else { - yyv3649 = make([]NodeCondition, yyrl3649) + yyv3675 = make([]NodeCondition, yyrl3675) } - yyc3649 = true - yyrr3649 = len(yyv3649) - if yyrg3649 { - copy(yyv3649, yyv23649) + yyc3675 = true + yyrr3675 = len(yyv3675) + if yyrg3675 { + copy(yyv3675, yyv23675) } - } else if yyl3649 != len(yyv3649) { - yyv3649 = yyv3649[:yyl3649] - yyc3649 = true + } else if yyl3675 != len(yyv3675) { + yyv3675 = yyv3675[:yyl3675] + yyc3675 = true } - yyj3649 := 0 - for ; yyj3649 < yyrr3649; yyj3649++ { - yyh3649.ElemContainerState(yyj3649) + yyj3675 := 0 + for ; yyj3675 < yyrr3675; yyj3675++ { + yyh3675.ElemContainerState(yyj3675) if r.TryDecodeAsNil() { - yyv3649[yyj3649] = NodeCondition{} + yyv3675[yyj3675] = NodeCondition{} } else { - yyv3650 := &yyv3649[yyj3649] - yyv3650.CodecDecodeSelf(d) + yyv3676 := &yyv3675[yyj3675] + yyv3676.CodecDecodeSelf(d) } } - if yyrt3649 { - for ; yyj3649 < yyl3649; yyj3649++ { - yyv3649 = append(yyv3649, NodeCondition{}) - yyh3649.ElemContainerState(yyj3649) + if yyrt3675 { + for ; yyj3675 < yyl3675; yyj3675++ { + yyv3675 = append(yyv3675, NodeCondition{}) + yyh3675.ElemContainerState(yyj3675) if r.TryDecodeAsNil() { - yyv3649[yyj3649] = NodeCondition{} + yyv3675[yyj3675] = NodeCondition{} } else { - yyv3651 := &yyv3649[yyj3649] - yyv3651.CodecDecodeSelf(d) + yyv3677 := &yyv3675[yyj3675] + yyv3677.CodecDecodeSelf(d) } } } } else { - yyj3649 := 0 - for ; !r.CheckBreak(); yyj3649++ { + yyj3675 := 0 + for ; !r.CheckBreak(); yyj3675++ { - if yyj3649 >= len(yyv3649) { - yyv3649 = append(yyv3649, NodeCondition{}) // var yyz3649 NodeCondition - yyc3649 = true + if yyj3675 >= len(yyv3675) { + yyv3675 = append(yyv3675, NodeCondition{}) // var yyz3675 NodeCondition + yyc3675 = true } - yyh3649.ElemContainerState(yyj3649) - if yyj3649 < len(yyv3649) { + yyh3675.ElemContainerState(yyj3675) + if yyj3675 < len(yyv3675) { if r.TryDecodeAsNil() { - yyv3649[yyj3649] = NodeCondition{} + yyv3675[yyj3675] = NodeCondition{} } else { - yyv3652 := &yyv3649[yyj3649] - yyv3652.CodecDecodeSelf(d) + yyv3678 := &yyv3675[yyj3675] + yyv3678.CodecDecodeSelf(d) } } else { @@ -46162,17 +46461,17 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } } - if yyj3649 < len(yyv3649) { - yyv3649 = yyv3649[:yyj3649] - yyc3649 = true - } else if yyj3649 == 0 && yyv3649 == nil { - yyv3649 = []NodeCondition{} - yyc3649 = true + if yyj3675 < len(yyv3675) { + yyv3675 = yyv3675[:yyj3675] + yyc3675 = true + } else if yyj3675 == 0 && yyv3675 == nil { + yyv3675 = []NodeCondition{} + yyc3675 = true } } - yyh3649.End() - if yyc3649 { - *v = yyv3649 + yyh3675.End() + if yyc3675 { + *v = yyv3675 } } @@ -46181,10 +46480,10 @@ func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3653 := range v { + for _, yyv3679 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3654 := &yyv3653 - yy3654.CodecEncodeSelf(e) + yy3680 := &yyv3679 + yy3680.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46194,83 +46493,83 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3655 := *v - yyh3655, yyl3655 := z.DecSliceHelperStart() - var yyc3655 bool - if yyl3655 == 0 { - if yyv3655 == nil { - yyv3655 = []NodeAddress{} - yyc3655 = true - } else if len(yyv3655) != 0 { - yyv3655 = yyv3655[:0] - yyc3655 = true + yyv3681 := *v + yyh3681, yyl3681 := z.DecSliceHelperStart() + var yyc3681 bool + if yyl3681 == 0 { + if yyv3681 == nil { + yyv3681 = []NodeAddress{} + yyc3681 = true + } else if len(yyv3681) != 0 { + yyv3681 = yyv3681[:0] + yyc3681 = true } - } else if yyl3655 > 0 { - var yyrr3655, yyrl3655 int - var yyrt3655 bool - if yyl3655 > cap(yyv3655) { + } else if yyl3681 > 0 { + var yyrr3681, yyrl3681 int + var yyrt3681 bool + if yyl3681 > cap(yyv3681) { - yyrg3655 := len(yyv3655) > 0 - yyv23655 := yyv3655 - yyrl3655, yyrt3655 = z.DecInferLen(yyl3655, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3655 { - if yyrl3655 <= cap(yyv3655) { - yyv3655 = yyv3655[:yyrl3655] + yyrg3681 := len(yyv3681) > 0 + yyv23681 := yyv3681 + yyrl3681, yyrt3681 = z.DecInferLen(yyl3681, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3681 { + if yyrl3681 <= cap(yyv3681) { + yyv3681 = yyv3681[:yyrl3681] } else { - yyv3655 = make([]NodeAddress, yyrl3655) + yyv3681 = make([]NodeAddress, yyrl3681) } } else { - yyv3655 = make([]NodeAddress, yyrl3655) + yyv3681 = make([]NodeAddress, yyrl3681) } - yyc3655 = true - yyrr3655 = len(yyv3655) - if yyrg3655 { - copy(yyv3655, yyv23655) + yyc3681 = true + yyrr3681 = len(yyv3681) + if yyrg3681 { + copy(yyv3681, yyv23681) } - } else if yyl3655 != len(yyv3655) { - yyv3655 = yyv3655[:yyl3655] - yyc3655 = true + } else if yyl3681 != len(yyv3681) { + yyv3681 = yyv3681[:yyl3681] + yyc3681 = true } - yyj3655 := 0 - for ; yyj3655 < yyrr3655; yyj3655++ { - yyh3655.ElemContainerState(yyj3655) + yyj3681 := 0 + for ; yyj3681 < yyrr3681; yyj3681++ { + yyh3681.ElemContainerState(yyj3681) if r.TryDecodeAsNil() { - yyv3655[yyj3655] = NodeAddress{} + yyv3681[yyj3681] = NodeAddress{} } else { - yyv3656 := &yyv3655[yyj3655] - yyv3656.CodecDecodeSelf(d) + yyv3682 := &yyv3681[yyj3681] + yyv3682.CodecDecodeSelf(d) } } - if yyrt3655 { - for ; yyj3655 < yyl3655; yyj3655++ { - yyv3655 = append(yyv3655, NodeAddress{}) - yyh3655.ElemContainerState(yyj3655) + if yyrt3681 { + for ; yyj3681 < yyl3681; yyj3681++ { + yyv3681 = append(yyv3681, NodeAddress{}) + yyh3681.ElemContainerState(yyj3681) if r.TryDecodeAsNil() { - yyv3655[yyj3655] = NodeAddress{} + yyv3681[yyj3681] = NodeAddress{} } else { - yyv3657 := &yyv3655[yyj3655] - yyv3657.CodecDecodeSelf(d) + yyv3683 := &yyv3681[yyj3681] + yyv3683.CodecDecodeSelf(d) } } } } else { - yyj3655 := 0 - for ; !r.CheckBreak(); yyj3655++ { + yyj3681 := 0 + for ; !r.CheckBreak(); yyj3681++ { - if yyj3655 >= len(yyv3655) { - yyv3655 = append(yyv3655, NodeAddress{}) // var yyz3655 NodeAddress - yyc3655 = true + if yyj3681 >= len(yyv3681) { + yyv3681 = append(yyv3681, NodeAddress{}) // var yyz3681 NodeAddress + yyc3681 = true } - yyh3655.ElemContainerState(yyj3655) - if yyj3655 < len(yyv3655) { + yyh3681.ElemContainerState(yyj3681) + if yyj3681 < len(yyv3681) { if r.TryDecodeAsNil() { - yyv3655[yyj3655] = NodeAddress{} + yyv3681[yyj3681] = NodeAddress{} } else { - yyv3658 := &yyv3655[yyj3655] - yyv3658.CodecDecodeSelf(d) + yyv3684 := &yyv3681[yyj3681] + yyv3684.CodecDecodeSelf(d) } } else { @@ -46278,17 +46577,17 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } } - if yyj3655 < len(yyv3655) { - yyv3655 = yyv3655[:yyj3655] - yyc3655 = true - } else if yyj3655 == 0 && yyv3655 == nil { - yyv3655 = []NodeAddress{} - yyc3655 = true + if yyj3681 < len(yyv3681) { + yyv3681 = yyv3681[:yyj3681] + yyc3681 = true + } else if yyj3681 == 0 && yyv3681 == nil { + yyv3681 = []NodeAddress{} + yyc3681 = true } } - yyh3655.End() - if yyc3655 { - *v = yyv3655 + yyh3681.End() + if yyc3681 { + *v = yyv3681 } } @@ -46297,19 +46596,19 @@ func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk3659, yyv3659 := range v { + for yyk3685, yyv3685 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk3659.CodecEncodeSelf(e) + yyk3685.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3660 := &yyv3659 - yym3661 := z.EncBinary() - _ = yym3661 + yy3686 := &yyv3685 + yym3687 := z.EncBinary() + _ = yym3687 if false { - } else if z.HasExtensions() && z.EncExt(yy3660) { - } else if !yym3661 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3660) + } else if z.HasExtensions() && z.EncExt(yy3686) { + } else if !yym3687 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3686) } else { - z.EncFallback(yy3660) + z.EncFallback(yy3686) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46320,86 +46619,86 @@ func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3662 := *v - yyl3662 := r.ReadMapStart() - yybh3662 := z.DecBasicHandle() - if yyv3662 == nil { - yyrl3662, _ := z.DecInferLen(yyl3662, yybh3662.MaxInitLen, 40) - yyv3662 = make(map[ResourceName]pkg3_resource.Quantity, yyrl3662) - *v = yyv3662 + yyv3688 := *v + yyl3688 := r.ReadMapStart() + yybh3688 := z.DecBasicHandle() + if yyv3688 == nil { + yyrl3688, _ := z.DecInferLen(yyl3688, yybh3688.MaxInitLen, 40) + yyv3688 = make(map[ResourceName]pkg3_resource.Quantity, yyrl3688) + *v = yyv3688 } - var yymk3662 ResourceName - var yymv3662 pkg3_resource.Quantity - var yymg3662 bool - if yybh3662.MapValueReset { - yymg3662 = true + var yymk3688 ResourceName + var yymv3688 pkg3_resource.Quantity + var yymg3688 bool + if yybh3688.MapValueReset { + yymg3688 = true } - if yyl3662 > 0 { - for yyj3662 := 0; yyj3662 < yyl3662; yyj3662++ { + if yyl3688 > 0 { + for yyj3688 := 0; yyj3688 < yyl3688; yyj3688++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3662 = "" + yymk3688 = "" } else { - yymk3662 = ResourceName(r.DecodeString()) + yymk3688 = ResourceName(r.DecodeString()) } - if yymg3662 { - yymv3662 = yyv3662[yymk3662] + if yymg3688 { + yymv3688 = yyv3688[yymk3688] } else { - yymv3662 = pkg3_resource.Quantity{} + yymv3688 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3662 = pkg3_resource.Quantity{} + yymv3688 = pkg3_resource.Quantity{} } else { - yyv3664 := &yymv3662 - yym3665 := z.DecBinary() - _ = yym3665 + yyv3690 := &yymv3688 + yym3691 := z.DecBinary() + _ = yym3691 if false { - } else if z.HasExtensions() && z.DecExt(yyv3664) { - } else if !yym3665 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3664) + } else if z.HasExtensions() && z.DecExt(yyv3690) { + } else if !yym3691 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3690) } else { - z.DecFallback(yyv3664, false) + z.DecFallback(yyv3690, false) } } - if yyv3662 != nil { - yyv3662[yymk3662] = yymv3662 + if yyv3688 != nil { + yyv3688[yymk3688] = yymv3688 } } - } else if yyl3662 < 0 { - for yyj3662 := 0; !r.CheckBreak(); yyj3662++ { + } else if yyl3688 < 0 { + for yyj3688 := 0; !r.CheckBreak(); yyj3688++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3662 = "" + yymk3688 = "" } else { - yymk3662 = ResourceName(r.DecodeString()) + yymk3688 = ResourceName(r.DecodeString()) } - if yymg3662 { - yymv3662 = yyv3662[yymk3662] + if yymg3688 { + yymv3688 = yyv3688[yymk3688] } else { - yymv3662 = pkg3_resource.Quantity{} + yymv3688 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3662 = pkg3_resource.Quantity{} + yymv3688 = pkg3_resource.Quantity{} } else { - yyv3667 := &yymv3662 - yym3668 := z.DecBinary() - _ = yym3668 + yyv3693 := &yymv3688 + yym3694 := z.DecBinary() + _ = yym3694 if false { - } else if z.HasExtensions() && z.DecExt(yyv3667) { - } else if !yym3668 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3667) + } else if z.HasExtensions() && z.DecExt(yyv3693) { + } else if !yym3694 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3693) } else { - z.DecFallback(yyv3667, false) + z.DecFallback(yyv3693, false) } } - if yyv3662 != nil { - yyv3662[yymk3662] = yymv3662 + if yyv3688 != nil { + yyv3688[yymk3688] = yymv3688 } } } // else len==0: TODO: Should we clear map entries? @@ -46411,10 +46710,10 @@ func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3669 := range v { + for _, yyv3695 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3670 := &yyv3669 - yy3670.CodecEncodeSelf(e) + yy3696 := &yyv3695 + yy3696.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46424,83 +46723,83 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3671 := *v - yyh3671, yyl3671 := z.DecSliceHelperStart() - var yyc3671 bool - if yyl3671 == 0 { - if yyv3671 == nil { - yyv3671 = []Node{} - yyc3671 = true - } else if len(yyv3671) != 0 { - yyv3671 = yyv3671[:0] - yyc3671 = true + yyv3697 := *v + yyh3697, yyl3697 := z.DecSliceHelperStart() + var yyc3697 bool + if yyl3697 == 0 { + if yyv3697 == nil { + yyv3697 = []Node{} + yyc3697 = true + } else if len(yyv3697) != 0 { + yyv3697 = yyv3697[:0] + yyc3697 = true } - } else if yyl3671 > 0 { - var yyrr3671, yyrl3671 int - var yyrt3671 bool - if yyl3671 > cap(yyv3671) { + } else if yyl3697 > 0 { + var yyrr3697, yyrl3697 int + var yyrt3697 bool + if yyl3697 > cap(yyv3697) { - yyrg3671 := len(yyv3671) > 0 - yyv23671 := yyv3671 - yyrl3671, yyrt3671 = z.DecInferLen(yyl3671, z.DecBasicHandle().MaxInitLen, 464) - if yyrt3671 { - if yyrl3671 <= cap(yyv3671) { - yyv3671 = yyv3671[:yyrl3671] + yyrg3697 := len(yyv3697) > 0 + yyv23697 := yyv3697 + yyrl3697, yyrt3697 = z.DecInferLen(yyl3697, z.DecBasicHandle().MaxInitLen, 464) + if yyrt3697 { + if yyrl3697 <= cap(yyv3697) { + yyv3697 = yyv3697[:yyrl3697] } else { - yyv3671 = make([]Node, yyrl3671) + yyv3697 = make([]Node, yyrl3697) } } else { - yyv3671 = make([]Node, yyrl3671) + yyv3697 = make([]Node, yyrl3697) } - yyc3671 = true - yyrr3671 = len(yyv3671) - if yyrg3671 { - copy(yyv3671, yyv23671) + yyc3697 = true + yyrr3697 = len(yyv3697) + if yyrg3697 { + copy(yyv3697, yyv23697) } - } else if yyl3671 != len(yyv3671) { - yyv3671 = yyv3671[:yyl3671] - yyc3671 = true + } else if yyl3697 != len(yyv3697) { + yyv3697 = yyv3697[:yyl3697] + yyc3697 = true } - yyj3671 := 0 - for ; yyj3671 < yyrr3671; yyj3671++ { - yyh3671.ElemContainerState(yyj3671) + yyj3697 := 0 + for ; yyj3697 < yyrr3697; yyj3697++ { + yyh3697.ElemContainerState(yyj3697) if r.TryDecodeAsNil() { - yyv3671[yyj3671] = Node{} + yyv3697[yyj3697] = Node{} } else { - yyv3672 := &yyv3671[yyj3671] - yyv3672.CodecDecodeSelf(d) + yyv3698 := &yyv3697[yyj3697] + yyv3698.CodecDecodeSelf(d) } } - if yyrt3671 { - for ; yyj3671 < yyl3671; yyj3671++ { - yyv3671 = append(yyv3671, Node{}) - yyh3671.ElemContainerState(yyj3671) + if yyrt3697 { + for ; yyj3697 < yyl3697; yyj3697++ { + yyv3697 = append(yyv3697, Node{}) + yyh3697.ElemContainerState(yyj3697) if r.TryDecodeAsNil() { - yyv3671[yyj3671] = Node{} + yyv3697[yyj3697] = Node{} } else { - yyv3673 := &yyv3671[yyj3671] - yyv3673.CodecDecodeSelf(d) + yyv3699 := &yyv3697[yyj3697] + yyv3699.CodecDecodeSelf(d) } } } } else { - yyj3671 := 0 - for ; !r.CheckBreak(); yyj3671++ { + yyj3697 := 0 + for ; !r.CheckBreak(); yyj3697++ { - if yyj3671 >= len(yyv3671) { - yyv3671 = append(yyv3671, Node{}) // var yyz3671 Node - yyc3671 = true + if yyj3697 >= len(yyv3697) { + yyv3697 = append(yyv3697, Node{}) // var yyz3697 Node + yyc3697 = true } - yyh3671.ElemContainerState(yyj3671) - if yyj3671 < len(yyv3671) { + yyh3697.ElemContainerState(yyj3697) + if yyj3697 < len(yyv3697) { if r.TryDecodeAsNil() { - yyv3671[yyj3671] = Node{} + yyv3697[yyj3697] = Node{} } else { - yyv3674 := &yyv3671[yyj3671] - yyv3674.CodecDecodeSelf(d) + yyv3700 := &yyv3697[yyj3697] + yyv3700.CodecDecodeSelf(d) } } else { @@ -46508,17 +46807,17 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { } } - if yyj3671 < len(yyv3671) { - yyv3671 = yyv3671[:yyj3671] - yyc3671 = true - } else if yyj3671 == 0 && yyv3671 == nil { - yyv3671 = []Node{} - yyc3671 = true + if yyj3697 < len(yyv3697) { + yyv3697 = yyv3697[:yyj3697] + yyc3697 = true + } else if yyj3697 == 0 && yyv3697 == nil { + yyv3697 = []Node{} + yyc3697 = true } } - yyh3671.End() - if yyc3671 { - *v = yyv3671 + yyh3697.End() + if yyc3697 { + *v = yyv3697 } } @@ -46527,9 +46826,9 @@ func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3675 := range v { + for _, yyv3701 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3675.CodecEncodeSelf(e) + yyv3701.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46539,75 +46838,75 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3676 := *v - yyh3676, yyl3676 := z.DecSliceHelperStart() - var yyc3676 bool - if yyl3676 == 0 { - if yyv3676 == nil { - yyv3676 = []FinalizerName{} - yyc3676 = true - } else if len(yyv3676) != 0 { - yyv3676 = yyv3676[:0] - yyc3676 = true + yyv3702 := *v + yyh3702, yyl3702 := z.DecSliceHelperStart() + var yyc3702 bool + if yyl3702 == 0 { + if yyv3702 == nil { + yyv3702 = []FinalizerName{} + yyc3702 = true + } else if len(yyv3702) != 0 { + yyv3702 = yyv3702[:0] + yyc3702 = true } - } else if yyl3676 > 0 { - var yyrr3676, yyrl3676 int - var yyrt3676 bool - if yyl3676 > cap(yyv3676) { + } else if yyl3702 > 0 { + var yyrr3702, yyrl3702 int + var yyrt3702 bool + if yyl3702 > cap(yyv3702) { - yyrl3676, yyrt3676 = z.DecInferLen(yyl3676, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3676 { - if yyrl3676 <= cap(yyv3676) { - yyv3676 = yyv3676[:yyrl3676] + yyrl3702, yyrt3702 = z.DecInferLen(yyl3702, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3702 { + if yyrl3702 <= cap(yyv3702) { + yyv3702 = yyv3702[:yyrl3702] } else { - yyv3676 = make([]FinalizerName, yyrl3676) + yyv3702 = make([]FinalizerName, yyrl3702) } } else { - yyv3676 = make([]FinalizerName, yyrl3676) + yyv3702 = make([]FinalizerName, yyrl3702) } - yyc3676 = true - yyrr3676 = len(yyv3676) - } else if yyl3676 != len(yyv3676) { - yyv3676 = yyv3676[:yyl3676] - yyc3676 = true + yyc3702 = true + yyrr3702 = len(yyv3702) + } else if yyl3702 != len(yyv3702) { + yyv3702 = yyv3702[:yyl3702] + yyc3702 = true } - yyj3676 := 0 - for ; yyj3676 < yyrr3676; yyj3676++ { - yyh3676.ElemContainerState(yyj3676) + yyj3702 := 0 + for ; yyj3702 < yyrr3702; yyj3702++ { + yyh3702.ElemContainerState(yyj3702) if r.TryDecodeAsNil() { - yyv3676[yyj3676] = "" + yyv3702[yyj3702] = "" } else { - yyv3676[yyj3676] = FinalizerName(r.DecodeString()) + yyv3702[yyj3702] = FinalizerName(r.DecodeString()) } } - if yyrt3676 { - for ; yyj3676 < yyl3676; yyj3676++ { - yyv3676 = append(yyv3676, "") - yyh3676.ElemContainerState(yyj3676) + if yyrt3702 { + for ; yyj3702 < yyl3702; yyj3702++ { + yyv3702 = append(yyv3702, "") + yyh3702.ElemContainerState(yyj3702) if r.TryDecodeAsNil() { - yyv3676[yyj3676] = "" + yyv3702[yyj3702] = "" } else { - yyv3676[yyj3676] = FinalizerName(r.DecodeString()) + yyv3702[yyj3702] = FinalizerName(r.DecodeString()) } } } } else { - yyj3676 := 0 - for ; !r.CheckBreak(); yyj3676++ { + yyj3702 := 0 + for ; !r.CheckBreak(); yyj3702++ { - if yyj3676 >= len(yyv3676) { - yyv3676 = append(yyv3676, "") // var yyz3676 FinalizerName - yyc3676 = true + if yyj3702 >= len(yyv3702) { + yyv3702 = append(yyv3702, "") // var yyz3702 FinalizerName + yyc3702 = true } - yyh3676.ElemContainerState(yyj3676) - if yyj3676 < len(yyv3676) { + yyh3702.ElemContainerState(yyj3702) + if yyj3702 < len(yyv3702) { if r.TryDecodeAsNil() { - yyv3676[yyj3676] = "" + yyv3702[yyj3702] = "" } else { - yyv3676[yyj3676] = FinalizerName(r.DecodeString()) + yyv3702[yyj3702] = FinalizerName(r.DecodeString()) } } else { @@ -46615,17 +46914,17 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } - if yyj3676 < len(yyv3676) { - yyv3676 = yyv3676[:yyj3676] - yyc3676 = true - } else if yyj3676 == 0 && yyv3676 == nil { - yyv3676 = []FinalizerName{} - yyc3676 = true + if yyj3702 < len(yyv3702) { + yyv3702 = yyv3702[:yyj3702] + yyc3702 = true + } else if yyj3702 == 0 && yyv3702 == nil { + yyv3702 = []FinalizerName{} + yyc3702 = true } } - yyh3676.End() - if yyc3676 { - *v = yyv3676 + yyh3702.End() + if yyc3702 { + *v = yyv3702 } } @@ -46634,10 +46933,10 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3680 := range v { + for _, yyv3706 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3681 := &yyv3680 - yy3681.CodecEncodeSelf(e) + yy3707 := &yyv3706 + yy3707.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46647,83 +46946,83 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3682 := *v - yyh3682, yyl3682 := z.DecSliceHelperStart() - var yyc3682 bool - if yyl3682 == 0 { - if yyv3682 == nil { - yyv3682 = []Namespace{} - yyc3682 = true - } else if len(yyv3682) != 0 { - yyv3682 = yyv3682[:0] - yyc3682 = true + yyv3708 := *v + yyh3708, yyl3708 := z.DecSliceHelperStart() + var yyc3708 bool + if yyl3708 == 0 { + if yyv3708 == nil { + yyv3708 = []Namespace{} + yyc3708 = true + } else if len(yyv3708) != 0 { + yyv3708 = yyv3708[:0] + yyc3708 = true } - } else if yyl3682 > 0 { - var yyrr3682, yyrl3682 int - var yyrt3682 bool - if yyl3682 > cap(yyv3682) { + } else if yyl3708 > 0 { + var yyrr3708, yyrl3708 int + var yyrt3708 bool + if yyl3708 > cap(yyv3708) { - yyrg3682 := len(yyv3682) > 0 - yyv23682 := yyv3682 - yyrl3682, yyrt3682 = z.DecInferLen(yyl3682, z.DecBasicHandle().MaxInitLen, 232) - if yyrt3682 { - if yyrl3682 <= cap(yyv3682) { - yyv3682 = yyv3682[:yyrl3682] + yyrg3708 := len(yyv3708) > 0 + yyv23708 := yyv3708 + yyrl3708, yyrt3708 = z.DecInferLen(yyl3708, z.DecBasicHandle().MaxInitLen, 232) + if yyrt3708 { + if yyrl3708 <= cap(yyv3708) { + yyv3708 = yyv3708[:yyrl3708] } else { - yyv3682 = make([]Namespace, yyrl3682) + yyv3708 = make([]Namespace, yyrl3708) } } else { - yyv3682 = make([]Namespace, yyrl3682) + yyv3708 = make([]Namespace, yyrl3708) } - yyc3682 = true - yyrr3682 = len(yyv3682) - if yyrg3682 { - copy(yyv3682, yyv23682) + yyc3708 = true + yyrr3708 = len(yyv3708) + if yyrg3708 { + copy(yyv3708, yyv23708) } - } else if yyl3682 != len(yyv3682) { - yyv3682 = yyv3682[:yyl3682] - yyc3682 = true + } else if yyl3708 != len(yyv3708) { + yyv3708 = yyv3708[:yyl3708] + yyc3708 = true } - yyj3682 := 0 - for ; yyj3682 < yyrr3682; yyj3682++ { - yyh3682.ElemContainerState(yyj3682) + yyj3708 := 0 + for ; yyj3708 < yyrr3708; yyj3708++ { + yyh3708.ElemContainerState(yyj3708) if r.TryDecodeAsNil() { - yyv3682[yyj3682] = Namespace{} + yyv3708[yyj3708] = Namespace{} } else { - yyv3683 := &yyv3682[yyj3682] - yyv3683.CodecDecodeSelf(d) + yyv3709 := &yyv3708[yyj3708] + yyv3709.CodecDecodeSelf(d) } } - if yyrt3682 { - for ; yyj3682 < yyl3682; yyj3682++ { - yyv3682 = append(yyv3682, Namespace{}) - yyh3682.ElemContainerState(yyj3682) + if yyrt3708 { + for ; yyj3708 < yyl3708; yyj3708++ { + yyv3708 = append(yyv3708, Namespace{}) + yyh3708.ElemContainerState(yyj3708) if r.TryDecodeAsNil() { - yyv3682[yyj3682] = Namespace{} + yyv3708[yyj3708] = Namespace{} } else { - yyv3684 := &yyv3682[yyj3682] - yyv3684.CodecDecodeSelf(d) + yyv3710 := &yyv3708[yyj3708] + yyv3710.CodecDecodeSelf(d) } } } } else { - yyj3682 := 0 - for ; !r.CheckBreak(); yyj3682++ { + yyj3708 := 0 + for ; !r.CheckBreak(); yyj3708++ { - if yyj3682 >= len(yyv3682) { - yyv3682 = append(yyv3682, Namespace{}) // var yyz3682 Namespace - yyc3682 = true + if yyj3708 >= len(yyv3708) { + yyv3708 = append(yyv3708, Namespace{}) // var yyz3708 Namespace + yyc3708 = true } - yyh3682.ElemContainerState(yyj3682) - if yyj3682 < len(yyv3682) { + yyh3708.ElemContainerState(yyj3708) + if yyj3708 < len(yyv3708) { if r.TryDecodeAsNil() { - yyv3682[yyj3682] = Namespace{} + yyv3708[yyj3708] = Namespace{} } else { - yyv3685 := &yyv3682[yyj3682] - yyv3685.CodecDecodeSelf(d) + yyv3711 := &yyv3708[yyj3708] + yyv3711.CodecDecodeSelf(d) } } else { @@ -46731,17 +47030,17 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } - if yyj3682 < len(yyv3682) { - yyv3682 = yyv3682[:yyj3682] - yyc3682 = true - } else if yyj3682 == 0 && yyv3682 == nil { - yyv3682 = []Namespace{} - yyc3682 = true + if yyj3708 < len(yyv3708) { + yyv3708 = yyv3708[:yyj3708] + yyc3708 = true + } else if yyj3708 == 0 && yyv3708 == nil { + yyv3708 = []Namespace{} + yyc3708 = true } } - yyh3682.End() - if yyc3682 { - *v = yyv3682 + yyh3708.End() + if yyc3708 { + *v = yyv3708 } } @@ -46750,10 +47049,10 @@ func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3686 := range v { + for _, yyv3712 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3687 := &yyv3686 - yy3687.CodecEncodeSelf(e) + yy3713 := &yyv3712 + yy3713.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46763,83 +47062,83 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3688 := *v - yyh3688, yyl3688 := z.DecSliceHelperStart() - var yyc3688 bool - if yyl3688 == 0 { - if yyv3688 == nil { - yyv3688 = []Event{} - yyc3688 = true - } else if len(yyv3688) != 0 { - yyv3688 = yyv3688[:0] - yyc3688 = true + yyv3714 := *v + yyh3714, yyl3714 := z.DecSliceHelperStart() + var yyc3714 bool + if yyl3714 == 0 { + if yyv3714 == nil { + yyv3714 = []Event{} + yyc3714 = true + } else if len(yyv3714) != 0 { + yyv3714 = yyv3714[:0] + yyc3714 = true } - } else if yyl3688 > 0 { - var yyrr3688, yyrl3688 int - var yyrt3688 bool - if yyl3688 > cap(yyv3688) { + } else if yyl3714 > 0 { + var yyrr3714, yyrl3714 int + var yyrt3714 bool + if yyl3714 > cap(yyv3714) { - yyrg3688 := len(yyv3688) > 0 - yyv23688 := yyv3688 - yyrl3688, yyrt3688 = z.DecInferLen(yyl3688, z.DecBasicHandle().MaxInitLen, 440) - if yyrt3688 { - if yyrl3688 <= cap(yyv3688) { - yyv3688 = yyv3688[:yyrl3688] + yyrg3714 := len(yyv3714) > 0 + yyv23714 := yyv3714 + yyrl3714, yyrt3714 = z.DecInferLen(yyl3714, z.DecBasicHandle().MaxInitLen, 440) + if yyrt3714 { + if yyrl3714 <= cap(yyv3714) { + yyv3714 = yyv3714[:yyrl3714] } else { - yyv3688 = make([]Event, yyrl3688) + yyv3714 = make([]Event, yyrl3714) } } else { - yyv3688 = make([]Event, yyrl3688) + yyv3714 = make([]Event, yyrl3714) } - yyc3688 = true - yyrr3688 = len(yyv3688) - if yyrg3688 { - copy(yyv3688, yyv23688) + yyc3714 = true + yyrr3714 = len(yyv3714) + if yyrg3714 { + copy(yyv3714, yyv23714) } - } else if yyl3688 != len(yyv3688) { - yyv3688 = yyv3688[:yyl3688] - yyc3688 = true + } else if yyl3714 != len(yyv3714) { + yyv3714 = yyv3714[:yyl3714] + yyc3714 = true } - yyj3688 := 0 - for ; yyj3688 < yyrr3688; yyj3688++ { - yyh3688.ElemContainerState(yyj3688) + yyj3714 := 0 + for ; yyj3714 < yyrr3714; yyj3714++ { + yyh3714.ElemContainerState(yyj3714) if r.TryDecodeAsNil() { - yyv3688[yyj3688] = Event{} + yyv3714[yyj3714] = Event{} } else { - yyv3689 := &yyv3688[yyj3688] - yyv3689.CodecDecodeSelf(d) + yyv3715 := &yyv3714[yyj3714] + yyv3715.CodecDecodeSelf(d) } } - if yyrt3688 { - for ; yyj3688 < yyl3688; yyj3688++ { - yyv3688 = append(yyv3688, Event{}) - yyh3688.ElemContainerState(yyj3688) + if yyrt3714 { + for ; yyj3714 < yyl3714; yyj3714++ { + yyv3714 = append(yyv3714, Event{}) + yyh3714.ElemContainerState(yyj3714) if r.TryDecodeAsNil() { - yyv3688[yyj3688] = Event{} + yyv3714[yyj3714] = Event{} } else { - yyv3690 := &yyv3688[yyj3688] - yyv3690.CodecDecodeSelf(d) + yyv3716 := &yyv3714[yyj3714] + yyv3716.CodecDecodeSelf(d) } } } } else { - yyj3688 := 0 - for ; !r.CheckBreak(); yyj3688++ { + yyj3714 := 0 + for ; !r.CheckBreak(); yyj3714++ { - if yyj3688 >= len(yyv3688) { - yyv3688 = append(yyv3688, Event{}) // var yyz3688 Event - yyc3688 = true + if yyj3714 >= len(yyv3714) { + yyv3714 = append(yyv3714, Event{}) // var yyz3714 Event + yyc3714 = true } - yyh3688.ElemContainerState(yyj3688) - if yyj3688 < len(yyv3688) { + yyh3714.ElemContainerState(yyj3714) + if yyj3714 < len(yyv3714) { if r.TryDecodeAsNil() { - yyv3688[yyj3688] = Event{} + yyv3714[yyj3714] = Event{} } else { - yyv3691 := &yyv3688[yyj3688] - yyv3691.CodecDecodeSelf(d) + yyv3717 := &yyv3714[yyj3714] + yyv3717.CodecDecodeSelf(d) } } else { @@ -46847,17 +47146,17 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } - if yyj3688 < len(yyv3688) { - yyv3688 = yyv3688[:yyj3688] - yyc3688 = true - } else if yyj3688 == 0 && yyv3688 == nil { - yyv3688 = []Event{} - yyc3688 = true + if yyj3714 < len(yyv3714) { + yyv3714 = yyv3714[:yyj3714] + yyc3714 = true + } else if yyj3714 == 0 && yyv3714 == nil { + yyv3714 = []Event{} + yyc3714 = true } } - yyh3688.End() - if yyc3688 { - *v = yyv3688 + yyh3714.End() + if yyc3714 { + *v = yyv3714 } } @@ -46866,17 +47165,17 @@ func (x codecSelfer1234) encSliceruntime_Object(v []pkg8_runtime.Object, e *code z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3692 := range v { + for _, yyv3718 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyv3692 == nil { + if yyv3718 == nil { r.EncodeNil() } else { - yym3693 := z.EncBinary() - _ = yym3693 + yym3719 := z.EncBinary() + _ = yym3719 if false { - } else if z.HasExtensions() && z.EncExt(yyv3692) { + } else if z.HasExtensions() && z.EncExt(yyv3718) { } else { - z.EncFallback(yyv3692) + z.EncFallback(yyv3718) } } } @@ -46888,74 +47187,74 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg8_runtime.Object, d *cod z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3694 := *v - yyh3694, yyl3694 := z.DecSliceHelperStart() - var yyc3694 bool - if yyl3694 == 0 { - if yyv3694 == nil { - yyv3694 = []pkg8_runtime.Object{} - yyc3694 = true - } else if len(yyv3694) != 0 { - yyv3694 = yyv3694[:0] - yyc3694 = true + yyv3720 := *v + yyh3720, yyl3720 := z.DecSliceHelperStart() + var yyc3720 bool + if yyl3720 == 0 { + if yyv3720 == nil { + yyv3720 = []pkg8_runtime.Object{} + yyc3720 = true + } else if len(yyv3720) != 0 { + yyv3720 = yyv3720[:0] + yyc3720 = true } - } else if yyl3694 > 0 { - var yyrr3694, yyrl3694 int - var yyrt3694 bool - if yyl3694 > cap(yyv3694) { + } else if yyl3720 > 0 { + var yyrr3720, yyrl3720 int + var yyrt3720 bool + if yyl3720 > cap(yyv3720) { - yyrg3694 := len(yyv3694) > 0 - yyv23694 := yyv3694 - yyrl3694, yyrt3694 = z.DecInferLen(yyl3694, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3694 { - if yyrl3694 <= cap(yyv3694) { - yyv3694 = yyv3694[:yyrl3694] + yyrg3720 := len(yyv3720) > 0 + yyv23720 := yyv3720 + yyrl3720, yyrt3720 = z.DecInferLen(yyl3720, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3720 { + if yyrl3720 <= cap(yyv3720) { + yyv3720 = yyv3720[:yyrl3720] } else { - yyv3694 = make([]pkg8_runtime.Object, yyrl3694) + yyv3720 = make([]pkg8_runtime.Object, yyrl3720) } } else { - yyv3694 = make([]pkg8_runtime.Object, yyrl3694) + yyv3720 = make([]pkg8_runtime.Object, yyrl3720) } - yyc3694 = true - yyrr3694 = len(yyv3694) - if yyrg3694 { - copy(yyv3694, yyv23694) + yyc3720 = true + yyrr3720 = len(yyv3720) + if yyrg3720 { + copy(yyv3720, yyv23720) } - } else if yyl3694 != len(yyv3694) { - yyv3694 = yyv3694[:yyl3694] - yyc3694 = true + } else if yyl3720 != len(yyv3720) { + yyv3720 = yyv3720[:yyl3720] + yyc3720 = true } - yyj3694 := 0 - for ; yyj3694 < yyrr3694; yyj3694++ { - yyh3694.ElemContainerState(yyj3694) + yyj3720 := 0 + for ; yyj3720 < yyrr3720; yyj3720++ { + yyh3720.ElemContainerState(yyj3720) if r.TryDecodeAsNil() { - yyv3694[yyj3694] = nil + yyv3720[yyj3720] = nil } else { - yyv3695 := &yyv3694[yyj3694] - yym3696 := z.DecBinary() - _ = yym3696 + yyv3721 := &yyv3720[yyj3720] + yym3722 := z.DecBinary() + _ = yym3722 if false { - } else if z.HasExtensions() && z.DecExt(yyv3695) { + } else if z.HasExtensions() && z.DecExt(yyv3721) { } else { - z.DecFallback(yyv3695, true) + z.DecFallback(yyv3721, true) } } } - if yyrt3694 { - for ; yyj3694 < yyl3694; yyj3694++ { - yyv3694 = append(yyv3694, nil) - yyh3694.ElemContainerState(yyj3694) + if yyrt3720 { + for ; yyj3720 < yyl3720; yyj3720++ { + yyv3720 = append(yyv3720, nil) + yyh3720.ElemContainerState(yyj3720) if r.TryDecodeAsNil() { - yyv3694[yyj3694] = nil + yyv3720[yyj3720] = nil } else { - yyv3697 := &yyv3694[yyj3694] - yym3698 := z.DecBinary() - _ = yym3698 + yyv3723 := &yyv3720[yyj3720] + yym3724 := z.DecBinary() + _ = yym3724 if false { - } else if z.HasExtensions() && z.DecExt(yyv3697) { + } else if z.HasExtensions() && z.DecExt(yyv3723) { } else { - z.DecFallback(yyv3697, true) + z.DecFallback(yyv3723, true) } } @@ -46963,25 +47262,25 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg8_runtime.Object, d *cod } } else { - yyj3694 := 0 - for ; !r.CheckBreak(); yyj3694++ { + yyj3720 := 0 + for ; !r.CheckBreak(); yyj3720++ { - if yyj3694 >= len(yyv3694) { - yyv3694 = append(yyv3694, nil) // var yyz3694 pkg8_runtime.Object - yyc3694 = true + if yyj3720 >= len(yyv3720) { + yyv3720 = append(yyv3720, nil) // var yyz3720 pkg8_runtime.Object + yyc3720 = true } - yyh3694.ElemContainerState(yyj3694) - if yyj3694 < len(yyv3694) { + yyh3720.ElemContainerState(yyj3720) + if yyj3720 < len(yyv3720) { if r.TryDecodeAsNil() { - yyv3694[yyj3694] = nil + yyv3720[yyj3720] = nil } else { - yyv3699 := &yyv3694[yyj3694] - yym3700 := z.DecBinary() - _ = yym3700 + yyv3725 := &yyv3720[yyj3720] + yym3726 := z.DecBinary() + _ = yym3726 if false { - } else if z.HasExtensions() && z.DecExt(yyv3699) { + } else if z.HasExtensions() && z.DecExt(yyv3725) { } else { - z.DecFallback(yyv3699, true) + z.DecFallback(yyv3725, true) } } @@ -46990,17 +47289,17 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg8_runtime.Object, d *cod } } - if yyj3694 < len(yyv3694) { - yyv3694 = yyv3694[:yyj3694] - yyc3694 = true - } else if yyj3694 == 0 && yyv3694 == nil { - yyv3694 = []pkg8_runtime.Object{} - yyc3694 = true + if yyj3720 < len(yyv3720) { + yyv3720 = yyv3720[:yyj3720] + yyc3720 = true + } else if yyj3720 == 0 && yyv3720 == nil { + yyv3720 = []pkg8_runtime.Object{} + yyc3720 = true } } - yyh3694.End() - if yyc3694 { - *v = yyv3694 + yyh3720.End() + if yyc3720 { + *v = yyv3720 } } @@ -47009,10 +47308,10 @@ func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3701 := range v { + for _, yyv3727 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3702 := &yyv3701 - yy3702.CodecEncodeSelf(e) + yy3728 := &yyv3727 + yy3728.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47022,83 +47321,83 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3703 := *v - yyh3703, yyl3703 := z.DecSliceHelperStart() - var yyc3703 bool - if yyl3703 == 0 { - if yyv3703 == nil { - yyv3703 = []LimitRangeItem{} - yyc3703 = true - } else if len(yyv3703) != 0 { - yyv3703 = yyv3703[:0] - yyc3703 = true + yyv3729 := *v + yyh3729, yyl3729 := z.DecSliceHelperStart() + var yyc3729 bool + if yyl3729 == 0 { + if yyv3729 == nil { + yyv3729 = []LimitRangeItem{} + yyc3729 = true + } else if len(yyv3729) != 0 { + yyv3729 = yyv3729[:0] + yyc3729 = true } - } else if yyl3703 > 0 { - var yyrr3703, yyrl3703 int - var yyrt3703 bool - if yyl3703 > cap(yyv3703) { + } else if yyl3729 > 0 { + var yyrr3729, yyrl3729 int + var yyrt3729 bool + if yyl3729 > cap(yyv3729) { - yyrg3703 := len(yyv3703) > 0 - yyv23703 := yyv3703 - yyrl3703, yyrt3703 = z.DecInferLen(yyl3703, z.DecBasicHandle().MaxInitLen, 56) - if yyrt3703 { - if yyrl3703 <= cap(yyv3703) { - yyv3703 = yyv3703[:yyrl3703] + yyrg3729 := len(yyv3729) > 0 + yyv23729 := yyv3729 + yyrl3729, yyrt3729 = z.DecInferLen(yyl3729, z.DecBasicHandle().MaxInitLen, 56) + if yyrt3729 { + if yyrl3729 <= cap(yyv3729) { + yyv3729 = yyv3729[:yyrl3729] } else { - yyv3703 = make([]LimitRangeItem, yyrl3703) + yyv3729 = make([]LimitRangeItem, yyrl3729) } } else { - yyv3703 = make([]LimitRangeItem, yyrl3703) + yyv3729 = make([]LimitRangeItem, yyrl3729) } - yyc3703 = true - yyrr3703 = len(yyv3703) - if yyrg3703 { - copy(yyv3703, yyv23703) + yyc3729 = true + yyrr3729 = len(yyv3729) + if yyrg3729 { + copy(yyv3729, yyv23729) } - } else if yyl3703 != len(yyv3703) { - yyv3703 = yyv3703[:yyl3703] - yyc3703 = true + } else if yyl3729 != len(yyv3729) { + yyv3729 = yyv3729[:yyl3729] + yyc3729 = true } - yyj3703 := 0 - for ; yyj3703 < yyrr3703; yyj3703++ { - yyh3703.ElemContainerState(yyj3703) + yyj3729 := 0 + for ; yyj3729 < yyrr3729; yyj3729++ { + yyh3729.ElemContainerState(yyj3729) if r.TryDecodeAsNil() { - yyv3703[yyj3703] = LimitRangeItem{} + yyv3729[yyj3729] = LimitRangeItem{} } else { - yyv3704 := &yyv3703[yyj3703] - yyv3704.CodecDecodeSelf(d) + yyv3730 := &yyv3729[yyj3729] + yyv3730.CodecDecodeSelf(d) } } - if yyrt3703 { - for ; yyj3703 < yyl3703; yyj3703++ { - yyv3703 = append(yyv3703, LimitRangeItem{}) - yyh3703.ElemContainerState(yyj3703) + if yyrt3729 { + for ; yyj3729 < yyl3729; yyj3729++ { + yyv3729 = append(yyv3729, LimitRangeItem{}) + yyh3729.ElemContainerState(yyj3729) if r.TryDecodeAsNil() { - yyv3703[yyj3703] = LimitRangeItem{} + yyv3729[yyj3729] = LimitRangeItem{} } else { - yyv3705 := &yyv3703[yyj3703] - yyv3705.CodecDecodeSelf(d) + yyv3731 := &yyv3729[yyj3729] + yyv3731.CodecDecodeSelf(d) } } } } else { - yyj3703 := 0 - for ; !r.CheckBreak(); yyj3703++ { + yyj3729 := 0 + for ; !r.CheckBreak(); yyj3729++ { - if yyj3703 >= len(yyv3703) { - yyv3703 = append(yyv3703, LimitRangeItem{}) // var yyz3703 LimitRangeItem - yyc3703 = true + if yyj3729 >= len(yyv3729) { + yyv3729 = append(yyv3729, LimitRangeItem{}) // var yyz3729 LimitRangeItem + yyc3729 = true } - yyh3703.ElemContainerState(yyj3703) - if yyj3703 < len(yyv3703) { + yyh3729.ElemContainerState(yyj3729) + if yyj3729 < len(yyv3729) { if r.TryDecodeAsNil() { - yyv3703[yyj3703] = LimitRangeItem{} + yyv3729[yyj3729] = LimitRangeItem{} } else { - yyv3706 := &yyv3703[yyj3703] - yyv3706.CodecDecodeSelf(d) + yyv3732 := &yyv3729[yyj3729] + yyv3732.CodecDecodeSelf(d) } } else { @@ -47106,17 +47405,17 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 } } - if yyj3703 < len(yyv3703) { - yyv3703 = yyv3703[:yyj3703] - yyc3703 = true - } else if yyj3703 == 0 && yyv3703 == nil { - yyv3703 = []LimitRangeItem{} - yyc3703 = true + if yyj3729 < len(yyv3729) { + yyv3729 = yyv3729[:yyj3729] + yyc3729 = true + } else if yyj3729 == 0 && yyv3729 == nil { + yyv3729 = []LimitRangeItem{} + yyc3729 = true } } - yyh3703.End() - if yyc3703 { - *v = yyv3703 + yyh3729.End() + if yyc3729 { + *v = yyv3729 } } @@ -47125,10 +47424,10 @@ func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3707 := range v { + for _, yyv3733 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3708 := &yyv3707 - yy3708.CodecEncodeSelf(e) + yy3734 := &yyv3733 + yy3734.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47138,83 +47437,83 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3709 := *v - yyh3709, yyl3709 := z.DecSliceHelperStart() - var yyc3709 bool - if yyl3709 == 0 { - if yyv3709 == nil { - yyv3709 = []LimitRange{} - yyc3709 = true - } else if len(yyv3709) != 0 { - yyv3709 = yyv3709[:0] - yyc3709 = true + yyv3735 := *v + yyh3735, yyl3735 := z.DecSliceHelperStart() + var yyc3735 bool + if yyl3735 == 0 { + if yyv3735 == nil { + yyv3735 = []LimitRange{} + yyc3735 = true + } else if len(yyv3735) != 0 { + yyv3735 = yyv3735[:0] + yyc3735 = true } - } else if yyl3709 > 0 { - var yyrr3709, yyrl3709 int - var yyrt3709 bool - if yyl3709 > cap(yyv3709) { + } else if yyl3735 > 0 { + var yyrr3735, yyrl3735 int + var yyrt3735 bool + if yyl3735 > cap(yyv3735) { - yyrg3709 := len(yyv3709) > 0 - yyv23709 := yyv3709 - yyrl3709, yyrt3709 = z.DecInferLen(yyl3709, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3709 { - if yyrl3709 <= cap(yyv3709) { - yyv3709 = yyv3709[:yyrl3709] + yyrg3735 := len(yyv3735) > 0 + yyv23735 := yyv3735 + yyrl3735, yyrt3735 = z.DecInferLen(yyl3735, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3735 { + if yyrl3735 <= cap(yyv3735) { + yyv3735 = yyv3735[:yyrl3735] } else { - yyv3709 = make([]LimitRange, yyrl3709) + yyv3735 = make([]LimitRange, yyrl3735) } } else { - yyv3709 = make([]LimitRange, yyrl3709) + yyv3735 = make([]LimitRange, yyrl3735) } - yyc3709 = true - yyrr3709 = len(yyv3709) - if yyrg3709 { - copy(yyv3709, yyv23709) + yyc3735 = true + yyrr3735 = len(yyv3735) + if yyrg3735 { + copy(yyv3735, yyv23735) } - } else if yyl3709 != len(yyv3709) { - yyv3709 = yyv3709[:yyl3709] - yyc3709 = true + } else if yyl3735 != len(yyv3735) { + yyv3735 = yyv3735[:yyl3735] + yyc3735 = true } - yyj3709 := 0 - for ; yyj3709 < yyrr3709; yyj3709++ { - yyh3709.ElemContainerState(yyj3709) + yyj3735 := 0 + for ; yyj3735 < yyrr3735; yyj3735++ { + yyh3735.ElemContainerState(yyj3735) if r.TryDecodeAsNil() { - yyv3709[yyj3709] = LimitRange{} + yyv3735[yyj3735] = LimitRange{} } else { - yyv3710 := &yyv3709[yyj3709] - yyv3710.CodecDecodeSelf(d) + yyv3736 := &yyv3735[yyj3735] + yyv3736.CodecDecodeSelf(d) } } - if yyrt3709 { - for ; yyj3709 < yyl3709; yyj3709++ { - yyv3709 = append(yyv3709, LimitRange{}) - yyh3709.ElemContainerState(yyj3709) + if yyrt3735 { + for ; yyj3735 < yyl3735; yyj3735++ { + yyv3735 = append(yyv3735, LimitRange{}) + yyh3735.ElemContainerState(yyj3735) if r.TryDecodeAsNil() { - yyv3709[yyj3709] = LimitRange{} + yyv3735[yyj3735] = LimitRange{} } else { - yyv3711 := &yyv3709[yyj3709] - yyv3711.CodecDecodeSelf(d) + yyv3737 := &yyv3735[yyj3735] + yyv3737.CodecDecodeSelf(d) } } } } else { - yyj3709 := 0 - for ; !r.CheckBreak(); yyj3709++ { + yyj3735 := 0 + for ; !r.CheckBreak(); yyj3735++ { - if yyj3709 >= len(yyv3709) { - yyv3709 = append(yyv3709, LimitRange{}) // var yyz3709 LimitRange - yyc3709 = true + if yyj3735 >= len(yyv3735) { + yyv3735 = append(yyv3735, LimitRange{}) // var yyz3735 LimitRange + yyc3735 = true } - yyh3709.ElemContainerState(yyj3709) - if yyj3709 < len(yyv3709) { + yyh3735.ElemContainerState(yyj3735) + if yyj3735 < len(yyv3735) { if r.TryDecodeAsNil() { - yyv3709[yyj3709] = LimitRange{} + yyv3735[yyj3735] = LimitRange{} } else { - yyv3712 := &yyv3709[yyj3709] - yyv3712.CodecDecodeSelf(d) + yyv3738 := &yyv3735[yyj3735] + yyv3738.CodecDecodeSelf(d) } } else { @@ -47222,17 +47521,17 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } } - if yyj3709 < len(yyv3709) { - yyv3709 = yyv3709[:yyj3709] - yyc3709 = true - } else if yyj3709 == 0 && yyv3709 == nil { - yyv3709 = []LimitRange{} - yyc3709 = true + if yyj3735 < len(yyv3735) { + yyv3735 = yyv3735[:yyj3735] + yyc3735 = true + } else if yyj3735 == 0 && yyv3735 == nil { + yyv3735 = []LimitRange{} + yyc3735 = true } } - yyh3709.End() - if yyc3709 { - *v = yyv3709 + yyh3735.End() + if yyc3735 { + *v = yyv3735 } } @@ -47241,10 +47540,10 @@ func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3713 := range v { + for _, yyv3739 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3714 := &yyv3713 - yy3714.CodecEncodeSelf(e) + yy3740 := &yyv3739 + yy3740.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47254,83 +47553,83 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3715 := *v - yyh3715, yyl3715 := z.DecSliceHelperStart() - var yyc3715 bool - if yyl3715 == 0 { - if yyv3715 == nil { - yyv3715 = []ResourceQuota{} - yyc3715 = true - } else if len(yyv3715) != 0 { - yyv3715 = yyv3715[:0] - yyc3715 = true + yyv3741 := *v + yyh3741, yyl3741 := z.DecSliceHelperStart() + var yyc3741 bool + if yyl3741 == 0 { + if yyv3741 == nil { + yyv3741 = []ResourceQuota{} + yyc3741 = true + } else if len(yyv3741) != 0 { + yyv3741 = yyv3741[:0] + yyc3741 = true } - } else if yyl3715 > 0 { - var yyrr3715, yyrl3715 int - var yyrt3715 bool - if yyl3715 > cap(yyv3715) { + } else if yyl3741 > 0 { + var yyrr3741, yyrl3741 int + var yyrt3741 bool + if yyl3741 > cap(yyv3741) { - yyrg3715 := len(yyv3715) > 0 - yyv23715 := yyv3715 - yyrl3715, yyrt3715 = z.DecInferLen(yyl3715, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3715 { - if yyrl3715 <= cap(yyv3715) { - yyv3715 = yyv3715[:yyrl3715] + yyrg3741 := len(yyv3741) > 0 + yyv23741 := yyv3741 + yyrl3741, yyrt3741 = z.DecInferLen(yyl3741, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3741 { + if yyrl3741 <= cap(yyv3741) { + yyv3741 = yyv3741[:yyrl3741] } else { - yyv3715 = make([]ResourceQuota, yyrl3715) + yyv3741 = make([]ResourceQuota, yyrl3741) } } else { - yyv3715 = make([]ResourceQuota, yyrl3715) + yyv3741 = make([]ResourceQuota, yyrl3741) } - yyc3715 = true - yyrr3715 = len(yyv3715) - if yyrg3715 { - copy(yyv3715, yyv23715) + yyc3741 = true + yyrr3741 = len(yyv3741) + if yyrg3741 { + copy(yyv3741, yyv23741) } - } else if yyl3715 != len(yyv3715) { - yyv3715 = yyv3715[:yyl3715] - yyc3715 = true + } else if yyl3741 != len(yyv3741) { + yyv3741 = yyv3741[:yyl3741] + yyc3741 = true } - yyj3715 := 0 - for ; yyj3715 < yyrr3715; yyj3715++ { - yyh3715.ElemContainerState(yyj3715) + yyj3741 := 0 + for ; yyj3741 < yyrr3741; yyj3741++ { + yyh3741.ElemContainerState(yyj3741) if r.TryDecodeAsNil() { - yyv3715[yyj3715] = ResourceQuota{} + yyv3741[yyj3741] = ResourceQuota{} } else { - yyv3716 := &yyv3715[yyj3715] - yyv3716.CodecDecodeSelf(d) + yyv3742 := &yyv3741[yyj3741] + yyv3742.CodecDecodeSelf(d) } } - if yyrt3715 { - for ; yyj3715 < yyl3715; yyj3715++ { - yyv3715 = append(yyv3715, ResourceQuota{}) - yyh3715.ElemContainerState(yyj3715) + if yyrt3741 { + for ; yyj3741 < yyl3741; yyj3741++ { + yyv3741 = append(yyv3741, ResourceQuota{}) + yyh3741.ElemContainerState(yyj3741) if r.TryDecodeAsNil() { - yyv3715[yyj3715] = ResourceQuota{} + yyv3741[yyj3741] = ResourceQuota{} } else { - yyv3717 := &yyv3715[yyj3715] - yyv3717.CodecDecodeSelf(d) + yyv3743 := &yyv3741[yyj3741] + yyv3743.CodecDecodeSelf(d) } } } } else { - yyj3715 := 0 - for ; !r.CheckBreak(); yyj3715++ { + yyj3741 := 0 + for ; !r.CheckBreak(); yyj3741++ { - if yyj3715 >= len(yyv3715) { - yyv3715 = append(yyv3715, ResourceQuota{}) // var yyz3715 ResourceQuota - yyc3715 = true + if yyj3741 >= len(yyv3741) { + yyv3741 = append(yyv3741, ResourceQuota{}) // var yyz3741 ResourceQuota + yyc3741 = true } - yyh3715.ElemContainerState(yyj3715) - if yyj3715 < len(yyv3715) { + yyh3741.ElemContainerState(yyj3741) + if yyj3741 < len(yyv3741) { if r.TryDecodeAsNil() { - yyv3715[yyj3715] = ResourceQuota{} + yyv3741[yyj3741] = ResourceQuota{} } else { - yyv3718 := &yyv3715[yyj3715] - yyv3718.CodecDecodeSelf(d) + yyv3744 := &yyv3741[yyj3741] + yyv3744.CodecDecodeSelf(d) } } else { @@ -47338,17 +47637,17 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } } - if yyj3715 < len(yyv3715) { - yyv3715 = yyv3715[:yyj3715] - yyc3715 = true - } else if yyj3715 == 0 && yyv3715 == nil { - yyv3715 = []ResourceQuota{} - yyc3715 = true + if yyj3741 < len(yyv3741) { + yyv3741 = yyv3741[:yyj3741] + yyc3741 = true + } else if yyj3741 == 0 && yyv3741 == nil { + yyv3741 = []ResourceQuota{} + yyc3741 = true } } - yyh3715.End() - if yyc3715 { - *v = yyv3715 + yyh3741.End() + if yyc3741 { + *v = yyv3741 } } @@ -47357,23 +47656,23 @@ func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk3719, yyv3719 := range v { + for yyk3745, yyv3745 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym3720 := z.EncBinary() - _ = yym3720 + yym3746 := z.EncBinary() + _ = yym3746 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk3719)) + r.EncodeString(codecSelferC_UTF81234, string(yyk3745)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv3719 == nil { + if yyv3745 == nil { r.EncodeNil() } else { - yym3721 := z.EncBinary() - _ = yym3721 + yym3747 := z.EncBinary() + _ = yym3747 if false { } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv3719)) + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv3745)) } } } @@ -47385,80 +47684,80 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3722 := *v - yyl3722 := r.ReadMapStart() - yybh3722 := z.DecBasicHandle() - if yyv3722 == nil { - yyrl3722, _ := z.DecInferLen(yyl3722, yybh3722.MaxInitLen, 40) - yyv3722 = make(map[string][]uint8, yyrl3722) - *v = yyv3722 + yyv3748 := *v + yyl3748 := r.ReadMapStart() + yybh3748 := z.DecBasicHandle() + if yyv3748 == nil { + yyrl3748, _ := z.DecInferLen(yyl3748, yybh3748.MaxInitLen, 40) + yyv3748 = make(map[string][]uint8, yyrl3748) + *v = yyv3748 } - var yymk3722 string - var yymv3722 []uint8 - var yymg3722 bool - if yybh3722.MapValueReset { - yymg3722 = true + var yymk3748 string + var yymv3748 []uint8 + var yymg3748 bool + if yybh3748.MapValueReset { + yymg3748 = true } - if yyl3722 > 0 { - for yyj3722 := 0; yyj3722 < yyl3722; yyj3722++ { + if yyl3748 > 0 { + for yyj3748 := 0; yyj3748 < yyl3748; yyj3748++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3722 = "" + yymk3748 = "" } else { - yymk3722 = string(r.DecodeString()) + yymk3748 = string(r.DecodeString()) } - if yymg3722 { - yymv3722 = yyv3722[yymk3722] + if yymg3748 { + yymv3748 = yyv3748[yymk3748] } else { - yymv3722 = nil + yymv3748 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3722 = nil + yymv3748 = nil } else { - yyv3724 := &yymv3722 - yym3725 := z.DecBinary() - _ = yym3725 + yyv3750 := &yymv3748 + yym3751 := z.DecBinary() + _ = yym3751 if false { } else { - *yyv3724 = r.DecodeBytes(*(*[]byte)(yyv3724), false, false) + *yyv3750 = r.DecodeBytes(*(*[]byte)(yyv3750), false, false) } } - if yyv3722 != nil { - yyv3722[yymk3722] = yymv3722 + if yyv3748 != nil { + yyv3748[yymk3748] = yymv3748 } } - } else if yyl3722 < 0 { - for yyj3722 := 0; !r.CheckBreak(); yyj3722++ { + } else if yyl3748 < 0 { + for yyj3748 := 0; !r.CheckBreak(); yyj3748++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3722 = "" + yymk3748 = "" } else { - yymk3722 = string(r.DecodeString()) + yymk3748 = string(r.DecodeString()) } - if yymg3722 { - yymv3722 = yyv3722[yymk3722] + if yymg3748 { + yymv3748 = yyv3748[yymk3748] } else { - yymv3722 = nil + yymv3748 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3722 = nil + yymv3748 = nil } else { - yyv3727 := &yymv3722 - yym3728 := z.DecBinary() - _ = yym3728 + yyv3753 := &yymv3748 + yym3754 := z.DecBinary() + _ = yym3754 if false { } else { - *yyv3727 = r.DecodeBytes(*(*[]byte)(yyv3727), false, false) + *yyv3753 = r.DecodeBytes(*(*[]byte)(yyv3753), false, false) } } - if yyv3722 != nil { - yyv3722[yymk3722] = yymv3722 + if yyv3748 != nil { + yyv3748[yymk3748] = yymv3748 } } } // else len==0: TODO: Should we clear map entries? @@ -47470,10 +47769,10 @@ func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3729 := range v { + for _, yyv3755 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3730 := &yyv3729 - yy3730.CodecEncodeSelf(e) + yy3756 := &yyv3755 + yy3756.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47483,83 +47782,83 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3731 := *v - yyh3731, yyl3731 := z.DecSliceHelperStart() - var yyc3731 bool - if yyl3731 == 0 { - if yyv3731 == nil { - yyv3731 = []Secret{} - yyc3731 = true - } else if len(yyv3731) != 0 { - yyv3731 = yyv3731[:0] - yyc3731 = true + yyv3757 := *v + yyh3757, yyl3757 := z.DecSliceHelperStart() + var yyc3757 bool + if yyl3757 == 0 { + if yyv3757 == nil { + yyv3757 = []Secret{} + yyc3757 = true + } else if len(yyv3757) != 0 { + yyv3757 = yyv3757[:0] + yyc3757 = true } - } else if yyl3731 > 0 { - var yyrr3731, yyrl3731 int - var yyrt3731 bool - if yyl3731 > cap(yyv3731) { + } else if yyl3757 > 0 { + var yyrr3757, yyrl3757 int + var yyrt3757 bool + if yyl3757 > cap(yyv3757) { - yyrg3731 := len(yyv3731) > 0 - yyv23731 := yyv3731 - yyrl3731, yyrt3731 = z.DecInferLen(yyl3731, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3731 { - if yyrl3731 <= cap(yyv3731) { - yyv3731 = yyv3731[:yyrl3731] + yyrg3757 := len(yyv3757) > 0 + yyv23757 := yyv3757 + yyrl3757, yyrt3757 = z.DecInferLen(yyl3757, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3757 { + if yyrl3757 <= cap(yyv3757) { + yyv3757 = yyv3757[:yyrl3757] } else { - yyv3731 = make([]Secret, yyrl3731) + yyv3757 = make([]Secret, yyrl3757) } } else { - yyv3731 = make([]Secret, yyrl3731) + yyv3757 = make([]Secret, yyrl3757) } - yyc3731 = true - yyrr3731 = len(yyv3731) - if yyrg3731 { - copy(yyv3731, yyv23731) + yyc3757 = true + yyrr3757 = len(yyv3757) + if yyrg3757 { + copy(yyv3757, yyv23757) } - } else if yyl3731 != len(yyv3731) { - yyv3731 = yyv3731[:yyl3731] - yyc3731 = true + } else if yyl3757 != len(yyv3757) { + yyv3757 = yyv3757[:yyl3757] + yyc3757 = true } - yyj3731 := 0 - for ; yyj3731 < yyrr3731; yyj3731++ { - yyh3731.ElemContainerState(yyj3731) + yyj3757 := 0 + for ; yyj3757 < yyrr3757; yyj3757++ { + yyh3757.ElemContainerState(yyj3757) if r.TryDecodeAsNil() { - yyv3731[yyj3731] = Secret{} + yyv3757[yyj3757] = Secret{} } else { - yyv3732 := &yyv3731[yyj3731] - yyv3732.CodecDecodeSelf(d) + yyv3758 := &yyv3757[yyj3757] + yyv3758.CodecDecodeSelf(d) } } - if yyrt3731 { - for ; yyj3731 < yyl3731; yyj3731++ { - yyv3731 = append(yyv3731, Secret{}) - yyh3731.ElemContainerState(yyj3731) + if yyrt3757 { + for ; yyj3757 < yyl3757; yyj3757++ { + yyv3757 = append(yyv3757, Secret{}) + yyh3757.ElemContainerState(yyj3757) if r.TryDecodeAsNil() { - yyv3731[yyj3731] = Secret{} + yyv3757[yyj3757] = Secret{} } else { - yyv3733 := &yyv3731[yyj3731] - yyv3733.CodecDecodeSelf(d) + yyv3759 := &yyv3757[yyj3757] + yyv3759.CodecDecodeSelf(d) } } } } else { - yyj3731 := 0 - for ; !r.CheckBreak(); yyj3731++ { + yyj3757 := 0 + for ; !r.CheckBreak(); yyj3757++ { - if yyj3731 >= len(yyv3731) { - yyv3731 = append(yyv3731, Secret{}) // var yyz3731 Secret - yyc3731 = true + if yyj3757 >= len(yyv3757) { + yyv3757 = append(yyv3757, Secret{}) // var yyz3757 Secret + yyc3757 = true } - yyh3731.ElemContainerState(yyj3731) - if yyj3731 < len(yyv3731) { + yyh3757.ElemContainerState(yyj3757) + if yyj3757 < len(yyv3757) { if r.TryDecodeAsNil() { - yyv3731[yyj3731] = Secret{} + yyv3757[yyj3757] = Secret{} } else { - yyv3734 := &yyv3731[yyj3731] - yyv3734.CodecDecodeSelf(d) + yyv3760 := &yyv3757[yyj3757] + yyv3760.CodecDecodeSelf(d) } } else { @@ -47567,17 +47866,17 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } - if yyj3731 < len(yyv3731) { - yyv3731 = yyv3731[:yyj3731] - yyc3731 = true - } else if yyj3731 == 0 && yyv3731 == nil { - yyv3731 = []Secret{} - yyc3731 = true + if yyj3757 < len(yyv3757) { + yyv3757 = yyv3757[:yyj3757] + yyc3757 = true + } else if yyj3757 == 0 && yyv3757 == nil { + yyv3757 = []Secret{} + yyc3757 = true } } - yyh3731.End() - if yyc3731 { - *v = yyv3731 + yyh3757.End() + if yyc3757 { + *v = yyv3757 } } @@ -47586,10 +47885,10 @@ func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3735 := range v { + for _, yyv3761 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3736 := &yyv3735 - yy3736.CodecEncodeSelf(e) + yy3762 := &yyv3761 + yy3762.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47599,83 +47898,83 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3737 := *v - yyh3737, yyl3737 := z.DecSliceHelperStart() - var yyc3737 bool - if yyl3737 == 0 { - if yyv3737 == nil { - yyv3737 = []ComponentCondition{} - yyc3737 = true - } else if len(yyv3737) != 0 { - yyv3737 = yyv3737[:0] - yyc3737 = true + yyv3763 := *v + yyh3763, yyl3763 := z.DecSliceHelperStart() + var yyc3763 bool + if yyl3763 == 0 { + if yyv3763 == nil { + yyv3763 = []ComponentCondition{} + yyc3763 = true + } else if len(yyv3763) != 0 { + yyv3763 = yyv3763[:0] + yyc3763 = true } - } else if yyl3737 > 0 { - var yyrr3737, yyrl3737 int - var yyrt3737 bool - if yyl3737 > cap(yyv3737) { + } else if yyl3763 > 0 { + var yyrr3763, yyrl3763 int + var yyrt3763 bool + if yyl3763 > cap(yyv3763) { - yyrg3737 := len(yyv3737) > 0 - yyv23737 := yyv3737 - yyrl3737, yyrt3737 = z.DecInferLen(yyl3737, z.DecBasicHandle().MaxInitLen, 64) - if yyrt3737 { - if yyrl3737 <= cap(yyv3737) { - yyv3737 = yyv3737[:yyrl3737] + yyrg3763 := len(yyv3763) > 0 + yyv23763 := yyv3763 + yyrl3763, yyrt3763 = z.DecInferLen(yyl3763, z.DecBasicHandle().MaxInitLen, 64) + if yyrt3763 { + if yyrl3763 <= cap(yyv3763) { + yyv3763 = yyv3763[:yyrl3763] } else { - yyv3737 = make([]ComponentCondition, yyrl3737) + yyv3763 = make([]ComponentCondition, yyrl3763) } } else { - yyv3737 = make([]ComponentCondition, yyrl3737) + yyv3763 = make([]ComponentCondition, yyrl3763) } - yyc3737 = true - yyrr3737 = len(yyv3737) - if yyrg3737 { - copy(yyv3737, yyv23737) + yyc3763 = true + yyrr3763 = len(yyv3763) + if yyrg3763 { + copy(yyv3763, yyv23763) } - } else if yyl3737 != len(yyv3737) { - yyv3737 = yyv3737[:yyl3737] - yyc3737 = true + } else if yyl3763 != len(yyv3763) { + yyv3763 = yyv3763[:yyl3763] + yyc3763 = true } - yyj3737 := 0 - for ; yyj3737 < yyrr3737; yyj3737++ { - yyh3737.ElemContainerState(yyj3737) + yyj3763 := 0 + for ; yyj3763 < yyrr3763; yyj3763++ { + yyh3763.ElemContainerState(yyj3763) if r.TryDecodeAsNil() { - yyv3737[yyj3737] = ComponentCondition{} + yyv3763[yyj3763] = ComponentCondition{} } else { - yyv3738 := &yyv3737[yyj3737] - yyv3738.CodecDecodeSelf(d) + yyv3764 := &yyv3763[yyj3763] + yyv3764.CodecDecodeSelf(d) } } - if yyrt3737 { - for ; yyj3737 < yyl3737; yyj3737++ { - yyv3737 = append(yyv3737, ComponentCondition{}) - yyh3737.ElemContainerState(yyj3737) + if yyrt3763 { + for ; yyj3763 < yyl3763; yyj3763++ { + yyv3763 = append(yyv3763, ComponentCondition{}) + yyh3763.ElemContainerState(yyj3763) if r.TryDecodeAsNil() { - yyv3737[yyj3737] = ComponentCondition{} + yyv3763[yyj3763] = ComponentCondition{} } else { - yyv3739 := &yyv3737[yyj3737] - yyv3739.CodecDecodeSelf(d) + yyv3765 := &yyv3763[yyj3763] + yyv3765.CodecDecodeSelf(d) } } } } else { - yyj3737 := 0 - for ; !r.CheckBreak(); yyj3737++ { + yyj3763 := 0 + for ; !r.CheckBreak(); yyj3763++ { - if yyj3737 >= len(yyv3737) { - yyv3737 = append(yyv3737, ComponentCondition{}) // var yyz3737 ComponentCondition - yyc3737 = true + if yyj3763 >= len(yyv3763) { + yyv3763 = append(yyv3763, ComponentCondition{}) // var yyz3763 ComponentCondition + yyc3763 = true } - yyh3737.ElemContainerState(yyj3737) - if yyj3737 < len(yyv3737) { + yyh3763.ElemContainerState(yyj3763) + if yyj3763 < len(yyv3763) { if r.TryDecodeAsNil() { - yyv3737[yyj3737] = ComponentCondition{} + yyv3763[yyj3763] = ComponentCondition{} } else { - yyv3740 := &yyv3737[yyj3737] - yyv3740.CodecDecodeSelf(d) + yyv3766 := &yyv3763[yyj3763] + yyv3766.CodecDecodeSelf(d) } } else { @@ -47683,17 +47982,17 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } - if yyj3737 < len(yyv3737) { - yyv3737 = yyv3737[:yyj3737] - yyc3737 = true - } else if yyj3737 == 0 && yyv3737 == nil { - yyv3737 = []ComponentCondition{} - yyc3737 = true + if yyj3763 < len(yyv3763) { + yyv3763 = yyv3763[:yyj3763] + yyc3763 = true + } else if yyj3763 == 0 && yyv3763 == nil { + yyv3763 = []ComponentCondition{} + yyc3763 = true } } - yyh3737.End() - if yyc3737 { - *v = yyv3737 + yyh3763.End() + if yyc3763 { + *v = yyv3763 } } @@ -47702,10 +48001,10 @@ func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3741 := range v { + for _, yyv3767 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3742 := &yyv3741 - yy3742.CodecEncodeSelf(e) + yy3768 := &yyv3767 + yy3768.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47715,83 +48014,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3743 := *v - yyh3743, yyl3743 := z.DecSliceHelperStart() - var yyc3743 bool - if yyl3743 == 0 { - if yyv3743 == nil { - yyv3743 = []ComponentStatus{} - yyc3743 = true - } else if len(yyv3743) != 0 { - yyv3743 = yyv3743[:0] - yyc3743 = true + yyv3769 := *v + yyh3769, yyl3769 := z.DecSliceHelperStart() + var yyc3769 bool + if yyl3769 == 0 { + if yyv3769 == nil { + yyv3769 = []ComponentStatus{} + yyc3769 = true + } else if len(yyv3769) != 0 { + yyv3769 = yyv3769[:0] + yyc3769 = true } - } else if yyl3743 > 0 { - var yyrr3743, yyrl3743 int - var yyrt3743 bool - if yyl3743 > cap(yyv3743) { + } else if yyl3769 > 0 { + var yyrr3769, yyrl3769 int + var yyrt3769 bool + if yyl3769 > cap(yyv3769) { - yyrg3743 := len(yyv3743) > 0 - yyv23743 := yyv3743 - yyrl3743, yyrt3743 = z.DecInferLen(yyl3743, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3743 { - if yyrl3743 <= cap(yyv3743) { - yyv3743 = yyv3743[:yyrl3743] + yyrg3769 := len(yyv3769) > 0 + yyv23769 := yyv3769 + yyrl3769, yyrt3769 = z.DecInferLen(yyl3769, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3769 { + if yyrl3769 <= cap(yyv3769) { + yyv3769 = yyv3769[:yyrl3769] } else { - yyv3743 = make([]ComponentStatus, yyrl3743) + yyv3769 = make([]ComponentStatus, yyrl3769) } } else { - yyv3743 = make([]ComponentStatus, yyrl3743) + yyv3769 = make([]ComponentStatus, yyrl3769) } - yyc3743 = true - yyrr3743 = len(yyv3743) - if yyrg3743 { - copy(yyv3743, yyv23743) + yyc3769 = true + yyrr3769 = len(yyv3769) + if yyrg3769 { + copy(yyv3769, yyv23769) } - } else if yyl3743 != len(yyv3743) { - yyv3743 = yyv3743[:yyl3743] - yyc3743 = true + } else if yyl3769 != len(yyv3769) { + yyv3769 = yyv3769[:yyl3769] + yyc3769 = true } - yyj3743 := 0 - for ; yyj3743 < yyrr3743; yyj3743++ { - yyh3743.ElemContainerState(yyj3743) + yyj3769 := 0 + for ; yyj3769 < yyrr3769; yyj3769++ { + yyh3769.ElemContainerState(yyj3769) if r.TryDecodeAsNil() { - yyv3743[yyj3743] = ComponentStatus{} + yyv3769[yyj3769] = ComponentStatus{} } else { - yyv3744 := &yyv3743[yyj3743] - yyv3744.CodecDecodeSelf(d) + yyv3770 := &yyv3769[yyj3769] + yyv3770.CodecDecodeSelf(d) } } - if yyrt3743 { - for ; yyj3743 < yyl3743; yyj3743++ { - yyv3743 = append(yyv3743, ComponentStatus{}) - yyh3743.ElemContainerState(yyj3743) + if yyrt3769 { + for ; yyj3769 < yyl3769; yyj3769++ { + yyv3769 = append(yyv3769, ComponentStatus{}) + yyh3769.ElemContainerState(yyj3769) if r.TryDecodeAsNil() { - yyv3743[yyj3743] = ComponentStatus{} + yyv3769[yyj3769] = ComponentStatus{} } else { - yyv3745 := &yyv3743[yyj3743] - yyv3745.CodecDecodeSelf(d) + yyv3771 := &yyv3769[yyj3769] + yyv3771.CodecDecodeSelf(d) } } } } else { - yyj3743 := 0 - for ; !r.CheckBreak(); yyj3743++ { + yyj3769 := 0 + for ; !r.CheckBreak(); yyj3769++ { - if yyj3743 >= len(yyv3743) { - yyv3743 = append(yyv3743, ComponentStatus{}) // var yyz3743 ComponentStatus - yyc3743 = true + if yyj3769 >= len(yyv3769) { + yyv3769 = append(yyv3769, ComponentStatus{}) // var yyz3769 ComponentStatus + yyc3769 = true } - yyh3743.ElemContainerState(yyj3743) - if yyj3743 < len(yyv3743) { + yyh3769.ElemContainerState(yyj3769) + if yyj3769 < len(yyv3769) { if r.TryDecodeAsNil() { - yyv3743[yyj3743] = ComponentStatus{} + yyv3769[yyj3769] = ComponentStatus{} } else { - yyv3746 := &yyv3743[yyj3743] - yyv3746.CodecDecodeSelf(d) + yyv3772 := &yyv3769[yyj3769] + yyv3772.CodecDecodeSelf(d) } } else { @@ -47799,16 +48098,16 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj3743 < len(yyv3743) { - yyv3743 = yyv3743[:yyj3743] - yyc3743 = true - } else if yyj3743 == 0 && yyv3743 == nil { - yyv3743 = []ComponentStatus{} - yyc3743 = true + if yyj3769 < len(yyv3769) { + yyv3769 = yyv3769[:yyj3769] + yyc3769 = true + } else if yyj3769 == 0 && yyv3769 == nil { + yyv3769 = []ComponentStatus{} + yyc3769 = true } } - yyh3743.End() - if yyc3743 { - *v = yyv3743 + yyh3769.End() + if yyc3769 { + *v = yyv3769 } } diff --git a/pkg/api/types.go b/pkg/api/types.go index 8122207898d..1255618f962 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -1669,6 +1669,15 @@ type DeleteOptions struct { GracePeriodSeconds *int64 `json:"gracePeriodSeconds"` } +// ExportOptions is the query options to the standard REST get call. +type ExportOptions struct { + unversioned.TypeMeta `json:",inline"` + // Should this value be exported. Export strips fields that a user can not specify. + Export bool `json:"export"` + // Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + Exact bool `json:"exact"` +} + // ListOptions is the query options to a standard REST list call, and has future support for // watch calls. type ListOptions struct { diff --git a/pkg/api/unversioned/register.go b/pkg/api/unversioned/register.go index 0e3d684c62c..29f51513816 100644 --- a/pkg/api/unversioned/register.go +++ b/pkg/api/unversioned/register.go @@ -40,3 +40,4 @@ func (obj *APIVersions) GetObjectKind() ObjectKind { return &obj.TypeMeta } func (obj *APIGroupList) GetObjectKind() ObjectKind { return &obj.TypeMeta } func (obj *APIGroup) GetObjectKind() ObjectKind { return &obj.TypeMeta } func (obj *APIResourceList) GetObjectKind() ObjectKind { return &obj.TypeMeta } +func (obj *ExportOptions) GetObjectKind() ObjectKind { return &obj.TypeMeta } diff --git a/pkg/api/unversioned/types.go b/pkg/api/unversioned/types.go index 56eb3cd9395..a38f53b2e41 100644 --- a/pkg/api/unversioned/types.go +++ b/pkg/api/unversioned/types.go @@ -54,6 +54,15 @@ type ListMeta struct { ResourceVersion string `json:"resourceVersion,omitempty"` } +// ExportOptions is the query options to the standard REST get call. +type ExportOptions struct { + TypeMeta `json:",inline"` + // Should this value be exported. Export strips fields that a user can not specify.` + Export bool `json:"export"` + // Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + Exact bool `json:"exact"` +} + // ListOptions is the query options to a standard REST list/watch calls. type ListOptions struct { TypeMeta `json:",inline"` diff --git a/pkg/api/unversioned/types_swagger_doc_generated.go b/pkg/api/unversioned/types_swagger_doc_generated.go index a10658fb229..e1a8c1b8506 100644 --- a/pkg/api/unversioned/types_swagger_doc_generated.go +++ b/pkg/api/unversioned/types_swagger_doc_generated.go @@ -76,6 +76,16 @@ func (APIVersions) SwaggerDoc() map[string]string { return map_APIVersions } +var map_ExportOptions = map[string]string{ + "": "ExportOptions is the query options to the standard REST get call.", + "export": "Should this value be exported. Export strips fields that a user can not specify.`", + "exact": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", +} + +func (ExportOptions) SwaggerDoc() map[string]string { + return map_ExportOptions +} + var map_GroupVersionForDiscovery = map[string]string{ "": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensiblity.", "groupVersion": "groupVersion specifies the API group and version in the form \"group/version\"", diff --git a/pkg/api/v1/conversion_generated.go b/pkg/api/v1/conversion_generated.go index 8c531c463e6..c75b93a0c76 100644 --- a/pkg/api/v1/conversion_generated.go +++ b/pkg/api/v1/conversion_generated.go @@ -23,6 +23,7 @@ import ( api "k8s.io/kubernetes/pkg/api" resource "k8s.io/kubernetes/pkg/api/resource" + unversioned "k8s.io/kubernetes/pkg/api/unversioned" conversion "k8s.io/kubernetes/pkg/conversion" ) @@ -1115,34 +1116,6 @@ func convert_api_List_To_v1_List(in *api.List, out *List, s conversion.Scope) er return autoconvert_api_List_To_v1_List(in, out, s) } -func autoconvert_api_ListOptions_To_v1_ListOptions(in *api.ListOptions, out *ListOptions, s conversion.Scope) error { - if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { - defaulting.(func(*api.ListOptions))(in) - } - if err := s.Convert(&in.TypeMeta, &out.TypeMeta, 0); err != nil { - return err - } - if err := s.Convert(&in.LabelSelector, &out.LabelSelector, 0); err != nil { - return err - } - if err := s.Convert(&in.FieldSelector, &out.FieldSelector, 0); err != nil { - return err - } - out.Watch = in.Watch - out.ResourceVersion = in.ResourceVersion - if in.TimeoutSeconds != nil { - out.TimeoutSeconds = new(int64) - *out.TimeoutSeconds = *in.TimeoutSeconds - } else { - out.TimeoutSeconds = nil - } - return nil -} - -func convert_api_ListOptions_To_v1_ListOptions(in *api.ListOptions, out *ListOptions, s conversion.Scope) error { - return autoconvert_api_ListOptions_To_v1_ListOptions(in, out, s) -} - func autoconvert_api_LoadBalancerIngress_To_v1_LoadBalancerIngress(in *api.LoadBalancerIngress, out *LoadBalancerIngress, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*api.LoadBalancerIngress))(in) @@ -3065,6 +3038,50 @@ func convert_api_VolumeSource_To_v1_VolumeSource(in *api.VolumeSource, out *Volu return autoconvert_api_VolumeSource_To_v1_VolumeSource(in, out, s) } +func autoconvert_unversioned_ExportOptions_To_v1_ExportOptions(in *unversioned.ExportOptions, out *ExportOptions, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*unversioned.ExportOptions))(in) + } + if err := s.Convert(&in.TypeMeta, &out.TypeMeta, 0); err != nil { + return err + } + out.Export = in.Export + out.Exact = in.Exact + return nil +} + +func convert_unversioned_ExportOptions_To_v1_ExportOptions(in *unversioned.ExportOptions, out *ExportOptions, s conversion.Scope) error { + return autoconvert_unversioned_ExportOptions_To_v1_ExportOptions(in, out, s) +} + +func autoconvert_unversioned_ListOptions_To_v1_ListOptions(in *unversioned.ListOptions, out *ListOptions, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*unversioned.ListOptions))(in) + } + if err := s.Convert(&in.TypeMeta, &out.TypeMeta, 0); err != nil { + return err + } + if err := s.Convert(&in.LabelSelector, &out.LabelSelector, 0); err != nil { + return err + } + if err := s.Convert(&in.FieldSelector, &out.FieldSelector, 0); err != nil { + return err + } + out.Watch = in.Watch + out.ResourceVersion = in.ResourceVersion + if in.TimeoutSeconds != nil { + out.TimeoutSeconds = new(int64) + *out.TimeoutSeconds = *in.TimeoutSeconds + } else { + out.TimeoutSeconds = nil + } + return nil +} + +func convert_unversioned_ListOptions_To_v1_ListOptions(in *unversioned.ListOptions, out *ListOptions, s conversion.Scope) error { + return autoconvert_unversioned_ListOptions_To_v1_ListOptions(in, out, s) +} + func autoconvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolumeSource(in *AWSElasticBlockStoreVolumeSource, out *api.AWSElasticBlockStoreVolumeSource, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*AWSElasticBlockStoreVolumeSource))(in) @@ -3804,6 +3821,22 @@ func convert_v1_ExecAction_To_api_ExecAction(in *ExecAction, out *api.ExecAction return autoconvert_v1_ExecAction_To_api_ExecAction(in, out, s) } +func autoconvert_v1_ExportOptions_To_unversioned_ExportOptions(in *ExportOptions, out *unversioned.ExportOptions, s conversion.Scope) error { + if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { + defaulting.(func(*ExportOptions))(in) + } + if err := s.Convert(&in.TypeMeta, &out.TypeMeta, 0); err != nil { + return err + } + out.Export = in.Export + out.Exact = in.Exact + return nil +} + +func convert_v1_ExportOptions_To_unversioned_ExportOptions(in *ExportOptions, out *unversioned.ExportOptions, s conversion.Scope) error { + return autoconvert_v1_ExportOptions_To_unversioned_ExportOptions(in, out, s) +} + func autoconvert_v1_FCVolumeSource_To_api_FCVolumeSource(in *FCVolumeSource, out *api.FCVolumeSource, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*FCVolumeSource))(in) @@ -4154,7 +4187,7 @@ func convert_v1_List_To_api_List(in *List, out *api.List, s conversion.Scope) er return autoconvert_v1_List_To_api_List(in, out, s) } -func autoconvert_v1_ListOptions_To_api_ListOptions(in *ListOptions, out *api.ListOptions, s conversion.Scope) error { +func autoconvert_v1_ListOptions_To_unversioned_ListOptions(in *ListOptions, out *unversioned.ListOptions, s conversion.Scope) error { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { defaulting.(func(*ListOptions))(in) } @@ -4178,8 +4211,8 @@ func autoconvert_v1_ListOptions_To_api_ListOptions(in *ListOptions, out *api.Lis return nil } -func convert_v1_ListOptions_To_api_ListOptions(in *ListOptions, out *api.ListOptions, s conversion.Scope) error { - return autoconvert_v1_ListOptions_To_api_ListOptions(in, out, s) +func convert_v1_ListOptions_To_unversioned_ListOptions(in *ListOptions, out *unversioned.ListOptions, s conversion.Scope) error { + return autoconvert_v1_ListOptions_To_unversioned_ListOptions(in, out, s) } func autoconvert_v1_LoadBalancerIngress_To_api_LoadBalancerIngress(in *LoadBalancerIngress, out *api.LoadBalancerIngress, s conversion.Scope) error { @@ -6154,7 +6187,6 @@ func init() { autoconvert_api_LimitRangeList_To_v1_LimitRangeList, autoconvert_api_LimitRangeSpec_To_v1_LimitRangeSpec, autoconvert_api_LimitRange_To_v1_LimitRange, - autoconvert_api_ListOptions_To_v1_ListOptions, autoconvert_api_List_To_v1_List, autoconvert_api_LoadBalancerIngress_To_v1_LoadBalancerIngress, autoconvert_api_LoadBalancerStatus_To_v1_LoadBalancerStatus, @@ -6227,6 +6259,8 @@ func init() { autoconvert_api_VolumeMount_To_v1_VolumeMount, autoconvert_api_VolumeSource_To_v1_VolumeSource, autoconvert_api_Volume_To_v1_Volume, + autoconvert_unversioned_ExportOptions_To_v1_ExportOptions, + autoconvert_unversioned_ListOptions_To_v1_ListOptions, autoconvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolumeSource, autoconvert_v1_Binding_To_api_Binding, autoconvert_v1_Capabilities_To_api_Capabilities, @@ -6258,6 +6292,7 @@ func init() { autoconvert_v1_EventSource_To_api_EventSource, autoconvert_v1_Event_To_api_Event, autoconvert_v1_ExecAction_To_api_ExecAction, + autoconvert_v1_ExportOptions_To_unversioned_ExportOptions, autoconvert_v1_FCVolumeSource_To_api_FCVolumeSource, autoconvert_v1_FlockerVolumeSource_To_api_FlockerVolumeSource, autoconvert_v1_GCEPersistentDiskVolumeSource_To_api_GCEPersistentDiskVolumeSource, @@ -6272,7 +6307,7 @@ func init() { autoconvert_v1_LimitRangeList_To_api_LimitRangeList, autoconvert_v1_LimitRangeSpec_To_api_LimitRangeSpec, autoconvert_v1_LimitRange_To_api_LimitRange, - autoconvert_v1_ListOptions_To_api_ListOptions, + autoconvert_v1_ListOptions_To_unversioned_ListOptions, autoconvert_v1_List_To_api_List, autoconvert_v1_LoadBalancerIngress_To_api_LoadBalancerIngress, autoconvert_v1_LoadBalancerStatus_To_api_LoadBalancerStatus, diff --git a/pkg/api/v1/deep_copy_generated.go b/pkg/api/v1/deep_copy_generated.go index 38c40ab5422..ab43049341a 100644 --- a/pkg/api/v1/deep_copy_generated.go +++ b/pkg/api/v1/deep_copy_generated.go @@ -587,6 +587,15 @@ func deepCopy_v1_ExecAction(in ExecAction, out *ExecAction, c *conversion.Cloner return nil } +func deepCopy_v1_ExportOptions(in ExportOptions, out *ExportOptions, c *conversion.Cloner) error { + if err := deepCopy_unversioned_TypeMeta(in.TypeMeta, &out.TypeMeta, c); err != nil { + return err + } + out.Export = in.Export + out.Exact = in.Exact + return nil +} + func deepCopy_v1_FCVolumeSource(in FCVolumeSource, out *FCVolumeSource, c *conversion.Cloner) error { if in.TargetWWNs != nil { out.TargetWWNs = make([]string, len(in.TargetWWNs)) @@ -2415,6 +2424,7 @@ func init() { deepCopy_v1_EventList, deepCopy_v1_EventSource, deepCopy_v1_ExecAction, + deepCopy_v1_ExportOptions, deepCopy_v1_FCVolumeSource, deepCopy_v1_FlockerVolumeSource, deepCopy_v1_GCEPersistentDiskVolumeSource, diff --git a/pkg/api/v1/register.go b/pkg/api/v1/register.go index 262fbf9e679..695519c909c 100644 --- a/pkg/api/v1/register.go +++ b/pkg/api/v1/register.go @@ -79,6 +79,7 @@ func addKnownTypes() { &PersistentVolumeClaim{}, &PersistentVolumeClaimList{}, &DeleteOptions{}, + &ExportOptions{}, &ListOptions{}, &PodAttachOptions{}, &PodLogOptions{}, @@ -135,3 +136,4 @@ func (obj *ComponentStatus) GetObjectKind() unversioned.ObjectKind { r func (obj *ComponentStatusList) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } func (obj *SerializedReference) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } func (obj *RangeAllocation) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } +func (obj *ExportOptions) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/api/v1/types.generated.go b/pkg/api/v1/types.generated.go index 5655cf92824..742ebe7840e 100644 --- a/pkg/api/v1/types.generated.go +++ b/pkg/api/v1/types.generated.go @@ -32788,7 +32788,7 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -32802,21 +32802,16 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep2597 := !z.EncBinary() yy2arr2597 := z.EncBasicHandle().StructToArray - var yyq2597 [7]bool + var yyq2597 [4]bool _, _, _ = yysep2597, yyq2597, yy2arr2597 const yyr2597 bool = false yyq2597[0] = x.Kind != "" yyq2597[1] = x.APIVersion != "" - yyq2597[2] = x.LabelSelector != "" - yyq2597[3] = x.FieldSelector != "" - yyq2597[4] = x.Watch != false - yyq2597[5] = x.ResourceVersion != "" - yyq2597[6] = x.TimeoutSeconds != nil var yynn2597 int if yyr2597 || yy2arr2597 { - r.EncodeArrayStart(7) + r.EncodeArrayStart(4) } else { - yynn2597 = 0 + yynn2597 = 2 for _, b := range yyq2597 { if b { yynn2597++ @@ -32877,9 +32872,313 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2597 || yy2arr2597 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2597[2] { - yym2605 := z.EncBinary() - _ = yym2605 + yym2605 := z.EncBinary() + _ = yym2605 + if false { + } else { + r.EncodeBool(bool(x.Export)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("export")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2606 := z.EncBinary() + _ = yym2606 + if false { + } else { + r.EncodeBool(bool(x.Export)) + } + } + if yyr2597 || yy2arr2597 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2608 := z.EncBinary() + _ = yym2608 + if false { + } else { + r.EncodeBool(bool(x.Exact)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("exact")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2609 := z.EncBinary() + _ = yym2609 + if false { + } else { + r.EncodeBool(bool(x.Exact)) + } + } + if yyr2597 || yy2arr2597 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2610 := z.DecBinary() + _ = yym2610 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2611 := r.ContainerType() + if yyct2611 == codecSelferValueTypeMap1234 { + yyl2611 := r.ReadMapStart() + if yyl2611 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2611, d) + } + } else if yyct2611 == codecSelferValueTypeArray1234 { + yyl2611 := r.ReadArrayStart() + if yyl2611 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2611, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys2612Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2612Slc + var yyhl2612 bool = l >= 0 + for yyj2612 := 0; ; yyj2612++ { + if yyhl2612 { + if yyj2612 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2612Slc = r.DecodeBytes(yys2612Slc, true, true) + yys2612 := string(yys2612Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2612 { + 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 "export": + if r.TryDecodeAsNil() { + x.Export = false + } else { + x.Export = bool(r.DecodeBool()) + } + case "exact": + if r.TryDecodeAsNil() { + x.Exact = false + } else { + x.Exact = bool(r.DecodeBool()) + } + default: + z.DecStructFieldNotFound(-1, yys2612) + } // end switch yys2612 + } // end for yyj2612 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj2617 int + var yyb2617 bool + var yyhl2617 bool = l >= 0 + yyj2617++ + if yyhl2617 { + yyb2617 = yyj2617 > l + } else { + yyb2617 = r.CheckBreak() + } + if yyb2617 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj2617++ + if yyhl2617 { + yyb2617 = yyj2617 > l + } else { + yyb2617 = r.CheckBreak() + } + if yyb2617 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj2617++ + if yyhl2617 { + yyb2617 = yyj2617 > l + } else { + yyb2617 = r.CheckBreak() + } + if yyb2617 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Export = false + } else { + x.Export = bool(r.DecodeBool()) + } + yyj2617++ + if yyhl2617 { + yyb2617 = yyj2617 > l + } else { + yyb2617 = r.CheckBreak() + } + if yyb2617 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Exact = false + } else { + x.Exact = bool(r.DecodeBool()) + } + for { + yyj2617++ + if yyhl2617 { + yyb2617 = yyj2617 > l + } else { + yyb2617 = r.CheckBreak() + } + if yyb2617 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2617-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2622 := z.EncBinary() + _ = yym2622 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2623 := !z.EncBinary() + yy2arr2623 := z.EncBasicHandle().StructToArray + var yyq2623 [7]bool + _, _, _ = yysep2623, yyq2623, yy2arr2623 + const yyr2623 bool = false + yyq2623[0] = x.Kind != "" + yyq2623[1] = x.APIVersion != "" + yyq2623[2] = x.LabelSelector != "" + yyq2623[3] = x.FieldSelector != "" + yyq2623[4] = x.Watch != false + yyq2623[5] = x.ResourceVersion != "" + yyq2623[6] = x.TimeoutSeconds != nil + var yynn2623 int + if yyr2623 || yy2arr2623 { + r.EncodeArrayStart(7) + } else { + yynn2623 = 0 + for _, b := range yyq2623 { + if b { + yynn2623++ + } + } + r.EncodeMapStart(yynn2623) + yynn2623 = 0 + } + if yyr2623 || yy2arr2623 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2623[0] { + yym2625 := z.EncBinary() + _ = yym2625 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2623[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2626 := z.EncBinary() + _ = yym2626 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2623 || yy2arr2623 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2623[1] { + yym2628 := z.EncBinary() + _ = yym2628 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2623[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2629 := z.EncBinary() + _ = yym2629 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2623 || yy2arr2623 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2623[2] { + yym2631 := z.EncBinary() + _ = yym2631 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) @@ -32888,23 +33187,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2597[2] { + if yyq2623[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2606 := z.EncBinary() - _ = yym2606 + yym2632 := z.EncBinary() + _ = yym2632 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) } } } - if yyr2597 || yy2arr2597 { + if yyr2623 || yy2arr2623 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2597[3] { - yym2608 := z.EncBinary() - _ = yym2608 + if yyq2623[3] { + yym2634 := z.EncBinary() + _ = yym2634 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) @@ -32913,23 +33212,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2597[3] { + if yyq2623[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2609 := z.EncBinary() - _ = yym2609 + yym2635 := z.EncBinary() + _ = yym2635 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) } } } - if yyr2597 || yy2arr2597 { + if yyr2623 || yy2arr2623 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2597[4] { - yym2611 := z.EncBinary() - _ = yym2611 + if yyq2623[4] { + yym2637 := z.EncBinary() + _ = yym2637 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -32938,23 +33237,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2597[4] { + if yyq2623[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2612 := z.EncBinary() - _ = yym2612 + yym2638 := z.EncBinary() + _ = yym2638 if false { } else { r.EncodeBool(bool(x.Watch)) } } } - if yyr2597 || yy2arr2597 { + if yyr2623 || yy2arr2623 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2597[5] { - yym2614 := z.EncBinary() - _ = yym2614 + if yyq2623[5] { + yym2640 := z.EncBinary() + _ = yym2640 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -32963,54 +33262,54 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2597[5] { + if yyq2623[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2615 := z.EncBinary() - _ = yym2615 + yym2641 := z.EncBinary() + _ = yym2641 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr2597 || yy2arr2597 { + if yyr2623 || yy2arr2623 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2597[6] { + if yyq2623[6] { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy2617 := *x.TimeoutSeconds - yym2618 := z.EncBinary() - _ = yym2618 + yy2643 := *x.TimeoutSeconds + yym2644 := z.EncBinary() + _ = yym2644 if false { } else { - r.EncodeInt(int64(yy2617)) + r.EncodeInt(int64(yy2643)) } } } else { r.EncodeNil() } } else { - if yyq2597[6] { + if yyq2623[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy2619 := *x.TimeoutSeconds - yym2620 := z.EncBinary() - _ = yym2620 + yy2645 := *x.TimeoutSeconds + yym2646 := z.EncBinary() + _ = yym2646 if false { } else { - r.EncodeInt(int64(yy2619)) + r.EncodeInt(int64(yy2645)) } } } } - if yyr2597 || yy2arr2597 { + if yyr2623 || yy2arr2623 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33023,25 +33322,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2621 := z.DecBinary() - _ = yym2621 + yym2647 := z.DecBinary() + _ = yym2647 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2622 := r.ContainerType() - if yyct2622 == codecSelferValueTypeMap1234 { - yyl2622 := r.ReadMapStart() - if yyl2622 == 0 { + yyct2648 := r.ContainerType() + if yyct2648 == codecSelferValueTypeMap1234 { + yyl2648 := r.ReadMapStart() + if yyl2648 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2622, d) + x.codecDecodeSelfFromMap(yyl2648, d) } - } else if yyct2622 == codecSelferValueTypeArray1234 { - yyl2622 := r.ReadArrayStart() - if yyl2622 == 0 { + } else if yyct2648 == codecSelferValueTypeArray1234 { + yyl2648 := r.ReadArrayStart() + if yyl2648 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2622, d) + x.codecDecodeSelfFromArray(yyl2648, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33053,12 +33352,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2623Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2623Slc - var yyhl2623 bool = l >= 0 - for yyj2623 := 0; ; yyj2623++ { - if yyhl2623 { - if yyj2623 >= l { + var yys2649Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2649Slc + var yyhl2649 bool = l >= 0 + for yyj2649 := 0; ; yyj2649++ { + if yyhl2649 { + if yyj2649 >= l { break } } else { @@ -33067,10 +33366,10 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2623Slc = r.DecodeBytes(yys2623Slc, true, true) - yys2623 := string(yys2623Slc) + yys2649Slc = r.DecodeBytes(yys2649Slc, true, true) + yys2649 := string(yys2649Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2623 { + switch yys2649 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33116,17 +33415,17 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym2631 := z.DecBinary() - _ = yym2631 + yym2657 := z.DecBinary() + _ = yym2657 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys2623) - } // end switch yys2623 - } // end for yyj2623 + z.DecStructFieldNotFound(-1, yys2649) + } // end switch yys2649 + } // end for yyj2649 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33134,16 +33433,16 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2632 int - var yyb2632 bool - var yyhl2632 bool = l >= 0 - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + var yyj2658 int + var yyb2658 bool + var yyhl2658 bool = l >= 0 + yyj2658++ + if yyhl2658 { + yyb2658 = yyj2658 > l } else { - yyb2632 = r.CheckBreak() + yyb2658 = r.CheckBreak() } - if yyb2632 { + if yyb2658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33153,13 +33452,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2658++ + if yyhl2658 { + yyb2658 = yyj2658 > l } else { - yyb2632 = r.CheckBreak() + yyb2658 = r.CheckBreak() } - if yyb2632 { + if yyb2658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33169,13 +33468,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2658++ + if yyhl2658 { + yyb2658 = yyj2658 > l } else { - yyb2632 = r.CheckBreak() + yyb2658 = r.CheckBreak() } - if yyb2632 { + if yyb2658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33185,13 +33484,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LabelSelector = string(r.DecodeString()) } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2658++ + if yyhl2658 { + yyb2658 = yyj2658 > l } else { - yyb2632 = r.CheckBreak() + yyb2658 = r.CheckBreak() } - if yyb2632 { + if yyb2658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33201,13 +33500,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FieldSelector = string(r.DecodeString()) } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2658++ + if yyhl2658 { + yyb2658 = yyj2658 > l } else { - yyb2632 = r.CheckBreak() + yyb2658 = r.CheckBreak() } - if yyb2632 { + if yyb2658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33217,13 +33516,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Watch = bool(r.DecodeBool()) } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2658++ + if yyhl2658 { + yyb2658 = yyj2658 > l } else { - yyb2632 = r.CheckBreak() + yyb2658 = r.CheckBreak() } - if yyb2632 { + if yyb2658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33233,13 +33532,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2658++ + if yyhl2658 { + yyb2658 = yyj2658 > l } else { - yyb2632 = r.CheckBreak() + yyb2658 = r.CheckBreak() } - if yyb2632 { + if yyb2658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33252,25 +33551,25 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym2640 := z.DecBinary() - _ = yym2640 + yym2666 := z.DecBinary() + _ = yym2666 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } for { - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2658++ + if yyhl2658 { + yyb2658 = yyj2658 > l } else { - yyb2632 = r.CheckBreak() + yyb2658 = r.CheckBreak() } - if yyb2632 { + if yyb2658 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2632-1, "") + z.DecStructFieldNotFound(yyj2658-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33282,44 +33581,44 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2641 := z.EncBinary() - _ = yym2641 + yym2667 := z.EncBinary() + _ = yym2667 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2642 := !z.EncBinary() - yy2arr2642 := z.EncBasicHandle().StructToArray - var yyq2642 [10]bool - _, _, _ = yysep2642, yyq2642, yy2arr2642 - const yyr2642 bool = false - yyq2642[0] = x.Kind != "" - yyq2642[1] = x.APIVersion != "" - yyq2642[2] = x.Container != "" - yyq2642[3] = x.Follow != false - yyq2642[4] = x.Previous != false - yyq2642[5] = x.SinceSeconds != nil - yyq2642[6] = x.SinceTime != nil - yyq2642[7] = x.Timestamps != false - yyq2642[8] = x.TailLines != nil - yyq2642[9] = x.LimitBytes != nil - var yynn2642 int - if yyr2642 || yy2arr2642 { + yysep2668 := !z.EncBinary() + yy2arr2668 := z.EncBasicHandle().StructToArray + var yyq2668 [10]bool + _, _, _ = yysep2668, yyq2668, yy2arr2668 + const yyr2668 bool = false + yyq2668[0] = x.Kind != "" + yyq2668[1] = x.APIVersion != "" + yyq2668[2] = x.Container != "" + yyq2668[3] = x.Follow != false + yyq2668[4] = x.Previous != false + yyq2668[5] = x.SinceSeconds != nil + yyq2668[6] = x.SinceTime != nil + yyq2668[7] = x.Timestamps != false + yyq2668[8] = x.TailLines != nil + yyq2668[9] = x.LimitBytes != nil + var yynn2668 int + if yyr2668 || yy2arr2668 { r.EncodeArrayStart(10) } else { - yynn2642 = 0 - for _, b := range yyq2642 { + yynn2668 = 0 + for _, b := range yyq2668 { if b { - yynn2642++ + yynn2668++ } } - r.EncodeMapStart(yynn2642) - yynn2642 = 0 + r.EncodeMapStart(yynn2668) + yynn2668 = 0 } - if yyr2642 || yy2arr2642 { + if yyr2668 || yy2arr2668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2642[0] { - yym2644 := z.EncBinary() - _ = yym2644 + if yyq2668[0] { + yym2670 := z.EncBinary() + _ = yym2670 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -33328,23 +33627,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2642[0] { + if yyq2668[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2645 := z.EncBinary() - _ = yym2645 + yym2671 := z.EncBinary() + _ = yym2671 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2642 || yy2arr2642 { + if yyr2668 || yy2arr2668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2642[1] { - yym2647 := z.EncBinary() - _ = yym2647 + if yyq2668[1] { + yym2673 := z.EncBinary() + _ = yym2673 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -33353,23 +33652,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2642[1] { + if yyq2668[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2648 := z.EncBinary() - _ = yym2648 + yym2674 := z.EncBinary() + _ = yym2674 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2642 || yy2arr2642 { + if yyr2668 || yy2arr2668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2642[2] { - yym2650 := z.EncBinary() - _ = yym2650 + if yyq2668[2] { + yym2676 := z.EncBinary() + _ = yym2676 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -33378,23 +33677,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2642[2] { + if yyq2668[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2651 := z.EncBinary() - _ = yym2651 + yym2677 := z.EncBinary() + _ = yym2677 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr2642 || yy2arr2642 { + if yyr2668 || yy2arr2668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2642[3] { - yym2653 := z.EncBinary() - _ = yym2653 + if yyq2668[3] { + yym2679 := z.EncBinary() + _ = yym2679 if false { } else { r.EncodeBool(bool(x.Follow)) @@ -33403,23 +33702,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2642[3] { + if yyq2668[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("follow")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2654 := z.EncBinary() - _ = yym2654 + yym2680 := z.EncBinary() + _ = yym2680 if false { } else { r.EncodeBool(bool(x.Follow)) } } } - if yyr2642 || yy2arr2642 { + if yyr2668 || yy2arr2668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2642[4] { - yym2656 := z.EncBinary() - _ = yym2656 + if yyq2668[4] { + yym2682 := z.EncBinary() + _ = yym2682 if false { } else { r.EncodeBool(bool(x.Previous)) @@ -33428,66 +33727,66 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2642[4] { + if yyq2668[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("previous")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2657 := z.EncBinary() - _ = yym2657 + yym2683 := z.EncBinary() + _ = yym2683 if false { } else { r.EncodeBool(bool(x.Previous)) } } } - if yyr2642 || yy2arr2642 { + if yyr2668 || yy2arr2668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2642[5] { + if yyq2668[5] { if x.SinceSeconds == nil { r.EncodeNil() } else { - yy2659 := *x.SinceSeconds - yym2660 := z.EncBinary() - _ = yym2660 + yy2685 := *x.SinceSeconds + yym2686 := z.EncBinary() + _ = yym2686 if false { } else { - r.EncodeInt(int64(yy2659)) + r.EncodeInt(int64(yy2685)) } } } else { r.EncodeNil() } } else { - if yyq2642[5] { + if yyq2668[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sinceSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SinceSeconds == nil { r.EncodeNil() } else { - yy2661 := *x.SinceSeconds - yym2662 := z.EncBinary() - _ = yym2662 + yy2687 := *x.SinceSeconds + yym2688 := z.EncBinary() + _ = yym2688 if false { } else { - r.EncodeInt(int64(yy2661)) + r.EncodeInt(int64(yy2687)) } } } } - if yyr2642 || yy2arr2642 { + if yyr2668 || yy2arr2668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2642[6] { + if yyq2668[6] { if x.SinceTime == nil { r.EncodeNil() } else { - yym2664 := z.EncBinary() - _ = yym2664 + yym2690 := z.EncBinary() + _ = yym2690 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym2664 { + } else if yym2690 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym2664 && z.IsJSONHandle() { + } else if !yym2690 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -33497,20 +33796,20 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2642[6] { + if yyq2668[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sinceTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SinceTime == nil { r.EncodeNil() } else { - yym2665 := z.EncBinary() - _ = yym2665 + yym2691 := z.EncBinary() + _ = yym2691 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym2665 { + } else if yym2691 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym2665 && z.IsJSONHandle() { + } else if !yym2691 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -33518,11 +33817,11 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2642 || yy2arr2642 { + if yyr2668 || yy2arr2668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2642[7] { - yym2667 := z.EncBinary() - _ = yym2667 + if yyq2668[7] { + yym2693 := z.EncBinary() + _ = yym2693 if false { } else { r.EncodeBool(bool(x.Timestamps)) @@ -33531,89 +33830,89 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2642[7] { + if yyq2668[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timestamps")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2668 := z.EncBinary() - _ = yym2668 + yym2694 := z.EncBinary() + _ = yym2694 if false { } else { r.EncodeBool(bool(x.Timestamps)) } } } - if yyr2642 || yy2arr2642 { + if yyr2668 || yy2arr2668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2642[8] { + if yyq2668[8] { if x.TailLines == nil { r.EncodeNil() } else { - yy2670 := *x.TailLines - yym2671 := z.EncBinary() - _ = yym2671 + yy2696 := *x.TailLines + yym2697 := z.EncBinary() + _ = yym2697 if false { } else { - r.EncodeInt(int64(yy2670)) + r.EncodeInt(int64(yy2696)) } } } else { r.EncodeNil() } } else { - if yyq2642[8] { + if yyq2668[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tailLines")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TailLines == nil { r.EncodeNil() } else { - yy2672 := *x.TailLines - yym2673 := z.EncBinary() - _ = yym2673 + yy2698 := *x.TailLines + yym2699 := z.EncBinary() + _ = yym2699 if false { } else { - r.EncodeInt(int64(yy2672)) + r.EncodeInt(int64(yy2698)) } } } } - if yyr2642 || yy2arr2642 { + if yyr2668 || yy2arr2668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2642[9] { + if yyq2668[9] { if x.LimitBytes == nil { r.EncodeNil() } else { - yy2675 := *x.LimitBytes - yym2676 := z.EncBinary() - _ = yym2676 + yy2701 := *x.LimitBytes + yym2702 := z.EncBinary() + _ = yym2702 if false { } else { - r.EncodeInt(int64(yy2675)) + r.EncodeInt(int64(yy2701)) } } } else { r.EncodeNil() } } else { - if yyq2642[9] { + if yyq2668[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limitBytes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LimitBytes == nil { r.EncodeNil() } else { - yy2677 := *x.LimitBytes - yym2678 := z.EncBinary() - _ = yym2678 + yy2703 := *x.LimitBytes + yym2704 := z.EncBinary() + _ = yym2704 if false { } else { - r.EncodeInt(int64(yy2677)) + r.EncodeInt(int64(yy2703)) } } } } - if yyr2642 || yy2arr2642 { + if yyr2668 || yy2arr2668 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33626,25 +33925,25 @@ func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2679 := z.DecBinary() - _ = yym2679 + yym2705 := z.DecBinary() + _ = yym2705 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2680 := r.ContainerType() - if yyct2680 == codecSelferValueTypeMap1234 { - yyl2680 := r.ReadMapStart() - if yyl2680 == 0 { + yyct2706 := r.ContainerType() + if yyct2706 == codecSelferValueTypeMap1234 { + yyl2706 := r.ReadMapStart() + if yyl2706 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2680, d) + x.codecDecodeSelfFromMap(yyl2706, d) } - } else if yyct2680 == codecSelferValueTypeArray1234 { - yyl2680 := r.ReadArrayStart() - if yyl2680 == 0 { + } else if yyct2706 == codecSelferValueTypeArray1234 { + yyl2706 := r.ReadArrayStart() + if yyl2706 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2680, d) + x.codecDecodeSelfFromArray(yyl2706, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33656,12 +33955,12 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2681Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2681Slc - var yyhl2681 bool = l >= 0 - for yyj2681 := 0; ; yyj2681++ { - if yyhl2681 { - if yyj2681 >= l { + var yys2707Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2707Slc + var yyhl2707 bool = l >= 0 + for yyj2707 := 0; ; yyj2707++ { + if yyhl2707 { + if yyj2707 >= l { break } } else { @@ -33670,10 +33969,10 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2681Slc = r.DecodeBytes(yys2681Slc, true, true) - yys2681 := string(yys2681Slc) + yys2707Slc = r.DecodeBytes(yys2707Slc, true, true) + yys2707 := string(yys2707Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2681 { + switch yys2707 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33713,8 +34012,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym2688 := z.DecBinary() - _ = yym2688 + yym2714 := z.DecBinary() + _ = yym2714 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) @@ -33729,13 +34028,13 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym2690 := z.DecBinary() - _ = yym2690 + yym2716 := z.DecBinary() + _ = yym2716 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym2690 { + } else if yym2716 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym2690 && z.IsJSONHandle() { + } else if !yym2716 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) @@ -33756,8 +34055,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym2693 := z.DecBinary() - _ = yym2693 + yym2719 := z.DecBinary() + _ = yym2719 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) @@ -33772,17 +34071,17 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym2695 := z.DecBinary() - _ = yym2695 + yym2721 := z.DecBinary() + _ = yym2721 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys2681) - } // end switch yys2681 - } // end for yyj2681 + z.DecStructFieldNotFound(-1, yys2707) + } // end switch yys2707 + } // end for yyj2707 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33790,16 +34089,16 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2696 int - var yyb2696 bool - var yyhl2696 bool = l >= 0 - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + var yyj2722 int + var yyb2722 bool + var yyhl2722 bool = l >= 0 + yyj2722++ + if yyhl2722 { + yyb2722 = yyj2722 > l } else { - yyb2696 = r.CheckBreak() + yyb2722 = r.CheckBreak() } - if yyb2696 { + if yyb2722 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33809,13 +34108,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2722++ + if yyhl2722 { + yyb2722 = yyj2722 > l } else { - yyb2696 = r.CheckBreak() + yyb2722 = r.CheckBreak() } - if yyb2696 { + if yyb2722 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33825,13 +34124,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2722++ + if yyhl2722 { + yyb2722 = yyj2722 > l } else { - yyb2696 = r.CheckBreak() + yyb2722 = r.CheckBreak() } - if yyb2696 { + if yyb2722 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33841,13 +34140,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2722++ + if yyhl2722 { + yyb2722 = yyj2722 > l } else { - yyb2696 = r.CheckBreak() + yyb2722 = r.CheckBreak() } - if yyb2696 { + if yyb2722 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33857,13 +34156,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Follow = bool(r.DecodeBool()) } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2722++ + if yyhl2722 { + yyb2722 = yyj2722 > l } else { - yyb2696 = r.CheckBreak() + yyb2722 = r.CheckBreak() } - if yyb2696 { + if yyb2722 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33873,13 +34172,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Previous = bool(r.DecodeBool()) } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2722++ + if yyhl2722 { + yyb2722 = yyj2722 > l } else { - yyb2696 = r.CheckBreak() + yyb2722 = r.CheckBreak() } - if yyb2696 { + if yyb2722 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33892,20 +34191,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym2703 := z.DecBinary() - _ = yym2703 + yym2729 := z.DecBinary() + _ = yym2729 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) } } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2722++ + if yyhl2722 { + yyb2722 = yyj2722 > l } else { - yyb2696 = r.CheckBreak() + yyb2722 = r.CheckBreak() } - if yyb2696 { + if yyb2722 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33918,25 +34217,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym2705 := z.DecBinary() - _ = yym2705 + yym2731 := z.DecBinary() + _ = yym2731 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym2705 { + } else if yym2731 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym2705 && z.IsJSONHandle() { + } else if !yym2731 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) } } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2722++ + if yyhl2722 { + yyb2722 = yyj2722 > l } else { - yyb2696 = r.CheckBreak() + yyb2722 = r.CheckBreak() } - if yyb2696 { + if yyb2722 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33946,13 +34245,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Timestamps = bool(r.DecodeBool()) } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2722++ + if yyhl2722 { + yyb2722 = yyj2722 > l } else { - yyb2696 = r.CheckBreak() + yyb2722 = r.CheckBreak() } - if yyb2696 { + if yyb2722 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33965,20 +34264,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym2708 := z.DecBinary() - _ = yym2708 + yym2734 := z.DecBinary() + _ = yym2734 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) } } - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2722++ + if yyhl2722 { + yyb2722 = yyj2722 > l } else { - yyb2696 = r.CheckBreak() + yyb2722 = r.CheckBreak() } - if yyb2696 { + if yyb2722 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33991,25 +34290,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym2710 := z.DecBinary() - _ = yym2710 + yym2736 := z.DecBinary() + _ = yym2736 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } for { - yyj2696++ - if yyhl2696 { - yyb2696 = yyj2696 > l + yyj2722++ + if yyhl2722 { + yyb2722 = yyj2722 > l } else { - yyb2696 = r.CheckBreak() + yyb2722 = r.CheckBreak() } - if yyb2696 { + if yyb2722 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2696-1, "") + z.DecStructFieldNotFound(yyj2722-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34021,41 +34320,41 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2711 := z.EncBinary() - _ = yym2711 + yym2737 := z.EncBinary() + _ = yym2737 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2712 := !z.EncBinary() - yy2arr2712 := z.EncBasicHandle().StructToArray - var yyq2712 [7]bool - _, _, _ = yysep2712, yyq2712, yy2arr2712 - const yyr2712 bool = false - yyq2712[0] = x.Kind != "" - yyq2712[1] = x.APIVersion != "" - yyq2712[2] = x.Stdin != false - yyq2712[3] = x.Stdout != false - yyq2712[4] = x.Stderr != false - yyq2712[5] = x.TTY != false - yyq2712[6] = x.Container != "" - var yynn2712 int - if yyr2712 || yy2arr2712 { + yysep2738 := !z.EncBinary() + yy2arr2738 := z.EncBasicHandle().StructToArray + var yyq2738 [7]bool + _, _, _ = yysep2738, yyq2738, yy2arr2738 + const yyr2738 bool = false + yyq2738[0] = x.Kind != "" + yyq2738[1] = x.APIVersion != "" + yyq2738[2] = x.Stdin != false + yyq2738[3] = x.Stdout != false + yyq2738[4] = x.Stderr != false + yyq2738[5] = x.TTY != false + yyq2738[6] = x.Container != "" + var yynn2738 int + if yyr2738 || yy2arr2738 { r.EncodeArrayStart(7) } else { - yynn2712 = 0 - for _, b := range yyq2712 { + yynn2738 = 0 + for _, b := range yyq2738 { if b { - yynn2712++ + yynn2738++ } } - r.EncodeMapStart(yynn2712) - yynn2712 = 0 + r.EncodeMapStart(yynn2738) + yynn2738 = 0 } - if yyr2712 || yy2arr2712 { + if yyr2738 || yy2arr2738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2712[0] { - yym2714 := z.EncBinary() - _ = yym2714 + if yyq2738[0] { + yym2740 := z.EncBinary() + _ = yym2740 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34064,23 +34363,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2712[0] { + if yyq2738[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2715 := z.EncBinary() - _ = yym2715 + yym2741 := z.EncBinary() + _ = yym2741 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2712 || yy2arr2712 { + if yyr2738 || yy2arr2738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2712[1] { - yym2717 := z.EncBinary() - _ = yym2717 + if yyq2738[1] { + yym2743 := z.EncBinary() + _ = yym2743 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -34089,23 +34388,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2712[1] { + if yyq2738[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2718 := z.EncBinary() - _ = yym2718 + yym2744 := z.EncBinary() + _ = yym2744 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2712 || yy2arr2712 { + if yyr2738 || yy2arr2738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2712[2] { - yym2720 := z.EncBinary() - _ = yym2720 + if yyq2738[2] { + yym2746 := z.EncBinary() + _ = yym2746 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -34114,23 +34413,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2712[2] { + if yyq2738[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2721 := z.EncBinary() - _ = yym2721 + yym2747 := z.EncBinary() + _ = yym2747 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr2712 || yy2arr2712 { + if yyr2738 || yy2arr2738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2712[3] { - yym2723 := z.EncBinary() - _ = yym2723 + if yyq2738[3] { + yym2749 := z.EncBinary() + _ = yym2749 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -34139,23 +34438,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2712[3] { + if yyq2738[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2724 := z.EncBinary() - _ = yym2724 + yym2750 := z.EncBinary() + _ = yym2750 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr2712 || yy2arr2712 { + if yyr2738 || yy2arr2738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2712[4] { - yym2726 := z.EncBinary() - _ = yym2726 + if yyq2738[4] { + yym2752 := z.EncBinary() + _ = yym2752 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -34164,23 +34463,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2712[4] { + if yyq2738[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2727 := z.EncBinary() - _ = yym2727 + yym2753 := z.EncBinary() + _ = yym2753 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr2712 || yy2arr2712 { + if yyr2738 || yy2arr2738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2712[5] { - yym2729 := z.EncBinary() - _ = yym2729 + if yyq2738[5] { + yym2755 := z.EncBinary() + _ = yym2755 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -34189,23 +34488,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2712[5] { + if yyq2738[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2730 := z.EncBinary() - _ = yym2730 + yym2756 := z.EncBinary() + _ = yym2756 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr2712 || yy2arr2712 { + if yyr2738 || yy2arr2738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2712[6] { - yym2732 := z.EncBinary() - _ = yym2732 + if yyq2738[6] { + yym2758 := z.EncBinary() + _ = yym2758 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -34214,19 +34513,19 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2712[6] { + if yyq2738[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2733 := z.EncBinary() - _ = yym2733 + yym2759 := z.EncBinary() + _ = yym2759 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr2712 || yy2arr2712 { + if yyr2738 || yy2arr2738 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34239,25 +34538,25 @@ func (x *PodAttachOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2734 := z.DecBinary() - _ = yym2734 + yym2760 := z.DecBinary() + _ = yym2760 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2735 := r.ContainerType() - if yyct2735 == codecSelferValueTypeMap1234 { - yyl2735 := r.ReadMapStart() - if yyl2735 == 0 { + yyct2761 := r.ContainerType() + if yyct2761 == codecSelferValueTypeMap1234 { + yyl2761 := r.ReadMapStart() + if yyl2761 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2735, d) + x.codecDecodeSelfFromMap(yyl2761, d) } - } else if yyct2735 == codecSelferValueTypeArray1234 { - yyl2735 := r.ReadArrayStart() - if yyl2735 == 0 { + } else if yyct2761 == codecSelferValueTypeArray1234 { + yyl2761 := r.ReadArrayStart() + if yyl2761 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2735, d) + x.codecDecodeSelfFromArray(yyl2761, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34269,12 +34568,12 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2736Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2736Slc - var yyhl2736 bool = l >= 0 - for yyj2736 := 0; ; yyj2736++ { - if yyhl2736 { - if yyj2736 >= l { + var yys2762Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2762Slc + var yyhl2762 bool = l >= 0 + for yyj2762 := 0; ; yyj2762++ { + if yyhl2762 { + if yyj2762 >= l { break } } else { @@ -34283,10 +34582,10 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2736Slc = r.DecodeBytes(yys2736Slc, true, true) - yys2736 := string(yys2736Slc) + yys2762Slc = r.DecodeBytes(yys2762Slc, true, true) + yys2762 := string(yys2762Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2736 { + switch yys2762 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -34330,9 +34629,9 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Container = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2736) - } // end switch yys2736 - } // end for yyj2736 + z.DecStructFieldNotFound(-1, yys2762) + } // end switch yys2762 + } // end for yyj2762 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34340,16 +34639,16 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2744 int - var yyb2744 bool - var yyhl2744 bool = l >= 0 - yyj2744++ - if yyhl2744 { - yyb2744 = yyj2744 > l + var yyj2770 int + var yyb2770 bool + var yyhl2770 bool = l >= 0 + yyj2770++ + if yyhl2770 { + yyb2770 = yyj2770 > l } else { - yyb2744 = r.CheckBreak() + yyb2770 = r.CheckBreak() } - if yyb2744 { + if yyb2770 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34359,13 +34658,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2744++ - if yyhl2744 { - yyb2744 = yyj2744 > l + yyj2770++ + if yyhl2770 { + yyb2770 = yyj2770 > l } else { - yyb2744 = r.CheckBreak() + yyb2770 = r.CheckBreak() } - if yyb2744 { + if yyb2770 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34375,13 +34674,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2744++ - if yyhl2744 { - yyb2744 = yyj2744 > l + yyj2770++ + if yyhl2770 { + yyb2770 = yyj2770 > l } else { - yyb2744 = r.CheckBreak() + yyb2770 = r.CheckBreak() } - if yyb2744 { + if yyb2770 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34391,13 +34690,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdin = bool(r.DecodeBool()) } - yyj2744++ - if yyhl2744 { - yyb2744 = yyj2744 > l + yyj2770++ + if yyhl2770 { + yyb2770 = yyj2770 > l } else { - yyb2744 = r.CheckBreak() + yyb2770 = r.CheckBreak() } - if yyb2744 { + if yyb2770 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34407,13 +34706,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdout = bool(r.DecodeBool()) } - yyj2744++ - if yyhl2744 { - yyb2744 = yyj2744 > l + yyj2770++ + if yyhl2770 { + yyb2770 = yyj2770 > l } else { - yyb2744 = r.CheckBreak() + yyb2770 = r.CheckBreak() } - if yyb2744 { + if yyb2770 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34423,13 +34722,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stderr = bool(r.DecodeBool()) } - yyj2744++ - if yyhl2744 { - yyb2744 = yyj2744 > l + yyj2770++ + if yyhl2770 { + yyb2770 = yyj2770 > l } else { - yyb2744 = r.CheckBreak() + yyb2770 = r.CheckBreak() } - if yyb2744 { + if yyb2770 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34439,13 +34738,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.TTY = bool(r.DecodeBool()) } - yyj2744++ - if yyhl2744 { - yyb2744 = yyj2744 > l + yyj2770++ + if yyhl2770 { + yyb2770 = yyj2770 > l } else { - yyb2744 = r.CheckBreak() + yyb2770 = r.CheckBreak() } - if yyb2744 { + if yyb2770 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34456,17 +34755,17 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Container = string(r.DecodeString()) } for { - yyj2744++ - if yyhl2744 { - yyb2744 = yyj2744 > l + yyj2770++ + if yyhl2770 { + yyb2770 = yyj2770 > l } else { - yyb2744 = r.CheckBreak() + yyb2770 = r.CheckBreak() } - if yyb2744 { + if yyb2770 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2744-1, "") + z.DecStructFieldNotFound(yyj2770-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34478,41 +34777,41 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2752 := z.EncBinary() - _ = yym2752 + yym2778 := z.EncBinary() + _ = yym2778 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2753 := !z.EncBinary() - yy2arr2753 := z.EncBasicHandle().StructToArray - var yyq2753 [8]bool - _, _, _ = yysep2753, yyq2753, yy2arr2753 - const yyr2753 bool = false - yyq2753[0] = x.Kind != "" - yyq2753[1] = x.APIVersion != "" - yyq2753[2] = x.Stdin != false - yyq2753[3] = x.Stdout != false - yyq2753[4] = x.Stderr != false - yyq2753[5] = x.TTY != false - yyq2753[6] = x.Container != "" - var yynn2753 int - if yyr2753 || yy2arr2753 { + yysep2779 := !z.EncBinary() + yy2arr2779 := z.EncBasicHandle().StructToArray + var yyq2779 [8]bool + _, _, _ = yysep2779, yyq2779, yy2arr2779 + const yyr2779 bool = false + yyq2779[0] = x.Kind != "" + yyq2779[1] = x.APIVersion != "" + yyq2779[2] = x.Stdin != false + yyq2779[3] = x.Stdout != false + yyq2779[4] = x.Stderr != false + yyq2779[5] = x.TTY != false + yyq2779[6] = x.Container != "" + var yynn2779 int + if yyr2779 || yy2arr2779 { r.EncodeArrayStart(8) } else { - yynn2753 = 1 - for _, b := range yyq2753 { + yynn2779 = 1 + for _, b := range yyq2779 { if b { - yynn2753++ + yynn2779++ } } - r.EncodeMapStart(yynn2753) - yynn2753 = 0 + r.EncodeMapStart(yynn2779) + yynn2779 = 0 } - if yyr2753 || yy2arr2753 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2753[0] { - yym2755 := z.EncBinary() - _ = yym2755 + if yyq2779[0] { + yym2781 := z.EncBinary() + _ = yym2781 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34521,23 +34820,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2753[0] { + if yyq2779[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2756 := z.EncBinary() - _ = yym2756 + yym2782 := z.EncBinary() + _ = yym2782 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2753 || yy2arr2753 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2753[1] { - yym2758 := z.EncBinary() - _ = yym2758 + if yyq2779[1] { + yym2784 := z.EncBinary() + _ = yym2784 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -34546,23 +34845,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2753[1] { + if yyq2779[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2759 := z.EncBinary() - _ = yym2759 + yym2785 := z.EncBinary() + _ = yym2785 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2753 || yy2arr2753 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2753[2] { - yym2761 := z.EncBinary() - _ = yym2761 + if yyq2779[2] { + yym2787 := z.EncBinary() + _ = yym2787 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -34571,23 +34870,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2753[2] { + if yyq2779[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2762 := z.EncBinary() - _ = yym2762 + yym2788 := z.EncBinary() + _ = yym2788 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr2753 || yy2arr2753 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2753[3] { - yym2764 := z.EncBinary() - _ = yym2764 + if yyq2779[3] { + yym2790 := z.EncBinary() + _ = yym2790 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -34596,23 +34895,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2753[3] { + if yyq2779[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2765 := z.EncBinary() - _ = yym2765 + yym2791 := z.EncBinary() + _ = yym2791 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr2753 || yy2arr2753 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2753[4] { - yym2767 := z.EncBinary() - _ = yym2767 + if yyq2779[4] { + yym2793 := z.EncBinary() + _ = yym2793 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -34621,23 +34920,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2753[4] { + if yyq2779[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2768 := z.EncBinary() - _ = yym2768 + yym2794 := z.EncBinary() + _ = yym2794 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr2753 || yy2arr2753 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2753[5] { - yym2770 := z.EncBinary() - _ = yym2770 + if yyq2779[5] { + yym2796 := z.EncBinary() + _ = yym2796 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -34646,23 +34945,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2753[5] { + if yyq2779[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2771 := z.EncBinary() - _ = yym2771 + yym2797 := z.EncBinary() + _ = yym2797 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr2753 || yy2arr2753 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2753[6] { - yym2773 := z.EncBinary() - _ = yym2773 + if yyq2779[6] { + yym2799 := z.EncBinary() + _ = yym2799 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -34671,25 +34970,25 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2753[6] { + if yyq2779[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2774 := z.EncBinary() - _ = yym2774 + yym2800 := z.EncBinary() + _ = yym2800 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr2753 || yy2arr2753 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Command == nil { r.EncodeNil() } else { - yym2776 := z.EncBinary() - _ = yym2776 + yym2802 := z.EncBinary() + _ = yym2802 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -34702,15 +35001,15 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.Command == nil { r.EncodeNil() } else { - yym2777 := z.EncBinary() - _ = yym2777 + yym2803 := z.EncBinary() + _ = yym2803 if false { } else { z.F.EncSliceStringV(x.Command, false, e) } } } - if yyr2753 || yy2arr2753 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34723,25 +35022,25 @@ func (x *PodExecOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2778 := z.DecBinary() - _ = yym2778 + yym2804 := z.DecBinary() + _ = yym2804 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2779 := r.ContainerType() - if yyct2779 == codecSelferValueTypeMap1234 { - yyl2779 := r.ReadMapStart() - if yyl2779 == 0 { + yyct2805 := r.ContainerType() + if yyct2805 == codecSelferValueTypeMap1234 { + yyl2805 := r.ReadMapStart() + if yyl2805 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2779, d) + x.codecDecodeSelfFromMap(yyl2805, d) } - } else if yyct2779 == codecSelferValueTypeArray1234 { - yyl2779 := r.ReadArrayStart() - if yyl2779 == 0 { + } else if yyct2805 == codecSelferValueTypeArray1234 { + yyl2805 := r.ReadArrayStart() + if yyl2805 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2779, d) + x.codecDecodeSelfFromArray(yyl2805, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34753,12 +35052,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2780Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2780Slc - var yyhl2780 bool = l >= 0 - for yyj2780 := 0; ; yyj2780++ { - if yyhl2780 { - if yyj2780 >= l { + var yys2806Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2806Slc + var yyhl2806 bool = l >= 0 + for yyj2806 := 0; ; yyj2806++ { + if yyhl2806 { + if yyj2806 >= l { break } } else { @@ -34767,10 +35066,10 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2780Slc = r.DecodeBytes(yys2780Slc, true, true) - yys2780 := string(yys2780Slc) + yys2806Slc = r.DecodeBytes(yys2806Slc, true, true) + yys2806 := string(yys2806Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2780 { + switch yys2806 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -34817,18 +35116,18 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv2788 := &x.Command - yym2789 := z.DecBinary() - _ = yym2789 + yyv2814 := &x.Command + yym2815 := z.DecBinary() + _ = yym2815 if false { } else { - z.F.DecSliceStringX(yyv2788, false, d) + z.F.DecSliceStringX(yyv2814, false, d) } } default: - z.DecStructFieldNotFound(-1, yys2780) - } // end switch yys2780 - } // end for yyj2780 + z.DecStructFieldNotFound(-1, yys2806) + } // end switch yys2806 + } // end for yyj2806 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34836,16 +35135,16 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2790 int - var yyb2790 bool - var yyhl2790 bool = l >= 0 - yyj2790++ - if yyhl2790 { - yyb2790 = yyj2790 > l + var yyj2816 int + var yyb2816 bool + var yyhl2816 bool = l >= 0 + yyj2816++ + if yyhl2816 { + yyb2816 = yyj2816 > l } else { - yyb2790 = r.CheckBreak() + yyb2816 = r.CheckBreak() } - if yyb2790 { + if yyb2816 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34855,13 +35154,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2790++ - if yyhl2790 { - yyb2790 = yyj2790 > l + yyj2816++ + if yyhl2816 { + yyb2816 = yyj2816 > l } else { - yyb2790 = r.CheckBreak() + yyb2816 = r.CheckBreak() } - if yyb2790 { + if yyb2816 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34871,13 +35170,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2790++ - if yyhl2790 { - yyb2790 = yyj2790 > l + yyj2816++ + if yyhl2816 { + yyb2816 = yyj2816 > l } else { - yyb2790 = r.CheckBreak() + yyb2816 = r.CheckBreak() } - if yyb2790 { + if yyb2816 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34887,13 +35186,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj2790++ - if yyhl2790 { - yyb2790 = yyj2790 > l + yyj2816++ + if yyhl2816 { + yyb2816 = yyj2816 > l } else { - yyb2790 = r.CheckBreak() + yyb2816 = r.CheckBreak() } - if yyb2790 { + if yyb2816 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34903,13 +35202,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdout = bool(r.DecodeBool()) } - yyj2790++ - if yyhl2790 { - yyb2790 = yyj2790 > l + yyj2816++ + if yyhl2816 { + yyb2816 = yyj2816 > l } else { - yyb2790 = r.CheckBreak() + yyb2816 = r.CheckBreak() } - if yyb2790 { + if yyb2816 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34919,13 +35218,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stderr = bool(r.DecodeBool()) } - yyj2790++ - if yyhl2790 { - yyb2790 = yyj2790 > l + yyj2816++ + if yyhl2816 { + yyb2816 = yyj2816 > l } else { - yyb2790 = r.CheckBreak() + yyb2816 = r.CheckBreak() } - if yyb2790 { + if yyb2816 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34935,13 +35234,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TTY = bool(r.DecodeBool()) } - yyj2790++ - if yyhl2790 { - yyb2790 = yyj2790 > l + yyj2816++ + if yyhl2816 { + yyb2816 = yyj2816 > l } else { - yyb2790 = r.CheckBreak() + yyb2816 = r.CheckBreak() } - if yyb2790 { + if yyb2816 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34951,13 +35250,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj2790++ - if yyhl2790 { - yyb2790 = yyj2790 > l + yyj2816++ + if yyhl2816 { + yyb2816 = yyj2816 > l } else { - yyb2790 = r.CheckBreak() + yyb2816 = r.CheckBreak() } - if yyb2790 { + if yyb2816 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34965,26 +35264,26 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv2798 := &x.Command - yym2799 := z.DecBinary() - _ = yym2799 + yyv2824 := &x.Command + yym2825 := z.DecBinary() + _ = yym2825 if false { } else { - z.F.DecSliceStringX(yyv2798, false, d) + z.F.DecSliceStringX(yyv2824, false, d) } } for { - yyj2790++ - if yyhl2790 { - yyb2790 = yyj2790 > l + yyj2816++ + if yyhl2816 { + yyb2816 = yyj2816 > l } else { - yyb2790 = r.CheckBreak() + yyb2816 = r.CheckBreak() } - if yyb2790 { + if yyb2816 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2790-1, "") + z.DecStructFieldNotFound(yyj2816-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34996,37 +35295,37 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2800 := z.EncBinary() - _ = yym2800 + yym2826 := z.EncBinary() + _ = yym2826 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2801 := !z.EncBinary() - yy2arr2801 := z.EncBasicHandle().StructToArray - var yyq2801 [3]bool - _, _, _ = yysep2801, yyq2801, yy2arr2801 - const yyr2801 bool = false - yyq2801[0] = x.Kind != "" - yyq2801[1] = x.APIVersion != "" - yyq2801[2] = x.Path != "" - var yynn2801 int - if yyr2801 || yy2arr2801 { + yysep2827 := !z.EncBinary() + yy2arr2827 := z.EncBasicHandle().StructToArray + var yyq2827 [3]bool + _, _, _ = yysep2827, yyq2827, yy2arr2827 + const yyr2827 bool = false + yyq2827[0] = x.Kind != "" + yyq2827[1] = x.APIVersion != "" + yyq2827[2] = x.Path != "" + var yynn2827 int + if yyr2827 || yy2arr2827 { r.EncodeArrayStart(3) } else { - yynn2801 = 0 - for _, b := range yyq2801 { + yynn2827 = 0 + for _, b := range yyq2827 { if b { - yynn2801++ + yynn2827++ } } - r.EncodeMapStart(yynn2801) - yynn2801 = 0 + r.EncodeMapStart(yynn2827) + yynn2827 = 0 } - if yyr2801 || yy2arr2801 { + if yyr2827 || yy2arr2827 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2801[0] { - yym2803 := z.EncBinary() - _ = yym2803 + if yyq2827[0] { + yym2829 := z.EncBinary() + _ = yym2829 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35035,23 +35334,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2801[0] { + if yyq2827[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2804 := z.EncBinary() - _ = yym2804 + yym2830 := z.EncBinary() + _ = yym2830 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2801 || yy2arr2801 { + if yyr2827 || yy2arr2827 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2801[1] { - yym2806 := z.EncBinary() - _ = yym2806 + if yyq2827[1] { + yym2832 := z.EncBinary() + _ = yym2832 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35060,23 +35359,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2801[1] { + if yyq2827[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2807 := z.EncBinary() - _ = yym2807 + yym2833 := z.EncBinary() + _ = yym2833 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2801 || yy2arr2801 { + if yyr2827 || yy2arr2827 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2801[2] { - yym2809 := z.EncBinary() - _ = yym2809 + if yyq2827[2] { + yym2835 := z.EncBinary() + _ = yym2835 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -35085,19 +35384,19 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2801[2] { + if yyq2827[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2810 := z.EncBinary() - _ = yym2810 + yym2836 := z.EncBinary() + _ = yym2836 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr2801 || yy2arr2801 { + if yyr2827 || yy2arr2827 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35110,25 +35409,25 @@ func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2811 := z.DecBinary() - _ = yym2811 + yym2837 := z.DecBinary() + _ = yym2837 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2812 := r.ContainerType() - if yyct2812 == codecSelferValueTypeMap1234 { - yyl2812 := r.ReadMapStart() - if yyl2812 == 0 { + yyct2838 := r.ContainerType() + if yyct2838 == codecSelferValueTypeMap1234 { + yyl2838 := r.ReadMapStart() + if yyl2838 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2812, d) + x.codecDecodeSelfFromMap(yyl2838, d) } - } else if yyct2812 == codecSelferValueTypeArray1234 { - yyl2812 := r.ReadArrayStart() - if yyl2812 == 0 { + } else if yyct2838 == codecSelferValueTypeArray1234 { + yyl2838 := r.ReadArrayStart() + if yyl2838 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2812, d) + x.codecDecodeSelfFromArray(yyl2838, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35140,12 +35439,12 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2813Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2813Slc - var yyhl2813 bool = l >= 0 - for yyj2813 := 0; ; yyj2813++ { - if yyhl2813 { - if yyj2813 >= l { + var yys2839Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2839Slc + var yyhl2839 bool = l >= 0 + for yyj2839 := 0; ; yyj2839++ { + if yyhl2839 { + if yyj2839 >= l { break } } else { @@ -35154,10 +35453,10 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2813Slc = r.DecodeBytes(yys2813Slc, true, true) - yys2813 := string(yys2813Slc) + yys2839Slc = r.DecodeBytes(yys2839Slc, true, true) + yys2839 := string(yys2839Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2813 { + switch yys2839 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35177,9 +35476,9 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2813) - } // end switch yys2813 - } // end for yyj2813 + z.DecStructFieldNotFound(-1, yys2839) + } // end switch yys2839 + } // end for yyj2839 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35187,16 +35486,16 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2817 int - var yyb2817 bool - var yyhl2817 bool = l >= 0 - yyj2817++ - if yyhl2817 { - yyb2817 = yyj2817 > l + var yyj2843 int + var yyb2843 bool + var yyhl2843 bool = l >= 0 + yyj2843++ + if yyhl2843 { + yyb2843 = yyj2843 > l } else { - yyb2817 = r.CheckBreak() + yyb2843 = r.CheckBreak() } - if yyb2817 { + if yyb2843 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35206,13 +35505,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2817++ - if yyhl2817 { - yyb2817 = yyj2817 > l + yyj2843++ + if yyhl2843 { + yyb2843 = yyj2843 > l } else { - yyb2817 = r.CheckBreak() + yyb2843 = r.CheckBreak() } - if yyb2817 { + if yyb2843 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35222,13 +35521,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2817++ - if yyhl2817 { - yyb2817 = yyj2817 > l + yyj2843++ + if yyhl2843 { + yyb2843 = yyj2843 > l } else { - yyb2817 = r.CheckBreak() + yyb2843 = r.CheckBreak() } - if yyb2817 { + if yyb2843 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35239,17 +35538,17 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Path = string(r.DecodeString()) } for { - yyj2817++ - if yyhl2817 { - yyb2817 = yyj2817 > l + yyj2843++ + if yyhl2843 { + yyb2843 = yyj2843 > l } else { - yyb2817 = r.CheckBreak() + yyb2843 = r.CheckBreak() } - if yyb2817 { + if yyb2843 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2817-1, "") + z.DecStructFieldNotFound(yyj2843-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35261,41 +35560,41 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2821 := z.EncBinary() - _ = yym2821 + yym2847 := z.EncBinary() + _ = yym2847 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2822 := !z.EncBinary() - yy2arr2822 := z.EncBasicHandle().StructToArray - var yyq2822 [7]bool - _, _, _ = yysep2822, yyq2822, yy2arr2822 - const yyr2822 bool = false - yyq2822[0] = x.Kind != "" - yyq2822[1] = x.Namespace != "" - yyq2822[2] = x.Name != "" - yyq2822[3] = x.UID != "" - yyq2822[4] = x.APIVersion != "" - yyq2822[5] = x.ResourceVersion != "" - yyq2822[6] = x.FieldPath != "" - var yynn2822 int - if yyr2822 || yy2arr2822 { + yysep2848 := !z.EncBinary() + yy2arr2848 := z.EncBasicHandle().StructToArray + var yyq2848 [7]bool + _, _, _ = yysep2848, yyq2848, yy2arr2848 + const yyr2848 bool = false + yyq2848[0] = x.Kind != "" + yyq2848[1] = x.Namespace != "" + yyq2848[2] = x.Name != "" + yyq2848[3] = x.UID != "" + yyq2848[4] = x.APIVersion != "" + yyq2848[5] = x.ResourceVersion != "" + yyq2848[6] = x.FieldPath != "" + var yynn2848 int + if yyr2848 || yy2arr2848 { r.EncodeArrayStart(7) } else { - yynn2822 = 0 - for _, b := range yyq2822 { + yynn2848 = 0 + for _, b := range yyq2848 { if b { - yynn2822++ + yynn2848++ } } - r.EncodeMapStart(yynn2822) - yynn2822 = 0 + r.EncodeMapStart(yynn2848) + yynn2848 = 0 } - if yyr2822 || yy2arr2822 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2822[0] { - yym2824 := z.EncBinary() - _ = yym2824 + if yyq2848[0] { + yym2850 := z.EncBinary() + _ = yym2850 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35304,23 +35603,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2822[0] { + if yyq2848[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2825 := z.EncBinary() - _ = yym2825 + yym2851 := z.EncBinary() + _ = yym2851 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2822 || yy2arr2822 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2822[1] { - yym2827 := z.EncBinary() - _ = yym2827 + if yyq2848[1] { + yym2853 := z.EncBinary() + _ = yym2853 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -35329,23 +35628,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2822[1] { + if yyq2848[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2828 := z.EncBinary() - _ = yym2828 + yym2854 := z.EncBinary() + _ = yym2854 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr2822 || yy2arr2822 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2822[2] { - yym2830 := z.EncBinary() - _ = yym2830 + if yyq2848[2] { + yym2856 := z.EncBinary() + _ = yym2856 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -35354,23 +35653,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2822[2] { + if yyq2848[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2831 := z.EncBinary() - _ = yym2831 + yym2857 := z.EncBinary() + _ = yym2857 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2822 || yy2arr2822 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2822[3] { - yym2833 := z.EncBinary() - _ = yym2833 + if yyq2848[3] { + yym2859 := z.EncBinary() + _ = yym2859 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -35380,12 +35679,12 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2822[3] { + if yyq2848[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2834 := z.EncBinary() - _ = yym2834 + yym2860 := z.EncBinary() + _ = yym2860 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -35393,11 +35692,11 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2822 || yy2arr2822 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2822[4] { - yym2836 := z.EncBinary() - _ = yym2836 + if yyq2848[4] { + yym2862 := z.EncBinary() + _ = yym2862 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35406,23 +35705,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2822[4] { + if yyq2848[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2837 := z.EncBinary() - _ = yym2837 + yym2863 := z.EncBinary() + _ = yym2863 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2822 || yy2arr2822 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2822[5] { - yym2839 := z.EncBinary() - _ = yym2839 + if yyq2848[5] { + yym2865 := z.EncBinary() + _ = yym2865 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -35431,23 +35730,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2822[5] { + if yyq2848[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2840 := z.EncBinary() - _ = yym2840 + yym2866 := z.EncBinary() + _ = yym2866 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr2822 || yy2arr2822 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2822[6] { - yym2842 := z.EncBinary() - _ = yym2842 + if yyq2848[6] { + yym2868 := z.EncBinary() + _ = yym2868 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -35456,19 +35755,19 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2822[6] { + if yyq2848[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2843 := z.EncBinary() - _ = yym2843 + yym2869 := z.EncBinary() + _ = yym2869 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } } - if yyr2822 || yy2arr2822 { + if yyr2848 || yy2arr2848 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35481,25 +35780,25 @@ func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2844 := z.DecBinary() - _ = yym2844 + yym2870 := z.DecBinary() + _ = yym2870 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2845 := r.ContainerType() - if yyct2845 == codecSelferValueTypeMap1234 { - yyl2845 := r.ReadMapStart() - if yyl2845 == 0 { + yyct2871 := r.ContainerType() + if yyct2871 == codecSelferValueTypeMap1234 { + yyl2871 := r.ReadMapStart() + if yyl2871 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2845, d) + x.codecDecodeSelfFromMap(yyl2871, d) } - } else if yyct2845 == codecSelferValueTypeArray1234 { - yyl2845 := r.ReadArrayStart() - if yyl2845 == 0 { + } else if yyct2871 == codecSelferValueTypeArray1234 { + yyl2871 := r.ReadArrayStart() + if yyl2871 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2845, d) + x.codecDecodeSelfFromArray(yyl2871, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35511,12 +35810,12 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2846Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2846Slc - var yyhl2846 bool = l >= 0 - for yyj2846 := 0; ; yyj2846++ { - if yyhl2846 { - if yyj2846 >= l { + var yys2872Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2872Slc + var yyhl2872 bool = l >= 0 + for yyj2872 := 0; ; yyj2872++ { + if yyhl2872 { + if yyj2872 >= l { break } } else { @@ -35525,10 +35824,10 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2846Slc = r.DecodeBytes(yys2846Slc, true, true) - yys2846 := string(yys2846Slc) + yys2872Slc = r.DecodeBytes(yys2872Slc, true, true) + yys2872 := string(yys2872Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2846 { + switch yys2872 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35572,9 +35871,9 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2846) - } // end switch yys2846 - } // end for yyj2846 + z.DecStructFieldNotFound(-1, yys2872) + } // end switch yys2872 + } // end for yyj2872 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35582,16 +35881,16 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2854 int - var yyb2854 bool - var yyhl2854 bool = l >= 0 - yyj2854++ - if yyhl2854 { - yyb2854 = yyj2854 > l + var yyj2880 int + var yyb2880 bool + var yyhl2880 bool = l >= 0 + yyj2880++ + if yyhl2880 { + yyb2880 = yyj2880 > l } else { - yyb2854 = r.CheckBreak() + yyb2880 = r.CheckBreak() } - if yyb2854 { + if yyb2880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35601,13 +35900,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2854++ - if yyhl2854 { - yyb2854 = yyj2854 > l + yyj2880++ + if yyhl2880 { + yyb2880 = yyj2880 > l } else { - yyb2854 = r.CheckBreak() + yyb2880 = r.CheckBreak() } - if yyb2854 { + if yyb2880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35617,13 +35916,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Namespace = string(r.DecodeString()) } - yyj2854++ - if yyhl2854 { - yyb2854 = yyj2854 > l + yyj2880++ + if yyhl2880 { + yyb2880 = yyj2880 > l } else { - yyb2854 = r.CheckBreak() + yyb2880 = r.CheckBreak() } - if yyb2854 { + if yyb2880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35633,13 +35932,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj2854++ - if yyhl2854 { - yyb2854 = yyj2854 > l + yyj2880++ + if yyhl2880 { + yyb2880 = yyj2880 > l } else { - yyb2854 = r.CheckBreak() + yyb2880 = r.CheckBreak() } - if yyb2854 { + if yyb2880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35649,13 +35948,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj2854++ - if yyhl2854 { - yyb2854 = yyj2854 > l + yyj2880++ + if yyhl2880 { + yyb2880 = yyj2880 > l } else { - yyb2854 = r.CheckBreak() + yyb2880 = r.CheckBreak() } - if yyb2854 { + if yyb2880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35665,13 +35964,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2854++ - if yyhl2854 { - yyb2854 = yyj2854 > l + yyj2880++ + if yyhl2880 { + yyb2880 = yyj2880 > l } else { - yyb2854 = r.CheckBreak() + yyb2880 = r.CheckBreak() } - if yyb2854 { + if yyb2880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35681,13 +35980,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ResourceVersion = string(r.DecodeString()) } - yyj2854++ - if yyhl2854 { - yyb2854 = yyj2854 > l + yyj2880++ + if yyhl2880 { + yyb2880 = yyj2880 > l } else { - yyb2854 = r.CheckBreak() + yyb2880 = r.CheckBreak() } - if yyb2854 { + if yyb2880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35698,17 +35997,17 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.FieldPath = string(r.DecodeString()) } for { - yyj2854++ - if yyhl2854 { - yyb2854 = yyj2854 > l + yyj2880++ + if yyhl2880 { + yyb2880 = yyj2880 > l } else { - yyb2854 = r.CheckBreak() + yyb2880 = r.CheckBreak() } - if yyb2854 { + if yyb2880 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2854-1, "") + z.DecStructFieldNotFound(yyj2880-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35720,35 +36019,35 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2862 := z.EncBinary() - _ = yym2862 + yym2888 := z.EncBinary() + _ = yym2888 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2863 := !z.EncBinary() - yy2arr2863 := z.EncBasicHandle().StructToArray - var yyq2863 [1]bool - _, _, _ = yysep2863, yyq2863, yy2arr2863 - const yyr2863 bool = false - yyq2863[0] = x.Name != "" - var yynn2863 int - if yyr2863 || yy2arr2863 { + yysep2889 := !z.EncBinary() + yy2arr2889 := z.EncBasicHandle().StructToArray + var yyq2889 [1]bool + _, _, _ = yysep2889, yyq2889, yy2arr2889 + const yyr2889 bool = false + yyq2889[0] = x.Name != "" + var yynn2889 int + if yyr2889 || yy2arr2889 { r.EncodeArrayStart(1) } else { - yynn2863 = 0 - for _, b := range yyq2863 { + yynn2889 = 0 + for _, b := range yyq2889 { if b { - yynn2863++ + yynn2889++ } } - r.EncodeMapStart(yynn2863) - yynn2863 = 0 + r.EncodeMapStart(yynn2889) + yynn2889 = 0 } - if yyr2863 || yy2arr2863 { + if yyr2889 || yy2arr2889 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2863[0] { - yym2865 := z.EncBinary() - _ = yym2865 + if yyq2889[0] { + yym2891 := z.EncBinary() + _ = yym2891 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -35757,19 +36056,19 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2863[0] { + if yyq2889[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2866 := z.EncBinary() - _ = yym2866 + yym2892 := z.EncBinary() + _ = yym2892 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2863 || yy2arr2863 { + if yyr2889 || yy2arr2889 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35782,25 +36081,25 @@ func (x *LocalObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2867 := z.DecBinary() - _ = yym2867 + yym2893 := z.DecBinary() + _ = yym2893 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2868 := r.ContainerType() - if yyct2868 == codecSelferValueTypeMap1234 { - yyl2868 := r.ReadMapStart() - if yyl2868 == 0 { + yyct2894 := r.ContainerType() + if yyct2894 == codecSelferValueTypeMap1234 { + yyl2894 := r.ReadMapStart() + if yyl2894 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2868, d) + x.codecDecodeSelfFromMap(yyl2894, d) } - } else if yyct2868 == codecSelferValueTypeArray1234 { - yyl2868 := r.ReadArrayStart() - if yyl2868 == 0 { + } else if yyct2894 == codecSelferValueTypeArray1234 { + yyl2894 := r.ReadArrayStart() + if yyl2894 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2868, d) + x.codecDecodeSelfFromArray(yyl2894, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35812,12 +36111,12 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2869Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2869Slc - var yyhl2869 bool = l >= 0 - for yyj2869 := 0; ; yyj2869++ { - if yyhl2869 { - if yyj2869 >= l { + var yys2895Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2895Slc + var yyhl2895 bool = l >= 0 + for yyj2895 := 0; ; yyj2895++ { + if yyhl2895 { + if yyj2895 >= l { break } } else { @@ -35826,10 +36125,10 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2869Slc = r.DecodeBytes(yys2869Slc, true, true) - yys2869 := string(yys2869Slc) + yys2895Slc = r.DecodeBytes(yys2895Slc, true, true) + yys2895 := string(yys2895Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2869 { + switch yys2895 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -35837,9 +36136,9 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2869) - } // end switch yys2869 - } // end for yyj2869 + z.DecStructFieldNotFound(-1, yys2895) + } // end switch yys2895 + } // end for yyj2895 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35847,16 +36146,16 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2871 int - var yyb2871 bool - var yyhl2871 bool = l >= 0 - yyj2871++ - if yyhl2871 { - yyb2871 = yyj2871 > l + var yyj2897 int + var yyb2897 bool + var yyhl2897 bool = l >= 0 + yyj2897++ + if yyhl2897 { + yyb2897 = yyj2897 > l } else { - yyb2871 = r.CheckBreak() + yyb2897 = r.CheckBreak() } - if yyb2871 { + if yyb2897 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35867,17 +36166,17 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Name = string(r.DecodeString()) } for { - yyj2871++ - if yyhl2871 { - yyb2871 = yyj2871 > l + yyj2897++ + if yyhl2897 { + yyb2897 = yyj2897 > l } else { - yyb2871 = r.CheckBreak() + yyb2897 = r.CheckBreak() } - if yyb2871 { + if yyb2897 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2871-1, "") + z.DecStructFieldNotFound(yyj2897-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35889,37 +36188,37 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2873 := z.EncBinary() - _ = yym2873 + yym2899 := z.EncBinary() + _ = yym2899 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2874 := !z.EncBinary() - yy2arr2874 := z.EncBasicHandle().StructToArray - var yyq2874 [3]bool - _, _, _ = yysep2874, yyq2874, yy2arr2874 - const yyr2874 bool = false - yyq2874[0] = x.Kind != "" - yyq2874[1] = x.APIVersion != "" - yyq2874[2] = true - var yynn2874 int - if yyr2874 || yy2arr2874 { + yysep2900 := !z.EncBinary() + yy2arr2900 := z.EncBasicHandle().StructToArray + var yyq2900 [3]bool + _, _, _ = yysep2900, yyq2900, yy2arr2900 + const yyr2900 bool = false + yyq2900[0] = x.Kind != "" + yyq2900[1] = x.APIVersion != "" + yyq2900[2] = true + var yynn2900 int + if yyr2900 || yy2arr2900 { r.EncodeArrayStart(3) } else { - yynn2874 = 0 - for _, b := range yyq2874 { + yynn2900 = 0 + for _, b := range yyq2900 { if b { - yynn2874++ + yynn2900++ } } - r.EncodeMapStart(yynn2874) - yynn2874 = 0 + r.EncodeMapStart(yynn2900) + yynn2900 = 0 } - if yyr2874 || yy2arr2874 { + if yyr2900 || yy2arr2900 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2874[0] { - yym2876 := z.EncBinary() - _ = yym2876 + if yyq2900[0] { + yym2902 := z.EncBinary() + _ = yym2902 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35928,23 +36227,23 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2874[0] { + if yyq2900[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2877 := z.EncBinary() - _ = yym2877 + yym2903 := z.EncBinary() + _ = yym2903 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2874 || yy2arr2874 { + if yyr2900 || yy2arr2900 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2874[1] { - yym2879 := z.EncBinary() - _ = yym2879 + if yyq2900[1] { + yym2905 := z.EncBinary() + _ = yym2905 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -35953,36 +36252,36 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2874[1] { + if yyq2900[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2880 := z.EncBinary() - _ = yym2880 + yym2906 := z.EncBinary() + _ = yym2906 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2874 || yy2arr2874 { + if yyr2900 || yy2arr2900 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2874[2] { - yy2882 := &x.Reference - yy2882.CodecEncodeSelf(e) + if yyq2900[2] { + yy2908 := &x.Reference + yy2908.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2874[2] { + if yyq2900[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2883 := &x.Reference - yy2883.CodecEncodeSelf(e) + yy2909 := &x.Reference + yy2909.CodecEncodeSelf(e) } } - if yyr2874 || yy2arr2874 { + if yyr2900 || yy2arr2900 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35995,25 +36294,25 @@ func (x *SerializedReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2884 := z.DecBinary() - _ = yym2884 + yym2910 := z.DecBinary() + _ = yym2910 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2885 := r.ContainerType() - if yyct2885 == codecSelferValueTypeMap1234 { - yyl2885 := r.ReadMapStart() - if yyl2885 == 0 { + yyct2911 := r.ContainerType() + if yyct2911 == codecSelferValueTypeMap1234 { + yyl2911 := r.ReadMapStart() + if yyl2911 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2885, d) + x.codecDecodeSelfFromMap(yyl2911, d) } - } else if yyct2885 == codecSelferValueTypeArray1234 { - yyl2885 := r.ReadArrayStart() - if yyl2885 == 0 { + } else if yyct2911 == codecSelferValueTypeArray1234 { + yyl2911 := r.ReadArrayStart() + if yyl2911 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2885, d) + x.codecDecodeSelfFromArray(yyl2911, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36025,12 +36324,12 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2886Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2886Slc - var yyhl2886 bool = l >= 0 - for yyj2886 := 0; ; yyj2886++ { - if yyhl2886 { - if yyj2886 >= l { + var yys2912Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2912Slc + var yyhl2912 bool = l >= 0 + for yyj2912 := 0; ; yyj2912++ { + if yyhl2912 { + if yyj2912 >= l { break } } else { @@ -36039,10 +36338,10 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2886Slc = r.DecodeBytes(yys2886Slc, true, true) - yys2886 := string(yys2886Slc) + yys2912Slc = r.DecodeBytes(yys2912Slc, true, true) + yys2912 := string(yys2912Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2886 { + switch yys2912 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -36059,13 +36358,13 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv2889 := &x.Reference - yyv2889.CodecDecodeSelf(d) + yyv2915 := &x.Reference + yyv2915.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2886) - } // end switch yys2886 - } // end for yyj2886 + z.DecStructFieldNotFound(-1, yys2912) + } // end switch yys2912 + } // end for yyj2912 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36073,16 +36372,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2890 int - var yyb2890 bool - var yyhl2890 bool = l >= 0 - yyj2890++ - if yyhl2890 { - yyb2890 = yyj2890 > l + var yyj2916 int + var yyb2916 bool + var yyhl2916 bool = l >= 0 + yyj2916++ + if yyhl2916 { + yyb2916 = yyj2916 > l } else { - yyb2890 = r.CheckBreak() + yyb2916 = r.CheckBreak() } - if yyb2890 { + if yyb2916 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36092,13 +36391,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj2890++ - if yyhl2890 { - yyb2890 = yyj2890 > l + yyj2916++ + if yyhl2916 { + yyb2916 = yyj2916 > l } else { - yyb2890 = r.CheckBreak() + yyb2916 = r.CheckBreak() } - if yyb2890 { + if yyb2916 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36108,13 +36407,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj2890++ - if yyhl2890 { - yyb2890 = yyj2890 > l + yyj2916++ + if yyhl2916 { + yyb2916 = yyj2916 > l } else { - yyb2890 = r.CheckBreak() + yyb2916 = r.CheckBreak() } - if yyb2890 { + if yyb2916 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36122,21 +36421,21 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv2893 := &x.Reference - yyv2893.CodecDecodeSelf(d) + yyv2919 := &x.Reference + yyv2919.CodecDecodeSelf(d) } for { - yyj2890++ - if yyhl2890 { - yyb2890 = yyj2890 > l + yyj2916++ + if yyhl2916 { + yyb2916 = yyj2916 > l } else { - yyb2890 = r.CheckBreak() + yyb2916 = r.CheckBreak() } - if yyb2890 { + if yyb2916 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2890-1, "") + z.DecStructFieldNotFound(yyj2916-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36148,36 +36447,36 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2894 := z.EncBinary() - _ = yym2894 + yym2920 := z.EncBinary() + _ = yym2920 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2895 := !z.EncBinary() - yy2arr2895 := z.EncBasicHandle().StructToArray - var yyq2895 [2]bool - _, _, _ = yysep2895, yyq2895, yy2arr2895 - const yyr2895 bool = false - yyq2895[0] = x.Component != "" - yyq2895[1] = x.Host != "" - var yynn2895 int - if yyr2895 || yy2arr2895 { + yysep2921 := !z.EncBinary() + yy2arr2921 := z.EncBasicHandle().StructToArray + var yyq2921 [2]bool + _, _, _ = yysep2921, yyq2921, yy2arr2921 + const yyr2921 bool = false + yyq2921[0] = x.Component != "" + yyq2921[1] = x.Host != "" + var yynn2921 int + if yyr2921 || yy2arr2921 { r.EncodeArrayStart(2) } else { - yynn2895 = 0 - for _, b := range yyq2895 { + yynn2921 = 0 + for _, b := range yyq2921 { if b { - yynn2895++ + yynn2921++ } } - r.EncodeMapStart(yynn2895) - yynn2895 = 0 + r.EncodeMapStart(yynn2921) + yynn2921 = 0 } - if yyr2895 || yy2arr2895 { + if yyr2921 || yy2arr2921 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2895[0] { - yym2897 := z.EncBinary() - _ = yym2897 + if yyq2921[0] { + yym2923 := z.EncBinary() + _ = yym2923 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) @@ -36186,23 +36485,23 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2895[0] { + if yyq2921[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("component")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2898 := z.EncBinary() - _ = yym2898 + yym2924 := z.EncBinary() + _ = yym2924 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) } } } - if yyr2895 || yy2arr2895 { + if yyr2921 || yy2arr2921 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2895[1] { - yym2900 := z.EncBinary() - _ = yym2900 + if yyq2921[1] { + yym2926 := z.EncBinary() + _ = yym2926 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -36211,19 +36510,19 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2895[1] { + if yyq2921[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2901 := z.EncBinary() - _ = yym2901 + yym2927 := z.EncBinary() + _ = yym2927 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr2895 || yy2arr2895 { + if yyr2921 || yy2arr2921 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36236,25 +36535,25 @@ func (x *EventSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2902 := z.DecBinary() - _ = yym2902 + yym2928 := z.DecBinary() + _ = yym2928 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2903 := r.ContainerType() - if yyct2903 == codecSelferValueTypeMap1234 { - yyl2903 := r.ReadMapStart() - if yyl2903 == 0 { + yyct2929 := r.ContainerType() + if yyct2929 == codecSelferValueTypeMap1234 { + yyl2929 := r.ReadMapStart() + if yyl2929 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2903, d) + x.codecDecodeSelfFromMap(yyl2929, d) } - } else if yyct2903 == codecSelferValueTypeArray1234 { - yyl2903 := r.ReadArrayStart() - if yyl2903 == 0 { + } else if yyct2929 == codecSelferValueTypeArray1234 { + yyl2929 := r.ReadArrayStart() + if yyl2929 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2903, d) + x.codecDecodeSelfFromArray(yyl2929, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36266,12 +36565,12 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2904Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2904Slc - var yyhl2904 bool = l >= 0 - for yyj2904 := 0; ; yyj2904++ { - if yyhl2904 { - if yyj2904 >= l { + var yys2930Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2930Slc + var yyhl2930 bool = l >= 0 + for yyj2930 := 0; ; yyj2930++ { + if yyhl2930 { + if yyj2930 >= l { break } } else { @@ -36280,10 +36579,10 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2904Slc = r.DecodeBytes(yys2904Slc, true, true) - yys2904 := string(yys2904Slc) + yys2930Slc = r.DecodeBytes(yys2930Slc, true, true) + yys2930 := string(yys2930Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2904 { + switch yys2930 { case "component": if r.TryDecodeAsNil() { x.Component = "" @@ -36297,9 +36596,9 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2904) - } // end switch yys2904 - } // end for yyj2904 + z.DecStructFieldNotFound(-1, yys2930) + } // end switch yys2930 + } // end for yyj2930 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36307,16 +36606,16 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2907 int - var yyb2907 bool - var yyhl2907 bool = l >= 0 - yyj2907++ - if yyhl2907 { - yyb2907 = yyj2907 > l + var yyj2933 int + var yyb2933 bool + var yyhl2933 bool = l >= 0 + yyj2933++ + if yyhl2933 { + yyb2933 = yyj2933 > l } else { - yyb2907 = r.CheckBreak() + yyb2933 = r.CheckBreak() } - if yyb2907 { + if yyb2933 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36326,13 +36625,13 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Component = string(r.DecodeString()) } - yyj2907++ - if yyhl2907 { - yyb2907 = yyj2907 > l + yyj2933++ + if yyhl2933 { + yyb2933 = yyj2933 > l } else { - yyb2907 = r.CheckBreak() + yyb2933 = r.CheckBreak() } - if yyb2907 { + if yyb2933 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36343,17 +36642,17 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } for { - yyj2907++ - if yyhl2907 { - yyb2907 = yyj2907 > l + yyj2933++ + if yyhl2933 { + yyb2933 = yyj2933 > l } else { - yyb2907 = r.CheckBreak() + yyb2933 = r.CheckBreak() } - if yyb2907 { + if yyb2933 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2907-1, "") + z.DecStructFieldNotFound(yyj2933-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36365,43 +36664,43 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2910 := z.EncBinary() - _ = yym2910 + yym2936 := z.EncBinary() + _ = yym2936 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2911 := !z.EncBinary() - yy2arr2911 := z.EncBasicHandle().StructToArray - var yyq2911 [11]bool - _, _, _ = yysep2911, yyq2911, yy2arr2911 - const yyr2911 bool = false - yyq2911[0] = x.Kind != "" - yyq2911[1] = x.APIVersion != "" - yyq2911[4] = x.Reason != "" - yyq2911[5] = x.Message != "" - yyq2911[6] = true - yyq2911[7] = true - yyq2911[8] = true - yyq2911[9] = x.Count != 0 - yyq2911[10] = x.Type != "" - var yynn2911 int - if yyr2911 || yy2arr2911 { + yysep2937 := !z.EncBinary() + yy2arr2937 := z.EncBasicHandle().StructToArray + var yyq2937 [11]bool + _, _, _ = yysep2937, yyq2937, yy2arr2937 + const yyr2937 bool = false + yyq2937[0] = x.Kind != "" + yyq2937[1] = x.APIVersion != "" + yyq2937[4] = x.Reason != "" + yyq2937[5] = x.Message != "" + yyq2937[6] = true + yyq2937[7] = true + yyq2937[8] = true + yyq2937[9] = x.Count != 0 + yyq2937[10] = x.Type != "" + var yynn2937 int + if yyr2937 || yy2arr2937 { r.EncodeArrayStart(11) } else { - yynn2911 = 2 - for _, b := range yyq2911 { + yynn2937 = 2 + for _, b := range yyq2937 { if b { - yynn2911++ + yynn2937++ } } - r.EncodeMapStart(yynn2911) - yynn2911 = 0 + r.EncodeMapStart(yynn2937) + yynn2937 = 0 } - if yyr2911 || yy2arr2911 { + if yyr2937 || yy2arr2937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2911[0] { - yym2913 := z.EncBinary() - _ = yym2913 + if yyq2937[0] { + yym2939 := z.EncBinary() + _ = yym2939 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36410,23 +36709,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2911[0] { + if yyq2937[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2914 := z.EncBinary() - _ = yym2914 + yym2940 := z.EncBinary() + _ = yym2940 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2911 || yy2arr2911 { + if yyr2937 || yy2arr2937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2911[1] { - yym2916 := z.EncBinary() - _ = yym2916 + if yyq2937[1] { + yym2942 := z.EncBinary() + _ = yym2942 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36435,45 +36734,45 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2911[1] { + if yyq2937[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2917 := z.EncBinary() - _ = yym2917 + yym2943 := z.EncBinary() + _ = yym2943 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2911 || yy2arr2911 { + if yyr2937 || yy2arr2937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2919 := &x.ObjectMeta - yy2919.CodecEncodeSelf(e) + yy2945 := &x.ObjectMeta + yy2945.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2920 := &x.ObjectMeta - yy2920.CodecEncodeSelf(e) + yy2946 := &x.ObjectMeta + yy2946.CodecEncodeSelf(e) } - if yyr2911 || yy2arr2911 { + if yyr2937 || yy2arr2937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2922 := &x.InvolvedObject - yy2922.CodecEncodeSelf(e) + yy2948 := &x.InvolvedObject + yy2948.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2923 := &x.InvolvedObject - yy2923.CodecEncodeSelf(e) + yy2949 := &x.InvolvedObject + yy2949.CodecEncodeSelf(e) } - if yyr2911 || yy2arr2911 { + if yyr2937 || yy2arr2937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2911[4] { - yym2925 := z.EncBinary() - _ = yym2925 + if yyq2937[4] { + yym2951 := z.EncBinary() + _ = yym2951 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -36482,23 +36781,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2911[4] { + if yyq2937[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2926 := z.EncBinary() - _ = yym2926 + yym2952 := z.EncBinary() + _ = yym2952 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2911 || yy2arr2911 { + if yyr2937 || yy2arr2937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2911[5] { - yym2928 := z.EncBinary() - _ = yym2928 + if yyq2937[5] { + yym2954 := z.EncBinary() + _ = yym2954 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -36507,114 +36806,114 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2911[5] { + if yyq2937[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2929 := z.EncBinary() - _ = yym2929 + yym2955 := z.EncBinary() + _ = yym2955 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2911 || yy2arr2911 { + if yyr2937 || yy2arr2937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2911[6] { - yy2931 := &x.Source - yy2931.CodecEncodeSelf(e) + if yyq2937[6] { + yy2957 := &x.Source + yy2957.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2911[6] { + if yyq2937[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("source")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2932 := &x.Source - yy2932.CodecEncodeSelf(e) + yy2958 := &x.Source + yy2958.CodecEncodeSelf(e) } } - if yyr2911 || yy2arr2911 { + if yyr2937 || yy2arr2937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2911[7] { - yy2934 := &x.FirstTimestamp - yym2935 := z.EncBinary() - _ = yym2935 + if yyq2937[7] { + yy2960 := &x.FirstTimestamp + yym2961 := z.EncBinary() + _ = yym2961 if false { - } else if z.HasExtensions() && z.EncExt(yy2934) { - } else if yym2935 { - z.EncBinaryMarshal(yy2934) - } else if !yym2935 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2934) + } else if z.HasExtensions() && z.EncExt(yy2960) { + } else if yym2961 { + z.EncBinaryMarshal(yy2960) + } else if !yym2961 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2960) } else { - z.EncFallback(yy2934) + z.EncFallback(yy2960) } } else { r.EncodeNil() } } else { - if yyq2911[7] { + if yyq2937[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2936 := &x.FirstTimestamp - yym2937 := z.EncBinary() - _ = yym2937 + yy2962 := &x.FirstTimestamp + yym2963 := z.EncBinary() + _ = yym2963 if false { - } else if z.HasExtensions() && z.EncExt(yy2936) { - } else if yym2937 { - z.EncBinaryMarshal(yy2936) - } else if !yym2937 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2936) + } else if z.HasExtensions() && z.EncExt(yy2962) { + } else if yym2963 { + z.EncBinaryMarshal(yy2962) + } else if !yym2963 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2962) } else { - z.EncFallback(yy2936) + z.EncFallback(yy2962) } } } - if yyr2911 || yy2arr2911 { + if yyr2937 || yy2arr2937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2911[8] { - yy2939 := &x.LastTimestamp - yym2940 := z.EncBinary() - _ = yym2940 + if yyq2937[8] { + yy2965 := &x.LastTimestamp + yym2966 := z.EncBinary() + _ = yym2966 if false { - } else if z.HasExtensions() && z.EncExt(yy2939) { - } else if yym2940 { - z.EncBinaryMarshal(yy2939) - } else if !yym2940 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2939) + } else if z.HasExtensions() && z.EncExt(yy2965) { + } else if yym2966 { + z.EncBinaryMarshal(yy2965) + } else if !yym2966 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2965) } else { - z.EncFallback(yy2939) + z.EncFallback(yy2965) } } else { r.EncodeNil() } } else { - if yyq2911[8] { + if yyq2937[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2941 := &x.LastTimestamp - yym2942 := z.EncBinary() - _ = yym2942 + yy2967 := &x.LastTimestamp + yym2968 := z.EncBinary() + _ = yym2968 if false { - } else if z.HasExtensions() && z.EncExt(yy2941) { - } else if yym2942 { - z.EncBinaryMarshal(yy2941) - } else if !yym2942 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2941) + } else if z.HasExtensions() && z.EncExt(yy2967) { + } else if yym2968 { + z.EncBinaryMarshal(yy2967) + } else if !yym2968 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2967) } else { - z.EncFallback(yy2941) + z.EncFallback(yy2967) } } } - if yyr2911 || yy2arr2911 { + if yyr2937 || yy2arr2937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2911[9] { - yym2944 := z.EncBinary() - _ = yym2944 + if yyq2937[9] { + yym2970 := z.EncBinary() + _ = yym2970 if false { } else { r.EncodeInt(int64(x.Count)) @@ -36623,23 +36922,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2911[9] { + if yyq2937[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("count")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2945 := z.EncBinary() - _ = yym2945 + yym2971 := z.EncBinary() + _ = yym2971 if false { } else { r.EncodeInt(int64(x.Count)) } } } - if yyr2911 || yy2arr2911 { + if yyr2937 || yy2arr2937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2911[10] { - yym2947 := z.EncBinary() - _ = yym2947 + if yyq2937[10] { + yym2973 := z.EncBinary() + _ = yym2973 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -36648,19 +36947,19 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2911[10] { + if yyq2937[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2948 := z.EncBinary() - _ = yym2948 + yym2974 := z.EncBinary() + _ = yym2974 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr2911 || yy2arr2911 { + if yyr2937 || yy2arr2937 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36673,25 +36972,25 @@ func (x *Event) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2949 := z.DecBinary() - _ = yym2949 + yym2975 := z.DecBinary() + _ = yym2975 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2950 := r.ContainerType() - if yyct2950 == codecSelferValueTypeMap1234 { - yyl2950 := r.ReadMapStart() - if yyl2950 == 0 { + yyct2976 := r.ContainerType() + if yyct2976 == codecSelferValueTypeMap1234 { + yyl2976 := r.ReadMapStart() + if yyl2976 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2950, d) + x.codecDecodeSelfFromMap(yyl2976, d) } - } else if yyct2950 == codecSelferValueTypeArray1234 { - yyl2950 := r.ReadArrayStart() - if yyl2950 == 0 { + } else if yyct2976 == codecSelferValueTypeArray1234 { + yyl2976 := r.ReadArrayStart() + if yyl2976 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2950, d) + x.codecDecodeSelfFromArray(yyl2976, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36703,12 +37002,12 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2951Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2951Slc - var yyhl2951 bool = l >= 0 - for yyj2951 := 0; ; yyj2951++ { - if yyhl2951 { - if yyj2951 >= l { + var yys2977Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2977Slc + var yyhl2977 bool = l >= 0 + for yyj2977 := 0; ; yyj2977++ { + if yyhl2977 { + if yyj2977 >= l { break } } else { @@ -36717,10 +37016,10 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2951Slc = r.DecodeBytes(yys2951Slc, true, true) - yys2951 := string(yys2951Slc) + yys2977Slc = r.DecodeBytes(yys2977Slc, true, true) + yys2977 := string(yys2977Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2951 { + switch yys2977 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -36737,15 +37036,15 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2954 := &x.ObjectMeta - yyv2954.CodecDecodeSelf(d) + yyv2980 := &x.ObjectMeta + yyv2980.CodecDecodeSelf(d) } case "involvedObject": if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv2955 := &x.InvolvedObject - yyv2955.CodecDecodeSelf(d) + yyv2981 := &x.InvolvedObject + yyv2981.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { @@ -36763,41 +37062,41 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv2958 := &x.Source - yyv2958.CodecDecodeSelf(d) + yyv2984 := &x.Source + yyv2984.CodecDecodeSelf(d) } case "firstTimestamp": if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv2959 := &x.FirstTimestamp - yym2960 := z.DecBinary() - _ = yym2960 + yyv2985 := &x.FirstTimestamp + yym2986 := z.DecBinary() + _ = yym2986 if false { - } else if z.HasExtensions() && z.DecExt(yyv2959) { - } else if yym2960 { - z.DecBinaryUnmarshal(yyv2959) - } else if !yym2960 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2959) + } else if z.HasExtensions() && z.DecExt(yyv2985) { + } else if yym2986 { + z.DecBinaryUnmarshal(yyv2985) + } else if !yym2986 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2985) } else { - z.DecFallback(yyv2959, false) + z.DecFallback(yyv2985, false) } } case "lastTimestamp": if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv2961 := &x.LastTimestamp - yym2962 := z.DecBinary() - _ = yym2962 + yyv2987 := &x.LastTimestamp + yym2988 := z.DecBinary() + _ = yym2988 if false { - } else if z.HasExtensions() && z.DecExt(yyv2961) { - } else if yym2962 { - z.DecBinaryUnmarshal(yyv2961) - } else if !yym2962 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2961) + } else if z.HasExtensions() && z.DecExt(yyv2987) { + } else if yym2988 { + z.DecBinaryUnmarshal(yyv2987) + } else if !yym2988 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2987) } else { - z.DecFallback(yyv2961, false) + z.DecFallback(yyv2987, false) } } case "count": @@ -36813,9 +37112,9 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2951) - } // end switch yys2951 - } // end for yyj2951 + z.DecStructFieldNotFound(-1, yys2977) + } // end switch yys2977 + } // end for yyj2977 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36823,16 +37122,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2965 int - var yyb2965 bool - var yyhl2965 bool = l >= 0 - yyj2965++ - if yyhl2965 { - yyb2965 = yyj2965 > l + var yyj2991 int + var yyb2991 bool + var yyhl2991 bool = l >= 0 + yyj2991++ + if yyhl2991 { + yyb2991 = yyj2991 > l } else { - yyb2965 = r.CheckBreak() + yyb2991 = r.CheckBreak() } - if yyb2965 { + if yyb2991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36842,13 +37141,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2965++ - if yyhl2965 { - yyb2965 = yyj2965 > l + yyj2991++ + if yyhl2991 { + yyb2991 = yyj2991 > l } else { - yyb2965 = r.CheckBreak() + yyb2991 = r.CheckBreak() } - if yyb2965 { + if yyb2991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36858,13 +37157,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2965++ - if yyhl2965 { - yyb2965 = yyj2965 > l + yyj2991++ + if yyhl2991 { + yyb2991 = yyj2991 > l } else { - yyb2965 = r.CheckBreak() + yyb2991 = r.CheckBreak() } - if yyb2965 { + if yyb2991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36872,16 +37171,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2968 := &x.ObjectMeta - yyv2968.CodecDecodeSelf(d) + yyv2994 := &x.ObjectMeta + yyv2994.CodecDecodeSelf(d) } - yyj2965++ - if yyhl2965 { - yyb2965 = yyj2965 > l + yyj2991++ + if yyhl2991 { + yyb2991 = yyj2991 > l } else { - yyb2965 = r.CheckBreak() + yyb2991 = r.CheckBreak() } - if yyb2965 { + if yyb2991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36889,16 +37188,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv2969 := &x.InvolvedObject - yyv2969.CodecDecodeSelf(d) + yyv2995 := &x.InvolvedObject + yyv2995.CodecDecodeSelf(d) } - yyj2965++ - if yyhl2965 { - yyb2965 = yyj2965 > l + yyj2991++ + if yyhl2991 { + yyb2991 = yyj2991 > l } else { - yyb2965 = r.CheckBreak() + yyb2991 = r.CheckBreak() } - if yyb2965 { + if yyb2991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36908,13 +37207,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj2965++ - if yyhl2965 { - yyb2965 = yyj2965 > l + yyj2991++ + if yyhl2991 { + yyb2991 = yyj2991 > l } else { - yyb2965 = r.CheckBreak() + yyb2991 = r.CheckBreak() } - if yyb2965 { + if yyb2991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36924,13 +37223,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj2965++ - if yyhl2965 { - yyb2965 = yyj2965 > l + yyj2991++ + if yyhl2991 { + yyb2991 = yyj2991 > l } else { - yyb2965 = r.CheckBreak() + yyb2991 = r.CheckBreak() } - if yyb2965 { + if yyb2991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36938,16 +37237,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv2972 := &x.Source - yyv2972.CodecDecodeSelf(d) + yyv2998 := &x.Source + yyv2998.CodecDecodeSelf(d) } - yyj2965++ - if yyhl2965 { - yyb2965 = yyj2965 > l + yyj2991++ + if yyhl2991 { + yyb2991 = yyj2991 > l } else { - yyb2965 = r.CheckBreak() + yyb2991 = r.CheckBreak() } - if yyb2965 { + if yyb2991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36955,26 +37254,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv2973 := &x.FirstTimestamp - yym2974 := z.DecBinary() - _ = yym2974 + yyv2999 := &x.FirstTimestamp + yym3000 := z.DecBinary() + _ = yym3000 if false { - } else if z.HasExtensions() && z.DecExt(yyv2973) { - } else if yym2974 { - z.DecBinaryUnmarshal(yyv2973) - } else if !yym2974 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2973) + } else if z.HasExtensions() && z.DecExt(yyv2999) { + } else if yym3000 { + z.DecBinaryUnmarshal(yyv2999) + } else if !yym3000 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2999) } else { - z.DecFallback(yyv2973, false) + z.DecFallback(yyv2999, false) } } - yyj2965++ - if yyhl2965 { - yyb2965 = yyj2965 > l + yyj2991++ + if yyhl2991 { + yyb2991 = yyj2991 > l } else { - yyb2965 = r.CheckBreak() + yyb2991 = r.CheckBreak() } - if yyb2965 { + if yyb2991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36982,26 +37281,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv2975 := &x.LastTimestamp - yym2976 := z.DecBinary() - _ = yym2976 + yyv3001 := &x.LastTimestamp + yym3002 := z.DecBinary() + _ = yym3002 if false { - } else if z.HasExtensions() && z.DecExt(yyv2975) { - } else if yym2976 { - z.DecBinaryUnmarshal(yyv2975) - } else if !yym2976 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2975) + } else if z.HasExtensions() && z.DecExt(yyv3001) { + } else if yym3002 { + z.DecBinaryUnmarshal(yyv3001) + } else if !yym3002 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3001) } else { - z.DecFallback(yyv2975, false) + z.DecFallback(yyv3001, false) } } - yyj2965++ - if yyhl2965 { - yyb2965 = yyj2965 > l + yyj2991++ + if yyhl2991 { + yyb2991 = yyj2991 > l } else { - yyb2965 = r.CheckBreak() + yyb2991 = r.CheckBreak() } - if yyb2965 { + if yyb2991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37011,13 +37310,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Count = int32(r.DecodeInt(32)) } - yyj2965++ - if yyhl2965 { - yyb2965 = yyj2965 > l + yyj2991++ + if yyhl2991 { + yyb2991 = yyj2991 > l } else { - yyb2965 = r.CheckBreak() + yyb2991 = r.CheckBreak() } - if yyb2965 { + if yyb2991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37028,17 +37327,17 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } for { - yyj2965++ - if yyhl2965 { - yyb2965 = yyj2965 > l + yyj2991++ + if yyhl2991 { + yyb2991 = yyj2991 > l } else { - yyb2965 = r.CheckBreak() + yyb2991 = r.CheckBreak() } - if yyb2965 { + if yyb2991 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2965-1, "") + z.DecStructFieldNotFound(yyj2991-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37050,37 +37349,37 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2979 := z.EncBinary() - _ = yym2979 + yym3005 := z.EncBinary() + _ = yym3005 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2980 := !z.EncBinary() - yy2arr2980 := z.EncBasicHandle().StructToArray - var yyq2980 [4]bool - _, _, _ = yysep2980, yyq2980, yy2arr2980 - const yyr2980 bool = false - yyq2980[0] = x.Kind != "" - yyq2980[1] = x.APIVersion != "" - yyq2980[2] = true - var yynn2980 int - if yyr2980 || yy2arr2980 { + yysep3006 := !z.EncBinary() + yy2arr3006 := z.EncBasicHandle().StructToArray + var yyq3006 [4]bool + _, _, _ = yysep3006, yyq3006, yy2arr3006 + const yyr3006 bool = false + yyq3006[0] = x.Kind != "" + yyq3006[1] = x.APIVersion != "" + yyq3006[2] = true + var yynn3006 int + if yyr3006 || yy2arr3006 { r.EncodeArrayStart(4) } else { - yynn2980 = 1 - for _, b := range yyq2980 { + yynn3006 = 1 + for _, b := range yyq3006 { if b { - yynn2980++ + yynn3006++ } } - r.EncodeMapStart(yynn2980) - yynn2980 = 0 + r.EncodeMapStart(yynn3006) + yynn3006 = 0 } - if yyr2980 || yy2arr2980 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2980[0] { - yym2982 := z.EncBinary() - _ = yym2982 + if yyq3006[0] { + yym3008 := z.EncBinary() + _ = yym3008 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37089,23 +37388,23 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2980[0] { + if yyq3006[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2983 := z.EncBinary() - _ = yym2983 + yym3009 := z.EncBinary() + _ = yym3009 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2980 || yy2arr2980 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2980[1] { - yym2985 := z.EncBinary() - _ = yym2985 + if yyq3006[1] { + yym3011 := z.EncBinary() + _ = yym3011 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37114,54 +37413,54 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2980[1] { + if yyq3006[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2986 := z.EncBinary() - _ = yym2986 + yym3012 := z.EncBinary() + _ = yym3012 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2980 || yy2arr2980 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2980[2] { - yy2988 := &x.ListMeta - yym2989 := z.EncBinary() - _ = yym2989 + if yyq3006[2] { + yy3014 := &x.ListMeta + yym3015 := z.EncBinary() + _ = yym3015 if false { - } else if z.HasExtensions() && z.EncExt(yy2988) { + } else if z.HasExtensions() && z.EncExt(yy3014) { } else { - z.EncFallback(yy2988) + z.EncFallback(yy3014) } } else { r.EncodeNil() } } else { - if yyq2980[2] { + if yyq3006[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2990 := &x.ListMeta - yym2991 := z.EncBinary() - _ = yym2991 + yy3016 := &x.ListMeta + yym3017 := z.EncBinary() + _ = yym3017 if false { - } else if z.HasExtensions() && z.EncExt(yy2990) { + } else if z.HasExtensions() && z.EncExt(yy3016) { } else { - z.EncFallback(yy2990) + z.EncFallback(yy3016) } } } - if yyr2980 || yy2arr2980 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2993 := z.EncBinary() - _ = yym2993 + yym3019 := z.EncBinary() + _ = yym3019 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) @@ -37174,15 +37473,15 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2994 := z.EncBinary() - _ = yym2994 + yym3020 := z.EncBinary() + _ = yym3020 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) } } } - if yyr2980 || yy2arr2980 { + if yyr3006 || yy2arr3006 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37195,25 +37494,25 @@ func (x *EventList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2995 := z.DecBinary() - _ = yym2995 + yym3021 := z.DecBinary() + _ = yym3021 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2996 := r.ContainerType() - if yyct2996 == codecSelferValueTypeMap1234 { - yyl2996 := r.ReadMapStart() - if yyl2996 == 0 { + yyct3022 := r.ContainerType() + if yyct3022 == codecSelferValueTypeMap1234 { + yyl3022 := r.ReadMapStart() + if yyl3022 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2996, d) + x.codecDecodeSelfFromMap(yyl3022, d) } - } else if yyct2996 == codecSelferValueTypeArray1234 { - yyl2996 := r.ReadArrayStart() - if yyl2996 == 0 { + } else if yyct3022 == codecSelferValueTypeArray1234 { + yyl3022 := r.ReadArrayStart() + if yyl3022 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2996, d) + x.codecDecodeSelfFromArray(yyl3022, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37225,12 +37524,12 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2997Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2997Slc - var yyhl2997 bool = l >= 0 - for yyj2997 := 0; ; yyj2997++ { - if yyhl2997 { - if yyj2997 >= l { + var yys3023Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3023Slc + var yyhl3023 bool = l >= 0 + for yyj3023 := 0; ; yyj3023++ { + if yyhl3023 { + if yyj3023 >= l { break } } else { @@ -37239,10 +37538,10 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2997Slc = r.DecodeBytes(yys2997Slc, true, true) - yys2997 := string(yys2997Slc) + yys3023Slc = r.DecodeBytes(yys3023Slc, true, true) + yys3023 := string(yys3023Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2997 { + switch yys3023 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -37259,31 +37558,31 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3000 := &x.ListMeta - yym3001 := z.DecBinary() - _ = yym3001 + yyv3026 := &x.ListMeta + yym3027 := z.DecBinary() + _ = yym3027 if false { - } else if z.HasExtensions() && z.DecExt(yyv3000) { + } else if z.HasExtensions() && z.DecExt(yyv3026) { } else { - z.DecFallback(yyv3000, false) + z.DecFallback(yyv3026, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3002 := &x.Items - yym3003 := z.DecBinary() - _ = yym3003 + yyv3028 := &x.Items + yym3029 := z.DecBinary() + _ = yym3029 if false { } else { - h.decSliceEvent((*[]Event)(yyv3002), d) + h.decSliceEvent((*[]Event)(yyv3028), d) } } default: - z.DecStructFieldNotFound(-1, yys2997) - } // end switch yys2997 - } // end for yyj2997 + z.DecStructFieldNotFound(-1, yys3023) + } // end switch yys3023 + } // end for yyj3023 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37291,16 +37590,16 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3004 int - var yyb3004 bool - var yyhl3004 bool = l >= 0 - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + var yyj3030 int + var yyb3030 bool + var yyhl3030 bool = l >= 0 + yyj3030++ + if yyhl3030 { + yyb3030 = yyj3030 > l } else { - yyb3004 = r.CheckBreak() + yyb3030 = r.CheckBreak() } - if yyb3004 { + if yyb3030 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37310,13 +37609,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3030++ + if yyhl3030 { + yyb3030 = yyj3030 > l } else { - yyb3004 = r.CheckBreak() + yyb3030 = r.CheckBreak() } - if yyb3004 { + if yyb3030 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37326,13 +37625,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3030++ + if yyhl3030 { + yyb3030 = yyj3030 > l } else { - yyb3004 = r.CheckBreak() + yyb3030 = r.CheckBreak() } - if yyb3004 { + if yyb3030 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37340,22 +37639,22 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3007 := &x.ListMeta - yym3008 := z.DecBinary() - _ = yym3008 + yyv3033 := &x.ListMeta + yym3034 := z.DecBinary() + _ = yym3034 if false { - } else if z.HasExtensions() && z.DecExt(yyv3007) { + } else if z.HasExtensions() && z.DecExt(yyv3033) { } else { - z.DecFallback(yyv3007, false) + z.DecFallback(yyv3033, false) } } - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3030++ + if yyhl3030 { + yyb3030 = yyj3030 > l } else { - yyb3004 = r.CheckBreak() + yyb3030 = r.CheckBreak() } - if yyb3004 { + if yyb3030 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37363,26 +37662,26 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3009 := &x.Items - yym3010 := z.DecBinary() - _ = yym3010 + yyv3035 := &x.Items + yym3036 := z.DecBinary() + _ = yym3036 if false { } else { - h.decSliceEvent((*[]Event)(yyv3009), d) + h.decSliceEvent((*[]Event)(yyv3035), d) } } for { - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3030++ + if yyhl3030 { + yyb3030 = yyj3030 > l } else { - yyb3004 = r.CheckBreak() + yyb3030 = r.CheckBreak() } - if yyb3004 { + if yyb3030 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3004-1, "") + z.DecStructFieldNotFound(yyj3030-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37394,37 +37693,37 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3011 := z.EncBinary() - _ = yym3011 + yym3037 := z.EncBinary() + _ = yym3037 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3012 := !z.EncBinary() - yy2arr3012 := z.EncBasicHandle().StructToArray - var yyq3012 [4]bool - _, _, _ = yysep3012, yyq3012, yy2arr3012 - const yyr3012 bool = false - yyq3012[0] = x.Kind != "" - yyq3012[1] = x.APIVersion != "" - yyq3012[2] = true - var yynn3012 int - if yyr3012 || yy2arr3012 { + yysep3038 := !z.EncBinary() + yy2arr3038 := z.EncBasicHandle().StructToArray + var yyq3038 [4]bool + _, _, _ = yysep3038, yyq3038, yy2arr3038 + const yyr3038 bool = false + yyq3038[0] = x.Kind != "" + yyq3038[1] = x.APIVersion != "" + yyq3038[2] = true + var yynn3038 int + if yyr3038 || yy2arr3038 { r.EncodeArrayStart(4) } else { - yynn3012 = 1 - for _, b := range yyq3012 { + yynn3038 = 1 + for _, b := range yyq3038 { if b { - yynn3012++ + yynn3038++ } } - r.EncodeMapStart(yynn3012) - yynn3012 = 0 + r.EncodeMapStart(yynn3038) + yynn3038 = 0 } - if yyr3012 || yy2arr3012 { + if yyr3038 || yy2arr3038 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3012[0] { - yym3014 := z.EncBinary() - _ = yym3014 + if yyq3038[0] { + yym3040 := z.EncBinary() + _ = yym3040 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37433,23 +37732,23 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3012[0] { + if yyq3038[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3015 := z.EncBinary() - _ = yym3015 + yym3041 := z.EncBinary() + _ = yym3041 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3012 || yy2arr3012 { + if yyr3038 || yy2arr3038 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3012[1] { - yym3017 := z.EncBinary() - _ = yym3017 + if yyq3038[1] { + yym3043 := z.EncBinary() + _ = yym3043 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37458,54 +37757,54 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3012[1] { + if yyq3038[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3018 := z.EncBinary() - _ = yym3018 + yym3044 := z.EncBinary() + _ = yym3044 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3012 || yy2arr3012 { + if yyr3038 || yy2arr3038 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3012[2] { - yy3020 := &x.ListMeta - yym3021 := z.EncBinary() - _ = yym3021 + if yyq3038[2] { + yy3046 := &x.ListMeta + yym3047 := z.EncBinary() + _ = yym3047 if false { - } else if z.HasExtensions() && z.EncExt(yy3020) { + } else if z.HasExtensions() && z.EncExt(yy3046) { } else { - z.EncFallback(yy3020) + z.EncFallback(yy3046) } } else { r.EncodeNil() } } else { - if yyq3012[2] { + if yyq3038[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3022 := &x.ListMeta - yym3023 := z.EncBinary() - _ = yym3023 + yy3048 := &x.ListMeta + yym3049 := z.EncBinary() + _ = yym3049 if false { - } else if z.HasExtensions() && z.EncExt(yy3022) { + } else if z.HasExtensions() && z.EncExt(yy3048) { } else { - z.EncFallback(yy3022) + z.EncFallback(yy3048) } } } - if yyr3012 || yy2arr3012 { + if yyr3038 || yy2arr3038 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3025 := z.EncBinary() - _ = yym3025 + yym3051 := z.EncBinary() + _ = yym3051 if false { } else { h.encSliceruntime_RawExtension(([]pkg6_runtime.RawExtension)(x.Items), e) @@ -37518,15 +37817,15 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3026 := z.EncBinary() - _ = yym3026 + yym3052 := z.EncBinary() + _ = yym3052 if false { } else { h.encSliceruntime_RawExtension(([]pkg6_runtime.RawExtension)(x.Items), e) } } } - if yyr3012 || yy2arr3012 { + if yyr3038 || yy2arr3038 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37536,403 +37835,6 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *List) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3027 := z.DecBinary() - _ = yym3027 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3028 := r.ContainerType() - if yyct3028 == codecSelferValueTypeMap1234 { - yyl3028 := r.ReadMapStart() - if yyl3028 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3028, d) - } - } else if yyct3028 == codecSelferValueTypeArray1234 { - yyl3028 := r.ReadArrayStart() - if yyl3028 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3028, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3029Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3029Slc - var yyhl3029 bool = l >= 0 - for yyj3029 := 0; ; yyj3029++ { - if yyhl3029 { - if yyj3029 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3029Slc = r.DecodeBytes(yys3029Slc, true, true) - yys3029 := string(yys3029Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3029 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3032 := &x.ListMeta - yym3033 := z.DecBinary() - _ = yym3033 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3032) { - } else { - z.DecFallback(yyv3032, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3034 := &x.Items - yym3035 := z.DecBinary() - _ = yym3035 - if false { - } else { - h.decSliceruntime_RawExtension((*[]pkg6_runtime.RawExtension)(yyv3034), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys3029) - } // end switch yys3029 - } // end for yyj3029 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3036 int - var yyb3036 bool - var yyhl3036 bool = l >= 0 - yyj3036++ - if yyhl3036 { - yyb3036 = yyj3036 > l - } else { - yyb3036 = r.CheckBreak() - } - if yyb3036 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3036++ - if yyhl3036 { - yyb3036 = yyj3036 > l - } else { - yyb3036 = r.CheckBreak() - } - if yyb3036 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3036++ - if yyhl3036 { - yyb3036 = yyj3036 > l - } else { - yyb3036 = r.CheckBreak() - } - if yyb3036 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3039 := &x.ListMeta - yym3040 := z.DecBinary() - _ = yym3040 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3039) { - } else { - z.DecFallback(yyv3039, false) - } - } - yyj3036++ - if yyhl3036 { - yyb3036 = yyj3036 > l - } else { - yyb3036 = r.CheckBreak() - } - if yyb3036 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3041 := &x.Items - yym3042 := z.DecBinary() - _ = yym3042 - if false { - } else { - h.decSliceruntime_RawExtension((*[]pkg6_runtime.RawExtension)(yyv3041), d) - } - } - for { - yyj3036++ - if yyhl3036 { - yyb3036 = yyj3036 > l - } else { - yyb3036 = r.CheckBreak() - } - if yyb3036 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3036-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3043 := z.EncBinary() - _ = yym3043 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3044 := z.DecBinary() - _ = yym3044 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3045 := z.EncBinary() - _ = yym3045 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3046 := !z.EncBinary() - yy2arr3046 := z.EncBasicHandle().StructToArray - var yyq3046 [6]bool - _, _, _ = yysep3046, yyq3046, yy2arr3046 - const yyr3046 bool = false - yyq3046[0] = x.Type != "" - yyq3046[1] = len(x.Max) != 0 - yyq3046[2] = len(x.Min) != 0 - yyq3046[3] = len(x.Default) != 0 - yyq3046[4] = len(x.DefaultRequest) != 0 - yyq3046[5] = len(x.MaxLimitRequestRatio) != 0 - var yynn3046 int - if yyr3046 || yy2arr3046 { - r.EncodeArrayStart(6) - } else { - yynn3046 = 0 - for _, b := range yyq3046 { - if b { - yynn3046++ - } - } - r.EncodeMapStart(yynn3046) - yynn3046 = 0 - } - if yyr3046 || yy2arr3046 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3046[0] { - x.Type.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3046[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("type")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Type.CodecEncodeSelf(e) - } - } - if yyr3046 || yy2arr3046 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3046[1] { - if x.Max == nil { - r.EncodeNil() - } else { - x.Max.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3046[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("max")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Max == nil { - r.EncodeNil() - } else { - x.Max.CodecEncodeSelf(e) - } - } - } - if yyr3046 || yy2arr3046 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3046[2] { - if x.Min == nil { - r.EncodeNil() - } else { - x.Min.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3046[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("min")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Min == nil { - r.EncodeNil() - } else { - x.Min.CodecEncodeSelf(e) - } - } - } - if yyr3046 || yy2arr3046 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3046[3] { - if x.Default == nil { - r.EncodeNil() - } else { - x.Default.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3046[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("default")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Default == nil { - r.EncodeNil() - } else { - x.Default.CodecEncodeSelf(e) - } - } - } - if yyr3046 || yy2arr3046 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3046[4] { - if x.DefaultRequest == nil { - r.EncodeNil() - } else { - x.DefaultRequest.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3046[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.DefaultRequest == nil { - r.EncodeNil() - } else { - x.DefaultRequest.CodecEncodeSelf(e) - } - } - } - if yyr3046 || yy2arr3046 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3046[5] { - if x.MaxLimitRequestRatio == nil { - r.EncodeNil() - } else { - x.MaxLimitRequestRatio.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq3046[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.MaxLimitRequestRatio == nil { - r.EncodeNil() - } else { - x.MaxLimitRequestRatio.CodecEncodeSelf(e) - } - } - } - if yyr3046 || yy2arr3046 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -37962,7 +37864,7 @@ func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -37984,46 +37886,42 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys3055 := string(yys3055Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys3055 { - case "type": + case "kind": if r.TryDecodeAsNil() { - x.Type = "" + x.Kind = "" } else { - x.Type = LimitType(r.DecodeString()) + x.Kind = string(r.DecodeString()) } - case "max": + case "apiVersion": if r.TryDecodeAsNil() { - x.Max = nil + x.APIVersion = "" } else { - yyv3057 := &x.Max - yyv3057.CodecDecodeSelf(d) + x.APIVersion = string(r.DecodeString()) } - case "min": + case "metadata": if r.TryDecodeAsNil() { - x.Min = nil + x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3058 := &x.Min - yyv3058.CodecDecodeSelf(d) + yyv3058 := &x.ListMeta + yym3059 := z.DecBinary() + _ = yym3059 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3058) { + } else { + z.DecFallback(yyv3058, false) + } } - case "default": + case "items": if r.TryDecodeAsNil() { - x.Default = nil + x.Items = nil } else { - yyv3059 := &x.Default - yyv3059.CodecDecodeSelf(d) - } - case "defaultRequest": - if r.TryDecodeAsNil() { - x.DefaultRequest = nil - } else { - yyv3060 := &x.DefaultRequest - yyv3060.CodecDecodeSelf(d) - } - case "maxLimitRequestRatio": - if r.TryDecodeAsNil() { - x.MaxLimitRequestRatio = nil - } else { - yyv3061 := &x.MaxLimitRequestRatio - yyv3061.CodecDecodeSelf(d) + yyv3060 := &x.Items + yym3061 := z.DecBinary() + _ = yym3061 + if false { + } else { + h.decSliceruntime_RawExtension((*[]pkg6_runtime.RawExtension)(yyv3060), d) + } } default: z.DecStructFieldNotFound(-1, yys3055) @@ -38032,7 +37930,7 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -38051,9 +37949,9 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Type = "" + x.Kind = "" } else { - x.Type = LimitType(r.DecodeString()) + x.Kind = string(r.DecodeString()) } yyj3062++ if yyhl3062 { @@ -38067,10 +37965,9 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Max = nil + x.APIVersion = "" } else { - yyv3064 := &x.Max - yyv3064.CodecDecodeSelf(d) + x.APIVersion = string(r.DecodeString()) } yyj3062++ if yyhl3062 { @@ -38084,10 +37981,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Min = nil + x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3065 := &x.Min - yyv3065.CodecDecodeSelf(d) + yyv3065 := &x.ListMeta + yym3066 := z.DecBinary() + _ = yym3066 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3065) { + } else { + z.DecFallback(yyv3065, false) + } } yyj3062++ if yyhl3062 { @@ -38101,44 +38004,15 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Default = nil + x.Items = nil } else { - yyv3066 := &x.Default - yyv3066.CodecDecodeSelf(d) - } - yyj3062++ - if yyhl3062 { - yyb3062 = yyj3062 > l - } else { - yyb3062 = r.CheckBreak() - } - if yyb3062 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DefaultRequest = nil - } else { - yyv3067 := &x.DefaultRequest - yyv3067.CodecDecodeSelf(d) - } - yyj3062++ - if yyhl3062 { - yyb3062 = yyj3062 > l - } else { - yyb3062 = r.CheckBreak() - } - if yyb3062 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxLimitRequestRatio = nil - } else { - yyv3068 := &x.MaxLimitRequestRatio - yyv3068.CodecDecodeSelf(d) + yyv3067 := &x.Items + yym3068 := z.DecBinary() + _ = yym3068 + if false { + } else { + h.decSliceruntime_RawExtension((*[]pkg6_runtime.RawExtension)(yyv3067), d) + } } for { yyj3062++ @@ -38156,6 +38030,431 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3069 := z.EncBinary() + _ = yym3069 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3070 := z.DecBinary() + _ = yym3070 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3071 := z.EncBinary() + _ = yym3071 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3072 := !z.EncBinary() + yy2arr3072 := z.EncBasicHandle().StructToArray + var yyq3072 [6]bool + _, _, _ = yysep3072, yyq3072, yy2arr3072 + const yyr3072 bool = false + yyq3072[0] = x.Type != "" + yyq3072[1] = len(x.Max) != 0 + yyq3072[2] = len(x.Min) != 0 + yyq3072[3] = len(x.Default) != 0 + yyq3072[4] = len(x.DefaultRequest) != 0 + yyq3072[5] = len(x.MaxLimitRequestRatio) != 0 + var yynn3072 int + if yyr3072 || yy2arr3072 { + r.EncodeArrayStart(6) + } else { + yynn3072 = 0 + for _, b := range yyq3072 { + if b { + yynn3072++ + } + } + r.EncodeMapStart(yynn3072) + yynn3072 = 0 + } + if yyr3072 || yy2arr3072 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3072[0] { + x.Type.CodecEncodeSelf(e) + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3072[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Type.CodecEncodeSelf(e) + } + } + if yyr3072 || yy2arr3072 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3072[1] { + if x.Max == nil { + r.EncodeNil() + } else { + x.Max.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3072[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("max")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Max == nil { + r.EncodeNil() + } else { + x.Max.CodecEncodeSelf(e) + } + } + } + if yyr3072 || yy2arr3072 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3072[2] { + if x.Min == nil { + r.EncodeNil() + } else { + x.Min.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3072[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("min")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Min == nil { + r.EncodeNil() + } else { + x.Min.CodecEncodeSelf(e) + } + } + } + if yyr3072 || yy2arr3072 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3072[3] { + if x.Default == nil { + r.EncodeNil() + } else { + x.Default.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3072[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("default")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Default == nil { + r.EncodeNil() + } else { + x.Default.CodecEncodeSelf(e) + } + } + } + if yyr3072 || yy2arr3072 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3072[4] { + if x.DefaultRequest == nil { + r.EncodeNil() + } else { + x.DefaultRequest.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3072[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.DefaultRequest == nil { + r.EncodeNil() + } else { + x.DefaultRequest.CodecEncodeSelf(e) + } + } + } + if yyr3072 || yy2arr3072 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3072[5] { + if x.MaxLimitRequestRatio == nil { + r.EncodeNil() + } else { + x.MaxLimitRequestRatio.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq3072[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.MaxLimitRequestRatio == nil { + r.EncodeNil() + } else { + x.MaxLimitRequestRatio.CodecEncodeSelf(e) + } + } + } + if yyr3072 || yy2arr3072 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3079 := z.DecBinary() + _ = yym3079 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3080 := r.ContainerType() + if yyct3080 == codecSelferValueTypeMap1234 { + yyl3080 := r.ReadMapStart() + if yyl3080 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3080, d) + } + } else if yyct3080 == codecSelferValueTypeArray1234 { + yyl3080 := r.ReadArrayStart() + if yyl3080 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3080, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3081Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3081Slc + var yyhl3081 bool = l >= 0 + for yyj3081 := 0; ; yyj3081++ { + if yyhl3081 { + if yyj3081 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3081Slc = r.DecodeBytes(yys3081Slc, true, true) + yys3081 := string(yys3081Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3081 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = LimitType(r.DecodeString()) + } + case "max": + if r.TryDecodeAsNil() { + x.Max = nil + } else { + yyv3083 := &x.Max + yyv3083.CodecDecodeSelf(d) + } + case "min": + if r.TryDecodeAsNil() { + x.Min = nil + } else { + yyv3084 := &x.Min + yyv3084.CodecDecodeSelf(d) + } + case "default": + if r.TryDecodeAsNil() { + x.Default = nil + } else { + yyv3085 := &x.Default + yyv3085.CodecDecodeSelf(d) + } + case "defaultRequest": + if r.TryDecodeAsNil() { + x.DefaultRequest = nil + } else { + yyv3086 := &x.DefaultRequest + yyv3086.CodecDecodeSelf(d) + } + case "maxLimitRequestRatio": + if r.TryDecodeAsNil() { + x.MaxLimitRequestRatio = nil + } else { + yyv3087 := &x.MaxLimitRequestRatio + yyv3087.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys3081) + } // end switch yys3081 + } // end for yyj3081 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3088 int + var yyb3088 bool + var yyhl3088 bool = l >= 0 + yyj3088++ + if yyhl3088 { + yyb3088 = yyj3088 > l + } else { + yyb3088 = r.CheckBreak() + } + if yyb3088 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = LimitType(r.DecodeString()) + } + yyj3088++ + if yyhl3088 { + yyb3088 = yyj3088 > l + } else { + yyb3088 = r.CheckBreak() + } + if yyb3088 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Max = nil + } else { + yyv3090 := &x.Max + yyv3090.CodecDecodeSelf(d) + } + yyj3088++ + if yyhl3088 { + yyb3088 = yyj3088 > l + } else { + yyb3088 = r.CheckBreak() + } + if yyb3088 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Min = nil + } else { + yyv3091 := &x.Min + yyv3091.CodecDecodeSelf(d) + } + yyj3088++ + if yyhl3088 { + yyb3088 = yyj3088 > l + } else { + yyb3088 = r.CheckBreak() + } + if yyb3088 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Default = nil + } else { + yyv3092 := &x.Default + yyv3092.CodecDecodeSelf(d) + } + yyj3088++ + if yyhl3088 { + yyb3088 = yyj3088 > l + } else { + yyb3088 = r.CheckBreak() + } + if yyb3088 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DefaultRequest = nil + } else { + yyv3093 := &x.DefaultRequest + yyv3093.CodecDecodeSelf(d) + } + yyj3088++ + if yyhl3088 { + yyb3088 = yyj3088 > l + } else { + yyb3088 = r.CheckBreak() + } + if yyb3088 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxLimitRequestRatio = nil + } else { + yyv3094 := &x.MaxLimitRequestRatio + yyv3094.CodecDecodeSelf(d) + } + for { + yyj3088++ + if yyhl3088 { + yyb3088 = yyj3088 > l + } else { + yyb3088 = r.CheckBreak() + } + if yyb3088 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3088-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -38163,36 +38462,36 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3069 := z.EncBinary() - _ = yym3069 + yym3095 := z.EncBinary() + _ = yym3095 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3070 := !z.EncBinary() - yy2arr3070 := z.EncBasicHandle().StructToArray - var yyq3070 [1]bool - _, _, _ = yysep3070, yyq3070, yy2arr3070 - const yyr3070 bool = false - var yynn3070 int - if yyr3070 || yy2arr3070 { + yysep3096 := !z.EncBinary() + yy2arr3096 := z.EncBasicHandle().StructToArray + var yyq3096 [1]bool + _, _, _ = yysep3096, yyq3096, yy2arr3096 + const yyr3096 bool = false + var yynn3096 int + if yyr3096 || yy2arr3096 { r.EncodeArrayStart(1) } else { - yynn3070 = 1 - for _, b := range yyq3070 { + yynn3096 = 1 + for _, b := range yyq3096 { if b { - yynn3070++ + yynn3096++ } } - r.EncodeMapStart(yynn3070) - yynn3070 = 0 + r.EncodeMapStart(yynn3096) + yynn3096 = 0 } - if yyr3070 || yy2arr3070 { + if yyr3096 || yy2arr3096 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Limits == nil { r.EncodeNil() } else { - yym3072 := z.EncBinary() - _ = yym3072 + yym3098 := z.EncBinary() + _ = yym3098 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) @@ -38205,15 +38504,15 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Limits == nil { r.EncodeNil() } else { - yym3073 := z.EncBinary() - _ = yym3073 + yym3099 := z.EncBinary() + _ = yym3099 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) } } } - if yyr3070 || yy2arr3070 { + if yyr3096 || yy2arr3096 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38226,25 +38525,25 @@ func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3074 := z.DecBinary() - _ = yym3074 + yym3100 := z.DecBinary() + _ = yym3100 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3075 := r.ContainerType() - if yyct3075 == codecSelferValueTypeMap1234 { - yyl3075 := r.ReadMapStart() - if yyl3075 == 0 { + yyct3101 := r.ContainerType() + if yyct3101 == codecSelferValueTypeMap1234 { + yyl3101 := r.ReadMapStart() + if yyl3101 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3075, d) + x.codecDecodeSelfFromMap(yyl3101, d) } - } else if yyct3075 == codecSelferValueTypeArray1234 { - yyl3075 := r.ReadArrayStart() - if yyl3075 == 0 { + } else if yyct3101 == codecSelferValueTypeArray1234 { + yyl3101 := r.ReadArrayStart() + if yyl3101 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3075, d) + x.codecDecodeSelfFromArray(yyl3101, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38256,12 +38555,12 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3076Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3076Slc - var yyhl3076 bool = l >= 0 - for yyj3076 := 0; ; yyj3076++ { - if yyhl3076 { - if yyj3076 >= l { + var yys3102Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3102Slc + var yyhl3102 bool = l >= 0 + for yyj3102 := 0; ; yyj3102++ { + if yyhl3102 { + if yyj3102 >= l { break } } else { @@ -38270,26 +38569,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3076Slc = r.DecodeBytes(yys3076Slc, true, true) - yys3076 := string(yys3076Slc) + yys3102Slc = r.DecodeBytes(yys3102Slc, true, true) + yys3102 := string(yys3102Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3076 { + switch yys3102 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv3077 := &x.Limits - yym3078 := z.DecBinary() - _ = yym3078 + yyv3103 := &x.Limits + yym3104 := z.DecBinary() + _ = yym3104 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3077), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3103), d) } } default: - z.DecStructFieldNotFound(-1, yys3076) - } // end switch yys3076 - } // end for yyj3076 + z.DecStructFieldNotFound(-1, yys3102) + } // end switch yys3102 + } // end for yyj3102 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38297,16 +38596,16 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3079 int - var yyb3079 bool - var yyhl3079 bool = l >= 0 - yyj3079++ - if yyhl3079 { - yyb3079 = yyj3079 > l + var yyj3105 int + var yyb3105 bool + var yyhl3105 bool = l >= 0 + yyj3105++ + if yyhl3105 { + yyb3105 = yyj3105 > l } else { - yyb3079 = r.CheckBreak() + yyb3105 = r.CheckBreak() } - if yyb3079 { + if yyb3105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38314,332 +38613,31 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv3080 := &x.Limits - yym3081 := z.DecBinary() - _ = yym3081 + yyv3106 := &x.Limits + yym3107 := z.DecBinary() + _ = yym3107 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3080), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3106), d) } } for { - yyj3079++ - if yyhl3079 { - yyb3079 = yyj3079 > l + yyj3105++ + if yyhl3105 { + yyb3105 = yyj3105 > l } else { - yyb3079 = r.CheckBreak() + yyb3105 = r.CheckBreak() } - if yyb3079 { + if yyb3105 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3079-1, "") + z.DecStructFieldNotFound(yyj3105-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3082 := z.EncBinary() - _ = yym3082 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3083 := !z.EncBinary() - yy2arr3083 := z.EncBasicHandle().StructToArray - var yyq3083 [4]bool - _, _, _ = yysep3083, yyq3083, yy2arr3083 - const yyr3083 bool = false - yyq3083[0] = x.Kind != "" - yyq3083[1] = x.APIVersion != "" - yyq3083[2] = true - yyq3083[3] = true - var yynn3083 int - if yyr3083 || yy2arr3083 { - r.EncodeArrayStart(4) - } else { - yynn3083 = 0 - for _, b := range yyq3083 { - if b { - yynn3083++ - } - } - r.EncodeMapStart(yynn3083) - yynn3083 = 0 - } - if yyr3083 || yy2arr3083 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3083[0] { - yym3085 := z.EncBinary() - _ = yym3085 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3083[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3086 := z.EncBinary() - _ = yym3086 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3083 || yy2arr3083 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3083[1] { - yym3088 := z.EncBinary() - _ = yym3088 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3083[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3089 := z.EncBinary() - _ = yym3089 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3083 || yy2arr3083 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3083[2] { - yy3091 := &x.ObjectMeta - yy3091.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3083[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3092 := &x.ObjectMeta - yy3092.CodecEncodeSelf(e) - } - } - if yyr3083 || yy2arr3083 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3083[3] { - yy3094 := &x.Spec - yy3094.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3083[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3095 := &x.Spec - yy3095.CodecEncodeSelf(e) - } - } - if yyr3083 || yy2arr3083 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3096 := z.DecBinary() - _ = yym3096 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3097 := r.ContainerType() - if yyct3097 == codecSelferValueTypeMap1234 { - yyl3097 := r.ReadMapStart() - if yyl3097 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3097, d) - } - } else if yyct3097 == codecSelferValueTypeArray1234 { - yyl3097 := r.ReadArrayStart() - if yyl3097 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3097, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3098Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3098Slc - var yyhl3098 bool = l >= 0 - for yyj3098 := 0; ; yyj3098++ { - if yyhl3098 { - if yyj3098 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3098Slc = r.DecodeBytes(yys3098Slc, true, true) - yys3098 := string(yys3098Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3098 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv3101 := &x.ObjectMeta - yyv3101.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = LimitRangeSpec{} - } else { - yyv3102 := &x.Spec - yyv3102.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys3098) - } // end switch yys3098 - } // end for yyj3098 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3103 int - var yyb3103 bool - var yyhl3103 bool = l >= 0 - yyj3103++ - if yyhl3103 { - yyb3103 = yyj3103 > l - } else { - yyb3103 = r.CheckBreak() - } - if yyb3103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3103++ - if yyhl3103 { - yyb3103 = yyj3103 > l - } else { - yyb3103 = r.CheckBreak() - } - if yyb3103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3103++ - if yyhl3103 { - yyb3103 = yyj3103 > l - } else { - yyb3103 = r.CheckBreak() - } - if yyb3103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv3106 := &x.ObjectMeta - yyv3106.CodecDecodeSelf(d) - } - yyj3103++ - if yyhl3103 { - yyb3103 = yyj3103 > l - } else { - yyb3103 = r.CheckBreak() - } - if yyb3103 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = LimitRangeSpec{} - } else { - yyv3107 := &x.Spec - yyv3107.CodecDecodeSelf(d) - } - for { - yyj3103++ - if yyhl3103 { - yyb3103 = yyj3103 > l - } else { - yyb3103 = r.CheckBreak() - } - if yyb3103 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3103-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -38659,11 +38657,12 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { yyq3109[0] = x.Kind != "" yyq3109[1] = x.APIVersion != "" yyq3109[2] = true + yyq3109[3] = true var yynn3109 int if yyr3109 || yy2arr3109 { r.EncodeArrayStart(4) } else { - yynn3109 = 1 + yynn3109 = 0 for _, b := range yyq3109 { if b { yynn3109++ @@ -38725,14 +38724,8 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if yyr3109 || yy2arr3109 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq3109[2] { - yy3117 := &x.ListMeta - yym3118 := z.EncBinary() - _ = yym3118 - if false { - } else if z.HasExtensions() && z.EncExt(yy3117) { - } else { - z.EncFallback(yy3117) - } + yy3117 := &x.ObjectMeta + yy3117.CodecEncodeSelf(e) } else { r.EncodeNil() } @@ -38741,23 +38734,329 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3119 := &x.ListMeta - yym3120 := z.EncBinary() - _ = yym3120 - if false { - } else if z.HasExtensions() && z.EncExt(yy3119) { - } else { - z.EncFallback(yy3119) - } + yy3118 := &x.ObjectMeta + yy3118.CodecEncodeSelf(e) } } if yyr3109 || yy2arr3109 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3109[3] { + yy3120 := &x.Spec + yy3120.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3109[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3121 := &x.Spec + yy3121.CodecEncodeSelf(e) + } + } + if yyr3109 || yy2arr3109 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3122 := z.DecBinary() + _ = yym3122 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3123 := r.ContainerType() + if yyct3123 == codecSelferValueTypeMap1234 { + yyl3123 := r.ReadMapStart() + if yyl3123 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3123, d) + } + } else if yyct3123 == codecSelferValueTypeArray1234 { + yyl3123 := r.ReadArrayStart() + if yyl3123 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3123, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3124Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3124Slc + var yyhl3124 bool = l >= 0 + for yyj3124 := 0; ; yyj3124++ { + if yyhl3124 { + if yyj3124 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3124Slc = r.DecodeBytes(yys3124Slc, true, true) + yys3124 := string(yys3124Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3124 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3127 := &x.ObjectMeta + yyv3127.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = LimitRangeSpec{} + } else { + yyv3128 := &x.Spec + yyv3128.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys3124) + } // end switch yys3124 + } // end for yyj3124 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3129 int + var yyb3129 bool + var yyhl3129 bool = l >= 0 + yyj3129++ + if yyhl3129 { + yyb3129 = yyj3129 > l + } else { + yyb3129 = r.CheckBreak() + } + if yyb3129 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3129++ + if yyhl3129 { + yyb3129 = yyj3129 > l + } else { + yyb3129 = r.CheckBreak() + } + if yyb3129 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3129++ + if yyhl3129 { + yyb3129 = yyj3129 > l + } else { + yyb3129 = r.CheckBreak() + } + if yyb3129 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3132 := &x.ObjectMeta + yyv3132.CodecDecodeSelf(d) + } + yyj3129++ + if yyhl3129 { + yyb3129 = yyj3129 > l + } else { + yyb3129 = r.CheckBreak() + } + if yyb3129 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = LimitRangeSpec{} + } else { + yyv3133 := &x.Spec + yyv3133.CodecDecodeSelf(d) + } + for { + yyj3129++ + if yyhl3129 { + yyb3129 = yyj3129 > l + } else { + yyb3129 = r.CheckBreak() + } + if yyb3129 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3129-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3134 := z.EncBinary() + _ = yym3134 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3135 := !z.EncBinary() + yy2arr3135 := z.EncBasicHandle().StructToArray + var yyq3135 [4]bool + _, _, _ = yysep3135, yyq3135, yy2arr3135 + const yyr3135 bool = false + yyq3135[0] = x.Kind != "" + yyq3135[1] = x.APIVersion != "" + yyq3135[2] = true + var yynn3135 int + if yyr3135 || yy2arr3135 { + r.EncodeArrayStart(4) + } else { + yynn3135 = 1 + for _, b := range yyq3135 { + if b { + yynn3135++ + } + } + r.EncodeMapStart(yynn3135) + yynn3135 = 0 + } + if yyr3135 || yy2arr3135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3135[0] { + yym3137 := z.EncBinary() + _ = yym3137 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3135[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3138 := z.EncBinary() + _ = yym3138 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3135 || yy2arr3135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3135[1] { + yym3140 := z.EncBinary() + _ = yym3140 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3135[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3141 := z.EncBinary() + _ = yym3141 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3135 || yy2arr3135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3135[2] { + yy3143 := &x.ListMeta + yym3144 := z.EncBinary() + _ = yym3144 + if false { + } else if z.HasExtensions() && z.EncExt(yy3143) { + } else { + z.EncFallback(yy3143) + } + } else { + r.EncodeNil() + } + } else { + if yyq3135[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3145 := &x.ListMeta + yym3146 := z.EncBinary() + _ = yym3146 + if false { + } else if z.HasExtensions() && z.EncExt(yy3145) { + } else { + z.EncFallback(yy3145) + } + } + } + if yyr3135 || yy2arr3135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3122 := z.EncBinary() - _ = yym3122 + yym3148 := z.EncBinary() + _ = yym3148 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) @@ -38770,15 +39069,15 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3123 := z.EncBinary() - _ = yym3123 + yym3149 := z.EncBinary() + _ = yym3149 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) } } } - if yyr3109 || yy2arr3109 { + if yyr3135 || yy2arr3135 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38791,25 +39090,25 @@ func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3124 := z.DecBinary() - _ = yym3124 + yym3150 := z.DecBinary() + _ = yym3150 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3125 := r.ContainerType() - if yyct3125 == codecSelferValueTypeMap1234 { - yyl3125 := r.ReadMapStart() - if yyl3125 == 0 { + yyct3151 := r.ContainerType() + if yyct3151 == codecSelferValueTypeMap1234 { + yyl3151 := r.ReadMapStart() + if yyl3151 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3125, d) + x.codecDecodeSelfFromMap(yyl3151, d) } - } else if yyct3125 == codecSelferValueTypeArray1234 { - yyl3125 := r.ReadArrayStart() - if yyl3125 == 0 { + } else if yyct3151 == codecSelferValueTypeArray1234 { + yyl3151 := r.ReadArrayStart() + if yyl3151 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3125, d) + x.codecDecodeSelfFromArray(yyl3151, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38821,12 +39120,12 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3126Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3126Slc - var yyhl3126 bool = l >= 0 - for yyj3126 := 0; ; yyj3126++ { - if yyhl3126 { - if yyj3126 >= l { + var yys3152Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3152Slc + var yyhl3152 bool = l >= 0 + for yyj3152 := 0; ; yyj3152++ { + if yyhl3152 { + if yyj3152 >= l { break } } else { @@ -38835,10 +39134,10 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3126Slc = r.DecodeBytes(yys3126Slc, true, true) - yys3126 := string(yys3126Slc) + yys3152Slc = r.DecodeBytes(yys3152Slc, true, true) + yys3152 := string(yys3152Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3126 { + switch yys3152 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -38855,31 +39154,31 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3129 := &x.ListMeta - yym3130 := z.DecBinary() - _ = yym3130 + yyv3155 := &x.ListMeta + yym3156 := z.DecBinary() + _ = yym3156 if false { - } else if z.HasExtensions() && z.DecExt(yyv3129) { + } else if z.HasExtensions() && z.DecExt(yyv3155) { } else { - z.DecFallback(yyv3129, false) + z.DecFallback(yyv3155, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3131 := &x.Items - yym3132 := z.DecBinary() - _ = yym3132 + yyv3157 := &x.Items + yym3158 := z.DecBinary() + _ = yym3158 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv3131), d) + h.decSliceLimitRange((*[]LimitRange)(yyv3157), d) } } default: - z.DecStructFieldNotFound(-1, yys3126) - } // end switch yys3126 - } // end for yyj3126 + z.DecStructFieldNotFound(-1, yys3152) + } // end switch yys3152 + } // end for yyj3152 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38887,16 +39186,16 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3133 int - var yyb3133 bool - var yyhl3133 bool = l >= 0 - yyj3133++ - if yyhl3133 { - yyb3133 = yyj3133 > l + var yyj3159 int + var yyb3159 bool + var yyhl3159 bool = l >= 0 + yyj3159++ + if yyhl3159 { + yyb3159 = yyj3159 > l } else { - yyb3133 = r.CheckBreak() + yyb3159 = r.CheckBreak() } - if yyb3133 { + if yyb3159 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38906,13 +39205,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3133++ - if yyhl3133 { - yyb3133 = yyj3133 > l + yyj3159++ + if yyhl3159 { + yyb3159 = yyj3159 > l } else { - yyb3133 = r.CheckBreak() + yyb3159 = r.CheckBreak() } - if yyb3133 { + if yyb3159 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38922,13 +39221,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3133++ - if yyhl3133 { - yyb3133 = yyj3133 > l + yyj3159++ + if yyhl3159 { + yyb3159 = yyj3159 > l } else { - yyb3133 = r.CheckBreak() + yyb3159 = r.CheckBreak() } - if yyb3133 { + if yyb3159 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38936,22 +39235,22 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3136 := &x.ListMeta - yym3137 := z.DecBinary() - _ = yym3137 + yyv3162 := &x.ListMeta + yym3163 := z.DecBinary() + _ = yym3163 if false { - } else if z.HasExtensions() && z.DecExt(yyv3136) { + } else if z.HasExtensions() && z.DecExt(yyv3162) { } else { - z.DecFallback(yyv3136, false) + z.DecFallback(yyv3162, false) } } - yyj3133++ - if yyhl3133 { - yyb3133 = yyj3133 > l + yyj3159++ + if yyhl3159 { + yyb3159 = yyj3159 > l } else { - yyb3133 = r.CheckBreak() + yyb3159 = r.CheckBreak() } - if yyb3133 { + if yyb3159 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38959,26 +39258,26 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3138 := &x.Items - yym3139 := z.DecBinary() - _ = yym3139 + yyv3164 := &x.Items + yym3165 := z.DecBinary() + _ = yym3165 if false { } else { - h.decSliceLimitRange((*[]LimitRange)(yyv3138), d) + h.decSliceLimitRange((*[]LimitRange)(yyv3164), d) } } for { - yyj3133++ - if yyhl3133 { - yyb3133 = yyj3133 > l + yyj3159++ + if yyhl3159 { + yyb3159 = yyj3159 > l } else { - yyb3133 = r.CheckBreak() + yyb3159 = r.CheckBreak() } - if yyb3133 { + if yyb3159 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3133-1, "") + z.DecStructFieldNotFound(yyj3159-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38990,33 +39289,33 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3140 := z.EncBinary() - _ = yym3140 + yym3166 := z.EncBinary() + _ = yym3166 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3141 := !z.EncBinary() - yy2arr3141 := z.EncBasicHandle().StructToArray - var yyq3141 [1]bool - _, _, _ = yysep3141, yyq3141, yy2arr3141 - const yyr3141 bool = false - yyq3141[0] = len(x.Hard) != 0 - var yynn3141 int - if yyr3141 || yy2arr3141 { + yysep3167 := !z.EncBinary() + yy2arr3167 := z.EncBasicHandle().StructToArray + var yyq3167 [1]bool + _, _, _ = yysep3167, yyq3167, yy2arr3167 + const yyr3167 bool = false + yyq3167[0] = len(x.Hard) != 0 + var yynn3167 int + if yyr3167 || yy2arr3167 { r.EncodeArrayStart(1) } else { - yynn3141 = 0 - for _, b := range yyq3141 { + yynn3167 = 0 + for _, b := range yyq3167 { if b { - yynn3141++ + yynn3167++ } } - r.EncodeMapStart(yynn3141) - yynn3141 = 0 + r.EncodeMapStart(yynn3167) + yynn3167 = 0 } - if yyr3141 || yy2arr3141 { + if yyr3167 || yy2arr3167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3141[0] { + if yyq3167[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -39026,7 +39325,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3141[0] { + if yyq3167[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39037,7 +39336,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3141 || yy2arr3141 { + if yyr3167 || yy2arr3167 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39050,25 +39349,25 @@ func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3143 := z.DecBinary() - _ = yym3143 + yym3169 := z.DecBinary() + _ = yym3169 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3144 := r.ContainerType() - if yyct3144 == codecSelferValueTypeMap1234 { - yyl3144 := r.ReadMapStart() - if yyl3144 == 0 { + yyct3170 := r.ContainerType() + if yyct3170 == codecSelferValueTypeMap1234 { + yyl3170 := r.ReadMapStart() + if yyl3170 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3144, d) + x.codecDecodeSelfFromMap(yyl3170, d) } - } else if yyct3144 == codecSelferValueTypeArray1234 { - yyl3144 := r.ReadArrayStart() - if yyl3144 == 0 { + } else if yyct3170 == codecSelferValueTypeArray1234 { + yyl3170 := r.ReadArrayStart() + if yyl3170 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3144, d) + x.codecDecodeSelfFromArray(yyl3170, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39080,12 +39379,12 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3145Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3145Slc - var yyhl3145 bool = l >= 0 - for yyj3145 := 0; ; yyj3145++ { - if yyhl3145 { - if yyj3145 >= l { + var yys3171Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3171Slc + var yyhl3171 bool = l >= 0 + for yyj3171 := 0; ; yyj3171++ { + if yyhl3171 { + if yyj3171 >= l { break } } else { @@ -39094,21 +39393,21 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3145Slc = r.DecodeBytes(yys3145Slc, true, true) - yys3145 := string(yys3145Slc) + yys3171Slc = r.DecodeBytes(yys3171Slc, true, true) + yys3171 := string(yys3171Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3145 { + switch yys3171 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3146 := &x.Hard - yyv3146.CodecDecodeSelf(d) + yyv3172 := &x.Hard + yyv3172.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3145) - } // end switch yys3145 - } // end for yyj3145 + z.DecStructFieldNotFound(-1, yys3171) + } // end switch yys3171 + } // end for yyj3171 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39116,16 +39415,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3147 int - var yyb3147 bool - var yyhl3147 bool = l >= 0 - yyj3147++ - if yyhl3147 { - yyb3147 = yyj3147 > l + var yyj3173 int + var yyb3173 bool + var yyhl3173 bool = l >= 0 + yyj3173++ + if yyhl3173 { + yyb3173 = yyj3173 > l } else { - yyb3147 = r.CheckBreak() + yyb3173 = r.CheckBreak() } - if yyb3147 { + if yyb3173 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39133,21 +39432,21 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3148 := &x.Hard - yyv3148.CodecDecodeSelf(d) + yyv3174 := &x.Hard + yyv3174.CodecDecodeSelf(d) } for { - yyj3147++ - if yyhl3147 { - yyb3147 = yyj3147 > l + yyj3173++ + if yyhl3173 { + yyb3173 = yyj3173 > l } else { - yyb3147 = r.CheckBreak() + yyb3173 = r.CheckBreak() } - if yyb3147 { + if yyb3173 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3147-1, "") + z.DecStructFieldNotFound(yyj3173-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39159,34 +39458,34 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3149 := z.EncBinary() - _ = yym3149 + yym3175 := z.EncBinary() + _ = yym3175 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3150 := !z.EncBinary() - yy2arr3150 := z.EncBasicHandle().StructToArray - var yyq3150 [2]bool - _, _, _ = yysep3150, yyq3150, yy2arr3150 - const yyr3150 bool = false - yyq3150[0] = len(x.Hard) != 0 - yyq3150[1] = len(x.Used) != 0 - var yynn3150 int - if yyr3150 || yy2arr3150 { + yysep3176 := !z.EncBinary() + yy2arr3176 := z.EncBasicHandle().StructToArray + var yyq3176 [2]bool + _, _, _ = yysep3176, yyq3176, yy2arr3176 + const yyr3176 bool = false + yyq3176[0] = len(x.Hard) != 0 + yyq3176[1] = len(x.Used) != 0 + var yynn3176 int + if yyr3176 || yy2arr3176 { r.EncodeArrayStart(2) } else { - yynn3150 = 0 - for _, b := range yyq3150 { + yynn3176 = 0 + for _, b := range yyq3176 { if b { - yynn3150++ + yynn3176++ } } - r.EncodeMapStart(yynn3150) - yynn3150 = 0 + r.EncodeMapStart(yynn3176) + yynn3176 = 0 } - if yyr3150 || yy2arr3150 { + if yyr3176 || yy2arr3176 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3150[0] { + if yyq3176[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -39196,7 +39495,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3150[0] { + if yyq3176[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39207,9 +39506,9 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3150 || yy2arr3150 { + if yyr3176 || yy2arr3176 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3150[1] { + if yyq3176[1] { if x.Used == nil { r.EncodeNil() } else { @@ -39219,7 +39518,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3150[1] { + if yyq3176[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("used")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39230,7 +39529,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3150 || yy2arr3150 { + if yyr3176 || yy2arr3176 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39243,25 +39542,25 @@ func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3153 := z.DecBinary() - _ = yym3153 + yym3179 := z.DecBinary() + _ = yym3179 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3154 := r.ContainerType() - if yyct3154 == codecSelferValueTypeMap1234 { - yyl3154 := r.ReadMapStart() - if yyl3154 == 0 { + yyct3180 := r.ContainerType() + if yyct3180 == codecSelferValueTypeMap1234 { + yyl3180 := r.ReadMapStart() + if yyl3180 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3154, d) + x.codecDecodeSelfFromMap(yyl3180, d) } - } else if yyct3154 == codecSelferValueTypeArray1234 { - yyl3154 := r.ReadArrayStart() - if yyl3154 == 0 { + } else if yyct3180 == codecSelferValueTypeArray1234 { + yyl3180 := r.ReadArrayStart() + if yyl3180 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3154, d) + x.codecDecodeSelfFromArray(yyl3180, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39273,12 +39572,12 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3155Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3155Slc - var yyhl3155 bool = l >= 0 - for yyj3155 := 0; ; yyj3155++ { - if yyhl3155 { - if yyj3155 >= l { + var yys3181Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3181Slc + var yyhl3181 bool = l >= 0 + for yyj3181 := 0; ; yyj3181++ { + if yyhl3181 { + if yyj3181 >= l { break } } else { @@ -39287,28 +39586,28 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3155Slc = r.DecodeBytes(yys3155Slc, true, true) - yys3155 := string(yys3155Slc) + yys3181Slc = r.DecodeBytes(yys3181Slc, true, true) + yys3181 := string(yys3181Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3155 { + switch yys3181 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3156 := &x.Hard - yyv3156.CodecDecodeSelf(d) + yyv3182 := &x.Hard + yyv3182.CodecDecodeSelf(d) } case "used": if r.TryDecodeAsNil() { x.Used = nil } else { - yyv3157 := &x.Used - yyv3157.CodecDecodeSelf(d) + yyv3183 := &x.Used + yyv3183.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3155) - } // end switch yys3155 - } // end for yyj3155 + z.DecStructFieldNotFound(-1, yys3181) + } // end switch yys3181 + } // end for yyj3181 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39316,16 +39615,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3158 int - var yyb3158 bool - var yyhl3158 bool = l >= 0 - yyj3158++ - if yyhl3158 { - yyb3158 = yyj3158 > l + var yyj3184 int + var yyb3184 bool + var yyhl3184 bool = l >= 0 + yyj3184++ + if yyhl3184 { + yyb3184 = yyj3184 > l } else { - yyb3158 = r.CheckBreak() + yyb3184 = r.CheckBreak() } - if yyb3158 { + if yyb3184 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39333,16 +39632,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv3159 := &x.Hard - yyv3159.CodecDecodeSelf(d) + yyv3185 := &x.Hard + yyv3185.CodecDecodeSelf(d) } - yyj3158++ - if yyhl3158 { - yyb3158 = yyj3158 > l + yyj3184++ + if yyhl3184 { + yyb3184 = yyj3184 > l } else { - yyb3158 = r.CheckBreak() + yyb3184 = r.CheckBreak() } - if yyb3158 { + if yyb3184 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39350,21 +39649,21 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Used = nil } else { - yyv3160 := &x.Used - yyv3160.CodecDecodeSelf(d) + yyv3186 := &x.Used + yyv3186.CodecDecodeSelf(d) } for { - yyj3158++ - if yyhl3158 { - yyb3158 = yyj3158 > l + yyj3184++ + if yyhl3184 { + yyb3184 = yyj3184 > l } else { - yyb3158 = r.CheckBreak() + yyb3184 = r.CheckBreak() } - if yyb3158 { + if yyb3184 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3158-1, "") + z.DecStructFieldNotFound(yyj3184-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39376,39 +39675,39 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3161 := z.EncBinary() - _ = yym3161 + yym3187 := z.EncBinary() + _ = yym3187 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3162 := !z.EncBinary() - yy2arr3162 := z.EncBasicHandle().StructToArray - var yyq3162 [5]bool - _, _, _ = yysep3162, yyq3162, yy2arr3162 - const yyr3162 bool = false - yyq3162[0] = x.Kind != "" - yyq3162[1] = x.APIVersion != "" - yyq3162[2] = true - yyq3162[3] = true - yyq3162[4] = true - var yynn3162 int - if yyr3162 || yy2arr3162 { + yysep3188 := !z.EncBinary() + yy2arr3188 := z.EncBasicHandle().StructToArray + var yyq3188 [5]bool + _, _, _ = yysep3188, yyq3188, yy2arr3188 + const yyr3188 bool = false + yyq3188[0] = x.Kind != "" + yyq3188[1] = x.APIVersion != "" + yyq3188[2] = true + yyq3188[3] = true + yyq3188[4] = true + var yynn3188 int + if yyr3188 || yy2arr3188 { r.EncodeArrayStart(5) } else { - yynn3162 = 0 - for _, b := range yyq3162 { + yynn3188 = 0 + for _, b := range yyq3188 { if b { - yynn3162++ + yynn3188++ } } - r.EncodeMapStart(yynn3162) - yynn3162 = 0 + r.EncodeMapStart(yynn3188) + yynn3188 = 0 } - if yyr3162 || yy2arr3162 { + if yyr3188 || yy2arr3188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3162[0] { - yym3164 := z.EncBinary() - _ = yym3164 + if yyq3188[0] { + yym3190 := z.EncBinary() + _ = yym3190 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -39417,23 +39716,23 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3162[0] { + if yyq3188[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3165 := z.EncBinary() - _ = yym3165 + yym3191 := z.EncBinary() + _ = yym3191 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3162 || yy2arr3162 { + if yyr3188 || yy2arr3188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3162[1] { - yym3167 := z.EncBinary() - _ = yym3167 + if yyq3188[1] { + yym3193 := z.EncBinary() + _ = yym3193 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -39442,70 +39741,70 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3162[1] { + if yyq3188[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3168 := z.EncBinary() - _ = yym3168 + yym3194 := z.EncBinary() + _ = yym3194 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3162 || yy2arr3162 { + if yyr3188 || yy2arr3188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3162[2] { - yy3170 := &x.ObjectMeta - yy3170.CodecEncodeSelf(e) + if yyq3188[2] { + yy3196 := &x.ObjectMeta + yy3196.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3162[2] { + if yyq3188[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3171 := &x.ObjectMeta - yy3171.CodecEncodeSelf(e) + yy3197 := &x.ObjectMeta + yy3197.CodecEncodeSelf(e) } } - if yyr3162 || yy2arr3162 { + if yyr3188 || yy2arr3188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3162[3] { - yy3173 := &x.Spec - yy3173.CodecEncodeSelf(e) + if yyq3188[3] { + yy3199 := &x.Spec + yy3199.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3162[3] { + if yyq3188[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3174 := &x.Spec - yy3174.CodecEncodeSelf(e) + yy3200 := &x.Spec + yy3200.CodecEncodeSelf(e) } } - if yyr3162 || yy2arr3162 { + if yyr3188 || yy2arr3188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3162[4] { - yy3176 := &x.Status - yy3176.CodecEncodeSelf(e) + if yyq3188[4] { + yy3202 := &x.Status + yy3202.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3162[4] { + if yyq3188[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3177 := &x.Status - yy3177.CodecEncodeSelf(e) + yy3203 := &x.Status + yy3203.CodecEncodeSelf(e) } } - if yyr3162 || yy2arr3162 { + if yyr3188 || yy2arr3188 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39518,25 +39817,25 @@ func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3178 := z.DecBinary() - _ = yym3178 + yym3204 := z.DecBinary() + _ = yym3204 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3179 := r.ContainerType() - if yyct3179 == codecSelferValueTypeMap1234 { - yyl3179 := r.ReadMapStart() - if yyl3179 == 0 { + yyct3205 := r.ContainerType() + if yyct3205 == codecSelferValueTypeMap1234 { + yyl3205 := r.ReadMapStart() + if yyl3205 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3179, d) + x.codecDecodeSelfFromMap(yyl3205, d) } - } else if yyct3179 == codecSelferValueTypeArray1234 { - yyl3179 := r.ReadArrayStart() - if yyl3179 == 0 { + } else if yyct3205 == codecSelferValueTypeArray1234 { + yyl3205 := r.ReadArrayStart() + if yyl3205 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3179, d) + x.codecDecodeSelfFromArray(yyl3205, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39548,12 +39847,12 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3180Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3180Slc - var yyhl3180 bool = l >= 0 - for yyj3180 := 0; ; yyj3180++ { - if yyhl3180 { - if yyj3180 >= l { + var yys3206Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3206Slc + var yyhl3206 bool = l >= 0 + for yyj3206 := 0; ; yyj3206++ { + if yyhl3206 { + if yyj3206 >= l { break } } else { @@ -39562,10 +39861,10 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3180Slc = r.DecodeBytes(yys3180Slc, true, true) - yys3180 := string(yys3180Slc) + yys3206Slc = r.DecodeBytes(yys3206Slc, true, true) + yys3206 := string(yys3206Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3180 { + switch yys3206 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -39582,27 +39881,27 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3183 := &x.ObjectMeta - yyv3183.CodecDecodeSelf(d) + yyv3209 := &x.ObjectMeta + yyv3209.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv3184 := &x.Spec - yyv3184.CodecDecodeSelf(d) + yyv3210 := &x.Spec + yyv3210.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv3185 := &x.Status - yyv3185.CodecDecodeSelf(d) + yyv3211 := &x.Status + yyv3211.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3180) - } // end switch yys3180 - } // end for yyj3180 + z.DecStructFieldNotFound(-1, yys3206) + } // end switch yys3206 + } // end for yyj3206 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39610,16 +39909,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3186 int - var yyb3186 bool - var yyhl3186 bool = l >= 0 - yyj3186++ - if yyhl3186 { - yyb3186 = yyj3186 > l + var yyj3212 int + var yyb3212 bool + var yyhl3212 bool = l >= 0 + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l } else { - yyb3186 = r.CheckBreak() + yyb3212 = r.CheckBreak() } - if yyb3186 { + if yyb3212 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39629,13 +39928,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3186++ - if yyhl3186 { - yyb3186 = yyj3186 > l + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l } else { - yyb3186 = r.CheckBreak() + yyb3212 = r.CheckBreak() } - if yyb3186 { + if yyb3212 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39645,13 +39944,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3186++ - if yyhl3186 { - yyb3186 = yyj3186 > l + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l } else { - yyb3186 = r.CheckBreak() + yyb3212 = r.CheckBreak() } - if yyb3186 { + if yyb3212 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39659,16 +39958,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3189 := &x.ObjectMeta - yyv3189.CodecDecodeSelf(d) + yyv3215 := &x.ObjectMeta + yyv3215.CodecDecodeSelf(d) } - yyj3186++ - if yyhl3186 { - yyb3186 = yyj3186 > l + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l } else { - yyb3186 = r.CheckBreak() + yyb3212 = r.CheckBreak() } - if yyb3186 { + if yyb3212 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39676,16 +39975,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv3190 := &x.Spec - yyv3190.CodecDecodeSelf(d) + yyv3216 := &x.Spec + yyv3216.CodecDecodeSelf(d) } - yyj3186++ - if yyhl3186 { - yyb3186 = yyj3186 > l + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l } else { - yyb3186 = r.CheckBreak() + yyb3212 = r.CheckBreak() } - if yyb3186 { + if yyb3212 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39693,21 +39992,21 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv3191 := &x.Status - yyv3191.CodecDecodeSelf(d) + yyv3217 := &x.Status + yyv3217.CodecDecodeSelf(d) } for { - yyj3186++ - if yyhl3186 { - yyb3186 = yyj3186 > l + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l } else { - yyb3186 = r.CheckBreak() + yyb3212 = r.CheckBreak() } - if yyb3186 { + if yyb3212 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3186-1, "") + z.DecStructFieldNotFound(yyj3212-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39719,37 +40018,37 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3192 := z.EncBinary() - _ = yym3192 + yym3218 := z.EncBinary() + _ = yym3218 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3193 := !z.EncBinary() - yy2arr3193 := z.EncBasicHandle().StructToArray - var yyq3193 [4]bool - _, _, _ = yysep3193, yyq3193, yy2arr3193 - const yyr3193 bool = false - yyq3193[0] = x.Kind != "" - yyq3193[1] = x.APIVersion != "" - yyq3193[2] = true - var yynn3193 int - if yyr3193 || yy2arr3193 { + yysep3219 := !z.EncBinary() + yy2arr3219 := z.EncBasicHandle().StructToArray + var yyq3219 [4]bool + _, _, _ = yysep3219, yyq3219, yy2arr3219 + const yyr3219 bool = false + yyq3219[0] = x.Kind != "" + yyq3219[1] = x.APIVersion != "" + yyq3219[2] = true + var yynn3219 int + if yyr3219 || yy2arr3219 { r.EncodeArrayStart(4) } else { - yynn3193 = 1 - for _, b := range yyq3193 { + yynn3219 = 1 + for _, b := range yyq3219 { if b { - yynn3193++ + yynn3219++ } } - r.EncodeMapStart(yynn3193) - yynn3193 = 0 + r.EncodeMapStart(yynn3219) + yynn3219 = 0 } - if yyr3193 || yy2arr3193 { + if yyr3219 || yy2arr3219 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3193[0] { - yym3195 := z.EncBinary() - _ = yym3195 + if yyq3219[0] { + yym3221 := z.EncBinary() + _ = yym3221 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -39758,23 +40057,23 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3193[0] { + if yyq3219[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3196 := z.EncBinary() - _ = yym3196 + yym3222 := z.EncBinary() + _ = yym3222 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3193 || yy2arr3193 { + if yyr3219 || yy2arr3219 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3193[1] { - yym3198 := z.EncBinary() - _ = yym3198 + if yyq3219[1] { + yym3224 := z.EncBinary() + _ = yym3224 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -39783,54 +40082,54 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3193[1] { + if yyq3219[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3199 := z.EncBinary() - _ = yym3199 + yym3225 := z.EncBinary() + _ = yym3225 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3193 || yy2arr3193 { + if yyr3219 || yy2arr3219 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3193[2] { - yy3201 := &x.ListMeta - yym3202 := z.EncBinary() - _ = yym3202 + if yyq3219[2] { + yy3227 := &x.ListMeta + yym3228 := z.EncBinary() + _ = yym3228 if false { - } else if z.HasExtensions() && z.EncExt(yy3201) { + } else if z.HasExtensions() && z.EncExt(yy3227) { } else { - z.EncFallback(yy3201) + z.EncFallback(yy3227) } } else { r.EncodeNil() } } else { - if yyq3193[2] { + if yyq3219[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3203 := &x.ListMeta - yym3204 := z.EncBinary() - _ = yym3204 + yy3229 := &x.ListMeta + yym3230 := z.EncBinary() + _ = yym3230 if false { - } else if z.HasExtensions() && z.EncExt(yy3203) { + } else if z.HasExtensions() && z.EncExt(yy3229) { } else { - z.EncFallback(yy3203) + z.EncFallback(yy3229) } } } - if yyr3193 || yy2arr3193 { + if yyr3219 || yy2arr3219 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3206 := z.EncBinary() - _ = yym3206 + yym3232 := z.EncBinary() + _ = yym3232 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) @@ -39843,15 +40142,15 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3207 := z.EncBinary() - _ = yym3207 + yym3233 := z.EncBinary() + _ = yym3233 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) } } } - if yyr3193 || yy2arr3193 { + if yyr3219 || yy2arr3219 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39864,25 +40163,25 @@ func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3208 := z.DecBinary() - _ = yym3208 + yym3234 := z.DecBinary() + _ = yym3234 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3209 := r.ContainerType() - if yyct3209 == codecSelferValueTypeMap1234 { - yyl3209 := r.ReadMapStart() - if yyl3209 == 0 { + yyct3235 := r.ContainerType() + if yyct3235 == codecSelferValueTypeMap1234 { + yyl3235 := r.ReadMapStart() + if yyl3235 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3209, d) + x.codecDecodeSelfFromMap(yyl3235, d) } - } else if yyct3209 == codecSelferValueTypeArray1234 { - yyl3209 := r.ReadArrayStart() - if yyl3209 == 0 { + } else if yyct3235 == codecSelferValueTypeArray1234 { + yyl3235 := r.ReadArrayStart() + if yyl3235 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3209, d) + x.codecDecodeSelfFromArray(yyl3235, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39894,12 +40193,12 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3210Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3210Slc - var yyhl3210 bool = l >= 0 - for yyj3210 := 0; ; yyj3210++ { - if yyhl3210 { - if yyj3210 >= l { + var yys3236Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3236Slc + var yyhl3236 bool = l >= 0 + for yyj3236 := 0; ; yyj3236++ { + if yyhl3236 { + if yyj3236 >= l { break } } else { @@ -39908,10 +40207,10 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3210Slc = r.DecodeBytes(yys3210Slc, true, true) - yys3210 := string(yys3210Slc) + yys3236Slc = r.DecodeBytes(yys3236Slc, true, true) + yys3236 := string(yys3236Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3210 { + switch yys3236 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -39928,31 +40227,31 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3213 := &x.ListMeta - yym3214 := z.DecBinary() - _ = yym3214 + yyv3239 := &x.ListMeta + yym3240 := z.DecBinary() + _ = yym3240 if false { - } else if z.HasExtensions() && z.DecExt(yyv3213) { + } else if z.HasExtensions() && z.DecExt(yyv3239) { } else { - z.DecFallback(yyv3213, false) + z.DecFallback(yyv3239, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3215 := &x.Items - yym3216 := z.DecBinary() - _ = yym3216 + yyv3241 := &x.Items + yym3242 := z.DecBinary() + _ = yym3242 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv3215), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3241), d) } } default: - z.DecStructFieldNotFound(-1, yys3210) - } // end switch yys3210 - } // end for yyj3210 + z.DecStructFieldNotFound(-1, yys3236) + } // end switch yys3236 + } // end for yyj3236 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39960,16 +40259,16 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3217 int - var yyb3217 bool - var yyhl3217 bool = l >= 0 - yyj3217++ - if yyhl3217 { - yyb3217 = yyj3217 > l + var yyj3243 int + var yyb3243 bool + var yyhl3243 bool = l >= 0 + yyj3243++ + if yyhl3243 { + yyb3243 = yyj3243 > l } else { - yyb3217 = r.CheckBreak() + yyb3243 = r.CheckBreak() } - if yyb3217 { + if yyb3243 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39979,13 +40278,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj3217++ - if yyhl3217 { - yyb3217 = yyj3217 > l + yyj3243++ + if yyhl3243 { + yyb3243 = yyj3243 > l } else { - yyb3217 = r.CheckBreak() + yyb3243 = r.CheckBreak() } - if yyb3217 { + if yyb3243 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39995,13 +40294,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj3217++ - if yyhl3217 { - yyb3217 = yyj3217 > l + yyj3243++ + if yyhl3243 { + yyb3243 = yyj3243 > l } else { - yyb3217 = r.CheckBreak() + yyb3243 = r.CheckBreak() } - if yyb3217 { + if yyb3243 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40009,22 +40308,22 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3220 := &x.ListMeta - yym3221 := z.DecBinary() - _ = yym3221 + yyv3246 := &x.ListMeta + yym3247 := z.DecBinary() + _ = yym3247 if false { - } else if z.HasExtensions() && z.DecExt(yyv3220) { + } else if z.HasExtensions() && z.DecExt(yyv3246) { } else { - z.DecFallback(yyv3220, false) + z.DecFallback(yyv3246, false) } } - yyj3217++ - if yyhl3217 { - yyb3217 = yyj3217 > l + yyj3243++ + if yyhl3243 { + yyb3243 = yyj3243 > l } else { - yyb3217 = r.CheckBreak() + yyb3243 = r.CheckBreak() } - if yyb3217 { + if yyb3243 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40032,26 +40331,26 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3222 := &x.Items - yym3223 := z.DecBinary() - _ = yym3223 + yyv3248 := &x.Items + yym3249 := z.DecBinary() + _ = yym3249 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv3222), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3248), d) } } for { - yyj3217++ - if yyhl3217 { - yyb3217 = yyj3217 > l + yyj3243++ + if yyhl3243 { + yyb3243 = yyj3243 > l } else { - yyb3217 = r.CheckBreak() + yyb3243 = r.CheckBreak() } - if yyb3217 { + if yyb3243 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3217-1, "") + z.DecStructFieldNotFound(yyj3243-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40063,39 +40362,39 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3224 := z.EncBinary() - _ = yym3224 + yym3250 := z.EncBinary() + _ = yym3250 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3225 := !z.EncBinary() - yy2arr3225 := z.EncBasicHandle().StructToArray - var yyq3225 [5]bool - _, _, _ = yysep3225, yyq3225, yy2arr3225 - const yyr3225 bool = false - yyq3225[0] = x.Kind != "" - yyq3225[1] = x.APIVersion != "" - yyq3225[2] = true - yyq3225[3] = len(x.Data) != 0 - yyq3225[4] = x.Type != "" - var yynn3225 int - if yyr3225 || yy2arr3225 { + yysep3251 := !z.EncBinary() + yy2arr3251 := z.EncBasicHandle().StructToArray + var yyq3251 [5]bool + _, _, _ = yysep3251, yyq3251, yy2arr3251 + const yyr3251 bool = false + yyq3251[0] = x.Kind != "" + yyq3251[1] = x.APIVersion != "" + yyq3251[2] = true + yyq3251[3] = len(x.Data) != 0 + yyq3251[4] = x.Type != "" + var yynn3251 int + if yyr3251 || yy2arr3251 { r.EncodeArrayStart(5) } else { - yynn3225 = 0 - for _, b := range yyq3225 { + yynn3251 = 0 + for _, b := range yyq3251 { if b { - yynn3225++ + yynn3251++ } } - r.EncodeMapStart(yynn3225) - yynn3225 = 0 + r.EncodeMapStart(yynn3251) + yynn3251 = 0 } - if yyr3225 || yy2arr3225 { + if yyr3251 || yy2arr3251 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3225[0] { - yym3227 := z.EncBinary() - _ = yym3227 + if yyq3251[0] { + yym3253 := z.EncBinary() + _ = yym3253 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40104,23 +40403,23 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3225[0] { + if yyq3251[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3228 := z.EncBinary() - _ = yym3228 + yym3254 := z.EncBinary() + _ = yym3254 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3225 || yy2arr3225 { + if yyr3251 || yy2arr3251 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3225[1] { - yym3230 := z.EncBinary() - _ = yym3230 + if yyq3251[1] { + yym3256 := z.EncBinary() + _ = yym3256 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40129,43 +40428,43 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3225[1] { + if yyq3251[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3231 := z.EncBinary() - _ = yym3231 + yym3257 := z.EncBinary() + _ = yym3257 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3225 || yy2arr3225 { + if yyr3251 || yy2arr3251 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3225[2] { - yy3233 := &x.ObjectMeta - yy3233.CodecEncodeSelf(e) + if yyq3251[2] { + yy3259 := &x.ObjectMeta + yy3259.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3225[2] { + if yyq3251[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3234 := &x.ObjectMeta - yy3234.CodecEncodeSelf(e) + yy3260 := &x.ObjectMeta + yy3260.CodecEncodeSelf(e) } } - if yyr3225 || yy2arr3225 { + if yyr3251 || yy2arr3251 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3225[3] { + if yyq3251[3] { if x.Data == nil { r.EncodeNil() } else { - yym3236 := z.EncBinary() - _ = yym3236 + yym3262 := z.EncBinary() + _ = yym3262 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -40175,15 +40474,15 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3225[3] { + if yyq3251[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym3237 := z.EncBinary() - _ = yym3237 + yym3263 := z.EncBinary() + _ = yym3263 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -40191,22 +40490,22 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3225 || yy2arr3225 { + if yyr3251 || yy2arr3251 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3225[4] { + if yyq3251[4] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3225[4] { + if yyq3251[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr3225 || yy2arr3225 { + if yyr3251 || yy2arr3251 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40219,25 +40518,25 @@ func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3239 := z.DecBinary() - _ = yym3239 + yym3265 := z.DecBinary() + _ = yym3265 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3240 := r.ContainerType() - if yyct3240 == codecSelferValueTypeMap1234 { - yyl3240 := r.ReadMapStart() - if yyl3240 == 0 { + yyct3266 := r.ContainerType() + if yyct3266 == codecSelferValueTypeMap1234 { + yyl3266 := r.ReadMapStart() + if yyl3266 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3240, d) + x.codecDecodeSelfFromMap(yyl3266, d) } - } else if yyct3240 == codecSelferValueTypeArray1234 { - yyl3240 := r.ReadArrayStart() - if yyl3240 == 0 { + } else if yyct3266 == codecSelferValueTypeArray1234 { + yyl3266 := r.ReadArrayStart() + if yyl3266 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3240, d) + x.codecDecodeSelfFromArray(yyl3266, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40249,12 +40548,12 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3241Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3241Slc - var yyhl3241 bool = l >= 0 - for yyj3241 := 0; ; yyj3241++ { - if yyhl3241 { - if yyj3241 >= l { + var yys3267Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3267Slc + var yyhl3267 bool = l >= 0 + for yyj3267 := 0; ; yyj3267++ { + if yyhl3267 { + if yyj3267 >= l { break } } else { @@ -40263,10 +40562,10 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3241Slc = r.DecodeBytes(yys3241Slc, true, true) - yys3241 := string(yys3241Slc) + yys3267Slc = r.DecodeBytes(yys3267Slc, true, true) + yys3267 := string(yys3267Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3241 { + switch yys3267 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -40283,19 +40582,19 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3244 := &x.ObjectMeta - yyv3244.CodecDecodeSelf(d) + yyv3270 := &x.ObjectMeta + yyv3270.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3245 := &x.Data - yym3246 := z.DecBinary() - _ = yym3246 + yyv3271 := &x.Data + yym3272 := z.DecBinary() + _ = yym3272 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv3245), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv3271), d) } } case "type": @@ -40305,9 +40604,9 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Type = SecretType(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3241) - } // end switch yys3241 - } // end for yyj3241 + z.DecStructFieldNotFound(-1, yys3267) + } // end switch yys3267 + } // end for yyj3267 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40315,16 +40614,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3248 int - var yyb3248 bool - var yyhl3248 bool = l >= 0 - yyj3248++ - if yyhl3248 { - yyb3248 = yyj3248 > l + var yyj3274 int + var yyb3274 bool + var yyhl3274 bool = l >= 0 + yyj3274++ + if yyhl3274 { + yyb3274 = yyj3274 > l } else { - yyb3248 = r.CheckBreak() + yyb3274 = r.CheckBreak() } - if yyb3248 { + if yyb3274 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40334,13 +40633,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3248++ - if yyhl3248 { - yyb3248 = yyj3248 > l + yyj3274++ + if yyhl3274 { + yyb3274 = yyj3274 > l } else { - yyb3248 = r.CheckBreak() + yyb3274 = r.CheckBreak() } - if yyb3248 { + if yyb3274 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40350,13 +40649,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3248++ - if yyhl3248 { - yyb3248 = yyj3248 > l + yyj3274++ + if yyhl3274 { + yyb3274 = yyj3274 > l } else { - yyb3248 = r.CheckBreak() + yyb3274 = r.CheckBreak() } - if yyb3248 { + if yyb3274 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40364,16 +40663,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3251 := &x.ObjectMeta - yyv3251.CodecDecodeSelf(d) + yyv3277 := &x.ObjectMeta + yyv3277.CodecDecodeSelf(d) } - yyj3248++ - if yyhl3248 { - yyb3248 = yyj3248 > l + yyj3274++ + if yyhl3274 { + yyb3274 = yyj3274 > l } else { - yyb3248 = r.CheckBreak() + yyb3274 = r.CheckBreak() } - if yyb3248 { + if yyb3274 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40381,21 +40680,21 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3252 := &x.Data - yym3253 := z.DecBinary() - _ = yym3253 + yyv3278 := &x.Data + yym3279 := z.DecBinary() + _ = yym3279 if false { } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv3252), d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv3278), d) } } - yyj3248++ - if yyhl3248 { - yyb3248 = yyj3248 > l + yyj3274++ + if yyhl3274 { + yyb3274 = yyj3274 > l } else { - yyb3248 = r.CheckBreak() + yyb3274 = r.CheckBreak() } - if yyb3248 { + if yyb3274 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40406,17 +40705,17 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = SecretType(r.DecodeString()) } for { - yyj3248++ - if yyhl3248 { - yyb3248 = yyj3248 > l + yyj3274++ + if yyhl3274 { + yyb3274 = yyj3274 > l } else { - yyb3248 = r.CheckBreak() + yyb3274 = r.CheckBreak() } - if yyb3248 { + if yyb3274 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3248-1, "") + z.DecStructFieldNotFound(yyj3274-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40425,8 +40724,8 @@ func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3255 := z.EncBinary() - _ = yym3255 + yym3281 := z.EncBinary() + _ = yym3281 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -40438,8 +40737,8 @@ func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3256 := z.DecBinary() - _ = yym3256 + yym3282 := z.DecBinary() + _ = yym3282 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -40454,37 +40753,37 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3257 := z.EncBinary() - _ = yym3257 + yym3283 := z.EncBinary() + _ = yym3283 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3258 := !z.EncBinary() - yy2arr3258 := z.EncBasicHandle().StructToArray - var yyq3258 [4]bool - _, _, _ = yysep3258, yyq3258, yy2arr3258 - const yyr3258 bool = false - yyq3258[0] = x.Kind != "" - yyq3258[1] = x.APIVersion != "" - yyq3258[2] = true - var yynn3258 int - if yyr3258 || yy2arr3258 { + yysep3284 := !z.EncBinary() + yy2arr3284 := z.EncBasicHandle().StructToArray + var yyq3284 [4]bool + _, _, _ = yysep3284, yyq3284, yy2arr3284 + const yyr3284 bool = false + yyq3284[0] = x.Kind != "" + yyq3284[1] = x.APIVersion != "" + yyq3284[2] = true + var yynn3284 int + if yyr3284 || yy2arr3284 { r.EncodeArrayStart(4) } else { - yynn3258 = 1 - for _, b := range yyq3258 { + yynn3284 = 1 + for _, b := range yyq3284 { if b { - yynn3258++ + yynn3284++ } } - r.EncodeMapStart(yynn3258) - yynn3258 = 0 + r.EncodeMapStart(yynn3284) + yynn3284 = 0 } - if yyr3258 || yy2arr3258 { + if yyr3284 || yy2arr3284 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3258[0] { - yym3260 := z.EncBinary() - _ = yym3260 + if yyq3284[0] { + yym3286 := z.EncBinary() + _ = yym3286 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40493,23 +40792,23 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3258[0] { + if yyq3284[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3261 := z.EncBinary() - _ = yym3261 + yym3287 := z.EncBinary() + _ = yym3287 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3258 || yy2arr3258 { + if yyr3284 || yy2arr3284 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3258[1] { - yym3263 := z.EncBinary() - _ = yym3263 + if yyq3284[1] { + yym3289 := z.EncBinary() + _ = yym3289 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40518,54 +40817,54 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3258[1] { + if yyq3284[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3264 := z.EncBinary() - _ = yym3264 + yym3290 := z.EncBinary() + _ = yym3290 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3258 || yy2arr3258 { + if yyr3284 || yy2arr3284 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3258[2] { - yy3266 := &x.ListMeta - yym3267 := z.EncBinary() - _ = yym3267 + if yyq3284[2] { + yy3292 := &x.ListMeta + yym3293 := z.EncBinary() + _ = yym3293 if false { - } else if z.HasExtensions() && z.EncExt(yy3266) { + } else if z.HasExtensions() && z.EncExt(yy3292) { } else { - z.EncFallback(yy3266) + z.EncFallback(yy3292) } } else { r.EncodeNil() } } else { - if yyq3258[2] { + if yyq3284[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3268 := &x.ListMeta - yym3269 := z.EncBinary() - _ = yym3269 + yy3294 := &x.ListMeta + yym3295 := z.EncBinary() + _ = yym3295 if false { - } else if z.HasExtensions() && z.EncExt(yy3268) { + } else if z.HasExtensions() && z.EncExt(yy3294) { } else { - z.EncFallback(yy3268) + z.EncFallback(yy3294) } } } - if yyr3258 || yy2arr3258 { + if yyr3284 || yy2arr3284 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3271 := z.EncBinary() - _ = yym3271 + yym3297 := z.EncBinary() + _ = yym3297 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) @@ -40578,15 +40877,15 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3272 := z.EncBinary() - _ = yym3272 + yym3298 := z.EncBinary() + _ = yym3298 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) } } } - if yyr3258 || yy2arr3258 { + if yyr3284 || yy2arr3284 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40599,25 +40898,25 @@ func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3273 := z.DecBinary() - _ = yym3273 + yym3299 := z.DecBinary() + _ = yym3299 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3274 := r.ContainerType() - if yyct3274 == codecSelferValueTypeMap1234 { - yyl3274 := r.ReadMapStart() - if yyl3274 == 0 { + yyct3300 := r.ContainerType() + if yyct3300 == codecSelferValueTypeMap1234 { + yyl3300 := r.ReadMapStart() + if yyl3300 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3274, d) + x.codecDecodeSelfFromMap(yyl3300, d) } - } else if yyct3274 == codecSelferValueTypeArray1234 { - yyl3274 := r.ReadArrayStart() - if yyl3274 == 0 { + } else if yyct3300 == codecSelferValueTypeArray1234 { + yyl3300 := r.ReadArrayStart() + if yyl3300 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3274, d) + x.codecDecodeSelfFromArray(yyl3300, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40629,12 +40928,12 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3275Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3275Slc - var yyhl3275 bool = l >= 0 - for yyj3275 := 0; ; yyj3275++ { - if yyhl3275 { - if yyj3275 >= l { + var yys3301Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3301Slc + var yyhl3301 bool = l >= 0 + for yyj3301 := 0; ; yyj3301++ { + if yyhl3301 { + if yyj3301 >= l { break } } else { @@ -40643,10 +40942,10 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3275Slc = r.DecodeBytes(yys3275Slc, true, true) - yys3275 := string(yys3275Slc) + yys3301Slc = r.DecodeBytes(yys3301Slc, true, true) + yys3301 := string(yys3301Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3275 { + switch yys3301 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -40663,353 +40962,35 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3278 := &x.ListMeta - yym3279 := z.DecBinary() - _ = yym3279 + yyv3304 := &x.ListMeta + yym3305 := z.DecBinary() + _ = yym3305 if false { - } else if z.HasExtensions() && z.DecExt(yyv3278) { + } else if z.HasExtensions() && z.DecExt(yyv3304) { } else { - z.DecFallback(yyv3278, false) + z.DecFallback(yyv3304, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3280 := &x.Items - yym3281 := z.DecBinary() - _ = yym3281 + yyv3306 := &x.Items + yym3307 := z.DecBinary() + _ = yym3307 if false { } else { - h.decSliceSecret((*[]Secret)(yyv3280), d) + h.decSliceSecret((*[]Secret)(yyv3306), d) } } default: - z.DecStructFieldNotFound(-1, yys3275) - } // end switch yys3275 - } // end for yyj3275 + z.DecStructFieldNotFound(-1, yys3301) + } // end switch yys3301 + } // end for yyj3301 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3282 int - var yyb3282 bool - var yyhl3282 bool = l >= 0 - yyj3282++ - if yyhl3282 { - yyb3282 = yyj3282 > l - } else { - yyb3282 = r.CheckBreak() - } - if yyb3282 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3282++ - if yyhl3282 { - yyb3282 = yyj3282 > l - } else { - yyb3282 = r.CheckBreak() - } - if yyb3282 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3282++ - if yyhl3282 { - yyb3282 = yyj3282 > l - } else { - yyb3282 = r.CheckBreak() - } - if yyb3282 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3285 := &x.ListMeta - yym3286 := z.DecBinary() - _ = yym3286 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3285) { - } else { - z.DecFallback(yyv3285, false) - } - } - yyj3282++ - if yyhl3282 { - yyb3282 = yyj3282 > l - } else { - yyb3282 = r.CheckBreak() - } - if yyb3282 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3287 := &x.Items - yym3288 := z.DecBinary() - _ = yym3288 - if false { - } else { - h.decSliceSecret((*[]Secret)(yyv3287), d) - } - } - for { - yyj3282++ - if yyhl3282 { - yyb3282 = yyj3282 > l - } else { - yyb3282 = r.CheckBreak() - } - if yyb3282 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3282-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3289 := z.EncBinary() - _ = yym3289 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3290 := z.DecBinary() - _ = yym3290 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3291 := z.EncBinary() - _ = yym3291 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3292 := !z.EncBinary() - yy2arr3292 := z.EncBasicHandle().StructToArray - var yyq3292 [4]bool - _, _, _ = yysep3292, yyq3292, yy2arr3292 - const yyr3292 bool = false - yyq3292[2] = x.Message != "" - yyq3292[3] = x.Error != "" - var yynn3292 int - if yyr3292 || yy2arr3292 { - r.EncodeArrayStart(4) - } else { - yynn3292 = 2 - for _, b := range yyq3292 { - if b { - yynn3292++ - } - } - r.EncodeMapStart(yynn3292) - yynn3292 = 0 - } - if yyr3292 || yy2arr3292 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Type.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("type")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Type.CodecEncodeSelf(e) - } - if yyr3292 || yy2arr3292 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Status.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Status.CodecEncodeSelf(e) - } - if yyr3292 || yy2arr3292 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3292[2] { - yym3296 := z.EncBinary() - _ = yym3296 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3292[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3297 := z.EncBinary() - _ = yym3297 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } - } - if yyr3292 || yy2arr3292 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3292[3] { - yym3299 := z.EncBinary() - _ = yym3299 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Error)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3292[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("error")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3300 := z.EncBinary() - _ = yym3300 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Error)) - } - } - } - if yyr3292 || yy2arr3292 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3301 := z.DecBinary() - _ = yym3301 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3302 := r.ContainerType() - if yyct3302 == codecSelferValueTypeMap1234 { - yyl3302 := r.ReadMapStart() - if yyl3302 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3302, d) - } - } else if yyct3302 == codecSelferValueTypeArray1234 { - yyl3302 := r.ReadArrayStart() - if yyl3302 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3302, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3303Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3303Slc - var yyhl3303 bool = l >= 0 - for yyj3303 := 0; ; yyj3303++ { - if yyhl3303 { - if yyj3303 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3303Slc = r.DecodeBytes(yys3303Slc, true, true) - yys3303 := string(yys3303Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3303 { - case "type": - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = ComponentConditionType(r.DecodeString()) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = "" - } else { - x.Status = ConditionStatus(r.DecodeString()) - } - case "message": - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - case "error": - if r.TryDecodeAsNil() { - x.Error = "" - } else { - x.Error = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys3303) - } // end switch yys3303 - } // end for yyj3303 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -41028,9 +41009,9 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Type = "" + x.Kind = "" } else { - x.Type = ComponentConditionType(r.DecodeString()) + x.Kind = string(r.DecodeString()) } yyj3308++ if yyhl3308 { @@ -41044,9 +41025,9 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Status = "" + x.APIVersion = "" } else { - x.Status = ConditionStatus(r.DecodeString()) + x.APIVersion = string(r.DecodeString()) } yyj3308++ if yyhl3308 { @@ -41060,9 +41041,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Message = "" + x.ListMeta = pkg2_unversioned.ListMeta{} } else { - x.Message = string(r.DecodeString()) + yyv3311 := &x.ListMeta + yym3312 := z.DecBinary() + _ = yym3312 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3311) { + } else { + z.DecFallback(yyv3311, false) + } } yyj3308++ if yyhl3308 { @@ -41076,9 +41064,15 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Error = "" + x.Items = nil } else { - x.Error = string(r.DecodeString()) + yyv3313 := &x.Items + yym3314 := z.DecBinary() + _ = yym3314 + if false { + } else { + h.decSliceSecret((*[]Secret)(yyv3313), d) + } } for { yyj3308++ @@ -41096,141 +41090,133 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { +func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3315 := z.EncBinary() + _ = yym3315 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3316 := z.DecBinary() + _ = yym3316 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym3313 := z.EncBinary() - _ = yym3313 + yym3317 := z.EncBinary() + _ = yym3317 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3314 := !z.EncBinary() - yy2arr3314 := z.EncBasicHandle().StructToArray - var yyq3314 [4]bool - _, _, _ = yysep3314, yyq3314, yy2arr3314 - const yyr3314 bool = false - yyq3314[0] = x.Kind != "" - yyq3314[1] = x.APIVersion != "" - yyq3314[2] = true - yyq3314[3] = len(x.Conditions) != 0 - var yynn3314 int - if yyr3314 || yy2arr3314 { + yysep3318 := !z.EncBinary() + yy2arr3318 := z.EncBasicHandle().StructToArray + var yyq3318 [4]bool + _, _, _ = yysep3318, yyq3318, yy2arr3318 + const yyr3318 bool = false + yyq3318[2] = x.Message != "" + yyq3318[3] = x.Error != "" + var yynn3318 int + if yyr3318 || yy2arr3318 { r.EncodeArrayStart(4) } else { - yynn3314 = 0 - for _, b := range yyq3314 { + yynn3318 = 2 + for _, b := range yyq3318 { if b { - yynn3314++ + yynn3318++ } } - r.EncodeMapStart(yynn3314) - yynn3314 = 0 + r.EncodeMapStart(yynn3318) + yynn3318 = 0 } - if yyr3314 || yy2arr3314 { + if yyr3318 || yy2arr3318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3314[0] { - yym3316 := z.EncBinary() - _ = yym3316 + x.Type.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Type.CodecEncodeSelf(e) + } + if yyr3318 || yy2arr3318 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Status.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Status.CodecEncodeSelf(e) + } + if yyr3318 || yy2arr3318 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3318[2] { + yym3322 := z.EncBinary() + _ = yym3322 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3314[0] { + if yyq3318[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) + r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3317 := z.EncBinary() - _ = yym3317 + yym3323 := z.EncBinary() + _ = yym3323 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3314 || yy2arr3314 { + if yyr3318 || yy2arr3318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3314[1] { - yym3319 := z.EncBinary() - _ = yym3319 + if yyq3318[3] { + yym3325 := z.EncBinary() + _ = yym3325 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3314[1] { + if yyq3318[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3320 := z.EncBinary() - _ = yym3320 + yym3326 := z.EncBinary() + _ = yym3326 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr3314 || yy2arr3314 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3314[2] { - yy3322 := &x.ObjectMeta - yy3322.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3314[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3323 := &x.ObjectMeta - yy3323.CodecEncodeSelf(e) - } - } - if yyr3314 || yy2arr3314 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3314[3] { - if x.Conditions == nil { - r.EncodeNil() - } else { - yym3325 := z.EncBinary() - _ = yym3325 - if false { - } else { - h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq3314[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("conditions")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Conditions == nil { - r.EncodeNil() - } else { - yym3326 := z.EncBinary() - _ = yym3326 - if false { - } else { - h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) - } - } - } - } - if yyr3314 || yy2arr3314 { + if yyr3318 || yy2arr3318 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41239,7 +41225,7 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -41269,7 +41255,7 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -41291,6 +41277,319 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys3329 := string(yys3329Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys3329 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = ComponentConditionType(r.DecodeString()) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = ConditionStatus(r.DecodeString()) + } + case "message": + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + case "error": + if r.TryDecodeAsNil() { + x.Error = "" + } else { + x.Error = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys3329) + } // end switch yys3329 + } // end for yyj3329 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj3334 int + var yyb3334 bool + var yyhl3334 bool = l >= 0 + yyj3334++ + if yyhl3334 { + yyb3334 = yyj3334 > l + } else { + yyb3334 = r.CheckBreak() + } + if yyb3334 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = ComponentConditionType(r.DecodeString()) + } + yyj3334++ + if yyhl3334 { + yyb3334 = yyj3334 > l + } else { + yyb3334 = r.CheckBreak() + } + if yyb3334 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = ConditionStatus(r.DecodeString()) + } + yyj3334++ + if yyhl3334 { + yyb3334 = yyj3334 > l + } else { + yyb3334 = r.CheckBreak() + } + if yyb3334 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + yyj3334++ + if yyhl3334 { + yyb3334 = yyj3334 > l + } else { + yyb3334 = r.CheckBreak() + } + if yyb3334 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Error = "" + } else { + x.Error = string(r.DecodeString()) + } + for { + yyj3334++ + if yyhl3334 { + yyb3334 = yyj3334 > l + } else { + yyb3334 = r.CheckBreak() + } + if yyb3334 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3334-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3339 := z.EncBinary() + _ = yym3339 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep3340 := !z.EncBinary() + yy2arr3340 := z.EncBasicHandle().StructToArray + var yyq3340 [4]bool + _, _, _ = yysep3340, yyq3340, yy2arr3340 + const yyr3340 bool = false + yyq3340[0] = x.Kind != "" + yyq3340[1] = x.APIVersion != "" + yyq3340[2] = true + yyq3340[3] = len(x.Conditions) != 0 + var yynn3340 int + if yyr3340 || yy2arr3340 { + r.EncodeArrayStart(4) + } else { + yynn3340 = 0 + for _, b := range yyq3340 { + if b { + yynn3340++ + } + } + r.EncodeMapStart(yynn3340) + yynn3340 = 0 + } + if yyr3340 || yy2arr3340 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3340[0] { + yym3342 := z.EncBinary() + _ = yym3342 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3340[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3343 := z.EncBinary() + _ = yym3343 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3340 || yy2arr3340 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3340[1] { + yym3345 := z.EncBinary() + _ = yym3345 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3340[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3346 := z.EncBinary() + _ = yym3346 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3340 || yy2arr3340 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3340[2] { + yy3348 := &x.ObjectMeta + yy3348.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3340[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3349 := &x.ObjectMeta + yy3349.CodecEncodeSelf(e) + } + } + if yyr3340 || yy2arr3340 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3340[3] { + if x.Conditions == nil { + r.EncodeNil() + } else { + yym3351 := z.EncBinary() + _ = yym3351 + if false { + } else { + h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3340[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("conditions")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Conditions == nil { + r.EncodeNil() + } else { + yym3352 := z.EncBinary() + _ = yym3352 + if false { + } else { + h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) + } + } + } + } + if yyr3340 || yy2arr3340 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3353 := z.DecBinary() + _ = yym3353 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3354 := r.ContainerType() + if yyct3354 == codecSelferValueTypeMap1234 { + yyl3354 := r.ReadMapStart() + if yyl3354 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3354, d) + } + } else if yyct3354 == codecSelferValueTypeArray1234 { + yyl3354 := r.ReadArrayStart() + if yyl3354 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3354, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys3355Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3355Slc + var yyhl3355 bool = l >= 0 + for yyj3355 := 0; ; yyj3355++ { + if yyhl3355 { + if yyj3355 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3355Slc = r.DecodeBytes(yys3355Slc, true, true) + yys3355 := string(yys3355Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3355 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -41307,25 +41606,25 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3332 := &x.ObjectMeta - yyv3332.CodecDecodeSelf(d) + yyv3358 := &x.ObjectMeta + yyv3358.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3333 := &x.Conditions - yym3334 := z.DecBinary() - _ = yym3334 + yyv3359 := &x.Conditions + yym3360 := z.DecBinary() + _ = yym3360 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3333), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3359), d) } } default: - z.DecStructFieldNotFound(-1, yys3329) - } // end switch yys3329 - } // end for yyj3329 + z.DecStructFieldNotFound(-1, yys3355) + } // end switch yys3355 + } // end for yyj3355 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41333,16 +41632,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3335 int - var yyb3335 bool - var yyhl3335 bool = l >= 0 - yyj3335++ - if yyhl3335 { - yyb3335 = yyj3335 > l + var yyj3361 int + var yyb3361 bool + var yyhl3361 bool = l >= 0 + yyj3361++ + if yyhl3361 { + yyb3361 = yyj3361 > l } else { - yyb3335 = r.CheckBreak() + yyb3361 = r.CheckBreak() } - if yyb3335 { + if yyb3361 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41352,13 +41651,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3335++ - if yyhl3335 { - yyb3335 = yyj3335 > l + yyj3361++ + if yyhl3361 { + yyb3361 = yyj3361 > l } else { - yyb3335 = r.CheckBreak() + yyb3361 = r.CheckBreak() } - if yyb3335 { + if yyb3361 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41368,13 +41667,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3335++ - if yyhl3335 { - yyb3335 = yyj3335 > l + yyj3361++ + if yyhl3361 { + yyb3361 = yyj3361 > l } else { - yyb3335 = r.CheckBreak() + yyb3361 = r.CheckBreak() } - if yyb3335 { + if yyb3361 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41382,16 +41681,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3338 := &x.ObjectMeta - yyv3338.CodecDecodeSelf(d) + yyv3364 := &x.ObjectMeta + yyv3364.CodecDecodeSelf(d) } - yyj3335++ - if yyhl3335 { - yyb3335 = yyj3335 > l + yyj3361++ + if yyhl3361 { + yyb3361 = yyj3361 > l } else { - yyb3335 = r.CheckBreak() + yyb3361 = r.CheckBreak() } - if yyb3335 { + if yyb3361 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41399,26 +41698,26 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3339 := &x.Conditions - yym3340 := z.DecBinary() - _ = yym3340 + yyv3365 := &x.Conditions + yym3366 := z.DecBinary() + _ = yym3366 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv3339), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv3365), d) } } for { - yyj3335++ - if yyhl3335 { - yyb3335 = yyj3335 > l + yyj3361++ + if yyhl3361 { + yyb3361 = yyj3361 > l } else { - yyb3335 = r.CheckBreak() + yyb3361 = r.CheckBreak() } - if yyb3335 { + if yyb3361 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3335-1, "") + z.DecStructFieldNotFound(yyj3361-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41430,37 +41729,37 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3341 := z.EncBinary() - _ = yym3341 + yym3367 := z.EncBinary() + _ = yym3367 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3342 := !z.EncBinary() - yy2arr3342 := z.EncBasicHandle().StructToArray - var yyq3342 [4]bool - _, _, _ = yysep3342, yyq3342, yy2arr3342 - const yyr3342 bool = false - yyq3342[0] = x.Kind != "" - yyq3342[1] = x.APIVersion != "" - yyq3342[2] = true - var yynn3342 int - if yyr3342 || yy2arr3342 { + yysep3368 := !z.EncBinary() + yy2arr3368 := z.EncBasicHandle().StructToArray + var yyq3368 [4]bool + _, _, _ = yysep3368, yyq3368, yy2arr3368 + const yyr3368 bool = false + yyq3368[0] = x.Kind != "" + yyq3368[1] = x.APIVersion != "" + yyq3368[2] = true + var yynn3368 int + if yyr3368 || yy2arr3368 { r.EncodeArrayStart(4) } else { - yynn3342 = 1 - for _, b := range yyq3342 { + yynn3368 = 1 + for _, b := range yyq3368 { if b { - yynn3342++ + yynn3368++ } } - r.EncodeMapStart(yynn3342) - yynn3342 = 0 + r.EncodeMapStart(yynn3368) + yynn3368 = 0 } - if yyr3342 || yy2arr3342 { + if yyr3368 || yy2arr3368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3342[0] { - yym3344 := z.EncBinary() - _ = yym3344 + if yyq3368[0] { + yym3370 := z.EncBinary() + _ = yym3370 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -41469,23 +41768,23 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3342[0] { + if yyq3368[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3345 := z.EncBinary() - _ = yym3345 + yym3371 := z.EncBinary() + _ = yym3371 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3342 || yy2arr3342 { + if yyr3368 || yy2arr3368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3342[1] { - yym3347 := z.EncBinary() - _ = yym3347 + if yyq3368[1] { + yym3373 := z.EncBinary() + _ = yym3373 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -41494,54 +41793,54 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3342[1] { + if yyq3368[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3348 := z.EncBinary() - _ = yym3348 + yym3374 := z.EncBinary() + _ = yym3374 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3342 || yy2arr3342 { + if yyr3368 || yy2arr3368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3342[2] { - yy3350 := &x.ListMeta - yym3351 := z.EncBinary() - _ = yym3351 + if yyq3368[2] { + yy3376 := &x.ListMeta + yym3377 := z.EncBinary() + _ = yym3377 if false { - } else if z.HasExtensions() && z.EncExt(yy3350) { + } else if z.HasExtensions() && z.EncExt(yy3376) { } else { - z.EncFallback(yy3350) + z.EncFallback(yy3376) } } else { r.EncodeNil() } } else { - if yyq3342[2] { + if yyq3368[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3352 := &x.ListMeta - yym3353 := z.EncBinary() - _ = yym3353 + yy3378 := &x.ListMeta + yym3379 := z.EncBinary() + _ = yym3379 if false { - } else if z.HasExtensions() && z.EncExt(yy3352) { + } else if z.HasExtensions() && z.EncExt(yy3378) { } else { - z.EncFallback(yy3352) + z.EncFallback(yy3378) } } } - if yyr3342 || yy2arr3342 { + if yyr3368 || yy2arr3368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3355 := z.EncBinary() - _ = yym3355 + yym3381 := z.EncBinary() + _ = yym3381 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -41554,15 +41853,15 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3356 := z.EncBinary() - _ = yym3356 + yym3382 := z.EncBinary() + _ = yym3382 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr3342 || yy2arr3342 { + if yyr3368 || yy2arr3368 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41575,25 +41874,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3357 := z.DecBinary() - _ = yym3357 + yym3383 := z.DecBinary() + _ = yym3383 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3358 := r.ContainerType() - if yyct3358 == codecSelferValueTypeMap1234 { - yyl3358 := r.ReadMapStart() - if yyl3358 == 0 { + yyct3384 := r.ContainerType() + if yyct3384 == codecSelferValueTypeMap1234 { + yyl3384 := r.ReadMapStart() + if yyl3384 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3358, d) + x.codecDecodeSelfFromMap(yyl3384, d) } - } else if yyct3358 == codecSelferValueTypeArray1234 { - yyl3358 := r.ReadArrayStart() - if yyl3358 == 0 { + } else if yyct3384 == codecSelferValueTypeArray1234 { + yyl3384 := r.ReadArrayStart() + if yyl3384 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3358, d) + x.codecDecodeSelfFromArray(yyl3384, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41605,12 +41904,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3359Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3359Slc - var yyhl3359 bool = l >= 0 - for yyj3359 := 0; ; yyj3359++ { - if yyhl3359 { - if yyj3359 >= l { + var yys3385Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3385Slc + var yyhl3385 bool = l >= 0 + for yyj3385 := 0; ; yyj3385++ { + if yyhl3385 { + if yyj3385 >= l { break } } else { @@ -41619,10 +41918,10 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3359Slc = r.DecodeBytes(yys3359Slc, true, true) - yys3359 := string(yys3359Slc) + yys3385Slc = r.DecodeBytes(yys3385Slc, true, true) + yys3385 := string(yys3385Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3359 { + switch yys3385 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -41639,31 +41938,31 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3362 := &x.ListMeta - yym3363 := z.DecBinary() - _ = yym3363 + yyv3388 := &x.ListMeta + yym3389 := z.DecBinary() + _ = yym3389 if false { - } else if z.HasExtensions() && z.DecExt(yyv3362) { + } else if z.HasExtensions() && z.DecExt(yyv3388) { } else { - z.DecFallback(yyv3362, false) + z.DecFallback(yyv3388, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3364 := &x.Items - yym3365 := z.DecBinary() - _ = yym3365 + yyv3390 := &x.Items + yym3391 := z.DecBinary() + _ = yym3391 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3364), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3390), d) } } default: - z.DecStructFieldNotFound(-1, yys3359) - } // end switch yys3359 - } // end for yyj3359 + z.DecStructFieldNotFound(-1, yys3385) + } // end switch yys3385 + } // end for yyj3385 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41671,16 +41970,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3366 int - var yyb3366 bool - var yyhl3366 bool = l >= 0 - yyj3366++ - if yyhl3366 { - yyb3366 = yyj3366 > l + var yyj3392 int + var yyb3392 bool + var yyhl3392 bool = l >= 0 + yyj3392++ + if yyhl3392 { + yyb3392 = yyj3392 > l } else { - yyb3366 = r.CheckBreak() + yyb3392 = r.CheckBreak() } - if yyb3366 { + if yyb3392 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41690,13 +41989,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3366++ - if yyhl3366 { - yyb3366 = yyj3366 > l + yyj3392++ + if yyhl3392 { + yyb3392 = yyj3392 > l } else { - yyb3366 = r.CheckBreak() + yyb3392 = r.CheckBreak() } - if yyb3366 { + if yyb3392 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41706,13 +42005,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3366++ - if yyhl3366 { - yyb3366 = yyj3366 > l + yyj3392++ + if yyhl3392 { + yyb3392 = yyj3392 > l } else { - yyb3366 = r.CheckBreak() + yyb3392 = r.CheckBreak() } - if yyb3366 { + if yyb3392 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41720,22 +42019,22 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3369 := &x.ListMeta - yym3370 := z.DecBinary() - _ = yym3370 + yyv3395 := &x.ListMeta + yym3396 := z.DecBinary() + _ = yym3396 if false { - } else if z.HasExtensions() && z.DecExt(yyv3369) { + } else if z.HasExtensions() && z.DecExt(yyv3395) { } else { - z.DecFallback(yyv3369, false) + z.DecFallback(yyv3395, false) } } - yyj3366++ - if yyhl3366 { - yyb3366 = yyj3366 > l + yyj3392++ + if yyhl3392 { + yyb3392 = yyj3392 > l } else { - yyb3366 = r.CheckBreak() + yyb3392 = r.CheckBreak() } - if yyb3366 { + if yyb3392 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41743,26 +42042,26 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3371 := &x.Items - yym3372 := z.DecBinary() - _ = yym3372 + yyv3397 := &x.Items + yym3398 := z.DecBinary() + _ = yym3398 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv3371), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv3397), d) } } for { - yyj3366++ - if yyhl3366 { - yyb3366 = yyj3366 > l + yyj3392++ + if yyhl3392 { + yyb3392 = yyj3392 > l } else { - yyb3366 = r.CheckBreak() + yyb3392 = r.CheckBreak() } - if yyb3366 { + if yyb3392 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3366-1, "") + z.DecStructFieldNotFound(yyj3392-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41774,38 +42073,38 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3373 := z.EncBinary() - _ = yym3373 + yym3399 := z.EncBinary() + _ = yym3399 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3374 := !z.EncBinary() - yy2arr3374 := z.EncBasicHandle().StructToArray - var yyq3374 [1]bool - _, _, _ = yysep3374, yyq3374, yy2arr3374 - const yyr3374 bool = false - yyq3374[0] = len(x.Items) != 0 - var yynn3374 int - if yyr3374 || yy2arr3374 { + yysep3400 := !z.EncBinary() + yy2arr3400 := z.EncBasicHandle().StructToArray + var yyq3400 [1]bool + _, _, _ = yysep3400, yyq3400, yy2arr3400 + const yyr3400 bool = false + yyq3400[0] = len(x.Items) != 0 + var yynn3400 int + if yyr3400 || yy2arr3400 { r.EncodeArrayStart(1) } else { - yynn3374 = 0 - for _, b := range yyq3374 { + yynn3400 = 0 + for _, b := range yyq3400 { if b { - yynn3374++ + yynn3400++ } } - r.EncodeMapStart(yynn3374) - yynn3374 = 0 + r.EncodeMapStart(yynn3400) + yynn3400 = 0 } - if yyr3374 || yy2arr3374 { + if yyr3400 || yy2arr3400 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3374[0] { + if yyq3400[0] { if x.Items == nil { r.EncodeNil() } else { - yym3376 := z.EncBinary() - _ = yym3376 + yym3402 := z.EncBinary() + _ = yym3402 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -41815,15 +42114,15 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3374[0] { + if yyq3400[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym3377 := z.EncBinary() - _ = yym3377 + yym3403 := z.EncBinary() + _ = yym3403 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -41831,7 +42130,7 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3374 || yy2arr3374 { + if yyr3400 || yy2arr3400 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41844,25 +42143,25 @@ func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3378 := z.DecBinary() - _ = yym3378 + yym3404 := z.DecBinary() + _ = yym3404 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3379 := r.ContainerType() - if yyct3379 == codecSelferValueTypeMap1234 { - yyl3379 := r.ReadMapStart() - if yyl3379 == 0 { + yyct3405 := r.ContainerType() + if yyct3405 == codecSelferValueTypeMap1234 { + yyl3405 := r.ReadMapStart() + if yyl3405 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3379, d) + x.codecDecodeSelfFromMap(yyl3405, d) } - } else if yyct3379 == codecSelferValueTypeArray1234 { - yyl3379 := r.ReadArrayStart() - if yyl3379 == 0 { + } else if yyct3405 == codecSelferValueTypeArray1234 { + yyl3405 := r.ReadArrayStart() + if yyl3405 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3379, d) + x.codecDecodeSelfFromArray(yyl3405, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41874,12 +42173,12 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3380Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3380Slc - var yyhl3380 bool = l >= 0 - for yyj3380 := 0; ; yyj3380++ { - if yyhl3380 { - if yyj3380 >= l { + var yys3406Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3406Slc + var yyhl3406 bool = l >= 0 + for yyj3406 := 0; ; yyj3406++ { + if yyhl3406 { + if yyj3406 >= l { break } } else { @@ -41888,26 +42187,26 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3380Slc = r.DecodeBytes(yys3380Slc, true, true) - yys3380 := string(yys3380Slc) + yys3406Slc = r.DecodeBytes(yys3406Slc, true, true) + yys3406 := string(yys3406Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3380 { + switch yys3406 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3381 := &x.Items - yym3382 := z.DecBinary() - _ = yym3382 + yyv3407 := &x.Items + yym3408 := z.DecBinary() + _ = yym3408 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3381), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3407), d) } } default: - z.DecStructFieldNotFound(-1, yys3380) - } // end switch yys3380 - } // end for yyj3380 + z.DecStructFieldNotFound(-1, yys3406) + } // end switch yys3406 + } // end for yyj3406 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41915,16 +42214,16 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3383 int - var yyb3383 bool - var yyhl3383 bool = l >= 0 - yyj3383++ - if yyhl3383 { - yyb3383 = yyj3383 > l + var yyj3409 int + var yyb3409 bool + var yyhl3409 bool = l >= 0 + yyj3409++ + if yyhl3409 { + yyb3409 = yyj3409 > l } else { - yyb3383 = r.CheckBreak() + yyb3409 = r.CheckBreak() } - if yyb3383 { + if yyb3409 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41932,26 +42231,26 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3384 := &x.Items - yym3385 := z.DecBinary() - _ = yym3385 + yyv3410 := &x.Items + yym3411 := z.DecBinary() + _ = yym3411 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3384), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv3410), d) } } for { - yyj3383++ - if yyhl3383 { - yyb3383 = yyj3383 > l + yyj3409++ + if yyhl3409 { + yyb3409 = yyj3409 > l } else { - yyb3383 = r.CheckBreak() + yyb3409 = r.CheckBreak() } - if yyb3383 { + if yyb3409 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3383-1, "") + z.DecStructFieldNotFound(yyj3409-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41963,33 +42262,33 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3386 := z.EncBinary() - _ = yym3386 + yym3412 := z.EncBinary() + _ = yym3412 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3387 := !z.EncBinary() - yy2arr3387 := z.EncBasicHandle().StructToArray - var yyq3387 [2]bool - _, _, _ = yysep3387, yyq3387, yy2arr3387 - const yyr3387 bool = false - var yynn3387 int - if yyr3387 || yy2arr3387 { + yysep3413 := !z.EncBinary() + yy2arr3413 := z.EncBasicHandle().StructToArray + var yyq3413 [2]bool + _, _, _ = yysep3413, yyq3413, yy2arr3413 + const yyr3413 bool = false + var yynn3413 int + if yyr3413 || yy2arr3413 { r.EncodeArrayStart(2) } else { - yynn3387 = 2 - for _, b := range yyq3387 { + yynn3413 = 2 + for _, b := range yyq3413 { if b { - yynn3387++ + yynn3413++ } } - r.EncodeMapStart(yynn3387) - yynn3387 = 0 + r.EncodeMapStart(yynn3413) + yynn3413 = 0 } - if yyr3387 || yy2arr3387 { + if yyr3413 || yy2arr3413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3389 := z.EncBinary() - _ = yym3389 + yym3415 := z.EncBinary() + _ = yym3415 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -41998,25 +42297,25 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3390 := z.EncBinary() - _ = yym3390 + yym3416 := z.EncBinary() + _ = yym3416 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr3387 || yy2arr3387 { + if yyr3413 || yy2arr3413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3392 := &x.FieldRef - yy3392.CodecEncodeSelf(e) + yy3418 := &x.FieldRef + yy3418.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3393 := &x.FieldRef - yy3393.CodecEncodeSelf(e) + yy3419 := &x.FieldRef + yy3419.CodecEncodeSelf(e) } - if yyr3387 || yy2arr3387 { + if yyr3413 || yy2arr3413 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42029,25 +42328,25 @@ func (x *DownwardAPIVolumeFile) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3394 := z.DecBinary() - _ = yym3394 + yym3420 := z.DecBinary() + _ = yym3420 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3395 := r.ContainerType() - if yyct3395 == codecSelferValueTypeMap1234 { - yyl3395 := r.ReadMapStart() - if yyl3395 == 0 { + yyct3421 := r.ContainerType() + if yyct3421 == codecSelferValueTypeMap1234 { + yyl3421 := r.ReadMapStart() + if yyl3421 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3395, d) + x.codecDecodeSelfFromMap(yyl3421, d) } - } else if yyct3395 == codecSelferValueTypeArray1234 { - yyl3395 := r.ReadArrayStart() - if yyl3395 == 0 { + } else if yyct3421 == codecSelferValueTypeArray1234 { + yyl3421 := r.ReadArrayStart() + if yyl3421 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3395, d) + x.codecDecodeSelfFromArray(yyl3421, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42059,12 +42358,12 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3396Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3396Slc - var yyhl3396 bool = l >= 0 - for yyj3396 := 0; ; yyj3396++ { - if yyhl3396 { - if yyj3396 >= l { + var yys3422Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3422Slc + var yyhl3422 bool = l >= 0 + for yyj3422 := 0; ; yyj3422++ { + if yyhl3422 { + if yyj3422 >= l { break } } else { @@ -42073,10 +42372,10 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3396Slc = r.DecodeBytes(yys3396Slc, true, true) - yys3396 := string(yys3396Slc) + yys3422Slc = r.DecodeBytes(yys3422Slc, true, true) + yys3422 := string(yys3422Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3396 { + switch yys3422 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -42087,13 +42386,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.FieldRef = ObjectFieldSelector{} } else { - yyv3398 := &x.FieldRef - yyv3398.CodecDecodeSelf(d) + yyv3424 := &x.FieldRef + yyv3424.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3396) - } // end switch yys3396 - } // end for yyj3396 + z.DecStructFieldNotFound(-1, yys3422) + } // end switch yys3422 + } // end for yyj3422 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42101,16 +42400,16 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3399 int - var yyb3399 bool - var yyhl3399 bool = l >= 0 - yyj3399++ - if yyhl3399 { - yyb3399 = yyj3399 > l + var yyj3425 int + var yyb3425 bool + var yyhl3425 bool = l >= 0 + yyj3425++ + if yyhl3425 { + yyb3425 = yyj3425 > l } else { - yyb3399 = r.CheckBreak() + yyb3425 = r.CheckBreak() } - if yyb3399 { + if yyb3425 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42120,13 +42419,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj3399++ - if yyhl3399 { - yyb3399 = yyj3399 > l + yyj3425++ + if yyhl3425 { + yyb3425 = yyj3425 > l } else { - yyb3399 = r.CheckBreak() + yyb3425 = r.CheckBreak() } - if yyb3399 { + if yyb3425 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42134,21 +42433,21 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FieldRef = ObjectFieldSelector{} } else { - yyv3401 := &x.FieldRef - yyv3401.CodecDecodeSelf(d) + yyv3427 := &x.FieldRef + yyv3427.CodecDecodeSelf(d) } for { - yyj3399++ - if yyhl3399 { - yyb3399 = yyj3399 > l + yyj3425++ + if yyhl3425 { + yyb3425 = yyj3425 > l } else { - yyb3399 = r.CheckBreak() + yyb3425 = r.CheckBreak() } - if yyb3399 { + if yyb3425 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3399-1, "") + z.DecStructFieldNotFound(yyj3425-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42160,37 +42459,37 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3402 := z.EncBinary() - _ = yym3402 + yym3428 := z.EncBinary() + _ = yym3428 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3403 := !z.EncBinary() - yy2arr3403 := z.EncBasicHandle().StructToArray - var yyq3403 [5]bool - _, _, _ = yysep3403, yyq3403, yy2arr3403 - const yyr3403 bool = false - yyq3403[0] = x.Capabilities != nil - yyq3403[1] = x.Privileged != nil - yyq3403[2] = x.SELinuxOptions != nil - yyq3403[3] = x.RunAsUser != nil - yyq3403[4] = x.RunAsNonRoot != nil - var yynn3403 int - if yyr3403 || yy2arr3403 { + yysep3429 := !z.EncBinary() + yy2arr3429 := z.EncBasicHandle().StructToArray + var yyq3429 [5]bool + _, _, _ = yysep3429, yyq3429, yy2arr3429 + const yyr3429 bool = false + yyq3429[0] = x.Capabilities != nil + yyq3429[1] = x.Privileged != nil + yyq3429[2] = x.SELinuxOptions != nil + yyq3429[3] = x.RunAsUser != nil + yyq3429[4] = x.RunAsNonRoot != nil + var yynn3429 int + if yyr3429 || yy2arr3429 { r.EncodeArrayStart(5) } else { - yynn3403 = 0 - for _, b := range yyq3403 { + yynn3429 = 0 + for _, b := range yyq3429 { if b { - yynn3403++ + yynn3429++ } } - r.EncodeMapStart(yynn3403) - yynn3403 = 0 + r.EncodeMapStart(yynn3429) + yynn3429 = 0 } - if yyr3403 || yy2arr3403 { + if yyr3429 || yy2arr3429 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3403[0] { + if yyq3429[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -42200,7 +42499,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3403[0] { + if yyq3429[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -42211,44 +42510,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3403 || yy2arr3403 { + if yyr3429 || yy2arr3429 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3403[1] { + if yyq3429[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy3406 := *x.Privileged - yym3407 := z.EncBinary() - _ = yym3407 + yy3432 := *x.Privileged + yym3433 := z.EncBinary() + _ = yym3433 if false { } else { - r.EncodeBool(bool(yy3406)) + r.EncodeBool(bool(yy3432)) } } } else { r.EncodeNil() } } else { - if yyq3403[1] { + if yyq3429[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy3408 := *x.Privileged - yym3409 := z.EncBinary() - _ = yym3409 + yy3434 := *x.Privileged + yym3435 := z.EncBinary() + _ = yym3435 if false { } else { - r.EncodeBool(bool(yy3408)) + r.EncodeBool(bool(yy3434)) } } } } - if yyr3403 || yy2arr3403 { + if yyr3429 || yy2arr3429 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3403[2] { + if yyq3429[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -42258,7 +42557,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3403[2] { + if yyq3429[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -42269,77 +42568,77 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3403 || yy2arr3403 { + if yyr3429 || yy2arr3429 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3403[3] { + if yyq3429[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy3412 := *x.RunAsUser - yym3413 := z.EncBinary() - _ = yym3413 + yy3438 := *x.RunAsUser + yym3439 := z.EncBinary() + _ = yym3439 if false { } else { - r.EncodeInt(int64(yy3412)) + r.EncodeInt(int64(yy3438)) } } } else { r.EncodeNil() } } else { - if yyq3403[3] { + if yyq3429[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy3414 := *x.RunAsUser - yym3415 := z.EncBinary() - _ = yym3415 + yy3440 := *x.RunAsUser + yym3441 := z.EncBinary() + _ = yym3441 if false { } else { - r.EncodeInt(int64(yy3414)) + r.EncodeInt(int64(yy3440)) } } } } - if yyr3403 || yy2arr3403 { + if yyr3429 || yy2arr3429 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3403[4] { + if yyq3429[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3417 := *x.RunAsNonRoot - yym3418 := z.EncBinary() - _ = yym3418 + yy3443 := *x.RunAsNonRoot + yym3444 := z.EncBinary() + _ = yym3444 if false { } else { - r.EncodeBool(bool(yy3417)) + r.EncodeBool(bool(yy3443)) } } } else { r.EncodeNil() } } else { - if yyq3403[4] { + if yyq3429[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy3419 := *x.RunAsNonRoot - yym3420 := z.EncBinary() - _ = yym3420 + yy3445 := *x.RunAsNonRoot + yym3446 := z.EncBinary() + _ = yym3446 if false { } else { - r.EncodeBool(bool(yy3419)) + r.EncodeBool(bool(yy3445)) } } } } - if yyr3403 || yy2arr3403 { + if yyr3429 || yy2arr3429 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42352,25 +42651,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3421 := z.DecBinary() - _ = yym3421 + yym3447 := z.DecBinary() + _ = yym3447 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3422 := r.ContainerType() - if yyct3422 == codecSelferValueTypeMap1234 { - yyl3422 := r.ReadMapStart() - if yyl3422 == 0 { + yyct3448 := r.ContainerType() + if yyct3448 == codecSelferValueTypeMap1234 { + yyl3448 := r.ReadMapStart() + if yyl3448 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3422, d) + x.codecDecodeSelfFromMap(yyl3448, d) } - } else if yyct3422 == codecSelferValueTypeArray1234 { - yyl3422 := r.ReadArrayStart() - if yyl3422 == 0 { + } else if yyct3448 == codecSelferValueTypeArray1234 { + yyl3448 := r.ReadArrayStart() + if yyl3448 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3422, d) + x.codecDecodeSelfFromArray(yyl3448, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42382,12 +42681,12 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3423Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3423Slc - var yyhl3423 bool = l >= 0 - for yyj3423 := 0; ; yyj3423++ { - if yyhl3423 { - if yyj3423 >= l { + var yys3449Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3449Slc + var yyhl3449 bool = l >= 0 + for yyj3449 := 0; ; yyj3449++ { + if yyhl3449 { + if yyj3449 >= l { break } } else { @@ -42396,10 +42695,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3423Slc = r.DecodeBytes(yys3423Slc, true, true) - yys3423 := string(yys3423Slc) + yys3449Slc = r.DecodeBytes(yys3449Slc, true, true) + yys3449 := string(yys3449Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3423 { + switch yys3449 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -42420,8 +42719,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym3426 := z.DecBinary() - _ = yym3426 + yym3452 := z.DecBinary() + _ = yym3452 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -42447,8 +42746,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3429 := z.DecBinary() - _ = yym3429 + yym3455 := z.DecBinary() + _ = yym3455 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -42463,17 +42762,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3431 := z.DecBinary() - _ = yym3431 + yym3457 := z.DecBinary() + _ = yym3457 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3423) - } // end switch yys3423 - } // end for yyj3423 + z.DecStructFieldNotFound(-1, yys3449) + } // end switch yys3449 + } // end for yyj3449 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42481,16 +42780,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3432 int - var yyb3432 bool - var yyhl3432 bool = l >= 0 - yyj3432++ - if yyhl3432 { - yyb3432 = yyj3432 > l + var yyj3458 int + var yyb3458 bool + var yyhl3458 bool = l >= 0 + yyj3458++ + if yyhl3458 { + yyb3458 = yyj3458 > l } else { - yyb3432 = r.CheckBreak() + yyb3458 = r.CheckBreak() } - if yyb3432 { + if yyb3458 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42505,13 +42804,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj3432++ - if yyhl3432 { - yyb3432 = yyj3432 > l + yyj3458++ + if yyhl3458 { + yyb3458 = yyj3458 > l } else { - yyb3432 = r.CheckBreak() + yyb3458 = r.CheckBreak() } - if yyb3432 { + if yyb3458 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42524,20 +42823,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym3435 := z.DecBinary() - _ = yym3435 + yym3461 := z.DecBinary() + _ = yym3461 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj3432++ - if yyhl3432 { - yyb3432 = yyj3432 > l + yyj3458++ + if yyhl3458 { + yyb3458 = yyj3458 > l } else { - yyb3432 = r.CheckBreak() + yyb3458 = r.CheckBreak() } - if yyb3432 { + if yyb3458 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42552,13 +42851,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj3432++ - if yyhl3432 { - yyb3432 = yyj3432 > l + yyj3458++ + if yyhl3458 { + yyb3458 = yyj3458 > l } else { - yyb3432 = r.CheckBreak() + yyb3458 = r.CheckBreak() } - if yyb3432 { + if yyb3458 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42571,20 +42870,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym3438 := z.DecBinary() - _ = yym3438 + yym3464 := z.DecBinary() + _ = yym3464 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj3432++ - if yyhl3432 { - yyb3432 = yyj3432 > l + yyj3458++ + if yyhl3458 { + yyb3458 = yyj3458 > l } else { - yyb3432 = r.CheckBreak() + yyb3458 = r.CheckBreak() } - if yyb3432 { + if yyb3458 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42597,25 +42896,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym3440 := z.DecBinary() - _ = yym3440 + yym3466 := z.DecBinary() + _ = yym3466 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } for { - yyj3432++ - if yyhl3432 { - yyb3432 = yyj3432 > l + yyj3458++ + if yyhl3458 { + yyb3458 = yyj3458 > l } else { - yyb3432 = r.CheckBreak() + yyb3458 = r.CheckBreak() } - if yyb3432 { + if yyb3458 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3432-1, "") + z.DecStructFieldNotFound(yyj3458-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42627,38 +42926,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3441 := z.EncBinary() - _ = yym3441 + yym3467 := z.EncBinary() + _ = yym3467 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3442 := !z.EncBinary() - yy2arr3442 := z.EncBasicHandle().StructToArray - var yyq3442 [4]bool - _, _, _ = yysep3442, yyq3442, yy2arr3442 - const yyr3442 bool = false - yyq3442[0] = x.User != "" - yyq3442[1] = x.Role != "" - yyq3442[2] = x.Type != "" - yyq3442[3] = x.Level != "" - var yynn3442 int - if yyr3442 || yy2arr3442 { + yysep3468 := !z.EncBinary() + yy2arr3468 := z.EncBasicHandle().StructToArray + var yyq3468 [4]bool + _, _, _ = yysep3468, yyq3468, yy2arr3468 + const yyr3468 bool = false + yyq3468[0] = x.User != "" + yyq3468[1] = x.Role != "" + yyq3468[2] = x.Type != "" + yyq3468[3] = x.Level != "" + var yynn3468 int + if yyr3468 || yy2arr3468 { r.EncodeArrayStart(4) } else { - yynn3442 = 0 - for _, b := range yyq3442 { + yynn3468 = 0 + for _, b := range yyq3468 { if b { - yynn3442++ + yynn3468++ } } - r.EncodeMapStart(yynn3442) - yynn3442 = 0 + r.EncodeMapStart(yynn3468) + yynn3468 = 0 } - if yyr3442 || yy2arr3442 { + if yyr3468 || yy2arr3468 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3442[0] { - yym3444 := z.EncBinary() - _ = yym3444 + if yyq3468[0] { + yym3470 := z.EncBinary() + _ = yym3470 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -42667,23 +42966,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3442[0] { + if yyq3468[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3445 := z.EncBinary() - _ = yym3445 + yym3471 := z.EncBinary() + _ = yym3471 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr3442 || yy2arr3442 { + if yyr3468 || yy2arr3468 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3442[1] { - yym3447 := z.EncBinary() - _ = yym3447 + if yyq3468[1] { + yym3473 := z.EncBinary() + _ = yym3473 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) @@ -42692,23 +42991,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3442[1] { + if yyq3468[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("role")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3448 := z.EncBinary() - _ = yym3448 + yym3474 := z.EncBinary() + _ = yym3474 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) } } } - if yyr3442 || yy2arr3442 { + if yyr3468 || yy2arr3468 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3442[2] { - yym3450 := z.EncBinary() - _ = yym3450 + if yyq3468[2] { + yym3476 := z.EncBinary() + _ = yym3476 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -42717,23 +43016,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3442[2] { + if yyq3468[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3451 := z.EncBinary() - _ = yym3451 + yym3477 := z.EncBinary() + _ = yym3477 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3442 || yy2arr3442 { + if yyr3468 || yy2arr3468 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3442[3] { - yym3453 := z.EncBinary() - _ = yym3453 + if yyq3468[3] { + yym3479 := z.EncBinary() + _ = yym3479 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) @@ -42742,19 +43041,19 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3442[3] { + if yyq3468[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("level")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3454 := z.EncBinary() - _ = yym3454 + yym3480 := z.EncBinary() + _ = yym3480 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr3442 || yy2arr3442 { + if yyr3468 || yy2arr3468 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42767,25 +43066,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3455 := z.DecBinary() - _ = yym3455 + yym3481 := z.DecBinary() + _ = yym3481 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3456 := r.ContainerType() - if yyct3456 == codecSelferValueTypeMap1234 { - yyl3456 := r.ReadMapStart() - if yyl3456 == 0 { + yyct3482 := r.ContainerType() + if yyct3482 == codecSelferValueTypeMap1234 { + yyl3482 := r.ReadMapStart() + if yyl3482 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3456, d) + x.codecDecodeSelfFromMap(yyl3482, d) } - } else if yyct3456 == codecSelferValueTypeArray1234 { - yyl3456 := r.ReadArrayStart() - if yyl3456 == 0 { + } else if yyct3482 == codecSelferValueTypeArray1234 { + yyl3482 := r.ReadArrayStart() + if yyl3482 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3456, d) + x.codecDecodeSelfFromArray(yyl3482, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42797,12 +43096,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3457Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3457Slc - var yyhl3457 bool = l >= 0 - for yyj3457 := 0; ; yyj3457++ { - if yyhl3457 { - if yyj3457 >= l { + var yys3483Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3483Slc + var yyhl3483 bool = l >= 0 + for yyj3483 := 0; ; yyj3483++ { + if yyhl3483 { + if yyj3483 >= l { break } } else { @@ -42811,10 +43110,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3457Slc = r.DecodeBytes(yys3457Slc, true, true) - yys3457 := string(yys3457Slc) + yys3483Slc = r.DecodeBytes(yys3483Slc, true, true) + yys3483 := string(yys3483Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3457 { + switch yys3483 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -42840,9 +43139,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3457) - } // end switch yys3457 - } // end for yyj3457 + z.DecStructFieldNotFound(-1, yys3483) + } // end switch yys3483 + } // end for yyj3483 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42850,16 +43149,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3462 int - var yyb3462 bool - var yyhl3462 bool = l >= 0 - yyj3462++ - if yyhl3462 { - yyb3462 = yyj3462 > l + var yyj3488 int + var yyb3488 bool + var yyhl3488 bool = l >= 0 + yyj3488++ + if yyhl3488 { + yyb3488 = yyj3488 > l } else { - yyb3462 = r.CheckBreak() + yyb3488 = r.CheckBreak() } - if yyb3462 { + if yyb3488 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42869,13 +43168,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj3462++ - if yyhl3462 { - yyb3462 = yyj3462 > l + yyj3488++ + if yyhl3488 { + yyb3488 = yyj3488 > l } else { - yyb3462 = r.CheckBreak() + yyb3488 = r.CheckBreak() } - if yyb3462 { + if yyb3488 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42885,13 +43184,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj3462++ - if yyhl3462 { - yyb3462 = yyj3462 > l + yyj3488++ + if yyhl3488 { + yyb3488 = yyj3488 > l } else { - yyb3462 = r.CheckBreak() + yyb3488 = r.CheckBreak() } - if yyb3462 { + if yyb3488 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42901,13 +43200,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj3462++ - if yyhl3462 { - yyb3462 = yyj3462 > l + yyj3488++ + if yyhl3488 { + yyb3488 = yyj3488 > l } else { - yyb3462 = r.CheckBreak() + yyb3488 = r.CheckBreak() } - if yyb3462 { + if yyb3488 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42918,17 +43217,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj3462++ - if yyhl3462 { - yyb3462 = yyj3462 > l + yyj3488++ + if yyhl3488 { + yyb3488 = yyj3488 > l } else { - yyb3462 = r.CheckBreak() + yyb3488 = r.CheckBreak() } - if yyb3462 { + if yyb3488 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3462-1, "") + z.DecStructFieldNotFound(yyj3488-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42940,37 +43239,37 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3467 := z.EncBinary() - _ = yym3467 + yym3493 := z.EncBinary() + _ = yym3493 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3468 := !z.EncBinary() - yy2arr3468 := z.EncBasicHandle().StructToArray - var yyq3468 [5]bool - _, _, _ = yysep3468, yyq3468, yy2arr3468 - const yyr3468 bool = false - yyq3468[0] = x.Kind != "" - yyq3468[1] = x.APIVersion != "" - yyq3468[2] = true - var yynn3468 int - if yyr3468 || yy2arr3468 { + yysep3494 := !z.EncBinary() + yy2arr3494 := z.EncBasicHandle().StructToArray + var yyq3494 [5]bool + _, _, _ = yysep3494, yyq3494, yy2arr3494 + const yyr3494 bool = false + yyq3494[0] = x.Kind != "" + yyq3494[1] = x.APIVersion != "" + yyq3494[2] = true + var yynn3494 int + if yyr3494 || yy2arr3494 { r.EncodeArrayStart(5) } else { - yynn3468 = 2 - for _, b := range yyq3468 { + yynn3494 = 2 + for _, b := range yyq3494 { if b { - yynn3468++ + yynn3494++ } } - r.EncodeMapStart(yynn3468) - yynn3468 = 0 + r.EncodeMapStart(yynn3494) + yynn3494 = 0 } - if yyr3468 || yy2arr3468 { + if yyr3494 || yy2arr3494 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3468[0] { - yym3470 := z.EncBinary() - _ = yym3470 + if yyq3494[0] { + yym3496 := z.EncBinary() + _ = yym3496 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42979,23 +43278,23 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3468[0] { + if yyq3494[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3471 := z.EncBinary() - _ = yym3471 + yym3497 := z.EncBinary() + _ = yym3497 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3468 || yy2arr3468 { + if yyr3494 || yy2arr3494 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3468[1] { - yym3473 := z.EncBinary() - _ = yym3473 + if yyq3494[1] { + yym3499 := z.EncBinary() + _ = yym3499 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43004,39 +43303,39 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3468[1] { + if yyq3494[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3474 := z.EncBinary() - _ = yym3474 + yym3500 := z.EncBinary() + _ = yym3500 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3468 || yy2arr3468 { + if yyr3494 || yy2arr3494 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3468[2] { - yy3476 := &x.ObjectMeta - yy3476.CodecEncodeSelf(e) + if yyq3494[2] { + yy3502 := &x.ObjectMeta + yy3502.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3468[2] { + if yyq3494[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3477 := &x.ObjectMeta - yy3477.CodecEncodeSelf(e) + yy3503 := &x.ObjectMeta + yy3503.CodecEncodeSelf(e) } } - if yyr3468 || yy2arr3468 { + if yyr3494 || yy2arr3494 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3479 := z.EncBinary() - _ = yym3479 + yym3505 := z.EncBinary() + _ = yym3505 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -43045,20 +43344,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3480 := z.EncBinary() - _ = yym3480 + yym3506 := z.EncBinary() + _ = yym3506 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr3468 || yy2arr3468 { + if yyr3494 || yy2arr3494 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym3482 := z.EncBinary() - _ = yym3482 + yym3508 := z.EncBinary() + _ = yym3508 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -43071,15 +43370,15 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym3483 := z.EncBinary() - _ = yym3483 + yym3509 := z.EncBinary() + _ = yym3509 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr3468 || yy2arr3468 { + if yyr3494 || yy2arr3494 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43092,25 +43391,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3484 := z.DecBinary() - _ = yym3484 + yym3510 := z.DecBinary() + _ = yym3510 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3485 := r.ContainerType() - if yyct3485 == codecSelferValueTypeMap1234 { - yyl3485 := r.ReadMapStart() - if yyl3485 == 0 { + yyct3511 := r.ContainerType() + if yyct3511 == codecSelferValueTypeMap1234 { + yyl3511 := r.ReadMapStart() + if yyl3511 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3485, d) + x.codecDecodeSelfFromMap(yyl3511, d) } - } else if yyct3485 == codecSelferValueTypeArray1234 { - yyl3485 := r.ReadArrayStart() - if yyl3485 == 0 { + } else if yyct3511 == codecSelferValueTypeArray1234 { + yyl3511 := r.ReadArrayStart() + if yyl3511 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3485, d) + x.codecDecodeSelfFromArray(yyl3511, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43122,12 +43421,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3486Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3486Slc - var yyhl3486 bool = l >= 0 - for yyj3486 := 0; ; yyj3486++ { - if yyhl3486 { - if yyj3486 >= l { + var yys3512Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3512Slc + var yyhl3512 bool = l >= 0 + for yyj3512 := 0; ; yyj3512++ { + if yyhl3512 { + if yyj3512 >= l { break } } else { @@ -43136,10 +43435,10 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3486Slc = r.DecodeBytes(yys3486Slc, true, true) - yys3486 := string(yys3486Slc) + yys3512Slc = r.DecodeBytes(yys3512Slc, true, true) + yys3512 := string(yys3512Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3486 { + switch yys3512 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43156,8 +43455,8 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3489 := &x.ObjectMeta - yyv3489.CodecDecodeSelf(d) + yyv3515 := &x.ObjectMeta + yyv3515.CodecDecodeSelf(d) } case "range": if r.TryDecodeAsNil() { @@ -43169,18 +43468,18 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3491 := &x.Data - yym3492 := z.DecBinary() - _ = yym3492 + yyv3517 := &x.Data + yym3518 := z.DecBinary() + _ = yym3518 if false { } else { - *yyv3491 = r.DecodeBytes(*(*[]byte)(yyv3491), false, false) + *yyv3517 = r.DecodeBytes(*(*[]byte)(yyv3517), false, false) } } default: - z.DecStructFieldNotFound(-1, yys3486) - } // end switch yys3486 - } // end for yyj3486 + z.DecStructFieldNotFound(-1, yys3512) + } // end switch yys3512 + } // end for yyj3512 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43188,16 +43487,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3493 int - var yyb3493 bool - var yyhl3493 bool = l >= 0 - yyj3493++ - if yyhl3493 { - yyb3493 = yyj3493 > l + var yyj3519 int + var yyb3519 bool + var yyhl3519 bool = l >= 0 + yyj3519++ + if yyhl3519 { + yyb3519 = yyj3519 > l } else { - yyb3493 = r.CheckBreak() + yyb3519 = r.CheckBreak() } - if yyb3493 { + if yyb3519 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43207,13 +43506,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3493++ - if yyhl3493 { - yyb3493 = yyj3493 > l + yyj3519++ + if yyhl3519 { + yyb3519 = yyj3519 > l } else { - yyb3493 = r.CheckBreak() + yyb3519 = r.CheckBreak() } - if yyb3493 { + if yyb3519 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43223,13 +43522,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3493++ - if yyhl3493 { - yyb3493 = yyj3493 > l + yyj3519++ + if yyhl3519 { + yyb3519 = yyj3519 > l } else { - yyb3493 = r.CheckBreak() + yyb3519 = r.CheckBreak() } - if yyb3493 { + if yyb3519 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43237,16 +43536,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3496 := &x.ObjectMeta - yyv3496.CodecDecodeSelf(d) + yyv3522 := &x.ObjectMeta + yyv3522.CodecDecodeSelf(d) } - yyj3493++ - if yyhl3493 { - yyb3493 = yyj3493 > l + yyj3519++ + if yyhl3519 { + yyb3519 = yyj3519 > l } else { - yyb3493 = r.CheckBreak() + yyb3519 = r.CheckBreak() } - if yyb3493 { + if yyb3519 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43256,13 +43555,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Range = string(r.DecodeString()) } - yyj3493++ - if yyhl3493 { - yyb3493 = yyj3493 > l + yyj3519++ + if yyhl3519 { + yyb3519 = yyj3519 > l } else { - yyb3493 = r.CheckBreak() + yyb3519 = r.CheckBreak() } - if yyb3493 { + if yyb3519 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43270,26 +43569,26 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Data = nil } else { - yyv3498 := &x.Data - yym3499 := z.DecBinary() - _ = yym3499 + yyv3524 := &x.Data + yym3525 := z.DecBinary() + _ = yym3525 if false { } else { - *yyv3498 = r.DecodeBytes(*(*[]byte)(yyv3498), false, false) + *yyv3524 = r.DecodeBytes(*(*[]byte)(yyv3524), false, false) } } for { - yyj3493++ - if yyhl3493 { - yyb3493 = yyj3493 > l + yyj3519++ + if yyhl3519 { + yyb3519 = yyj3519 > l } else { - yyb3493 = r.CheckBreak() + yyb3519 = r.CheckBreak() } - if yyb3493 { + if yyb3519 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3493-1, "") + z.DecStructFieldNotFound(yyj3519-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43299,9 +43598,9 @@ func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolume z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3500 := range v { + for _, yyv3526 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3500.CodecEncodeSelf(e) + yyv3526.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43311,75 +43610,75 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3501 := *v - yyh3501, yyl3501 := z.DecSliceHelperStart() - var yyc3501 bool - if yyl3501 == 0 { - if yyv3501 == nil { - yyv3501 = []PersistentVolumeAccessMode{} - yyc3501 = true - } else if len(yyv3501) != 0 { - yyv3501 = yyv3501[:0] - yyc3501 = true + yyv3527 := *v + yyh3527, yyl3527 := z.DecSliceHelperStart() + var yyc3527 bool + if yyl3527 == 0 { + if yyv3527 == nil { + yyv3527 = []PersistentVolumeAccessMode{} + yyc3527 = true + } else if len(yyv3527) != 0 { + yyv3527 = yyv3527[:0] + yyc3527 = true } - } else if yyl3501 > 0 { - var yyrr3501, yyrl3501 int - var yyrt3501 bool - if yyl3501 > cap(yyv3501) { + } else if yyl3527 > 0 { + var yyrr3527, yyrl3527 int + var yyrt3527 bool + if yyl3527 > cap(yyv3527) { - yyrl3501, yyrt3501 = z.DecInferLen(yyl3501, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3501 { - if yyrl3501 <= cap(yyv3501) { - yyv3501 = yyv3501[:yyrl3501] + yyrl3527, yyrt3527 = z.DecInferLen(yyl3527, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3527 { + if yyrl3527 <= cap(yyv3527) { + yyv3527 = yyv3527[:yyrl3527] } else { - yyv3501 = make([]PersistentVolumeAccessMode, yyrl3501) + yyv3527 = make([]PersistentVolumeAccessMode, yyrl3527) } } else { - yyv3501 = make([]PersistentVolumeAccessMode, yyrl3501) + yyv3527 = make([]PersistentVolumeAccessMode, yyrl3527) } - yyc3501 = true - yyrr3501 = len(yyv3501) - } else if yyl3501 != len(yyv3501) { - yyv3501 = yyv3501[:yyl3501] - yyc3501 = true + yyc3527 = true + yyrr3527 = len(yyv3527) + } else if yyl3527 != len(yyv3527) { + yyv3527 = yyv3527[:yyl3527] + yyc3527 = true } - yyj3501 := 0 - for ; yyj3501 < yyrr3501; yyj3501++ { - yyh3501.ElemContainerState(yyj3501) + yyj3527 := 0 + for ; yyj3527 < yyrr3527; yyj3527++ { + yyh3527.ElemContainerState(yyj3527) if r.TryDecodeAsNil() { - yyv3501[yyj3501] = "" + yyv3527[yyj3527] = "" } else { - yyv3501[yyj3501] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3527[yyj3527] = PersistentVolumeAccessMode(r.DecodeString()) } } - if yyrt3501 { - for ; yyj3501 < yyl3501; yyj3501++ { - yyv3501 = append(yyv3501, "") - yyh3501.ElemContainerState(yyj3501) + if yyrt3527 { + for ; yyj3527 < yyl3527; yyj3527++ { + yyv3527 = append(yyv3527, "") + yyh3527.ElemContainerState(yyj3527) if r.TryDecodeAsNil() { - yyv3501[yyj3501] = "" + yyv3527[yyj3527] = "" } else { - yyv3501[yyj3501] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3527[yyj3527] = PersistentVolumeAccessMode(r.DecodeString()) } } } } else { - yyj3501 := 0 - for ; !r.CheckBreak(); yyj3501++ { + yyj3527 := 0 + for ; !r.CheckBreak(); yyj3527++ { - if yyj3501 >= len(yyv3501) { - yyv3501 = append(yyv3501, "") // var yyz3501 PersistentVolumeAccessMode - yyc3501 = true + if yyj3527 >= len(yyv3527) { + yyv3527 = append(yyv3527, "") // var yyz3527 PersistentVolumeAccessMode + yyc3527 = true } - yyh3501.ElemContainerState(yyj3501) - if yyj3501 < len(yyv3501) { + yyh3527.ElemContainerState(yyj3527) + if yyj3527 < len(yyv3527) { if r.TryDecodeAsNil() { - yyv3501[yyj3501] = "" + yyv3527[yyj3527] = "" } else { - yyv3501[yyj3501] = PersistentVolumeAccessMode(r.DecodeString()) + yyv3527[yyj3527] = PersistentVolumeAccessMode(r.DecodeString()) } } else { @@ -43387,17 +43686,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum } } - if yyj3501 < len(yyv3501) { - yyv3501 = yyv3501[:yyj3501] - yyc3501 = true - } else if yyj3501 == 0 && yyv3501 == nil { - yyv3501 = []PersistentVolumeAccessMode{} - yyc3501 = true + if yyj3527 < len(yyv3527) { + yyv3527 = yyv3527[:yyj3527] + yyc3527 = true + } else if yyj3527 == 0 && yyv3527 == nil { + yyv3527 = []PersistentVolumeAccessMode{} + yyc3527 = true } } - yyh3501.End() - if yyc3501 { - *v = yyv3501 + yyh3527.End() + if yyc3527 { + *v = yyv3527 } } @@ -43406,10 +43705,10 @@ func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3505 := range v { + for _, yyv3531 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3506 := &yyv3505 - yy3506.CodecEncodeSelf(e) + yy3532 := &yyv3531 + yy3532.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43419,83 +43718,83 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3507 := *v - yyh3507, yyl3507 := z.DecSliceHelperStart() - var yyc3507 bool - if yyl3507 == 0 { - if yyv3507 == nil { - yyv3507 = []PersistentVolume{} - yyc3507 = true - } else if len(yyv3507) != 0 { - yyv3507 = yyv3507[:0] - yyc3507 = true + yyv3533 := *v + yyh3533, yyl3533 := z.DecSliceHelperStart() + var yyc3533 bool + if yyl3533 == 0 { + if yyv3533 == nil { + yyv3533 = []PersistentVolume{} + yyc3533 = true + } else if len(yyv3533) != 0 { + yyv3533 = yyv3533[:0] + yyc3533 = true } - } else if yyl3507 > 0 { - var yyrr3507, yyrl3507 int - var yyrt3507 bool - if yyl3507 > cap(yyv3507) { + } else if yyl3533 > 0 { + var yyrr3533, yyrl3533 int + var yyrt3533 bool + if yyl3533 > cap(yyv3533) { - yyrg3507 := len(yyv3507) > 0 - yyv23507 := yyv3507 - yyrl3507, yyrt3507 = z.DecInferLen(yyl3507, z.DecBasicHandle().MaxInitLen, 384) - if yyrt3507 { - if yyrl3507 <= cap(yyv3507) { - yyv3507 = yyv3507[:yyrl3507] + yyrg3533 := len(yyv3533) > 0 + yyv23533 := yyv3533 + yyrl3533, yyrt3533 = z.DecInferLen(yyl3533, z.DecBasicHandle().MaxInitLen, 384) + if yyrt3533 { + if yyrl3533 <= cap(yyv3533) { + yyv3533 = yyv3533[:yyrl3533] } else { - yyv3507 = make([]PersistentVolume, yyrl3507) + yyv3533 = make([]PersistentVolume, yyrl3533) } } else { - yyv3507 = make([]PersistentVolume, yyrl3507) + yyv3533 = make([]PersistentVolume, yyrl3533) } - yyc3507 = true - yyrr3507 = len(yyv3507) - if yyrg3507 { - copy(yyv3507, yyv23507) + yyc3533 = true + yyrr3533 = len(yyv3533) + if yyrg3533 { + copy(yyv3533, yyv23533) } - } else if yyl3507 != len(yyv3507) { - yyv3507 = yyv3507[:yyl3507] - yyc3507 = true + } else if yyl3533 != len(yyv3533) { + yyv3533 = yyv3533[:yyl3533] + yyc3533 = true } - yyj3507 := 0 - for ; yyj3507 < yyrr3507; yyj3507++ { - yyh3507.ElemContainerState(yyj3507) + yyj3533 := 0 + for ; yyj3533 < yyrr3533; yyj3533++ { + yyh3533.ElemContainerState(yyj3533) if r.TryDecodeAsNil() { - yyv3507[yyj3507] = PersistentVolume{} + yyv3533[yyj3533] = PersistentVolume{} } else { - yyv3508 := &yyv3507[yyj3507] - yyv3508.CodecDecodeSelf(d) + yyv3534 := &yyv3533[yyj3533] + yyv3534.CodecDecodeSelf(d) } } - if yyrt3507 { - for ; yyj3507 < yyl3507; yyj3507++ { - yyv3507 = append(yyv3507, PersistentVolume{}) - yyh3507.ElemContainerState(yyj3507) + if yyrt3533 { + for ; yyj3533 < yyl3533; yyj3533++ { + yyv3533 = append(yyv3533, PersistentVolume{}) + yyh3533.ElemContainerState(yyj3533) if r.TryDecodeAsNil() { - yyv3507[yyj3507] = PersistentVolume{} + yyv3533[yyj3533] = PersistentVolume{} } else { - yyv3509 := &yyv3507[yyj3507] - yyv3509.CodecDecodeSelf(d) + yyv3535 := &yyv3533[yyj3533] + yyv3535.CodecDecodeSelf(d) } } } } else { - yyj3507 := 0 - for ; !r.CheckBreak(); yyj3507++ { + yyj3533 := 0 + for ; !r.CheckBreak(); yyj3533++ { - if yyj3507 >= len(yyv3507) { - yyv3507 = append(yyv3507, PersistentVolume{}) // var yyz3507 PersistentVolume - yyc3507 = true + if yyj3533 >= len(yyv3533) { + yyv3533 = append(yyv3533, PersistentVolume{}) // var yyz3533 PersistentVolume + yyc3533 = true } - yyh3507.ElemContainerState(yyj3507) - if yyj3507 < len(yyv3507) { + yyh3533.ElemContainerState(yyj3533) + if yyj3533 < len(yyv3533) { if r.TryDecodeAsNil() { - yyv3507[yyj3507] = PersistentVolume{} + yyv3533[yyj3533] = PersistentVolume{} } else { - yyv3510 := &yyv3507[yyj3507] - yyv3510.CodecDecodeSelf(d) + yyv3536 := &yyv3533[yyj3533] + yyv3536.CodecDecodeSelf(d) } } else { @@ -43503,17 +43802,17 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code } } - if yyj3507 < len(yyv3507) { - yyv3507 = yyv3507[:yyj3507] - yyc3507 = true - } else if yyj3507 == 0 && yyv3507 == nil { - yyv3507 = []PersistentVolume{} - yyc3507 = true + if yyj3533 < len(yyv3533) { + yyv3533 = yyv3533[:yyj3533] + yyc3533 = true + } else if yyj3533 == 0 && yyv3533 == nil { + yyv3533 = []PersistentVolume{} + yyc3533 = true } } - yyh3507.End() - if yyc3507 { - *v = yyv3507 + yyh3533.End() + if yyc3533 { + *v = yyv3533 } } @@ -43522,10 +43821,10 @@ func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3511 := range v { + for _, yyv3537 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3512 := &yyv3511 - yy3512.CodecEncodeSelf(e) + yy3538 := &yyv3537 + yy3538.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43535,83 +43834,83 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3513 := *v - yyh3513, yyl3513 := z.DecSliceHelperStart() - var yyc3513 bool - if yyl3513 == 0 { - if yyv3513 == nil { - yyv3513 = []PersistentVolumeClaim{} - yyc3513 = true - } else if len(yyv3513) != 0 { - yyv3513 = yyv3513[:0] - yyc3513 = true + yyv3539 := *v + yyh3539, yyl3539 := z.DecSliceHelperStart() + var yyc3539 bool + if yyl3539 == 0 { + if yyv3539 == nil { + yyv3539 = []PersistentVolumeClaim{} + yyc3539 = true + } else if len(yyv3539) != 0 { + yyv3539 = yyv3539[:0] + yyc3539 = true } - } else if yyl3513 > 0 { - var yyrr3513, yyrl3513 int - var yyrt3513 bool - if yyl3513 > cap(yyv3513) { + } else if yyl3539 > 0 { + var yyrr3539, yyrl3539 int + var yyrt3539 bool + if yyl3539 > cap(yyv3539) { - yyrg3513 := len(yyv3513) > 0 - yyv23513 := yyv3513 - yyrl3513, yyrt3513 = z.DecInferLen(yyl3513, z.DecBasicHandle().MaxInitLen, 296) - if yyrt3513 { - if yyrl3513 <= cap(yyv3513) { - yyv3513 = yyv3513[:yyrl3513] + yyrg3539 := len(yyv3539) > 0 + yyv23539 := yyv3539 + yyrl3539, yyrt3539 = z.DecInferLen(yyl3539, z.DecBasicHandle().MaxInitLen, 296) + if yyrt3539 { + if yyrl3539 <= cap(yyv3539) { + yyv3539 = yyv3539[:yyrl3539] } else { - yyv3513 = make([]PersistentVolumeClaim, yyrl3513) + yyv3539 = make([]PersistentVolumeClaim, yyrl3539) } } else { - yyv3513 = make([]PersistentVolumeClaim, yyrl3513) + yyv3539 = make([]PersistentVolumeClaim, yyrl3539) } - yyc3513 = true - yyrr3513 = len(yyv3513) - if yyrg3513 { - copy(yyv3513, yyv23513) + yyc3539 = true + yyrr3539 = len(yyv3539) + if yyrg3539 { + copy(yyv3539, yyv23539) } - } else if yyl3513 != len(yyv3513) { - yyv3513 = yyv3513[:yyl3513] - yyc3513 = true + } else if yyl3539 != len(yyv3539) { + yyv3539 = yyv3539[:yyl3539] + yyc3539 = true } - yyj3513 := 0 - for ; yyj3513 < yyrr3513; yyj3513++ { - yyh3513.ElemContainerState(yyj3513) + yyj3539 := 0 + for ; yyj3539 < yyrr3539; yyj3539++ { + yyh3539.ElemContainerState(yyj3539) if r.TryDecodeAsNil() { - yyv3513[yyj3513] = PersistentVolumeClaim{} + yyv3539[yyj3539] = PersistentVolumeClaim{} } else { - yyv3514 := &yyv3513[yyj3513] - yyv3514.CodecDecodeSelf(d) + yyv3540 := &yyv3539[yyj3539] + yyv3540.CodecDecodeSelf(d) } } - if yyrt3513 { - for ; yyj3513 < yyl3513; yyj3513++ { - yyv3513 = append(yyv3513, PersistentVolumeClaim{}) - yyh3513.ElemContainerState(yyj3513) + if yyrt3539 { + for ; yyj3539 < yyl3539; yyj3539++ { + yyv3539 = append(yyv3539, PersistentVolumeClaim{}) + yyh3539.ElemContainerState(yyj3539) if r.TryDecodeAsNil() { - yyv3513[yyj3513] = PersistentVolumeClaim{} + yyv3539[yyj3539] = PersistentVolumeClaim{} } else { - yyv3515 := &yyv3513[yyj3513] - yyv3515.CodecDecodeSelf(d) + yyv3541 := &yyv3539[yyj3539] + yyv3541.CodecDecodeSelf(d) } } } } else { - yyj3513 := 0 - for ; !r.CheckBreak(); yyj3513++ { + yyj3539 := 0 + for ; !r.CheckBreak(); yyj3539++ { - if yyj3513 >= len(yyv3513) { - yyv3513 = append(yyv3513, PersistentVolumeClaim{}) // var yyz3513 PersistentVolumeClaim - yyc3513 = true + if yyj3539 >= len(yyv3539) { + yyv3539 = append(yyv3539, PersistentVolumeClaim{}) // var yyz3539 PersistentVolumeClaim + yyc3539 = true } - yyh3513.ElemContainerState(yyj3513) - if yyj3513 < len(yyv3513) { + yyh3539.ElemContainerState(yyj3539) + if yyj3539 < len(yyv3539) { if r.TryDecodeAsNil() { - yyv3513[yyj3513] = PersistentVolumeClaim{} + yyv3539[yyj3539] = PersistentVolumeClaim{} } else { - yyv3516 := &yyv3513[yyj3513] - yyv3516.CodecDecodeSelf(d) + yyv3542 := &yyv3539[yyj3539] + yyv3542.CodecDecodeSelf(d) } } else { @@ -43619,17 +43918,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai } } - if yyj3513 < len(yyv3513) { - yyv3513 = yyv3513[:yyj3513] - yyc3513 = true - } else if yyj3513 == 0 && yyv3513 == nil { - yyv3513 = []PersistentVolumeClaim{} - yyc3513 = true + if yyj3539 < len(yyv3539) { + yyv3539 = yyv3539[:yyj3539] + yyc3539 = true + } else if yyj3539 == 0 && yyv3539 == nil { + yyv3539 = []PersistentVolumeClaim{} + yyc3539 = true } } - yyh3513.End() - if yyc3513 { - *v = yyv3513 + yyh3539.End() + if yyc3539 { + *v = yyv3539 } } @@ -43638,9 +43937,9 @@ func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3517 := range v { + for _, yyv3543 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3517.CodecEncodeSelf(e) + yyv3543.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43650,75 +43949,75 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3518 := *v - yyh3518, yyl3518 := z.DecSliceHelperStart() - var yyc3518 bool - if yyl3518 == 0 { - if yyv3518 == nil { - yyv3518 = []Capability{} - yyc3518 = true - } else if len(yyv3518) != 0 { - yyv3518 = yyv3518[:0] - yyc3518 = true + yyv3544 := *v + yyh3544, yyl3544 := z.DecSliceHelperStart() + var yyc3544 bool + if yyl3544 == 0 { + if yyv3544 == nil { + yyv3544 = []Capability{} + yyc3544 = true + } else if len(yyv3544) != 0 { + yyv3544 = yyv3544[:0] + yyc3544 = true } - } else if yyl3518 > 0 { - var yyrr3518, yyrl3518 int - var yyrt3518 bool - if yyl3518 > cap(yyv3518) { + } else if yyl3544 > 0 { + var yyrr3544, yyrl3544 int + var yyrt3544 bool + if yyl3544 > cap(yyv3544) { - yyrl3518, yyrt3518 = z.DecInferLen(yyl3518, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3518 { - if yyrl3518 <= cap(yyv3518) { - yyv3518 = yyv3518[:yyrl3518] + yyrl3544, yyrt3544 = z.DecInferLen(yyl3544, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3544 { + if yyrl3544 <= cap(yyv3544) { + yyv3544 = yyv3544[:yyrl3544] } else { - yyv3518 = make([]Capability, yyrl3518) + yyv3544 = make([]Capability, yyrl3544) } } else { - yyv3518 = make([]Capability, yyrl3518) + yyv3544 = make([]Capability, yyrl3544) } - yyc3518 = true - yyrr3518 = len(yyv3518) - } else if yyl3518 != len(yyv3518) { - yyv3518 = yyv3518[:yyl3518] - yyc3518 = true + yyc3544 = true + yyrr3544 = len(yyv3544) + } else if yyl3544 != len(yyv3544) { + yyv3544 = yyv3544[:yyl3544] + yyc3544 = true } - yyj3518 := 0 - for ; yyj3518 < yyrr3518; yyj3518++ { - yyh3518.ElemContainerState(yyj3518) + yyj3544 := 0 + for ; yyj3544 < yyrr3544; yyj3544++ { + yyh3544.ElemContainerState(yyj3544) if r.TryDecodeAsNil() { - yyv3518[yyj3518] = "" + yyv3544[yyj3544] = "" } else { - yyv3518[yyj3518] = Capability(r.DecodeString()) + yyv3544[yyj3544] = Capability(r.DecodeString()) } } - if yyrt3518 { - for ; yyj3518 < yyl3518; yyj3518++ { - yyv3518 = append(yyv3518, "") - yyh3518.ElemContainerState(yyj3518) + if yyrt3544 { + for ; yyj3544 < yyl3544; yyj3544++ { + yyv3544 = append(yyv3544, "") + yyh3544.ElemContainerState(yyj3544) if r.TryDecodeAsNil() { - yyv3518[yyj3518] = "" + yyv3544[yyj3544] = "" } else { - yyv3518[yyj3518] = Capability(r.DecodeString()) + yyv3544[yyj3544] = Capability(r.DecodeString()) } } } } else { - yyj3518 := 0 - for ; !r.CheckBreak(); yyj3518++ { + yyj3544 := 0 + for ; !r.CheckBreak(); yyj3544++ { - if yyj3518 >= len(yyv3518) { - yyv3518 = append(yyv3518, "") // var yyz3518 Capability - yyc3518 = true + if yyj3544 >= len(yyv3544) { + yyv3544 = append(yyv3544, "") // var yyz3544 Capability + yyc3544 = true } - yyh3518.ElemContainerState(yyj3518) - if yyj3518 < len(yyv3518) { + yyh3544.ElemContainerState(yyj3544) + if yyj3544 < len(yyv3544) { if r.TryDecodeAsNil() { - yyv3518[yyj3518] = "" + yyv3544[yyj3544] = "" } else { - yyv3518[yyj3518] = Capability(r.DecodeString()) + yyv3544[yyj3544] = Capability(r.DecodeString()) } } else { @@ -43726,17 +44025,17 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode } } - if yyj3518 < len(yyv3518) { - yyv3518 = yyv3518[:yyj3518] - yyc3518 = true - } else if yyj3518 == 0 && yyv3518 == nil { - yyv3518 = []Capability{} - yyc3518 = true + if yyj3544 < len(yyv3544) { + yyv3544 = yyv3544[:yyj3544] + yyc3544 = true + } else if yyj3544 == 0 && yyv3544 == nil { + yyv3544 = []Capability{} + yyc3544 = true } } - yyh3518.End() - if yyc3518 { - *v = yyv3518 + yyh3544.End() + if yyc3544 { + *v = yyv3544 } } @@ -43745,10 +44044,10 @@ func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3522 := range v { + for _, yyv3548 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3523 := &yyv3522 - yy3523.CodecEncodeSelf(e) + yy3549 := &yyv3548 + yy3549.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43758,83 +44057,83 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3524 := *v - yyh3524, yyl3524 := z.DecSliceHelperStart() - var yyc3524 bool - if yyl3524 == 0 { - if yyv3524 == nil { - yyv3524 = []ContainerPort{} - yyc3524 = true - } else if len(yyv3524) != 0 { - yyv3524 = yyv3524[:0] - yyc3524 = true + yyv3550 := *v + yyh3550, yyl3550 := z.DecSliceHelperStart() + var yyc3550 bool + if yyl3550 == 0 { + if yyv3550 == nil { + yyv3550 = []ContainerPort{} + yyc3550 = true + } else if len(yyv3550) != 0 { + yyv3550 = yyv3550[:0] + yyc3550 = true } - } else if yyl3524 > 0 { - var yyrr3524, yyrl3524 int - var yyrt3524 bool - if yyl3524 > cap(yyv3524) { + } else if yyl3550 > 0 { + var yyrr3550, yyrl3550 int + var yyrt3550 bool + if yyl3550 > cap(yyv3550) { - yyrg3524 := len(yyv3524) > 0 - yyv23524 := yyv3524 - yyrl3524, yyrt3524 = z.DecInferLen(yyl3524, z.DecBasicHandle().MaxInitLen, 56) - if yyrt3524 { - if yyrl3524 <= cap(yyv3524) { - yyv3524 = yyv3524[:yyrl3524] + yyrg3550 := len(yyv3550) > 0 + yyv23550 := yyv3550 + yyrl3550, yyrt3550 = z.DecInferLen(yyl3550, z.DecBasicHandle().MaxInitLen, 56) + if yyrt3550 { + if yyrl3550 <= cap(yyv3550) { + yyv3550 = yyv3550[:yyrl3550] } else { - yyv3524 = make([]ContainerPort, yyrl3524) + yyv3550 = make([]ContainerPort, yyrl3550) } } else { - yyv3524 = make([]ContainerPort, yyrl3524) + yyv3550 = make([]ContainerPort, yyrl3550) } - yyc3524 = true - yyrr3524 = len(yyv3524) - if yyrg3524 { - copy(yyv3524, yyv23524) + yyc3550 = true + yyrr3550 = len(yyv3550) + if yyrg3550 { + copy(yyv3550, yyv23550) } - } else if yyl3524 != len(yyv3524) { - yyv3524 = yyv3524[:yyl3524] - yyc3524 = true + } else if yyl3550 != len(yyv3550) { + yyv3550 = yyv3550[:yyl3550] + yyc3550 = true } - yyj3524 := 0 - for ; yyj3524 < yyrr3524; yyj3524++ { - yyh3524.ElemContainerState(yyj3524) + yyj3550 := 0 + for ; yyj3550 < yyrr3550; yyj3550++ { + yyh3550.ElemContainerState(yyj3550) if r.TryDecodeAsNil() { - yyv3524[yyj3524] = ContainerPort{} + yyv3550[yyj3550] = ContainerPort{} } else { - yyv3525 := &yyv3524[yyj3524] - yyv3525.CodecDecodeSelf(d) + yyv3551 := &yyv3550[yyj3550] + yyv3551.CodecDecodeSelf(d) } } - if yyrt3524 { - for ; yyj3524 < yyl3524; yyj3524++ { - yyv3524 = append(yyv3524, ContainerPort{}) - yyh3524.ElemContainerState(yyj3524) + if yyrt3550 { + for ; yyj3550 < yyl3550; yyj3550++ { + yyv3550 = append(yyv3550, ContainerPort{}) + yyh3550.ElemContainerState(yyj3550) if r.TryDecodeAsNil() { - yyv3524[yyj3524] = ContainerPort{} + yyv3550[yyj3550] = ContainerPort{} } else { - yyv3526 := &yyv3524[yyj3524] - yyv3526.CodecDecodeSelf(d) + yyv3552 := &yyv3550[yyj3550] + yyv3552.CodecDecodeSelf(d) } } } } else { - yyj3524 := 0 - for ; !r.CheckBreak(); yyj3524++ { + yyj3550 := 0 + for ; !r.CheckBreak(); yyj3550++ { - if yyj3524 >= len(yyv3524) { - yyv3524 = append(yyv3524, ContainerPort{}) // var yyz3524 ContainerPort - yyc3524 = true + if yyj3550 >= len(yyv3550) { + yyv3550 = append(yyv3550, ContainerPort{}) // var yyz3550 ContainerPort + yyc3550 = true } - yyh3524.ElemContainerState(yyj3524) - if yyj3524 < len(yyv3524) { + yyh3550.ElemContainerState(yyj3550) + if yyj3550 < len(yyv3550) { if r.TryDecodeAsNil() { - yyv3524[yyj3524] = ContainerPort{} + yyv3550[yyj3550] = ContainerPort{} } else { - yyv3527 := &yyv3524[yyj3524] - yyv3527.CodecDecodeSelf(d) + yyv3553 := &yyv3550[yyj3550] + yyv3553.CodecDecodeSelf(d) } } else { @@ -43842,17 +44141,17 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. } } - if yyj3524 < len(yyv3524) { - yyv3524 = yyv3524[:yyj3524] - yyc3524 = true - } else if yyj3524 == 0 && yyv3524 == nil { - yyv3524 = []ContainerPort{} - yyc3524 = true + if yyj3550 < len(yyv3550) { + yyv3550 = yyv3550[:yyj3550] + yyc3550 = true + } else if yyj3550 == 0 && yyv3550 == nil { + yyv3550 = []ContainerPort{} + yyc3550 = true } } - yyh3524.End() - if yyc3524 { - *v = yyv3524 + yyh3550.End() + if yyc3550 { + *v = yyv3550 } } @@ -43861,10 +44160,10 @@ func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3528 := range v { + for _, yyv3554 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3529 := &yyv3528 - yy3529.CodecEncodeSelf(e) + yy3555 := &yyv3554 + yy3555.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43874,83 +44173,83 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3530 := *v - yyh3530, yyl3530 := z.DecSliceHelperStart() - var yyc3530 bool - if yyl3530 == 0 { - if yyv3530 == nil { - yyv3530 = []EnvVar{} - yyc3530 = true - } else if len(yyv3530) != 0 { - yyv3530 = yyv3530[:0] - yyc3530 = true + yyv3556 := *v + yyh3556, yyl3556 := z.DecSliceHelperStart() + var yyc3556 bool + if yyl3556 == 0 { + if yyv3556 == nil { + yyv3556 = []EnvVar{} + yyc3556 = true + } else if len(yyv3556) != 0 { + yyv3556 = yyv3556[:0] + yyc3556 = true } - } else if yyl3530 > 0 { - var yyrr3530, yyrl3530 int - var yyrt3530 bool - if yyl3530 > cap(yyv3530) { + } else if yyl3556 > 0 { + var yyrr3556, yyrl3556 int + var yyrt3556 bool + if yyl3556 > cap(yyv3556) { - yyrg3530 := len(yyv3530) > 0 - yyv23530 := yyv3530 - yyrl3530, yyrt3530 = z.DecInferLen(yyl3530, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3530 { - if yyrl3530 <= cap(yyv3530) { - yyv3530 = yyv3530[:yyrl3530] + yyrg3556 := len(yyv3556) > 0 + yyv23556 := yyv3556 + yyrl3556, yyrt3556 = z.DecInferLen(yyl3556, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3556 { + if yyrl3556 <= cap(yyv3556) { + yyv3556 = yyv3556[:yyrl3556] } else { - yyv3530 = make([]EnvVar, yyrl3530) + yyv3556 = make([]EnvVar, yyrl3556) } } else { - yyv3530 = make([]EnvVar, yyrl3530) + yyv3556 = make([]EnvVar, yyrl3556) } - yyc3530 = true - yyrr3530 = len(yyv3530) - if yyrg3530 { - copy(yyv3530, yyv23530) + yyc3556 = true + yyrr3556 = len(yyv3556) + if yyrg3556 { + copy(yyv3556, yyv23556) } - } else if yyl3530 != len(yyv3530) { - yyv3530 = yyv3530[:yyl3530] - yyc3530 = true + } else if yyl3556 != len(yyv3556) { + yyv3556 = yyv3556[:yyl3556] + yyc3556 = true } - yyj3530 := 0 - for ; yyj3530 < yyrr3530; yyj3530++ { - yyh3530.ElemContainerState(yyj3530) + yyj3556 := 0 + for ; yyj3556 < yyrr3556; yyj3556++ { + yyh3556.ElemContainerState(yyj3556) if r.TryDecodeAsNil() { - yyv3530[yyj3530] = EnvVar{} + yyv3556[yyj3556] = EnvVar{} } else { - yyv3531 := &yyv3530[yyj3530] - yyv3531.CodecDecodeSelf(d) + yyv3557 := &yyv3556[yyj3556] + yyv3557.CodecDecodeSelf(d) } } - if yyrt3530 { - for ; yyj3530 < yyl3530; yyj3530++ { - yyv3530 = append(yyv3530, EnvVar{}) - yyh3530.ElemContainerState(yyj3530) + if yyrt3556 { + for ; yyj3556 < yyl3556; yyj3556++ { + yyv3556 = append(yyv3556, EnvVar{}) + yyh3556.ElemContainerState(yyj3556) if r.TryDecodeAsNil() { - yyv3530[yyj3530] = EnvVar{} + yyv3556[yyj3556] = EnvVar{} } else { - yyv3532 := &yyv3530[yyj3530] - yyv3532.CodecDecodeSelf(d) + yyv3558 := &yyv3556[yyj3556] + yyv3558.CodecDecodeSelf(d) } } } } else { - yyj3530 := 0 - for ; !r.CheckBreak(); yyj3530++ { + yyj3556 := 0 + for ; !r.CheckBreak(); yyj3556++ { - if yyj3530 >= len(yyv3530) { - yyv3530 = append(yyv3530, EnvVar{}) // var yyz3530 EnvVar - yyc3530 = true + if yyj3556 >= len(yyv3556) { + yyv3556 = append(yyv3556, EnvVar{}) // var yyz3556 EnvVar + yyc3556 = true } - yyh3530.ElemContainerState(yyj3530) - if yyj3530 < len(yyv3530) { + yyh3556.ElemContainerState(yyj3556) + if yyj3556 < len(yyv3556) { if r.TryDecodeAsNil() { - yyv3530[yyj3530] = EnvVar{} + yyv3556[yyj3556] = EnvVar{} } else { - yyv3533 := &yyv3530[yyj3530] - yyv3533.CodecDecodeSelf(d) + yyv3559 := &yyv3556[yyj3556] + yyv3559.CodecDecodeSelf(d) } } else { @@ -43958,17 +44257,17 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { } } - if yyj3530 < len(yyv3530) { - yyv3530 = yyv3530[:yyj3530] - yyc3530 = true - } else if yyj3530 == 0 && yyv3530 == nil { - yyv3530 = []EnvVar{} - yyc3530 = true + if yyj3556 < len(yyv3556) { + yyv3556 = yyv3556[:yyj3556] + yyc3556 = true + } else if yyj3556 == 0 && yyv3556 == nil { + yyv3556 = []EnvVar{} + yyc3556 = true } } - yyh3530.End() - if yyc3530 { - *v = yyv3530 + yyh3556.End() + if yyc3556 { + *v = yyv3556 } } @@ -43977,10 +44276,10 @@ func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3534 := range v { + for _, yyv3560 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3535 := &yyv3534 - yy3535.CodecEncodeSelf(e) + yy3561 := &yyv3560 + yy3561.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43990,83 +44289,83 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3536 := *v - yyh3536, yyl3536 := z.DecSliceHelperStart() - var yyc3536 bool - if yyl3536 == 0 { - if yyv3536 == nil { - yyv3536 = []VolumeMount{} - yyc3536 = true - } else if len(yyv3536) != 0 { - yyv3536 = yyv3536[:0] - yyc3536 = true + yyv3562 := *v + yyh3562, yyl3562 := z.DecSliceHelperStart() + var yyc3562 bool + if yyl3562 == 0 { + if yyv3562 == nil { + yyv3562 = []VolumeMount{} + yyc3562 = true + } else if len(yyv3562) != 0 { + yyv3562 = yyv3562[:0] + yyc3562 = true } - } else if yyl3536 > 0 { - var yyrr3536, yyrl3536 int - var yyrt3536 bool - if yyl3536 > cap(yyv3536) { + } else if yyl3562 > 0 { + var yyrr3562, yyrl3562 int + var yyrt3562 bool + if yyl3562 > cap(yyv3562) { - yyrg3536 := len(yyv3536) > 0 - yyv23536 := yyv3536 - yyrl3536, yyrt3536 = z.DecInferLen(yyl3536, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3536 { - if yyrl3536 <= cap(yyv3536) { - yyv3536 = yyv3536[:yyrl3536] + yyrg3562 := len(yyv3562) > 0 + yyv23562 := yyv3562 + yyrl3562, yyrt3562 = z.DecInferLen(yyl3562, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3562 { + if yyrl3562 <= cap(yyv3562) { + yyv3562 = yyv3562[:yyrl3562] } else { - yyv3536 = make([]VolumeMount, yyrl3536) + yyv3562 = make([]VolumeMount, yyrl3562) } } else { - yyv3536 = make([]VolumeMount, yyrl3536) + yyv3562 = make([]VolumeMount, yyrl3562) } - yyc3536 = true - yyrr3536 = len(yyv3536) - if yyrg3536 { - copy(yyv3536, yyv23536) + yyc3562 = true + yyrr3562 = len(yyv3562) + if yyrg3562 { + copy(yyv3562, yyv23562) } - } else if yyl3536 != len(yyv3536) { - yyv3536 = yyv3536[:yyl3536] - yyc3536 = true + } else if yyl3562 != len(yyv3562) { + yyv3562 = yyv3562[:yyl3562] + yyc3562 = true } - yyj3536 := 0 - for ; yyj3536 < yyrr3536; yyj3536++ { - yyh3536.ElemContainerState(yyj3536) + yyj3562 := 0 + for ; yyj3562 < yyrr3562; yyj3562++ { + yyh3562.ElemContainerState(yyj3562) if r.TryDecodeAsNil() { - yyv3536[yyj3536] = VolumeMount{} + yyv3562[yyj3562] = VolumeMount{} } else { - yyv3537 := &yyv3536[yyj3536] - yyv3537.CodecDecodeSelf(d) + yyv3563 := &yyv3562[yyj3562] + yyv3563.CodecDecodeSelf(d) } } - if yyrt3536 { - for ; yyj3536 < yyl3536; yyj3536++ { - yyv3536 = append(yyv3536, VolumeMount{}) - yyh3536.ElemContainerState(yyj3536) + if yyrt3562 { + for ; yyj3562 < yyl3562; yyj3562++ { + yyv3562 = append(yyv3562, VolumeMount{}) + yyh3562.ElemContainerState(yyj3562) if r.TryDecodeAsNil() { - yyv3536[yyj3536] = VolumeMount{} + yyv3562[yyj3562] = VolumeMount{} } else { - yyv3538 := &yyv3536[yyj3536] - yyv3538.CodecDecodeSelf(d) + yyv3564 := &yyv3562[yyj3562] + yyv3564.CodecDecodeSelf(d) } } } } else { - yyj3536 := 0 - for ; !r.CheckBreak(); yyj3536++ { + yyj3562 := 0 + for ; !r.CheckBreak(); yyj3562++ { - if yyj3536 >= len(yyv3536) { - yyv3536 = append(yyv3536, VolumeMount{}) // var yyz3536 VolumeMount - yyc3536 = true + if yyj3562 >= len(yyv3562) { + yyv3562 = append(yyv3562, VolumeMount{}) // var yyz3562 VolumeMount + yyc3562 = true } - yyh3536.ElemContainerState(yyj3536) - if yyj3536 < len(yyv3536) { + yyh3562.ElemContainerState(yyj3562) + if yyj3562 < len(yyv3562) { if r.TryDecodeAsNil() { - yyv3536[yyj3536] = VolumeMount{} + yyv3562[yyj3562] = VolumeMount{} } else { - yyv3539 := &yyv3536[yyj3536] - yyv3539.CodecDecodeSelf(d) + yyv3565 := &yyv3562[yyj3562] + yyv3565.CodecDecodeSelf(d) } } else { @@ -44074,17 +44373,17 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco } } - if yyj3536 < len(yyv3536) { - yyv3536 = yyv3536[:yyj3536] - yyc3536 = true - } else if yyj3536 == 0 && yyv3536 == nil { - yyv3536 = []VolumeMount{} - yyc3536 = true + if yyj3562 < len(yyv3562) { + yyv3562 = yyv3562[:yyj3562] + yyc3562 = true + } else if yyj3562 == 0 && yyv3562 == nil { + yyv3562 = []VolumeMount{} + yyc3562 = true } } - yyh3536.End() - if yyc3536 { - *v = yyv3536 + yyh3562.End() + if yyc3562 { + *v = yyv3562 } } @@ -44093,10 +44392,10 @@ func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3540 := range v { + for _, yyv3566 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3541 := &yyv3540 - yy3541.CodecEncodeSelf(e) + yy3567 := &yyv3566 + yy3567.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44106,83 +44405,83 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3542 := *v - yyh3542, yyl3542 := z.DecSliceHelperStart() - var yyc3542 bool - if yyl3542 == 0 { - if yyv3542 == nil { - yyv3542 = []Volume{} - yyc3542 = true - } else if len(yyv3542) != 0 { - yyv3542 = yyv3542[:0] - yyc3542 = true + yyv3568 := *v + yyh3568, yyl3568 := z.DecSliceHelperStart() + var yyc3568 bool + if yyl3568 == 0 { + if yyv3568 == nil { + yyv3568 = []Volume{} + yyc3568 = true + } else if len(yyv3568) != 0 { + yyv3568 = yyv3568[:0] + yyc3568 = true } - } else if yyl3542 > 0 { - var yyrr3542, yyrl3542 int - var yyrt3542 bool - if yyl3542 > cap(yyv3542) { + } else if yyl3568 > 0 { + var yyrr3568, yyrl3568 int + var yyrt3568 bool + if yyl3568 > cap(yyv3568) { - yyrg3542 := len(yyv3542) > 0 - yyv23542 := yyv3542 - yyrl3542, yyrt3542 = z.DecInferLen(yyl3542, z.DecBasicHandle().MaxInitLen, 144) - if yyrt3542 { - if yyrl3542 <= cap(yyv3542) { - yyv3542 = yyv3542[:yyrl3542] + yyrg3568 := len(yyv3568) > 0 + yyv23568 := yyv3568 + yyrl3568, yyrt3568 = z.DecInferLen(yyl3568, z.DecBasicHandle().MaxInitLen, 144) + if yyrt3568 { + if yyrl3568 <= cap(yyv3568) { + yyv3568 = yyv3568[:yyrl3568] } else { - yyv3542 = make([]Volume, yyrl3542) + yyv3568 = make([]Volume, yyrl3568) } } else { - yyv3542 = make([]Volume, yyrl3542) + yyv3568 = make([]Volume, yyrl3568) } - yyc3542 = true - yyrr3542 = len(yyv3542) - if yyrg3542 { - copy(yyv3542, yyv23542) + yyc3568 = true + yyrr3568 = len(yyv3568) + if yyrg3568 { + copy(yyv3568, yyv23568) } - } else if yyl3542 != len(yyv3542) { - yyv3542 = yyv3542[:yyl3542] - yyc3542 = true + } else if yyl3568 != len(yyv3568) { + yyv3568 = yyv3568[:yyl3568] + yyc3568 = true } - yyj3542 := 0 - for ; yyj3542 < yyrr3542; yyj3542++ { - yyh3542.ElemContainerState(yyj3542) + yyj3568 := 0 + for ; yyj3568 < yyrr3568; yyj3568++ { + yyh3568.ElemContainerState(yyj3568) if r.TryDecodeAsNil() { - yyv3542[yyj3542] = Volume{} + yyv3568[yyj3568] = Volume{} } else { - yyv3543 := &yyv3542[yyj3542] - yyv3543.CodecDecodeSelf(d) + yyv3569 := &yyv3568[yyj3568] + yyv3569.CodecDecodeSelf(d) } } - if yyrt3542 { - for ; yyj3542 < yyl3542; yyj3542++ { - yyv3542 = append(yyv3542, Volume{}) - yyh3542.ElemContainerState(yyj3542) + if yyrt3568 { + for ; yyj3568 < yyl3568; yyj3568++ { + yyv3568 = append(yyv3568, Volume{}) + yyh3568.ElemContainerState(yyj3568) if r.TryDecodeAsNil() { - yyv3542[yyj3542] = Volume{} + yyv3568[yyj3568] = Volume{} } else { - yyv3544 := &yyv3542[yyj3542] - yyv3544.CodecDecodeSelf(d) + yyv3570 := &yyv3568[yyj3568] + yyv3570.CodecDecodeSelf(d) } } } } else { - yyj3542 := 0 - for ; !r.CheckBreak(); yyj3542++ { + yyj3568 := 0 + for ; !r.CheckBreak(); yyj3568++ { - if yyj3542 >= len(yyv3542) { - yyv3542 = append(yyv3542, Volume{}) // var yyz3542 Volume - yyc3542 = true + if yyj3568 >= len(yyv3568) { + yyv3568 = append(yyv3568, Volume{}) // var yyz3568 Volume + yyc3568 = true } - yyh3542.ElemContainerState(yyj3542) - if yyj3542 < len(yyv3542) { + yyh3568.ElemContainerState(yyj3568) + if yyj3568 < len(yyv3568) { if r.TryDecodeAsNil() { - yyv3542[yyj3542] = Volume{} + yyv3568[yyj3568] = Volume{} } else { - yyv3545 := &yyv3542[yyj3542] - yyv3545.CodecDecodeSelf(d) + yyv3571 := &yyv3568[yyj3568] + yyv3571.CodecDecodeSelf(d) } } else { @@ -44190,17 +44489,17 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { } } - if yyj3542 < len(yyv3542) { - yyv3542 = yyv3542[:yyj3542] - yyc3542 = true - } else if yyj3542 == 0 && yyv3542 == nil { - yyv3542 = []Volume{} - yyc3542 = true + if yyj3568 < len(yyv3568) { + yyv3568 = yyv3568[:yyj3568] + yyc3568 = true + } else if yyj3568 == 0 && yyv3568 == nil { + yyv3568 = []Volume{} + yyc3568 = true } } - yyh3542.End() - if yyc3542 { - *v = yyv3542 + yyh3568.End() + if yyc3568 { + *v = yyv3568 } } @@ -44209,10 +44508,10 @@ func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3546 := range v { + for _, yyv3572 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3547 := &yyv3546 - yy3547.CodecEncodeSelf(e) + yy3573 := &yyv3572 + yy3573.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44222,83 +44521,83 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3548 := *v - yyh3548, yyl3548 := z.DecSliceHelperStart() - var yyc3548 bool - if yyl3548 == 0 { - if yyv3548 == nil { - yyv3548 = []Container{} - yyc3548 = true - } else if len(yyv3548) != 0 { - yyv3548 = yyv3548[:0] - yyc3548 = true + yyv3574 := *v + yyh3574, yyl3574 := z.DecSliceHelperStart() + var yyc3574 bool + if yyl3574 == 0 { + if yyv3574 == nil { + yyv3574 = []Container{} + yyc3574 = true + } else if len(yyv3574) != 0 { + yyv3574 = yyv3574[:0] + yyc3574 = true } - } else if yyl3548 > 0 { - var yyrr3548, yyrl3548 int - var yyrt3548 bool - if yyl3548 > cap(yyv3548) { + } else if yyl3574 > 0 { + var yyrr3574, yyrl3574 int + var yyrt3574 bool + if yyl3574 > cap(yyv3574) { - yyrg3548 := len(yyv3548) > 0 - yyv23548 := yyv3548 - yyrl3548, yyrt3548 = z.DecInferLen(yyl3548, z.DecBasicHandle().MaxInitLen, 256) - if yyrt3548 { - if yyrl3548 <= cap(yyv3548) { - yyv3548 = yyv3548[:yyrl3548] + yyrg3574 := len(yyv3574) > 0 + yyv23574 := yyv3574 + yyrl3574, yyrt3574 = z.DecInferLen(yyl3574, z.DecBasicHandle().MaxInitLen, 256) + if yyrt3574 { + if yyrl3574 <= cap(yyv3574) { + yyv3574 = yyv3574[:yyrl3574] } else { - yyv3548 = make([]Container, yyrl3548) + yyv3574 = make([]Container, yyrl3574) } } else { - yyv3548 = make([]Container, yyrl3548) + yyv3574 = make([]Container, yyrl3574) } - yyc3548 = true - yyrr3548 = len(yyv3548) - if yyrg3548 { - copy(yyv3548, yyv23548) + yyc3574 = true + yyrr3574 = len(yyv3574) + if yyrg3574 { + copy(yyv3574, yyv23574) } - } else if yyl3548 != len(yyv3548) { - yyv3548 = yyv3548[:yyl3548] - yyc3548 = true + } else if yyl3574 != len(yyv3574) { + yyv3574 = yyv3574[:yyl3574] + yyc3574 = true } - yyj3548 := 0 - for ; yyj3548 < yyrr3548; yyj3548++ { - yyh3548.ElemContainerState(yyj3548) + yyj3574 := 0 + for ; yyj3574 < yyrr3574; yyj3574++ { + yyh3574.ElemContainerState(yyj3574) if r.TryDecodeAsNil() { - yyv3548[yyj3548] = Container{} + yyv3574[yyj3574] = Container{} } else { - yyv3549 := &yyv3548[yyj3548] - yyv3549.CodecDecodeSelf(d) + yyv3575 := &yyv3574[yyj3574] + yyv3575.CodecDecodeSelf(d) } } - if yyrt3548 { - for ; yyj3548 < yyl3548; yyj3548++ { - yyv3548 = append(yyv3548, Container{}) - yyh3548.ElemContainerState(yyj3548) + if yyrt3574 { + for ; yyj3574 < yyl3574; yyj3574++ { + yyv3574 = append(yyv3574, Container{}) + yyh3574.ElemContainerState(yyj3574) if r.TryDecodeAsNil() { - yyv3548[yyj3548] = Container{} + yyv3574[yyj3574] = Container{} } else { - yyv3550 := &yyv3548[yyj3548] - yyv3550.CodecDecodeSelf(d) + yyv3576 := &yyv3574[yyj3574] + yyv3576.CodecDecodeSelf(d) } } } } else { - yyj3548 := 0 - for ; !r.CheckBreak(); yyj3548++ { + yyj3574 := 0 + for ; !r.CheckBreak(); yyj3574++ { - if yyj3548 >= len(yyv3548) { - yyv3548 = append(yyv3548, Container{}) // var yyz3548 Container - yyc3548 = true + if yyj3574 >= len(yyv3574) { + yyv3574 = append(yyv3574, Container{}) // var yyz3574 Container + yyc3574 = true } - yyh3548.ElemContainerState(yyj3548) - if yyj3548 < len(yyv3548) { + yyh3574.ElemContainerState(yyj3574) + if yyj3574 < len(yyv3574) { if r.TryDecodeAsNil() { - yyv3548[yyj3548] = Container{} + yyv3574[yyj3574] = Container{} } else { - yyv3551 := &yyv3548[yyj3548] - yyv3551.CodecDecodeSelf(d) + yyv3577 := &yyv3574[yyj3574] + yyv3577.CodecDecodeSelf(d) } } else { @@ -44306,17 +44605,17 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) } } - if yyj3548 < len(yyv3548) { - yyv3548 = yyv3548[:yyj3548] - yyc3548 = true - } else if yyj3548 == 0 && yyv3548 == nil { - yyv3548 = []Container{} - yyc3548 = true + if yyj3574 < len(yyv3574) { + yyv3574 = yyv3574[:yyj3574] + yyc3574 = true + } else if yyj3574 == 0 && yyv3574 == nil { + yyv3574 = []Container{} + yyc3574 = true } } - yyh3548.End() - if yyc3548 { - *v = yyv3548 + yyh3574.End() + if yyc3574 { + *v = yyv3574 } } @@ -44325,10 +44624,10 @@ func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3552 := range v { + for _, yyv3578 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3553 := &yyv3552 - yy3553.CodecEncodeSelf(e) + yy3579 := &yyv3578 + yy3579.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44338,83 +44637,83 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3554 := *v - yyh3554, yyl3554 := z.DecSliceHelperStart() - var yyc3554 bool - if yyl3554 == 0 { - if yyv3554 == nil { - yyv3554 = []LocalObjectReference{} - yyc3554 = true - } else if len(yyv3554) != 0 { - yyv3554 = yyv3554[:0] - yyc3554 = true + yyv3580 := *v + yyh3580, yyl3580 := z.DecSliceHelperStart() + var yyc3580 bool + if yyl3580 == 0 { + if yyv3580 == nil { + yyv3580 = []LocalObjectReference{} + yyc3580 = true + } else if len(yyv3580) != 0 { + yyv3580 = yyv3580[:0] + yyc3580 = true } - } else if yyl3554 > 0 { - var yyrr3554, yyrl3554 int - var yyrt3554 bool - if yyl3554 > cap(yyv3554) { + } else if yyl3580 > 0 { + var yyrr3580, yyrl3580 int + var yyrt3580 bool + if yyl3580 > cap(yyv3580) { - yyrg3554 := len(yyv3554) > 0 - yyv23554 := yyv3554 - yyrl3554, yyrt3554 = z.DecInferLen(yyl3554, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3554 { - if yyrl3554 <= cap(yyv3554) { - yyv3554 = yyv3554[:yyrl3554] + yyrg3580 := len(yyv3580) > 0 + yyv23580 := yyv3580 + yyrl3580, yyrt3580 = z.DecInferLen(yyl3580, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3580 { + if yyrl3580 <= cap(yyv3580) { + yyv3580 = yyv3580[:yyrl3580] } else { - yyv3554 = make([]LocalObjectReference, yyrl3554) + yyv3580 = make([]LocalObjectReference, yyrl3580) } } else { - yyv3554 = make([]LocalObjectReference, yyrl3554) + yyv3580 = make([]LocalObjectReference, yyrl3580) } - yyc3554 = true - yyrr3554 = len(yyv3554) - if yyrg3554 { - copy(yyv3554, yyv23554) + yyc3580 = true + yyrr3580 = len(yyv3580) + if yyrg3580 { + copy(yyv3580, yyv23580) } - } else if yyl3554 != len(yyv3554) { - yyv3554 = yyv3554[:yyl3554] - yyc3554 = true + } else if yyl3580 != len(yyv3580) { + yyv3580 = yyv3580[:yyl3580] + yyc3580 = true } - yyj3554 := 0 - for ; yyj3554 < yyrr3554; yyj3554++ { - yyh3554.ElemContainerState(yyj3554) + yyj3580 := 0 + for ; yyj3580 < yyrr3580; yyj3580++ { + yyh3580.ElemContainerState(yyj3580) if r.TryDecodeAsNil() { - yyv3554[yyj3554] = LocalObjectReference{} + yyv3580[yyj3580] = LocalObjectReference{} } else { - yyv3555 := &yyv3554[yyj3554] - yyv3555.CodecDecodeSelf(d) + yyv3581 := &yyv3580[yyj3580] + yyv3581.CodecDecodeSelf(d) } } - if yyrt3554 { - for ; yyj3554 < yyl3554; yyj3554++ { - yyv3554 = append(yyv3554, LocalObjectReference{}) - yyh3554.ElemContainerState(yyj3554) + if yyrt3580 { + for ; yyj3580 < yyl3580; yyj3580++ { + yyv3580 = append(yyv3580, LocalObjectReference{}) + yyh3580.ElemContainerState(yyj3580) if r.TryDecodeAsNil() { - yyv3554[yyj3554] = LocalObjectReference{} + yyv3580[yyj3580] = LocalObjectReference{} } else { - yyv3556 := &yyv3554[yyj3554] - yyv3556.CodecDecodeSelf(d) + yyv3582 := &yyv3580[yyj3580] + yyv3582.CodecDecodeSelf(d) } } } } else { - yyj3554 := 0 - for ; !r.CheckBreak(); yyj3554++ { + yyj3580 := 0 + for ; !r.CheckBreak(); yyj3580++ { - if yyj3554 >= len(yyv3554) { - yyv3554 = append(yyv3554, LocalObjectReference{}) // var yyz3554 LocalObjectReference - yyc3554 = true + if yyj3580 >= len(yyv3580) { + yyv3580 = append(yyv3580, LocalObjectReference{}) // var yyz3580 LocalObjectReference + yyc3580 = true } - yyh3554.ElemContainerState(yyj3554) - if yyj3554 < len(yyv3554) { + yyh3580.ElemContainerState(yyj3580) + if yyj3580 < len(yyv3580) { if r.TryDecodeAsNil() { - yyv3554[yyj3554] = LocalObjectReference{} + yyv3580[yyj3580] = LocalObjectReference{} } else { - yyv3557 := &yyv3554[yyj3554] - yyv3557.CodecDecodeSelf(d) + yyv3583 := &yyv3580[yyj3580] + yyv3583.CodecDecodeSelf(d) } } else { @@ -44422,17 +44721,17 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, } } - if yyj3554 < len(yyv3554) { - yyv3554 = yyv3554[:yyj3554] - yyc3554 = true - } else if yyj3554 == 0 && yyv3554 == nil { - yyv3554 = []LocalObjectReference{} - yyc3554 = true + if yyj3580 < len(yyv3580) { + yyv3580 = yyv3580[:yyj3580] + yyc3580 = true + } else if yyj3580 == 0 && yyv3580 == nil { + yyv3580 = []LocalObjectReference{} + yyc3580 = true } } - yyh3554.End() - if yyc3554 { - *v = yyv3554 + yyh3580.End() + if yyc3580 { + *v = yyv3580 } } @@ -44441,10 +44740,10 @@ func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3558 := range v { + for _, yyv3584 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3559 := &yyv3558 - yy3559.CodecEncodeSelf(e) + yy3585 := &yyv3584 + yy3585.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44454,83 +44753,83 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3560 := *v - yyh3560, yyl3560 := z.DecSliceHelperStart() - var yyc3560 bool - if yyl3560 == 0 { - if yyv3560 == nil { - yyv3560 = []PodCondition{} - yyc3560 = true - } else if len(yyv3560) != 0 { - yyv3560 = yyv3560[:0] - yyc3560 = true + yyv3586 := *v + yyh3586, yyl3586 := z.DecSliceHelperStart() + var yyc3586 bool + if yyl3586 == 0 { + if yyv3586 == nil { + yyv3586 = []PodCondition{} + yyc3586 = true + } else if len(yyv3586) != 0 { + yyv3586 = yyv3586[:0] + yyc3586 = true } - } else if yyl3560 > 0 { - var yyrr3560, yyrl3560 int - var yyrt3560 bool - if yyl3560 > cap(yyv3560) { + } else if yyl3586 > 0 { + var yyrr3586, yyrl3586 int + var yyrt3586 bool + if yyl3586 > cap(yyv3586) { - yyrg3560 := len(yyv3560) > 0 - yyv23560 := yyv3560 - yyrl3560, yyrt3560 = z.DecInferLen(yyl3560, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3560 { - if yyrl3560 <= cap(yyv3560) { - yyv3560 = yyv3560[:yyrl3560] + yyrg3586 := len(yyv3586) > 0 + yyv23586 := yyv3586 + yyrl3586, yyrt3586 = z.DecInferLen(yyl3586, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3586 { + if yyrl3586 <= cap(yyv3586) { + yyv3586 = yyv3586[:yyrl3586] } else { - yyv3560 = make([]PodCondition, yyrl3560) + yyv3586 = make([]PodCondition, yyrl3586) } } else { - yyv3560 = make([]PodCondition, yyrl3560) + yyv3586 = make([]PodCondition, yyrl3586) } - yyc3560 = true - yyrr3560 = len(yyv3560) - if yyrg3560 { - copy(yyv3560, yyv23560) + yyc3586 = true + yyrr3586 = len(yyv3586) + if yyrg3586 { + copy(yyv3586, yyv23586) } - } else if yyl3560 != len(yyv3560) { - yyv3560 = yyv3560[:yyl3560] - yyc3560 = true + } else if yyl3586 != len(yyv3586) { + yyv3586 = yyv3586[:yyl3586] + yyc3586 = true } - yyj3560 := 0 - for ; yyj3560 < yyrr3560; yyj3560++ { - yyh3560.ElemContainerState(yyj3560) + yyj3586 := 0 + for ; yyj3586 < yyrr3586; yyj3586++ { + yyh3586.ElemContainerState(yyj3586) if r.TryDecodeAsNil() { - yyv3560[yyj3560] = PodCondition{} + yyv3586[yyj3586] = PodCondition{} } else { - yyv3561 := &yyv3560[yyj3560] - yyv3561.CodecDecodeSelf(d) + yyv3587 := &yyv3586[yyj3586] + yyv3587.CodecDecodeSelf(d) } } - if yyrt3560 { - for ; yyj3560 < yyl3560; yyj3560++ { - yyv3560 = append(yyv3560, PodCondition{}) - yyh3560.ElemContainerState(yyj3560) + if yyrt3586 { + for ; yyj3586 < yyl3586; yyj3586++ { + yyv3586 = append(yyv3586, PodCondition{}) + yyh3586.ElemContainerState(yyj3586) if r.TryDecodeAsNil() { - yyv3560[yyj3560] = PodCondition{} + yyv3586[yyj3586] = PodCondition{} } else { - yyv3562 := &yyv3560[yyj3560] - yyv3562.CodecDecodeSelf(d) + yyv3588 := &yyv3586[yyj3586] + yyv3588.CodecDecodeSelf(d) } } } } else { - yyj3560 := 0 - for ; !r.CheckBreak(); yyj3560++ { + yyj3586 := 0 + for ; !r.CheckBreak(); yyj3586++ { - if yyj3560 >= len(yyv3560) { - yyv3560 = append(yyv3560, PodCondition{}) // var yyz3560 PodCondition - yyc3560 = true + if yyj3586 >= len(yyv3586) { + yyv3586 = append(yyv3586, PodCondition{}) // var yyz3586 PodCondition + yyc3586 = true } - yyh3560.ElemContainerState(yyj3560) - if yyj3560 < len(yyv3560) { + yyh3586.ElemContainerState(yyj3586) + if yyj3586 < len(yyv3586) { if r.TryDecodeAsNil() { - yyv3560[yyj3560] = PodCondition{} + yyv3586[yyj3586] = PodCondition{} } else { - yyv3563 := &yyv3560[yyj3560] - yyv3563.CodecDecodeSelf(d) + yyv3589 := &yyv3586[yyj3586] + yyv3589.CodecDecodeSelf(d) } } else { @@ -44538,17 +44837,17 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De } } - if yyj3560 < len(yyv3560) { - yyv3560 = yyv3560[:yyj3560] - yyc3560 = true - } else if yyj3560 == 0 && yyv3560 == nil { - yyv3560 = []PodCondition{} - yyc3560 = true + if yyj3586 < len(yyv3586) { + yyv3586 = yyv3586[:yyj3586] + yyc3586 = true + } else if yyj3586 == 0 && yyv3586 == nil { + yyv3586 = []PodCondition{} + yyc3586 = true } } - yyh3560.End() - if yyc3560 { - *v = yyv3560 + yyh3586.End() + if yyc3586 { + *v = yyv3586 } } @@ -44557,10 +44856,10 @@ func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3564 := range v { + for _, yyv3590 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3565 := &yyv3564 - yy3565.CodecEncodeSelf(e) + yy3591 := &yyv3590 + yy3591.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44570,83 +44869,83 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3566 := *v - yyh3566, yyl3566 := z.DecSliceHelperStart() - var yyc3566 bool - if yyl3566 == 0 { - if yyv3566 == nil { - yyv3566 = []ContainerStatus{} - yyc3566 = true - } else if len(yyv3566) != 0 { - yyv3566 = yyv3566[:0] - yyc3566 = true + yyv3592 := *v + yyh3592, yyl3592 := z.DecSliceHelperStart() + var yyc3592 bool + if yyl3592 == 0 { + if yyv3592 == nil { + yyv3592 = []ContainerStatus{} + yyc3592 = true + } else if len(yyv3592) != 0 { + yyv3592 = yyv3592[:0] + yyc3592 = true } - } else if yyl3566 > 0 { - var yyrr3566, yyrl3566 int - var yyrt3566 bool - if yyl3566 > cap(yyv3566) { + } else if yyl3592 > 0 { + var yyrr3592, yyrl3592 int + var yyrt3592 bool + if yyl3592 > cap(yyv3592) { - yyrg3566 := len(yyv3566) > 0 - yyv23566 := yyv3566 - yyrl3566, yyrt3566 = z.DecInferLen(yyl3566, z.DecBasicHandle().MaxInitLen, 120) - if yyrt3566 { - if yyrl3566 <= cap(yyv3566) { - yyv3566 = yyv3566[:yyrl3566] + yyrg3592 := len(yyv3592) > 0 + yyv23592 := yyv3592 + yyrl3592, yyrt3592 = z.DecInferLen(yyl3592, z.DecBasicHandle().MaxInitLen, 120) + if yyrt3592 { + if yyrl3592 <= cap(yyv3592) { + yyv3592 = yyv3592[:yyrl3592] } else { - yyv3566 = make([]ContainerStatus, yyrl3566) + yyv3592 = make([]ContainerStatus, yyrl3592) } } else { - yyv3566 = make([]ContainerStatus, yyrl3566) + yyv3592 = make([]ContainerStatus, yyrl3592) } - yyc3566 = true - yyrr3566 = len(yyv3566) - if yyrg3566 { - copy(yyv3566, yyv23566) + yyc3592 = true + yyrr3592 = len(yyv3592) + if yyrg3592 { + copy(yyv3592, yyv23592) } - } else if yyl3566 != len(yyv3566) { - yyv3566 = yyv3566[:yyl3566] - yyc3566 = true + } else if yyl3592 != len(yyv3592) { + yyv3592 = yyv3592[:yyl3592] + yyc3592 = true } - yyj3566 := 0 - for ; yyj3566 < yyrr3566; yyj3566++ { - yyh3566.ElemContainerState(yyj3566) + yyj3592 := 0 + for ; yyj3592 < yyrr3592; yyj3592++ { + yyh3592.ElemContainerState(yyj3592) if r.TryDecodeAsNil() { - yyv3566[yyj3566] = ContainerStatus{} + yyv3592[yyj3592] = ContainerStatus{} } else { - yyv3567 := &yyv3566[yyj3566] - yyv3567.CodecDecodeSelf(d) + yyv3593 := &yyv3592[yyj3592] + yyv3593.CodecDecodeSelf(d) } } - if yyrt3566 { - for ; yyj3566 < yyl3566; yyj3566++ { - yyv3566 = append(yyv3566, ContainerStatus{}) - yyh3566.ElemContainerState(yyj3566) + if yyrt3592 { + for ; yyj3592 < yyl3592; yyj3592++ { + yyv3592 = append(yyv3592, ContainerStatus{}) + yyh3592.ElemContainerState(yyj3592) if r.TryDecodeAsNil() { - yyv3566[yyj3566] = ContainerStatus{} + yyv3592[yyj3592] = ContainerStatus{} } else { - yyv3568 := &yyv3566[yyj3566] - yyv3568.CodecDecodeSelf(d) + yyv3594 := &yyv3592[yyj3592] + yyv3594.CodecDecodeSelf(d) } } } } else { - yyj3566 := 0 - for ; !r.CheckBreak(); yyj3566++ { + yyj3592 := 0 + for ; !r.CheckBreak(); yyj3592++ { - if yyj3566 >= len(yyv3566) { - yyv3566 = append(yyv3566, ContainerStatus{}) // var yyz3566 ContainerStatus - yyc3566 = true + if yyj3592 >= len(yyv3592) { + yyv3592 = append(yyv3592, ContainerStatus{}) // var yyz3592 ContainerStatus + yyc3592 = true } - yyh3566.ElemContainerState(yyj3566) - if yyj3566 < len(yyv3566) { + yyh3592.ElemContainerState(yyj3592) + if yyj3592 < len(yyv3592) { if r.TryDecodeAsNil() { - yyv3566[yyj3566] = ContainerStatus{} + yyv3592[yyj3592] = ContainerStatus{} } else { - yyv3569 := &yyv3566[yyj3566] - yyv3569.CodecDecodeSelf(d) + yyv3595 := &yyv3592[yyj3592] + yyv3595.CodecDecodeSelf(d) } } else { @@ -44654,17 +44953,17 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 } } - if yyj3566 < len(yyv3566) { - yyv3566 = yyv3566[:yyj3566] - yyc3566 = true - } else if yyj3566 == 0 && yyv3566 == nil { - yyv3566 = []ContainerStatus{} - yyc3566 = true + if yyj3592 < len(yyv3592) { + yyv3592 = yyv3592[:yyj3592] + yyc3592 = true + } else if yyj3592 == 0 && yyv3592 == nil { + yyv3592 = []ContainerStatus{} + yyc3592 = true } } - yyh3566.End() - if yyc3566 { - *v = yyv3566 + yyh3592.End() + if yyc3592 { + *v = yyv3592 } } @@ -44673,10 +44972,10 @@ func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3570 := range v { + for _, yyv3596 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3571 := &yyv3570 - yy3571.CodecEncodeSelf(e) + yy3597 := &yyv3596 + yy3597.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44686,83 +44985,83 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3572 := *v - yyh3572, yyl3572 := z.DecSliceHelperStart() - var yyc3572 bool - if yyl3572 == 0 { - if yyv3572 == nil { - yyv3572 = []Pod{} - yyc3572 = true - } else if len(yyv3572) != 0 { - yyv3572 = yyv3572[:0] - yyc3572 = true + yyv3598 := *v + yyh3598, yyl3598 := z.DecSliceHelperStart() + var yyc3598 bool + if yyl3598 == 0 { + if yyv3598 == nil { + yyv3598 = []Pod{} + yyc3598 = true + } else if len(yyv3598) != 0 { + yyv3598 = yyv3598[:0] + yyc3598 = true } - } else if yyl3572 > 0 { - var yyrr3572, yyrl3572 int - var yyrt3572 bool - if yyl3572 > cap(yyv3572) { + } else if yyl3598 > 0 { + var yyrr3598, yyrl3598 int + var yyrt3598 bool + if yyl3598 > cap(yyv3598) { - yyrg3572 := len(yyv3572) > 0 - yyv23572 := yyv3572 - yyrl3572, yyrt3572 = z.DecInferLen(yyl3572, z.DecBasicHandle().MaxInitLen, 520) - if yyrt3572 { - if yyrl3572 <= cap(yyv3572) { - yyv3572 = yyv3572[:yyrl3572] + yyrg3598 := len(yyv3598) > 0 + yyv23598 := yyv3598 + yyrl3598, yyrt3598 = z.DecInferLen(yyl3598, z.DecBasicHandle().MaxInitLen, 520) + if yyrt3598 { + if yyrl3598 <= cap(yyv3598) { + yyv3598 = yyv3598[:yyrl3598] } else { - yyv3572 = make([]Pod, yyrl3572) + yyv3598 = make([]Pod, yyrl3598) } } else { - yyv3572 = make([]Pod, yyrl3572) + yyv3598 = make([]Pod, yyrl3598) } - yyc3572 = true - yyrr3572 = len(yyv3572) - if yyrg3572 { - copy(yyv3572, yyv23572) + yyc3598 = true + yyrr3598 = len(yyv3598) + if yyrg3598 { + copy(yyv3598, yyv23598) } - } else if yyl3572 != len(yyv3572) { - yyv3572 = yyv3572[:yyl3572] - yyc3572 = true + } else if yyl3598 != len(yyv3598) { + yyv3598 = yyv3598[:yyl3598] + yyc3598 = true } - yyj3572 := 0 - for ; yyj3572 < yyrr3572; yyj3572++ { - yyh3572.ElemContainerState(yyj3572) + yyj3598 := 0 + for ; yyj3598 < yyrr3598; yyj3598++ { + yyh3598.ElemContainerState(yyj3598) if r.TryDecodeAsNil() { - yyv3572[yyj3572] = Pod{} + yyv3598[yyj3598] = Pod{} } else { - yyv3573 := &yyv3572[yyj3572] - yyv3573.CodecDecodeSelf(d) + yyv3599 := &yyv3598[yyj3598] + yyv3599.CodecDecodeSelf(d) } } - if yyrt3572 { - for ; yyj3572 < yyl3572; yyj3572++ { - yyv3572 = append(yyv3572, Pod{}) - yyh3572.ElemContainerState(yyj3572) + if yyrt3598 { + for ; yyj3598 < yyl3598; yyj3598++ { + yyv3598 = append(yyv3598, Pod{}) + yyh3598.ElemContainerState(yyj3598) if r.TryDecodeAsNil() { - yyv3572[yyj3572] = Pod{} + yyv3598[yyj3598] = Pod{} } else { - yyv3574 := &yyv3572[yyj3572] - yyv3574.CodecDecodeSelf(d) + yyv3600 := &yyv3598[yyj3598] + yyv3600.CodecDecodeSelf(d) } } } } else { - yyj3572 := 0 - for ; !r.CheckBreak(); yyj3572++ { + yyj3598 := 0 + for ; !r.CheckBreak(); yyj3598++ { - if yyj3572 >= len(yyv3572) { - yyv3572 = append(yyv3572, Pod{}) // var yyz3572 Pod - yyc3572 = true + if yyj3598 >= len(yyv3598) { + yyv3598 = append(yyv3598, Pod{}) // var yyz3598 Pod + yyc3598 = true } - yyh3572.ElemContainerState(yyj3572) - if yyj3572 < len(yyv3572) { + yyh3598.ElemContainerState(yyj3598) + if yyj3598 < len(yyv3598) { if r.TryDecodeAsNil() { - yyv3572[yyj3572] = Pod{} + yyv3598[yyj3598] = Pod{} } else { - yyv3575 := &yyv3572[yyj3572] - yyv3575.CodecDecodeSelf(d) + yyv3601 := &yyv3598[yyj3598] + yyv3601.CodecDecodeSelf(d) } } else { @@ -44770,17 +45069,17 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } } - if yyj3572 < len(yyv3572) { - yyv3572 = yyv3572[:yyj3572] - yyc3572 = true - } else if yyj3572 == 0 && yyv3572 == nil { - yyv3572 = []Pod{} - yyc3572 = true + if yyj3598 < len(yyv3598) { + yyv3598 = yyv3598[:yyj3598] + yyc3598 = true + } else if yyj3598 == 0 && yyv3598 == nil { + yyv3598 = []Pod{} + yyc3598 = true } } - yyh3572.End() - if yyc3572 { - *v = yyv3572 + yyh3598.End() + if yyc3598 { + *v = yyv3598 } } @@ -44789,10 +45088,10 @@ func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3576 := range v { + for _, yyv3602 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3577 := &yyv3576 - yy3577.CodecEncodeSelf(e) + yy3603 := &yyv3602 + yy3603.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44802,83 +45101,83 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3578 := *v - yyh3578, yyl3578 := z.DecSliceHelperStart() - var yyc3578 bool - if yyl3578 == 0 { - if yyv3578 == nil { - yyv3578 = []PodTemplate{} - yyc3578 = true - } else if len(yyv3578) != 0 { - yyv3578 = yyv3578[:0] - yyc3578 = true + yyv3604 := *v + yyh3604, yyl3604 := z.DecSliceHelperStart() + var yyc3604 bool + if yyl3604 == 0 { + if yyv3604 == nil { + yyv3604 = []PodTemplate{} + yyc3604 = true + } else if len(yyv3604) != 0 { + yyv3604 = yyv3604[:0] + yyc3604 = true } - } else if yyl3578 > 0 { - var yyrr3578, yyrl3578 int - var yyrt3578 bool - if yyl3578 > cap(yyv3578) { + } else if yyl3604 > 0 { + var yyrr3604, yyrl3604 int + var yyrt3604 bool + if yyl3604 > cap(yyv3604) { - yyrg3578 := len(yyv3578) > 0 - yyv23578 := yyv3578 - yyrl3578, yyrt3578 = z.DecInferLen(yyl3578, z.DecBasicHandle().MaxInitLen, 544) - if yyrt3578 { - if yyrl3578 <= cap(yyv3578) { - yyv3578 = yyv3578[:yyrl3578] + yyrg3604 := len(yyv3604) > 0 + yyv23604 := yyv3604 + yyrl3604, yyrt3604 = z.DecInferLen(yyl3604, z.DecBasicHandle().MaxInitLen, 544) + if yyrt3604 { + if yyrl3604 <= cap(yyv3604) { + yyv3604 = yyv3604[:yyrl3604] } else { - yyv3578 = make([]PodTemplate, yyrl3578) + yyv3604 = make([]PodTemplate, yyrl3604) } } else { - yyv3578 = make([]PodTemplate, yyrl3578) + yyv3604 = make([]PodTemplate, yyrl3604) } - yyc3578 = true - yyrr3578 = len(yyv3578) - if yyrg3578 { - copy(yyv3578, yyv23578) + yyc3604 = true + yyrr3604 = len(yyv3604) + if yyrg3604 { + copy(yyv3604, yyv23604) } - } else if yyl3578 != len(yyv3578) { - yyv3578 = yyv3578[:yyl3578] - yyc3578 = true + } else if yyl3604 != len(yyv3604) { + yyv3604 = yyv3604[:yyl3604] + yyc3604 = true } - yyj3578 := 0 - for ; yyj3578 < yyrr3578; yyj3578++ { - yyh3578.ElemContainerState(yyj3578) + yyj3604 := 0 + for ; yyj3604 < yyrr3604; yyj3604++ { + yyh3604.ElemContainerState(yyj3604) if r.TryDecodeAsNil() { - yyv3578[yyj3578] = PodTemplate{} + yyv3604[yyj3604] = PodTemplate{} } else { - yyv3579 := &yyv3578[yyj3578] - yyv3579.CodecDecodeSelf(d) + yyv3605 := &yyv3604[yyj3604] + yyv3605.CodecDecodeSelf(d) } } - if yyrt3578 { - for ; yyj3578 < yyl3578; yyj3578++ { - yyv3578 = append(yyv3578, PodTemplate{}) - yyh3578.ElemContainerState(yyj3578) + if yyrt3604 { + for ; yyj3604 < yyl3604; yyj3604++ { + yyv3604 = append(yyv3604, PodTemplate{}) + yyh3604.ElemContainerState(yyj3604) if r.TryDecodeAsNil() { - yyv3578[yyj3578] = PodTemplate{} + yyv3604[yyj3604] = PodTemplate{} } else { - yyv3580 := &yyv3578[yyj3578] - yyv3580.CodecDecodeSelf(d) + yyv3606 := &yyv3604[yyj3604] + yyv3606.CodecDecodeSelf(d) } } } } else { - yyj3578 := 0 - for ; !r.CheckBreak(); yyj3578++ { + yyj3604 := 0 + for ; !r.CheckBreak(); yyj3604++ { - if yyj3578 >= len(yyv3578) { - yyv3578 = append(yyv3578, PodTemplate{}) // var yyz3578 PodTemplate - yyc3578 = true + if yyj3604 >= len(yyv3604) { + yyv3604 = append(yyv3604, PodTemplate{}) // var yyz3604 PodTemplate + yyc3604 = true } - yyh3578.ElemContainerState(yyj3578) - if yyj3578 < len(yyv3578) { + yyh3604.ElemContainerState(yyj3604) + if yyj3604 < len(yyv3604) { if r.TryDecodeAsNil() { - yyv3578[yyj3578] = PodTemplate{} + yyv3604[yyj3604] = PodTemplate{} } else { - yyv3581 := &yyv3578[yyj3578] - yyv3581.CodecDecodeSelf(d) + yyv3607 := &yyv3604[yyj3604] + yyv3607.CodecDecodeSelf(d) } } else { @@ -44886,17 +45185,17 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } - if yyj3578 < len(yyv3578) { - yyv3578 = yyv3578[:yyj3578] - yyc3578 = true - } else if yyj3578 == 0 && yyv3578 == nil { - yyv3578 = []PodTemplate{} - yyc3578 = true + if yyj3604 < len(yyv3604) { + yyv3604 = yyv3604[:yyj3604] + yyc3604 = true + } else if yyj3604 == 0 && yyv3604 == nil { + yyv3604 = []PodTemplate{} + yyc3604 = true } } - yyh3578.End() - if yyc3578 { - *v = yyv3578 + yyh3604.End() + if yyc3604 { + *v = yyv3604 } } @@ -44905,10 +45204,10 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3582 := range v { + for _, yyv3608 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3583 := &yyv3582 - yy3583.CodecEncodeSelf(e) + yy3609 := &yyv3608 + yy3609.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44918,83 +45217,83 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3584 := *v - yyh3584, yyl3584 := z.DecSliceHelperStart() - var yyc3584 bool - if yyl3584 == 0 { - if yyv3584 == nil { - yyv3584 = []ReplicationController{} - yyc3584 = true - } else if len(yyv3584) != 0 { - yyv3584 = yyv3584[:0] - yyc3584 = true + yyv3610 := *v + yyh3610, yyl3610 := z.DecSliceHelperStart() + var yyc3610 bool + if yyl3610 == 0 { + if yyv3610 == nil { + yyv3610 = []ReplicationController{} + yyc3610 = true + } else if len(yyv3610) != 0 { + yyv3610 = yyv3610[:0] + yyc3610 = true } - } else if yyl3584 > 0 { - var yyrr3584, yyrl3584 int - var yyrt3584 bool - if yyl3584 > cap(yyv3584) { + } else if yyl3610 > 0 { + var yyrr3610, yyrl3610 int + var yyrt3610 bool + if yyl3610 > cap(yyv3610) { - yyrg3584 := len(yyv3584) > 0 - yyv23584 := yyv3584 - yyrl3584, yyrt3584 = z.DecInferLen(yyl3584, z.DecBasicHandle().MaxInitLen, 232) - if yyrt3584 { - if yyrl3584 <= cap(yyv3584) { - yyv3584 = yyv3584[:yyrl3584] + yyrg3610 := len(yyv3610) > 0 + yyv23610 := yyv3610 + yyrl3610, yyrt3610 = z.DecInferLen(yyl3610, z.DecBasicHandle().MaxInitLen, 232) + if yyrt3610 { + if yyrl3610 <= cap(yyv3610) { + yyv3610 = yyv3610[:yyrl3610] } else { - yyv3584 = make([]ReplicationController, yyrl3584) + yyv3610 = make([]ReplicationController, yyrl3610) } } else { - yyv3584 = make([]ReplicationController, yyrl3584) + yyv3610 = make([]ReplicationController, yyrl3610) } - yyc3584 = true - yyrr3584 = len(yyv3584) - if yyrg3584 { - copy(yyv3584, yyv23584) + yyc3610 = true + yyrr3610 = len(yyv3610) + if yyrg3610 { + copy(yyv3610, yyv23610) } - } else if yyl3584 != len(yyv3584) { - yyv3584 = yyv3584[:yyl3584] - yyc3584 = true + } else if yyl3610 != len(yyv3610) { + yyv3610 = yyv3610[:yyl3610] + yyc3610 = true } - yyj3584 := 0 - for ; yyj3584 < yyrr3584; yyj3584++ { - yyh3584.ElemContainerState(yyj3584) + yyj3610 := 0 + for ; yyj3610 < yyrr3610; yyj3610++ { + yyh3610.ElemContainerState(yyj3610) if r.TryDecodeAsNil() { - yyv3584[yyj3584] = ReplicationController{} + yyv3610[yyj3610] = ReplicationController{} } else { - yyv3585 := &yyv3584[yyj3584] - yyv3585.CodecDecodeSelf(d) + yyv3611 := &yyv3610[yyj3610] + yyv3611.CodecDecodeSelf(d) } } - if yyrt3584 { - for ; yyj3584 < yyl3584; yyj3584++ { - yyv3584 = append(yyv3584, ReplicationController{}) - yyh3584.ElemContainerState(yyj3584) + if yyrt3610 { + for ; yyj3610 < yyl3610; yyj3610++ { + yyv3610 = append(yyv3610, ReplicationController{}) + yyh3610.ElemContainerState(yyj3610) if r.TryDecodeAsNil() { - yyv3584[yyj3584] = ReplicationController{} + yyv3610[yyj3610] = ReplicationController{} } else { - yyv3586 := &yyv3584[yyj3584] - yyv3586.CodecDecodeSelf(d) + yyv3612 := &yyv3610[yyj3610] + yyv3612.CodecDecodeSelf(d) } } } } else { - yyj3584 := 0 - for ; !r.CheckBreak(); yyj3584++ { + yyj3610 := 0 + for ; !r.CheckBreak(); yyj3610++ { - if yyj3584 >= len(yyv3584) { - yyv3584 = append(yyv3584, ReplicationController{}) // var yyz3584 ReplicationController - yyc3584 = true + if yyj3610 >= len(yyv3610) { + yyv3610 = append(yyv3610, ReplicationController{}) // var yyz3610 ReplicationController + yyc3610 = true } - yyh3584.ElemContainerState(yyj3584) - if yyj3584 < len(yyv3584) { + yyh3610.ElemContainerState(yyj3610) + if yyj3610 < len(yyv3610) { if r.TryDecodeAsNil() { - yyv3584[yyj3584] = ReplicationController{} + yyv3610[yyj3610] = ReplicationController{} } else { - yyv3587 := &yyv3584[yyj3584] - yyv3587.CodecDecodeSelf(d) + yyv3613 := &yyv3610[yyj3610] + yyv3613.CodecDecodeSelf(d) } } else { @@ -45002,17 +45301,17 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } - if yyj3584 < len(yyv3584) { - yyv3584 = yyv3584[:yyj3584] - yyc3584 = true - } else if yyj3584 == 0 && yyv3584 == nil { - yyv3584 = []ReplicationController{} - yyc3584 = true + if yyj3610 < len(yyv3610) { + yyv3610 = yyv3610[:yyj3610] + yyc3610 = true + } else if yyj3610 == 0 && yyv3610 == nil { + yyv3610 = []ReplicationController{} + yyc3610 = true } } - yyh3584.End() - if yyc3584 { - *v = yyv3584 + yyh3610.End() + if yyc3610 { + *v = yyv3610 } } @@ -45021,10 +45320,10 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3588 := range v { + for _, yyv3614 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3589 := &yyv3588 - yy3589.CodecEncodeSelf(e) + yy3615 := &yyv3614 + yy3615.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45034,83 +45333,83 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3590 := *v - yyh3590, yyl3590 := z.DecSliceHelperStart() - var yyc3590 bool - if yyl3590 == 0 { - if yyv3590 == nil { - yyv3590 = []LoadBalancerIngress{} - yyc3590 = true - } else if len(yyv3590) != 0 { - yyv3590 = yyv3590[:0] - yyc3590 = true + yyv3616 := *v + yyh3616, yyl3616 := z.DecSliceHelperStart() + var yyc3616 bool + if yyl3616 == 0 { + if yyv3616 == nil { + yyv3616 = []LoadBalancerIngress{} + yyc3616 = true + } else if len(yyv3616) != 0 { + yyv3616 = yyv3616[:0] + yyc3616 = true } - } else if yyl3590 > 0 { - var yyrr3590, yyrl3590 int - var yyrt3590 bool - if yyl3590 > cap(yyv3590) { + } else if yyl3616 > 0 { + var yyrr3616, yyrl3616 int + var yyrt3616 bool + if yyl3616 > cap(yyv3616) { - yyrg3590 := len(yyv3590) > 0 - yyv23590 := yyv3590 - yyrl3590, yyrt3590 = z.DecInferLen(yyl3590, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3590 { - if yyrl3590 <= cap(yyv3590) { - yyv3590 = yyv3590[:yyrl3590] + yyrg3616 := len(yyv3616) > 0 + yyv23616 := yyv3616 + yyrl3616, yyrt3616 = z.DecInferLen(yyl3616, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3616 { + if yyrl3616 <= cap(yyv3616) { + yyv3616 = yyv3616[:yyrl3616] } else { - yyv3590 = make([]LoadBalancerIngress, yyrl3590) + yyv3616 = make([]LoadBalancerIngress, yyrl3616) } } else { - yyv3590 = make([]LoadBalancerIngress, yyrl3590) + yyv3616 = make([]LoadBalancerIngress, yyrl3616) } - yyc3590 = true - yyrr3590 = len(yyv3590) - if yyrg3590 { - copy(yyv3590, yyv23590) + yyc3616 = true + yyrr3616 = len(yyv3616) + if yyrg3616 { + copy(yyv3616, yyv23616) } - } else if yyl3590 != len(yyv3590) { - yyv3590 = yyv3590[:yyl3590] - yyc3590 = true + } else if yyl3616 != len(yyv3616) { + yyv3616 = yyv3616[:yyl3616] + yyc3616 = true } - yyj3590 := 0 - for ; yyj3590 < yyrr3590; yyj3590++ { - yyh3590.ElemContainerState(yyj3590) + yyj3616 := 0 + for ; yyj3616 < yyrr3616; yyj3616++ { + yyh3616.ElemContainerState(yyj3616) if r.TryDecodeAsNil() { - yyv3590[yyj3590] = LoadBalancerIngress{} + yyv3616[yyj3616] = LoadBalancerIngress{} } else { - yyv3591 := &yyv3590[yyj3590] - yyv3591.CodecDecodeSelf(d) + yyv3617 := &yyv3616[yyj3616] + yyv3617.CodecDecodeSelf(d) } } - if yyrt3590 { - for ; yyj3590 < yyl3590; yyj3590++ { - yyv3590 = append(yyv3590, LoadBalancerIngress{}) - yyh3590.ElemContainerState(yyj3590) + if yyrt3616 { + for ; yyj3616 < yyl3616; yyj3616++ { + yyv3616 = append(yyv3616, LoadBalancerIngress{}) + yyh3616.ElemContainerState(yyj3616) if r.TryDecodeAsNil() { - yyv3590[yyj3590] = LoadBalancerIngress{} + yyv3616[yyj3616] = LoadBalancerIngress{} } else { - yyv3592 := &yyv3590[yyj3590] - yyv3592.CodecDecodeSelf(d) + yyv3618 := &yyv3616[yyj3616] + yyv3618.CodecDecodeSelf(d) } } } } else { - yyj3590 := 0 - for ; !r.CheckBreak(); yyj3590++ { + yyj3616 := 0 + for ; !r.CheckBreak(); yyj3616++ { - if yyj3590 >= len(yyv3590) { - yyv3590 = append(yyv3590, LoadBalancerIngress{}) // var yyz3590 LoadBalancerIngress - yyc3590 = true + if yyj3616 >= len(yyv3616) { + yyv3616 = append(yyv3616, LoadBalancerIngress{}) // var yyz3616 LoadBalancerIngress + yyc3616 = true } - yyh3590.ElemContainerState(yyj3590) - if yyj3590 < len(yyv3590) { + yyh3616.ElemContainerState(yyj3616) + if yyj3616 < len(yyv3616) { if r.TryDecodeAsNil() { - yyv3590[yyj3590] = LoadBalancerIngress{} + yyv3616[yyj3616] = LoadBalancerIngress{} } else { - yyv3593 := &yyv3590[yyj3590] - yyv3593.CodecDecodeSelf(d) + yyv3619 := &yyv3616[yyj3616] + yyv3619.CodecDecodeSelf(d) } } else { @@ -45118,17 +45417,17 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } - if yyj3590 < len(yyv3590) { - yyv3590 = yyv3590[:yyj3590] - yyc3590 = true - } else if yyj3590 == 0 && yyv3590 == nil { - yyv3590 = []LoadBalancerIngress{} - yyc3590 = true + if yyj3616 < len(yyv3616) { + yyv3616 = yyv3616[:yyj3616] + yyc3616 = true + } else if yyj3616 == 0 && yyv3616 == nil { + yyv3616 = []LoadBalancerIngress{} + yyc3616 = true } } - yyh3590.End() - if yyc3590 { - *v = yyv3590 + yyh3616.End() + if yyc3616 { + *v = yyv3616 } } @@ -45137,10 +45436,10 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3594 := range v { + for _, yyv3620 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3595 := &yyv3594 - yy3595.CodecEncodeSelf(e) + yy3621 := &yyv3620 + yy3621.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45150,83 +45449,83 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3596 := *v - yyh3596, yyl3596 := z.DecSliceHelperStart() - var yyc3596 bool - if yyl3596 == 0 { - if yyv3596 == nil { - yyv3596 = []ServicePort{} - yyc3596 = true - } else if len(yyv3596) != 0 { - yyv3596 = yyv3596[:0] - yyc3596 = true + yyv3622 := *v + yyh3622, yyl3622 := z.DecSliceHelperStart() + var yyc3622 bool + if yyl3622 == 0 { + if yyv3622 == nil { + yyv3622 = []ServicePort{} + yyc3622 = true + } else if len(yyv3622) != 0 { + yyv3622 = yyv3622[:0] + yyc3622 = true } - } else if yyl3596 > 0 { - var yyrr3596, yyrl3596 int - var yyrt3596 bool - if yyl3596 > cap(yyv3596) { + } else if yyl3622 > 0 { + var yyrr3622, yyrl3622 int + var yyrt3622 bool + if yyl3622 > cap(yyv3622) { - yyrg3596 := len(yyv3596) > 0 - yyv23596 := yyv3596 - yyrl3596, yyrt3596 = z.DecInferLen(yyl3596, z.DecBasicHandle().MaxInitLen, 80) - if yyrt3596 { - if yyrl3596 <= cap(yyv3596) { - yyv3596 = yyv3596[:yyrl3596] + yyrg3622 := len(yyv3622) > 0 + yyv23622 := yyv3622 + yyrl3622, yyrt3622 = z.DecInferLen(yyl3622, z.DecBasicHandle().MaxInitLen, 80) + if yyrt3622 { + if yyrl3622 <= cap(yyv3622) { + yyv3622 = yyv3622[:yyrl3622] } else { - yyv3596 = make([]ServicePort, yyrl3596) + yyv3622 = make([]ServicePort, yyrl3622) } } else { - yyv3596 = make([]ServicePort, yyrl3596) + yyv3622 = make([]ServicePort, yyrl3622) } - yyc3596 = true - yyrr3596 = len(yyv3596) - if yyrg3596 { - copy(yyv3596, yyv23596) + yyc3622 = true + yyrr3622 = len(yyv3622) + if yyrg3622 { + copy(yyv3622, yyv23622) } - } else if yyl3596 != len(yyv3596) { - yyv3596 = yyv3596[:yyl3596] - yyc3596 = true + } else if yyl3622 != len(yyv3622) { + yyv3622 = yyv3622[:yyl3622] + yyc3622 = true } - yyj3596 := 0 - for ; yyj3596 < yyrr3596; yyj3596++ { - yyh3596.ElemContainerState(yyj3596) + yyj3622 := 0 + for ; yyj3622 < yyrr3622; yyj3622++ { + yyh3622.ElemContainerState(yyj3622) if r.TryDecodeAsNil() { - yyv3596[yyj3596] = ServicePort{} + yyv3622[yyj3622] = ServicePort{} } else { - yyv3597 := &yyv3596[yyj3596] - yyv3597.CodecDecodeSelf(d) + yyv3623 := &yyv3622[yyj3622] + yyv3623.CodecDecodeSelf(d) } } - if yyrt3596 { - for ; yyj3596 < yyl3596; yyj3596++ { - yyv3596 = append(yyv3596, ServicePort{}) - yyh3596.ElemContainerState(yyj3596) + if yyrt3622 { + for ; yyj3622 < yyl3622; yyj3622++ { + yyv3622 = append(yyv3622, ServicePort{}) + yyh3622.ElemContainerState(yyj3622) if r.TryDecodeAsNil() { - yyv3596[yyj3596] = ServicePort{} + yyv3622[yyj3622] = ServicePort{} } else { - yyv3598 := &yyv3596[yyj3596] - yyv3598.CodecDecodeSelf(d) + yyv3624 := &yyv3622[yyj3622] + yyv3624.CodecDecodeSelf(d) } } } } else { - yyj3596 := 0 - for ; !r.CheckBreak(); yyj3596++ { + yyj3622 := 0 + for ; !r.CheckBreak(); yyj3622++ { - if yyj3596 >= len(yyv3596) { - yyv3596 = append(yyv3596, ServicePort{}) // var yyz3596 ServicePort - yyc3596 = true + if yyj3622 >= len(yyv3622) { + yyv3622 = append(yyv3622, ServicePort{}) // var yyz3622 ServicePort + yyc3622 = true } - yyh3596.ElemContainerState(yyj3596) - if yyj3596 < len(yyv3596) { + yyh3622.ElemContainerState(yyj3622) + if yyj3622 < len(yyv3622) { if r.TryDecodeAsNil() { - yyv3596[yyj3596] = ServicePort{} + yyv3622[yyj3622] = ServicePort{} } else { - yyv3599 := &yyv3596[yyj3596] - yyv3599.CodecDecodeSelf(d) + yyv3625 := &yyv3622[yyj3622] + yyv3625.CodecDecodeSelf(d) } } else { @@ -45234,17 +45533,17 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } - if yyj3596 < len(yyv3596) { - yyv3596 = yyv3596[:yyj3596] - yyc3596 = true - } else if yyj3596 == 0 && yyv3596 == nil { - yyv3596 = []ServicePort{} - yyc3596 = true + if yyj3622 < len(yyv3622) { + yyv3622 = yyv3622[:yyj3622] + yyc3622 = true + } else if yyj3622 == 0 && yyv3622 == nil { + yyv3622 = []ServicePort{} + yyc3622 = true } } - yyh3596.End() - if yyc3596 { - *v = yyv3596 + yyh3622.End() + if yyc3622 { + *v = yyv3622 } } @@ -45253,10 +45552,10 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3600 := range v { + for _, yyv3626 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3601 := &yyv3600 - yy3601.CodecEncodeSelf(e) + yy3627 := &yyv3626 + yy3627.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45266,83 +45565,83 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3602 := *v - yyh3602, yyl3602 := z.DecSliceHelperStart() - var yyc3602 bool - if yyl3602 == 0 { - if yyv3602 == nil { - yyv3602 = []Service{} - yyc3602 = true - } else if len(yyv3602) != 0 { - yyv3602 = yyv3602[:0] - yyc3602 = true + yyv3628 := *v + yyh3628, yyl3628 := z.DecSliceHelperStart() + var yyc3628 bool + if yyl3628 == 0 { + if yyv3628 == nil { + yyv3628 = []Service{} + yyc3628 = true + } else if len(yyv3628) != 0 { + yyv3628 = yyv3628[:0] + yyc3628 = true } - } else if yyl3602 > 0 { - var yyrr3602, yyrl3602 int - var yyrt3602 bool - if yyl3602 > cap(yyv3602) { + } else if yyl3628 > 0 { + var yyrr3628, yyrl3628 int + var yyrt3628 bool + if yyl3628 > cap(yyv3628) { - yyrg3602 := len(yyv3602) > 0 - yyv23602 := yyv3602 - yyrl3602, yyrt3602 = z.DecInferLen(yyl3602, z.DecBasicHandle().MaxInitLen, 360) - if yyrt3602 { - if yyrl3602 <= cap(yyv3602) { - yyv3602 = yyv3602[:yyrl3602] + yyrg3628 := len(yyv3628) > 0 + yyv23628 := yyv3628 + yyrl3628, yyrt3628 = z.DecInferLen(yyl3628, z.DecBasicHandle().MaxInitLen, 360) + if yyrt3628 { + if yyrl3628 <= cap(yyv3628) { + yyv3628 = yyv3628[:yyrl3628] } else { - yyv3602 = make([]Service, yyrl3602) + yyv3628 = make([]Service, yyrl3628) } } else { - yyv3602 = make([]Service, yyrl3602) + yyv3628 = make([]Service, yyrl3628) } - yyc3602 = true - yyrr3602 = len(yyv3602) - if yyrg3602 { - copy(yyv3602, yyv23602) + yyc3628 = true + yyrr3628 = len(yyv3628) + if yyrg3628 { + copy(yyv3628, yyv23628) } - } else if yyl3602 != len(yyv3602) { - yyv3602 = yyv3602[:yyl3602] - yyc3602 = true + } else if yyl3628 != len(yyv3628) { + yyv3628 = yyv3628[:yyl3628] + yyc3628 = true } - yyj3602 := 0 - for ; yyj3602 < yyrr3602; yyj3602++ { - yyh3602.ElemContainerState(yyj3602) + yyj3628 := 0 + for ; yyj3628 < yyrr3628; yyj3628++ { + yyh3628.ElemContainerState(yyj3628) if r.TryDecodeAsNil() { - yyv3602[yyj3602] = Service{} + yyv3628[yyj3628] = Service{} } else { - yyv3603 := &yyv3602[yyj3602] - yyv3603.CodecDecodeSelf(d) + yyv3629 := &yyv3628[yyj3628] + yyv3629.CodecDecodeSelf(d) } } - if yyrt3602 { - for ; yyj3602 < yyl3602; yyj3602++ { - yyv3602 = append(yyv3602, Service{}) - yyh3602.ElemContainerState(yyj3602) + if yyrt3628 { + for ; yyj3628 < yyl3628; yyj3628++ { + yyv3628 = append(yyv3628, Service{}) + yyh3628.ElemContainerState(yyj3628) if r.TryDecodeAsNil() { - yyv3602[yyj3602] = Service{} + yyv3628[yyj3628] = Service{} } else { - yyv3604 := &yyv3602[yyj3602] - yyv3604.CodecDecodeSelf(d) + yyv3630 := &yyv3628[yyj3628] + yyv3630.CodecDecodeSelf(d) } } } } else { - yyj3602 := 0 - for ; !r.CheckBreak(); yyj3602++ { + yyj3628 := 0 + for ; !r.CheckBreak(); yyj3628++ { - if yyj3602 >= len(yyv3602) { - yyv3602 = append(yyv3602, Service{}) // var yyz3602 Service - yyc3602 = true + if yyj3628 >= len(yyv3628) { + yyv3628 = append(yyv3628, Service{}) // var yyz3628 Service + yyc3628 = true } - yyh3602.ElemContainerState(yyj3602) - if yyj3602 < len(yyv3602) { + yyh3628.ElemContainerState(yyj3628) + if yyj3628 < len(yyv3628) { if r.TryDecodeAsNil() { - yyv3602[yyj3602] = Service{} + yyv3628[yyj3628] = Service{} } else { - yyv3605 := &yyv3602[yyj3602] - yyv3605.CodecDecodeSelf(d) + yyv3631 := &yyv3628[yyj3628] + yyv3631.CodecDecodeSelf(d) } } else { @@ -45350,17 +45649,17 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } - if yyj3602 < len(yyv3602) { - yyv3602 = yyv3602[:yyj3602] - yyc3602 = true - } else if yyj3602 == 0 && yyv3602 == nil { - yyv3602 = []Service{} - yyc3602 = true + if yyj3628 < len(yyv3628) { + yyv3628 = yyv3628[:yyj3628] + yyc3628 = true + } else if yyj3628 == 0 && yyv3628 == nil { + yyv3628 = []Service{} + yyc3628 = true } } - yyh3602.End() - if yyc3602 { - *v = yyv3602 + yyh3628.End() + if yyc3628 { + *v = yyv3628 } } @@ -45369,10 +45668,10 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3606 := range v { + for _, yyv3632 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3607 := &yyv3606 - yy3607.CodecEncodeSelf(e) + yy3633 := &yyv3632 + yy3633.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45382,83 +45681,83 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3608 := *v - yyh3608, yyl3608 := z.DecSliceHelperStart() - var yyc3608 bool - if yyl3608 == 0 { - if yyv3608 == nil { - yyv3608 = []ObjectReference{} - yyc3608 = true - } else if len(yyv3608) != 0 { - yyv3608 = yyv3608[:0] - yyc3608 = true + yyv3634 := *v + yyh3634, yyl3634 := z.DecSliceHelperStart() + var yyc3634 bool + if yyl3634 == 0 { + if yyv3634 == nil { + yyv3634 = []ObjectReference{} + yyc3634 = true + } else if len(yyv3634) != 0 { + yyv3634 = yyv3634[:0] + yyc3634 = true } - } else if yyl3608 > 0 { - var yyrr3608, yyrl3608 int - var yyrt3608 bool - if yyl3608 > cap(yyv3608) { + } else if yyl3634 > 0 { + var yyrr3634, yyrl3634 int + var yyrt3634 bool + if yyl3634 > cap(yyv3634) { - yyrg3608 := len(yyv3608) > 0 - yyv23608 := yyv3608 - yyrl3608, yyrt3608 = z.DecInferLen(yyl3608, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3608 { - if yyrl3608 <= cap(yyv3608) { - yyv3608 = yyv3608[:yyrl3608] + yyrg3634 := len(yyv3634) > 0 + yyv23634 := yyv3634 + yyrl3634, yyrt3634 = z.DecInferLen(yyl3634, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3634 { + if yyrl3634 <= cap(yyv3634) { + yyv3634 = yyv3634[:yyrl3634] } else { - yyv3608 = make([]ObjectReference, yyrl3608) + yyv3634 = make([]ObjectReference, yyrl3634) } } else { - yyv3608 = make([]ObjectReference, yyrl3608) + yyv3634 = make([]ObjectReference, yyrl3634) } - yyc3608 = true - yyrr3608 = len(yyv3608) - if yyrg3608 { - copy(yyv3608, yyv23608) + yyc3634 = true + yyrr3634 = len(yyv3634) + if yyrg3634 { + copy(yyv3634, yyv23634) } - } else if yyl3608 != len(yyv3608) { - yyv3608 = yyv3608[:yyl3608] - yyc3608 = true + } else if yyl3634 != len(yyv3634) { + yyv3634 = yyv3634[:yyl3634] + yyc3634 = true } - yyj3608 := 0 - for ; yyj3608 < yyrr3608; yyj3608++ { - yyh3608.ElemContainerState(yyj3608) + yyj3634 := 0 + for ; yyj3634 < yyrr3634; yyj3634++ { + yyh3634.ElemContainerState(yyj3634) if r.TryDecodeAsNil() { - yyv3608[yyj3608] = ObjectReference{} + yyv3634[yyj3634] = ObjectReference{} } else { - yyv3609 := &yyv3608[yyj3608] - yyv3609.CodecDecodeSelf(d) + yyv3635 := &yyv3634[yyj3634] + yyv3635.CodecDecodeSelf(d) } } - if yyrt3608 { - for ; yyj3608 < yyl3608; yyj3608++ { - yyv3608 = append(yyv3608, ObjectReference{}) - yyh3608.ElemContainerState(yyj3608) + if yyrt3634 { + for ; yyj3634 < yyl3634; yyj3634++ { + yyv3634 = append(yyv3634, ObjectReference{}) + yyh3634.ElemContainerState(yyj3634) if r.TryDecodeAsNil() { - yyv3608[yyj3608] = ObjectReference{} + yyv3634[yyj3634] = ObjectReference{} } else { - yyv3610 := &yyv3608[yyj3608] - yyv3610.CodecDecodeSelf(d) + yyv3636 := &yyv3634[yyj3634] + yyv3636.CodecDecodeSelf(d) } } } } else { - yyj3608 := 0 - for ; !r.CheckBreak(); yyj3608++ { + yyj3634 := 0 + for ; !r.CheckBreak(); yyj3634++ { - if yyj3608 >= len(yyv3608) { - yyv3608 = append(yyv3608, ObjectReference{}) // var yyz3608 ObjectReference - yyc3608 = true + if yyj3634 >= len(yyv3634) { + yyv3634 = append(yyv3634, ObjectReference{}) // var yyz3634 ObjectReference + yyc3634 = true } - yyh3608.ElemContainerState(yyj3608) - if yyj3608 < len(yyv3608) { + yyh3634.ElemContainerState(yyj3634) + if yyj3634 < len(yyv3634) { if r.TryDecodeAsNil() { - yyv3608[yyj3608] = ObjectReference{} + yyv3634[yyj3634] = ObjectReference{} } else { - yyv3611 := &yyv3608[yyj3608] - yyv3611.CodecDecodeSelf(d) + yyv3637 := &yyv3634[yyj3634] + yyv3637.CodecDecodeSelf(d) } } else { @@ -45466,17 +45765,17 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } - if yyj3608 < len(yyv3608) { - yyv3608 = yyv3608[:yyj3608] - yyc3608 = true - } else if yyj3608 == 0 && yyv3608 == nil { - yyv3608 = []ObjectReference{} - yyc3608 = true + if yyj3634 < len(yyv3634) { + yyv3634 = yyv3634[:yyj3634] + yyc3634 = true + } else if yyj3634 == 0 && yyv3634 == nil { + yyv3634 = []ObjectReference{} + yyc3634 = true } } - yyh3608.End() - if yyc3608 { - *v = yyv3608 + yyh3634.End() + if yyc3634 { + *v = yyv3634 } } @@ -45485,10 +45784,10 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3612 := range v { + for _, yyv3638 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3613 := &yyv3612 - yy3613.CodecEncodeSelf(e) + yy3639 := &yyv3638 + yy3639.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45498,83 +45797,83 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3614 := *v - yyh3614, yyl3614 := z.DecSliceHelperStart() - var yyc3614 bool - if yyl3614 == 0 { - if yyv3614 == nil { - yyv3614 = []ServiceAccount{} - yyc3614 = true - } else if len(yyv3614) != 0 { - yyv3614 = yyv3614[:0] - yyc3614 = true + yyv3640 := *v + yyh3640, yyl3640 := z.DecSliceHelperStart() + var yyc3640 bool + if yyl3640 == 0 { + if yyv3640 == nil { + yyv3640 = []ServiceAccount{} + yyc3640 = true + } else if len(yyv3640) != 0 { + yyv3640 = yyv3640[:0] + yyc3640 = true } - } else if yyl3614 > 0 { - var yyrr3614, yyrl3614 int - var yyrt3614 bool - if yyl3614 > cap(yyv3614) { + } else if yyl3640 > 0 { + var yyrr3640, yyrl3640 int + var yyrt3640 bool + if yyl3640 > cap(yyv3640) { - yyrg3614 := len(yyv3614) > 0 - yyv23614 := yyv3614 - yyrl3614, yyrt3614 = z.DecInferLen(yyl3614, z.DecBasicHandle().MaxInitLen, 240) - if yyrt3614 { - if yyrl3614 <= cap(yyv3614) { - yyv3614 = yyv3614[:yyrl3614] + yyrg3640 := len(yyv3640) > 0 + yyv23640 := yyv3640 + yyrl3640, yyrt3640 = z.DecInferLen(yyl3640, z.DecBasicHandle().MaxInitLen, 240) + if yyrt3640 { + if yyrl3640 <= cap(yyv3640) { + yyv3640 = yyv3640[:yyrl3640] } else { - yyv3614 = make([]ServiceAccount, yyrl3614) + yyv3640 = make([]ServiceAccount, yyrl3640) } } else { - yyv3614 = make([]ServiceAccount, yyrl3614) + yyv3640 = make([]ServiceAccount, yyrl3640) } - yyc3614 = true - yyrr3614 = len(yyv3614) - if yyrg3614 { - copy(yyv3614, yyv23614) + yyc3640 = true + yyrr3640 = len(yyv3640) + if yyrg3640 { + copy(yyv3640, yyv23640) } - } else if yyl3614 != len(yyv3614) { - yyv3614 = yyv3614[:yyl3614] - yyc3614 = true + } else if yyl3640 != len(yyv3640) { + yyv3640 = yyv3640[:yyl3640] + yyc3640 = true } - yyj3614 := 0 - for ; yyj3614 < yyrr3614; yyj3614++ { - yyh3614.ElemContainerState(yyj3614) + yyj3640 := 0 + for ; yyj3640 < yyrr3640; yyj3640++ { + yyh3640.ElemContainerState(yyj3640) if r.TryDecodeAsNil() { - yyv3614[yyj3614] = ServiceAccount{} + yyv3640[yyj3640] = ServiceAccount{} } else { - yyv3615 := &yyv3614[yyj3614] - yyv3615.CodecDecodeSelf(d) + yyv3641 := &yyv3640[yyj3640] + yyv3641.CodecDecodeSelf(d) } } - if yyrt3614 { - for ; yyj3614 < yyl3614; yyj3614++ { - yyv3614 = append(yyv3614, ServiceAccount{}) - yyh3614.ElemContainerState(yyj3614) + if yyrt3640 { + for ; yyj3640 < yyl3640; yyj3640++ { + yyv3640 = append(yyv3640, ServiceAccount{}) + yyh3640.ElemContainerState(yyj3640) if r.TryDecodeAsNil() { - yyv3614[yyj3614] = ServiceAccount{} + yyv3640[yyj3640] = ServiceAccount{} } else { - yyv3616 := &yyv3614[yyj3614] - yyv3616.CodecDecodeSelf(d) + yyv3642 := &yyv3640[yyj3640] + yyv3642.CodecDecodeSelf(d) } } } } else { - yyj3614 := 0 - for ; !r.CheckBreak(); yyj3614++ { + yyj3640 := 0 + for ; !r.CheckBreak(); yyj3640++ { - if yyj3614 >= len(yyv3614) { - yyv3614 = append(yyv3614, ServiceAccount{}) // var yyz3614 ServiceAccount - yyc3614 = true + if yyj3640 >= len(yyv3640) { + yyv3640 = append(yyv3640, ServiceAccount{}) // var yyz3640 ServiceAccount + yyc3640 = true } - yyh3614.ElemContainerState(yyj3614) - if yyj3614 < len(yyv3614) { + yyh3640.ElemContainerState(yyj3640) + if yyj3640 < len(yyv3640) { if r.TryDecodeAsNil() { - yyv3614[yyj3614] = ServiceAccount{} + yyv3640[yyj3640] = ServiceAccount{} } else { - yyv3617 := &yyv3614[yyj3614] - yyv3617.CodecDecodeSelf(d) + yyv3643 := &yyv3640[yyj3640] + yyv3643.CodecDecodeSelf(d) } } else { @@ -45582,17 +45881,17 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } - if yyj3614 < len(yyv3614) { - yyv3614 = yyv3614[:yyj3614] - yyc3614 = true - } else if yyj3614 == 0 && yyv3614 == nil { - yyv3614 = []ServiceAccount{} - yyc3614 = true + if yyj3640 < len(yyv3640) { + yyv3640 = yyv3640[:yyj3640] + yyc3640 = true + } else if yyj3640 == 0 && yyv3640 == nil { + yyv3640 = []ServiceAccount{} + yyc3640 = true } } - yyh3614.End() - if yyc3614 { - *v = yyv3614 + yyh3640.End() + if yyc3640 { + *v = yyv3640 } } @@ -45601,10 +45900,10 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3618 := range v { + for _, yyv3644 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3619 := &yyv3618 - yy3619.CodecEncodeSelf(e) + yy3645 := &yyv3644 + yy3645.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45614,83 +45913,83 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3620 := *v - yyh3620, yyl3620 := z.DecSliceHelperStart() - var yyc3620 bool - if yyl3620 == 0 { - if yyv3620 == nil { - yyv3620 = []EndpointSubset{} - yyc3620 = true - } else if len(yyv3620) != 0 { - yyv3620 = yyv3620[:0] - yyc3620 = true + yyv3646 := *v + yyh3646, yyl3646 := z.DecSliceHelperStart() + var yyc3646 bool + if yyl3646 == 0 { + if yyv3646 == nil { + yyv3646 = []EndpointSubset{} + yyc3646 = true + } else if len(yyv3646) != 0 { + yyv3646 = yyv3646[:0] + yyc3646 = true } - } else if yyl3620 > 0 { - var yyrr3620, yyrl3620 int - var yyrt3620 bool - if yyl3620 > cap(yyv3620) { + } else if yyl3646 > 0 { + var yyrr3646, yyrl3646 int + var yyrt3646 bool + if yyl3646 > cap(yyv3646) { - yyrg3620 := len(yyv3620) > 0 - yyv23620 := yyv3620 - yyrl3620, yyrt3620 = z.DecInferLen(yyl3620, z.DecBasicHandle().MaxInitLen, 72) - if yyrt3620 { - if yyrl3620 <= cap(yyv3620) { - yyv3620 = yyv3620[:yyrl3620] + yyrg3646 := len(yyv3646) > 0 + yyv23646 := yyv3646 + yyrl3646, yyrt3646 = z.DecInferLen(yyl3646, z.DecBasicHandle().MaxInitLen, 72) + if yyrt3646 { + if yyrl3646 <= cap(yyv3646) { + yyv3646 = yyv3646[:yyrl3646] } else { - yyv3620 = make([]EndpointSubset, yyrl3620) + yyv3646 = make([]EndpointSubset, yyrl3646) } } else { - yyv3620 = make([]EndpointSubset, yyrl3620) + yyv3646 = make([]EndpointSubset, yyrl3646) } - yyc3620 = true - yyrr3620 = len(yyv3620) - if yyrg3620 { - copy(yyv3620, yyv23620) + yyc3646 = true + yyrr3646 = len(yyv3646) + if yyrg3646 { + copy(yyv3646, yyv23646) } - } else if yyl3620 != len(yyv3620) { - yyv3620 = yyv3620[:yyl3620] - yyc3620 = true + } else if yyl3646 != len(yyv3646) { + yyv3646 = yyv3646[:yyl3646] + yyc3646 = true } - yyj3620 := 0 - for ; yyj3620 < yyrr3620; yyj3620++ { - yyh3620.ElemContainerState(yyj3620) + yyj3646 := 0 + for ; yyj3646 < yyrr3646; yyj3646++ { + yyh3646.ElemContainerState(yyj3646) if r.TryDecodeAsNil() { - yyv3620[yyj3620] = EndpointSubset{} + yyv3646[yyj3646] = EndpointSubset{} } else { - yyv3621 := &yyv3620[yyj3620] - yyv3621.CodecDecodeSelf(d) + yyv3647 := &yyv3646[yyj3646] + yyv3647.CodecDecodeSelf(d) } } - if yyrt3620 { - for ; yyj3620 < yyl3620; yyj3620++ { - yyv3620 = append(yyv3620, EndpointSubset{}) - yyh3620.ElemContainerState(yyj3620) + if yyrt3646 { + for ; yyj3646 < yyl3646; yyj3646++ { + yyv3646 = append(yyv3646, EndpointSubset{}) + yyh3646.ElemContainerState(yyj3646) if r.TryDecodeAsNil() { - yyv3620[yyj3620] = EndpointSubset{} + yyv3646[yyj3646] = EndpointSubset{} } else { - yyv3622 := &yyv3620[yyj3620] - yyv3622.CodecDecodeSelf(d) + yyv3648 := &yyv3646[yyj3646] + yyv3648.CodecDecodeSelf(d) } } } } else { - yyj3620 := 0 - for ; !r.CheckBreak(); yyj3620++ { + yyj3646 := 0 + for ; !r.CheckBreak(); yyj3646++ { - if yyj3620 >= len(yyv3620) { - yyv3620 = append(yyv3620, EndpointSubset{}) // var yyz3620 EndpointSubset - yyc3620 = true + if yyj3646 >= len(yyv3646) { + yyv3646 = append(yyv3646, EndpointSubset{}) // var yyz3646 EndpointSubset + yyc3646 = true } - yyh3620.ElemContainerState(yyj3620) - if yyj3620 < len(yyv3620) { + yyh3646.ElemContainerState(yyj3646) + if yyj3646 < len(yyv3646) { if r.TryDecodeAsNil() { - yyv3620[yyj3620] = EndpointSubset{} + yyv3646[yyj3646] = EndpointSubset{} } else { - yyv3623 := &yyv3620[yyj3620] - yyv3623.CodecDecodeSelf(d) + yyv3649 := &yyv3646[yyj3646] + yyv3649.CodecDecodeSelf(d) } } else { @@ -45698,17 +45997,17 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } - if yyj3620 < len(yyv3620) { - yyv3620 = yyv3620[:yyj3620] - yyc3620 = true - } else if yyj3620 == 0 && yyv3620 == nil { - yyv3620 = []EndpointSubset{} - yyc3620 = true + if yyj3646 < len(yyv3646) { + yyv3646 = yyv3646[:yyj3646] + yyc3646 = true + } else if yyj3646 == 0 && yyv3646 == nil { + yyv3646 = []EndpointSubset{} + yyc3646 = true } } - yyh3620.End() - if yyc3620 { - *v = yyv3620 + yyh3646.End() + if yyc3646 { + *v = yyv3646 } } @@ -45717,10 +46016,10 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3624 := range v { + for _, yyv3650 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3625 := &yyv3624 - yy3625.CodecEncodeSelf(e) + yy3651 := &yyv3650 + yy3651.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45730,83 +46029,83 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3626 := *v - yyh3626, yyl3626 := z.DecSliceHelperStart() - var yyc3626 bool - if yyl3626 == 0 { - if yyv3626 == nil { - yyv3626 = []EndpointAddress{} - yyc3626 = true - } else if len(yyv3626) != 0 { - yyv3626 = yyv3626[:0] - yyc3626 = true + yyv3652 := *v + yyh3652, yyl3652 := z.DecSliceHelperStart() + var yyc3652 bool + if yyl3652 == 0 { + if yyv3652 == nil { + yyv3652 = []EndpointAddress{} + yyc3652 = true + } else if len(yyv3652) != 0 { + yyv3652 = yyv3652[:0] + yyc3652 = true } - } else if yyl3626 > 0 { - var yyrr3626, yyrl3626 int - var yyrt3626 bool - if yyl3626 > cap(yyv3626) { + } else if yyl3652 > 0 { + var yyrr3652, yyrl3652 int + var yyrt3652 bool + if yyl3652 > cap(yyv3652) { - yyrg3626 := len(yyv3626) > 0 - yyv23626 := yyv3626 - yyrl3626, yyrt3626 = z.DecInferLen(yyl3626, z.DecBasicHandle().MaxInitLen, 24) - if yyrt3626 { - if yyrl3626 <= cap(yyv3626) { - yyv3626 = yyv3626[:yyrl3626] + yyrg3652 := len(yyv3652) > 0 + yyv23652 := yyv3652 + yyrl3652, yyrt3652 = z.DecInferLen(yyl3652, z.DecBasicHandle().MaxInitLen, 24) + if yyrt3652 { + if yyrl3652 <= cap(yyv3652) { + yyv3652 = yyv3652[:yyrl3652] } else { - yyv3626 = make([]EndpointAddress, yyrl3626) + yyv3652 = make([]EndpointAddress, yyrl3652) } } else { - yyv3626 = make([]EndpointAddress, yyrl3626) + yyv3652 = make([]EndpointAddress, yyrl3652) } - yyc3626 = true - yyrr3626 = len(yyv3626) - if yyrg3626 { - copy(yyv3626, yyv23626) + yyc3652 = true + yyrr3652 = len(yyv3652) + if yyrg3652 { + copy(yyv3652, yyv23652) } - } else if yyl3626 != len(yyv3626) { - yyv3626 = yyv3626[:yyl3626] - yyc3626 = true + } else if yyl3652 != len(yyv3652) { + yyv3652 = yyv3652[:yyl3652] + yyc3652 = true } - yyj3626 := 0 - for ; yyj3626 < yyrr3626; yyj3626++ { - yyh3626.ElemContainerState(yyj3626) + yyj3652 := 0 + for ; yyj3652 < yyrr3652; yyj3652++ { + yyh3652.ElemContainerState(yyj3652) if r.TryDecodeAsNil() { - yyv3626[yyj3626] = EndpointAddress{} + yyv3652[yyj3652] = EndpointAddress{} } else { - yyv3627 := &yyv3626[yyj3626] - yyv3627.CodecDecodeSelf(d) + yyv3653 := &yyv3652[yyj3652] + yyv3653.CodecDecodeSelf(d) } } - if yyrt3626 { - for ; yyj3626 < yyl3626; yyj3626++ { - yyv3626 = append(yyv3626, EndpointAddress{}) - yyh3626.ElemContainerState(yyj3626) + if yyrt3652 { + for ; yyj3652 < yyl3652; yyj3652++ { + yyv3652 = append(yyv3652, EndpointAddress{}) + yyh3652.ElemContainerState(yyj3652) if r.TryDecodeAsNil() { - yyv3626[yyj3626] = EndpointAddress{} + yyv3652[yyj3652] = EndpointAddress{} } else { - yyv3628 := &yyv3626[yyj3626] - yyv3628.CodecDecodeSelf(d) + yyv3654 := &yyv3652[yyj3652] + yyv3654.CodecDecodeSelf(d) } } } } else { - yyj3626 := 0 - for ; !r.CheckBreak(); yyj3626++ { + yyj3652 := 0 + for ; !r.CheckBreak(); yyj3652++ { - if yyj3626 >= len(yyv3626) { - yyv3626 = append(yyv3626, EndpointAddress{}) // var yyz3626 EndpointAddress - yyc3626 = true + if yyj3652 >= len(yyv3652) { + yyv3652 = append(yyv3652, EndpointAddress{}) // var yyz3652 EndpointAddress + yyc3652 = true } - yyh3626.ElemContainerState(yyj3626) - if yyj3626 < len(yyv3626) { + yyh3652.ElemContainerState(yyj3652) + if yyj3652 < len(yyv3652) { if r.TryDecodeAsNil() { - yyv3626[yyj3626] = EndpointAddress{} + yyv3652[yyj3652] = EndpointAddress{} } else { - yyv3629 := &yyv3626[yyj3626] - yyv3629.CodecDecodeSelf(d) + yyv3655 := &yyv3652[yyj3652] + yyv3655.CodecDecodeSelf(d) } } else { @@ -45814,17 +46113,17 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } - if yyj3626 < len(yyv3626) { - yyv3626 = yyv3626[:yyj3626] - yyc3626 = true - } else if yyj3626 == 0 && yyv3626 == nil { - yyv3626 = []EndpointAddress{} - yyc3626 = true + if yyj3652 < len(yyv3652) { + yyv3652 = yyv3652[:yyj3652] + yyc3652 = true + } else if yyj3652 == 0 && yyv3652 == nil { + yyv3652 = []EndpointAddress{} + yyc3652 = true } } - yyh3626.End() - if yyc3626 { - *v = yyv3626 + yyh3652.End() + if yyc3652 { + *v = yyv3652 } } @@ -45833,10 +46132,10 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3630 := range v { + for _, yyv3656 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3631 := &yyv3630 - yy3631.CodecEncodeSelf(e) + yy3657 := &yyv3656 + yy3657.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45846,83 +46145,83 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3632 := *v - yyh3632, yyl3632 := z.DecSliceHelperStart() - var yyc3632 bool - if yyl3632 == 0 { - if yyv3632 == nil { - yyv3632 = []EndpointPort{} - yyc3632 = true - } else if len(yyv3632) != 0 { - yyv3632 = yyv3632[:0] - yyc3632 = true + yyv3658 := *v + yyh3658, yyl3658 := z.DecSliceHelperStart() + var yyc3658 bool + if yyl3658 == 0 { + if yyv3658 == nil { + yyv3658 = []EndpointPort{} + yyc3658 = true + } else if len(yyv3658) != 0 { + yyv3658 = yyv3658[:0] + yyc3658 = true } - } else if yyl3632 > 0 { - var yyrr3632, yyrl3632 int - var yyrt3632 bool - if yyl3632 > cap(yyv3632) { + } else if yyl3658 > 0 { + var yyrr3658, yyrl3658 int + var yyrt3658 bool + if yyl3658 > cap(yyv3658) { - yyrg3632 := len(yyv3632) > 0 - yyv23632 := yyv3632 - yyrl3632, yyrt3632 = z.DecInferLen(yyl3632, z.DecBasicHandle().MaxInitLen, 40) - if yyrt3632 { - if yyrl3632 <= cap(yyv3632) { - yyv3632 = yyv3632[:yyrl3632] + yyrg3658 := len(yyv3658) > 0 + yyv23658 := yyv3658 + yyrl3658, yyrt3658 = z.DecInferLen(yyl3658, z.DecBasicHandle().MaxInitLen, 40) + if yyrt3658 { + if yyrl3658 <= cap(yyv3658) { + yyv3658 = yyv3658[:yyrl3658] } else { - yyv3632 = make([]EndpointPort, yyrl3632) + yyv3658 = make([]EndpointPort, yyrl3658) } } else { - yyv3632 = make([]EndpointPort, yyrl3632) + yyv3658 = make([]EndpointPort, yyrl3658) } - yyc3632 = true - yyrr3632 = len(yyv3632) - if yyrg3632 { - copy(yyv3632, yyv23632) + yyc3658 = true + yyrr3658 = len(yyv3658) + if yyrg3658 { + copy(yyv3658, yyv23658) } - } else if yyl3632 != len(yyv3632) { - yyv3632 = yyv3632[:yyl3632] - yyc3632 = true + } else if yyl3658 != len(yyv3658) { + yyv3658 = yyv3658[:yyl3658] + yyc3658 = true } - yyj3632 := 0 - for ; yyj3632 < yyrr3632; yyj3632++ { - yyh3632.ElemContainerState(yyj3632) + yyj3658 := 0 + for ; yyj3658 < yyrr3658; yyj3658++ { + yyh3658.ElemContainerState(yyj3658) if r.TryDecodeAsNil() { - yyv3632[yyj3632] = EndpointPort{} + yyv3658[yyj3658] = EndpointPort{} } else { - yyv3633 := &yyv3632[yyj3632] - yyv3633.CodecDecodeSelf(d) + yyv3659 := &yyv3658[yyj3658] + yyv3659.CodecDecodeSelf(d) } } - if yyrt3632 { - for ; yyj3632 < yyl3632; yyj3632++ { - yyv3632 = append(yyv3632, EndpointPort{}) - yyh3632.ElemContainerState(yyj3632) + if yyrt3658 { + for ; yyj3658 < yyl3658; yyj3658++ { + yyv3658 = append(yyv3658, EndpointPort{}) + yyh3658.ElemContainerState(yyj3658) if r.TryDecodeAsNil() { - yyv3632[yyj3632] = EndpointPort{} + yyv3658[yyj3658] = EndpointPort{} } else { - yyv3634 := &yyv3632[yyj3632] - yyv3634.CodecDecodeSelf(d) + yyv3660 := &yyv3658[yyj3658] + yyv3660.CodecDecodeSelf(d) } } } } else { - yyj3632 := 0 - for ; !r.CheckBreak(); yyj3632++ { + yyj3658 := 0 + for ; !r.CheckBreak(); yyj3658++ { - if yyj3632 >= len(yyv3632) { - yyv3632 = append(yyv3632, EndpointPort{}) // var yyz3632 EndpointPort - yyc3632 = true + if yyj3658 >= len(yyv3658) { + yyv3658 = append(yyv3658, EndpointPort{}) // var yyz3658 EndpointPort + yyc3658 = true } - yyh3632.ElemContainerState(yyj3632) - if yyj3632 < len(yyv3632) { + yyh3658.ElemContainerState(yyj3658) + if yyj3658 < len(yyv3658) { if r.TryDecodeAsNil() { - yyv3632[yyj3632] = EndpointPort{} + yyv3658[yyj3658] = EndpointPort{} } else { - yyv3635 := &yyv3632[yyj3632] - yyv3635.CodecDecodeSelf(d) + yyv3661 := &yyv3658[yyj3658] + yyv3661.CodecDecodeSelf(d) } } else { @@ -45930,17 +46229,17 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } - if yyj3632 < len(yyv3632) { - yyv3632 = yyv3632[:yyj3632] - yyc3632 = true - } else if yyj3632 == 0 && yyv3632 == nil { - yyv3632 = []EndpointPort{} - yyc3632 = true + if yyj3658 < len(yyv3658) { + yyv3658 = yyv3658[:yyj3658] + yyc3658 = true + } else if yyj3658 == 0 && yyv3658 == nil { + yyv3658 = []EndpointPort{} + yyc3658 = true } } - yyh3632.End() - if yyc3632 { - *v = yyv3632 + yyh3658.End() + if yyc3658 { + *v = yyv3658 } } @@ -45949,10 +46248,10 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3636 := range v { + for _, yyv3662 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3637 := &yyv3636 - yy3637.CodecEncodeSelf(e) + yy3663 := &yyv3662 + yy3663.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45962,83 +46261,83 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3638 := *v - yyh3638, yyl3638 := z.DecSliceHelperStart() - var yyc3638 bool - if yyl3638 == 0 { - if yyv3638 == nil { - yyv3638 = []Endpoints{} - yyc3638 = true - } else if len(yyv3638) != 0 { - yyv3638 = yyv3638[:0] - yyc3638 = true + yyv3664 := *v + yyh3664, yyl3664 := z.DecSliceHelperStart() + var yyc3664 bool + if yyl3664 == 0 { + if yyv3664 == nil { + yyv3664 = []Endpoints{} + yyc3664 = true + } else if len(yyv3664) != 0 { + yyv3664 = yyv3664[:0] + yyc3664 = true } - } else if yyl3638 > 0 { - var yyrr3638, yyrl3638 int - var yyrt3638 bool - if yyl3638 > cap(yyv3638) { + } else if yyl3664 > 0 { + var yyrr3664, yyrl3664 int + var yyrt3664 bool + if yyl3664 > cap(yyv3664) { - yyrg3638 := len(yyv3638) > 0 - yyv23638 := yyv3638 - yyrl3638, yyrt3638 = z.DecInferLen(yyl3638, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3638 { - if yyrl3638 <= cap(yyv3638) { - yyv3638 = yyv3638[:yyrl3638] + yyrg3664 := len(yyv3664) > 0 + yyv23664 := yyv3664 + yyrl3664, yyrt3664 = z.DecInferLen(yyl3664, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3664 { + if yyrl3664 <= cap(yyv3664) { + yyv3664 = yyv3664[:yyrl3664] } else { - yyv3638 = make([]Endpoints, yyrl3638) + yyv3664 = make([]Endpoints, yyrl3664) } } else { - yyv3638 = make([]Endpoints, yyrl3638) + yyv3664 = make([]Endpoints, yyrl3664) } - yyc3638 = true - yyrr3638 = len(yyv3638) - if yyrg3638 { - copy(yyv3638, yyv23638) + yyc3664 = true + yyrr3664 = len(yyv3664) + if yyrg3664 { + copy(yyv3664, yyv23664) } - } else if yyl3638 != len(yyv3638) { - yyv3638 = yyv3638[:yyl3638] - yyc3638 = true + } else if yyl3664 != len(yyv3664) { + yyv3664 = yyv3664[:yyl3664] + yyc3664 = true } - yyj3638 := 0 - for ; yyj3638 < yyrr3638; yyj3638++ { - yyh3638.ElemContainerState(yyj3638) + yyj3664 := 0 + for ; yyj3664 < yyrr3664; yyj3664++ { + yyh3664.ElemContainerState(yyj3664) if r.TryDecodeAsNil() { - yyv3638[yyj3638] = Endpoints{} + yyv3664[yyj3664] = Endpoints{} } else { - yyv3639 := &yyv3638[yyj3638] - yyv3639.CodecDecodeSelf(d) + yyv3665 := &yyv3664[yyj3664] + yyv3665.CodecDecodeSelf(d) } } - if yyrt3638 { - for ; yyj3638 < yyl3638; yyj3638++ { - yyv3638 = append(yyv3638, Endpoints{}) - yyh3638.ElemContainerState(yyj3638) + if yyrt3664 { + for ; yyj3664 < yyl3664; yyj3664++ { + yyv3664 = append(yyv3664, Endpoints{}) + yyh3664.ElemContainerState(yyj3664) if r.TryDecodeAsNil() { - yyv3638[yyj3638] = Endpoints{} + yyv3664[yyj3664] = Endpoints{} } else { - yyv3640 := &yyv3638[yyj3638] - yyv3640.CodecDecodeSelf(d) + yyv3666 := &yyv3664[yyj3664] + yyv3666.CodecDecodeSelf(d) } } } } else { - yyj3638 := 0 - for ; !r.CheckBreak(); yyj3638++ { + yyj3664 := 0 + for ; !r.CheckBreak(); yyj3664++ { - if yyj3638 >= len(yyv3638) { - yyv3638 = append(yyv3638, Endpoints{}) // var yyz3638 Endpoints - yyc3638 = true + if yyj3664 >= len(yyv3664) { + yyv3664 = append(yyv3664, Endpoints{}) // var yyz3664 Endpoints + yyc3664 = true } - yyh3638.ElemContainerState(yyj3638) - if yyj3638 < len(yyv3638) { + yyh3664.ElemContainerState(yyj3664) + if yyj3664 < len(yyv3664) { if r.TryDecodeAsNil() { - yyv3638[yyj3638] = Endpoints{} + yyv3664[yyj3664] = Endpoints{} } else { - yyv3641 := &yyv3638[yyj3638] - yyv3641.CodecDecodeSelf(d) + yyv3667 := &yyv3664[yyj3664] + yyv3667.CodecDecodeSelf(d) } } else { @@ -46046,17 +46345,17 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } - if yyj3638 < len(yyv3638) { - yyv3638 = yyv3638[:yyj3638] - yyc3638 = true - } else if yyj3638 == 0 && yyv3638 == nil { - yyv3638 = []Endpoints{} - yyc3638 = true + if yyj3664 < len(yyv3664) { + yyv3664 = yyv3664[:yyj3664] + yyc3664 = true + } else if yyj3664 == 0 && yyv3664 == nil { + yyv3664 = []Endpoints{} + yyc3664 = true } } - yyh3638.End() - if yyc3638 { - *v = yyv3638 + yyh3664.End() + if yyc3664 { + *v = yyv3664 } } @@ -46065,10 +46364,10 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3642 := range v { + for _, yyv3668 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3643 := &yyv3642 - yy3643.CodecEncodeSelf(e) + yy3669 := &yyv3668 + yy3669.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46078,83 +46377,83 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3644 := *v - yyh3644, yyl3644 := z.DecSliceHelperStart() - var yyc3644 bool - if yyl3644 == 0 { - if yyv3644 == nil { - yyv3644 = []NodeCondition{} - yyc3644 = true - } else if len(yyv3644) != 0 { - yyv3644 = yyv3644[:0] - yyc3644 = true + yyv3670 := *v + yyh3670, yyl3670 := z.DecSliceHelperStart() + var yyc3670 bool + if yyl3670 == 0 { + if yyv3670 == nil { + yyv3670 = []NodeCondition{} + yyc3670 = true + } else if len(yyv3670) != 0 { + yyv3670 = yyv3670[:0] + yyc3670 = true } - } else if yyl3644 > 0 { - var yyrr3644, yyrl3644 int - var yyrt3644 bool - if yyl3644 > cap(yyv3644) { + } else if yyl3670 > 0 { + var yyrr3670, yyrl3670 int + var yyrt3670 bool + if yyl3670 > cap(yyv3670) { - yyrg3644 := len(yyv3644) > 0 - yyv23644 := yyv3644 - yyrl3644, yyrt3644 = z.DecInferLen(yyl3644, z.DecBasicHandle().MaxInitLen, 112) - if yyrt3644 { - if yyrl3644 <= cap(yyv3644) { - yyv3644 = yyv3644[:yyrl3644] + yyrg3670 := len(yyv3670) > 0 + yyv23670 := yyv3670 + yyrl3670, yyrt3670 = z.DecInferLen(yyl3670, z.DecBasicHandle().MaxInitLen, 112) + if yyrt3670 { + if yyrl3670 <= cap(yyv3670) { + yyv3670 = yyv3670[:yyrl3670] } else { - yyv3644 = make([]NodeCondition, yyrl3644) + yyv3670 = make([]NodeCondition, yyrl3670) } } else { - yyv3644 = make([]NodeCondition, yyrl3644) + yyv3670 = make([]NodeCondition, yyrl3670) } - yyc3644 = true - yyrr3644 = len(yyv3644) - if yyrg3644 { - copy(yyv3644, yyv23644) + yyc3670 = true + yyrr3670 = len(yyv3670) + if yyrg3670 { + copy(yyv3670, yyv23670) } - } else if yyl3644 != len(yyv3644) { - yyv3644 = yyv3644[:yyl3644] - yyc3644 = true + } else if yyl3670 != len(yyv3670) { + yyv3670 = yyv3670[:yyl3670] + yyc3670 = true } - yyj3644 := 0 - for ; yyj3644 < yyrr3644; yyj3644++ { - yyh3644.ElemContainerState(yyj3644) + yyj3670 := 0 + for ; yyj3670 < yyrr3670; yyj3670++ { + yyh3670.ElemContainerState(yyj3670) if r.TryDecodeAsNil() { - yyv3644[yyj3644] = NodeCondition{} + yyv3670[yyj3670] = NodeCondition{} } else { - yyv3645 := &yyv3644[yyj3644] - yyv3645.CodecDecodeSelf(d) + yyv3671 := &yyv3670[yyj3670] + yyv3671.CodecDecodeSelf(d) } } - if yyrt3644 { - for ; yyj3644 < yyl3644; yyj3644++ { - yyv3644 = append(yyv3644, NodeCondition{}) - yyh3644.ElemContainerState(yyj3644) + if yyrt3670 { + for ; yyj3670 < yyl3670; yyj3670++ { + yyv3670 = append(yyv3670, NodeCondition{}) + yyh3670.ElemContainerState(yyj3670) if r.TryDecodeAsNil() { - yyv3644[yyj3644] = NodeCondition{} + yyv3670[yyj3670] = NodeCondition{} } else { - yyv3646 := &yyv3644[yyj3644] - yyv3646.CodecDecodeSelf(d) + yyv3672 := &yyv3670[yyj3670] + yyv3672.CodecDecodeSelf(d) } } } } else { - yyj3644 := 0 - for ; !r.CheckBreak(); yyj3644++ { + yyj3670 := 0 + for ; !r.CheckBreak(); yyj3670++ { - if yyj3644 >= len(yyv3644) { - yyv3644 = append(yyv3644, NodeCondition{}) // var yyz3644 NodeCondition - yyc3644 = true + if yyj3670 >= len(yyv3670) { + yyv3670 = append(yyv3670, NodeCondition{}) // var yyz3670 NodeCondition + yyc3670 = true } - yyh3644.ElemContainerState(yyj3644) - if yyj3644 < len(yyv3644) { + yyh3670.ElemContainerState(yyj3670) + if yyj3670 < len(yyv3670) { if r.TryDecodeAsNil() { - yyv3644[yyj3644] = NodeCondition{} + yyv3670[yyj3670] = NodeCondition{} } else { - yyv3647 := &yyv3644[yyj3644] - yyv3647.CodecDecodeSelf(d) + yyv3673 := &yyv3670[yyj3670] + yyv3673.CodecDecodeSelf(d) } } else { @@ -46162,17 +46461,17 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } } - if yyj3644 < len(yyv3644) { - yyv3644 = yyv3644[:yyj3644] - yyc3644 = true - } else if yyj3644 == 0 && yyv3644 == nil { - yyv3644 = []NodeCondition{} - yyc3644 = true + if yyj3670 < len(yyv3670) { + yyv3670 = yyv3670[:yyj3670] + yyc3670 = true + } else if yyj3670 == 0 && yyv3670 == nil { + yyv3670 = []NodeCondition{} + yyc3670 = true } } - yyh3644.End() - if yyc3644 { - *v = yyv3644 + yyh3670.End() + if yyc3670 { + *v = yyv3670 } } @@ -46181,10 +46480,10 @@ func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3648 := range v { + for _, yyv3674 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3649 := &yyv3648 - yy3649.CodecEncodeSelf(e) + yy3675 := &yyv3674 + yy3675.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46194,83 +46493,83 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3650 := *v - yyh3650, yyl3650 := z.DecSliceHelperStart() - var yyc3650 bool - if yyl3650 == 0 { - if yyv3650 == nil { - yyv3650 = []NodeAddress{} - yyc3650 = true - } else if len(yyv3650) != 0 { - yyv3650 = yyv3650[:0] - yyc3650 = true + yyv3676 := *v + yyh3676, yyl3676 := z.DecSliceHelperStart() + var yyc3676 bool + if yyl3676 == 0 { + if yyv3676 == nil { + yyv3676 = []NodeAddress{} + yyc3676 = true + } else if len(yyv3676) != 0 { + yyv3676 = yyv3676[:0] + yyc3676 = true } - } else if yyl3650 > 0 { - var yyrr3650, yyrl3650 int - var yyrt3650 bool - if yyl3650 > cap(yyv3650) { + } else if yyl3676 > 0 { + var yyrr3676, yyrl3676 int + var yyrt3676 bool + if yyl3676 > cap(yyv3676) { - yyrg3650 := len(yyv3650) > 0 - yyv23650 := yyv3650 - yyrl3650, yyrt3650 = z.DecInferLen(yyl3650, z.DecBasicHandle().MaxInitLen, 32) - if yyrt3650 { - if yyrl3650 <= cap(yyv3650) { - yyv3650 = yyv3650[:yyrl3650] + yyrg3676 := len(yyv3676) > 0 + yyv23676 := yyv3676 + yyrl3676, yyrt3676 = z.DecInferLen(yyl3676, z.DecBasicHandle().MaxInitLen, 32) + if yyrt3676 { + if yyrl3676 <= cap(yyv3676) { + yyv3676 = yyv3676[:yyrl3676] } else { - yyv3650 = make([]NodeAddress, yyrl3650) + yyv3676 = make([]NodeAddress, yyrl3676) } } else { - yyv3650 = make([]NodeAddress, yyrl3650) + yyv3676 = make([]NodeAddress, yyrl3676) } - yyc3650 = true - yyrr3650 = len(yyv3650) - if yyrg3650 { - copy(yyv3650, yyv23650) + yyc3676 = true + yyrr3676 = len(yyv3676) + if yyrg3676 { + copy(yyv3676, yyv23676) } - } else if yyl3650 != len(yyv3650) { - yyv3650 = yyv3650[:yyl3650] - yyc3650 = true + } else if yyl3676 != len(yyv3676) { + yyv3676 = yyv3676[:yyl3676] + yyc3676 = true } - yyj3650 := 0 - for ; yyj3650 < yyrr3650; yyj3650++ { - yyh3650.ElemContainerState(yyj3650) + yyj3676 := 0 + for ; yyj3676 < yyrr3676; yyj3676++ { + yyh3676.ElemContainerState(yyj3676) if r.TryDecodeAsNil() { - yyv3650[yyj3650] = NodeAddress{} + yyv3676[yyj3676] = NodeAddress{} } else { - yyv3651 := &yyv3650[yyj3650] - yyv3651.CodecDecodeSelf(d) + yyv3677 := &yyv3676[yyj3676] + yyv3677.CodecDecodeSelf(d) } } - if yyrt3650 { - for ; yyj3650 < yyl3650; yyj3650++ { - yyv3650 = append(yyv3650, NodeAddress{}) - yyh3650.ElemContainerState(yyj3650) + if yyrt3676 { + for ; yyj3676 < yyl3676; yyj3676++ { + yyv3676 = append(yyv3676, NodeAddress{}) + yyh3676.ElemContainerState(yyj3676) if r.TryDecodeAsNil() { - yyv3650[yyj3650] = NodeAddress{} + yyv3676[yyj3676] = NodeAddress{} } else { - yyv3652 := &yyv3650[yyj3650] - yyv3652.CodecDecodeSelf(d) + yyv3678 := &yyv3676[yyj3676] + yyv3678.CodecDecodeSelf(d) } } } } else { - yyj3650 := 0 - for ; !r.CheckBreak(); yyj3650++ { + yyj3676 := 0 + for ; !r.CheckBreak(); yyj3676++ { - if yyj3650 >= len(yyv3650) { - yyv3650 = append(yyv3650, NodeAddress{}) // var yyz3650 NodeAddress - yyc3650 = true + if yyj3676 >= len(yyv3676) { + yyv3676 = append(yyv3676, NodeAddress{}) // var yyz3676 NodeAddress + yyc3676 = true } - yyh3650.ElemContainerState(yyj3650) - if yyj3650 < len(yyv3650) { + yyh3676.ElemContainerState(yyj3676) + if yyj3676 < len(yyv3676) { if r.TryDecodeAsNil() { - yyv3650[yyj3650] = NodeAddress{} + yyv3676[yyj3676] = NodeAddress{} } else { - yyv3653 := &yyv3650[yyj3650] - yyv3653.CodecDecodeSelf(d) + yyv3679 := &yyv3676[yyj3676] + yyv3679.CodecDecodeSelf(d) } } else { @@ -46278,17 +46577,17 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } } - if yyj3650 < len(yyv3650) { - yyv3650 = yyv3650[:yyj3650] - yyc3650 = true - } else if yyj3650 == 0 && yyv3650 == nil { - yyv3650 = []NodeAddress{} - yyc3650 = true + if yyj3676 < len(yyv3676) { + yyv3676 = yyv3676[:yyj3676] + yyc3676 = true + } else if yyj3676 == 0 && yyv3676 == nil { + yyv3676 = []NodeAddress{} + yyc3676 = true } } - yyh3650.End() - if yyc3650 { - *v = yyv3650 + yyh3676.End() + if yyc3676 { + *v = yyv3676 } } @@ -46297,19 +46596,19 @@ func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk3654, yyv3654 := range v { + for yyk3680, yyv3680 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk3654.CodecEncodeSelf(e) + yyk3680.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3655 := &yyv3654 - yym3656 := z.EncBinary() - _ = yym3656 + yy3681 := &yyv3680 + yym3682 := z.EncBinary() + _ = yym3682 if false { - } else if z.HasExtensions() && z.EncExt(yy3655) { - } else if !yym3656 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3655) + } else if z.HasExtensions() && z.EncExt(yy3681) { + } else if !yym3682 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3681) } else { - z.EncFallback(yy3655) + z.EncFallback(yy3681) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46320,86 +46619,86 @@ func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3657 := *v - yyl3657 := r.ReadMapStart() - yybh3657 := z.DecBasicHandle() - if yyv3657 == nil { - yyrl3657, _ := z.DecInferLen(yyl3657, yybh3657.MaxInitLen, 40) - yyv3657 = make(map[ResourceName]pkg3_resource.Quantity, yyrl3657) - *v = yyv3657 + yyv3683 := *v + yyl3683 := r.ReadMapStart() + yybh3683 := z.DecBasicHandle() + if yyv3683 == nil { + yyrl3683, _ := z.DecInferLen(yyl3683, yybh3683.MaxInitLen, 40) + yyv3683 = make(map[ResourceName]pkg3_resource.Quantity, yyrl3683) + *v = yyv3683 } - var yymk3657 ResourceName - var yymv3657 pkg3_resource.Quantity - var yymg3657 bool - if yybh3657.MapValueReset { - yymg3657 = true + var yymk3683 ResourceName + var yymv3683 pkg3_resource.Quantity + var yymg3683 bool + if yybh3683.MapValueReset { + yymg3683 = true } - if yyl3657 > 0 { - for yyj3657 := 0; yyj3657 < yyl3657; yyj3657++ { + if yyl3683 > 0 { + for yyj3683 := 0; yyj3683 < yyl3683; yyj3683++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3657 = "" + yymk3683 = "" } else { - yymk3657 = ResourceName(r.DecodeString()) + yymk3683 = ResourceName(r.DecodeString()) } - if yymg3657 { - yymv3657 = yyv3657[yymk3657] + if yymg3683 { + yymv3683 = yyv3683[yymk3683] } else { - yymv3657 = pkg3_resource.Quantity{} + yymv3683 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3657 = pkg3_resource.Quantity{} + yymv3683 = pkg3_resource.Quantity{} } else { - yyv3659 := &yymv3657 - yym3660 := z.DecBinary() - _ = yym3660 + yyv3685 := &yymv3683 + yym3686 := z.DecBinary() + _ = yym3686 if false { - } else if z.HasExtensions() && z.DecExt(yyv3659) { - } else if !yym3660 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3659) + } else if z.HasExtensions() && z.DecExt(yyv3685) { + } else if !yym3686 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3685) } else { - z.DecFallback(yyv3659, false) + z.DecFallback(yyv3685, false) } } - if yyv3657 != nil { - yyv3657[yymk3657] = yymv3657 + if yyv3683 != nil { + yyv3683[yymk3683] = yymv3683 } } - } else if yyl3657 < 0 { - for yyj3657 := 0; !r.CheckBreak(); yyj3657++ { + } else if yyl3683 < 0 { + for yyj3683 := 0; !r.CheckBreak(); yyj3683++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3657 = "" + yymk3683 = "" } else { - yymk3657 = ResourceName(r.DecodeString()) + yymk3683 = ResourceName(r.DecodeString()) } - if yymg3657 { - yymv3657 = yyv3657[yymk3657] + if yymg3683 { + yymv3683 = yyv3683[yymk3683] } else { - yymv3657 = pkg3_resource.Quantity{} + yymv3683 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3657 = pkg3_resource.Quantity{} + yymv3683 = pkg3_resource.Quantity{} } else { - yyv3662 := &yymv3657 - yym3663 := z.DecBinary() - _ = yym3663 + yyv3688 := &yymv3683 + yym3689 := z.DecBinary() + _ = yym3689 if false { - } else if z.HasExtensions() && z.DecExt(yyv3662) { - } else if !yym3663 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3662) + } else if z.HasExtensions() && z.DecExt(yyv3688) { + } else if !yym3689 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3688) } else { - z.DecFallback(yyv3662, false) + z.DecFallback(yyv3688, false) } } - if yyv3657 != nil { - yyv3657[yymk3657] = yymv3657 + if yyv3683 != nil { + yyv3683[yymk3683] = yymv3683 } } } // else len==0: TODO: Should we clear map entries? @@ -46411,10 +46710,10 @@ func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3664 := range v { + for _, yyv3690 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3665 := &yyv3664 - yy3665.CodecEncodeSelf(e) + yy3691 := &yyv3690 + yy3691.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46424,83 +46723,83 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3666 := *v - yyh3666, yyl3666 := z.DecSliceHelperStart() - var yyc3666 bool - if yyl3666 == 0 { - if yyv3666 == nil { - yyv3666 = []Node{} - yyc3666 = true - } else if len(yyv3666) != 0 { - yyv3666 = yyv3666[:0] - yyc3666 = true + yyv3692 := *v + yyh3692, yyl3692 := z.DecSliceHelperStart() + var yyc3692 bool + if yyl3692 == 0 { + if yyv3692 == nil { + yyv3692 = []Node{} + yyc3692 = true + } else if len(yyv3692) != 0 { + yyv3692 = yyv3692[:0] + yyc3692 = true } - } else if yyl3666 > 0 { - var yyrr3666, yyrl3666 int - var yyrt3666 bool - if yyl3666 > cap(yyv3666) { + } else if yyl3692 > 0 { + var yyrr3692, yyrl3692 int + var yyrt3692 bool + if yyl3692 > cap(yyv3692) { - yyrg3666 := len(yyv3666) > 0 - yyv23666 := yyv3666 - yyrl3666, yyrt3666 = z.DecInferLen(yyl3666, z.DecBasicHandle().MaxInitLen, 464) - if yyrt3666 { - if yyrl3666 <= cap(yyv3666) { - yyv3666 = yyv3666[:yyrl3666] + yyrg3692 := len(yyv3692) > 0 + yyv23692 := yyv3692 + yyrl3692, yyrt3692 = z.DecInferLen(yyl3692, z.DecBasicHandle().MaxInitLen, 464) + if yyrt3692 { + if yyrl3692 <= cap(yyv3692) { + yyv3692 = yyv3692[:yyrl3692] } else { - yyv3666 = make([]Node, yyrl3666) + yyv3692 = make([]Node, yyrl3692) } } else { - yyv3666 = make([]Node, yyrl3666) + yyv3692 = make([]Node, yyrl3692) } - yyc3666 = true - yyrr3666 = len(yyv3666) - if yyrg3666 { - copy(yyv3666, yyv23666) + yyc3692 = true + yyrr3692 = len(yyv3692) + if yyrg3692 { + copy(yyv3692, yyv23692) } - } else if yyl3666 != len(yyv3666) { - yyv3666 = yyv3666[:yyl3666] - yyc3666 = true + } else if yyl3692 != len(yyv3692) { + yyv3692 = yyv3692[:yyl3692] + yyc3692 = true } - yyj3666 := 0 - for ; yyj3666 < yyrr3666; yyj3666++ { - yyh3666.ElemContainerState(yyj3666) + yyj3692 := 0 + for ; yyj3692 < yyrr3692; yyj3692++ { + yyh3692.ElemContainerState(yyj3692) if r.TryDecodeAsNil() { - yyv3666[yyj3666] = Node{} + yyv3692[yyj3692] = Node{} } else { - yyv3667 := &yyv3666[yyj3666] - yyv3667.CodecDecodeSelf(d) + yyv3693 := &yyv3692[yyj3692] + yyv3693.CodecDecodeSelf(d) } } - if yyrt3666 { - for ; yyj3666 < yyl3666; yyj3666++ { - yyv3666 = append(yyv3666, Node{}) - yyh3666.ElemContainerState(yyj3666) + if yyrt3692 { + for ; yyj3692 < yyl3692; yyj3692++ { + yyv3692 = append(yyv3692, Node{}) + yyh3692.ElemContainerState(yyj3692) if r.TryDecodeAsNil() { - yyv3666[yyj3666] = Node{} + yyv3692[yyj3692] = Node{} } else { - yyv3668 := &yyv3666[yyj3666] - yyv3668.CodecDecodeSelf(d) + yyv3694 := &yyv3692[yyj3692] + yyv3694.CodecDecodeSelf(d) } } } } else { - yyj3666 := 0 - for ; !r.CheckBreak(); yyj3666++ { + yyj3692 := 0 + for ; !r.CheckBreak(); yyj3692++ { - if yyj3666 >= len(yyv3666) { - yyv3666 = append(yyv3666, Node{}) // var yyz3666 Node - yyc3666 = true + if yyj3692 >= len(yyv3692) { + yyv3692 = append(yyv3692, Node{}) // var yyz3692 Node + yyc3692 = true } - yyh3666.ElemContainerState(yyj3666) - if yyj3666 < len(yyv3666) { + yyh3692.ElemContainerState(yyj3692) + if yyj3692 < len(yyv3692) { if r.TryDecodeAsNil() { - yyv3666[yyj3666] = Node{} + yyv3692[yyj3692] = Node{} } else { - yyv3669 := &yyv3666[yyj3666] - yyv3669.CodecDecodeSelf(d) + yyv3695 := &yyv3692[yyj3692] + yyv3695.CodecDecodeSelf(d) } } else { @@ -46508,17 +46807,17 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { } } - if yyj3666 < len(yyv3666) { - yyv3666 = yyv3666[:yyj3666] - yyc3666 = true - } else if yyj3666 == 0 && yyv3666 == nil { - yyv3666 = []Node{} - yyc3666 = true + if yyj3692 < len(yyv3692) { + yyv3692 = yyv3692[:yyj3692] + yyc3692 = true + } else if yyj3692 == 0 && yyv3692 == nil { + yyv3692 = []Node{} + yyc3692 = true } } - yyh3666.End() - if yyc3666 { - *v = yyv3666 + yyh3692.End() + if yyc3692 { + *v = yyv3692 } } @@ -46527,9 +46826,9 @@ func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3670 := range v { + for _, yyv3696 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv3670.CodecEncodeSelf(e) + yyv3696.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46539,75 +46838,75 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3671 := *v - yyh3671, yyl3671 := z.DecSliceHelperStart() - var yyc3671 bool - if yyl3671 == 0 { - if yyv3671 == nil { - yyv3671 = []FinalizerName{} - yyc3671 = true - } else if len(yyv3671) != 0 { - yyv3671 = yyv3671[:0] - yyc3671 = true + yyv3697 := *v + yyh3697, yyl3697 := z.DecSliceHelperStart() + var yyc3697 bool + if yyl3697 == 0 { + if yyv3697 == nil { + yyv3697 = []FinalizerName{} + yyc3697 = true + } else if len(yyv3697) != 0 { + yyv3697 = yyv3697[:0] + yyc3697 = true } - } else if yyl3671 > 0 { - var yyrr3671, yyrl3671 int - var yyrt3671 bool - if yyl3671 > cap(yyv3671) { + } else if yyl3697 > 0 { + var yyrr3697, yyrl3697 int + var yyrt3697 bool + if yyl3697 > cap(yyv3697) { - yyrl3671, yyrt3671 = z.DecInferLen(yyl3671, z.DecBasicHandle().MaxInitLen, 16) - if yyrt3671 { - if yyrl3671 <= cap(yyv3671) { - yyv3671 = yyv3671[:yyrl3671] + yyrl3697, yyrt3697 = z.DecInferLen(yyl3697, z.DecBasicHandle().MaxInitLen, 16) + if yyrt3697 { + if yyrl3697 <= cap(yyv3697) { + yyv3697 = yyv3697[:yyrl3697] } else { - yyv3671 = make([]FinalizerName, yyrl3671) + yyv3697 = make([]FinalizerName, yyrl3697) } } else { - yyv3671 = make([]FinalizerName, yyrl3671) + yyv3697 = make([]FinalizerName, yyrl3697) } - yyc3671 = true - yyrr3671 = len(yyv3671) - } else if yyl3671 != len(yyv3671) { - yyv3671 = yyv3671[:yyl3671] - yyc3671 = true + yyc3697 = true + yyrr3697 = len(yyv3697) + } else if yyl3697 != len(yyv3697) { + yyv3697 = yyv3697[:yyl3697] + yyc3697 = true } - yyj3671 := 0 - for ; yyj3671 < yyrr3671; yyj3671++ { - yyh3671.ElemContainerState(yyj3671) + yyj3697 := 0 + for ; yyj3697 < yyrr3697; yyj3697++ { + yyh3697.ElemContainerState(yyj3697) if r.TryDecodeAsNil() { - yyv3671[yyj3671] = "" + yyv3697[yyj3697] = "" } else { - yyv3671[yyj3671] = FinalizerName(r.DecodeString()) + yyv3697[yyj3697] = FinalizerName(r.DecodeString()) } } - if yyrt3671 { - for ; yyj3671 < yyl3671; yyj3671++ { - yyv3671 = append(yyv3671, "") - yyh3671.ElemContainerState(yyj3671) + if yyrt3697 { + for ; yyj3697 < yyl3697; yyj3697++ { + yyv3697 = append(yyv3697, "") + yyh3697.ElemContainerState(yyj3697) if r.TryDecodeAsNil() { - yyv3671[yyj3671] = "" + yyv3697[yyj3697] = "" } else { - yyv3671[yyj3671] = FinalizerName(r.DecodeString()) + yyv3697[yyj3697] = FinalizerName(r.DecodeString()) } } } } else { - yyj3671 := 0 - for ; !r.CheckBreak(); yyj3671++ { + yyj3697 := 0 + for ; !r.CheckBreak(); yyj3697++ { - if yyj3671 >= len(yyv3671) { - yyv3671 = append(yyv3671, "") // var yyz3671 FinalizerName - yyc3671 = true + if yyj3697 >= len(yyv3697) { + yyv3697 = append(yyv3697, "") // var yyz3697 FinalizerName + yyc3697 = true } - yyh3671.ElemContainerState(yyj3671) - if yyj3671 < len(yyv3671) { + yyh3697.ElemContainerState(yyj3697) + if yyj3697 < len(yyv3697) { if r.TryDecodeAsNil() { - yyv3671[yyj3671] = "" + yyv3697[yyj3697] = "" } else { - yyv3671[yyj3671] = FinalizerName(r.DecodeString()) + yyv3697[yyj3697] = FinalizerName(r.DecodeString()) } } else { @@ -46615,17 +46914,17 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } - if yyj3671 < len(yyv3671) { - yyv3671 = yyv3671[:yyj3671] - yyc3671 = true - } else if yyj3671 == 0 && yyv3671 == nil { - yyv3671 = []FinalizerName{} - yyc3671 = true + if yyj3697 < len(yyv3697) { + yyv3697 = yyv3697[:yyj3697] + yyc3697 = true + } else if yyj3697 == 0 && yyv3697 == nil { + yyv3697 = []FinalizerName{} + yyc3697 = true } } - yyh3671.End() - if yyc3671 { - *v = yyv3671 + yyh3697.End() + if yyc3697 { + *v = yyv3697 } } @@ -46634,10 +46933,10 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3675 := range v { + for _, yyv3701 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3676 := &yyv3675 - yy3676.CodecEncodeSelf(e) + yy3702 := &yyv3701 + yy3702.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46647,83 +46946,83 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3677 := *v - yyh3677, yyl3677 := z.DecSliceHelperStart() - var yyc3677 bool - if yyl3677 == 0 { - if yyv3677 == nil { - yyv3677 = []Namespace{} - yyc3677 = true - } else if len(yyv3677) != 0 { - yyv3677 = yyv3677[:0] - yyc3677 = true + yyv3703 := *v + yyh3703, yyl3703 := z.DecSliceHelperStart() + var yyc3703 bool + if yyl3703 == 0 { + if yyv3703 == nil { + yyv3703 = []Namespace{} + yyc3703 = true + } else if len(yyv3703) != 0 { + yyv3703 = yyv3703[:0] + yyc3703 = true } - } else if yyl3677 > 0 { - var yyrr3677, yyrl3677 int - var yyrt3677 bool - if yyl3677 > cap(yyv3677) { + } else if yyl3703 > 0 { + var yyrr3703, yyrl3703 int + var yyrt3703 bool + if yyl3703 > cap(yyv3703) { - yyrg3677 := len(yyv3677) > 0 - yyv23677 := yyv3677 - yyrl3677, yyrt3677 = z.DecInferLen(yyl3677, z.DecBasicHandle().MaxInitLen, 232) - if yyrt3677 { - if yyrl3677 <= cap(yyv3677) { - yyv3677 = yyv3677[:yyrl3677] + yyrg3703 := len(yyv3703) > 0 + yyv23703 := yyv3703 + yyrl3703, yyrt3703 = z.DecInferLen(yyl3703, z.DecBasicHandle().MaxInitLen, 232) + if yyrt3703 { + if yyrl3703 <= cap(yyv3703) { + yyv3703 = yyv3703[:yyrl3703] } else { - yyv3677 = make([]Namespace, yyrl3677) + yyv3703 = make([]Namespace, yyrl3703) } } else { - yyv3677 = make([]Namespace, yyrl3677) + yyv3703 = make([]Namespace, yyrl3703) } - yyc3677 = true - yyrr3677 = len(yyv3677) - if yyrg3677 { - copy(yyv3677, yyv23677) + yyc3703 = true + yyrr3703 = len(yyv3703) + if yyrg3703 { + copy(yyv3703, yyv23703) } - } else if yyl3677 != len(yyv3677) { - yyv3677 = yyv3677[:yyl3677] - yyc3677 = true + } else if yyl3703 != len(yyv3703) { + yyv3703 = yyv3703[:yyl3703] + yyc3703 = true } - yyj3677 := 0 - for ; yyj3677 < yyrr3677; yyj3677++ { - yyh3677.ElemContainerState(yyj3677) + yyj3703 := 0 + for ; yyj3703 < yyrr3703; yyj3703++ { + yyh3703.ElemContainerState(yyj3703) if r.TryDecodeAsNil() { - yyv3677[yyj3677] = Namespace{} + yyv3703[yyj3703] = Namespace{} } else { - yyv3678 := &yyv3677[yyj3677] - yyv3678.CodecDecodeSelf(d) + yyv3704 := &yyv3703[yyj3703] + yyv3704.CodecDecodeSelf(d) } } - if yyrt3677 { - for ; yyj3677 < yyl3677; yyj3677++ { - yyv3677 = append(yyv3677, Namespace{}) - yyh3677.ElemContainerState(yyj3677) + if yyrt3703 { + for ; yyj3703 < yyl3703; yyj3703++ { + yyv3703 = append(yyv3703, Namespace{}) + yyh3703.ElemContainerState(yyj3703) if r.TryDecodeAsNil() { - yyv3677[yyj3677] = Namespace{} + yyv3703[yyj3703] = Namespace{} } else { - yyv3679 := &yyv3677[yyj3677] - yyv3679.CodecDecodeSelf(d) + yyv3705 := &yyv3703[yyj3703] + yyv3705.CodecDecodeSelf(d) } } } } else { - yyj3677 := 0 - for ; !r.CheckBreak(); yyj3677++ { + yyj3703 := 0 + for ; !r.CheckBreak(); yyj3703++ { - if yyj3677 >= len(yyv3677) { - yyv3677 = append(yyv3677, Namespace{}) // var yyz3677 Namespace - yyc3677 = true + if yyj3703 >= len(yyv3703) { + yyv3703 = append(yyv3703, Namespace{}) // var yyz3703 Namespace + yyc3703 = true } - yyh3677.ElemContainerState(yyj3677) - if yyj3677 < len(yyv3677) { + yyh3703.ElemContainerState(yyj3703) + if yyj3703 < len(yyv3703) { if r.TryDecodeAsNil() { - yyv3677[yyj3677] = Namespace{} + yyv3703[yyj3703] = Namespace{} } else { - yyv3680 := &yyv3677[yyj3677] - yyv3680.CodecDecodeSelf(d) + yyv3706 := &yyv3703[yyj3703] + yyv3706.CodecDecodeSelf(d) } } else { @@ -46731,17 +47030,17 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } - if yyj3677 < len(yyv3677) { - yyv3677 = yyv3677[:yyj3677] - yyc3677 = true - } else if yyj3677 == 0 && yyv3677 == nil { - yyv3677 = []Namespace{} - yyc3677 = true + if yyj3703 < len(yyv3703) { + yyv3703 = yyv3703[:yyj3703] + yyc3703 = true + } else if yyj3703 == 0 && yyv3703 == nil { + yyv3703 = []Namespace{} + yyc3703 = true } } - yyh3677.End() - if yyc3677 { - *v = yyv3677 + yyh3703.End() + if yyc3703 { + *v = yyv3703 } } @@ -46750,10 +47049,10 @@ func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3681 := range v { + for _, yyv3707 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3682 := &yyv3681 - yy3682.CodecEncodeSelf(e) + yy3708 := &yyv3707 + yy3708.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46763,83 +47062,83 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3683 := *v - yyh3683, yyl3683 := z.DecSliceHelperStart() - var yyc3683 bool - if yyl3683 == 0 { - if yyv3683 == nil { - yyv3683 = []Event{} - yyc3683 = true - } else if len(yyv3683) != 0 { - yyv3683 = yyv3683[:0] - yyc3683 = true + yyv3709 := *v + yyh3709, yyl3709 := z.DecSliceHelperStart() + var yyc3709 bool + if yyl3709 == 0 { + if yyv3709 == nil { + yyv3709 = []Event{} + yyc3709 = true + } else if len(yyv3709) != 0 { + yyv3709 = yyv3709[:0] + yyc3709 = true } - } else if yyl3683 > 0 { - var yyrr3683, yyrl3683 int - var yyrt3683 bool - if yyl3683 > cap(yyv3683) { + } else if yyl3709 > 0 { + var yyrr3709, yyrl3709 int + var yyrt3709 bool + if yyl3709 > cap(yyv3709) { - yyrg3683 := len(yyv3683) > 0 - yyv23683 := yyv3683 - yyrl3683, yyrt3683 = z.DecInferLen(yyl3683, z.DecBasicHandle().MaxInitLen, 440) - if yyrt3683 { - if yyrl3683 <= cap(yyv3683) { - yyv3683 = yyv3683[:yyrl3683] + yyrg3709 := len(yyv3709) > 0 + yyv23709 := yyv3709 + yyrl3709, yyrt3709 = z.DecInferLen(yyl3709, z.DecBasicHandle().MaxInitLen, 440) + if yyrt3709 { + if yyrl3709 <= cap(yyv3709) { + yyv3709 = yyv3709[:yyrl3709] } else { - yyv3683 = make([]Event, yyrl3683) + yyv3709 = make([]Event, yyrl3709) } } else { - yyv3683 = make([]Event, yyrl3683) + yyv3709 = make([]Event, yyrl3709) } - yyc3683 = true - yyrr3683 = len(yyv3683) - if yyrg3683 { - copy(yyv3683, yyv23683) + yyc3709 = true + yyrr3709 = len(yyv3709) + if yyrg3709 { + copy(yyv3709, yyv23709) } - } else if yyl3683 != len(yyv3683) { - yyv3683 = yyv3683[:yyl3683] - yyc3683 = true + } else if yyl3709 != len(yyv3709) { + yyv3709 = yyv3709[:yyl3709] + yyc3709 = true } - yyj3683 := 0 - for ; yyj3683 < yyrr3683; yyj3683++ { - yyh3683.ElemContainerState(yyj3683) + yyj3709 := 0 + for ; yyj3709 < yyrr3709; yyj3709++ { + yyh3709.ElemContainerState(yyj3709) if r.TryDecodeAsNil() { - yyv3683[yyj3683] = Event{} + yyv3709[yyj3709] = Event{} } else { - yyv3684 := &yyv3683[yyj3683] - yyv3684.CodecDecodeSelf(d) + yyv3710 := &yyv3709[yyj3709] + yyv3710.CodecDecodeSelf(d) } } - if yyrt3683 { - for ; yyj3683 < yyl3683; yyj3683++ { - yyv3683 = append(yyv3683, Event{}) - yyh3683.ElemContainerState(yyj3683) + if yyrt3709 { + for ; yyj3709 < yyl3709; yyj3709++ { + yyv3709 = append(yyv3709, Event{}) + yyh3709.ElemContainerState(yyj3709) if r.TryDecodeAsNil() { - yyv3683[yyj3683] = Event{} + yyv3709[yyj3709] = Event{} } else { - yyv3685 := &yyv3683[yyj3683] - yyv3685.CodecDecodeSelf(d) + yyv3711 := &yyv3709[yyj3709] + yyv3711.CodecDecodeSelf(d) } } } } else { - yyj3683 := 0 - for ; !r.CheckBreak(); yyj3683++ { + yyj3709 := 0 + for ; !r.CheckBreak(); yyj3709++ { - if yyj3683 >= len(yyv3683) { - yyv3683 = append(yyv3683, Event{}) // var yyz3683 Event - yyc3683 = true + if yyj3709 >= len(yyv3709) { + yyv3709 = append(yyv3709, Event{}) // var yyz3709 Event + yyc3709 = true } - yyh3683.ElemContainerState(yyj3683) - if yyj3683 < len(yyv3683) { + yyh3709.ElemContainerState(yyj3709) + if yyj3709 < len(yyv3709) { if r.TryDecodeAsNil() { - yyv3683[yyj3683] = Event{} + yyv3709[yyj3709] = Event{} } else { - yyv3686 := &yyv3683[yyj3683] - yyv3686.CodecDecodeSelf(d) + yyv3712 := &yyv3709[yyj3709] + yyv3712.CodecDecodeSelf(d) } } else { @@ -46847,17 +47146,17 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } - if yyj3683 < len(yyv3683) { - yyv3683 = yyv3683[:yyj3683] - yyc3683 = true - } else if yyj3683 == 0 && yyv3683 == nil { - yyv3683 = []Event{} - yyc3683 = true + if yyj3709 < len(yyv3709) { + yyv3709 = yyv3709[:yyj3709] + yyc3709 = true + } else if yyj3709 == 0 && yyv3709 == nil { + yyv3709 = []Event{} + yyc3709 = true } } - yyh3683.End() - if yyc3683 { - *v = yyv3683 + yyh3709.End() + if yyc3709 { + *v = yyv3709 } } @@ -46866,17 +47165,17 @@ func (x codecSelfer1234) encSliceruntime_RawExtension(v []pkg6_runtime.RawExtens z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3687 := range v { + for _, yyv3713 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3688 := &yyv3687 - yym3689 := z.EncBinary() - _ = yym3689 + yy3714 := &yyv3713 + yym3715 := z.EncBinary() + _ = yym3715 if false { - } else if z.HasExtensions() && z.EncExt(yy3688) { - } else if !yym3689 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3688) + } else if z.HasExtensions() && z.EncExt(yy3714) { + } else if !yym3715 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3714) } else { - z.EncFallback(yy3688) + z.EncFallback(yy3714) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -46887,78 +47186,78 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg6_runtime.RawExten z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3690 := *v - yyh3690, yyl3690 := z.DecSliceHelperStart() - var yyc3690 bool - if yyl3690 == 0 { - if yyv3690 == nil { - yyv3690 = []pkg6_runtime.RawExtension{} - yyc3690 = true - } else if len(yyv3690) != 0 { - yyv3690 = yyv3690[:0] - yyc3690 = true + yyv3716 := *v + yyh3716, yyl3716 := z.DecSliceHelperStart() + var yyc3716 bool + if yyl3716 == 0 { + if yyv3716 == nil { + yyv3716 = []pkg6_runtime.RawExtension{} + yyc3716 = true + } else if len(yyv3716) != 0 { + yyv3716 = yyv3716[:0] + yyc3716 = true } - } else if yyl3690 > 0 { - var yyrr3690, yyrl3690 int - var yyrt3690 bool - if yyl3690 > cap(yyv3690) { + } else if yyl3716 > 0 { + var yyrr3716, yyrl3716 int + var yyrt3716 bool + if yyl3716 > cap(yyv3716) { - yyrg3690 := len(yyv3690) > 0 - yyv23690 := yyv3690 - yyrl3690, yyrt3690 = z.DecInferLen(yyl3690, z.DecBasicHandle().MaxInitLen, 24) - if yyrt3690 { - if yyrl3690 <= cap(yyv3690) { - yyv3690 = yyv3690[:yyrl3690] + yyrg3716 := len(yyv3716) > 0 + yyv23716 := yyv3716 + yyrl3716, yyrt3716 = z.DecInferLen(yyl3716, z.DecBasicHandle().MaxInitLen, 24) + if yyrt3716 { + if yyrl3716 <= cap(yyv3716) { + yyv3716 = yyv3716[:yyrl3716] } else { - yyv3690 = make([]pkg6_runtime.RawExtension, yyrl3690) + yyv3716 = make([]pkg6_runtime.RawExtension, yyrl3716) } } else { - yyv3690 = make([]pkg6_runtime.RawExtension, yyrl3690) + yyv3716 = make([]pkg6_runtime.RawExtension, yyrl3716) } - yyc3690 = true - yyrr3690 = len(yyv3690) - if yyrg3690 { - copy(yyv3690, yyv23690) + yyc3716 = true + yyrr3716 = len(yyv3716) + if yyrg3716 { + copy(yyv3716, yyv23716) } - } else if yyl3690 != len(yyv3690) { - yyv3690 = yyv3690[:yyl3690] - yyc3690 = true + } else if yyl3716 != len(yyv3716) { + yyv3716 = yyv3716[:yyl3716] + yyc3716 = true } - yyj3690 := 0 - for ; yyj3690 < yyrr3690; yyj3690++ { - yyh3690.ElemContainerState(yyj3690) + yyj3716 := 0 + for ; yyj3716 < yyrr3716; yyj3716++ { + yyh3716.ElemContainerState(yyj3716) if r.TryDecodeAsNil() { - yyv3690[yyj3690] = pkg6_runtime.RawExtension{} + yyv3716[yyj3716] = pkg6_runtime.RawExtension{} } else { - yyv3691 := &yyv3690[yyj3690] - yym3692 := z.DecBinary() - _ = yym3692 + yyv3717 := &yyv3716[yyj3716] + yym3718 := z.DecBinary() + _ = yym3718 if false { - } else if z.HasExtensions() && z.DecExt(yyv3691) { - } else if !yym3692 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3691) + } else if z.HasExtensions() && z.DecExt(yyv3717) { + } else if !yym3718 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3717) } else { - z.DecFallback(yyv3691, false) + z.DecFallback(yyv3717, false) } } } - if yyrt3690 { - for ; yyj3690 < yyl3690; yyj3690++ { - yyv3690 = append(yyv3690, pkg6_runtime.RawExtension{}) - yyh3690.ElemContainerState(yyj3690) + if yyrt3716 { + for ; yyj3716 < yyl3716; yyj3716++ { + yyv3716 = append(yyv3716, pkg6_runtime.RawExtension{}) + yyh3716.ElemContainerState(yyj3716) if r.TryDecodeAsNil() { - yyv3690[yyj3690] = pkg6_runtime.RawExtension{} + yyv3716[yyj3716] = pkg6_runtime.RawExtension{} } else { - yyv3693 := &yyv3690[yyj3690] - yym3694 := z.DecBinary() - _ = yym3694 + yyv3719 := &yyv3716[yyj3716] + yym3720 := z.DecBinary() + _ = yym3720 if false { - } else if z.HasExtensions() && z.DecExt(yyv3693) { - } else if !yym3694 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3693) + } else if z.HasExtensions() && z.DecExt(yyv3719) { + } else if !yym3720 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3719) } else { - z.DecFallback(yyv3693, false) + z.DecFallback(yyv3719, false) } } @@ -46966,27 +47265,27 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg6_runtime.RawExten } } else { - yyj3690 := 0 - for ; !r.CheckBreak(); yyj3690++ { + yyj3716 := 0 + for ; !r.CheckBreak(); yyj3716++ { - if yyj3690 >= len(yyv3690) { - yyv3690 = append(yyv3690, pkg6_runtime.RawExtension{}) // var yyz3690 pkg6_runtime.RawExtension - yyc3690 = true + if yyj3716 >= len(yyv3716) { + yyv3716 = append(yyv3716, pkg6_runtime.RawExtension{}) // var yyz3716 pkg6_runtime.RawExtension + yyc3716 = true } - yyh3690.ElemContainerState(yyj3690) - if yyj3690 < len(yyv3690) { + yyh3716.ElemContainerState(yyj3716) + if yyj3716 < len(yyv3716) { if r.TryDecodeAsNil() { - yyv3690[yyj3690] = pkg6_runtime.RawExtension{} + yyv3716[yyj3716] = pkg6_runtime.RawExtension{} } else { - yyv3695 := &yyv3690[yyj3690] - yym3696 := z.DecBinary() - _ = yym3696 + yyv3721 := &yyv3716[yyj3716] + yym3722 := z.DecBinary() + _ = yym3722 if false { - } else if z.HasExtensions() && z.DecExt(yyv3695) { - } else if !yym3696 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3695) + } else if z.HasExtensions() && z.DecExt(yyv3721) { + } else if !yym3722 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3721) } else { - z.DecFallback(yyv3695, false) + z.DecFallback(yyv3721, false) } } @@ -46995,17 +47294,17 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg6_runtime.RawExten } } - if yyj3690 < len(yyv3690) { - yyv3690 = yyv3690[:yyj3690] - yyc3690 = true - } else if yyj3690 == 0 && yyv3690 == nil { - yyv3690 = []pkg6_runtime.RawExtension{} - yyc3690 = true + if yyj3716 < len(yyv3716) { + yyv3716 = yyv3716[:yyj3716] + yyc3716 = true + } else if yyj3716 == 0 && yyv3716 == nil { + yyv3716 = []pkg6_runtime.RawExtension{} + yyc3716 = true } } - yyh3690.End() - if yyc3690 { - *v = yyv3690 + yyh3716.End() + if yyc3716 { + *v = yyv3716 } } @@ -47014,10 +47313,10 @@ func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3697 := range v { + for _, yyv3723 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3698 := &yyv3697 - yy3698.CodecEncodeSelf(e) + yy3724 := &yyv3723 + yy3724.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47027,83 +47326,83 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3699 := *v - yyh3699, yyl3699 := z.DecSliceHelperStart() - var yyc3699 bool - if yyl3699 == 0 { - if yyv3699 == nil { - yyv3699 = []LimitRangeItem{} - yyc3699 = true - } else if len(yyv3699) != 0 { - yyv3699 = yyv3699[:0] - yyc3699 = true + yyv3725 := *v + yyh3725, yyl3725 := z.DecSliceHelperStart() + var yyc3725 bool + if yyl3725 == 0 { + if yyv3725 == nil { + yyv3725 = []LimitRangeItem{} + yyc3725 = true + } else if len(yyv3725) != 0 { + yyv3725 = yyv3725[:0] + yyc3725 = true } - } else if yyl3699 > 0 { - var yyrr3699, yyrl3699 int - var yyrt3699 bool - if yyl3699 > cap(yyv3699) { + } else if yyl3725 > 0 { + var yyrr3725, yyrl3725 int + var yyrt3725 bool + if yyl3725 > cap(yyv3725) { - yyrg3699 := len(yyv3699) > 0 - yyv23699 := yyv3699 - yyrl3699, yyrt3699 = z.DecInferLen(yyl3699, z.DecBasicHandle().MaxInitLen, 56) - if yyrt3699 { - if yyrl3699 <= cap(yyv3699) { - yyv3699 = yyv3699[:yyrl3699] + yyrg3725 := len(yyv3725) > 0 + yyv23725 := yyv3725 + yyrl3725, yyrt3725 = z.DecInferLen(yyl3725, z.DecBasicHandle().MaxInitLen, 56) + if yyrt3725 { + if yyrl3725 <= cap(yyv3725) { + yyv3725 = yyv3725[:yyrl3725] } else { - yyv3699 = make([]LimitRangeItem, yyrl3699) + yyv3725 = make([]LimitRangeItem, yyrl3725) } } else { - yyv3699 = make([]LimitRangeItem, yyrl3699) + yyv3725 = make([]LimitRangeItem, yyrl3725) } - yyc3699 = true - yyrr3699 = len(yyv3699) - if yyrg3699 { - copy(yyv3699, yyv23699) + yyc3725 = true + yyrr3725 = len(yyv3725) + if yyrg3725 { + copy(yyv3725, yyv23725) } - } else if yyl3699 != len(yyv3699) { - yyv3699 = yyv3699[:yyl3699] - yyc3699 = true + } else if yyl3725 != len(yyv3725) { + yyv3725 = yyv3725[:yyl3725] + yyc3725 = true } - yyj3699 := 0 - for ; yyj3699 < yyrr3699; yyj3699++ { - yyh3699.ElemContainerState(yyj3699) + yyj3725 := 0 + for ; yyj3725 < yyrr3725; yyj3725++ { + yyh3725.ElemContainerState(yyj3725) if r.TryDecodeAsNil() { - yyv3699[yyj3699] = LimitRangeItem{} + yyv3725[yyj3725] = LimitRangeItem{} } else { - yyv3700 := &yyv3699[yyj3699] - yyv3700.CodecDecodeSelf(d) + yyv3726 := &yyv3725[yyj3725] + yyv3726.CodecDecodeSelf(d) } } - if yyrt3699 { - for ; yyj3699 < yyl3699; yyj3699++ { - yyv3699 = append(yyv3699, LimitRangeItem{}) - yyh3699.ElemContainerState(yyj3699) + if yyrt3725 { + for ; yyj3725 < yyl3725; yyj3725++ { + yyv3725 = append(yyv3725, LimitRangeItem{}) + yyh3725.ElemContainerState(yyj3725) if r.TryDecodeAsNil() { - yyv3699[yyj3699] = LimitRangeItem{} + yyv3725[yyj3725] = LimitRangeItem{} } else { - yyv3701 := &yyv3699[yyj3699] - yyv3701.CodecDecodeSelf(d) + yyv3727 := &yyv3725[yyj3725] + yyv3727.CodecDecodeSelf(d) } } } } else { - yyj3699 := 0 - for ; !r.CheckBreak(); yyj3699++ { + yyj3725 := 0 + for ; !r.CheckBreak(); yyj3725++ { - if yyj3699 >= len(yyv3699) { - yyv3699 = append(yyv3699, LimitRangeItem{}) // var yyz3699 LimitRangeItem - yyc3699 = true + if yyj3725 >= len(yyv3725) { + yyv3725 = append(yyv3725, LimitRangeItem{}) // var yyz3725 LimitRangeItem + yyc3725 = true } - yyh3699.ElemContainerState(yyj3699) - if yyj3699 < len(yyv3699) { + yyh3725.ElemContainerState(yyj3725) + if yyj3725 < len(yyv3725) { if r.TryDecodeAsNil() { - yyv3699[yyj3699] = LimitRangeItem{} + yyv3725[yyj3725] = LimitRangeItem{} } else { - yyv3702 := &yyv3699[yyj3699] - yyv3702.CodecDecodeSelf(d) + yyv3728 := &yyv3725[yyj3725] + yyv3728.CodecDecodeSelf(d) } } else { @@ -47111,17 +47410,17 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 } } - if yyj3699 < len(yyv3699) { - yyv3699 = yyv3699[:yyj3699] - yyc3699 = true - } else if yyj3699 == 0 && yyv3699 == nil { - yyv3699 = []LimitRangeItem{} - yyc3699 = true + if yyj3725 < len(yyv3725) { + yyv3725 = yyv3725[:yyj3725] + yyc3725 = true + } else if yyj3725 == 0 && yyv3725 == nil { + yyv3725 = []LimitRangeItem{} + yyc3725 = true } } - yyh3699.End() - if yyc3699 { - *v = yyv3699 + yyh3725.End() + if yyc3725 { + *v = yyv3725 } } @@ -47130,10 +47429,10 @@ func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3703 := range v { + for _, yyv3729 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3704 := &yyv3703 - yy3704.CodecEncodeSelf(e) + yy3730 := &yyv3729 + yy3730.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47143,83 +47442,83 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3705 := *v - yyh3705, yyl3705 := z.DecSliceHelperStart() - var yyc3705 bool - if yyl3705 == 0 { - if yyv3705 == nil { - yyv3705 = []LimitRange{} - yyc3705 = true - } else if len(yyv3705) != 0 { - yyv3705 = yyv3705[:0] - yyc3705 = true + yyv3731 := *v + yyh3731, yyl3731 := z.DecSliceHelperStart() + var yyc3731 bool + if yyl3731 == 0 { + if yyv3731 == nil { + yyv3731 = []LimitRange{} + yyc3731 = true + } else if len(yyv3731) != 0 { + yyv3731 = yyv3731[:0] + yyc3731 = true } - } else if yyl3705 > 0 { - var yyrr3705, yyrl3705 int - var yyrt3705 bool - if yyl3705 > cap(yyv3705) { + } else if yyl3731 > 0 { + var yyrr3731, yyrl3731 int + var yyrt3731 bool + if yyl3731 > cap(yyv3731) { - yyrg3705 := len(yyv3705) > 0 - yyv23705 := yyv3705 - yyrl3705, yyrt3705 = z.DecInferLen(yyl3705, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3705 { - if yyrl3705 <= cap(yyv3705) { - yyv3705 = yyv3705[:yyrl3705] + yyrg3731 := len(yyv3731) > 0 + yyv23731 := yyv3731 + yyrl3731, yyrt3731 = z.DecInferLen(yyl3731, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3731 { + if yyrl3731 <= cap(yyv3731) { + yyv3731 = yyv3731[:yyrl3731] } else { - yyv3705 = make([]LimitRange, yyrl3705) + yyv3731 = make([]LimitRange, yyrl3731) } } else { - yyv3705 = make([]LimitRange, yyrl3705) + yyv3731 = make([]LimitRange, yyrl3731) } - yyc3705 = true - yyrr3705 = len(yyv3705) - if yyrg3705 { - copy(yyv3705, yyv23705) + yyc3731 = true + yyrr3731 = len(yyv3731) + if yyrg3731 { + copy(yyv3731, yyv23731) } - } else if yyl3705 != len(yyv3705) { - yyv3705 = yyv3705[:yyl3705] - yyc3705 = true + } else if yyl3731 != len(yyv3731) { + yyv3731 = yyv3731[:yyl3731] + yyc3731 = true } - yyj3705 := 0 - for ; yyj3705 < yyrr3705; yyj3705++ { - yyh3705.ElemContainerState(yyj3705) + yyj3731 := 0 + for ; yyj3731 < yyrr3731; yyj3731++ { + yyh3731.ElemContainerState(yyj3731) if r.TryDecodeAsNil() { - yyv3705[yyj3705] = LimitRange{} + yyv3731[yyj3731] = LimitRange{} } else { - yyv3706 := &yyv3705[yyj3705] - yyv3706.CodecDecodeSelf(d) + yyv3732 := &yyv3731[yyj3731] + yyv3732.CodecDecodeSelf(d) } } - if yyrt3705 { - for ; yyj3705 < yyl3705; yyj3705++ { - yyv3705 = append(yyv3705, LimitRange{}) - yyh3705.ElemContainerState(yyj3705) + if yyrt3731 { + for ; yyj3731 < yyl3731; yyj3731++ { + yyv3731 = append(yyv3731, LimitRange{}) + yyh3731.ElemContainerState(yyj3731) if r.TryDecodeAsNil() { - yyv3705[yyj3705] = LimitRange{} + yyv3731[yyj3731] = LimitRange{} } else { - yyv3707 := &yyv3705[yyj3705] - yyv3707.CodecDecodeSelf(d) + yyv3733 := &yyv3731[yyj3731] + yyv3733.CodecDecodeSelf(d) } } } } else { - yyj3705 := 0 - for ; !r.CheckBreak(); yyj3705++ { + yyj3731 := 0 + for ; !r.CheckBreak(); yyj3731++ { - if yyj3705 >= len(yyv3705) { - yyv3705 = append(yyv3705, LimitRange{}) // var yyz3705 LimitRange - yyc3705 = true + if yyj3731 >= len(yyv3731) { + yyv3731 = append(yyv3731, LimitRange{}) // var yyz3731 LimitRange + yyc3731 = true } - yyh3705.ElemContainerState(yyj3705) - if yyj3705 < len(yyv3705) { + yyh3731.ElemContainerState(yyj3731) + if yyj3731 < len(yyv3731) { if r.TryDecodeAsNil() { - yyv3705[yyj3705] = LimitRange{} + yyv3731[yyj3731] = LimitRange{} } else { - yyv3708 := &yyv3705[yyj3705] - yyv3708.CodecDecodeSelf(d) + yyv3734 := &yyv3731[yyj3731] + yyv3734.CodecDecodeSelf(d) } } else { @@ -47227,17 +47526,17 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } } - if yyj3705 < len(yyv3705) { - yyv3705 = yyv3705[:yyj3705] - yyc3705 = true - } else if yyj3705 == 0 && yyv3705 == nil { - yyv3705 = []LimitRange{} - yyc3705 = true + if yyj3731 < len(yyv3731) { + yyv3731 = yyv3731[:yyj3731] + yyc3731 = true + } else if yyj3731 == 0 && yyv3731 == nil { + yyv3731 = []LimitRange{} + yyc3731 = true } } - yyh3705.End() - if yyc3705 { - *v = yyv3705 + yyh3731.End() + if yyc3731 { + *v = yyv3731 } } @@ -47246,10 +47545,10 @@ func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3709 := range v { + for _, yyv3735 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3710 := &yyv3709 - yy3710.CodecEncodeSelf(e) + yy3736 := &yyv3735 + yy3736.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47259,83 +47558,83 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3711 := *v - yyh3711, yyl3711 := z.DecSliceHelperStart() - var yyc3711 bool - if yyl3711 == 0 { - if yyv3711 == nil { - yyv3711 = []ResourceQuota{} - yyc3711 = true - } else if len(yyv3711) != 0 { - yyv3711 = yyv3711[:0] - yyc3711 = true + yyv3737 := *v + yyh3737, yyl3737 := z.DecSliceHelperStart() + var yyc3737 bool + if yyl3737 == 0 { + if yyv3737 == nil { + yyv3737 = []ResourceQuota{} + yyc3737 = true + } else if len(yyv3737) != 0 { + yyv3737 = yyv3737[:0] + yyc3737 = true } - } else if yyl3711 > 0 { - var yyrr3711, yyrl3711 int - var yyrt3711 bool - if yyl3711 > cap(yyv3711) { + } else if yyl3737 > 0 { + var yyrr3737, yyrl3737 int + var yyrt3737 bool + if yyl3737 > cap(yyv3737) { - yyrg3711 := len(yyv3711) > 0 - yyv23711 := yyv3711 - yyrl3711, yyrt3711 = z.DecInferLen(yyl3711, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3711 { - if yyrl3711 <= cap(yyv3711) { - yyv3711 = yyv3711[:yyrl3711] + yyrg3737 := len(yyv3737) > 0 + yyv23737 := yyv3737 + yyrl3737, yyrt3737 = z.DecInferLen(yyl3737, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3737 { + if yyrl3737 <= cap(yyv3737) { + yyv3737 = yyv3737[:yyrl3737] } else { - yyv3711 = make([]ResourceQuota, yyrl3711) + yyv3737 = make([]ResourceQuota, yyrl3737) } } else { - yyv3711 = make([]ResourceQuota, yyrl3711) + yyv3737 = make([]ResourceQuota, yyrl3737) } - yyc3711 = true - yyrr3711 = len(yyv3711) - if yyrg3711 { - copy(yyv3711, yyv23711) + yyc3737 = true + yyrr3737 = len(yyv3737) + if yyrg3737 { + copy(yyv3737, yyv23737) } - } else if yyl3711 != len(yyv3711) { - yyv3711 = yyv3711[:yyl3711] - yyc3711 = true + } else if yyl3737 != len(yyv3737) { + yyv3737 = yyv3737[:yyl3737] + yyc3737 = true } - yyj3711 := 0 - for ; yyj3711 < yyrr3711; yyj3711++ { - yyh3711.ElemContainerState(yyj3711) + yyj3737 := 0 + for ; yyj3737 < yyrr3737; yyj3737++ { + yyh3737.ElemContainerState(yyj3737) if r.TryDecodeAsNil() { - yyv3711[yyj3711] = ResourceQuota{} + yyv3737[yyj3737] = ResourceQuota{} } else { - yyv3712 := &yyv3711[yyj3711] - yyv3712.CodecDecodeSelf(d) + yyv3738 := &yyv3737[yyj3737] + yyv3738.CodecDecodeSelf(d) } } - if yyrt3711 { - for ; yyj3711 < yyl3711; yyj3711++ { - yyv3711 = append(yyv3711, ResourceQuota{}) - yyh3711.ElemContainerState(yyj3711) + if yyrt3737 { + for ; yyj3737 < yyl3737; yyj3737++ { + yyv3737 = append(yyv3737, ResourceQuota{}) + yyh3737.ElemContainerState(yyj3737) if r.TryDecodeAsNil() { - yyv3711[yyj3711] = ResourceQuota{} + yyv3737[yyj3737] = ResourceQuota{} } else { - yyv3713 := &yyv3711[yyj3711] - yyv3713.CodecDecodeSelf(d) + yyv3739 := &yyv3737[yyj3737] + yyv3739.CodecDecodeSelf(d) } } } } else { - yyj3711 := 0 - for ; !r.CheckBreak(); yyj3711++ { + yyj3737 := 0 + for ; !r.CheckBreak(); yyj3737++ { - if yyj3711 >= len(yyv3711) { - yyv3711 = append(yyv3711, ResourceQuota{}) // var yyz3711 ResourceQuota - yyc3711 = true + if yyj3737 >= len(yyv3737) { + yyv3737 = append(yyv3737, ResourceQuota{}) // var yyz3737 ResourceQuota + yyc3737 = true } - yyh3711.ElemContainerState(yyj3711) - if yyj3711 < len(yyv3711) { + yyh3737.ElemContainerState(yyj3737) + if yyj3737 < len(yyv3737) { if r.TryDecodeAsNil() { - yyv3711[yyj3711] = ResourceQuota{} + yyv3737[yyj3737] = ResourceQuota{} } else { - yyv3714 := &yyv3711[yyj3711] - yyv3714.CodecDecodeSelf(d) + yyv3740 := &yyv3737[yyj3737] + yyv3740.CodecDecodeSelf(d) } } else { @@ -47343,17 +47642,17 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } } - if yyj3711 < len(yyv3711) { - yyv3711 = yyv3711[:yyj3711] - yyc3711 = true - } else if yyj3711 == 0 && yyv3711 == nil { - yyv3711 = []ResourceQuota{} - yyc3711 = true + if yyj3737 < len(yyv3737) { + yyv3737 = yyv3737[:yyj3737] + yyc3737 = true + } else if yyj3737 == 0 && yyv3737 == nil { + yyv3737 = []ResourceQuota{} + yyc3737 = true } } - yyh3711.End() - if yyc3711 { - *v = yyv3711 + yyh3737.End() + if yyc3737 { + *v = yyv3737 } } @@ -47362,23 +47661,23 @@ func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk3715, yyv3715 := range v { + for yyk3741, yyv3741 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym3716 := z.EncBinary() - _ = yym3716 + yym3742 := z.EncBinary() + _ = yym3742 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk3715)) + r.EncodeString(codecSelferC_UTF81234, string(yyk3741)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv3715 == nil { + if yyv3741 == nil { r.EncodeNil() } else { - yym3717 := z.EncBinary() - _ = yym3717 + yym3743 := z.EncBinary() + _ = yym3743 if false { } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv3715)) + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv3741)) } } } @@ -47390,80 +47689,80 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3718 := *v - yyl3718 := r.ReadMapStart() - yybh3718 := z.DecBasicHandle() - if yyv3718 == nil { - yyrl3718, _ := z.DecInferLen(yyl3718, yybh3718.MaxInitLen, 40) - yyv3718 = make(map[string][]uint8, yyrl3718) - *v = yyv3718 + yyv3744 := *v + yyl3744 := r.ReadMapStart() + yybh3744 := z.DecBasicHandle() + if yyv3744 == nil { + yyrl3744, _ := z.DecInferLen(yyl3744, yybh3744.MaxInitLen, 40) + yyv3744 = make(map[string][]uint8, yyrl3744) + *v = yyv3744 } - var yymk3718 string - var yymv3718 []uint8 - var yymg3718 bool - if yybh3718.MapValueReset { - yymg3718 = true + var yymk3744 string + var yymv3744 []uint8 + var yymg3744 bool + if yybh3744.MapValueReset { + yymg3744 = true } - if yyl3718 > 0 { - for yyj3718 := 0; yyj3718 < yyl3718; yyj3718++ { + if yyl3744 > 0 { + for yyj3744 := 0; yyj3744 < yyl3744; yyj3744++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3718 = "" + yymk3744 = "" } else { - yymk3718 = string(r.DecodeString()) + yymk3744 = string(r.DecodeString()) } - if yymg3718 { - yymv3718 = yyv3718[yymk3718] + if yymg3744 { + yymv3744 = yyv3744[yymk3744] } else { - yymv3718 = nil + yymv3744 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3718 = nil + yymv3744 = nil } else { - yyv3720 := &yymv3718 - yym3721 := z.DecBinary() - _ = yym3721 + yyv3746 := &yymv3744 + yym3747 := z.DecBinary() + _ = yym3747 if false { } else { - *yyv3720 = r.DecodeBytes(*(*[]byte)(yyv3720), false, false) + *yyv3746 = r.DecodeBytes(*(*[]byte)(yyv3746), false, false) } } - if yyv3718 != nil { - yyv3718[yymk3718] = yymv3718 + if yyv3744 != nil { + yyv3744[yymk3744] = yymv3744 } } - } else if yyl3718 < 0 { - for yyj3718 := 0; !r.CheckBreak(); yyj3718++ { + } else if yyl3744 < 0 { + for yyj3744 := 0; !r.CheckBreak(); yyj3744++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk3718 = "" + yymk3744 = "" } else { - yymk3718 = string(r.DecodeString()) + yymk3744 = string(r.DecodeString()) } - if yymg3718 { - yymv3718 = yyv3718[yymk3718] + if yymg3744 { + yymv3744 = yyv3744[yymk3744] } else { - yymv3718 = nil + yymv3744 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv3718 = nil + yymv3744 = nil } else { - yyv3723 := &yymv3718 - yym3724 := z.DecBinary() - _ = yym3724 + yyv3749 := &yymv3744 + yym3750 := z.DecBinary() + _ = yym3750 if false { } else { - *yyv3723 = r.DecodeBytes(*(*[]byte)(yyv3723), false, false) + *yyv3749 = r.DecodeBytes(*(*[]byte)(yyv3749), false, false) } } - if yyv3718 != nil { - yyv3718[yymk3718] = yymv3718 + if yyv3744 != nil { + yyv3744[yymk3744] = yymv3744 } } } // else len==0: TODO: Should we clear map entries? @@ -47475,10 +47774,10 @@ func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3725 := range v { + for _, yyv3751 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3726 := &yyv3725 - yy3726.CodecEncodeSelf(e) + yy3752 := &yyv3751 + yy3752.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47488,83 +47787,83 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3727 := *v - yyh3727, yyl3727 := z.DecSliceHelperStart() - var yyc3727 bool - if yyl3727 == 0 { - if yyv3727 == nil { - yyv3727 = []Secret{} - yyc3727 = true - } else if len(yyv3727) != 0 { - yyv3727 = yyv3727[:0] - yyc3727 = true + yyv3753 := *v + yyh3753, yyl3753 := z.DecSliceHelperStart() + var yyc3753 bool + if yyl3753 == 0 { + if yyv3753 == nil { + yyv3753 = []Secret{} + yyc3753 = true + } else if len(yyv3753) != 0 { + yyv3753 = yyv3753[:0] + yyc3753 = true } - } else if yyl3727 > 0 { - var yyrr3727, yyrl3727 int - var yyrt3727 bool - if yyl3727 > cap(yyv3727) { + } else if yyl3753 > 0 { + var yyrr3753, yyrl3753 int + var yyrt3753 bool + if yyl3753 > cap(yyv3753) { - yyrg3727 := len(yyv3727) > 0 - yyv23727 := yyv3727 - yyrl3727, yyrt3727 = z.DecInferLen(yyl3727, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3727 { - if yyrl3727 <= cap(yyv3727) { - yyv3727 = yyv3727[:yyrl3727] + yyrg3753 := len(yyv3753) > 0 + yyv23753 := yyv3753 + yyrl3753, yyrt3753 = z.DecInferLen(yyl3753, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3753 { + if yyrl3753 <= cap(yyv3753) { + yyv3753 = yyv3753[:yyrl3753] } else { - yyv3727 = make([]Secret, yyrl3727) + yyv3753 = make([]Secret, yyrl3753) } } else { - yyv3727 = make([]Secret, yyrl3727) + yyv3753 = make([]Secret, yyrl3753) } - yyc3727 = true - yyrr3727 = len(yyv3727) - if yyrg3727 { - copy(yyv3727, yyv23727) + yyc3753 = true + yyrr3753 = len(yyv3753) + if yyrg3753 { + copy(yyv3753, yyv23753) } - } else if yyl3727 != len(yyv3727) { - yyv3727 = yyv3727[:yyl3727] - yyc3727 = true + } else if yyl3753 != len(yyv3753) { + yyv3753 = yyv3753[:yyl3753] + yyc3753 = true } - yyj3727 := 0 - for ; yyj3727 < yyrr3727; yyj3727++ { - yyh3727.ElemContainerState(yyj3727) + yyj3753 := 0 + for ; yyj3753 < yyrr3753; yyj3753++ { + yyh3753.ElemContainerState(yyj3753) if r.TryDecodeAsNil() { - yyv3727[yyj3727] = Secret{} + yyv3753[yyj3753] = Secret{} } else { - yyv3728 := &yyv3727[yyj3727] - yyv3728.CodecDecodeSelf(d) + yyv3754 := &yyv3753[yyj3753] + yyv3754.CodecDecodeSelf(d) } } - if yyrt3727 { - for ; yyj3727 < yyl3727; yyj3727++ { - yyv3727 = append(yyv3727, Secret{}) - yyh3727.ElemContainerState(yyj3727) + if yyrt3753 { + for ; yyj3753 < yyl3753; yyj3753++ { + yyv3753 = append(yyv3753, Secret{}) + yyh3753.ElemContainerState(yyj3753) if r.TryDecodeAsNil() { - yyv3727[yyj3727] = Secret{} + yyv3753[yyj3753] = Secret{} } else { - yyv3729 := &yyv3727[yyj3727] - yyv3729.CodecDecodeSelf(d) + yyv3755 := &yyv3753[yyj3753] + yyv3755.CodecDecodeSelf(d) } } } } else { - yyj3727 := 0 - for ; !r.CheckBreak(); yyj3727++ { + yyj3753 := 0 + for ; !r.CheckBreak(); yyj3753++ { - if yyj3727 >= len(yyv3727) { - yyv3727 = append(yyv3727, Secret{}) // var yyz3727 Secret - yyc3727 = true + if yyj3753 >= len(yyv3753) { + yyv3753 = append(yyv3753, Secret{}) // var yyz3753 Secret + yyc3753 = true } - yyh3727.ElemContainerState(yyj3727) - if yyj3727 < len(yyv3727) { + yyh3753.ElemContainerState(yyj3753) + if yyj3753 < len(yyv3753) { if r.TryDecodeAsNil() { - yyv3727[yyj3727] = Secret{} + yyv3753[yyj3753] = Secret{} } else { - yyv3730 := &yyv3727[yyj3727] - yyv3730.CodecDecodeSelf(d) + yyv3756 := &yyv3753[yyj3753] + yyv3756.CodecDecodeSelf(d) } } else { @@ -47572,17 +47871,17 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } - if yyj3727 < len(yyv3727) { - yyv3727 = yyv3727[:yyj3727] - yyc3727 = true - } else if yyj3727 == 0 && yyv3727 == nil { - yyv3727 = []Secret{} - yyc3727 = true + if yyj3753 < len(yyv3753) { + yyv3753 = yyv3753[:yyj3753] + yyc3753 = true + } else if yyj3753 == 0 && yyv3753 == nil { + yyv3753 = []Secret{} + yyc3753 = true } } - yyh3727.End() - if yyc3727 { - *v = yyv3727 + yyh3753.End() + if yyc3753 { + *v = yyv3753 } } @@ -47591,10 +47890,10 @@ func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3731 := range v { + for _, yyv3757 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3732 := &yyv3731 - yy3732.CodecEncodeSelf(e) + yy3758 := &yyv3757 + yy3758.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47604,83 +47903,83 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3733 := *v - yyh3733, yyl3733 := z.DecSliceHelperStart() - var yyc3733 bool - if yyl3733 == 0 { - if yyv3733 == nil { - yyv3733 = []ComponentCondition{} - yyc3733 = true - } else if len(yyv3733) != 0 { - yyv3733 = yyv3733[:0] - yyc3733 = true + yyv3759 := *v + yyh3759, yyl3759 := z.DecSliceHelperStart() + var yyc3759 bool + if yyl3759 == 0 { + if yyv3759 == nil { + yyv3759 = []ComponentCondition{} + yyc3759 = true + } else if len(yyv3759) != 0 { + yyv3759 = yyv3759[:0] + yyc3759 = true } - } else if yyl3733 > 0 { - var yyrr3733, yyrl3733 int - var yyrt3733 bool - if yyl3733 > cap(yyv3733) { + } else if yyl3759 > 0 { + var yyrr3759, yyrl3759 int + var yyrt3759 bool + if yyl3759 > cap(yyv3759) { - yyrg3733 := len(yyv3733) > 0 - yyv23733 := yyv3733 - yyrl3733, yyrt3733 = z.DecInferLen(yyl3733, z.DecBasicHandle().MaxInitLen, 64) - if yyrt3733 { - if yyrl3733 <= cap(yyv3733) { - yyv3733 = yyv3733[:yyrl3733] + yyrg3759 := len(yyv3759) > 0 + yyv23759 := yyv3759 + yyrl3759, yyrt3759 = z.DecInferLen(yyl3759, z.DecBasicHandle().MaxInitLen, 64) + if yyrt3759 { + if yyrl3759 <= cap(yyv3759) { + yyv3759 = yyv3759[:yyrl3759] } else { - yyv3733 = make([]ComponentCondition, yyrl3733) + yyv3759 = make([]ComponentCondition, yyrl3759) } } else { - yyv3733 = make([]ComponentCondition, yyrl3733) + yyv3759 = make([]ComponentCondition, yyrl3759) } - yyc3733 = true - yyrr3733 = len(yyv3733) - if yyrg3733 { - copy(yyv3733, yyv23733) + yyc3759 = true + yyrr3759 = len(yyv3759) + if yyrg3759 { + copy(yyv3759, yyv23759) } - } else if yyl3733 != len(yyv3733) { - yyv3733 = yyv3733[:yyl3733] - yyc3733 = true + } else if yyl3759 != len(yyv3759) { + yyv3759 = yyv3759[:yyl3759] + yyc3759 = true } - yyj3733 := 0 - for ; yyj3733 < yyrr3733; yyj3733++ { - yyh3733.ElemContainerState(yyj3733) + yyj3759 := 0 + for ; yyj3759 < yyrr3759; yyj3759++ { + yyh3759.ElemContainerState(yyj3759) if r.TryDecodeAsNil() { - yyv3733[yyj3733] = ComponentCondition{} + yyv3759[yyj3759] = ComponentCondition{} } else { - yyv3734 := &yyv3733[yyj3733] - yyv3734.CodecDecodeSelf(d) + yyv3760 := &yyv3759[yyj3759] + yyv3760.CodecDecodeSelf(d) } } - if yyrt3733 { - for ; yyj3733 < yyl3733; yyj3733++ { - yyv3733 = append(yyv3733, ComponentCondition{}) - yyh3733.ElemContainerState(yyj3733) + if yyrt3759 { + for ; yyj3759 < yyl3759; yyj3759++ { + yyv3759 = append(yyv3759, ComponentCondition{}) + yyh3759.ElemContainerState(yyj3759) if r.TryDecodeAsNil() { - yyv3733[yyj3733] = ComponentCondition{} + yyv3759[yyj3759] = ComponentCondition{} } else { - yyv3735 := &yyv3733[yyj3733] - yyv3735.CodecDecodeSelf(d) + yyv3761 := &yyv3759[yyj3759] + yyv3761.CodecDecodeSelf(d) } } } } else { - yyj3733 := 0 - for ; !r.CheckBreak(); yyj3733++ { + yyj3759 := 0 + for ; !r.CheckBreak(); yyj3759++ { - if yyj3733 >= len(yyv3733) { - yyv3733 = append(yyv3733, ComponentCondition{}) // var yyz3733 ComponentCondition - yyc3733 = true + if yyj3759 >= len(yyv3759) { + yyv3759 = append(yyv3759, ComponentCondition{}) // var yyz3759 ComponentCondition + yyc3759 = true } - yyh3733.ElemContainerState(yyj3733) - if yyj3733 < len(yyv3733) { + yyh3759.ElemContainerState(yyj3759) + if yyj3759 < len(yyv3759) { if r.TryDecodeAsNil() { - yyv3733[yyj3733] = ComponentCondition{} + yyv3759[yyj3759] = ComponentCondition{} } else { - yyv3736 := &yyv3733[yyj3733] - yyv3736.CodecDecodeSelf(d) + yyv3762 := &yyv3759[yyj3759] + yyv3762.CodecDecodeSelf(d) } } else { @@ -47688,17 +47987,17 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } - if yyj3733 < len(yyv3733) { - yyv3733 = yyv3733[:yyj3733] - yyc3733 = true - } else if yyj3733 == 0 && yyv3733 == nil { - yyv3733 = []ComponentCondition{} - yyc3733 = true + if yyj3759 < len(yyv3759) { + yyv3759 = yyv3759[:yyj3759] + yyc3759 = true + } else if yyj3759 == 0 && yyv3759 == nil { + yyv3759 = []ComponentCondition{} + yyc3759 = true } } - yyh3733.End() - if yyc3733 { - *v = yyv3733 + yyh3759.End() + if yyc3759 { + *v = yyv3759 } } @@ -47707,10 +48006,10 @@ func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3737 := range v { + for _, yyv3763 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3738 := &yyv3737 - yy3738.CodecEncodeSelf(e) + yy3764 := &yyv3763 + yy3764.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47720,83 +48019,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3739 := *v - yyh3739, yyl3739 := z.DecSliceHelperStart() - var yyc3739 bool - if yyl3739 == 0 { - if yyv3739 == nil { - yyv3739 = []ComponentStatus{} - yyc3739 = true - } else if len(yyv3739) != 0 { - yyv3739 = yyv3739[:0] - yyc3739 = true + yyv3765 := *v + yyh3765, yyl3765 := z.DecSliceHelperStart() + var yyc3765 bool + if yyl3765 == 0 { + if yyv3765 == nil { + yyv3765 = []ComponentStatus{} + yyc3765 = true + } else if len(yyv3765) != 0 { + yyv3765 = yyv3765[:0] + yyc3765 = true } - } else if yyl3739 > 0 { - var yyrr3739, yyrl3739 int - var yyrt3739 bool - if yyl3739 > cap(yyv3739) { + } else if yyl3765 > 0 { + var yyrr3765, yyrl3765 int + var yyrt3765 bool + if yyl3765 > cap(yyv3765) { - yyrg3739 := len(yyv3739) > 0 - yyv23739 := yyv3739 - yyrl3739, yyrt3739 = z.DecInferLen(yyl3739, z.DecBasicHandle().MaxInitLen, 216) - if yyrt3739 { - if yyrl3739 <= cap(yyv3739) { - yyv3739 = yyv3739[:yyrl3739] + yyrg3765 := len(yyv3765) > 0 + yyv23765 := yyv3765 + yyrl3765, yyrt3765 = z.DecInferLen(yyl3765, z.DecBasicHandle().MaxInitLen, 216) + if yyrt3765 { + if yyrl3765 <= cap(yyv3765) { + yyv3765 = yyv3765[:yyrl3765] } else { - yyv3739 = make([]ComponentStatus, yyrl3739) + yyv3765 = make([]ComponentStatus, yyrl3765) } } else { - yyv3739 = make([]ComponentStatus, yyrl3739) + yyv3765 = make([]ComponentStatus, yyrl3765) } - yyc3739 = true - yyrr3739 = len(yyv3739) - if yyrg3739 { - copy(yyv3739, yyv23739) + yyc3765 = true + yyrr3765 = len(yyv3765) + if yyrg3765 { + copy(yyv3765, yyv23765) } - } else if yyl3739 != len(yyv3739) { - yyv3739 = yyv3739[:yyl3739] - yyc3739 = true + } else if yyl3765 != len(yyv3765) { + yyv3765 = yyv3765[:yyl3765] + yyc3765 = true } - yyj3739 := 0 - for ; yyj3739 < yyrr3739; yyj3739++ { - yyh3739.ElemContainerState(yyj3739) + yyj3765 := 0 + for ; yyj3765 < yyrr3765; yyj3765++ { + yyh3765.ElemContainerState(yyj3765) if r.TryDecodeAsNil() { - yyv3739[yyj3739] = ComponentStatus{} + yyv3765[yyj3765] = ComponentStatus{} } else { - yyv3740 := &yyv3739[yyj3739] - yyv3740.CodecDecodeSelf(d) + yyv3766 := &yyv3765[yyj3765] + yyv3766.CodecDecodeSelf(d) } } - if yyrt3739 { - for ; yyj3739 < yyl3739; yyj3739++ { - yyv3739 = append(yyv3739, ComponentStatus{}) - yyh3739.ElemContainerState(yyj3739) + if yyrt3765 { + for ; yyj3765 < yyl3765; yyj3765++ { + yyv3765 = append(yyv3765, ComponentStatus{}) + yyh3765.ElemContainerState(yyj3765) if r.TryDecodeAsNil() { - yyv3739[yyj3739] = ComponentStatus{} + yyv3765[yyj3765] = ComponentStatus{} } else { - yyv3741 := &yyv3739[yyj3739] - yyv3741.CodecDecodeSelf(d) + yyv3767 := &yyv3765[yyj3765] + yyv3767.CodecDecodeSelf(d) } } } } else { - yyj3739 := 0 - for ; !r.CheckBreak(); yyj3739++ { + yyj3765 := 0 + for ; !r.CheckBreak(); yyj3765++ { - if yyj3739 >= len(yyv3739) { - yyv3739 = append(yyv3739, ComponentStatus{}) // var yyz3739 ComponentStatus - yyc3739 = true + if yyj3765 >= len(yyv3765) { + yyv3765 = append(yyv3765, ComponentStatus{}) // var yyz3765 ComponentStatus + yyc3765 = true } - yyh3739.ElemContainerState(yyj3739) - if yyj3739 < len(yyv3739) { + yyh3765.ElemContainerState(yyj3765) + if yyj3765 < len(yyv3765) { if r.TryDecodeAsNil() { - yyv3739[yyj3739] = ComponentStatus{} + yyv3765[yyj3765] = ComponentStatus{} } else { - yyv3742 := &yyv3739[yyj3739] - yyv3742.CodecDecodeSelf(d) + yyv3768 := &yyv3765[yyj3765] + yyv3768.CodecDecodeSelf(d) } } else { @@ -47804,17 +48103,17 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj3739 < len(yyv3739) { - yyv3739 = yyv3739[:yyj3739] - yyc3739 = true - } else if yyj3739 == 0 && yyv3739 == nil { - yyv3739 = []ComponentStatus{} - yyc3739 = true + if yyj3765 < len(yyv3765) { + yyv3765 = yyv3765[:yyj3765] + yyc3765 = true + } else if yyj3765 == 0 && yyv3765 == nil { + yyv3765 = []ComponentStatus{} + yyc3765 = true } } - yyh3739.End() - if yyc3739 { - *v = yyv3739 + yyh3765.End() + if yyc3765 { + *v = yyv3765 } } @@ -47823,10 +48122,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv3743 := range v { + for _, yyv3769 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3744 := &yyv3743 - yy3744.CodecEncodeSelf(e) + yy3770 := &yyv3769 + yy3770.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47836,83 +48135,83 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv3745 := *v - yyh3745, yyl3745 := z.DecSliceHelperStart() - var yyc3745 bool - if yyl3745 == 0 { - if yyv3745 == nil { - yyv3745 = []DownwardAPIVolumeFile{} - yyc3745 = true - } else if len(yyv3745) != 0 { - yyv3745 = yyv3745[:0] - yyc3745 = true + yyv3771 := *v + yyh3771, yyl3771 := z.DecSliceHelperStart() + var yyc3771 bool + if yyl3771 == 0 { + if yyv3771 == nil { + yyv3771 = []DownwardAPIVolumeFile{} + yyc3771 = true + } else if len(yyv3771) != 0 { + yyv3771 = yyv3771[:0] + yyc3771 = true } - } else if yyl3745 > 0 { - var yyrr3745, yyrl3745 int - var yyrt3745 bool - if yyl3745 > cap(yyv3745) { + } else if yyl3771 > 0 { + var yyrr3771, yyrl3771 int + var yyrt3771 bool + if yyl3771 > cap(yyv3771) { - yyrg3745 := len(yyv3745) > 0 - yyv23745 := yyv3745 - yyrl3745, yyrt3745 = z.DecInferLen(yyl3745, z.DecBasicHandle().MaxInitLen, 48) - if yyrt3745 { - if yyrl3745 <= cap(yyv3745) { - yyv3745 = yyv3745[:yyrl3745] + yyrg3771 := len(yyv3771) > 0 + yyv23771 := yyv3771 + yyrl3771, yyrt3771 = z.DecInferLen(yyl3771, z.DecBasicHandle().MaxInitLen, 48) + if yyrt3771 { + if yyrl3771 <= cap(yyv3771) { + yyv3771 = yyv3771[:yyrl3771] } else { - yyv3745 = make([]DownwardAPIVolumeFile, yyrl3745) + yyv3771 = make([]DownwardAPIVolumeFile, yyrl3771) } } else { - yyv3745 = make([]DownwardAPIVolumeFile, yyrl3745) + yyv3771 = make([]DownwardAPIVolumeFile, yyrl3771) } - yyc3745 = true - yyrr3745 = len(yyv3745) - if yyrg3745 { - copy(yyv3745, yyv23745) + yyc3771 = true + yyrr3771 = len(yyv3771) + if yyrg3771 { + copy(yyv3771, yyv23771) } - } else if yyl3745 != len(yyv3745) { - yyv3745 = yyv3745[:yyl3745] - yyc3745 = true + } else if yyl3771 != len(yyv3771) { + yyv3771 = yyv3771[:yyl3771] + yyc3771 = true } - yyj3745 := 0 - for ; yyj3745 < yyrr3745; yyj3745++ { - yyh3745.ElemContainerState(yyj3745) + yyj3771 := 0 + for ; yyj3771 < yyrr3771; yyj3771++ { + yyh3771.ElemContainerState(yyj3771) if r.TryDecodeAsNil() { - yyv3745[yyj3745] = DownwardAPIVolumeFile{} + yyv3771[yyj3771] = DownwardAPIVolumeFile{} } else { - yyv3746 := &yyv3745[yyj3745] - yyv3746.CodecDecodeSelf(d) + yyv3772 := &yyv3771[yyj3771] + yyv3772.CodecDecodeSelf(d) } } - if yyrt3745 { - for ; yyj3745 < yyl3745; yyj3745++ { - yyv3745 = append(yyv3745, DownwardAPIVolumeFile{}) - yyh3745.ElemContainerState(yyj3745) + if yyrt3771 { + for ; yyj3771 < yyl3771; yyj3771++ { + yyv3771 = append(yyv3771, DownwardAPIVolumeFile{}) + yyh3771.ElemContainerState(yyj3771) if r.TryDecodeAsNil() { - yyv3745[yyj3745] = DownwardAPIVolumeFile{} + yyv3771[yyj3771] = DownwardAPIVolumeFile{} } else { - yyv3747 := &yyv3745[yyj3745] - yyv3747.CodecDecodeSelf(d) + yyv3773 := &yyv3771[yyj3771] + yyv3773.CodecDecodeSelf(d) } } } } else { - yyj3745 := 0 - for ; !r.CheckBreak(); yyj3745++ { + yyj3771 := 0 + for ; !r.CheckBreak(); yyj3771++ { - if yyj3745 >= len(yyv3745) { - yyv3745 = append(yyv3745, DownwardAPIVolumeFile{}) // var yyz3745 DownwardAPIVolumeFile - yyc3745 = true + if yyj3771 >= len(yyv3771) { + yyv3771 = append(yyv3771, DownwardAPIVolumeFile{}) // var yyz3771 DownwardAPIVolumeFile + yyc3771 = true } - yyh3745.ElemContainerState(yyj3745) - if yyj3745 < len(yyv3745) { + yyh3771.ElemContainerState(yyj3771) + if yyj3771 < len(yyv3771) { if r.TryDecodeAsNil() { - yyv3745[yyj3745] = DownwardAPIVolumeFile{} + yyv3771[yyj3771] = DownwardAPIVolumeFile{} } else { - yyv3748 := &yyv3745[yyj3745] - yyv3748.CodecDecodeSelf(d) + yyv3774 := &yyv3771[yyj3771] + yyv3774.CodecDecodeSelf(d) } } else { @@ -47920,16 +48219,16 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj3745 < len(yyv3745) { - yyv3745 = yyv3745[:yyj3745] - yyc3745 = true - } else if yyj3745 == 0 && yyv3745 == nil { - yyv3745 = []DownwardAPIVolumeFile{} - yyc3745 = true + if yyj3771 < len(yyv3771) { + yyv3771 = yyv3771[:yyj3771] + yyc3771 = true + } else if yyj3771 == 0 && yyv3771 == nil { + yyv3771 = []DownwardAPIVolumeFile{} + yyc3771 = true } } - yyh3745.End() - if yyc3745 { - *v = yyv3745 + yyh3771.End() + if yyc3771 { + *v = yyv3771 } } diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go index d09305e8806..5403bd249a9 100644 --- a/pkg/api/v1/types.go +++ b/pkg/api/v1/types.go @@ -2073,6 +2073,16 @@ type DeleteOptions struct { GracePeriodSeconds *int64 `json:"gracePeriodSeconds"` } +// ExportOptions is the query options to the standard REST get call. +type ExportOptions struct { + unversioned.TypeMeta `json:",inline"` + + // Should this value be exported. Export strips fields that a user can not specify. + Export bool `json:"export"` + // Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + Exact bool `json:"exact"` +} + // ListOptions is the query options to a standard REST list call. type ListOptions struct { unversioned.TypeMeta `json:",inline"` diff --git a/pkg/api/v1/types_swagger_doc_generated.go b/pkg/api/v1/types_swagger_doc_generated.go index acc800faedd..58d6efbb1bd 100644 --- a/pkg/api/v1/types_swagger_doc_generated.go +++ b/pkg/api/v1/types_swagger_doc_generated.go @@ -379,6 +379,16 @@ func (ExecAction) SwaggerDoc() map[string]string { return map_ExecAction } +var map_ExportOptions = map[string]string{ + "": "ExportOptions is the query options to the standard REST get call.", + "export": "Should this value be exported. Export strips fields that a user can not specify.", + "exact": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", +} + +func (ExportOptions) SwaggerDoc() map[string]string { + return map_ExportOptions +} + var map_FCVolumeSource = map[string]string{ "": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.", "targetWWNs": "Required: FC target world wide names (WWNs)", diff --git a/pkg/apis/extensions/register.go b/pkg/apis/extensions/register.go index 52b4755fa99..abd175d6169 100644 --- a/pkg/apis/extensions/register.go +++ b/pkg/apis/extensions/register.go @@ -67,6 +67,7 @@ func addKnownTypes() { &api.ListOptions{}, &ConfigMap{}, &ConfigMapList{}, + &api.ExportOptions{}, ) } diff --git a/pkg/apis/extensions/v1beta1/types.generated.go b/pkg/apis/extensions/v1beta1/types.generated.go index a1c529e6595..296435a0e00 100644 --- a/pkg/apis/extensions/v1beta1/types.generated.go +++ b/pkg/apis/extensions/v1beta1/types.generated.go @@ -12988,7 +12988,7 @@ func (x *ClusterAutoscalerList) codecDecodeSelfFromArray(l int, d *codec1978.Dec z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -13002,21 +13002,16 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep1083 := !z.EncBinary() yy2arr1083 := z.EncBasicHandle().StructToArray - var yyq1083 [7]bool + var yyq1083 [4]bool _, _, _ = yysep1083, yyq1083, yy2arr1083 const yyr1083 bool = false yyq1083[0] = x.Kind != "" yyq1083[1] = x.APIVersion != "" - yyq1083[2] = x.LabelSelector != "" - yyq1083[3] = x.FieldSelector != "" - yyq1083[4] = x.Watch != false - yyq1083[5] = x.ResourceVersion != "" - yyq1083[6] = x.TimeoutSeconds != nil var yynn1083 int if yyr1083 || yy2arr1083 { - r.EncodeArrayStart(7) + r.EncodeArrayStart(4) } else { - yynn1083 = 0 + yynn1083 = 2 for _, b := range yyq1083 { if b { yynn1083++ @@ -13077,9 +13072,313 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr1083 || yy2arr1083 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1083[2] { - yym1091 := z.EncBinary() - _ = yym1091 + yym1091 := z.EncBinary() + _ = yym1091 + if false { + } else { + r.EncodeBool(bool(x.Export)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("export")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1092 := z.EncBinary() + _ = yym1092 + if false { + } else { + r.EncodeBool(bool(x.Export)) + } + } + if yyr1083 || yy2arr1083 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1094 := z.EncBinary() + _ = yym1094 + if false { + } else { + r.EncodeBool(bool(x.Exact)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("exact")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1095 := z.EncBinary() + _ = yym1095 + if false { + } else { + r.EncodeBool(bool(x.Exact)) + } + } + if yyr1083 || yy2arr1083 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1096 := z.DecBinary() + _ = yym1096 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1097 := r.ContainerType() + if yyct1097 == codecSelferValueTypeMap1234 { + yyl1097 := r.ReadMapStart() + if yyl1097 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1097, d) + } + } else if yyct1097 == codecSelferValueTypeArray1234 { + yyl1097 := r.ReadArrayStart() + if yyl1097 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1097, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1098Slc = r.DecodeBytes(yys1098Slc, true, true) + yys1098 := string(yys1098Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1098 { + 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 "export": + if r.TryDecodeAsNil() { + x.Export = false + } else { + x.Export = bool(r.DecodeBool()) + } + case "exact": + if r.TryDecodeAsNil() { + x.Exact = false + } else { + x.Exact = bool(r.DecodeBool()) + } + default: + z.DecStructFieldNotFound(-1, yys1098) + } // end switch yys1098 + } // end for yyj1098 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1103 int + var yyb1103 bool + var yyhl1103 bool = l >= 0 + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l + } else { + yyb1103 = r.CheckBreak() + } + if yyb1103 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l + } else { + yyb1103 = r.CheckBreak() + } + if yyb1103 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l + } else { + yyb1103 = r.CheckBreak() + } + if yyb1103 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Export = false + } else { + x.Export = bool(r.DecodeBool()) + } + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l + } else { + yyb1103 = r.CheckBreak() + } + if yyb1103 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Exact = false + } else { + x.Exact = bool(r.DecodeBool()) + } + for { + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l + } else { + yyb1103 = r.CheckBreak() + } + if yyb1103 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1103-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1108 := z.EncBinary() + _ = yym1108 + 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 { + r.EncodeArrayStart(7) + } else { + yynn1109 = 0 + for _, b := range yyq1109 { + if b { + yynn1109++ + } + } + r.EncodeMapStart(yynn1109) + yynn1109 = 0 + } + if yyr1109 || yy2arr1109 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1109[0] { + yym1111 := z.EncBinary() + _ = yym1111 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1109[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1112 := z.EncBinary() + _ = yym1112 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1109 || yy2arr1109 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1109[1] { + yym1114 := z.EncBinary() + _ = yym1114 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1109[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1115 := z.EncBinary() + _ = yym1115 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1109 || yy2arr1109 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1109[2] { + yym1117 := z.EncBinary() + _ = yym1117 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) @@ -13088,23 +13387,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1083[2] { + if yyq1109[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1092 := z.EncBinary() - _ = yym1092 + yym1118 := z.EncBinary() + _ = yym1118 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) } } } - if yyr1083 || yy2arr1083 { + if yyr1109 || yy2arr1109 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1083[3] { - yym1094 := z.EncBinary() - _ = yym1094 + if yyq1109[3] { + yym1120 := z.EncBinary() + _ = yym1120 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) @@ -13113,23 +13412,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1083[3] { + if yyq1109[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1095 := z.EncBinary() - _ = yym1095 + yym1121 := z.EncBinary() + _ = yym1121 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) } } } - if yyr1083 || yy2arr1083 { + if yyr1109 || yy2arr1109 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1083[4] { - yym1097 := z.EncBinary() - _ = yym1097 + if yyq1109[4] { + yym1123 := z.EncBinary() + _ = yym1123 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -13138,23 +13437,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1083[4] { + if yyq1109[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1098 := z.EncBinary() - _ = yym1098 + yym1124 := z.EncBinary() + _ = yym1124 if false { } else { r.EncodeBool(bool(x.Watch)) } } } - if yyr1083 || yy2arr1083 { + if yyr1109 || yy2arr1109 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1083[5] { - yym1100 := z.EncBinary() - _ = yym1100 + if yyq1109[5] { + yym1126 := z.EncBinary() + _ = yym1126 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -13163,54 +13462,54 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1083[5] { + if yyq1109[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1101 := z.EncBinary() - _ = yym1101 + yym1127 := z.EncBinary() + _ = yym1127 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr1083 || yy2arr1083 { + if yyr1109 || yy2arr1109 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1083[6] { + if yyq1109[6] { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy1103 := *x.TimeoutSeconds - yym1104 := z.EncBinary() - _ = yym1104 + yy1129 := *x.TimeoutSeconds + yym1130 := z.EncBinary() + _ = yym1130 if false { } else { - r.EncodeInt(int64(yy1103)) + r.EncodeInt(int64(yy1129)) } } } else { r.EncodeNil() } } else { - if yyq1083[6] { + if yyq1109[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy1105 := *x.TimeoutSeconds - yym1106 := z.EncBinary() - _ = yym1106 + yy1131 := *x.TimeoutSeconds + yym1132 := z.EncBinary() + _ = yym1132 if false { } else { - r.EncodeInt(int64(yy1105)) + r.EncodeInt(int64(yy1131)) } } } } - if yyr1083 || yy2arr1083 { + if yyr1109 || yy2arr1109 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13223,25 +13522,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1107 := z.DecBinary() - _ = yym1107 + yym1133 := z.DecBinary() + _ = yym1133 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1108 := r.ContainerType() - if yyct1108 == codecSelferValueTypeMap1234 { - yyl1108 := r.ReadMapStart() - if yyl1108 == 0 { + yyct1134 := r.ContainerType() + if yyct1134 == codecSelferValueTypeMap1234 { + yyl1134 := r.ReadMapStart() + if yyl1134 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1108, d) + x.codecDecodeSelfFromMap(yyl1134, d) } - } else if yyct1108 == codecSelferValueTypeArray1234 { - yyl1108 := r.ReadArrayStart() - if yyl1108 == 0 { + } else if yyct1134 == codecSelferValueTypeArray1234 { + yyl1134 := r.ReadArrayStart() + if yyl1134 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1108, d) + x.codecDecodeSelfFromArray(yyl1134, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13253,12 +13552,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { 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 yys1135Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1135Slc + var yyhl1135 bool = l >= 0 + for yyj1135 := 0; ; yyj1135++ { + if yyhl1135 { + if yyj1135 >= l { break } } else { @@ -13267,10 +13566,10 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1109Slc = r.DecodeBytes(yys1109Slc, true, true) - yys1109 := string(yys1109Slc) + yys1135Slc = r.DecodeBytes(yys1135Slc, true, true) + yys1135 := string(yys1135Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1109 { + switch yys1135 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -13316,17 +13615,17 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym1117 := z.DecBinary() - _ = yym1117 + yym1143 := z.DecBinary() + _ = yym1143 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys1109) - } // end switch yys1109 - } // end for yyj1109 + z.DecStructFieldNotFound(-1, yys1135) + } // end switch yys1135 + } // end for yyj1135 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13334,16 +13633,16 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1118 int - var yyb1118 bool - var yyhl1118 bool = l >= 0 - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + var yyj1144 int + var yyb1144 bool + var yyhl1144 bool = l >= 0 + yyj1144++ + if yyhl1144 { + yyb1144 = yyj1144 > l } else { - yyb1118 = r.CheckBreak() + yyb1144 = r.CheckBreak() } - if yyb1118 { + if yyb1144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13353,13 +13652,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1144++ + if yyhl1144 { + yyb1144 = yyj1144 > l } else { - yyb1118 = r.CheckBreak() + yyb1144 = r.CheckBreak() } - if yyb1118 { + if yyb1144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13369,13 +13668,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1144++ + if yyhl1144 { + yyb1144 = yyj1144 > l } else { - yyb1118 = r.CheckBreak() + yyb1144 = r.CheckBreak() } - if yyb1118 { + if yyb1144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13385,13 +13684,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LabelSelector = string(r.DecodeString()) } - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1144++ + if yyhl1144 { + yyb1144 = yyj1144 > l } else { - yyb1118 = r.CheckBreak() + yyb1144 = r.CheckBreak() } - if yyb1118 { + if yyb1144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13401,13 +13700,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FieldSelector = string(r.DecodeString()) } - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1144++ + if yyhl1144 { + yyb1144 = yyj1144 > l } else { - yyb1118 = r.CheckBreak() + yyb1144 = r.CheckBreak() } - if yyb1118 { + if yyb1144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13417,13 +13716,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Watch = bool(r.DecodeBool()) } - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1144++ + if yyhl1144 { + yyb1144 = yyj1144 > l } else { - yyb1118 = r.CheckBreak() + yyb1144 = r.CheckBreak() } - if yyb1118 { + if yyb1144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13433,13 +13732,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1144++ + if yyhl1144 { + yyb1144 = yyj1144 > l } else { - yyb1118 = r.CheckBreak() + yyb1144 = r.CheckBreak() } - if yyb1118 { + if yyb1144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13452,25 +13751,25 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym1126 := z.DecBinary() - _ = yym1126 + yym1152 := z.DecBinary() + _ = yym1152 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } for { - yyj1118++ - if yyhl1118 { - yyb1118 = yyj1118 > l + yyj1144++ + if yyhl1144 { + yyb1144 = yyj1144 > l } else { - yyb1118 = r.CheckBreak() + yyb1144 = r.CheckBreak() } - if yyb1118 { + if yyb1144 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1118-1, "") + z.DecStructFieldNotFound(yyj1144-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13482,39 +13781,39 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1127 := z.EncBinary() - _ = yym1127 + yym1153 := z.EncBinary() + _ = yym1153 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1128 := !z.EncBinary() - yy2arr1128 := z.EncBasicHandle().StructToArray - var yyq1128 [2]bool - _, _, _ = yysep1128, yyq1128, yy2arr1128 - const yyr1128 bool = false - yyq1128[0] = len(x.MatchLabels) != 0 - yyq1128[1] = len(x.MatchExpressions) != 0 - var yynn1128 int - if yyr1128 || yy2arr1128 { + 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 { r.EncodeArrayStart(2) } else { - yynn1128 = 0 - for _, b := range yyq1128 { + yynn1154 = 0 + for _, b := range yyq1154 { if b { - yynn1128++ + yynn1154++ } } - r.EncodeMapStart(yynn1128) - yynn1128 = 0 + r.EncodeMapStart(yynn1154) + yynn1154 = 0 } - if yyr1128 || yy2arr1128 { + if yyr1154 || yy2arr1154 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1128[0] { + if yyq1154[0] { if x.MatchLabels == nil { r.EncodeNil() } else { - yym1130 := z.EncBinary() - _ = yym1130 + yym1156 := z.EncBinary() + _ = yym1156 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -13524,15 +13823,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1128[0] { + if yyq1154[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchLabels == nil { r.EncodeNil() } else { - yym1131 := z.EncBinary() - _ = yym1131 + yym1157 := z.EncBinary() + _ = yym1157 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -13540,14 +13839,14 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1128 || yy2arr1128 { + if yyr1154 || yy2arr1154 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1128[1] { + if yyq1154[1] { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1133 := z.EncBinary() - _ = yym1133 + yym1159 := z.EncBinary() + _ = yym1159 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -13557,15 +13856,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1128[1] { + if yyq1154[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1134 := z.EncBinary() - _ = yym1134 + yym1160 := z.EncBinary() + _ = yym1160 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -13573,7 +13872,7 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1128 || yy2arr1128 { + if yyr1154 || yy2arr1154 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13586,25 +13885,25 @@ func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1135 := z.DecBinary() - _ = yym1135 + yym1161 := z.DecBinary() + _ = yym1161 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1136 := r.ContainerType() - if yyct1136 == codecSelferValueTypeMap1234 { - yyl1136 := r.ReadMapStart() - if yyl1136 == 0 { + yyct1162 := r.ContainerType() + if yyct1162 == codecSelferValueTypeMap1234 { + yyl1162 := r.ReadMapStart() + if yyl1162 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1136, d) + x.codecDecodeSelfFromMap(yyl1162, d) } - } else if yyct1136 == codecSelferValueTypeArray1234 { - yyl1136 := r.ReadArrayStart() - if yyl1136 == 0 { + } else if yyct1162 == codecSelferValueTypeArray1234 { + yyl1162 := r.ReadArrayStart() + if yyl1162 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1136, d) + x.codecDecodeSelfFromArray(yyl1162, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13616,12 +13915,12 @@ func (x *LabelSelector) 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 yys1163Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1163Slc + var yyhl1163 bool = l >= 0 + for yyj1163 := 0; ; yyj1163++ { + if yyhl1163 { + if yyj1163 >= l { break } } else { @@ -13630,38 +13929,38 @@ func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1137Slc = r.DecodeBytes(yys1137Slc, true, true) - yys1137 := string(yys1137Slc) + yys1163Slc = r.DecodeBytes(yys1163Slc, true, true) + yys1163 := string(yys1163Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1137 { + switch yys1163 { case "matchLabels": if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv1138 := &x.MatchLabels - yym1139 := z.DecBinary() - _ = yym1139 + yyv1164 := &x.MatchLabels + yym1165 := z.DecBinary() + _ = yym1165 if false { } else { - z.F.DecMapStringStringX(yyv1138, false, d) + z.F.DecMapStringStringX(yyv1164, false, d) } } case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1140 := &x.MatchExpressions - yym1141 := z.DecBinary() - _ = yym1141 + yyv1166 := &x.MatchExpressions + yym1167 := z.DecBinary() + _ = yym1167 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1140), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1166), d) } } default: - z.DecStructFieldNotFound(-1, yys1137) - } // end switch yys1137 - } // end for yyj1137 + z.DecStructFieldNotFound(-1, yys1163) + } // end switch yys1163 + } // end for yyj1163 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13669,16 +13968,16 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1142 int - var yyb1142 bool - var yyhl1142 bool = l >= 0 - yyj1142++ - if yyhl1142 { - yyb1142 = yyj1142 > l + var yyj1168 int + var yyb1168 bool + var yyhl1168 bool = l >= 0 + yyj1168++ + if yyhl1168 { + yyb1168 = yyj1168 > l } else { - yyb1142 = r.CheckBreak() + yyb1168 = r.CheckBreak() } - if yyb1142 { + if yyb1168 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13686,21 +13985,21 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv1143 := &x.MatchLabels - yym1144 := z.DecBinary() - _ = yym1144 + yyv1169 := &x.MatchLabels + yym1170 := z.DecBinary() + _ = yym1170 if false { } else { - z.F.DecMapStringStringX(yyv1143, false, d) + z.F.DecMapStringStringX(yyv1169, false, d) } } - yyj1142++ - if yyhl1142 { - yyb1142 = yyj1142 > l + yyj1168++ + if yyhl1168 { + yyb1168 = yyj1168 > l } else { - yyb1142 = r.CheckBreak() + yyb1168 = r.CheckBreak() } - if yyb1142 { + if yyb1168 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13708,26 +14007,26 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1145 := &x.MatchExpressions - yym1146 := z.DecBinary() - _ = yym1146 + yyv1171 := &x.MatchExpressions + yym1172 := z.DecBinary() + _ = yym1172 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1145), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1171), d) } } for { - yyj1142++ - if yyhl1142 { - yyb1142 = yyj1142 > l + yyj1168++ + if yyhl1168 { + yyb1168 = yyj1168 > l } else { - yyb1142 = r.CheckBreak() + yyb1168 = r.CheckBreak() } - if yyb1142 { + if yyb1168 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1142-1, "") + z.DecStructFieldNotFound(yyj1168-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13739,34 +14038,34 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1147 := z.EncBinary() - _ = yym1147 + yym1173 := z.EncBinary() + _ = yym1173 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1148 := !z.EncBinary() - yy2arr1148 := z.EncBasicHandle().StructToArray - var yyq1148 [3]bool - _, _, _ = yysep1148, yyq1148, yy2arr1148 - const yyr1148 bool = false - yyq1148[2] = len(x.Values) != 0 - var yynn1148 int - if yyr1148 || yy2arr1148 { + 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 { r.EncodeArrayStart(3) } else { - yynn1148 = 2 - for _, b := range yyq1148 { + yynn1174 = 2 + for _, b := range yyq1174 { if b { - yynn1148++ + yynn1174++ } } - r.EncodeMapStart(yynn1148) - yynn1148 = 0 + r.EncodeMapStart(yynn1174) + yynn1174 = 0 } - if yyr1148 || yy2arr1148 { + if yyr1174 || yy2arr1174 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1150 := z.EncBinary() - _ = yym1150 + yym1176 := z.EncBinary() + _ = yym1176 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -13775,14 +14074,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1151 := z.EncBinary() - _ = yym1151 + yym1177 := z.EncBinary() + _ = yym1177 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1148 || yy2arr1148 { + if yyr1174 || yy2arr1174 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Operator.CodecEncodeSelf(e) } else { @@ -13791,14 +14090,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } - if yyr1148 || yy2arr1148 { + if yyr1174 || yy2arr1174 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1148[2] { + if yyq1174[2] { if x.Values == nil { r.EncodeNil() } else { - yym1154 := z.EncBinary() - _ = yym1154 + yym1180 := z.EncBinary() + _ = yym1180 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -13808,15 +14107,15 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1148[2] { + if yyq1174[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Values == nil { r.EncodeNil() } else { - yym1155 := z.EncBinary() - _ = yym1155 + yym1181 := z.EncBinary() + _ = yym1181 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -13824,7 +14123,7 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1148 || yy2arr1148 { + if yyr1174 || yy2arr1174 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13837,25 +14136,25 @@ func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1156 := z.DecBinary() - _ = yym1156 + yym1182 := z.DecBinary() + _ = yym1182 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1157 := r.ContainerType() - if yyct1157 == codecSelferValueTypeMap1234 { - yyl1157 := r.ReadMapStart() - if yyl1157 == 0 { + yyct1183 := r.ContainerType() + if yyct1183 == codecSelferValueTypeMap1234 { + yyl1183 := r.ReadMapStart() + if yyl1183 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1157, d) + x.codecDecodeSelfFromMap(yyl1183, d) } - } else if yyct1157 == codecSelferValueTypeArray1234 { - yyl1157 := r.ReadArrayStart() - if yyl1157 == 0 { + } else if yyct1183 == codecSelferValueTypeArray1234 { + yyl1183 := r.ReadArrayStart() + if yyl1183 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1157, d) + x.codecDecodeSelfFromArray(yyl1183, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13867,12 +14166,12 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1158Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1158Slc - var yyhl1158 bool = l >= 0 - for yyj1158 := 0; ; yyj1158++ { - if yyhl1158 { - if yyj1158 >= l { + var yys1184Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1184Slc + var yyhl1184 bool = l >= 0 + for yyj1184 := 0; ; yyj1184++ { + if yyhl1184 { + if yyj1184 >= l { break } } else { @@ -13881,10 +14180,10 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1158Slc = r.DecodeBytes(yys1158Slc, true, true) - yys1158 := string(yys1158Slc) + yys1184Slc = r.DecodeBytes(yys1184Slc, true, true) + yys1184 := string(yys1184Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1158 { + switch yys1184 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -13901,18 +14200,18 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1161 := &x.Values - yym1162 := z.DecBinary() - _ = yym1162 + yyv1187 := &x.Values + yym1188 := z.DecBinary() + _ = yym1188 if false { } else { - z.F.DecSliceStringX(yyv1161, false, d) + z.F.DecSliceStringX(yyv1187, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1158) - } // end switch yys1158 - } // end for yyj1158 + z.DecStructFieldNotFound(-1, yys1184) + } // end switch yys1184 + } // end for yyj1184 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13920,16 +14219,16 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1163 int - var yyb1163 bool - var yyhl1163 bool = l >= 0 - yyj1163++ - if yyhl1163 { - yyb1163 = yyj1163 > l + var yyj1189 int + var yyb1189 bool + var yyhl1189 bool = l >= 0 + yyj1189++ + if yyhl1189 { + yyb1189 = yyj1189 > l } else { - yyb1163 = r.CheckBreak() + yyb1189 = r.CheckBreak() } - if yyb1163 { + if yyb1189 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13939,13 +14238,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Key = string(r.DecodeString()) } - yyj1163++ - if yyhl1163 { - yyb1163 = yyj1163 > l + yyj1189++ + if yyhl1189 { + yyb1189 = yyj1189 > l } else { - yyb1163 = r.CheckBreak() + yyb1189 = r.CheckBreak() } - if yyb1163 { + if yyb1189 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13955,13 +14254,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Operator = LabelSelectorOperator(r.DecodeString()) } - yyj1163++ - if yyhl1163 { - yyb1163 = yyj1163 > l + yyj1189++ + if yyhl1189 { + yyb1189 = yyj1189 > l } else { - yyb1163 = r.CheckBreak() + yyb1189 = r.CheckBreak() } - if yyb1163 { + if yyb1189 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13969,26 +14268,26 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1166 := &x.Values - yym1167 := z.DecBinary() - _ = yym1167 + yyv1192 := &x.Values + yym1193 := z.DecBinary() + _ = yym1193 if false { } else { - z.F.DecSliceStringX(yyv1166, false, d) + z.F.DecSliceStringX(yyv1192, false, d) } } for { - yyj1163++ - if yyhl1163 { - yyb1163 = yyj1163 > l + yyj1189++ + if yyhl1189 { + yyb1189 = yyj1189 > l } else { - yyb1163 = r.CheckBreak() + yyb1189 = r.CheckBreak() } - if yyb1163 { + if yyb1189 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1163-1, "") + z.DecStructFieldNotFound(yyj1189-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13997,8 +14296,8 @@ func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1168 := z.EncBinary() - _ = yym1168 + yym1194 := z.EncBinary() + _ = yym1194 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -14010,8 +14309,8 @@ func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1169 := z.DecBinary() - _ = yym1169 + yym1195 := z.DecBinary() + _ = yym1195 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -14026,38 +14325,38 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1170 := z.EncBinary() - _ = yym1170 + yym1196 := z.EncBinary() + _ = yym1196 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1171 := !z.EncBinary() - yy2arr1171 := z.EncBasicHandle().StructToArray - var yyq1171 [4]bool - _, _, _ = yysep1171, yyq1171, yy2arr1171 - const yyr1171 bool = false - yyq1171[0] = x.Kind != "" - yyq1171[1] = x.APIVersion != "" - yyq1171[2] = true - yyq1171[3] = len(x.Data) != 0 - var yynn1171 int - if yyr1171 || yy2arr1171 { + 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 { r.EncodeArrayStart(4) } else { - yynn1171 = 0 - for _, b := range yyq1171 { + yynn1197 = 0 + for _, b := range yyq1197 { if b { - yynn1171++ + yynn1197++ } } - r.EncodeMapStart(yynn1171) - yynn1171 = 0 + r.EncodeMapStart(yynn1197) + yynn1197 = 0 } - if yyr1171 || yy2arr1171 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1171[0] { - yym1173 := z.EncBinary() - _ = yym1173 + if yyq1197[0] { + yym1199 := z.EncBinary() + _ = yym1199 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -14066,23 +14365,23 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1171[0] { + if yyq1197[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1174 := z.EncBinary() - _ = yym1174 + yym1200 := z.EncBinary() + _ = yym1200 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1171 || yy2arr1171 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1171[1] { - yym1176 := z.EncBinary() - _ = yym1176 + if yyq1197[1] { + yym1202 := z.EncBinary() + _ = yym1202 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -14091,43 +14390,43 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1171[1] { + if yyq1197[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1177 := z.EncBinary() - _ = yym1177 + yym1203 := z.EncBinary() + _ = yym1203 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1171 || yy2arr1171 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1171[2] { - yy1179 := &x.ObjectMeta - yy1179.CodecEncodeSelf(e) + if yyq1197[2] { + yy1205 := &x.ObjectMeta + yy1205.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1171[2] { + if yyq1197[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1180 := &x.ObjectMeta - yy1180.CodecEncodeSelf(e) + yy1206 := &x.ObjectMeta + yy1206.CodecEncodeSelf(e) } } - if yyr1171 || yy2arr1171 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1171[3] { + if yyq1197[3] { if x.Data == nil { r.EncodeNil() } else { - yym1182 := z.EncBinary() - _ = yym1182 + yym1208 := z.EncBinary() + _ = yym1208 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -14137,15 +14436,15 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1171[3] { + if yyq1197[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym1183 := z.EncBinary() - _ = yym1183 + yym1209 := z.EncBinary() + _ = yym1209 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -14153,7 +14452,7 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1171 || yy2arr1171 { + if yyr1197 || yy2arr1197 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14166,25 +14465,25 @@ func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1184 := z.DecBinary() - _ = yym1184 + yym1210 := z.DecBinary() + _ = yym1210 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1185 := r.ContainerType() - if yyct1185 == codecSelferValueTypeMap1234 { - yyl1185 := r.ReadMapStart() - if yyl1185 == 0 { + yyct1211 := r.ContainerType() + if yyct1211 == codecSelferValueTypeMap1234 { + yyl1211 := r.ReadMapStart() + if yyl1211 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1185, d) + x.codecDecodeSelfFromMap(yyl1211, d) } - } else if yyct1185 == codecSelferValueTypeArray1234 { - yyl1185 := r.ReadArrayStart() - if yyl1185 == 0 { + } else if yyct1211 == codecSelferValueTypeArray1234 { + yyl1211 := r.ReadArrayStart() + if yyl1211 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1185, d) + x.codecDecodeSelfFromArray(yyl1211, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14196,12 +14495,12 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1186Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1186Slc - var yyhl1186 bool = l >= 0 - for yyj1186 := 0; ; yyj1186++ { - if yyhl1186 { - if yyj1186 >= l { + var yys1212Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1212Slc + var yyhl1212 bool = l >= 0 + for yyj1212 := 0; ; yyj1212++ { + if yyhl1212 { + if yyj1212 >= l { break } } else { @@ -14210,10 +14509,10 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1186Slc = r.DecodeBytes(yys1186Slc, true, true) - yys1186 := string(yys1186Slc) + yys1212Slc = r.DecodeBytes(yys1212Slc, true, true) + yys1212 := string(yys1212Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1186 { + switch yys1212 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14230,25 +14529,25 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1189 := &x.ObjectMeta - yyv1189.CodecDecodeSelf(d) + yyv1215 := &x.ObjectMeta + yyv1215.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv1190 := &x.Data - yym1191 := z.DecBinary() - _ = yym1191 + yyv1216 := &x.Data + yym1217 := z.DecBinary() + _ = yym1217 if false { } else { - z.F.DecMapStringStringX(yyv1190, false, d) + z.F.DecMapStringStringX(yyv1216, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1186) - } // end switch yys1186 - } // end for yyj1186 + z.DecStructFieldNotFound(-1, yys1212) + } // end switch yys1212 + } // end for yyj1212 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14256,16 +14555,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1192 int - var yyb1192 bool - var yyhl1192 bool = l >= 0 - yyj1192++ - if yyhl1192 { - yyb1192 = yyj1192 > l + var yyj1218 int + var yyb1218 bool + var yyhl1218 bool = l >= 0 + yyj1218++ + if yyhl1218 { + yyb1218 = yyj1218 > l } else { - yyb1192 = r.CheckBreak() + yyb1218 = r.CheckBreak() } - if yyb1192 { + if yyb1218 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14275,13 +14574,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1192++ - if yyhl1192 { - yyb1192 = yyj1192 > l + yyj1218++ + if yyhl1218 { + yyb1218 = yyj1218 > l } else { - yyb1192 = r.CheckBreak() + yyb1218 = r.CheckBreak() } - if yyb1192 { + if yyb1218 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14291,13 +14590,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1192++ - if yyhl1192 { - yyb1192 = yyj1192 > l + yyj1218++ + if yyhl1218 { + yyb1218 = yyj1218 > l } else { - yyb1192 = r.CheckBreak() + yyb1218 = r.CheckBreak() } - if yyb1192 { + if yyb1218 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14305,16 +14604,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1195 := &x.ObjectMeta - yyv1195.CodecDecodeSelf(d) + yyv1221 := &x.ObjectMeta + yyv1221.CodecDecodeSelf(d) } - yyj1192++ - if yyhl1192 { - yyb1192 = yyj1192 > l + yyj1218++ + if yyhl1218 { + yyb1218 = yyj1218 > l } else { - yyb1192 = r.CheckBreak() + yyb1218 = r.CheckBreak() } - if yyb1192 { + if yyb1218 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14322,26 +14621,26 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv1196 := &x.Data - yym1197 := z.DecBinary() - _ = yym1197 + yyv1222 := &x.Data + yym1223 := z.DecBinary() + _ = yym1223 if false { } else { - z.F.DecMapStringStringX(yyv1196, false, d) + z.F.DecMapStringStringX(yyv1222, false, d) } } for { - yyj1192++ - if yyhl1192 { - yyb1192 = yyj1192 > l + yyj1218++ + if yyhl1218 { + yyb1218 = yyj1218 > l } else { - yyb1192 = r.CheckBreak() + yyb1218 = r.CheckBreak() } - if yyb1192 { + if yyb1218 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1192-1, "") + z.DecStructFieldNotFound(yyj1218-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14353,38 +14652,38 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1198 := z.EncBinary() - _ = yym1198 + yym1224 := z.EncBinary() + _ = yym1224 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1199 := !z.EncBinary() - yy2arr1199 := z.EncBasicHandle().StructToArray - var yyq1199 [4]bool - _, _, _ = yysep1199, yyq1199, yy2arr1199 - const yyr1199 bool = false - yyq1199[0] = x.Kind != "" - yyq1199[1] = x.APIVersion != "" - yyq1199[2] = true - yyq1199[3] = len(x.Items) != 0 - var yynn1199 int - if yyr1199 || yy2arr1199 { + 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 { r.EncodeArrayStart(4) } else { - yynn1199 = 0 - for _, b := range yyq1199 { + yynn1225 = 0 + for _, b := range yyq1225 { if b { - yynn1199++ + yynn1225++ } } - r.EncodeMapStart(yynn1199) - yynn1199 = 0 + r.EncodeMapStart(yynn1225) + yynn1225 = 0 } - if yyr1199 || yy2arr1199 { + if yyr1225 || yy2arr1225 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1199[0] { - yym1201 := z.EncBinary() - _ = yym1201 + if yyq1225[0] { + yym1227 := z.EncBinary() + _ = yym1227 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -14393,23 +14692,23 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1199[0] { + if yyq1225[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1202 := z.EncBinary() - _ = yym1202 + yym1228 := z.EncBinary() + _ = yym1228 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1199 || yy2arr1199 { + if yyr1225 || yy2arr1225 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1199[1] { - yym1204 := z.EncBinary() - _ = yym1204 + if yyq1225[1] { + yym1230 := z.EncBinary() + _ = yym1230 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -14418,55 +14717,55 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1199[1] { + if yyq1225[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1205 := z.EncBinary() - _ = yym1205 + yym1231 := z.EncBinary() + _ = yym1231 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1199 || yy2arr1199 { + if yyr1225 || yy2arr1225 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1199[2] { - yy1207 := &x.ListMeta - yym1208 := z.EncBinary() - _ = yym1208 + if yyq1225[2] { + yy1233 := &x.ListMeta + yym1234 := z.EncBinary() + _ = yym1234 if false { - } else if z.HasExtensions() && z.EncExt(yy1207) { + } else if z.HasExtensions() && z.EncExt(yy1233) { } else { - z.EncFallback(yy1207) + z.EncFallback(yy1233) } } else { r.EncodeNil() } } else { - if yyq1199[2] { + if yyq1225[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1209 := &x.ListMeta - yym1210 := z.EncBinary() - _ = yym1210 + yy1235 := &x.ListMeta + yym1236 := z.EncBinary() + _ = yym1236 if false { - } else if z.HasExtensions() && z.EncExt(yy1209) { + } else if z.HasExtensions() && z.EncExt(yy1235) { } else { - z.EncFallback(yy1209) + z.EncFallback(yy1235) } } } - if yyr1199 || yy2arr1199 { + if yyr1225 || yy2arr1225 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1199[3] { + if yyq1225[3] { if x.Items == nil { r.EncodeNil() } else { - yym1212 := z.EncBinary() - _ = yym1212 + yym1238 := z.EncBinary() + _ = yym1238 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -14476,15 +14775,15 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1199[3] { + if yyq1225[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym1213 := z.EncBinary() - _ = yym1213 + yym1239 := z.EncBinary() + _ = yym1239 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -14492,7 +14791,7 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1199 || yy2arr1199 { + if yyr1225 || yy2arr1225 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14505,25 +14804,25 @@ func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1214 := z.DecBinary() - _ = yym1214 + yym1240 := z.DecBinary() + _ = yym1240 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1215 := r.ContainerType() - if yyct1215 == codecSelferValueTypeMap1234 { - yyl1215 := r.ReadMapStart() - if yyl1215 == 0 { + yyct1241 := r.ContainerType() + if yyct1241 == codecSelferValueTypeMap1234 { + yyl1241 := r.ReadMapStart() + if yyl1241 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1215, d) + x.codecDecodeSelfFromMap(yyl1241, d) } - } else if yyct1215 == codecSelferValueTypeArray1234 { - yyl1215 := r.ReadArrayStart() - if yyl1215 == 0 { + } else if yyct1241 == codecSelferValueTypeArray1234 { + yyl1241 := r.ReadArrayStart() + if yyl1241 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1215, d) + x.codecDecodeSelfFromArray(yyl1241, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14535,12 +14834,12 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1216Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1216Slc - var yyhl1216 bool = l >= 0 - for yyj1216 := 0; ; yyj1216++ { - if yyhl1216 { - if yyj1216 >= l { + var yys1242Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1242Slc + var yyhl1242 bool = l >= 0 + for yyj1242 := 0; ; yyj1242++ { + if yyhl1242 { + if yyj1242 >= l { break } } else { @@ -14549,10 +14848,10 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1216Slc = r.DecodeBytes(yys1216Slc, true, true) - yys1216 := string(yys1216Slc) + yys1242Slc = r.DecodeBytes(yys1242Slc, true, true) + yys1242 := string(yys1242Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1216 { + switch yys1242 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14569,31 +14868,31 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1219 := &x.ListMeta - yym1220 := z.DecBinary() - _ = yym1220 + yyv1245 := &x.ListMeta + yym1246 := z.DecBinary() + _ = yym1246 if false { - } else if z.HasExtensions() && z.DecExt(yyv1219) { + } else if z.HasExtensions() && z.DecExt(yyv1245) { } else { - z.DecFallback(yyv1219, false) + z.DecFallback(yyv1245, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1221 := &x.Items - yym1222 := z.DecBinary() - _ = yym1222 + yyv1247 := &x.Items + yym1248 := z.DecBinary() + _ = yym1248 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv1221), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv1247), d) } } default: - z.DecStructFieldNotFound(-1, yys1216) - } // end switch yys1216 - } // end for yyj1216 + z.DecStructFieldNotFound(-1, yys1242) + } // end switch yys1242 + } // end for yyj1242 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14601,16 +14900,16 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1223 int - var yyb1223 bool - var yyhl1223 bool = l >= 0 - yyj1223++ - if yyhl1223 { - yyb1223 = yyj1223 > l + var yyj1249 int + var yyb1249 bool + var yyhl1249 bool = l >= 0 + yyj1249++ + if yyhl1249 { + yyb1249 = yyj1249 > l } else { - yyb1223 = r.CheckBreak() + yyb1249 = r.CheckBreak() } - if yyb1223 { + if yyb1249 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14620,13 +14919,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1223++ - if yyhl1223 { - yyb1223 = yyj1223 > l + yyj1249++ + if yyhl1249 { + yyb1249 = yyj1249 > l } else { - yyb1223 = r.CheckBreak() + yyb1249 = r.CheckBreak() } - if yyb1223 { + if yyb1249 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14636,13 +14935,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1223++ - if yyhl1223 { - yyb1223 = yyj1223 > l + yyj1249++ + if yyhl1249 { + yyb1249 = yyj1249 > l } else { - yyb1223 = r.CheckBreak() + yyb1249 = r.CheckBreak() } - if yyb1223 { + if yyb1249 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14650,22 +14949,22 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1226 := &x.ListMeta - yym1227 := z.DecBinary() - _ = yym1227 + yyv1252 := &x.ListMeta + yym1253 := z.DecBinary() + _ = yym1253 if false { - } else if z.HasExtensions() && z.DecExt(yyv1226) { + } else if z.HasExtensions() && z.DecExt(yyv1252) { } else { - z.DecFallback(yyv1226, false) + z.DecFallback(yyv1252, false) } } - yyj1223++ - if yyhl1223 { - yyb1223 = yyj1223 > l + yyj1249++ + if yyhl1249 { + yyb1249 = yyj1249 > l } else { - yyb1223 = r.CheckBreak() + yyb1249 = r.CheckBreak() } - if yyb1223 { + if yyb1249 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14673,26 +14972,26 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1228 := &x.Items - yym1229 := z.DecBinary() - _ = yym1229 + yyv1254 := &x.Items + yym1255 := z.DecBinary() + _ = yym1255 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv1228), d) + h.decSliceConfigMap((*[]ConfigMap)(yyv1254), d) } } for { - yyj1223++ - if yyhl1223 { - yyb1223 = yyj1223 > l + yyj1249++ + if yyhl1249 { + yyb1249 = yyj1249 > l } else { - yyb1223 = r.CheckBreak() + yyb1249 = r.CheckBreak() } - if yyb1223 { + if yyb1249 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1223-1, "") + z.DecStructFieldNotFound(yyj1249-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14702,10 +15001,10 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1230 := range v { + for _, yyv1256 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1231 := &yyv1230 - yy1231.CodecEncodeSelf(e) + yy1257 := &yyv1256 + yy1257.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14715,83 +15014,83 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1232 := *v - yyh1232, yyl1232 := z.DecSliceHelperStart() - var yyc1232 bool - if yyl1232 == 0 { - if yyv1232 == nil { - yyv1232 = []HorizontalPodAutoscaler{} - yyc1232 = true - } else if len(yyv1232) != 0 { - yyv1232 = yyv1232[:0] - yyc1232 = true + 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 } - } else if yyl1232 > 0 { - var yyrr1232, yyrl1232 int - var yyrt1232 bool - if yyl1232 > cap(yyv1232) { + } else if yyl1258 > 0 { + var yyrr1258, yyrl1258 int + var yyrt1258 bool + if yyl1258 > cap(yyv1258) { - yyrg1232 := len(yyv1232) > 0 - yyv21232 := yyv1232 - yyrl1232, yyrt1232 = z.DecInferLen(yyl1232, z.DecBasicHandle().MaxInitLen, 312) - if yyrt1232 { - if yyrl1232 <= cap(yyv1232) { - yyv1232 = yyv1232[:yyrl1232] + yyrg1258 := len(yyv1258) > 0 + yyv21258 := yyv1258 + yyrl1258, yyrt1258 = z.DecInferLen(yyl1258, z.DecBasicHandle().MaxInitLen, 312) + if yyrt1258 { + if yyrl1258 <= cap(yyv1258) { + yyv1258 = yyv1258[:yyrl1258] } else { - yyv1232 = make([]HorizontalPodAutoscaler, yyrl1232) + yyv1258 = make([]HorizontalPodAutoscaler, yyrl1258) } } else { - yyv1232 = make([]HorizontalPodAutoscaler, yyrl1232) + yyv1258 = make([]HorizontalPodAutoscaler, yyrl1258) } - yyc1232 = true - yyrr1232 = len(yyv1232) - if yyrg1232 { - copy(yyv1232, yyv21232) + yyc1258 = true + yyrr1258 = len(yyv1258) + if yyrg1258 { + copy(yyv1258, yyv21258) } - } else if yyl1232 != len(yyv1232) { - yyv1232 = yyv1232[:yyl1232] - yyc1232 = true + } else if yyl1258 != len(yyv1258) { + yyv1258 = yyv1258[:yyl1258] + yyc1258 = true } - yyj1232 := 0 - for ; yyj1232 < yyrr1232; yyj1232++ { - yyh1232.ElemContainerState(yyj1232) + yyj1258 := 0 + for ; yyj1258 < yyrr1258; yyj1258++ { + yyh1258.ElemContainerState(yyj1258) if r.TryDecodeAsNil() { - yyv1232[yyj1232] = HorizontalPodAutoscaler{} + yyv1258[yyj1258] = HorizontalPodAutoscaler{} } else { - yyv1233 := &yyv1232[yyj1232] - yyv1233.CodecDecodeSelf(d) + yyv1259 := &yyv1258[yyj1258] + yyv1259.CodecDecodeSelf(d) } } - if yyrt1232 { - for ; yyj1232 < yyl1232; yyj1232++ { - yyv1232 = append(yyv1232, HorizontalPodAutoscaler{}) - yyh1232.ElemContainerState(yyj1232) + if yyrt1258 { + for ; yyj1258 < yyl1258; yyj1258++ { + yyv1258 = append(yyv1258, HorizontalPodAutoscaler{}) + yyh1258.ElemContainerState(yyj1258) if r.TryDecodeAsNil() { - yyv1232[yyj1232] = HorizontalPodAutoscaler{} + yyv1258[yyj1258] = HorizontalPodAutoscaler{} } else { - yyv1234 := &yyv1232[yyj1232] - yyv1234.CodecDecodeSelf(d) + yyv1260 := &yyv1258[yyj1258] + yyv1260.CodecDecodeSelf(d) } } } } else { - yyj1232 := 0 - for ; !r.CheckBreak(); yyj1232++ { + yyj1258 := 0 + for ; !r.CheckBreak(); yyj1258++ { - if yyj1232 >= len(yyv1232) { - yyv1232 = append(yyv1232, HorizontalPodAutoscaler{}) // var yyz1232 HorizontalPodAutoscaler - yyc1232 = true + if yyj1258 >= len(yyv1258) { + yyv1258 = append(yyv1258, HorizontalPodAutoscaler{}) // var yyz1258 HorizontalPodAutoscaler + yyc1258 = true } - yyh1232.ElemContainerState(yyj1232) - if yyj1232 < len(yyv1232) { + yyh1258.ElemContainerState(yyj1258) + if yyj1258 < len(yyv1258) { if r.TryDecodeAsNil() { - yyv1232[yyj1232] = HorizontalPodAutoscaler{} + yyv1258[yyj1258] = HorizontalPodAutoscaler{} } else { - yyv1235 := &yyv1232[yyj1232] - yyv1235.CodecDecodeSelf(d) + yyv1261 := &yyv1258[yyj1258] + yyv1261.CodecDecodeSelf(d) } } else { @@ -14799,17 +15098,17 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } - if yyj1232 < len(yyv1232) { - yyv1232 = yyv1232[:yyj1232] - yyc1232 = true - } else if yyj1232 == 0 && yyv1232 == nil { - yyv1232 = []HorizontalPodAutoscaler{} - yyc1232 = true + if yyj1258 < len(yyv1258) { + yyv1258 = yyv1258[:yyj1258] + yyc1258 = true + } else if yyj1258 == 0 && yyv1258 == nil { + yyv1258 = []HorizontalPodAutoscaler{} + yyc1258 = true } } - yyh1232.End() - if yyc1232 { - *v = yyv1232 + yyh1258.End() + if yyc1258 { + *v = yyv1258 } } @@ -14818,10 +15117,10 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1236 := range v { + for _, yyv1262 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1237 := &yyv1236 - yy1237.CodecEncodeSelf(e) + yy1263 := &yyv1262 + yy1263.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14831,83 +15130,83 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1238 := *v - yyh1238, yyl1238 := z.DecSliceHelperStart() - var yyc1238 bool - if yyl1238 == 0 { - if yyv1238 == nil { - yyv1238 = []APIVersion{} - yyc1238 = true - } else if len(yyv1238) != 0 { - yyv1238 = yyv1238[:0] - yyc1238 = true + 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 } - } else if yyl1238 > 0 { - var yyrr1238, yyrl1238 int - var yyrt1238 bool - if yyl1238 > cap(yyv1238) { + } else if yyl1264 > 0 { + var yyrr1264, yyrl1264 int + var yyrt1264 bool + if yyl1264 > cap(yyv1264) { - yyrg1238 := len(yyv1238) > 0 - yyv21238 := yyv1238 - yyrl1238, yyrt1238 = z.DecInferLen(yyl1238, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1238 { - if yyrl1238 <= cap(yyv1238) { - yyv1238 = yyv1238[:yyrl1238] + yyrg1264 := len(yyv1264) > 0 + yyv21264 := yyv1264 + yyrl1264, yyrt1264 = z.DecInferLen(yyl1264, z.DecBasicHandle().MaxInitLen, 32) + if yyrt1264 { + if yyrl1264 <= cap(yyv1264) { + yyv1264 = yyv1264[:yyrl1264] } else { - yyv1238 = make([]APIVersion, yyrl1238) + yyv1264 = make([]APIVersion, yyrl1264) } } else { - yyv1238 = make([]APIVersion, yyrl1238) + yyv1264 = make([]APIVersion, yyrl1264) } - yyc1238 = true - yyrr1238 = len(yyv1238) - if yyrg1238 { - copy(yyv1238, yyv21238) + yyc1264 = true + yyrr1264 = len(yyv1264) + if yyrg1264 { + copy(yyv1264, yyv21264) } - } else if yyl1238 != len(yyv1238) { - yyv1238 = yyv1238[:yyl1238] - yyc1238 = true + } else if yyl1264 != len(yyv1264) { + yyv1264 = yyv1264[:yyl1264] + yyc1264 = true } - yyj1238 := 0 - for ; yyj1238 < yyrr1238; yyj1238++ { - yyh1238.ElemContainerState(yyj1238) + yyj1264 := 0 + for ; yyj1264 < yyrr1264; yyj1264++ { + yyh1264.ElemContainerState(yyj1264) if r.TryDecodeAsNil() { - yyv1238[yyj1238] = APIVersion{} + yyv1264[yyj1264] = APIVersion{} } else { - yyv1239 := &yyv1238[yyj1238] - yyv1239.CodecDecodeSelf(d) + yyv1265 := &yyv1264[yyj1264] + yyv1265.CodecDecodeSelf(d) } } - if yyrt1238 { - for ; yyj1238 < yyl1238; yyj1238++ { - yyv1238 = append(yyv1238, APIVersion{}) - yyh1238.ElemContainerState(yyj1238) + if yyrt1264 { + for ; yyj1264 < yyl1264; yyj1264++ { + yyv1264 = append(yyv1264, APIVersion{}) + yyh1264.ElemContainerState(yyj1264) if r.TryDecodeAsNil() { - yyv1238[yyj1238] = APIVersion{} + yyv1264[yyj1264] = APIVersion{} } else { - yyv1240 := &yyv1238[yyj1238] - yyv1240.CodecDecodeSelf(d) + yyv1266 := &yyv1264[yyj1264] + yyv1266.CodecDecodeSelf(d) } } } } else { - yyj1238 := 0 - for ; !r.CheckBreak(); yyj1238++ { + yyj1264 := 0 + for ; !r.CheckBreak(); yyj1264++ { - if yyj1238 >= len(yyv1238) { - yyv1238 = append(yyv1238, APIVersion{}) // var yyz1238 APIVersion - yyc1238 = true + if yyj1264 >= len(yyv1264) { + yyv1264 = append(yyv1264, APIVersion{}) // var yyz1264 APIVersion + yyc1264 = true } - yyh1238.ElemContainerState(yyj1238) - if yyj1238 < len(yyv1238) { + yyh1264.ElemContainerState(yyj1264) + if yyj1264 < len(yyv1264) { if r.TryDecodeAsNil() { - yyv1238[yyj1238] = APIVersion{} + yyv1264[yyj1264] = APIVersion{} } else { - yyv1241 := &yyv1238[yyj1238] - yyv1241.CodecDecodeSelf(d) + yyv1267 := &yyv1264[yyj1264] + yyv1267.CodecDecodeSelf(d) } } else { @@ -14915,17 +15214,17 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } - if yyj1238 < len(yyv1238) { - yyv1238 = yyv1238[:yyj1238] - yyc1238 = true - } else if yyj1238 == 0 && yyv1238 == nil { - yyv1238 = []APIVersion{} - yyc1238 = true + if yyj1264 < len(yyv1264) { + yyv1264 = yyv1264[:yyj1264] + yyc1264 = true + } else if yyj1264 == 0 && yyv1264 == nil { + yyv1264 = []APIVersion{} + yyc1264 = true } } - yyh1238.End() - if yyc1238 { - *v = yyv1238 + yyh1264.End() + if yyc1264 { + *v = yyv1264 } } @@ -14934,10 +15233,10 @@ func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1242 := range v { + for _, yyv1268 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1243 := &yyv1242 - yy1243.CodecEncodeSelf(e) + yy1269 := &yyv1268 + yy1269.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14947,83 +15246,83 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1244 := *v - yyh1244, yyl1244 := z.DecSliceHelperStart() - var yyc1244 bool - if yyl1244 == 0 { - if yyv1244 == nil { - yyv1244 = []ThirdPartyResource{} - yyc1244 = true - } else if len(yyv1244) != 0 { - yyv1244 = yyv1244[:0] - yyc1244 = true + 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 } - } else if yyl1244 > 0 { - var yyrr1244, yyrl1244 int - var yyrt1244 bool - if yyl1244 > cap(yyv1244) { + } else if yyl1270 > 0 { + var yyrr1270, yyrl1270 int + var yyrt1270 bool + if yyl1270 > cap(yyv1270) { - yyrg1244 := len(yyv1244) > 0 - yyv21244 := yyv1244 - yyrl1244, yyrt1244 = z.DecInferLen(yyl1244, z.DecBasicHandle().MaxInitLen, 232) - if yyrt1244 { - if yyrl1244 <= cap(yyv1244) { - yyv1244 = yyv1244[:yyrl1244] + yyrg1270 := len(yyv1270) > 0 + yyv21270 := yyv1270 + yyrl1270, yyrt1270 = z.DecInferLen(yyl1270, z.DecBasicHandle().MaxInitLen, 232) + if yyrt1270 { + if yyrl1270 <= cap(yyv1270) { + yyv1270 = yyv1270[:yyrl1270] } else { - yyv1244 = make([]ThirdPartyResource, yyrl1244) + yyv1270 = make([]ThirdPartyResource, yyrl1270) } } else { - yyv1244 = make([]ThirdPartyResource, yyrl1244) + yyv1270 = make([]ThirdPartyResource, yyrl1270) } - yyc1244 = true - yyrr1244 = len(yyv1244) - if yyrg1244 { - copy(yyv1244, yyv21244) + yyc1270 = true + yyrr1270 = len(yyv1270) + if yyrg1270 { + copy(yyv1270, yyv21270) } - } else if yyl1244 != len(yyv1244) { - yyv1244 = yyv1244[:yyl1244] - yyc1244 = true + } else if yyl1270 != len(yyv1270) { + yyv1270 = yyv1270[:yyl1270] + yyc1270 = true } - yyj1244 := 0 - for ; yyj1244 < yyrr1244; yyj1244++ { - yyh1244.ElemContainerState(yyj1244) + yyj1270 := 0 + for ; yyj1270 < yyrr1270; yyj1270++ { + yyh1270.ElemContainerState(yyj1270) if r.TryDecodeAsNil() { - yyv1244[yyj1244] = ThirdPartyResource{} + yyv1270[yyj1270] = ThirdPartyResource{} } else { - yyv1245 := &yyv1244[yyj1244] - yyv1245.CodecDecodeSelf(d) + yyv1271 := &yyv1270[yyj1270] + yyv1271.CodecDecodeSelf(d) } } - if yyrt1244 { - for ; yyj1244 < yyl1244; yyj1244++ { - yyv1244 = append(yyv1244, ThirdPartyResource{}) - yyh1244.ElemContainerState(yyj1244) + if yyrt1270 { + for ; yyj1270 < yyl1270; yyj1270++ { + yyv1270 = append(yyv1270, ThirdPartyResource{}) + yyh1270.ElemContainerState(yyj1270) if r.TryDecodeAsNil() { - yyv1244[yyj1244] = ThirdPartyResource{} + yyv1270[yyj1270] = ThirdPartyResource{} } else { - yyv1246 := &yyv1244[yyj1244] - yyv1246.CodecDecodeSelf(d) + yyv1272 := &yyv1270[yyj1270] + yyv1272.CodecDecodeSelf(d) } } } } else { - yyj1244 := 0 - for ; !r.CheckBreak(); yyj1244++ { + yyj1270 := 0 + for ; !r.CheckBreak(); yyj1270++ { - if yyj1244 >= len(yyv1244) { - yyv1244 = append(yyv1244, ThirdPartyResource{}) // var yyz1244 ThirdPartyResource - yyc1244 = true + if yyj1270 >= len(yyv1270) { + yyv1270 = append(yyv1270, ThirdPartyResource{}) // var yyz1270 ThirdPartyResource + yyc1270 = true } - yyh1244.ElemContainerState(yyj1244) - if yyj1244 < len(yyv1244) { + yyh1270.ElemContainerState(yyj1270) + if yyj1270 < len(yyv1270) { if r.TryDecodeAsNil() { - yyv1244[yyj1244] = ThirdPartyResource{} + yyv1270[yyj1270] = ThirdPartyResource{} } else { - yyv1247 := &yyv1244[yyj1244] - yyv1247.CodecDecodeSelf(d) + yyv1273 := &yyv1270[yyj1270] + yyv1273.CodecDecodeSelf(d) } } else { @@ -15031,17 +15330,17 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } - if yyj1244 < len(yyv1244) { - yyv1244 = yyv1244[:yyj1244] - yyc1244 = true - } else if yyj1244 == 0 && yyv1244 == nil { - yyv1244 = []ThirdPartyResource{} - yyc1244 = true + if yyj1270 < len(yyv1270) { + yyv1270 = yyv1270[:yyj1270] + yyc1270 = true + } else if yyj1270 == 0 && yyv1270 == nil { + yyv1270 = []ThirdPartyResource{} + yyc1270 = true } } - yyh1244.End() - if yyc1244 { - *v = yyv1244 + yyh1270.End() + if yyc1270 { + *v = yyv1270 } } @@ -15050,10 +15349,10 @@ func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1248 := range v { + for _, yyv1274 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1249 := &yyv1248 - yy1249.CodecEncodeSelf(e) + yy1275 := &yyv1274 + yy1275.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15063,83 +15362,83 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1250 := *v - yyh1250, yyl1250 := z.DecSliceHelperStart() - var yyc1250 bool - if yyl1250 == 0 { - if yyv1250 == nil { - yyv1250 = []Deployment{} - yyc1250 = true - } else if len(yyv1250) != 0 { - yyv1250 = yyv1250[:0] - yyc1250 = true + 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 } - } else if yyl1250 > 0 { - var yyrr1250, yyrl1250 int - var yyrt1250 bool - if yyl1250 > cap(yyv1250) { + } else if yyl1276 > 0 { + var yyrr1276, yyrl1276 int + var yyrt1276 bool + if yyl1276 > cap(yyv1276) { - yyrg1250 := len(yyv1250) > 0 - yyv21250 := yyv1250 - yyrl1250, yyrt1250 = z.DecInferLen(yyl1250, z.DecBasicHandle().MaxInitLen, 600) - if yyrt1250 { - if yyrl1250 <= cap(yyv1250) { - yyv1250 = yyv1250[:yyrl1250] + yyrg1276 := len(yyv1276) > 0 + yyv21276 := yyv1276 + yyrl1276, yyrt1276 = z.DecInferLen(yyl1276, z.DecBasicHandle().MaxInitLen, 600) + if yyrt1276 { + if yyrl1276 <= cap(yyv1276) { + yyv1276 = yyv1276[:yyrl1276] } else { - yyv1250 = make([]Deployment, yyrl1250) + yyv1276 = make([]Deployment, yyrl1276) } } else { - yyv1250 = make([]Deployment, yyrl1250) + yyv1276 = make([]Deployment, yyrl1276) } - yyc1250 = true - yyrr1250 = len(yyv1250) - if yyrg1250 { - copy(yyv1250, yyv21250) + yyc1276 = true + yyrr1276 = len(yyv1276) + if yyrg1276 { + copy(yyv1276, yyv21276) } - } else if yyl1250 != len(yyv1250) { - yyv1250 = yyv1250[:yyl1250] - yyc1250 = true + } else if yyl1276 != len(yyv1276) { + yyv1276 = yyv1276[:yyl1276] + yyc1276 = true } - yyj1250 := 0 - for ; yyj1250 < yyrr1250; yyj1250++ { - yyh1250.ElemContainerState(yyj1250) + yyj1276 := 0 + for ; yyj1276 < yyrr1276; yyj1276++ { + yyh1276.ElemContainerState(yyj1276) if r.TryDecodeAsNil() { - yyv1250[yyj1250] = Deployment{} + yyv1276[yyj1276] = Deployment{} } else { - yyv1251 := &yyv1250[yyj1250] - yyv1251.CodecDecodeSelf(d) + yyv1277 := &yyv1276[yyj1276] + yyv1277.CodecDecodeSelf(d) } } - if yyrt1250 { - for ; yyj1250 < yyl1250; yyj1250++ { - yyv1250 = append(yyv1250, Deployment{}) - yyh1250.ElemContainerState(yyj1250) + if yyrt1276 { + for ; yyj1276 < yyl1276; yyj1276++ { + yyv1276 = append(yyv1276, Deployment{}) + yyh1276.ElemContainerState(yyj1276) if r.TryDecodeAsNil() { - yyv1250[yyj1250] = Deployment{} + yyv1276[yyj1276] = Deployment{} } else { - yyv1252 := &yyv1250[yyj1250] - yyv1252.CodecDecodeSelf(d) + yyv1278 := &yyv1276[yyj1276] + yyv1278.CodecDecodeSelf(d) } } } } else { - yyj1250 := 0 - for ; !r.CheckBreak(); yyj1250++ { + yyj1276 := 0 + for ; !r.CheckBreak(); yyj1276++ { - if yyj1250 >= len(yyv1250) { - yyv1250 = append(yyv1250, Deployment{}) // var yyz1250 Deployment - yyc1250 = true + if yyj1276 >= len(yyv1276) { + yyv1276 = append(yyv1276, Deployment{}) // var yyz1276 Deployment + yyc1276 = true } - yyh1250.ElemContainerState(yyj1250) - if yyj1250 < len(yyv1250) { + yyh1276.ElemContainerState(yyj1276) + if yyj1276 < len(yyv1276) { if r.TryDecodeAsNil() { - yyv1250[yyj1250] = Deployment{} + yyv1276[yyj1276] = Deployment{} } else { - yyv1253 := &yyv1250[yyj1250] - yyv1253.CodecDecodeSelf(d) + yyv1279 := &yyv1276[yyj1276] + yyv1279.CodecDecodeSelf(d) } } else { @@ -15147,17 +15446,17 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } - if yyj1250 < len(yyv1250) { - yyv1250 = yyv1250[:yyj1250] - yyc1250 = true - } else if yyj1250 == 0 && yyv1250 == nil { - yyv1250 = []Deployment{} - yyc1250 = true + if yyj1276 < len(yyv1276) { + yyv1276 = yyv1276[:yyj1276] + yyc1276 = true + } else if yyj1276 == 0 && yyv1276 == nil { + yyv1276 = []Deployment{} + yyc1276 = true } } - yyh1250.End() - if yyc1250 { - *v = yyv1250 + yyh1276.End() + if yyc1276 { + *v = yyv1276 } } @@ -15166,10 +15465,10 @@ func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1254 := range v { + for _, yyv1280 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1255 := &yyv1254 - yy1255.CodecEncodeSelf(e) + yy1281 := &yyv1280 + yy1281.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15179,83 +15478,83 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1256 := *v - yyh1256, yyl1256 := z.DecSliceHelperStart() - var yyc1256 bool - if yyl1256 == 0 { - if yyv1256 == nil { - yyv1256 = []DaemonSet{} - yyc1256 = true - } else if len(yyv1256) != 0 { - yyv1256 = yyv1256[:0] - yyc1256 = true + 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 } - } else if yyl1256 > 0 { - var yyrr1256, yyrl1256 int - var yyrt1256 bool - if yyl1256 > cap(yyv1256) { + } else if yyl1282 > 0 { + var yyrr1282, yyrl1282 int + var yyrt1282 bool + if yyl1282 > cap(yyv1282) { - yyrg1256 := len(yyv1256) > 0 - yyv21256 := yyv1256 - yyrl1256, yyrt1256 = z.DecInferLen(yyl1256, z.DecBasicHandle().MaxInitLen, 224) - if yyrt1256 { - if yyrl1256 <= cap(yyv1256) { - yyv1256 = yyv1256[:yyrl1256] + yyrg1282 := len(yyv1282) > 0 + yyv21282 := yyv1282 + yyrl1282, yyrt1282 = z.DecInferLen(yyl1282, z.DecBasicHandle().MaxInitLen, 224) + if yyrt1282 { + if yyrl1282 <= cap(yyv1282) { + yyv1282 = yyv1282[:yyrl1282] } else { - yyv1256 = make([]DaemonSet, yyrl1256) + yyv1282 = make([]DaemonSet, yyrl1282) } } else { - yyv1256 = make([]DaemonSet, yyrl1256) + yyv1282 = make([]DaemonSet, yyrl1282) } - yyc1256 = true - yyrr1256 = len(yyv1256) - if yyrg1256 { - copy(yyv1256, yyv21256) + yyc1282 = true + yyrr1282 = len(yyv1282) + if yyrg1282 { + copy(yyv1282, yyv21282) } - } else if yyl1256 != len(yyv1256) { - yyv1256 = yyv1256[:yyl1256] - yyc1256 = true + } else if yyl1282 != len(yyv1282) { + yyv1282 = yyv1282[:yyl1282] + yyc1282 = true } - yyj1256 := 0 - for ; yyj1256 < yyrr1256; yyj1256++ { - yyh1256.ElemContainerState(yyj1256) + yyj1282 := 0 + for ; yyj1282 < yyrr1282; yyj1282++ { + yyh1282.ElemContainerState(yyj1282) if r.TryDecodeAsNil() { - yyv1256[yyj1256] = DaemonSet{} + yyv1282[yyj1282] = DaemonSet{} } else { - yyv1257 := &yyv1256[yyj1256] - yyv1257.CodecDecodeSelf(d) + yyv1283 := &yyv1282[yyj1282] + yyv1283.CodecDecodeSelf(d) } } - if yyrt1256 { - for ; yyj1256 < yyl1256; yyj1256++ { - yyv1256 = append(yyv1256, DaemonSet{}) - yyh1256.ElemContainerState(yyj1256) + if yyrt1282 { + for ; yyj1282 < yyl1282; yyj1282++ { + yyv1282 = append(yyv1282, DaemonSet{}) + yyh1282.ElemContainerState(yyj1282) if r.TryDecodeAsNil() { - yyv1256[yyj1256] = DaemonSet{} + yyv1282[yyj1282] = DaemonSet{} } else { - yyv1258 := &yyv1256[yyj1256] - yyv1258.CodecDecodeSelf(d) + yyv1284 := &yyv1282[yyj1282] + yyv1284.CodecDecodeSelf(d) } } } } else { - yyj1256 := 0 - for ; !r.CheckBreak(); yyj1256++ { + yyj1282 := 0 + for ; !r.CheckBreak(); yyj1282++ { - if yyj1256 >= len(yyv1256) { - yyv1256 = append(yyv1256, DaemonSet{}) // var yyz1256 DaemonSet - yyc1256 = true + if yyj1282 >= len(yyv1282) { + yyv1282 = append(yyv1282, DaemonSet{}) // var yyz1282 DaemonSet + yyc1282 = true } - yyh1256.ElemContainerState(yyj1256) - if yyj1256 < len(yyv1256) { + yyh1282.ElemContainerState(yyj1282) + if yyj1282 < len(yyv1282) { if r.TryDecodeAsNil() { - yyv1256[yyj1256] = DaemonSet{} + yyv1282[yyj1282] = DaemonSet{} } else { - yyv1259 := &yyv1256[yyj1256] - yyv1259.CodecDecodeSelf(d) + yyv1285 := &yyv1282[yyj1282] + yyv1285.CodecDecodeSelf(d) } } else { @@ -15263,17 +15562,17 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } } - if yyj1256 < len(yyv1256) { - yyv1256 = yyv1256[:yyj1256] - yyc1256 = true - } else if yyj1256 == 0 && yyv1256 == nil { - yyv1256 = []DaemonSet{} - yyc1256 = true + if yyj1282 < len(yyv1282) { + yyv1282 = yyv1282[:yyj1282] + yyc1282 = true + } else if yyj1282 == 0 && yyv1282 == nil { + yyv1282 = []DaemonSet{} + yyc1282 = true } } - yyh1256.End() - if yyc1256 { - *v = yyv1256 + yyh1282.End() + if yyc1282 { + *v = yyv1282 } } @@ -15282,10 +15581,10 @@ func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceDa z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1260 := range v { + for _, yyv1286 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1261 := &yyv1260 - yy1261.CodecEncodeSelf(e) + yy1287 := &yyv1286 + yy1287.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15295,83 +15594,83 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1262 := *v - yyh1262, yyl1262 := z.DecSliceHelperStart() - var yyc1262 bool - if yyl1262 == 0 { - if yyv1262 == nil { - yyv1262 = []ThirdPartyResourceData{} - yyc1262 = true - } else if len(yyv1262) != 0 { - yyv1262 = yyv1262[:0] - yyc1262 = true + 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 } - } else if yyl1262 > 0 { - var yyrr1262, yyrl1262 int - var yyrt1262 bool - if yyl1262 > cap(yyv1262) { + } else if yyl1288 > 0 { + var yyrr1288, yyrl1288 int + var yyrt1288 bool + if yyl1288 > cap(yyv1288) { - yyrg1262 := len(yyv1262) > 0 - yyv21262 := yyv1262 - yyrl1262, yyrt1262 = z.DecInferLen(yyl1262, z.DecBasicHandle().MaxInitLen, 216) - if yyrt1262 { - if yyrl1262 <= cap(yyv1262) { - yyv1262 = yyv1262[:yyrl1262] + yyrg1288 := len(yyv1288) > 0 + yyv21288 := yyv1288 + yyrl1288, yyrt1288 = z.DecInferLen(yyl1288, z.DecBasicHandle().MaxInitLen, 216) + if yyrt1288 { + if yyrl1288 <= cap(yyv1288) { + yyv1288 = yyv1288[:yyrl1288] } else { - yyv1262 = make([]ThirdPartyResourceData, yyrl1262) + yyv1288 = make([]ThirdPartyResourceData, yyrl1288) } } else { - yyv1262 = make([]ThirdPartyResourceData, yyrl1262) + yyv1288 = make([]ThirdPartyResourceData, yyrl1288) } - yyc1262 = true - yyrr1262 = len(yyv1262) - if yyrg1262 { - copy(yyv1262, yyv21262) + yyc1288 = true + yyrr1288 = len(yyv1288) + if yyrg1288 { + copy(yyv1288, yyv21288) } - } else if yyl1262 != len(yyv1262) { - yyv1262 = yyv1262[:yyl1262] - yyc1262 = true + } else if yyl1288 != len(yyv1288) { + yyv1288 = yyv1288[:yyl1288] + yyc1288 = true } - yyj1262 := 0 - for ; yyj1262 < yyrr1262; yyj1262++ { - yyh1262.ElemContainerState(yyj1262) + yyj1288 := 0 + for ; yyj1288 < yyrr1288; yyj1288++ { + yyh1288.ElemContainerState(yyj1288) if r.TryDecodeAsNil() { - yyv1262[yyj1262] = ThirdPartyResourceData{} + yyv1288[yyj1288] = ThirdPartyResourceData{} } else { - yyv1263 := &yyv1262[yyj1262] - yyv1263.CodecDecodeSelf(d) + yyv1289 := &yyv1288[yyj1288] + yyv1289.CodecDecodeSelf(d) } } - if yyrt1262 { - for ; yyj1262 < yyl1262; yyj1262++ { - yyv1262 = append(yyv1262, ThirdPartyResourceData{}) - yyh1262.ElemContainerState(yyj1262) + if yyrt1288 { + for ; yyj1288 < yyl1288; yyj1288++ { + yyv1288 = append(yyv1288, ThirdPartyResourceData{}) + yyh1288.ElemContainerState(yyj1288) if r.TryDecodeAsNil() { - yyv1262[yyj1262] = ThirdPartyResourceData{} + yyv1288[yyj1288] = ThirdPartyResourceData{} } else { - yyv1264 := &yyv1262[yyj1262] - yyv1264.CodecDecodeSelf(d) + yyv1290 := &yyv1288[yyj1288] + yyv1290.CodecDecodeSelf(d) } } } } else { - yyj1262 := 0 - for ; !r.CheckBreak(); yyj1262++ { + yyj1288 := 0 + for ; !r.CheckBreak(); yyj1288++ { - if yyj1262 >= len(yyv1262) { - yyv1262 = append(yyv1262, ThirdPartyResourceData{}) // var yyz1262 ThirdPartyResourceData - yyc1262 = true + if yyj1288 >= len(yyv1288) { + yyv1288 = append(yyv1288, ThirdPartyResourceData{}) // var yyz1288 ThirdPartyResourceData + yyc1288 = true } - yyh1262.ElemContainerState(yyj1262) - if yyj1262 < len(yyv1262) { + yyh1288.ElemContainerState(yyj1288) + if yyj1288 < len(yyv1288) { if r.TryDecodeAsNil() { - yyv1262[yyj1262] = ThirdPartyResourceData{} + yyv1288[yyj1288] = ThirdPartyResourceData{} } else { - yyv1265 := &yyv1262[yyj1262] - yyv1265.CodecDecodeSelf(d) + yyv1291 := &yyv1288[yyj1288] + yyv1291.CodecDecodeSelf(d) } } else { @@ -15379,17 +15678,17 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } } - if yyj1262 < len(yyv1262) { - yyv1262 = yyv1262[:yyj1262] - yyc1262 = true - } else if yyj1262 == 0 && yyv1262 == nil { - yyv1262 = []ThirdPartyResourceData{} - yyc1262 = true + if yyj1288 < len(yyv1288) { + yyv1288 = yyv1288[:yyj1288] + yyc1288 = true + } else if yyj1288 == 0 && yyv1288 == nil { + yyv1288 = []ThirdPartyResourceData{} + yyc1288 = true } } - yyh1262.End() - if yyc1262 { - *v = yyv1262 + yyh1288.End() + if yyc1288 { + *v = yyv1288 } } @@ -15398,10 +15697,10 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1266 := range v { + for _, yyv1292 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1267 := &yyv1266 - yy1267.CodecEncodeSelf(e) + yy1293 := &yyv1292 + yy1293.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15411,83 +15710,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1268 := *v - yyh1268, yyl1268 := z.DecSliceHelperStart() - var yyc1268 bool - if yyl1268 == 0 { - if yyv1268 == nil { - yyv1268 = []Job{} - yyc1268 = true - } else if len(yyv1268) != 0 { - yyv1268 = yyv1268[:0] - yyc1268 = true + 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 } - } else if yyl1268 > 0 { - var yyrr1268, yyrl1268 int - var yyrt1268 bool - if yyl1268 > cap(yyv1268) { + } else if yyl1294 > 0 { + var yyrr1294, yyrl1294 int + var yyrt1294 bool + if yyl1294 > cap(yyv1294) { - yyrg1268 := len(yyv1268) > 0 - yyv21268 := yyv1268 - yyrl1268, yyrt1268 = z.DecInferLen(yyl1268, z.DecBasicHandle().MaxInitLen, 624) - if yyrt1268 { - if yyrl1268 <= cap(yyv1268) { - yyv1268 = yyv1268[:yyrl1268] + yyrg1294 := len(yyv1294) > 0 + yyv21294 := yyv1294 + yyrl1294, yyrt1294 = z.DecInferLen(yyl1294, z.DecBasicHandle().MaxInitLen, 624) + if yyrt1294 { + if yyrl1294 <= cap(yyv1294) { + yyv1294 = yyv1294[:yyrl1294] } else { - yyv1268 = make([]Job, yyrl1268) + yyv1294 = make([]Job, yyrl1294) } } else { - yyv1268 = make([]Job, yyrl1268) + yyv1294 = make([]Job, yyrl1294) } - yyc1268 = true - yyrr1268 = len(yyv1268) - if yyrg1268 { - copy(yyv1268, yyv21268) + yyc1294 = true + yyrr1294 = len(yyv1294) + if yyrg1294 { + copy(yyv1294, yyv21294) } - } else if yyl1268 != len(yyv1268) { - yyv1268 = yyv1268[:yyl1268] - yyc1268 = true + } else if yyl1294 != len(yyv1294) { + yyv1294 = yyv1294[:yyl1294] + yyc1294 = true } - yyj1268 := 0 - for ; yyj1268 < yyrr1268; yyj1268++ { - yyh1268.ElemContainerState(yyj1268) + yyj1294 := 0 + for ; yyj1294 < yyrr1294; yyj1294++ { + yyh1294.ElemContainerState(yyj1294) if r.TryDecodeAsNil() { - yyv1268[yyj1268] = Job{} + yyv1294[yyj1294] = Job{} } else { - yyv1269 := &yyv1268[yyj1268] - yyv1269.CodecDecodeSelf(d) + yyv1295 := &yyv1294[yyj1294] + yyv1295.CodecDecodeSelf(d) } } - if yyrt1268 { - for ; yyj1268 < yyl1268; yyj1268++ { - yyv1268 = append(yyv1268, Job{}) - yyh1268.ElemContainerState(yyj1268) + if yyrt1294 { + for ; yyj1294 < yyl1294; yyj1294++ { + yyv1294 = append(yyv1294, Job{}) + yyh1294.ElemContainerState(yyj1294) if r.TryDecodeAsNil() { - yyv1268[yyj1268] = Job{} + yyv1294[yyj1294] = Job{} } else { - yyv1270 := &yyv1268[yyj1268] - yyv1270.CodecDecodeSelf(d) + yyv1296 := &yyv1294[yyj1294] + yyv1296.CodecDecodeSelf(d) } } } } else { - yyj1268 := 0 - for ; !r.CheckBreak(); yyj1268++ { + yyj1294 := 0 + for ; !r.CheckBreak(); yyj1294++ { - if yyj1268 >= len(yyv1268) { - yyv1268 = append(yyv1268, Job{}) // var yyz1268 Job - yyc1268 = true + if yyj1294 >= len(yyv1294) { + yyv1294 = append(yyv1294, Job{}) // var yyz1294 Job + yyc1294 = true } - yyh1268.ElemContainerState(yyj1268) - if yyj1268 < len(yyv1268) { + yyh1294.ElemContainerState(yyj1294) + if yyj1294 < len(yyv1294) { if r.TryDecodeAsNil() { - yyv1268[yyj1268] = Job{} + yyv1294[yyj1294] = Job{} } else { - yyv1271 := &yyv1268[yyj1268] - yyv1271.CodecDecodeSelf(d) + yyv1297 := &yyv1294[yyj1294] + yyv1297.CodecDecodeSelf(d) } } else { @@ -15495,17 +15794,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj1268 < len(yyv1268) { - yyv1268 = yyv1268[:yyj1268] - yyc1268 = true - } else if yyj1268 == 0 && yyv1268 == nil { - yyv1268 = []Job{} - yyc1268 = true + if yyj1294 < len(yyv1294) { + yyv1294 = yyv1294[:yyj1294] + yyc1294 = true + } else if yyj1294 == 0 && yyv1294 == nil { + yyv1294 = []Job{} + yyc1294 = true } } - yyh1268.End() - if yyc1268 { - *v = yyv1268 + yyh1294.End() + if yyc1294 { + *v = yyv1294 } } @@ -15514,10 +15813,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1272 := range v { + for _, yyv1298 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1273 := &yyv1272 - yy1273.CodecEncodeSelf(e) + yy1299 := &yyv1298 + yy1299.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15527,83 +15826,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1274 := *v - yyh1274, yyl1274 := z.DecSliceHelperStart() - var yyc1274 bool - if yyl1274 == 0 { - if yyv1274 == nil { - yyv1274 = []JobCondition{} - yyc1274 = true - } else if len(yyv1274) != 0 { - yyv1274 = yyv1274[:0] - yyc1274 = true + 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 } - } else if yyl1274 > 0 { - var yyrr1274, yyrl1274 int - var yyrt1274 bool - if yyl1274 > cap(yyv1274) { + } else if yyl1300 > 0 { + var yyrr1300, yyrl1300 int + var yyrt1300 bool + if yyl1300 > cap(yyv1300) { - yyrg1274 := len(yyv1274) > 0 - yyv21274 := yyv1274 - yyrl1274, yyrt1274 = z.DecInferLen(yyl1274, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1274 { - if yyrl1274 <= cap(yyv1274) { - yyv1274 = yyv1274[:yyrl1274] + yyrg1300 := len(yyv1300) > 0 + yyv21300 := yyv1300 + yyrl1300, yyrt1300 = z.DecInferLen(yyl1300, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1300 { + if yyrl1300 <= cap(yyv1300) { + yyv1300 = yyv1300[:yyrl1300] } else { - yyv1274 = make([]JobCondition, yyrl1274) + yyv1300 = make([]JobCondition, yyrl1300) } } else { - yyv1274 = make([]JobCondition, yyrl1274) + yyv1300 = make([]JobCondition, yyrl1300) } - yyc1274 = true - yyrr1274 = len(yyv1274) - if yyrg1274 { - copy(yyv1274, yyv21274) + yyc1300 = true + yyrr1300 = len(yyv1300) + if yyrg1300 { + copy(yyv1300, yyv21300) } - } else if yyl1274 != len(yyv1274) { - yyv1274 = yyv1274[:yyl1274] - yyc1274 = true + } else if yyl1300 != len(yyv1300) { + yyv1300 = yyv1300[:yyl1300] + yyc1300 = true } - yyj1274 := 0 - for ; yyj1274 < yyrr1274; yyj1274++ { - yyh1274.ElemContainerState(yyj1274) + yyj1300 := 0 + for ; yyj1300 < yyrr1300; yyj1300++ { + yyh1300.ElemContainerState(yyj1300) if r.TryDecodeAsNil() { - yyv1274[yyj1274] = JobCondition{} + yyv1300[yyj1300] = JobCondition{} } else { - yyv1275 := &yyv1274[yyj1274] - yyv1275.CodecDecodeSelf(d) + yyv1301 := &yyv1300[yyj1300] + yyv1301.CodecDecodeSelf(d) } } - if yyrt1274 { - for ; yyj1274 < yyl1274; yyj1274++ { - yyv1274 = append(yyv1274, JobCondition{}) - yyh1274.ElemContainerState(yyj1274) + if yyrt1300 { + for ; yyj1300 < yyl1300; yyj1300++ { + yyv1300 = append(yyv1300, JobCondition{}) + yyh1300.ElemContainerState(yyj1300) if r.TryDecodeAsNil() { - yyv1274[yyj1274] = JobCondition{} + yyv1300[yyj1300] = JobCondition{} } else { - yyv1276 := &yyv1274[yyj1274] - yyv1276.CodecDecodeSelf(d) + yyv1302 := &yyv1300[yyj1300] + yyv1302.CodecDecodeSelf(d) } } } } else { - yyj1274 := 0 - for ; !r.CheckBreak(); yyj1274++ { + yyj1300 := 0 + for ; !r.CheckBreak(); yyj1300++ { - if yyj1274 >= len(yyv1274) { - yyv1274 = append(yyv1274, JobCondition{}) // var yyz1274 JobCondition - yyc1274 = true + if yyj1300 >= len(yyv1300) { + yyv1300 = append(yyv1300, JobCondition{}) // var yyz1300 JobCondition + yyc1300 = true } - yyh1274.ElemContainerState(yyj1274) - if yyj1274 < len(yyv1274) { + yyh1300.ElemContainerState(yyj1300) + if yyj1300 < len(yyv1300) { if r.TryDecodeAsNil() { - yyv1274[yyj1274] = JobCondition{} + yyv1300[yyj1300] = JobCondition{} } else { - yyv1277 := &yyv1274[yyj1274] - yyv1277.CodecDecodeSelf(d) + yyv1303 := &yyv1300[yyj1300] + yyv1303.CodecDecodeSelf(d) } } else { @@ -15611,17 +15910,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj1274 < len(yyv1274) { - yyv1274 = yyv1274[:yyj1274] - yyc1274 = true - } else if yyj1274 == 0 && yyv1274 == nil { - yyv1274 = []JobCondition{} - yyc1274 = true + if yyj1300 < len(yyv1300) { + yyv1300 = yyv1300[:yyj1300] + yyc1300 = true + } else if yyj1300 == 0 && yyv1300 == nil { + yyv1300 = []JobCondition{} + yyc1300 = true } } - yyh1274.End() - if yyc1274 { - *v = yyv1274 + yyh1300.End() + if yyc1300 { + *v = yyv1300 } } @@ -15630,10 +15929,10 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1278 := range v { + for _, yyv1304 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1279 := &yyv1278 - yy1279.CodecEncodeSelf(e) + yy1305 := &yyv1304 + yy1305.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15643,83 +15942,83 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1280 := *v - yyh1280, yyl1280 := z.DecSliceHelperStart() - var yyc1280 bool - if yyl1280 == 0 { - if yyv1280 == nil { - yyv1280 = []Ingress{} - yyc1280 = true - } else if len(yyv1280) != 0 { - yyv1280 = yyv1280[:0] - yyc1280 = true + 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 } - } else if yyl1280 > 0 { - var yyrr1280, yyrl1280 int - var yyrt1280 bool - if yyl1280 > cap(yyv1280) { + } else if yyl1306 > 0 { + var yyrr1306, yyrl1306 int + var yyrt1306 bool + if yyl1306 > cap(yyv1306) { - yyrg1280 := len(yyv1280) > 0 - yyv21280 := yyv1280 - yyrl1280, yyrt1280 = z.DecInferLen(yyl1280, z.DecBasicHandle().MaxInitLen, 248) - if yyrt1280 { - if yyrl1280 <= cap(yyv1280) { - yyv1280 = yyv1280[:yyrl1280] + yyrg1306 := len(yyv1306) > 0 + yyv21306 := yyv1306 + yyrl1306, yyrt1306 = z.DecInferLen(yyl1306, z.DecBasicHandle().MaxInitLen, 248) + if yyrt1306 { + if yyrl1306 <= cap(yyv1306) { + yyv1306 = yyv1306[:yyrl1306] } else { - yyv1280 = make([]Ingress, yyrl1280) + yyv1306 = make([]Ingress, yyrl1306) } } else { - yyv1280 = make([]Ingress, yyrl1280) + yyv1306 = make([]Ingress, yyrl1306) } - yyc1280 = true - yyrr1280 = len(yyv1280) - if yyrg1280 { - copy(yyv1280, yyv21280) + yyc1306 = true + yyrr1306 = len(yyv1306) + if yyrg1306 { + copy(yyv1306, yyv21306) } - } else if yyl1280 != len(yyv1280) { - yyv1280 = yyv1280[:yyl1280] - yyc1280 = true + } else if yyl1306 != len(yyv1306) { + yyv1306 = yyv1306[:yyl1306] + yyc1306 = true } - yyj1280 := 0 - for ; yyj1280 < yyrr1280; yyj1280++ { - yyh1280.ElemContainerState(yyj1280) + yyj1306 := 0 + for ; yyj1306 < yyrr1306; yyj1306++ { + yyh1306.ElemContainerState(yyj1306) if r.TryDecodeAsNil() { - yyv1280[yyj1280] = Ingress{} + yyv1306[yyj1306] = Ingress{} } else { - yyv1281 := &yyv1280[yyj1280] - yyv1281.CodecDecodeSelf(d) + yyv1307 := &yyv1306[yyj1306] + yyv1307.CodecDecodeSelf(d) } } - if yyrt1280 { - for ; yyj1280 < yyl1280; yyj1280++ { - yyv1280 = append(yyv1280, Ingress{}) - yyh1280.ElemContainerState(yyj1280) + if yyrt1306 { + for ; yyj1306 < yyl1306; yyj1306++ { + yyv1306 = append(yyv1306, Ingress{}) + yyh1306.ElemContainerState(yyj1306) if r.TryDecodeAsNil() { - yyv1280[yyj1280] = Ingress{} + yyv1306[yyj1306] = Ingress{} } else { - yyv1282 := &yyv1280[yyj1280] - yyv1282.CodecDecodeSelf(d) + yyv1308 := &yyv1306[yyj1306] + yyv1308.CodecDecodeSelf(d) } } } } else { - yyj1280 := 0 - for ; !r.CheckBreak(); yyj1280++ { + yyj1306 := 0 + for ; !r.CheckBreak(); yyj1306++ { - if yyj1280 >= len(yyv1280) { - yyv1280 = append(yyv1280, Ingress{}) // var yyz1280 Ingress - yyc1280 = true + if yyj1306 >= len(yyv1306) { + yyv1306 = append(yyv1306, Ingress{}) // var yyz1306 Ingress + yyc1306 = true } - yyh1280.ElemContainerState(yyj1280) - if yyj1280 < len(yyv1280) { + yyh1306.ElemContainerState(yyj1306) + if yyj1306 < len(yyv1306) { if r.TryDecodeAsNil() { - yyv1280[yyj1280] = Ingress{} + yyv1306[yyj1306] = Ingress{} } else { - yyv1283 := &yyv1280[yyj1280] - yyv1283.CodecDecodeSelf(d) + yyv1309 := &yyv1306[yyj1306] + yyv1309.CodecDecodeSelf(d) } } else { @@ -15727,17 +16026,17 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } - if yyj1280 < len(yyv1280) { - yyv1280 = yyv1280[:yyj1280] - yyc1280 = true - } else if yyj1280 == 0 && yyv1280 == nil { - yyv1280 = []Ingress{} - yyc1280 = true + if yyj1306 < len(yyv1306) { + yyv1306 = yyv1306[:yyj1306] + yyc1306 = true + } else if yyj1306 == 0 && yyv1306 == nil { + yyv1306 = []Ingress{} + yyc1306 = true } } - yyh1280.End() - if yyc1280 { - *v = yyv1280 + yyh1306.End() + if yyc1306 { + *v = yyv1306 } } @@ -15746,10 +16045,10 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1284 := range v { + for _, yyv1310 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1285 := &yyv1284 - yy1285.CodecEncodeSelf(e) + yy1311 := &yyv1310 + yy1311.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15759,83 +16058,83 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1286 := *v - yyh1286, yyl1286 := z.DecSliceHelperStart() - var yyc1286 bool - if yyl1286 == 0 { - if yyv1286 == nil { - yyv1286 = []IngressRule{} - yyc1286 = true - } else if len(yyv1286) != 0 { - yyv1286 = yyv1286[:0] - yyc1286 = true + 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 } - } else if yyl1286 > 0 { - var yyrr1286, yyrl1286 int - var yyrt1286 bool - if yyl1286 > cap(yyv1286) { + } else if yyl1312 > 0 { + var yyrr1312, yyrl1312 int + var yyrt1312 bool + if yyl1312 > cap(yyv1312) { - yyrg1286 := len(yyv1286) > 0 - yyv21286 := yyv1286 - yyrl1286, yyrt1286 = z.DecInferLen(yyl1286, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1286 { - if yyrl1286 <= cap(yyv1286) { - yyv1286 = yyv1286[:yyrl1286] + yyrg1312 := len(yyv1312) > 0 + yyv21312 := yyv1312 + yyrl1312, yyrt1312 = z.DecInferLen(yyl1312, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1312 { + if yyrl1312 <= cap(yyv1312) { + yyv1312 = yyv1312[:yyrl1312] } else { - yyv1286 = make([]IngressRule, yyrl1286) + yyv1312 = make([]IngressRule, yyrl1312) } } else { - yyv1286 = make([]IngressRule, yyrl1286) + yyv1312 = make([]IngressRule, yyrl1312) } - yyc1286 = true - yyrr1286 = len(yyv1286) - if yyrg1286 { - copy(yyv1286, yyv21286) + yyc1312 = true + yyrr1312 = len(yyv1312) + if yyrg1312 { + copy(yyv1312, yyv21312) } - } else if yyl1286 != len(yyv1286) { - yyv1286 = yyv1286[:yyl1286] - yyc1286 = true + } else if yyl1312 != len(yyv1312) { + yyv1312 = yyv1312[:yyl1312] + yyc1312 = true } - yyj1286 := 0 - for ; yyj1286 < yyrr1286; yyj1286++ { - yyh1286.ElemContainerState(yyj1286) + yyj1312 := 0 + for ; yyj1312 < yyrr1312; yyj1312++ { + yyh1312.ElemContainerState(yyj1312) if r.TryDecodeAsNil() { - yyv1286[yyj1286] = IngressRule{} + yyv1312[yyj1312] = IngressRule{} } else { - yyv1287 := &yyv1286[yyj1286] - yyv1287.CodecDecodeSelf(d) + yyv1313 := &yyv1312[yyj1312] + yyv1313.CodecDecodeSelf(d) } } - if yyrt1286 { - for ; yyj1286 < yyl1286; yyj1286++ { - yyv1286 = append(yyv1286, IngressRule{}) - yyh1286.ElemContainerState(yyj1286) + if yyrt1312 { + for ; yyj1312 < yyl1312; yyj1312++ { + yyv1312 = append(yyv1312, IngressRule{}) + yyh1312.ElemContainerState(yyj1312) if r.TryDecodeAsNil() { - yyv1286[yyj1286] = IngressRule{} + yyv1312[yyj1312] = IngressRule{} } else { - yyv1288 := &yyv1286[yyj1286] - yyv1288.CodecDecodeSelf(d) + yyv1314 := &yyv1312[yyj1312] + yyv1314.CodecDecodeSelf(d) } } } } else { - yyj1286 := 0 - for ; !r.CheckBreak(); yyj1286++ { + yyj1312 := 0 + for ; !r.CheckBreak(); yyj1312++ { - if yyj1286 >= len(yyv1286) { - yyv1286 = append(yyv1286, IngressRule{}) // var yyz1286 IngressRule - yyc1286 = true + if yyj1312 >= len(yyv1312) { + yyv1312 = append(yyv1312, IngressRule{}) // var yyz1312 IngressRule + yyc1312 = true } - yyh1286.ElemContainerState(yyj1286) - if yyj1286 < len(yyv1286) { + yyh1312.ElemContainerState(yyj1312) + if yyj1312 < len(yyv1312) { if r.TryDecodeAsNil() { - yyv1286[yyj1286] = IngressRule{} + yyv1312[yyj1312] = IngressRule{} } else { - yyv1289 := &yyv1286[yyj1286] - yyv1289.CodecDecodeSelf(d) + yyv1315 := &yyv1312[yyj1312] + yyv1315.CodecDecodeSelf(d) } } else { @@ -15843,17 +16142,17 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } } - if yyj1286 < len(yyv1286) { - yyv1286 = yyv1286[:yyj1286] - yyc1286 = true - } else if yyj1286 == 0 && yyv1286 == nil { - yyv1286 = []IngressRule{} - yyc1286 = true + if yyj1312 < len(yyv1312) { + yyv1312 = yyv1312[:yyj1312] + yyc1312 = true + } else if yyj1312 == 0 && yyv1312 == nil { + yyv1312 = []IngressRule{} + yyc1312 = true } } - yyh1286.End() - if yyc1286 { - *v = yyv1286 + yyh1312.End() + if yyc1312 { + *v = yyv1312 } } @@ -15862,10 +16161,10 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1290 := range v { + for _, yyv1316 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1291 := &yyv1290 - yy1291.CodecEncodeSelf(e) + yy1317 := &yyv1316 + yy1317.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15875,83 +16174,83 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1292 := *v - yyh1292, yyl1292 := z.DecSliceHelperStart() - var yyc1292 bool - if yyl1292 == 0 { - if yyv1292 == nil { - yyv1292 = []HTTPIngressPath{} - yyc1292 = true - } else if len(yyv1292) != 0 { - yyv1292 = yyv1292[:0] - yyc1292 = true + 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 } - } else if yyl1292 > 0 { - var yyrr1292, yyrl1292 int - var yyrt1292 bool - if yyl1292 > cap(yyv1292) { + } else if yyl1318 > 0 { + var yyrr1318, yyrl1318 int + var yyrt1318 bool + if yyl1318 > cap(yyv1318) { - yyrg1292 := len(yyv1292) > 0 - yyv21292 := yyv1292 - yyrl1292, yyrt1292 = z.DecInferLen(yyl1292, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1292 { - if yyrl1292 <= cap(yyv1292) { - yyv1292 = yyv1292[:yyrl1292] + yyrg1318 := len(yyv1318) > 0 + yyv21318 := yyv1318 + yyrl1318, yyrt1318 = z.DecInferLen(yyl1318, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1318 { + if yyrl1318 <= cap(yyv1318) { + yyv1318 = yyv1318[:yyrl1318] } else { - yyv1292 = make([]HTTPIngressPath, yyrl1292) + yyv1318 = make([]HTTPIngressPath, yyrl1318) } } else { - yyv1292 = make([]HTTPIngressPath, yyrl1292) + yyv1318 = make([]HTTPIngressPath, yyrl1318) } - yyc1292 = true - yyrr1292 = len(yyv1292) - if yyrg1292 { - copy(yyv1292, yyv21292) + yyc1318 = true + yyrr1318 = len(yyv1318) + if yyrg1318 { + copy(yyv1318, yyv21318) } - } else if yyl1292 != len(yyv1292) { - yyv1292 = yyv1292[:yyl1292] - yyc1292 = true + } else if yyl1318 != len(yyv1318) { + yyv1318 = yyv1318[:yyl1318] + yyc1318 = true } - yyj1292 := 0 - for ; yyj1292 < yyrr1292; yyj1292++ { - yyh1292.ElemContainerState(yyj1292) + yyj1318 := 0 + for ; yyj1318 < yyrr1318; yyj1318++ { + yyh1318.ElemContainerState(yyj1318) if r.TryDecodeAsNil() { - yyv1292[yyj1292] = HTTPIngressPath{} + yyv1318[yyj1318] = HTTPIngressPath{} } else { - yyv1293 := &yyv1292[yyj1292] - yyv1293.CodecDecodeSelf(d) + yyv1319 := &yyv1318[yyj1318] + yyv1319.CodecDecodeSelf(d) } } - if yyrt1292 { - for ; yyj1292 < yyl1292; yyj1292++ { - yyv1292 = append(yyv1292, HTTPIngressPath{}) - yyh1292.ElemContainerState(yyj1292) + if yyrt1318 { + for ; yyj1318 < yyl1318; yyj1318++ { + yyv1318 = append(yyv1318, HTTPIngressPath{}) + yyh1318.ElemContainerState(yyj1318) if r.TryDecodeAsNil() { - yyv1292[yyj1292] = HTTPIngressPath{} + yyv1318[yyj1318] = HTTPIngressPath{} } else { - yyv1294 := &yyv1292[yyj1292] - yyv1294.CodecDecodeSelf(d) + yyv1320 := &yyv1318[yyj1318] + yyv1320.CodecDecodeSelf(d) } } } } else { - yyj1292 := 0 - for ; !r.CheckBreak(); yyj1292++ { + yyj1318 := 0 + for ; !r.CheckBreak(); yyj1318++ { - if yyj1292 >= len(yyv1292) { - yyv1292 = append(yyv1292, HTTPIngressPath{}) // var yyz1292 HTTPIngressPath - yyc1292 = true + if yyj1318 >= len(yyv1318) { + yyv1318 = append(yyv1318, HTTPIngressPath{}) // var yyz1318 HTTPIngressPath + yyc1318 = true } - yyh1292.ElemContainerState(yyj1292) - if yyj1292 < len(yyv1292) { + yyh1318.ElemContainerState(yyj1318) + if yyj1318 < len(yyv1318) { if r.TryDecodeAsNil() { - yyv1292[yyj1292] = HTTPIngressPath{} + yyv1318[yyj1318] = HTTPIngressPath{} } else { - yyv1295 := &yyv1292[yyj1292] - yyv1295.CodecDecodeSelf(d) + yyv1321 := &yyv1318[yyj1318] + yyv1321.CodecDecodeSelf(d) } } else { @@ -15959,17 +16258,17 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } } - if yyj1292 < len(yyv1292) { - yyv1292 = yyv1292[:yyj1292] - yyc1292 = true - } else if yyj1292 == 0 && yyv1292 == nil { - yyv1292 = []HTTPIngressPath{} - yyc1292 = true + if yyj1318 < len(yyv1318) { + yyv1318 = yyv1318[:yyj1318] + yyc1318 = true + } else if yyj1318 == 0 && yyv1318 == nil { + yyv1318 = []HTTPIngressPath{} + yyc1318 = true } } - yyh1292.End() - if yyc1292 { - *v = yyv1292 + yyh1318.End() + if yyc1318 { + *v = yyv1318 } } @@ -15978,10 +16277,10 @@ func (x codecSelfer1234) encSliceNodeUtilization(v []NodeUtilization, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1296 := range v { + for _, yyv1322 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1297 := &yyv1296 - yy1297.CodecEncodeSelf(e) + yy1323 := &yyv1322 + yy1323.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15991,83 +16290,83 @@ func (x codecSelfer1234) decSliceNodeUtilization(v *[]NodeUtilization, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1298 := *v - yyh1298, yyl1298 := z.DecSliceHelperStart() - var yyc1298 bool - if yyl1298 == 0 { - if yyv1298 == nil { - yyv1298 = []NodeUtilization{} - yyc1298 = true - } else if len(yyv1298) != 0 { - yyv1298 = yyv1298[:0] - yyc1298 = true + 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 } - } else if yyl1298 > 0 { - var yyrr1298, yyrl1298 int - var yyrt1298 bool - if yyl1298 > cap(yyv1298) { + } else if yyl1324 > 0 { + var yyrr1324, yyrl1324 int + var yyrt1324 bool + if yyl1324 > cap(yyv1324) { - yyrg1298 := len(yyv1298) > 0 - yyv21298 := yyv1298 - yyrl1298, yyrt1298 = z.DecInferLen(yyl1298, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1298 { - if yyrl1298 <= cap(yyv1298) { - yyv1298 = yyv1298[:yyrl1298] + yyrg1324 := len(yyv1324) > 0 + yyv21324 := yyv1324 + yyrl1324, yyrt1324 = z.DecInferLen(yyl1324, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1324 { + if yyrl1324 <= cap(yyv1324) { + yyv1324 = yyv1324[:yyrl1324] } else { - yyv1298 = make([]NodeUtilization, yyrl1298) + yyv1324 = make([]NodeUtilization, yyrl1324) } } else { - yyv1298 = make([]NodeUtilization, yyrl1298) + yyv1324 = make([]NodeUtilization, yyrl1324) } - yyc1298 = true - yyrr1298 = len(yyv1298) - if yyrg1298 { - copy(yyv1298, yyv21298) + yyc1324 = true + yyrr1324 = len(yyv1324) + if yyrg1324 { + copy(yyv1324, yyv21324) } - } else if yyl1298 != len(yyv1298) { - yyv1298 = yyv1298[:yyl1298] - yyc1298 = true + } else if yyl1324 != len(yyv1324) { + yyv1324 = yyv1324[:yyl1324] + yyc1324 = true } - yyj1298 := 0 - for ; yyj1298 < yyrr1298; yyj1298++ { - yyh1298.ElemContainerState(yyj1298) + yyj1324 := 0 + for ; yyj1324 < yyrr1324; yyj1324++ { + yyh1324.ElemContainerState(yyj1324) if r.TryDecodeAsNil() { - yyv1298[yyj1298] = NodeUtilization{} + yyv1324[yyj1324] = NodeUtilization{} } else { - yyv1299 := &yyv1298[yyj1298] - yyv1299.CodecDecodeSelf(d) + yyv1325 := &yyv1324[yyj1324] + yyv1325.CodecDecodeSelf(d) } } - if yyrt1298 { - for ; yyj1298 < yyl1298; yyj1298++ { - yyv1298 = append(yyv1298, NodeUtilization{}) - yyh1298.ElemContainerState(yyj1298) + if yyrt1324 { + for ; yyj1324 < yyl1324; yyj1324++ { + yyv1324 = append(yyv1324, NodeUtilization{}) + yyh1324.ElemContainerState(yyj1324) if r.TryDecodeAsNil() { - yyv1298[yyj1298] = NodeUtilization{} + yyv1324[yyj1324] = NodeUtilization{} } else { - yyv1300 := &yyv1298[yyj1298] - yyv1300.CodecDecodeSelf(d) + yyv1326 := &yyv1324[yyj1324] + yyv1326.CodecDecodeSelf(d) } } } } else { - yyj1298 := 0 - for ; !r.CheckBreak(); yyj1298++ { + yyj1324 := 0 + for ; !r.CheckBreak(); yyj1324++ { - if yyj1298 >= len(yyv1298) { - yyv1298 = append(yyv1298, NodeUtilization{}) // var yyz1298 NodeUtilization - yyc1298 = true + if yyj1324 >= len(yyv1324) { + yyv1324 = append(yyv1324, NodeUtilization{}) // var yyz1324 NodeUtilization + yyc1324 = true } - yyh1298.ElemContainerState(yyj1298) - if yyj1298 < len(yyv1298) { + yyh1324.ElemContainerState(yyj1324) + if yyj1324 < len(yyv1324) { if r.TryDecodeAsNil() { - yyv1298[yyj1298] = NodeUtilization{} + yyv1324[yyj1324] = NodeUtilization{} } else { - yyv1301 := &yyv1298[yyj1298] - yyv1301.CodecDecodeSelf(d) + yyv1327 := &yyv1324[yyj1324] + yyv1327.CodecDecodeSelf(d) } } else { @@ -16075,17 +16374,17 @@ func (x codecSelfer1234) decSliceNodeUtilization(v *[]NodeUtilization, d *codec1 } } - if yyj1298 < len(yyv1298) { - yyv1298 = yyv1298[:yyj1298] - yyc1298 = true - } else if yyj1298 == 0 && yyv1298 == nil { - yyv1298 = []NodeUtilization{} - yyc1298 = true + if yyj1324 < len(yyv1324) { + yyv1324 = yyv1324[:yyj1324] + yyc1324 = true + } else if yyj1324 == 0 && yyv1324 == nil { + yyv1324 = []NodeUtilization{} + yyc1324 = true } } - yyh1298.End() - if yyc1298 { - *v = yyv1298 + yyh1324.End() + if yyc1324 { + *v = yyv1324 } } @@ -16094,10 +16393,10 @@ func (x codecSelfer1234) encSliceClusterAutoscaler(v []ClusterAutoscaler, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1302 := range v { + for _, yyv1328 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1303 := &yyv1302 - yy1303.CodecEncodeSelf(e) + yy1329 := &yyv1328 + yy1329.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16107,83 +16406,83 @@ func (x codecSelfer1234) decSliceClusterAutoscaler(v *[]ClusterAutoscaler, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1304 := *v - yyh1304, yyl1304 := z.DecSliceHelperStart() - var yyc1304 bool - if yyl1304 == 0 { - if yyv1304 == nil { - yyv1304 = []ClusterAutoscaler{} - yyc1304 = true - } else if len(yyv1304) != 0 { - yyv1304 = yyv1304[:0] - yyc1304 = true + 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 } - } else if yyl1304 > 0 { - var yyrr1304, yyrl1304 int - var yyrt1304 bool - if yyl1304 > cap(yyv1304) { + } else if yyl1330 > 0 { + var yyrr1330, yyrl1330 int + var yyrt1330 bool + if yyl1330 > cap(yyv1330) { - yyrg1304 := len(yyv1304) > 0 - yyv21304 := yyv1304 - yyrl1304, yyrt1304 = z.DecInferLen(yyl1304, z.DecBasicHandle().MaxInitLen, 224) - if yyrt1304 { - if yyrl1304 <= cap(yyv1304) { - yyv1304 = yyv1304[:yyrl1304] + yyrg1330 := len(yyv1330) > 0 + yyv21330 := yyv1330 + yyrl1330, yyrt1330 = z.DecInferLen(yyl1330, z.DecBasicHandle().MaxInitLen, 224) + if yyrt1330 { + if yyrl1330 <= cap(yyv1330) { + yyv1330 = yyv1330[:yyrl1330] } else { - yyv1304 = make([]ClusterAutoscaler, yyrl1304) + yyv1330 = make([]ClusterAutoscaler, yyrl1330) } } else { - yyv1304 = make([]ClusterAutoscaler, yyrl1304) + yyv1330 = make([]ClusterAutoscaler, yyrl1330) } - yyc1304 = true - yyrr1304 = len(yyv1304) - if yyrg1304 { - copy(yyv1304, yyv21304) + yyc1330 = true + yyrr1330 = len(yyv1330) + if yyrg1330 { + copy(yyv1330, yyv21330) } - } else if yyl1304 != len(yyv1304) { - yyv1304 = yyv1304[:yyl1304] - yyc1304 = true + } else if yyl1330 != len(yyv1330) { + yyv1330 = yyv1330[:yyl1330] + yyc1330 = true } - yyj1304 := 0 - for ; yyj1304 < yyrr1304; yyj1304++ { - yyh1304.ElemContainerState(yyj1304) + yyj1330 := 0 + for ; yyj1330 < yyrr1330; yyj1330++ { + yyh1330.ElemContainerState(yyj1330) if r.TryDecodeAsNil() { - yyv1304[yyj1304] = ClusterAutoscaler{} + yyv1330[yyj1330] = ClusterAutoscaler{} } else { - yyv1305 := &yyv1304[yyj1304] - yyv1305.CodecDecodeSelf(d) + yyv1331 := &yyv1330[yyj1330] + yyv1331.CodecDecodeSelf(d) } } - if yyrt1304 { - for ; yyj1304 < yyl1304; yyj1304++ { - yyv1304 = append(yyv1304, ClusterAutoscaler{}) - yyh1304.ElemContainerState(yyj1304) + if yyrt1330 { + for ; yyj1330 < yyl1330; yyj1330++ { + yyv1330 = append(yyv1330, ClusterAutoscaler{}) + yyh1330.ElemContainerState(yyj1330) if r.TryDecodeAsNil() { - yyv1304[yyj1304] = ClusterAutoscaler{} + yyv1330[yyj1330] = ClusterAutoscaler{} } else { - yyv1306 := &yyv1304[yyj1304] - yyv1306.CodecDecodeSelf(d) + yyv1332 := &yyv1330[yyj1330] + yyv1332.CodecDecodeSelf(d) } } } } else { - yyj1304 := 0 - for ; !r.CheckBreak(); yyj1304++ { + yyj1330 := 0 + for ; !r.CheckBreak(); yyj1330++ { - if yyj1304 >= len(yyv1304) { - yyv1304 = append(yyv1304, ClusterAutoscaler{}) // var yyz1304 ClusterAutoscaler - yyc1304 = true + if yyj1330 >= len(yyv1330) { + yyv1330 = append(yyv1330, ClusterAutoscaler{}) // var yyz1330 ClusterAutoscaler + yyc1330 = true } - yyh1304.ElemContainerState(yyj1304) - if yyj1304 < len(yyv1304) { + yyh1330.ElemContainerState(yyj1330) + if yyj1330 < len(yyv1330) { if r.TryDecodeAsNil() { - yyv1304[yyj1304] = ClusterAutoscaler{} + yyv1330[yyj1330] = ClusterAutoscaler{} } else { - yyv1307 := &yyv1304[yyj1304] - yyv1307.CodecDecodeSelf(d) + yyv1333 := &yyv1330[yyj1330] + yyv1333.CodecDecodeSelf(d) } } else { @@ -16191,17 +16490,17 @@ func (x codecSelfer1234) decSliceClusterAutoscaler(v *[]ClusterAutoscaler, d *co } } - if yyj1304 < len(yyv1304) { - yyv1304 = yyv1304[:yyj1304] - yyc1304 = true - } else if yyj1304 == 0 && yyv1304 == nil { - yyv1304 = []ClusterAutoscaler{} - yyc1304 = true + if yyj1330 < len(yyv1330) { + yyv1330 = yyv1330[:yyj1330] + yyc1330 = true + } else if yyj1330 == 0 && yyv1330 == nil { + yyv1330 = []ClusterAutoscaler{} + yyc1330 = true } } - yyh1304.End() - if yyc1304 { - *v = yyv1304 + yyh1330.End() + if yyc1330 { + *v = yyv1330 } } @@ -16210,10 +16509,10 @@ func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequi z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1308 := range v { + for _, yyv1334 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1309 := &yyv1308 - yy1309.CodecEncodeSelf(e) + yy1335 := &yyv1334 + yy1335.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16223,83 +16522,83 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1310 := *v - yyh1310, yyl1310 := z.DecSliceHelperStart() - var yyc1310 bool - if yyl1310 == 0 { - if yyv1310 == nil { - yyv1310 = []LabelSelectorRequirement{} - yyc1310 = true - } else if len(yyv1310) != 0 { - yyv1310 = yyv1310[:0] - yyc1310 = true + 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 } - } else if yyl1310 > 0 { - var yyrr1310, yyrl1310 int - var yyrt1310 bool - if yyl1310 > cap(yyv1310) { + } else if yyl1336 > 0 { + var yyrr1336, yyrl1336 int + var yyrt1336 bool + if yyl1336 > cap(yyv1336) { - yyrg1310 := len(yyv1310) > 0 - yyv21310 := yyv1310 - yyrl1310, yyrt1310 = z.DecInferLen(yyl1310, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1310 { - if yyrl1310 <= cap(yyv1310) { - yyv1310 = yyv1310[:yyrl1310] + yyrg1336 := len(yyv1336) > 0 + yyv21336 := yyv1336 + yyrl1336, yyrt1336 = z.DecInferLen(yyl1336, z.DecBasicHandle().MaxInitLen, 56) + if yyrt1336 { + if yyrl1336 <= cap(yyv1336) { + yyv1336 = yyv1336[:yyrl1336] } else { - yyv1310 = make([]LabelSelectorRequirement, yyrl1310) + yyv1336 = make([]LabelSelectorRequirement, yyrl1336) } } else { - yyv1310 = make([]LabelSelectorRequirement, yyrl1310) + yyv1336 = make([]LabelSelectorRequirement, yyrl1336) } - yyc1310 = true - yyrr1310 = len(yyv1310) - if yyrg1310 { - copy(yyv1310, yyv21310) + yyc1336 = true + yyrr1336 = len(yyv1336) + if yyrg1336 { + copy(yyv1336, yyv21336) } - } else if yyl1310 != len(yyv1310) { - yyv1310 = yyv1310[:yyl1310] - yyc1310 = true + } else if yyl1336 != len(yyv1336) { + yyv1336 = yyv1336[:yyl1336] + yyc1336 = true } - yyj1310 := 0 - for ; yyj1310 < yyrr1310; yyj1310++ { - yyh1310.ElemContainerState(yyj1310) + yyj1336 := 0 + for ; yyj1336 < yyrr1336; yyj1336++ { + yyh1336.ElemContainerState(yyj1336) if r.TryDecodeAsNil() { - yyv1310[yyj1310] = LabelSelectorRequirement{} + yyv1336[yyj1336] = LabelSelectorRequirement{} } else { - yyv1311 := &yyv1310[yyj1310] - yyv1311.CodecDecodeSelf(d) + yyv1337 := &yyv1336[yyj1336] + yyv1337.CodecDecodeSelf(d) } } - if yyrt1310 { - for ; yyj1310 < yyl1310; yyj1310++ { - yyv1310 = append(yyv1310, LabelSelectorRequirement{}) - yyh1310.ElemContainerState(yyj1310) + if yyrt1336 { + for ; yyj1336 < yyl1336; yyj1336++ { + yyv1336 = append(yyv1336, LabelSelectorRequirement{}) + yyh1336.ElemContainerState(yyj1336) if r.TryDecodeAsNil() { - yyv1310[yyj1310] = LabelSelectorRequirement{} + yyv1336[yyj1336] = LabelSelectorRequirement{} } else { - yyv1312 := &yyv1310[yyj1310] - yyv1312.CodecDecodeSelf(d) + yyv1338 := &yyv1336[yyj1336] + yyv1338.CodecDecodeSelf(d) } } } } else { - yyj1310 := 0 - for ; !r.CheckBreak(); yyj1310++ { + yyj1336 := 0 + for ; !r.CheckBreak(); yyj1336++ { - if yyj1310 >= len(yyv1310) { - yyv1310 = append(yyv1310, LabelSelectorRequirement{}) // var yyz1310 LabelSelectorRequirement - yyc1310 = true + if yyj1336 >= len(yyv1336) { + yyv1336 = append(yyv1336, LabelSelectorRequirement{}) // var yyz1336 LabelSelectorRequirement + yyc1336 = true } - yyh1310.ElemContainerState(yyj1310) - if yyj1310 < len(yyv1310) { + yyh1336.ElemContainerState(yyj1336) + if yyj1336 < len(yyv1336) { if r.TryDecodeAsNil() { - yyv1310[yyj1310] = LabelSelectorRequirement{} + yyv1336[yyj1336] = LabelSelectorRequirement{} } else { - yyv1313 := &yyv1310[yyj1310] - yyv1313.CodecDecodeSelf(d) + yyv1339 := &yyv1336[yyj1336] + yyv1339.CodecDecodeSelf(d) } } else { @@ -16307,17 +16606,17 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ } } - if yyj1310 < len(yyv1310) { - yyv1310 = yyv1310[:yyj1310] - yyc1310 = true - } else if yyj1310 == 0 && yyv1310 == nil { - yyv1310 = []LabelSelectorRequirement{} - yyc1310 = true + if yyj1336 < len(yyv1336) { + yyv1336 = yyv1336[:yyj1336] + yyc1336 = true + } else if yyj1336 == 0 && yyv1336 == nil { + yyv1336 = []LabelSelectorRequirement{} + yyc1336 = true } } - yyh1310.End() - if yyc1310 { - *v = yyv1310 + yyh1336.End() + if yyc1336 { + *v = yyv1336 } } @@ -16326,10 +16625,10 @@ func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1314 := range v { + for _, yyv1340 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1315 := &yyv1314 - yy1315.CodecEncodeSelf(e) + yy1341 := &yyv1340 + yy1341.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16339,83 +16638,83 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1316 := *v - yyh1316, yyl1316 := z.DecSliceHelperStart() - var yyc1316 bool - if yyl1316 == 0 { - if yyv1316 == nil { - yyv1316 = []ConfigMap{} - yyc1316 = true - } else if len(yyv1316) != 0 { - yyv1316 = yyv1316[:0] - yyc1316 = true + 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 } - } else if yyl1316 > 0 { - var yyrr1316, yyrl1316 int - var yyrt1316 bool - if yyl1316 > cap(yyv1316) { + } else if yyl1342 > 0 { + var yyrr1342, yyrl1342 int + var yyrt1342 bool + if yyl1342 > cap(yyv1342) { - yyrg1316 := len(yyv1316) > 0 - yyv21316 := yyv1316 - yyrl1316, yyrt1316 = z.DecInferLen(yyl1316, z.DecBasicHandle().MaxInitLen, 200) - if yyrt1316 { - if yyrl1316 <= cap(yyv1316) { - yyv1316 = yyv1316[:yyrl1316] + yyrg1342 := len(yyv1342) > 0 + yyv21342 := yyv1342 + yyrl1342, yyrt1342 = z.DecInferLen(yyl1342, z.DecBasicHandle().MaxInitLen, 200) + if yyrt1342 { + if yyrl1342 <= cap(yyv1342) { + yyv1342 = yyv1342[:yyrl1342] } else { - yyv1316 = make([]ConfigMap, yyrl1316) + yyv1342 = make([]ConfigMap, yyrl1342) } } else { - yyv1316 = make([]ConfigMap, yyrl1316) + yyv1342 = make([]ConfigMap, yyrl1342) } - yyc1316 = true - yyrr1316 = len(yyv1316) - if yyrg1316 { - copy(yyv1316, yyv21316) + yyc1342 = true + yyrr1342 = len(yyv1342) + if yyrg1342 { + copy(yyv1342, yyv21342) } - } else if yyl1316 != len(yyv1316) { - yyv1316 = yyv1316[:yyl1316] - yyc1316 = true + } else if yyl1342 != len(yyv1342) { + yyv1342 = yyv1342[:yyl1342] + yyc1342 = true } - yyj1316 := 0 - for ; yyj1316 < yyrr1316; yyj1316++ { - yyh1316.ElemContainerState(yyj1316) + yyj1342 := 0 + for ; yyj1342 < yyrr1342; yyj1342++ { + yyh1342.ElemContainerState(yyj1342) if r.TryDecodeAsNil() { - yyv1316[yyj1316] = ConfigMap{} + yyv1342[yyj1342] = ConfigMap{} } else { - yyv1317 := &yyv1316[yyj1316] - yyv1317.CodecDecodeSelf(d) + yyv1343 := &yyv1342[yyj1342] + yyv1343.CodecDecodeSelf(d) } } - if yyrt1316 { - for ; yyj1316 < yyl1316; yyj1316++ { - yyv1316 = append(yyv1316, ConfigMap{}) - yyh1316.ElemContainerState(yyj1316) + if yyrt1342 { + for ; yyj1342 < yyl1342; yyj1342++ { + yyv1342 = append(yyv1342, ConfigMap{}) + yyh1342.ElemContainerState(yyj1342) if r.TryDecodeAsNil() { - yyv1316[yyj1316] = ConfigMap{} + yyv1342[yyj1342] = ConfigMap{} } else { - yyv1318 := &yyv1316[yyj1316] - yyv1318.CodecDecodeSelf(d) + yyv1344 := &yyv1342[yyj1342] + yyv1344.CodecDecodeSelf(d) } } } } else { - yyj1316 := 0 - for ; !r.CheckBreak(); yyj1316++ { + yyj1342 := 0 + for ; !r.CheckBreak(); yyj1342++ { - if yyj1316 >= len(yyv1316) { - yyv1316 = append(yyv1316, ConfigMap{}) // var yyz1316 ConfigMap - yyc1316 = true + if yyj1342 >= len(yyv1342) { + yyv1342 = append(yyv1342, ConfigMap{}) // var yyz1342 ConfigMap + yyc1342 = true } - yyh1316.ElemContainerState(yyj1316) - if yyj1316 < len(yyv1316) { + yyh1342.ElemContainerState(yyj1342) + if yyj1342 < len(yyv1342) { if r.TryDecodeAsNil() { - yyv1316[yyj1316] = ConfigMap{} + yyv1342[yyj1342] = ConfigMap{} } else { - yyv1319 := &yyv1316[yyj1316] - yyv1319.CodecDecodeSelf(d) + yyv1345 := &yyv1342[yyj1342] + yyv1345.CodecDecodeSelf(d) } } else { @@ -16423,16 +16722,16 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) } } - if yyj1316 < len(yyv1316) { - yyv1316 = yyv1316[:yyj1316] - yyc1316 = true - } else if yyj1316 == 0 && yyv1316 == nil { - yyv1316 = []ConfigMap{} - yyc1316 = true + if yyj1342 < len(yyv1342) { + yyv1342 = yyv1342[:yyj1342] + yyc1342 = true + } else if yyj1342 == 0 && yyv1342 == nil { + yyv1342 = []ConfigMap{} + yyc1342 = true } } - yyh1316.End() - if yyc1316 { - *v = yyv1316 + yyh1342.End() + if yyc1342 { + *v = yyv1342 } } diff --git a/pkg/apis/extensions/v1beta1/types.go b/pkg/apis/extensions/v1beta1/types.go index 57b12f60f23..2eaba0969bf 100644 --- a/pkg/apis/extensions/v1beta1/types.go +++ b/pkg/apis/extensions/v1beta1/types.go @@ -663,6 +663,15 @@ type ClusterAutoscalerList struct { Items []ClusterAutoscaler `json:"items"` } +// ExportOptions is the query options to the standard REST get call. +type ExportOptions struct { + unversioned.TypeMeta `json:",inline"` + // Should this value be exported. Export strips fields that a user can not specify. + Export bool `json:"export"` + // Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace' + Exact bool `json:"exact"` +} + // ListOptions is the query options to a standard REST list call. type ListOptions struct { unversioned.TypeMeta `json:",inline"` diff --git a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go index 420ad5becab..720340b9b99 100644 --- a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go +++ b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go @@ -190,6 +190,16 @@ func (DeploymentStrategy) SwaggerDoc() map[string]string { return map_DeploymentStrategy } +var map_ExportOptions = map[string]string{ + "": "ExportOptions is the query options to the standard REST get call.", + "export": "Should this value be exported. Export strips fields that a user can not specify.", + "exact": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'", +} + +func (ExportOptions) SwaggerDoc() map[string]string { + return map_ExportOptions +} + var map_HTTPIngressPath = map[string]string{ "": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", "path": "Path is a extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend.", diff --git a/pkg/apiserver/api_installer.go b/pkg/apiserver/api_installer.go index 066ed11456e..bad4e9033f0 100644 --- a/pkg/apiserver/api_installer.go +++ b/pkg/apiserver/api_installer.go @@ -210,6 +210,15 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag if !isMetadata { storageMeta = defaultStorageMetadata{} } + exporter, isExporter := storage.(rest.Exporter) + if !isExporter { + exporter = nil + } + + versionedExportOptions, err := a.group.Creater.New(optionsExternalVersion.WithKind("ExportOptions")) + if err != nil { + return nil, err + } if isNamedCreater { isCreater = true @@ -310,6 +319,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag scope := mapping.Scope nameParam := ws.PathParameter("name", "name of the "+kind).DataType("string") pathParam := ws.PathParameter("path", "path to the resource").DataType("string") + params := []*restful.Parameter{} actions := []action{} @@ -444,9 +454,9 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag case "GET": // Get a resource. var handler restful.RouteFunction if isGetterWithOptions { - handler = GetResourceWithOptions(getterWithOptions, reqScope, getOptionsInternalKind, getOptionsExternalKind, getSubpath, getSubpathKey) + handler = GetResourceWithOptions(getterWithOptions, exporter, reqScope, getOptionsInternalKind, getOptionsExternalKind, getSubpath, getSubpathKey) } else { - handler = GetResource(getter, reqScope) + handler = GetResource(getter, exporter, reqScope) } doc := "read the specified " + kind if hasSubresource { @@ -465,6 +475,11 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag return nil, err } } + if isExporter { + if err := addObjectParams(ws, route, versionedExportOptions); err != nil { + return nil, err + } + } addParams(route, action.Params) ws.Route(route) case "LIST": // List all resources of a kind. diff --git a/pkg/apiserver/apiserver_test.go b/pkg/apiserver/apiserver_test.go index 67fdcc7edad..02f626b4f5e 100644 --- a/pkg/apiserver/apiserver_test.go +++ b/pkg/apiserver/apiserver_test.go @@ -117,14 +117,16 @@ func addGrouplessTypes() { func addTestTypes() { api.Scheme.AddKnownTypes( testGroupVersion, &apiservertesting.Simple{}, &apiservertesting.SimpleList{}, &unversioned.Status{}, - &unversioned.ListOptions{}, &api.DeleteOptions{}, &apiservertesting.SimpleGetOptions{}, &apiservertesting.SimpleRoot{}) + &unversioned.ListOptions{}, &api.DeleteOptions{}, &apiservertesting.SimpleGetOptions{}, &apiservertesting.SimpleRoot{}, + &unversioned.ExportOptions{}) api.Scheme.AddKnownTypes(testGroupVersion, &api.Pod{}) } func addNewTestTypes() { api.Scheme.AddKnownTypes( newGroupVersion, &apiservertesting.Simple{}, &apiservertesting.SimpleList{}, &unversioned.Status{}, - &unversioned.ListOptions{}, &api.DeleteOptions{}, &apiservertesting.SimpleGetOptions{}, &apiservertesting.SimpleRoot{}) + &unversioned.ListOptions{}, &api.DeleteOptions{}, &apiservertesting.SimpleGetOptions{}, &apiservertesting.SimpleRoot{}, + &unversioned.ExportOptions{}) } func init() { @@ -334,6 +336,21 @@ type SimpleRESTStorage struct { injectedFunction func(obj runtime.Object) (returnObj runtime.Object, err error) } +func (storage *SimpleRESTStorage) Export(ctx api.Context, name string, opts unversioned.ExportOptions) (runtime.Object, error) { + obj, err := storage.Get(ctx, name) + if err != nil { + return nil, err + } + s, ok := obj.(*apiservertesting.Simple) + if !ok { + return nil, fmt.Errorf("unexpected object") + } + + // Set a marker to verify the method was called + s.Other = "exported" + return obj, storage.errors["export"] +} + func (storage *SimpleRESTStorage) List(ctx api.Context, options *unversioned.ListOptions) (runtime.Object, error) { storage.checkContext(ctx) result := &apiservertesting.SimpleList{ @@ -1150,6 +1167,55 @@ func TestMetadata(t *testing.T) { } } +func TestExport(t *testing.T) { + storage := map[string]rest.Storage{} + simpleStorage := SimpleRESTStorage{ + item: apiservertesting.Simple{ + ObjectMeta: api.ObjectMeta{ + ResourceVersion: "1234", + CreationTimestamp: unversioned.NewTime(time.Unix(10, 10)), + }, + Other: "foo", + }, + } + selfLinker := &setTestSelfLinker{ + t: t, + expectedSet: "/" + prefix + "/" + testGroupVersion.Group + "/" + testGroupVersion.Version + "/namespaces/default/simple/id", + name: "id", + namespace: "default", + } + storage["simple"] = &simpleStorage + handler := handleLinker(storage, selfLinker) + server := httptest.NewServer(handler) + defer server.Close() + + resp, err := http.Get(server.URL + "/" + prefix + "/" + testGroupVersion.Group + "/" + testGroupVersion.Version + "/namespaces/default/simple/id?export=true") + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if resp.StatusCode != http.StatusOK { + data, _ := ioutil.ReadAll(resp.Body) + resp.Body.Close() + t.Fatalf("unexpected response: %#v\n%s\n", resp, string(data)) + } + var itemOut apiservertesting.Simple + body, err := extractBody(resp, &itemOut) + if err != nil { + t.Errorf("unexpected error: %v", err) + } + + if itemOut.Name != simpleStorage.item.Name { + t.Errorf("Unexpected data: %#v, expected %#v (%s)", itemOut, simpleStorage.item, string(body)) + } + if itemOut.Other != "exported" { + t.Errorf("Expected: exported, saw: %s", itemOut.Other) + } + + if !selfLinker.called { + t.Errorf("Never set self link") + } +} + func TestGet(t *testing.T) { storage := map[string]rest.Storage{} simpleStorage := SimpleRESTStorage{ diff --git a/pkg/apiserver/resthandler.go b/pkg/apiserver/resthandler.go index 380c2066a08..cc3c4732b06 100644 --- a/pkg/apiserver/resthandler.go +++ b/pkg/apiserver/resthandler.go @@ -32,6 +32,7 @@ import ( "k8s.io/kubernetes/pkg/api/meta" "k8s.io/kubernetes/pkg/api/rest" "k8s.io/kubernetes/pkg/api/unversioned" + "k8s.io/kubernetes/pkg/api/v1" "k8s.io/kubernetes/pkg/fields" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/util" @@ -112,24 +113,43 @@ func getResourceHandler(scope RequestScope, getter getterFunc) restful.RouteFunc } // GetResource returns a function that handles retrieving a single resource from a rest.Storage object. -func GetResource(r rest.Getter, scope RequestScope) restful.RouteFunction { +func GetResource(r rest.Getter, e rest.Exporter, scope RequestScope) restful.RouteFunction { return getResourceHandler(scope, func(ctx api.Context, name string, req *restful.Request) (runtime.Object, error) { // For performance tracking purposes. trace := util.NewTrace("Get " + req.Request.URL.Path) defer trace.LogIfLong(250 * time.Millisecond) + opts := v1.ExportOptions{} + if err := scope.Codec.DecodeParametersInto(req.Request.URL.Query(), &opts); err != nil { + return nil, err + } + internalOpts := unversioned.ExportOptions{} + scope.Convertor.Convert(&opts, &internalOpts) + if internalOpts.Export { + if e == nil { + return nil, errors.NewBadRequest("export unsupported") + } + return e.Export(ctx, name, internalOpts) + } return r.Get(ctx, name) }) } // GetResourceWithOptions returns a function that handles retrieving a single resource from a rest.Storage object. -func GetResourceWithOptions(r rest.GetterWithOptions, scope RequestScope, internalKind, externalKind unversioned.GroupVersionKind, subpath bool, subpathKey string) restful.RouteFunction { +func GetResourceWithOptions(r rest.GetterWithOptions, e rest.Exporter, scope RequestScope, internalKind, externalKind unversioned.GroupVersionKind, subpath bool, subpathKey string) restful.RouteFunction { return getResourceHandler(scope, func(ctx api.Context, name string, req *restful.Request) (runtime.Object, error) { opts, err := getRequestOptions(req, scope, internalKind, externalKind, subpath, subpathKey) if err != nil { return nil, err } + exportOpts := unversioned.ExportOptions{} + if err := scope.Codec.DecodeParametersInto(req.Request.URL.Query(), &exportOpts); err != nil { + return nil, err + } + if exportOpts.Export { + return nil, errors.NewBadRequest("export unsupported") + } return r.Get(ctx, name, opts) }) } diff --git a/pkg/registry/generic/etcd/etcd.go b/pkg/registry/generic/etcd/etcd.go index 3107afa01a1..06ebb6c66ab 100644 --- a/pkg/registry/generic/etcd/etcd.go +++ b/pkg/registry/generic/etcd/etcd.go @@ -18,6 +18,7 @@ package etcd import ( "fmt" + "reflect" "k8s.io/kubernetes/pkg/api" kubeerr "k8s.io/kubernetes/pkg/api/errors" @@ -103,6 +104,8 @@ type Etcd struct { // If true, return the object that was deleted. Otherwise, return a generic // success status response. ReturnDeletedObject bool + // Allows extended behavior during export, optional + ExportStrategy rest.RESTExportStrategy // Used for all etcd access functions Storage storage.Interface @@ -536,3 +539,39 @@ func (e *Etcd) calculateTTL(obj runtime.Object, defaultTTL int64, update bool) ( } return ttl, err } + +func exportObjectMeta(objMeta *api.ObjectMeta, exact bool) { + objMeta.UID = "" + if !exact { + objMeta.Namespace = "" + } + objMeta.CreationTimestamp = unversioned.Time{} + objMeta.DeletionTimestamp = nil + objMeta.ResourceVersion = "" + objMeta.SelfLink = "" + if len(objMeta.GenerateName) > 0 && !exact { + objMeta.Name = "" + } +} + +// Implements the rest.Exporter interface +func (e *Etcd) Export(ctx api.Context, name string, opts unversioned.ExportOptions) (runtime.Object, error) { + obj, err := e.Get(ctx, name) + if err != nil { + return nil, err + } + if meta, err := api.ObjectMetaFor(obj); err == nil { + exportObjectMeta(meta, opts.Exact) + } else { + glog.V(4).Infof("Object of type %v does not have ObjectMeta: %v", reflect.TypeOf(obj), err) + } + + if e.ExportStrategy != nil { + if err = e.ExportStrategy.Export(obj, opts.Exact); err != nil { + return nil, err + } + } else { + e.CreateStrategy.PrepareForCreate(obj) + } + return obj, nil +} diff --git a/pkg/registry/generic/etcd/etcd_test.go b/pkg/registry/generic/etcd/etcd_test.go index 639c45c93f9..3bcde8040cc 100644 --- a/pkg/registry/generic/etcd/etcd_test.go +++ b/pkg/registry/generic/etcd/etcd_test.go @@ -20,10 +20,12 @@ import ( "fmt" "path" "reflect" + "strconv" "testing" "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/pkg/api/errors" + "k8s.io/kubernetes/pkg/api/meta" "k8s.io/kubernetes/pkg/api/testapi" "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/fields" @@ -50,7 +52,19 @@ func (t *testRESTStrategy) NamespaceScoped() bool { return t.namespaceS func (t *testRESTStrategy) AllowCreateOnUpdate() bool { return t.allowCreateOnUpdate } func (t *testRESTStrategy) AllowUnconditionalUpdate() bool { return t.allowUnconditionalUpdate } -func (t *testRESTStrategy) PrepareForCreate(obj runtime.Object) {} +func (t *testRESTStrategy) PrepareForCreate(obj runtime.Object) { + metaObj, err := meta.Accessor(obj) + if err != nil { + panic(err.Error()) + } + labels := metaObj.GetLabels() + if labels == nil { + labels = map[string]string{} + } + labels["prepare_create"] = "true" + metaObj.SetLabels(labels) +} + func (t *testRESTStrategy) PrepareForUpdate(obj, old runtime.Object) {} func (t *testRESTStrategy) Validate(ctx api.Context, obj runtime.Object) field.ErrorList { return nil @@ -325,6 +339,95 @@ func TestEtcdUpdate(t *testing.T) { } +type testPodExport struct{} + +func (t testPodExport) Export(obj runtime.Object, exact bool) error { + pod := obj.(*api.Pod) + if pod.Labels == nil { + pod.Labels = map[string]string{} + } + pod.Labels["exported"] = "true" + pod.Labels["exact"] = strconv.FormatBool(exact) + + return nil +} + +func TestEtcdCustomExport(t *testing.T) { + podA := api.Pod{ + ObjectMeta: api.ObjectMeta{ + Namespace: "test", + Name: "foo", + Labels: map[string]string{}, + }, + Spec: api.PodSpec{NodeName: "machine"}, + } + + server, registry := NewTestGenericEtcdRegistry(t) + defer server.Terminate(t) + + registry.ExportStrategy = testPodExport{} + + testContext := api.WithNamespace(api.NewContext(), "test") + registry.UpdateStrategy.(*testRESTStrategy).allowCreateOnUpdate = true + if !updateAndVerify(t, testContext, registry, &podA) { + t.Errorf("Unexpected error updating podA") + } + + obj, err := registry.Export(testContext, podA.Name, unversioned.ExportOptions{}) + if err != nil { + t.Errorf("unexpected error: %v", err) + } + exportedPod := obj.(*api.Pod) + if exportedPod.Labels["exported"] != "true" { + t.Errorf("expected: exported->true, found: %s", exportedPod.Labels["exported"]) + } + if exportedPod.Labels["exact"] != "false" { + t.Errorf("expected: exact->false, found: %s", exportedPod.Labels["exact"]) + } + delete(exportedPod.Labels, "exported") + delete(exportedPod.Labels, "exact") + exportObjectMeta(&podA.ObjectMeta, false) + podA.Spec = exportedPod.Spec + if !reflect.DeepEqual(&podA, exportedPod) { + t.Errorf("expected:\n%v\nsaw:\n%v\n", &podA, exportedPod) + } +} + +func TestEtcdBasicExport(t *testing.T) { + podA := api.Pod{ + ObjectMeta: api.ObjectMeta{ + Namespace: "test", + Name: "foo", + Labels: map[string]string{}, + }, + Spec: api.PodSpec{NodeName: "machine"}, + Status: api.PodStatus{HostIP: "1.2.3.4"}, + } + + server, registry := NewTestGenericEtcdRegistry(t) + defer server.Terminate(t) + + testContext := api.WithNamespace(api.NewContext(), "test") + registry.UpdateStrategy.(*testRESTStrategy).allowCreateOnUpdate = true + if !updateAndVerify(t, testContext, registry, &podA) { + t.Errorf("Unexpected error updating podA") + } + + obj, err := registry.Export(testContext, podA.Name, unversioned.ExportOptions{}) + if err != nil { + t.Errorf("unexpected error: %v", err) + } + exportedPod := obj.(*api.Pod) + if exportedPod.Labels["prepare_create"] != "true" { + t.Errorf("expected: prepare_create->true, found: %s", exportedPod.Labels["prepare_create"]) + } + exportObjectMeta(&podA.ObjectMeta, false) + podA.Spec = exportedPod.Spec + if !reflect.DeepEqual(&podA, exportedPod) { + t.Errorf("expected:\n%v\nsaw:\n%v\n", &podA, exportedPod) + } +} + func TestEtcdGet(t *testing.T) { podA := &api.Pod{ ObjectMeta: api.ObjectMeta{Namespace: "test", Name: "foo"}, @@ -344,7 +447,6 @@ func TestEtcdGet(t *testing.T) { if !updateAndVerify(t, testContext, registry, podA) { t.Errorf("Unexpected error updating podA") } - } func TestEtcdDelete(t *testing.T) { diff --git a/pkg/registry/limitrange/etcd/etcd.go b/pkg/registry/limitrange/etcd/etcd.go index e7110962dc6..11779045cf9 100644 --- a/pkg/registry/limitrange/etcd/etcd.go +++ b/pkg/registry/limitrange/etcd/etcd.go @@ -58,6 +58,7 @@ func NewREST(s storage.Interface, storageDecorator generic.StorageDecorator) *RE CreateStrategy: limitrange.Strategy, UpdateStrategy: limitrange.Strategy, + ExportStrategy: limitrange.Strategy, Storage: storageInterface, } diff --git a/pkg/registry/limitrange/strategy.go b/pkg/registry/limitrange/strategy.go index f9fd568225e..ff36fe68d2a 100644 --- a/pkg/registry/limitrange/strategy.go +++ b/pkg/registry/limitrange/strategy.go @@ -78,6 +78,13 @@ func LimitRangeToSelectableFields(limitRange *api.LimitRange) fields.Set { return fields.Set{} } +func (limitrangeStrategy) Export(runtime.Object, bool) error { + // Copied from OpenShift exporter + // TODO: this needs to be fixed + // limitrange.Strategy.PrepareForCreate(obj) + return nil +} + func MatchLimitRange(label labels.Selector, field fields.Selector) generic.Matcher { return &generic.SelectionPredicate{ Label: label, diff --git a/pkg/registry/node/etcd/etcd.go b/pkg/registry/node/etcd/etcd.go index d8e257372c1..91d2b1d7276 100644 --- a/pkg/registry/node/etcd/etcd.go +++ b/pkg/registry/node/etcd/etcd.go @@ -76,6 +76,7 @@ func NewREST(s storage.Interface, storageDecorator generic.StorageDecorator, con CreateStrategy: node.Strategy, UpdateStrategy: node.Strategy, + ExportStrategy: node.Strategy, Storage: storageInterface, } diff --git a/pkg/registry/node/strategy.go b/pkg/registry/node/strategy.go index ab9b3632a75..8f53a155d66 100644 --- a/pkg/registry/node/strategy.go +++ b/pkg/registry/node/strategy.go @@ -90,6 +90,22 @@ func (nodeStrategy) AllowUnconditionalUpdate() bool { return true } +func (ns nodeStrategy) Export(obj runtime.Object, exact bool) error { + n, ok := obj.(*api.Node) + if !ok { + // unexpected programmer error + return fmt.Errorf("unexpected object: %v", obj) + } + ns.PrepareForCreate(obj) + if exact { + return nil + } + // Nodes are the only resources that allow direct status edits, therefore + // we clear that without exact so that the node value can be reused. + n.Status = api.NodeStatus{} + return nil +} + type nodeStatusStrategy struct { nodeStrategy } diff --git a/pkg/registry/podtemplate/etcd/etcd.go b/pkg/registry/podtemplate/etcd/etcd.go index e92dc4a9931..6435602585f 100644 --- a/pkg/registry/podtemplate/etcd/etcd.go +++ b/pkg/registry/podtemplate/etcd/etcd.go @@ -56,8 +56,10 @@ func NewREST(s storage.Interface, storageDecorator generic.StorageDecorator) *RE }, EndpointName: "podtemplates", - CreateStrategy: podtemplate.Strategy, - UpdateStrategy: podtemplate.Strategy, + CreateStrategy: podtemplate.Strategy, + UpdateStrategy: podtemplate.Strategy, + ExportStrategy: podtemplate.Strategy, + ReturnDeletedObject: true, Storage: storageInterface, diff --git a/pkg/registry/podtemplate/strategy.go b/pkg/registry/podtemplate/strategy.go index e4c451aca05..03ce8518651 100644 --- a/pkg/registry/podtemplate/strategy.go +++ b/pkg/registry/podtemplate/strategy.go @@ -77,6 +77,11 @@ func (podTemplateStrategy) AllowUnconditionalUpdate() bool { return true } +func (podTemplateStrategy) Export(obj runtime.Object, exact bool) error { + // Do nothing + return nil +} + func PodTemplateToSelectableFields(podTemplate *api.PodTemplate) fields.Set { return fields.Set{} } diff --git a/pkg/registry/secret/strategy.go b/pkg/registry/secret/strategy.go index 71c525eb134..6f8284fcbc8 100644 --- a/pkg/registry/secret/strategy.go +++ b/pkg/registry/secret/strategy.go @@ -20,6 +20,7 @@ import ( "fmt" "k8s.io/kubernetes/pkg/api" + "k8s.io/kubernetes/pkg/api/errors" "k8s.io/kubernetes/pkg/api/rest" "k8s.io/kubernetes/pkg/api/validation" "k8s.io/kubernetes/pkg/fields" @@ -72,6 +73,26 @@ func (strategy) AllowUnconditionalUpdate() bool { return true } +func (s strategy) Export(obj runtime.Object, exact bool) error { + t, ok := obj.(*api.Secret) + if !ok { + // unexpected programmer error + return fmt.Errorf("unexpected object: %v", obj) + } + s.PrepareForCreate(obj) + if exact { + return nil + } + // secrets that are tied to the UID of a service account cannot be exported anyway + if t.Type == api.SecretTypeServiceAccountToken || len(t.Annotations[api.ServiceAccountUIDKey]) > 0 { + errs := []*field.Error{ + field.Invalid(field.NewPath("type"), t, "can not export service account secrets"), + } + return errors.NewInvalid("Secret", t.Name, errs) + } + return nil +} + // Matcher returns a generic matcher for a given label and field selector. func Matcher(label labels.Selector, field fields.Selector) generic.Matcher { return generic.MatcherFunc(func(obj runtime.Object) (bool, error) { diff --git a/pkg/registry/secret/strategy_test.go b/pkg/registry/secret/strategy_test.go new file mode 100644 index 00000000000..0ce8cf72d11 --- /dev/null +++ b/pkg/registry/secret/strategy_test.go @@ -0,0 +1,99 @@ +/* +Copyright 2015 The Kubernetes Authors All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package secret + +import ( + "reflect" + "testing" + + "k8s.io/kubernetes/pkg/api" + "k8s.io/kubernetes/pkg/runtime" +) + +func TestExportSecret(t *testing.T) { + tests := []struct { + objIn runtime.Object + objOut runtime.Object + exact bool + expectErr bool + }{ + { + objIn: &api.Secret{ + ObjectMeta: api.ObjectMeta{ + Name: "foo", + Namespace: "bar", + }, + Data: map[string][]byte{ + "foo": []byte("bar"), + }, + }, + objOut: &api.Secret{ + ObjectMeta: api.ObjectMeta{ + Name: "foo", + Namespace: "bar", + }, + Data: map[string][]byte{ + "foo": []byte("bar"), + }, + }, + exact: true, + }, + { + objIn: &api.Secret{ + ObjectMeta: api.ObjectMeta{ + Name: "foo", + Namespace: "bar", + }, + Type: api.SecretTypeServiceAccountToken, + }, + expectErr: true, + }, + { + objIn: &api.Secret{ + ObjectMeta: api.ObjectMeta{ + Name: "foo", + Namespace: "bar", + Annotations: map[string]string{ + api.ServiceAccountUIDKey: "true", + }, + }, + }, + expectErr: true, + }, + { + objIn: &api.Pod{}, + expectErr: true, + }, + } + + for _, test := range tests { + err := Strategy.Export(test.objIn, test.exact) + if err != nil { + if !test.expectErr { + t.Errorf("unexpected error: %v", err) + } + continue + } + if test.expectErr { + t.Error("unexpected non-error") + continue + } + if !reflect.DeepEqual(test.objIn, test.objOut) { + t.Errorf("expected:\n%v\nsaw:\n%v\n", test.objOut, test.objIn) + } + } +} diff --git a/pkg/registry/service/strategy.go b/pkg/registry/service/strategy.go index a927d8dc4ff..4379c1cea9e 100644 --- a/pkg/registry/service/strategy.go +++ b/pkg/registry/service/strategy.go @@ -79,6 +79,28 @@ func (svcStrategy) AllowUnconditionalUpdate() bool { return true } +func (svcStrategy) Export(obj runtime.Object, exact bool) error { + t, ok := obj.(*api.Service) + if !ok { + // unexpected programmer error + return fmt.Errorf("unexpected object: %v", obj) + } + // TODO: service does not yet have a prepare create strategy (see above) + t.Status = api.ServiceStatus{} + if exact { + return nil + } + if t.Spec.ClusterIP != api.ClusterIPNone { + t.Spec.ClusterIP = "" + } + if t.Spec.Type == api.ServiceTypeNodePort { + for i := range t.Spec.Ports { + t.Spec.Ports[i].NodePort = 0 + } + } + return nil +} + func MatchServices(label labels.Selector, field fields.Selector) generic.Matcher { return &generic.SelectionPredicate{ Label: label, diff --git a/pkg/registry/service/strategy_test.go b/pkg/registry/service/strategy_test.go index 6f5023e2a09..be730d95088 100644 --- a/pkg/registry/service/strategy_test.go +++ b/pkg/registry/service/strategy_test.go @@ -17,6 +17,7 @@ limitations under the License. package service import ( + "reflect" "testing" "k8s.io/kubernetes/pkg/api" @@ -26,6 +27,83 @@ import ( "k8s.io/kubernetes/pkg/util/intstr" ) +func TestExportService(t *testing.T) { + tests := []struct { + objIn runtime.Object + objOut runtime.Object + exact bool + expectErr bool + }{ + { + objIn: &api.Service{ + ObjectMeta: api.ObjectMeta{ + Name: "foo", + Namespace: "bar", + }, + Status: api.ServiceStatus{ + LoadBalancer: api.LoadBalancerStatus{ + Ingress: []api.LoadBalancerIngress{ + {IP: "1.2.3.4"}, + }, + }, + }, + }, + objOut: &api.Service{ + ObjectMeta: api.ObjectMeta{ + Name: "foo", + Namespace: "bar", + }, + }, + exact: true, + }, + { + objIn: &api.Service{ + ObjectMeta: api.ObjectMeta{ + Name: "foo", + Namespace: "bar", + }, + Spec: api.ServiceSpec{ + ClusterIP: "10.0.0.1", + }, + Status: api.ServiceStatus{ + LoadBalancer: api.LoadBalancerStatus{ + Ingress: []api.LoadBalancerIngress{ + {IP: "1.2.3.4"}, + }, + }, + }, + }, + objOut: &api.Service{ + ObjectMeta: api.ObjectMeta{ + Name: "foo", + Namespace: "bar", + }, + }, + }, + { + objIn: &api.Pod{}, + expectErr: true, + }, + } + + for _, test := range tests { + err := Strategy.Export(test.objIn, test.exact) + if err != nil { + if !test.expectErr { + t.Errorf("unexpected error: %v", err) + } + continue + } + if test.expectErr { + t.Error("unexpected non-error") + continue + } + if !reflect.DeepEqual(test.objIn, test.objOut) { + t.Errorf("expected:\n%v\nsaw:\n%v\n", test.objOut, test.objIn) + } + } +} + func TestCheckGeneratedNameError(t *testing.T) { expect := errors.NewNotFound("foo", "bar") if err := rest.CheckGeneratedNameError(Strategy, expect, &api.Pod{}); err != expect { diff --git a/pkg/storage/etcd/etcd_helper_test.go b/pkg/storage/etcd/etcd_helper_test.go index 0233fc81c4c..34121afbb5b 100644 --- a/pkg/storage/etcd/etcd_helper_test.go +++ b/pkg/storage/etcd/etcd_helper_test.go @@ -399,6 +399,9 @@ func TestGuaranteedUpdate(t *testing.T) { return objUpdate, nil })) + if err != nil { + t.Errorf("unexpected error: %v", err) + } objCheck := &storagetesting.TestResource{} err = helper.Get(context.TODO(), key, objCheck, false) @@ -406,7 +409,7 @@ func TestGuaranteedUpdate(t *testing.T) { t.Errorf("Unexpected error %#v", err) } if objCheck.Value != 2 { - t.Errorf("Value should have been 2 but got", objCheck.Value) + t.Errorf("Value should have been 2 but got %v", objCheck.Value) } if !callbackCalled {