diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index bfe4305d2fe..54ad5cbc91e 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -32665,6 +32665,43 @@ } } }, + "v1beta1.DeploymentCondition": { + "description": "DeploymentCondition describes the state of a deployment at a certain point.", + "required": [ + "type", + "status", + "lastUpdateTime", + "lastTransitionTime", + "reason", + "message" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "$ref": "#/definitions/unversioned.Time" + }, + "lastUpdateTime": { + "description": "The last time this condition was updated.", + "$ref": "#/definitions/unversioned.Time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of deployment condition.", + "type": "string" + } + } + }, "v1beta1.DeploymentList": { "description": "DeploymentList is a list of Deployments.", "required": [ @@ -32711,7 +32748,8 @@ "v1beta1.DeploymentSpec": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "required": [ - "template" + "template", + "progressDeadlineSeconds" ], "properties": { "minReadySeconds": { @@ -32723,6 +32761,11 @@ "description": "Indicates that the deployment is paused and will not be processed by the deployment controller.", "type": "boolean" }, + "progressDeadlineSeconds": { + "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.", + "type": "integer", + "format": "int32" + }, "replicas": { "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", "type": "integer", @@ -32753,12 +32796,22 @@ }, "v1beta1.DeploymentStatus": { "description": "DeploymentStatus is the most recently observed status of the Deployment.", + "required": [ + "conditions" + ], "properties": { "availableReplicas": { "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", "type": "integer", "format": "int32" }, + "conditions": { + "description": "Represents the latest available observations of a deployment's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.DeploymentCondition" + } + }, "observedGeneration": { "description": "The generation observed by the deployment controller.", "type": "integer", diff --git a/api/swagger-spec/extensions_v1beta1.json b/api/swagger-spec/extensions_v1beta1.json index 721ab0d26c9..7aa76cf59c1 100644 --- a/api/swagger-spec/extensions_v1beta1.json +++ b/api/swagger-spec/extensions_v1beta1.json @@ -9454,6 +9454,11 @@ "rollbackTo": { "$ref": "v1beta1.RollbackConfig", "description": "The config this deployment is rolling back to. Will be cleared after rollback is done." + }, + "progressDeadlineSeconds": { + "type": "integer", + "format": "int32", + "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default." } } }, @@ -9523,6 +9528,49 @@ "type": "integer", "format": "int32", "description": "Total number of unavailable pods targeted by this deployment." + }, + "conditions": { + "type": "array", + "items": { + "$ref": "v1beta1.DeploymentCondition" + }, + "description": "Represents the latest available observations of a deployment's current state." + } + } + }, + "v1beta1.DeploymentCondition": { + "id": "v1beta1.DeploymentCondition", + "description": "DeploymentCondition describes the state of a deployment at a certain point.", + "required": [ + "type", + "status" + ], + "properties": { + "type": { + "type": "string", + "description": "Type of deployment condition." + }, + "status": { + "type": "string", + "description": "Status of the condition, one of True, False, Unknown." + }, + "lastUpdateTime": { + "type": "string", + "format": "date-time", + "description": "The last time this condition was updated." + }, + "lastTransitionTime": { + "type": "string", + "format": "date-time", + "description": "Last time the condition transitioned from one status to another." + }, + "reason": { + "type": "string", + "description": "The reason for the condition's last transition." + }, + "message": { + "type": "string", + "description": "A human readable message indicating details about the transition." } } }, diff --git a/docs/api-reference/extensions/v1beta1/definitions.html b/docs/api-reference/extensions/v1beta1/definitions.html index 821bf9478db..e36321a2ea3 100755 --- a/docs/api-reference/extensions/v1beta1/definitions.html +++ b/docs/api-reference/extensions/v1beta1/definitions.html @@ -488,6 +488,13 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }

integer (int32)

+ +

conditions

+

Represents the latest available observations of a deployment’s current state.

+

false

+

v1beta1.DeploymentCondition array

+ + @@ -3450,6 +3457,13 @@ Populated by the system when a graceful deletion is requested. Read-only. More i

v1beta1.RollbackConfig

+ +

progressDeadlineSeconds

+

The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.

+

false

+

integer (int32)

+ + @@ -6217,6 +6231,75 @@ Both these may change in the future. Incoming requests are matched against the h + +
+

v1beta1.DeploymentCondition

+
+

DeploymentCondition describes the state of a deployment at a certain point.

+
+ +++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameDescriptionRequiredSchemaDefault

type

Type of deployment condition.

true

string

status

Status of the condition, one of True, False, Unknown.

true

string

lastUpdateTime

The last time this condition was updated.

false

string (date-time)

lastTransitionTime

Last time the condition transitioned from one status to another.

false

string (date-time)

reason

The reason for the condition’s last transition.

false

string

message

A human readable message indicating details about the transition.

false

string

+

v1beta1.JobSpec

@@ -6687,7 +6770,7 @@ Both these may change in the future. Incoming requests are matched against the h
diff --git a/pkg/apis/extensions/types.generated.go b/pkg/apis/extensions/types.generated.go index eff1b8be27d..8815ac362ee 100644 --- a/pkg/apis/extensions/types.generated.go +++ b/pkg/apis/extensions/types.generated.go @@ -3440,7 +3440,7 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep279 := !z.EncBinary() yy2arr279 := z.EncBasicHandle().StructToArray - var yyq279 [8]bool + var yyq279 [9]bool _, _, _ = yysep279, yyq279, yy2arr279 const yyr279 bool = false yyq279[0] = x.Replicas != 0 @@ -3450,9 +3450,10 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { yyq279[5] = x.RevisionHistoryLimit != nil yyq279[6] = x.Paused != false yyq279[7] = x.RollbackTo != nil + yyq279[8] = x.ProgressDeadlineSeconds != nil var yynn279 int if yyr279 || yy2arr279 { - r.EncodeArrayStart(8) + r.EncodeArrayStart(9) } else { yynn279 = 1 for _, b := range yyq279 { @@ -3659,6 +3660,41 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } + if yyr279 || yy2arr279 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq279[8] { + if x.ProgressDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy305 := *x.ProgressDeadlineSeconds + yym306 := z.EncBinary() + _ = yym306 + if false { + } else { + r.EncodeInt(int64(yy305)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq279[8] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("progressDeadlineSeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.ProgressDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy307 := *x.ProgressDeadlineSeconds + yym308 := z.EncBinary() + _ = yym308 + if false { + } else { + r.EncodeInt(int64(yy307)) + } + } + } + } if yyr279 || yy2arr279 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { @@ -3672,25 +3708,25 @@ func (x *DeploymentSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym304 := z.DecBinary() - _ = yym304 + yym309 := z.DecBinary() + _ = yym309 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct305 := r.ContainerType() - if yyct305 == codecSelferValueTypeMap1234 { - yyl305 := r.ReadMapStart() - if yyl305 == 0 { + yyct310 := r.ContainerType() + if yyct310 == codecSelferValueTypeMap1234 { + yyl310 := r.ReadMapStart() + if yyl310 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl305, d) + x.codecDecodeSelfFromMap(yyl310, d) } - } else if yyct305 == codecSelferValueTypeArray1234 { - yyl305 := r.ReadArrayStart() - if yyl305 == 0 { + } else if yyct310 == codecSelferValueTypeArray1234 { + yyl310 := r.ReadArrayStart() + if yyl310 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl305, d) + x.codecDecodeSelfFromArray(yyl310, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3702,12 +3738,12 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys306Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys306Slc - var yyhl306 bool = l >= 0 - for yyj306 := 0; ; yyj306++ { - if yyhl306 { - if yyj306 >= l { + var yys311Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys311Slc + var yyhl311 bool = l >= 0 + for yyj311 := 0; ; yyj311++ { + if yyhl311 { + if yyj311 >= l { break } } else { @@ -3716,10 +3752,10 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys306Slc = r.DecodeBytes(yys306Slc, true, true) - yys306 := string(yys306Slc) + yys311Slc = r.DecodeBytes(yys311Slc, true, true) + yys311 := string(yys311Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys306 { + switch yys311 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -3735,8 +3771,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym309 := z.DecBinary() - _ = yym309 + yym314 := z.DecBinary() + _ = yym314 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -3747,15 +3783,15 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv310 := &x.Template - yyv310.CodecDecodeSelf(d) + yyv315 := &x.Template + yyv315.CodecDecodeSelf(d) } case "strategy": if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv311 := &x.Strategy - yyv311.CodecDecodeSelf(d) + yyv316 := &x.Strategy + yyv316.CodecDecodeSelf(d) } case "minReadySeconds": if r.TryDecodeAsNil() { @@ -3772,8 +3808,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym314 := z.DecBinary() - _ = yym314 + yym319 := z.DecBinary() + _ = yym319 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) @@ -3796,10 +3832,26 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.RollbackTo.CodecDecodeSelf(d) } + case "progressDeadlineSeconds": + if r.TryDecodeAsNil() { + if x.ProgressDeadlineSeconds != nil { + x.ProgressDeadlineSeconds = nil + } + } else { + if x.ProgressDeadlineSeconds == nil { + x.ProgressDeadlineSeconds = new(int32) + } + yym323 := z.DecBinary() + _ = yym323 + if false { + } else { + *((*int32)(x.ProgressDeadlineSeconds)) = int32(r.DecodeInt(32)) + } + } default: - z.DecStructFieldNotFound(-1, yys306) - } // end switch yys306 - } // end for yyj306 + z.DecStructFieldNotFound(-1, yys311) + } // end switch yys311 + } // end for yyj311 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3807,16 +3859,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj317 int - var yyb317 bool - var yyhl317 bool = l >= 0 - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + var yyj324 int + var yyb324 bool + var yyhl324 bool = l >= 0 + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3826,13 +3878,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3845,21 +3897,21 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym320 := z.DecBinary() - _ = yym320 + yym327 := z.DecBinary() + _ = yym327 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3867,16 +3919,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv321 := &x.Template - yyv321.CodecDecodeSelf(d) + yyv328 := &x.Template + yyv328.CodecDecodeSelf(d) } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3884,16 +3936,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv322 := &x.Strategy - yyv322.CodecDecodeSelf(d) + yyv329 := &x.Strategy + yyv329.CodecDecodeSelf(d) } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3903,13 +3955,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MinReadySeconds = int32(r.DecodeInt(32)) } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3922,20 +3974,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym325 := z.DecBinary() - _ = yym325 + yym332 := z.DecBinary() + _ = yym332 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) } } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3945,13 +3997,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Paused = bool(r.DecodeBool()) } - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l } else { - yyb317 = r.CheckBreak() + yyb324 = r.CheckBreak() } - if yyb317 { + if yyb324 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3966,18 +4018,44 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RollbackTo.CodecDecodeSelf(d) } - for { - yyj317++ - if yyhl317 { - yyb317 = yyj317 > l - } else { - yyb317 = r.CheckBreak() + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l + } else { + yyb324 = r.CheckBreak() + } + if yyb324 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.ProgressDeadlineSeconds != nil { + x.ProgressDeadlineSeconds = nil } - if yyb317 { + } else { + if x.ProgressDeadlineSeconds == nil { + x.ProgressDeadlineSeconds = new(int32) + } + yym336 := z.DecBinary() + _ = yym336 + if false { + } else { + *((*int32)(x.ProgressDeadlineSeconds)) = int32(r.DecodeInt(32)) + } + } + for { + yyj324++ + if yyhl324 { + yyb324 = yyj324 > l + } else { + yyb324 = r.CheckBreak() + } + if yyb324 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj317-1, "") + z.DecStructFieldNotFound(yyj324-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3989,37 +4067,37 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym328 := z.EncBinary() - _ = yym328 + yym337 := z.EncBinary() + _ = yym337 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep329 := !z.EncBinary() - yy2arr329 := z.EncBasicHandle().StructToArray - var yyq329 [5]bool - _, _, _ = yysep329, yyq329, yy2arr329 - const yyr329 bool = false - yyq329[0] = x.Kind != "" - yyq329[1] = x.APIVersion != "" - yyq329[3] = len(x.UpdatedAnnotations) != 0 - var yynn329 int - if yyr329 || yy2arr329 { + yysep338 := !z.EncBinary() + yy2arr338 := z.EncBasicHandle().StructToArray + var yyq338 [5]bool + _, _, _ = yysep338, yyq338, yy2arr338 + const yyr338 bool = false + yyq338[0] = x.Kind != "" + yyq338[1] = x.APIVersion != "" + yyq338[3] = len(x.UpdatedAnnotations) != 0 + var yynn338 int + if yyr338 || yy2arr338 { r.EncodeArrayStart(5) } else { - yynn329 = 2 - for _, b := range yyq329 { + yynn338 = 2 + for _, b := range yyq338 { if b { - yynn329++ + yynn338++ } } - r.EncodeMapStart(yynn329) - yynn329 = 0 + r.EncodeMapStart(yynn338) + yynn338 = 0 } - if yyr329 || yy2arr329 { + if yyr338 || yy2arr338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq329[0] { - yym331 := z.EncBinary() - _ = yym331 + if yyq338[0] { + yym340 := z.EncBinary() + _ = yym340 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -4028,23 +4106,23 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq329[0] { + if yyq338[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym332 := z.EncBinary() - _ = yym332 + yym341 := z.EncBinary() + _ = yym341 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr329 || yy2arr329 { + if yyr338 || yy2arr338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq329[1] { - yym334 := z.EncBinary() - _ = yym334 + if yyq338[1] { + yym343 := z.EncBinary() + _ = yym343 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -4053,22 +4131,22 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq329[1] { + if yyq338[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym335 := z.EncBinary() - _ = yym335 + yym344 := z.EncBinary() + _ = yym344 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr329 || yy2arr329 { + if yyr338 || yy2arr338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym337 := z.EncBinary() - _ = yym337 + yym346 := z.EncBinary() + _ = yym346 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -4077,21 +4155,21 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym338 := z.EncBinary() - _ = yym338 + yym347 := z.EncBinary() + _ = yym347 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr329 || yy2arr329 { + if yyr338 || yy2arr338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq329[3] { + if yyq338[3] { if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym340 := z.EncBinary() - _ = yym340 + yym349 := z.EncBinary() + _ = yym349 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -4101,15 +4179,15 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq329[3] { + if yyq338[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedAnnotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym341 := z.EncBinary() - _ = yym341 + yym350 := z.EncBinary() + _ = yym350 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -4117,18 +4195,18 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr329 || yy2arr329 { + if yyr338 || yy2arr338 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy343 := &x.RollbackTo - yy343.CodecEncodeSelf(e) + yy352 := &x.RollbackTo + yy352.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollbackTo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy344 := &x.RollbackTo - yy344.CodecEncodeSelf(e) + yy353 := &x.RollbackTo + yy353.CodecEncodeSelf(e) } - if yyr329 || yy2arr329 { + if yyr338 || yy2arr338 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4141,25 +4219,25 @@ func (x *DeploymentRollback) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym345 := z.DecBinary() - _ = yym345 + yym354 := z.DecBinary() + _ = yym354 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct346 := r.ContainerType() - if yyct346 == codecSelferValueTypeMap1234 { - yyl346 := r.ReadMapStart() - if yyl346 == 0 { + yyct355 := r.ContainerType() + if yyct355 == codecSelferValueTypeMap1234 { + yyl355 := r.ReadMapStart() + if yyl355 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl346, d) + x.codecDecodeSelfFromMap(yyl355, d) } - } else if yyct346 == codecSelferValueTypeArray1234 { - yyl346 := r.ReadArrayStart() - if yyl346 == 0 { + } else if yyct355 == codecSelferValueTypeArray1234 { + yyl355 := r.ReadArrayStart() + if yyl355 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl346, d) + x.codecDecodeSelfFromArray(yyl355, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4171,12 +4249,12 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys347Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys347Slc - var yyhl347 bool = l >= 0 - for yyj347 := 0; ; yyj347++ { - if yyhl347 { - if yyj347 >= l { + var yys356Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys356Slc + var yyhl356 bool = l >= 0 + for yyj356 := 0; ; yyj356++ { + if yyhl356 { + if yyj356 >= l { break } } else { @@ -4185,10 +4263,10 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys347Slc = r.DecodeBytes(yys347Slc, true, true) - yys347 := string(yys347Slc) + yys356Slc = r.DecodeBytes(yys356Slc, true, true) + yys356 := string(yys356Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys347 { + switch yys356 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -4211,25 +4289,25 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv351 := &x.UpdatedAnnotations - yym352 := z.DecBinary() - _ = yym352 + yyv360 := &x.UpdatedAnnotations + yym361 := z.DecBinary() + _ = yym361 if false { } else { - z.F.DecMapStringStringX(yyv351, false, d) + z.F.DecMapStringStringX(yyv360, false, d) } } case "rollbackTo": if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv353 := &x.RollbackTo - yyv353.CodecDecodeSelf(d) + yyv362 := &x.RollbackTo + yyv362.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys347) - } // end switch yys347 - } // end for yyj347 + z.DecStructFieldNotFound(-1, yys356) + } // end switch yys356 + } // end for yyj356 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4237,16 +4315,16 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj354 int - var yyb354 bool - var yyhl354 bool = l >= 0 - yyj354++ - if yyhl354 { - yyb354 = yyj354 > l + var yyj363 int + var yyb363 bool + var yyhl363 bool = l >= 0 + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb354 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb354 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4256,13 +4334,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj354++ - if yyhl354 { - yyb354 = yyj354 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb354 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb354 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4272,13 +4350,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - yyj354++ - if yyhl354 { - yyb354 = yyj354 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb354 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb354 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4288,13 +4366,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Name = string(r.DecodeString()) } - yyj354++ - if yyhl354 { - yyb354 = yyj354 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb354 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb354 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4302,21 +4380,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv358 := &x.UpdatedAnnotations - yym359 := z.DecBinary() - _ = yym359 + yyv367 := &x.UpdatedAnnotations + yym368 := z.DecBinary() + _ = yym368 if false { } else { - z.F.DecMapStringStringX(yyv358, false, d) + z.F.DecMapStringStringX(yyv367, false, d) } } - yyj354++ - if yyhl354 { - yyb354 = yyj354 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb354 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb354 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4324,21 +4402,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv360 := &x.RollbackTo - yyv360.CodecDecodeSelf(d) + yyv369 := &x.RollbackTo + yyv369.CodecDecodeSelf(d) } for { - yyj354++ - if yyhl354 { - yyb354 = yyj354 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb354 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb354 { + if yyb363 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj354-1, "") + z.DecStructFieldNotFound(yyj363-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4350,35 +4428,35 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym361 := z.EncBinary() - _ = yym361 + yym370 := z.EncBinary() + _ = yym370 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep362 := !z.EncBinary() - yy2arr362 := z.EncBasicHandle().StructToArray - var yyq362 [1]bool - _, _, _ = yysep362, yyq362, yy2arr362 - const yyr362 bool = false - yyq362[0] = x.Revision != 0 - var yynn362 int - if yyr362 || yy2arr362 { + yysep371 := !z.EncBinary() + yy2arr371 := z.EncBasicHandle().StructToArray + var yyq371 [1]bool + _, _, _ = yysep371, yyq371, yy2arr371 + const yyr371 bool = false + yyq371[0] = x.Revision != 0 + var yynn371 int + if yyr371 || yy2arr371 { r.EncodeArrayStart(1) } else { - yynn362 = 0 - for _, b := range yyq362 { + yynn371 = 0 + for _, b := range yyq371 { if b { - yynn362++ + yynn371++ } } - r.EncodeMapStart(yynn362) - yynn362 = 0 + r.EncodeMapStart(yynn371) + yynn371 = 0 } - if yyr362 || yy2arr362 { + if yyr371 || yy2arr371 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq362[0] { - yym364 := z.EncBinary() - _ = yym364 + if yyq371[0] { + yym373 := z.EncBinary() + _ = yym373 if false { } else { r.EncodeInt(int64(x.Revision)) @@ -4387,19 +4465,19 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq362[0] { + if yyq371[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym365 := z.EncBinary() - _ = yym365 + yym374 := z.EncBinary() + _ = yym374 if false { } else { r.EncodeInt(int64(x.Revision)) } } } - if yyr362 || yy2arr362 { + if yyr371 || yy2arr371 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4412,25 +4490,25 @@ func (x *RollbackConfig) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym366 := z.DecBinary() - _ = yym366 + yym375 := z.DecBinary() + _ = yym375 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct367 := r.ContainerType() - if yyct367 == codecSelferValueTypeMap1234 { - yyl367 := r.ReadMapStart() - if yyl367 == 0 { + yyct376 := r.ContainerType() + if yyct376 == codecSelferValueTypeMap1234 { + yyl376 := r.ReadMapStart() + if yyl376 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl367, d) + x.codecDecodeSelfFromMap(yyl376, d) } - } else if yyct367 == codecSelferValueTypeArray1234 { - yyl367 := r.ReadArrayStart() - if yyl367 == 0 { + } else if yyct376 == codecSelferValueTypeArray1234 { + yyl376 := r.ReadArrayStart() + if yyl376 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl367, d) + x.codecDecodeSelfFromArray(yyl376, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4442,12 +4520,12 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys368Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys368Slc - var yyhl368 bool = l >= 0 - for yyj368 := 0; ; yyj368++ { - if yyhl368 { - if yyj368 >= l { + var yys377Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys377Slc + var yyhl377 bool = l >= 0 + for yyj377 := 0; ; yyj377++ { + if yyhl377 { + if yyj377 >= l { break } } else { @@ -4456,10 +4534,10 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys368Slc = r.DecodeBytes(yys368Slc, true, true) - yys368 := string(yys368Slc) + yys377Slc = r.DecodeBytes(yys377Slc, true, true) + yys377 := string(yys377Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys368 { + switch yys377 { case "revision": if r.TryDecodeAsNil() { x.Revision = 0 @@ -4467,9 +4545,9 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys368) - } // end switch yys368 - } // end for yyj368 + z.DecStructFieldNotFound(-1, yys377) + } // end switch yys377 + } // end for yyj377 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4477,16 +4555,16 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj370 int - var yyb370 bool - var yyhl370 bool = l >= 0 - yyj370++ - if yyhl370 { - yyb370 = yyj370 > l + var yyj379 int + var yyb379 bool + var yyhl379 bool = l >= 0 + yyj379++ + if yyhl379 { + yyb379 = yyj379 > l } else { - yyb370 = r.CheckBreak() + yyb379 = r.CheckBreak() } - if yyb370 { + if yyb379 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4497,17 +4575,17 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } for { - yyj370++ - if yyhl370 { - yyb370 = yyj370 > l + yyj379++ + if yyhl379 { + yyb379 = yyj379 > l } else { - yyb370 = r.CheckBreak() + yyb379 = r.CheckBreak() } - if yyb370 { + if yyb379 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj370-1, "") + z.DecStructFieldNotFound(yyj379-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4519,49 +4597,49 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym372 := z.EncBinary() - _ = yym372 + yym381 := z.EncBinary() + _ = yym381 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep373 := !z.EncBinary() - yy2arr373 := z.EncBasicHandle().StructToArray - var yyq373 [2]bool - _, _, _ = yysep373, yyq373, yy2arr373 - const yyr373 bool = false - yyq373[0] = x.Type != "" - yyq373[1] = x.RollingUpdate != nil - var yynn373 int - if yyr373 || yy2arr373 { + yysep382 := !z.EncBinary() + yy2arr382 := z.EncBasicHandle().StructToArray + var yyq382 [2]bool + _, _, _ = yysep382, yyq382, yy2arr382 + const yyr382 bool = false + yyq382[0] = x.Type != "" + yyq382[1] = x.RollingUpdate != nil + var yynn382 int + if yyr382 || yy2arr382 { r.EncodeArrayStart(2) } else { - yynn373 = 0 - for _, b := range yyq373 { + yynn382 = 0 + for _, b := range yyq382 { if b { - yynn373++ + yynn382++ } } - r.EncodeMapStart(yynn373) - yynn373 = 0 + r.EncodeMapStart(yynn382) + yynn382 = 0 } - if yyr373 || yy2arr373 { + if yyr382 || yy2arr382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq373[0] { + if yyq382[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq373[0] { + if yyq382[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr373 || yy2arr373 { + if yyr382 || yy2arr382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq373[1] { + if yyq382[1] { if x.RollingUpdate == nil { r.EncodeNil() } else { @@ -4571,7 +4649,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq373[1] { + if yyq382[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollingUpdate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4582,7 +4660,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr373 || yy2arr373 { + if yyr382 || yy2arr382 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4595,25 +4673,25 @@ func (x *DeploymentStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym376 := z.DecBinary() - _ = yym376 + yym385 := z.DecBinary() + _ = yym385 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct377 := r.ContainerType() - if yyct377 == codecSelferValueTypeMap1234 { - yyl377 := r.ReadMapStart() - if yyl377 == 0 { + yyct386 := r.ContainerType() + if yyct386 == codecSelferValueTypeMap1234 { + yyl386 := r.ReadMapStart() + if yyl386 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl377, d) + x.codecDecodeSelfFromMap(yyl386, d) } - } else if yyct377 == codecSelferValueTypeArray1234 { - yyl377 := r.ReadArrayStart() - if yyl377 == 0 { + } else if yyct386 == codecSelferValueTypeArray1234 { + yyl386 := r.ReadArrayStart() + if yyl386 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl377, d) + x.codecDecodeSelfFromArray(yyl386, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4625,12 +4703,12 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys378Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys378Slc - var yyhl378 bool = l >= 0 - for yyj378 := 0; ; yyj378++ { - if yyhl378 { - if yyj378 >= l { + var yys387Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys387Slc + var yyhl387 bool = l >= 0 + for yyj387 := 0; ; yyj387++ { + if yyhl387 { + if yyj387 >= l { break } } else { @@ -4639,10 +4717,10 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys378Slc = r.DecodeBytes(yys378Slc, true, true) - yys378 := string(yys378Slc) + yys387Slc = r.DecodeBytes(yys387Slc, true, true) + yys387 := string(yys387Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys378 { + switch yys387 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -4661,9 +4739,9 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.RollingUpdate.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys378) - } // end switch yys378 - } // end for yyj378 + z.DecStructFieldNotFound(-1, yys387) + } // end switch yys387 + } // end for yyj387 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4671,16 +4749,16 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj381 int - var yyb381 bool - var yyhl381 bool = l >= 0 - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + var yyj390 int + var yyb390 bool + var yyhl390 bool = l >= 0 + yyj390++ + if yyhl390 { + yyb390 = yyj390 > l } else { - yyb381 = r.CheckBreak() + yyb390 = r.CheckBreak() } - if yyb381 { + if yyb390 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4690,13 +4768,13 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = DeploymentStrategyType(r.DecodeString()) } - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + yyj390++ + if yyhl390 { + yyb390 = yyj390 > l } else { - yyb381 = r.CheckBreak() + yyb390 = r.CheckBreak() } - if yyb381 { + if yyb390 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4712,17 +4790,17 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.RollingUpdate.CodecDecodeSelf(d) } for { - yyj381++ - if yyhl381 { - yyb381 = yyj381 > l + yyj390++ + if yyhl390 { + yyb390 = yyj390 > l } else { - yyb381 = r.CheckBreak() + yyb390 = r.CheckBreak() } - if yyb381 { + if yyb390 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj381-1, "") + z.DecStructFieldNotFound(yyj390-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4731,8 +4809,8 @@ func (x DeploymentStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym384 := z.EncBinary() - _ = yym384 + yym393 := z.EncBinary() + _ = yym393 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -4744,8 +4822,8 @@ func (x *DeploymentStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym385 := z.DecBinary() - _ = yym385 + yym394 := z.DecBinary() + _ = yym394 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -4760,98 +4838,98 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym386 := z.EncBinary() - _ = yym386 + yym395 := z.EncBinary() + _ = yym395 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep387 := !z.EncBinary() - yy2arr387 := z.EncBasicHandle().StructToArray - var yyq387 [2]bool - _, _, _ = yysep387, yyq387, yy2arr387 - const yyr387 bool = false - yyq387[0] = true - yyq387[1] = true - var yynn387 int - if yyr387 || yy2arr387 { + yysep396 := !z.EncBinary() + yy2arr396 := z.EncBasicHandle().StructToArray + var yyq396 [2]bool + _, _, _ = yysep396, yyq396, yy2arr396 + const yyr396 bool = false + yyq396[0] = true + yyq396[1] = true + var yynn396 int + if yyr396 || yy2arr396 { r.EncodeArrayStart(2) } else { - yynn387 = 0 - for _, b := range yyq387 { + yynn396 = 0 + for _, b := range yyq396 { if b { - yynn387++ + yynn396++ } } - r.EncodeMapStart(yynn387) - yynn387 = 0 + r.EncodeMapStart(yynn396) + yynn396 = 0 } - if yyr387 || yy2arr387 { + if yyr396 || yy2arr396 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq387[0] { - yy389 := &x.MaxUnavailable - yym390 := z.EncBinary() - _ = yym390 + if yyq396[0] { + yy398 := &x.MaxUnavailable + yym399 := z.EncBinary() + _ = yym399 if false { - } else if z.HasExtensions() && z.EncExt(yy389) { - } else if !yym390 && z.IsJSONHandle() { - z.EncJSONMarshal(yy389) + } else if z.HasExtensions() && z.EncExt(yy398) { + } else if !yym399 && z.IsJSONHandle() { + z.EncJSONMarshal(yy398) } else { - z.EncFallback(yy389) + z.EncFallback(yy398) } } else { r.EncodeNil() } } else { - if yyq387[0] { + if yyq396[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxUnavailable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy391 := &x.MaxUnavailable - yym392 := z.EncBinary() - _ = yym392 + yy400 := &x.MaxUnavailable + yym401 := z.EncBinary() + _ = yym401 if false { - } else if z.HasExtensions() && z.EncExt(yy391) { - } else if !yym392 && z.IsJSONHandle() { - z.EncJSONMarshal(yy391) + } else if z.HasExtensions() && z.EncExt(yy400) { + } else if !yym401 && z.IsJSONHandle() { + z.EncJSONMarshal(yy400) } else { - z.EncFallback(yy391) + z.EncFallback(yy400) } } } - if yyr387 || yy2arr387 { + if yyr396 || yy2arr396 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq387[1] { - yy394 := &x.MaxSurge - yym395 := z.EncBinary() - _ = yym395 + if yyq396[1] { + yy403 := &x.MaxSurge + yym404 := z.EncBinary() + _ = yym404 if false { - } else if z.HasExtensions() && z.EncExt(yy394) { - } else if !yym395 && z.IsJSONHandle() { - z.EncJSONMarshal(yy394) + } else if z.HasExtensions() && z.EncExt(yy403) { + } else if !yym404 && z.IsJSONHandle() { + z.EncJSONMarshal(yy403) } else { - z.EncFallback(yy394) + z.EncFallback(yy403) } } else { r.EncodeNil() } } else { - if yyq387[1] { + if yyq396[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxSurge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy396 := &x.MaxSurge - yym397 := z.EncBinary() - _ = yym397 + yy405 := &x.MaxSurge + yym406 := z.EncBinary() + _ = yym406 if false { - } else if z.HasExtensions() && z.EncExt(yy396) { - } else if !yym397 && z.IsJSONHandle() { - z.EncJSONMarshal(yy396) + } else if z.HasExtensions() && z.EncExt(yy405) { + } else if !yym406 && z.IsJSONHandle() { + z.EncJSONMarshal(yy405) } else { - z.EncFallback(yy396) + z.EncFallback(yy405) } } } - if yyr387 || yy2arr387 { + if yyr396 || yy2arr396 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4864,25 +4942,25 @@ func (x *RollingUpdateDeployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym398 := z.DecBinary() - _ = yym398 + yym407 := z.DecBinary() + _ = yym407 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct399 := r.ContainerType() - if yyct399 == codecSelferValueTypeMap1234 { - yyl399 := r.ReadMapStart() - if yyl399 == 0 { + yyct408 := r.ContainerType() + if yyct408 == codecSelferValueTypeMap1234 { + yyl408 := r.ReadMapStart() + if yyl408 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl399, d) + x.codecDecodeSelfFromMap(yyl408, d) } - } else if yyct399 == codecSelferValueTypeArray1234 { - yyl399 := r.ReadArrayStart() - if yyl399 == 0 { + } else if yyct408 == codecSelferValueTypeArray1234 { + yyl408 := r.ReadArrayStart() + if yyl408 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl399, d) + x.codecDecodeSelfFromArray(yyl408, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4894,12 +4972,12 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys400Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys400Slc - var yyhl400 bool = l >= 0 - for yyj400 := 0; ; yyj400++ { - if yyhl400 { - if yyj400 >= l { + var yys409Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys409Slc + var yyhl409 bool = l >= 0 + for yyj409 := 0; ; yyj409++ { + if yyhl409 { + if yyj409 >= l { break } } else { @@ -4908,44 +4986,44 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys400Slc = r.DecodeBytes(yys400Slc, true, true) - yys400 := string(yys400Slc) + yys409Slc = r.DecodeBytes(yys409Slc, true, true) + yys409 := string(yys409Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys400 { + switch yys409 { case "maxUnavailable": if r.TryDecodeAsNil() { x.MaxUnavailable = pkg5_intstr.IntOrString{} } else { - yyv401 := &x.MaxUnavailable - yym402 := z.DecBinary() - _ = yym402 + yyv410 := &x.MaxUnavailable + yym411 := z.DecBinary() + _ = yym411 if false { - } else if z.HasExtensions() && z.DecExt(yyv401) { - } else if !yym402 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv401) + } else if z.HasExtensions() && z.DecExt(yyv410) { + } else if !yym411 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv410) } else { - z.DecFallback(yyv401, false) + z.DecFallback(yyv410, false) } } case "maxSurge": if r.TryDecodeAsNil() { x.MaxSurge = pkg5_intstr.IntOrString{} } else { - yyv403 := &x.MaxSurge - yym404 := z.DecBinary() - _ = yym404 + yyv412 := &x.MaxSurge + yym413 := z.DecBinary() + _ = yym413 if false { - } else if z.HasExtensions() && z.DecExt(yyv403) { - } else if !yym404 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv403) + } else if z.HasExtensions() && z.DecExt(yyv412) { + } else if !yym413 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv412) } else { - z.DecFallback(yyv403, false) + z.DecFallback(yyv412, false) } } default: - z.DecStructFieldNotFound(-1, yys400) - } // end switch yys400 - } // end for yyj400 + z.DecStructFieldNotFound(-1, yys409) + } // end switch yys409 + } // end for yyj409 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4953,16 +5031,16 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj405 int - var yyb405 bool - var yyhl405 bool = l >= 0 - yyj405++ - if yyhl405 { - yyb405 = yyj405 > l + var yyj414 int + var yyb414 bool + var yyhl414 bool = l >= 0 + yyj414++ + if yyhl414 { + yyb414 = yyj414 > l } else { - yyb405 = r.CheckBreak() + yyb414 = r.CheckBreak() } - if yyb405 { + if yyb414 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4970,24 +5048,24 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.MaxUnavailable = pkg5_intstr.IntOrString{} } else { - yyv406 := &x.MaxUnavailable - yym407 := z.DecBinary() - _ = yym407 + yyv415 := &x.MaxUnavailable + yym416 := z.DecBinary() + _ = yym416 if false { - } else if z.HasExtensions() && z.DecExt(yyv406) { - } else if !yym407 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv406) + } else if z.HasExtensions() && z.DecExt(yyv415) { + } else if !yym416 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv415) } else { - z.DecFallback(yyv406, false) + z.DecFallback(yyv415, false) } } - yyj405++ - if yyhl405 { - yyb405 = yyj405 > l + yyj414++ + if yyhl414 { + yyb414 = yyj414 > l } else { - yyb405 = r.CheckBreak() + yyb414 = r.CheckBreak() } - if yyb405 { + if yyb414 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4995,29 +5073,29 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.MaxSurge = pkg5_intstr.IntOrString{} } else { - yyv408 := &x.MaxSurge - yym409 := z.DecBinary() - _ = yym409 + yyv417 := &x.MaxSurge + yym418 := z.DecBinary() + _ = yym418 if false { - } else if z.HasExtensions() && z.DecExt(yyv408) { - } else if !yym409 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv408) + } else if z.HasExtensions() && z.DecExt(yyv417) { + } else if !yym418 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv417) } else { - z.DecFallback(yyv408, false) + z.DecFallback(yyv417, false) } } for { - yyj405++ - if yyhl405 { - yyb405 = yyj405 > l + yyj414++ + if yyhl414 { + yyb414 = yyj414 > l } else { - yyb405 = r.CheckBreak() + yyb414 = r.CheckBreak() } - if yyb405 { + if yyb414 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj405-1, "") + z.DecStructFieldNotFound(yyj414-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5029,139 +5107,140 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym410 := z.EncBinary() - _ = yym410 + yym419 := z.EncBinary() + _ = yym419 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep411 := !z.EncBinary() - yy2arr411 := z.EncBasicHandle().StructToArray - var yyq411 [5]bool - _, _, _ = yysep411, yyq411, yy2arr411 - const yyr411 bool = false - yyq411[0] = x.ObservedGeneration != 0 - yyq411[1] = x.Replicas != 0 - yyq411[2] = x.UpdatedReplicas != 0 - yyq411[3] = x.AvailableReplicas != 0 - yyq411[4] = x.UnavailableReplicas != 0 - var yynn411 int - if yyr411 || yy2arr411 { - r.EncodeArrayStart(5) + yysep420 := !z.EncBinary() + yy2arr420 := z.EncBasicHandle().StructToArray + var yyq420 [6]bool + _, _, _ = yysep420, yyq420, yy2arr420 + const yyr420 bool = false + yyq420[0] = x.ObservedGeneration != 0 + yyq420[1] = x.Replicas != 0 + yyq420[2] = x.UpdatedReplicas != 0 + yyq420[3] = x.AvailableReplicas != 0 + yyq420[4] = x.UnavailableReplicas != 0 + yyq420[5] = len(x.Conditions) != 0 + var yynn420 int + if yyr420 || yy2arr420 { + r.EncodeArrayStart(6) } else { - yynn411 = 0 - for _, b := range yyq411 { + yynn420 = 0 + for _, b := range yyq420 { if b { - yynn411++ + yynn420++ } } - r.EncodeMapStart(yynn411) - yynn411 = 0 + r.EncodeMapStart(yynn420) + yynn420 = 0 } - if yyr411 || yy2arr411 { + if yyr420 || yy2arr420 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq411[0] { - yym413 := z.EncBinary() - _ = yym413 - if false { - } else { - r.EncodeInt(int64(x.ObservedGeneration)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq411[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym414 := z.EncBinary() - _ = yym414 - if false { - } else { - r.EncodeInt(int64(x.ObservedGeneration)) - } - } - } - if yyr411 || yy2arr411 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq411[1] { - yym416 := z.EncBinary() - _ = yym416 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq411[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("replicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym417 := z.EncBinary() - _ = yym417 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } - } - if yyr411 || yy2arr411 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq411[2] { - yym419 := z.EncBinary() - _ = yym419 - if false { - } else { - r.EncodeInt(int64(x.UpdatedReplicas)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq411[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym420 := z.EncBinary() - _ = yym420 - if false { - } else { - r.EncodeInt(int64(x.UpdatedReplicas)) - } - } - } - if yyr411 || yy2arr411 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq411[3] { + if yyq420[0] { yym422 := z.EncBinary() _ = yym422 if false { } else { - r.EncodeInt(int64(x.AvailableReplicas)) + r.EncodeInt(int64(x.ObservedGeneration)) } } else { r.EncodeInt(0) } } else { - if yyq411[3] { + if yyq420[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) + r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym423 := z.EncBinary() _ = yym423 if false { + } else { + r.EncodeInt(int64(x.ObservedGeneration)) + } + } + } + if yyr420 || yy2arr420 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq420[1] { + yym425 := z.EncBinary() + _ = yym425 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq420[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("replicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym426 := z.EncBinary() + _ = yym426 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } + } + if yyr420 || yy2arr420 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq420[2] { + yym428 := z.EncBinary() + _ = yym428 + if false { + } else { + r.EncodeInt(int64(x.UpdatedReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq420[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym429 := z.EncBinary() + _ = yym429 + if false { + } else { + r.EncodeInt(int64(x.UpdatedReplicas)) + } + } + } + if yyr420 || yy2arr420 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq420[3] { + yym431 := z.EncBinary() + _ = yym431 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq420[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym432 := z.EncBinary() + _ = yym432 + if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr411 || yy2arr411 { + if yyr420 || yy2arr420 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq411[4] { - yym425 := z.EncBinary() - _ = yym425 + if yyq420[4] { + yym434 := z.EncBinary() + _ = yym434 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) @@ -5170,19 +5249,52 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq411[4] { + if yyq420[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unavailableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym426 := z.EncBinary() - _ = yym426 + yym435 := z.EncBinary() + _ = yym435 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) } } } - if yyr411 || yy2arr411 { + if yyr420 || yy2arr420 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq420[5] { + if x.Conditions == nil { + r.EncodeNil() + } else { + yym437 := z.EncBinary() + _ = yym437 + if false { + } else { + h.encSliceDeploymentCondition(([]DeploymentCondition)(x.Conditions), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq420[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("conditions")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Conditions == nil { + r.EncodeNil() + } else { + yym438 := z.EncBinary() + _ = yym438 + if false { + } else { + h.encSliceDeploymentCondition(([]DeploymentCondition)(x.Conditions), e) + } + } + } + } + if yyr420 || yy2arr420 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5195,25 +5307,25 @@ func (x *DeploymentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym427 := z.DecBinary() - _ = yym427 + yym439 := z.DecBinary() + _ = yym439 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct428 := r.ContainerType() - if yyct428 == codecSelferValueTypeMap1234 { - yyl428 := r.ReadMapStart() - if yyl428 == 0 { + yyct440 := r.ContainerType() + if yyct440 == codecSelferValueTypeMap1234 { + yyl440 := r.ReadMapStart() + if yyl440 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl428, d) + x.codecDecodeSelfFromMap(yyl440, d) } - } else if yyct428 == codecSelferValueTypeArray1234 { - yyl428 := r.ReadArrayStart() - if yyl428 == 0 { + } else if yyct440 == codecSelferValueTypeArray1234 { + yyl440 := r.ReadArrayStart() + if yyl440 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl428, d) + x.codecDecodeSelfFromArray(yyl440, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5225,12 +5337,12 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys429Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys429Slc - var yyhl429 bool = l >= 0 - for yyj429 := 0; ; yyj429++ { - if yyhl429 { - if yyj429 >= l { + var yys441Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys441Slc + var yyhl441 bool = l >= 0 + for yyj441 := 0; ; yyj441++ { + if yyhl441 { + if yyj441 >= l { break } } else { @@ -5239,10 +5351,10 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys429Slc = r.DecodeBytes(yys429Slc, true, true) - yys429 := string(yys429Slc) + yys441Slc = r.DecodeBytes(yys441Slc, true, true) + yys441 := string(yys441Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys429 { + switch yys441 { case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 @@ -5273,10 +5385,22 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.UnavailableReplicas = int32(r.DecodeInt(32)) } + case "conditions": + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv447 := &x.Conditions + yym448 := z.DecBinary() + _ = yym448 + if false { + } else { + h.decSliceDeploymentCondition((*[]DeploymentCondition)(yyv447), d) + } + } default: - z.DecStructFieldNotFound(-1, yys429) - } // end switch yys429 - } // end for yyj429 + z.DecStructFieldNotFound(-1, yys441) + } // end switch yys441 + } // end for yyj441 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5284,16 +5408,16 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj435 int - var yyb435 bool - var yyhl435 bool = l >= 0 - yyj435++ - if yyhl435 { - yyb435 = yyj435 > l + var yyj449 int + var yyb449 bool + var yyhl449 bool = l >= 0 + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l } else { - yyb435 = r.CheckBreak() + yyb449 = r.CheckBreak() } - if yyb435 { + if yyb449 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5303,13 +5427,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj435++ - if yyhl435 { - yyb435 = yyj435 > l + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l } else { - yyb435 = r.CheckBreak() + yyb449 = r.CheckBreak() } - if yyb435 { + if yyb449 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5319,13 +5443,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj435++ - if yyhl435 { - yyb435 = yyj435 > l + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l } else { - yyb435 = r.CheckBreak() + yyb449 = r.CheckBreak() } - if yyb435 { + if yyb449 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5335,13 +5459,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UpdatedReplicas = int32(r.DecodeInt(32)) } - yyj435++ - if yyhl435 { - yyb435 = yyj435 > l + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l } else { - yyb435 = r.CheckBreak() + yyb449 = r.CheckBreak() } - if yyb435 { + if yyb449 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5351,13 +5475,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj435++ - if yyhl435 { - yyb435 = yyj435 > l + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l } else { - yyb435 = r.CheckBreak() + yyb449 = r.CheckBreak() } - if yyb435 { + if yyb449 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5367,444 +5491,259 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UnavailableReplicas = int32(r.DecodeInt(32)) } - for { - yyj435++ - if yyhl435 { - yyb435 = yyj435 > l + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l + } else { + yyb449 = r.CheckBreak() + } + if yyb449 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv455 := &x.Conditions + yym456 := z.DecBinary() + _ = yym456 + if false { } else { - yyb435 = r.CheckBreak() + h.decSliceDeploymentCondition((*[]DeploymentCondition)(yyv455), d) } - if yyb435 { + } + for { + yyj449++ + if yyhl449 { + yyb449 = yyj449 > l + } else { + yyb449 = r.CheckBreak() + } + if yyb449 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj435-1, "") + z.DecStructFieldNotFound(yyj449-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x DeploymentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - if x == nil { - r.EncodeNil() + yym457 := z.EncBinary() + _ = yym457 + if false { + } else if z.HasExtensions() && z.EncExt(x) { } else { - yym441 := z.EncBinary() - _ = yym441 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep442 := !z.EncBinary() - yy2arr442 := z.EncBasicHandle().StructToArray - var yyq442 [4]bool - _, _, _ = yysep442, yyq442, yy2arr442 - const yyr442 bool = false - yyq442[0] = x.Kind != "" - yyq442[1] = x.APIVersion != "" - yyq442[2] = true - var yynn442 int - if yyr442 || yy2arr442 { - r.EncodeArrayStart(4) - } else { - yynn442 = 1 - for _, b := range yyq442 { - if b { - yynn442++ - } - } - r.EncodeMapStart(yynn442) - yynn442 = 0 - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq442[0] { - yym444 := z.EncBinary() - _ = yym444 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq442[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym445 := z.EncBinary() - _ = yym445 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq442[1] { - yym447 := z.EncBinary() - _ = yym447 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq442[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym448 := z.EncBinary() - _ = yym448 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq442[2] { - yy450 := &x.ListMeta - yym451 := z.EncBinary() - _ = yym451 - if false { - } else if z.HasExtensions() && z.EncExt(yy450) { - } else { - z.EncFallback(yy450) - } - } else { - r.EncodeNil() - } - } else { - if yyq442[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy452 := &x.ListMeta - yym453 := z.EncBinary() - _ = yym453 - if false { - } else if z.HasExtensions() && z.EncExt(yy452) { - } else { - z.EncFallback(yy452) - } - } - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym455 := z.EncBinary() - _ = yym455 - if false { - } else { - h.encSliceDeployment(([]Deployment)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym456 := z.EncBinary() - _ = yym456 - if false { - } else { - h.encSliceDeployment(([]Deployment)(x.Items), e) - } - } - } - if yyr442 || yy2arr442 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } + r.EncodeString(codecSelferC_UTF81234, string(x)) } } -func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *DeploymentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym457 := z.DecBinary() - _ = yym457 + yym458 := z.DecBinary() + _ = yym458 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct458 := r.ContainerType() - if yyct458 == codecSelferValueTypeMap1234 { - yyl458 := r.ReadMapStart() - if yyl458 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl458, d) - } - } else if yyct458 == codecSelferValueTypeArray1234 { - yyl458 := r.ReadArrayStart() - if yyl458 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl458, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } + *((*string)(x)) = r.DecodeString() } } -func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys459Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys459Slc - var yyhl459 bool = l >= 0 - for yyj459 := 0; ; yyj459++ { - if yyhl459 { - if yyj459 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys459Slc = r.DecodeBytes(yys459Slc, true, true) - yys459 := string(yys459Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys459 { - 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 = pkg1_unversioned.ListMeta{} - } else { - yyv462 := &x.ListMeta - yym463 := z.DecBinary() - _ = yym463 - if false { - } else if z.HasExtensions() && z.DecExt(yyv462) { - } else { - z.DecFallback(yyv462, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv464 := &x.Items - yym465 := z.DecBinary() - _ = yym465 - if false { - } else { - h.decSliceDeployment((*[]Deployment)(yyv464), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys459) - } // end switch yys459 - } // end for yyj459 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj466 int - var yyb466 bool - var yyhl466 bool = l >= 0 - yyj466++ - if yyhl466 { - yyb466 = yyj466 > l - } else { - yyb466 = r.CheckBreak() - } - if yyb466 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj466++ - if yyhl466 { - yyb466 = yyj466 > l - } else { - yyb466 = r.CheckBreak() - } - if yyb466 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj466++ - if yyhl466 { - yyb466 = yyj466 > l - } else { - yyb466 = r.CheckBreak() - } - if yyb466 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv469 := &x.ListMeta - yym470 := z.DecBinary() - _ = yym470 - if false { - } else if z.HasExtensions() && z.DecExt(yyv469) { - } else { - z.DecFallback(yyv469, false) - } - } - yyj466++ - if yyhl466 { - yyb466 = yyj466 > l - } else { - yyb466 = r.CheckBreak() - } - if yyb466 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv471 := &x.Items - yym472 := z.DecBinary() - _ = yym472 - if false { - } else { - h.decSliceDeployment((*[]Deployment)(yyv471), d) - } - } - for { - yyj466++ - if yyhl466 { - yyb466 = yyj466 > l - } else { - yyb466 = r.CheckBreak() - } - if yyb466 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj466-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *DeploymentCondition) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym473 := z.EncBinary() - _ = yym473 + yym459 := z.EncBinary() + _ = yym459 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep474 := !z.EncBinary() - yy2arr474 := z.EncBasicHandle().StructToArray - var yyq474 [2]bool - _, _, _ = yysep474, yyq474, yy2arr474 - const yyr474 bool = false - yyq474[0] = x.Selector != nil - var yynn474 int - if yyr474 || yy2arr474 { - r.EncodeArrayStart(2) + yysep460 := !z.EncBinary() + yy2arr460 := z.EncBasicHandle().StructToArray + var yyq460 [6]bool + _, _, _ = yysep460, yyq460, yy2arr460 + const yyr460 bool = false + yyq460[2] = true + yyq460[3] = true + yyq460[4] = x.Reason != "" + yyq460[5] = x.Message != "" + var yynn460 int + if yyr460 || yy2arr460 { + r.EncodeArrayStart(6) } else { - yynn474 = 1 - for _, b := range yyq474 { + yynn460 = 2 + for _, b := range yyq460 { if b { - yynn474++ + yynn460++ } } - r.EncodeMapStart(yynn474) - yynn474 = 0 + r.EncodeMapStart(yynn460) + yynn460 = 0 } - if yyr474 || yy2arr474 { + if yyr460 || yy2arr460 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq474[0] { - if x.Selector == nil { - r.EncodeNil() + x.Type.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Type.CodecEncodeSelf(e) + } + if yyr460 || yy2arr460 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym463 := z.EncBinary() + _ = yym463 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym464 := z.EncBinary() + _ = yym464 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } + } + if yyr460 || yy2arr460 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq460[2] { + yy466 := &x.LastUpdateTime + yym467 := z.EncBinary() + _ = yym467 + if false { + } else if z.HasExtensions() && z.EncExt(yy466) { + } else if yym467 { + z.EncBinaryMarshal(yy466) + } else if !yym467 && z.IsJSONHandle() { + z.EncJSONMarshal(yy466) } else { - yym476 := z.EncBinary() - _ = yym476 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + z.EncFallback(yy466) } } else { r.EncodeNil() } } else { - if yyq474[0] { + if yyq460[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("selector")) + r.EncodeString(codecSelferC_UTF81234, string("lastUpdateTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Selector == nil { - r.EncodeNil() + yy468 := &x.LastUpdateTime + yym469 := z.EncBinary() + _ = yym469 + if false { + } else if z.HasExtensions() && z.EncExt(yy468) { + } else if yym469 { + z.EncBinaryMarshal(yy468) + } else if !yym469 && z.IsJSONHandle() { + z.EncJSONMarshal(yy468) } else { - yym477 := z.EncBinary() - _ = yym477 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + z.EncFallback(yy468) } } } - if yyr474 || yy2arr474 { + if yyr460 || yy2arr460 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy479 := &x.Template - yy479.CodecEncodeSelf(e) + if yyq460[3] { + yy471 := &x.LastTransitionTime + yym472 := z.EncBinary() + _ = yym472 + if false { + } else if z.HasExtensions() && z.EncExt(yy471) { + } else if yym472 { + z.EncBinaryMarshal(yy471) + } else if !yym472 && z.IsJSONHandle() { + z.EncJSONMarshal(yy471) + } else { + z.EncFallback(yy471) + } + } else { + r.EncodeNil() + } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("template")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy480 := &x.Template - yy480.CodecEncodeSelf(e) + if yyq460[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy473 := &x.LastTransitionTime + yym474 := z.EncBinary() + _ = yym474 + if false { + } else if z.HasExtensions() && z.EncExt(yy473) { + } else if yym474 { + z.EncBinaryMarshal(yy473) + } else if !yym474 && z.IsJSONHandle() { + z.EncJSONMarshal(yy473) + } else { + z.EncFallback(yy473) + } + } } - if yyr474 || yy2arr474 { + if yyr460 || yy2arr460 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq460[4] { + yym476 := z.EncBinary() + _ = yym476 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq460[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym477 := z.EncBinary() + _ = yym477 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr460 || yy2arr460 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq460[5] { + yym479 := z.EncBinary() + _ = yym479 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq460[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym480 := z.EncBinary() + _ = yym480 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr460 || yy2arr460 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5813,7 +5752,7 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *DeploymentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -5843,7 +5782,7 @@ func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *DeploymentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -5865,6 +5804,694 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys483 := string(yys483Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys483 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = DeploymentConditionType(r.DecodeString()) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = pkg2_api.ConditionStatus(r.DecodeString()) + } + case "lastUpdateTime": + if r.TryDecodeAsNil() { + x.LastUpdateTime = pkg1_unversioned.Time{} + } else { + yyv486 := &x.LastUpdateTime + yym487 := z.DecBinary() + _ = yym487 + if false { + } else if z.HasExtensions() && z.DecExt(yyv486) { + } else if yym487 { + z.DecBinaryUnmarshal(yyv486) + } else if !yym487 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv486) + } else { + z.DecFallback(yyv486, false) + } + } + case "lastTransitionTime": + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg1_unversioned.Time{} + } else { + yyv488 := &x.LastTransitionTime + yym489 := z.DecBinary() + _ = yym489 + if false { + } else if z.HasExtensions() && z.DecExt(yyv488) { + } else if yym489 { + z.DecBinaryUnmarshal(yyv488) + } else if !yym489 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv488) + } else { + z.DecFallback(yyv488, false) + } + } + case "reason": + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + case "message": + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys483) + } // end switch yys483 + } // end for yyj483 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DeploymentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj492 int + var yyb492 bool + var yyhl492 bool = l >= 0 + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = DeploymentConditionType(r.DecodeString()) + } + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = pkg2_api.ConditionStatus(r.DecodeString()) + } + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastUpdateTime = pkg1_unversioned.Time{} + } else { + yyv495 := &x.LastUpdateTime + yym496 := z.DecBinary() + _ = yym496 + if false { + } else if z.HasExtensions() && z.DecExt(yyv495) { + } else if yym496 { + z.DecBinaryUnmarshal(yyv495) + } else if !yym496 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv495) + } else { + z.DecFallback(yyv495, false) + } + } + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg1_unversioned.Time{} + } else { + yyv497 := &x.LastTransitionTime + yym498 := z.DecBinary() + _ = yym498 + if false { + } else if z.HasExtensions() && z.DecExt(yyv497) { + } else if yym498 { + z.DecBinaryUnmarshal(yyv497) + } else if !yym498 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv497) + } else { + z.DecFallback(yyv497, false) + } + } + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + for { + yyj492++ + if yyhl492 { + yyb492 = yyj492 > l + } else { + yyb492 = r.CheckBreak() + } + if yyb492 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj492-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym501 := z.EncBinary() + _ = yym501 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep502 := !z.EncBinary() + yy2arr502 := z.EncBasicHandle().StructToArray + var yyq502 [4]bool + _, _, _ = yysep502, yyq502, yy2arr502 + const yyr502 bool = false + yyq502[0] = x.Kind != "" + yyq502[1] = x.APIVersion != "" + yyq502[2] = true + var yynn502 int + if yyr502 || yy2arr502 { + r.EncodeArrayStart(4) + } else { + yynn502 = 1 + for _, b := range yyq502 { + if b { + yynn502++ + } + } + r.EncodeMapStart(yynn502) + yynn502 = 0 + } + if yyr502 || yy2arr502 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq502[0] { + yym504 := z.EncBinary() + _ = yym504 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq502[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym505 := z.EncBinary() + _ = yym505 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr502 || yy2arr502 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq502[1] { + yym507 := z.EncBinary() + _ = yym507 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq502[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym508 := z.EncBinary() + _ = yym508 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr502 || yy2arr502 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq502[2] { + yy510 := &x.ListMeta + yym511 := z.EncBinary() + _ = yym511 + if false { + } else if z.HasExtensions() && z.EncExt(yy510) { + } else { + z.EncFallback(yy510) + } + } else { + r.EncodeNil() + } + } else { + if yyq502[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy512 := &x.ListMeta + yym513 := z.EncBinary() + _ = yym513 + if false { + } else if z.HasExtensions() && z.EncExt(yy512) { + } else { + z.EncFallback(yy512) + } + } + } + if yyr502 || yy2arr502 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym515 := z.EncBinary() + _ = yym515 + if false { + } else { + h.encSliceDeployment(([]Deployment)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym516 := z.EncBinary() + _ = yym516 + if false { + } else { + h.encSliceDeployment(([]Deployment)(x.Items), e) + } + } + } + if yyr502 || yy2arr502 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym517 := z.DecBinary() + _ = yym517 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct518 := r.ContainerType() + if yyct518 == codecSelferValueTypeMap1234 { + yyl518 := r.ReadMapStart() + if yyl518 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl518, d) + } + } else if yyct518 == codecSelferValueTypeArray1234 { + yyl518 := r.ReadArrayStart() + if yyl518 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl518, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys519Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys519Slc + var yyhl519 bool = l >= 0 + for yyj519 := 0; ; yyj519++ { + if yyhl519 { + if yyj519 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys519Slc = r.DecodeBytes(yys519Slc, true, true) + yys519 := string(yys519Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys519 { + 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 = pkg1_unversioned.ListMeta{} + } else { + yyv522 := &x.ListMeta + yym523 := z.DecBinary() + _ = yym523 + if false { + } else if z.HasExtensions() && z.DecExt(yyv522) { + } else { + z.DecFallback(yyv522, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv524 := &x.Items + yym525 := z.DecBinary() + _ = yym525 + if false { + } else { + h.decSliceDeployment((*[]Deployment)(yyv524), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys519) + } // end switch yys519 + } // end for yyj519 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj526 int + var yyb526 bool + var yyhl526 bool = l >= 0 + yyj526++ + if yyhl526 { + yyb526 = yyj526 > l + } else { + yyb526 = r.CheckBreak() + } + if yyb526 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj526++ + if yyhl526 { + yyb526 = yyj526 > l + } else { + yyb526 = r.CheckBreak() + } + if yyb526 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj526++ + if yyhl526 { + yyb526 = yyj526 > l + } else { + yyb526 = r.CheckBreak() + } + if yyb526 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv529 := &x.ListMeta + yym530 := z.DecBinary() + _ = yym530 + if false { + } else if z.HasExtensions() && z.DecExt(yyv529) { + } else { + z.DecFallback(yyv529, false) + } + } + yyj526++ + if yyhl526 { + yyb526 = yyj526 > l + } else { + yyb526 = r.CheckBreak() + } + if yyb526 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv531 := &x.Items + yym532 := z.DecBinary() + _ = yym532 + if false { + } else { + h.decSliceDeployment((*[]Deployment)(yyv531), d) + } + } + for { + yyj526++ + if yyhl526 { + yyb526 = yyj526 > l + } else { + yyb526 = r.CheckBreak() + } + if yyb526 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj526-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym533 := z.EncBinary() + _ = yym533 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep534 := !z.EncBinary() + yy2arr534 := z.EncBasicHandle().StructToArray + var yyq534 [2]bool + _, _, _ = yysep534, yyq534, yy2arr534 + const yyr534 bool = false + yyq534[0] = x.Selector != nil + var yynn534 int + if yyr534 || yy2arr534 { + r.EncodeArrayStart(2) + } else { + yynn534 = 1 + for _, b := range yyq534 { + if b { + yynn534++ + } + } + r.EncodeMapStart(yynn534) + yynn534 = 0 + } + if yyr534 || yy2arr534 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq534[0] { + if x.Selector == nil { + r.EncodeNil() + } else { + yym536 := z.EncBinary() + _ = yym536 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq534[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("selector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Selector == nil { + r.EncodeNil() + } else { + yym537 := z.EncBinary() + _ = yym537 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } + } + } + } + if yyr534 || yy2arr534 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy539 := &x.Template + yy539.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("template")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy540 := &x.Template + yy540.CodecEncodeSelf(e) + } + if yyr534 || yy2arr534 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym541 := z.DecBinary() + _ = yym541 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct542 := r.ContainerType() + if yyct542 == codecSelferValueTypeMap1234 { + yyl542 := r.ReadMapStart() + if yyl542 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl542, d) + } + } else if yyct542 == codecSelferValueTypeArray1234 { + yyl542 := r.ReadArrayStart() + if yyl542 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl542, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys543Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys543Slc + var yyhl543 bool = l >= 0 + for yyj543 := 0; ; yyj543++ { + if yyhl543 { + if yyj543 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys543Slc = r.DecodeBytes(yys543Slc, true, true) + yys543 := string(yys543Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys543 { case "selector": if r.TryDecodeAsNil() { if x.Selector != nil { @@ -5874,8 +6501,8 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym485 := z.DecBinary() - _ = yym485 + yym545 := z.DecBinary() + _ = yym545 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -5886,13 +6513,13 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv486 := &x.Template - yyv486.CodecDecodeSelf(d) + yyv546 := &x.Template + yyv546.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys483) - } // end switch yys483 - } // end for yyj483 + z.DecStructFieldNotFound(-1, yys543) + } // end switch yys543 + } // end for yyj543 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5900,16 +6527,16 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj487 int - var yyb487 bool - var yyhl487 bool = l >= 0 - yyj487++ - if yyhl487 { - yyb487 = yyj487 > l + var yyj547 int + var yyb547 bool + var yyhl547 bool = l >= 0 + yyj547++ + if yyhl547 { + yyb547 = yyj547 > l } else { - yyb487 = r.CheckBreak() + yyb547 = r.CheckBreak() } - if yyb487 { + if yyb547 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5922,21 +6549,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym489 := z.DecBinary() - _ = yym489 + yym549 := z.DecBinary() + _ = yym549 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj487++ - if yyhl487 { - yyb487 = yyj487 > l + yyj547++ + if yyhl547 { + yyb547 = yyj547 > l } else { - yyb487 = r.CheckBreak() + yyb547 = r.CheckBreak() } - if yyb487 { + if yyb547 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5944,21 +6571,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv490 := &x.Template - yyv490.CodecDecodeSelf(d) + yyv550 := &x.Template + yyv550.CodecDecodeSelf(d) } for { - yyj487++ - if yyhl487 { - yyb487 = yyj487 > l + yyj547++ + if yyhl547 { + yyb547 = yyj547 > l } else { - yyb487 = r.CheckBreak() + yyb547 = r.CheckBreak() } - if yyb487 { + if yyb547 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj487-1, "") + z.DecStructFieldNotFound(yyj547-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5970,33 +6597,33 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym491 := z.EncBinary() - _ = yym491 + yym551 := z.EncBinary() + _ = yym551 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep492 := !z.EncBinary() - yy2arr492 := z.EncBasicHandle().StructToArray - var yyq492 [4]bool - _, _, _ = yysep492, yyq492, yy2arr492 - const yyr492 bool = false - var yynn492 int - if yyr492 || yy2arr492 { + yysep552 := !z.EncBinary() + yy2arr552 := z.EncBasicHandle().StructToArray + var yyq552 [4]bool + _, _, _ = yysep552, yyq552, yy2arr552 + const yyr552 bool = false + var yynn552 int + if yyr552 || yy2arr552 { r.EncodeArrayStart(4) } else { - yynn492 = 4 - for _, b := range yyq492 { + yynn552 = 4 + for _, b := range yyq552 { if b { - yynn492++ + yynn552++ } } - r.EncodeMapStart(yynn492) - yynn492 = 0 + r.EncodeMapStart(yynn552) + yynn552 = 0 } - if yyr492 || yy2arr492 { + if yyr552 || yy2arr552 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym494 := z.EncBinary() - _ = yym494 + yym554 := z.EncBinary() + _ = yym554 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) @@ -6005,17 +6632,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym495 := z.EncBinary() - _ = yym495 + yym555 := z.EncBinary() + _ = yym555 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) } } - if yyr492 || yy2arr492 { + if yyr552 || yy2arr552 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym497 := z.EncBinary() - _ = yym497 + yym557 := z.EncBinary() + _ = yym557 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) @@ -6024,17 +6651,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberMisscheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym498 := z.EncBinary() - _ = yym498 + yym558 := z.EncBinary() + _ = yym558 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) } } - if yyr492 || yy2arr492 { + if yyr552 || yy2arr552 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym500 := z.EncBinary() - _ = yym500 + yym560 := z.EncBinary() + _ = yym560 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) @@ -6043,17 +6670,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym501 := z.EncBinary() - _ = yym501 + yym561 := z.EncBinary() + _ = yym561 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) } } - if yyr492 || yy2arr492 { + if yyr552 || yy2arr552 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym503 := z.EncBinary() - _ = yym503 + yym563 := z.EncBinary() + _ = yym563 if false { } else { r.EncodeInt(int64(x.NumberReady)) @@ -6062,14 +6689,14 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberReady")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym504 := z.EncBinary() - _ = yym504 + yym564 := z.EncBinary() + _ = yym564 if false { } else { r.EncodeInt(int64(x.NumberReady)) } } - if yyr492 || yy2arr492 { + if yyr552 || yy2arr552 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6082,25 +6709,25 @@ func (x *DaemonSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym505 := z.DecBinary() - _ = yym505 + yym565 := z.DecBinary() + _ = yym565 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct506 := r.ContainerType() - if yyct506 == codecSelferValueTypeMap1234 { - yyl506 := r.ReadMapStart() - if yyl506 == 0 { + yyct566 := r.ContainerType() + if yyct566 == codecSelferValueTypeMap1234 { + yyl566 := r.ReadMapStart() + if yyl566 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl506, d) + x.codecDecodeSelfFromMap(yyl566, d) } - } else if yyct506 == codecSelferValueTypeArray1234 { - yyl506 := r.ReadArrayStart() - if yyl506 == 0 { + } else if yyct566 == codecSelferValueTypeArray1234 { + yyl566 := r.ReadArrayStart() + if yyl566 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl506, d) + x.codecDecodeSelfFromArray(yyl566, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6112,12 +6739,12 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys507Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys507Slc - var yyhl507 bool = l >= 0 - for yyj507 := 0; ; yyj507++ { - if yyhl507 { - if yyj507 >= l { + var yys567Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys567Slc + var yyhl567 bool = l >= 0 + for yyj567 := 0; ; yyj567++ { + if yyhl567 { + if yyj567 >= l { break } } else { @@ -6126,10 +6753,10 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys507Slc = r.DecodeBytes(yys507Slc, true, true) - yys507 := string(yys507Slc) + yys567Slc = r.DecodeBytes(yys567Slc, true, true) + yys567 := string(yys567Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys507 { + switch yys567 { case "currentNumberScheduled": if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 @@ -6155,9 +6782,9 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.NumberReady = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys507) - } // end switch yys507 - } // end for yyj507 + z.DecStructFieldNotFound(-1, yys567) + } // end switch yys567 + } // end for yyj567 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6165,16 +6792,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj512 int - var yyb512 bool - var yyhl512 bool = l >= 0 - yyj512++ - if yyhl512 { - yyb512 = yyj512 > l + var yyj572 int + var yyb572 bool + var yyhl572 bool = l >= 0 + yyj572++ + if yyhl572 { + yyb572 = yyj572 > l } else { - yyb512 = r.CheckBreak() + yyb572 = r.CheckBreak() } - if yyb512 { + if yyb572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6184,13 +6811,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.CurrentNumberScheduled = int32(r.DecodeInt(32)) } - yyj512++ - if yyhl512 { - yyb512 = yyj512 > l + yyj572++ + if yyhl572 { + yyb572 = yyj572 > l } else { - yyb512 = r.CheckBreak() + yyb572 = r.CheckBreak() } - if yyb512 { + if yyb572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6200,13 +6827,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.NumberMisscheduled = int32(r.DecodeInt(32)) } - yyj512++ - if yyhl512 { - yyb512 = yyj512 > l + yyj572++ + if yyhl572 { + yyb572 = yyj572 > l } else { - yyb512 = r.CheckBreak() + yyb572 = r.CheckBreak() } - if yyb512 { + if yyb572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6216,13 +6843,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } - yyj512++ - if yyhl512 { - yyb512 = yyj512 > l + yyj572++ + if yyhl572 { + yyb572 = yyj572 > l } else { - yyb512 = r.CheckBreak() + yyb572 = r.CheckBreak() } - if yyb512 { + if yyb572 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6233,17 +6860,17 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.NumberReady = int32(r.DecodeInt(32)) } for { - yyj512++ - if yyhl512 { - yyb512 = yyj512 > l + yyj572++ + if yyhl572 { + yyb572 = yyj572 > l } else { - yyb512 = r.CheckBreak() + yyb572 = r.CheckBreak() } - if yyb512 { + if yyb572 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj512-1, "") + z.DecStructFieldNotFound(yyj572-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6255,39 +6882,39 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym517 := z.EncBinary() - _ = yym517 + yym577 := z.EncBinary() + _ = yym577 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep518 := !z.EncBinary() - yy2arr518 := z.EncBasicHandle().StructToArray - var yyq518 [5]bool - _, _, _ = yysep518, yyq518, yy2arr518 - const yyr518 bool = false - yyq518[0] = x.Kind != "" - yyq518[1] = x.APIVersion != "" - yyq518[2] = true - yyq518[3] = true - yyq518[4] = true - var yynn518 int - if yyr518 || yy2arr518 { + yysep578 := !z.EncBinary() + yy2arr578 := z.EncBasicHandle().StructToArray + var yyq578 [5]bool + _, _, _ = yysep578, yyq578, yy2arr578 + const yyr578 bool = false + yyq578[0] = x.Kind != "" + yyq578[1] = x.APIVersion != "" + yyq578[2] = true + yyq578[3] = true + yyq578[4] = true + var yynn578 int + if yyr578 || yy2arr578 { r.EncodeArrayStart(5) } else { - yynn518 = 0 - for _, b := range yyq518 { + yynn578 = 0 + for _, b := range yyq578 { if b { - yynn518++ + yynn578++ } } - r.EncodeMapStart(yynn518) - yynn518 = 0 + r.EncodeMapStart(yynn578) + yynn578 = 0 } - if yyr518 || yy2arr518 { + if yyr578 || yy2arr578 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq518[0] { - yym520 := z.EncBinary() - _ = yym520 + if yyq578[0] { + yym580 := z.EncBinary() + _ = yym580 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6296,23 +6923,23 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq518[0] { + if yyq578[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym521 := z.EncBinary() - _ = yym521 + yym581 := z.EncBinary() + _ = yym581 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr518 || yy2arr518 { + if yyr578 || yy2arr578 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq518[1] { - yym523 := z.EncBinary() - _ = yym523 + if yyq578[1] { + yym583 := z.EncBinary() + _ = yym583 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6321,70 +6948,70 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq518[1] { + if yyq578[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym524 := z.EncBinary() - _ = yym524 + yym584 := z.EncBinary() + _ = yym584 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr518 || yy2arr518 { + if yyr578 || yy2arr578 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq518[2] { - yy526 := &x.ObjectMeta - yy526.CodecEncodeSelf(e) + if yyq578[2] { + yy586 := &x.ObjectMeta + yy586.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq518[2] { + if yyq578[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy527 := &x.ObjectMeta - yy527.CodecEncodeSelf(e) + yy587 := &x.ObjectMeta + yy587.CodecEncodeSelf(e) } } - if yyr518 || yy2arr518 { + if yyr578 || yy2arr578 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq518[3] { - yy529 := &x.Spec - yy529.CodecEncodeSelf(e) + if yyq578[3] { + yy589 := &x.Spec + yy589.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq518[3] { + if yyq578[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy530 := &x.Spec - yy530.CodecEncodeSelf(e) + yy590 := &x.Spec + yy590.CodecEncodeSelf(e) } } - if yyr518 || yy2arr518 { + if yyr578 || yy2arr578 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq518[4] { - yy532 := &x.Status - yy532.CodecEncodeSelf(e) + if yyq578[4] { + yy592 := &x.Status + yy592.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq518[4] { + if yyq578[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy533 := &x.Status - yy533.CodecEncodeSelf(e) + yy593 := &x.Status + yy593.CodecEncodeSelf(e) } } - if yyr518 || yy2arr518 { + if yyr578 || yy2arr578 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6397,25 +7024,25 @@ func (x *DaemonSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym534 := z.DecBinary() - _ = yym534 + yym594 := z.DecBinary() + _ = yym594 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct535 := r.ContainerType() - if yyct535 == codecSelferValueTypeMap1234 { - yyl535 := r.ReadMapStart() - if yyl535 == 0 { + yyct595 := r.ContainerType() + if yyct595 == codecSelferValueTypeMap1234 { + yyl595 := r.ReadMapStart() + if yyl595 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl535, d) + x.codecDecodeSelfFromMap(yyl595, d) } - } else if yyct535 == codecSelferValueTypeArray1234 { - yyl535 := r.ReadArrayStart() - if yyl535 == 0 { + } else if yyct595 == codecSelferValueTypeArray1234 { + yyl595 := r.ReadArrayStart() + if yyl595 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl535, d) + x.codecDecodeSelfFromArray(yyl595, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6427,12 +7054,12 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys536Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys536Slc - var yyhl536 bool = l >= 0 - for yyj536 := 0; ; yyj536++ { - if yyhl536 { - if yyj536 >= l { + var yys596Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys596Slc + var yyhl596 bool = l >= 0 + for yyj596 := 0; ; yyj596++ { + if yyhl596 { + if yyj596 >= l { break } } else { @@ -6441,10 +7068,10 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys536Slc = r.DecodeBytes(yys536Slc, true, true) - yys536 := string(yys536Slc) + yys596Slc = r.DecodeBytes(yys596Slc, true, true) + yys596 := string(yys596Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys536 { + switch yys596 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6461,27 +7088,27 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv539 := &x.ObjectMeta - yyv539.CodecDecodeSelf(d) + yyv599 := &x.ObjectMeta + yyv599.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv540 := &x.Spec - yyv540.CodecDecodeSelf(d) + yyv600 := &x.Spec + yyv600.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv541 := &x.Status - yyv541.CodecDecodeSelf(d) + yyv601 := &x.Status + yyv601.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys536) - } // end switch yys536 - } // end for yyj536 + z.DecStructFieldNotFound(-1, yys596) + } // end switch yys596 + } // end for yyj596 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6489,16 +7116,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj542 int - var yyb542 bool - var yyhl542 bool = l >= 0 - yyj542++ - if yyhl542 { - yyb542 = yyj542 > l + var yyj602 int + var yyb602 bool + var yyhl602 bool = l >= 0 + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb542 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb542 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6508,13 +7135,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj542++ - if yyhl542 { - yyb542 = yyj542 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb542 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb542 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6524,13 +7151,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj542++ - if yyhl542 { - yyb542 = yyj542 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb542 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb542 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6538,16 +7165,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv545 := &x.ObjectMeta - yyv545.CodecDecodeSelf(d) + yyv605 := &x.ObjectMeta + yyv605.CodecDecodeSelf(d) } - yyj542++ - if yyhl542 { - yyb542 = yyj542 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb542 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb542 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6555,16 +7182,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv546 := &x.Spec - yyv546.CodecDecodeSelf(d) + yyv606 := &x.Spec + yyv606.CodecDecodeSelf(d) } - yyj542++ - if yyhl542 { - yyb542 = yyj542 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb542 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb542 { + if yyb602 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6572,21 +7199,21 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv547 := &x.Status - yyv547.CodecDecodeSelf(d) + yyv607 := &x.Status + yyv607.CodecDecodeSelf(d) } for { - yyj542++ - if yyhl542 { - yyb542 = yyj542 > l + yyj602++ + if yyhl602 { + yyb602 = yyj602 > l } else { - yyb542 = r.CheckBreak() + yyb602 = r.CheckBreak() } - if yyb542 { + if yyb602 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj542-1, "") + z.DecStructFieldNotFound(yyj602-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6598,37 +7225,37 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym548 := z.EncBinary() - _ = yym548 + yym608 := z.EncBinary() + _ = yym608 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep549 := !z.EncBinary() - yy2arr549 := z.EncBasicHandle().StructToArray - var yyq549 [4]bool - _, _, _ = yysep549, yyq549, yy2arr549 - const yyr549 bool = false - yyq549[0] = x.Kind != "" - yyq549[1] = x.APIVersion != "" - yyq549[2] = true - var yynn549 int - if yyr549 || yy2arr549 { + yysep609 := !z.EncBinary() + yy2arr609 := z.EncBasicHandle().StructToArray + var yyq609 [4]bool + _, _, _ = yysep609, yyq609, yy2arr609 + const yyr609 bool = false + yyq609[0] = x.Kind != "" + yyq609[1] = x.APIVersion != "" + yyq609[2] = true + var yynn609 int + if yyr609 || yy2arr609 { r.EncodeArrayStart(4) } else { - yynn549 = 1 - for _, b := range yyq549 { + yynn609 = 1 + for _, b := range yyq609 { if b { - yynn549++ + yynn609++ } } - r.EncodeMapStart(yynn549) - yynn549 = 0 + r.EncodeMapStart(yynn609) + yynn609 = 0 } - if yyr549 || yy2arr549 { + if yyr609 || yy2arr609 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq549[0] { - yym551 := z.EncBinary() - _ = yym551 + if yyq609[0] { + yym611 := z.EncBinary() + _ = yym611 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6637,23 +7264,23 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq549[0] { + if yyq609[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym552 := z.EncBinary() - _ = yym552 + yym612 := z.EncBinary() + _ = yym612 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr549 || yy2arr549 { + if yyr609 || yy2arr609 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq549[1] { - yym554 := z.EncBinary() - _ = yym554 + if yyq609[1] { + yym614 := z.EncBinary() + _ = yym614 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6662,54 +7289,54 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq549[1] { + if yyq609[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym555 := z.EncBinary() - _ = yym555 + yym615 := z.EncBinary() + _ = yym615 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr549 || yy2arr549 { + if yyr609 || yy2arr609 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq549[2] { - yy557 := &x.ListMeta - yym558 := z.EncBinary() - _ = yym558 + if yyq609[2] { + yy617 := &x.ListMeta + yym618 := z.EncBinary() + _ = yym618 if false { - } else if z.HasExtensions() && z.EncExt(yy557) { + } else if z.HasExtensions() && z.EncExt(yy617) { } else { - z.EncFallback(yy557) + z.EncFallback(yy617) } } else { r.EncodeNil() } } else { - if yyq549[2] { + if yyq609[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy559 := &x.ListMeta - yym560 := z.EncBinary() - _ = yym560 + yy619 := &x.ListMeta + yym620 := z.EncBinary() + _ = yym620 if false { - } else if z.HasExtensions() && z.EncExt(yy559) { + } else if z.HasExtensions() && z.EncExt(yy619) { } else { - z.EncFallback(yy559) + z.EncFallback(yy619) } } } - if yyr549 || yy2arr549 { + if yyr609 || yy2arr609 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym562 := z.EncBinary() - _ = yym562 + yym622 := z.EncBinary() + _ = yym622 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) @@ -6722,15 +7349,15 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym563 := z.EncBinary() - _ = yym563 + yym623 := z.EncBinary() + _ = yym623 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } - if yyr549 || yy2arr549 { + if yyr609 || yy2arr609 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6743,25 +7370,25 @@ func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym564 := z.DecBinary() - _ = yym564 + yym624 := z.DecBinary() + _ = yym624 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct565 := r.ContainerType() - if yyct565 == codecSelferValueTypeMap1234 { - yyl565 := r.ReadMapStart() - if yyl565 == 0 { + yyct625 := r.ContainerType() + if yyct625 == codecSelferValueTypeMap1234 { + yyl625 := r.ReadMapStart() + if yyl625 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl565, d) + x.codecDecodeSelfFromMap(yyl625, d) } - } else if yyct565 == codecSelferValueTypeArray1234 { - yyl565 := r.ReadArrayStart() - if yyl565 == 0 { + } else if yyct625 == codecSelferValueTypeArray1234 { + yyl625 := r.ReadArrayStart() + if yyl625 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl565, d) + x.codecDecodeSelfFromArray(yyl625, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6773,12 +7400,12 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys566Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys566Slc - var yyhl566 bool = l >= 0 - for yyj566 := 0; ; yyj566++ { - if yyhl566 { - if yyj566 >= l { + var yys626Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys626Slc + var yyhl626 bool = l >= 0 + for yyj626 := 0; ; yyj626++ { + if yyhl626 { + if yyj626 >= l { break } } else { @@ -6787,10 +7414,10 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys566Slc = r.DecodeBytes(yys566Slc, true, true) - yys566 := string(yys566Slc) + yys626Slc = r.DecodeBytes(yys626Slc, true, true) + yys626 := string(yys626Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys566 { + switch yys626 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6807,31 +7434,31 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv569 := &x.ListMeta - yym570 := z.DecBinary() - _ = yym570 + yyv629 := &x.ListMeta + yym630 := z.DecBinary() + _ = yym630 if false { - } else if z.HasExtensions() && z.DecExt(yyv569) { + } else if z.HasExtensions() && z.DecExt(yyv629) { } else { - z.DecFallback(yyv569, false) + z.DecFallback(yyv629, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv571 := &x.Items - yym572 := z.DecBinary() - _ = yym572 + yyv631 := &x.Items + yym632 := z.DecBinary() + _ = yym632 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv571), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv631), d) } } default: - z.DecStructFieldNotFound(-1, yys566) - } // end switch yys566 - } // end for yyj566 + z.DecStructFieldNotFound(-1, yys626) + } // end switch yys626 + } // end for yyj626 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6839,16 +7466,16 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj573 int - var yyb573 bool - var yyhl573 bool = l >= 0 - yyj573++ - if yyhl573 { - yyb573 = yyj573 > l + var yyj633 int + var yyb633 bool + var yyhl633 bool = l >= 0 + yyj633++ + if yyhl633 { + yyb633 = yyj633 > l } else { - yyb573 = r.CheckBreak() + yyb633 = r.CheckBreak() } - if yyb573 { + if yyb633 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6858,13 +7485,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj573++ - if yyhl573 { - yyb573 = yyj573 > l + yyj633++ + if yyhl633 { + yyb633 = yyj633 > l } else { - yyb573 = r.CheckBreak() + yyb633 = r.CheckBreak() } - if yyb573 { + if yyb633 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6874,13 +7501,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj573++ - if yyhl573 { - yyb573 = yyj573 > l + yyj633++ + if yyhl633 { + yyb633 = yyj633 > l } else { - yyb573 = r.CheckBreak() + yyb633 = r.CheckBreak() } - if yyb573 { + if yyb633 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6888,22 +7515,22 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv576 := &x.ListMeta - yym577 := z.DecBinary() - _ = yym577 + yyv636 := &x.ListMeta + yym637 := z.DecBinary() + _ = yym637 if false { - } else if z.HasExtensions() && z.DecExt(yyv576) { + } else if z.HasExtensions() && z.DecExt(yyv636) { } else { - z.DecFallback(yyv576, false) + z.DecFallback(yyv636, false) } } - yyj573++ - if yyhl573 { - yyb573 = yyj573 > l + yyj633++ + if yyhl633 { + yyb633 = yyj633 > l } else { - yyb573 = r.CheckBreak() + yyb633 = r.CheckBreak() } - if yyb573 { + if yyb633 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6911,26 +7538,26 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv578 := &x.Items - yym579 := z.DecBinary() - _ = yym579 + yyv638 := &x.Items + yym639 := z.DecBinary() + _ = yym639 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv578), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv638), d) } } for { - yyj573++ - if yyhl573 { - yyb573 = yyj573 > l + yyj633++ + if yyhl633 { + yyb633 = yyj633 > l } else { - yyb573 = r.CheckBreak() + yyb633 = r.CheckBreak() } - if yyb573 { + if yyb633 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj573-1, "") + z.DecStructFieldNotFound(yyj633-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6942,37 +7569,37 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym580 := z.EncBinary() - _ = yym580 + yym640 := z.EncBinary() + _ = yym640 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep581 := !z.EncBinary() - yy2arr581 := z.EncBasicHandle().StructToArray - var yyq581 [4]bool - _, _, _ = yysep581, yyq581, yy2arr581 - const yyr581 bool = false - yyq581[0] = x.Kind != "" - yyq581[1] = x.APIVersion != "" - yyq581[2] = true - var yynn581 int - if yyr581 || yy2arr581 { + yysep641 := !z.EncBinary() + yy2arr641 := z.EncBasicHandle().StructToArray + var yyq641 [4]bool + _, _, _ = yysep641, yyq641, yy2arr641 + const yyr641 bool = false + yyq641[0] = x.Kind != "" + yyq641[1] = x.APIVersion != "" + yyq641[2] = true + var yynn641 int + if yyr641 || yy2arr641 { r.EncodeArrayStart(4) } else { - yynn581 = 1 - for _, b := range yyq581 { + yynn641 = 1 + for _, b := range yyq641 { if b { - yynn581++ + yynn641++ } } - r.EncodeMapStart(yynn581) - yynn581 = 0 + r.EncodeMapStart(yynn641) + yynn641 = 0 } - if yyr581 || yy2arr581 { + if yyr641 || yy2arr641 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq581[0] { - yym583 := z.EncBinary() - _ = yym583 + if yyq641[0] { + yym643 := z.EncBinary() + _ = yym643 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6981,23 +7608,23 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq581[0] { + if yyq641[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym584 := z.EncBinary() - _ = yym584 + yym644 := z.EncBinary() + _ = yym644 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr581 || yy2arr581 { + if yyr641 || yy2arr641 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq581[1] { - yym586 := z.EncBinary() - _ = yym586 + if yyq641[1] { + yym646 := z.EncBinary() + _ = yym646 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7006,54 +7633,54 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq581[1] { + if yyq641[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym587 := z.EncBinary() - _ = yym587 + yym647 := z.EncBinary() + _ = yym647 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr581 || yy2arr581 { + if yyr641 || yy2arr641 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq581[2] { - yy589 := &x.ListMeta - yym590 := z.EncBinary() - _ = yym590 + if yyq641[2] { + yy649 := &x.ListMeta + yym650 := z.EncBinary() + _ = yym650 if false { - } else if z.HasExtensions() && z.EncExt(yy589) { + } else if z.HasExtensions() && z.EncExt(yy649) { } else { - z.EncFallback(yy589) + z.EncFallback(yy649) } } else { r.EncodeNil() } } else { - if yyq581[2] { + if yyq641[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy591 := &x.ListMeta - yym592 := z.EncBinary() - _ = yym592 + yy651 := &x.ListMeta + yym652 := z.EncBinary() + _ = yym652 if false { - } else if z.HasExtensions() && z.EncExt(yy591) { + } else if z.HasExtensions() && z.EncExt(yy651) { } else { - z.EncFallback(yy591) + z.EncFallback(yy651) } } } - if yyr581 || yy2arr581 { + if yyr641 || yy2arr641 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym594 := z.EncBinary() - _ = yym594 + yym654 := z.EncBinary() + _ = yym654 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) @@ -7066,15 +7693,15 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym595 := z.EncBinary() - _ = yym595 + yym655 := z.EncBinary() + _ = yym655 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) } } } - if yyr581 || yy2arr581 { + if yyr641 || yy2arr641 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7087,25 +7714,25 @@ func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym596 := z.DecBinary() - _ = yym596 + yym656 := z.DecBinary() + _ = yym656 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct597 := r.ContainerType() - if yyct597 == codecSelferValueTypeMap1234 { - yyl597 := r.ReadMapStart() - if yyl597 == 0 { + yyct657 := r.ContainerType() + if yyct657 == codecSelferValueTypeMap1234 { + yyl657 := r.ReadMapStart() + if yyl657 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl597, d) + x.codecDecodeSelfFromMap(yyl657, d) } - } else if yyct597 == codecSelferValueTypeArray1234 { - yyl597 := r.ReadArrayStart() - if yyl597 == 0 { + } else if yyct657 == codecSelferValueTypeArray1234 { + yyl657 := r.ReadArrayStart() + if yyl657 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl597, d) + x.codecDecodeSelfFromArray(yyl657, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7117,12 +7744,12 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys598Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys598Slc - var yyhl598 bool = l >= 0 - for yyj598 := 0; ; yyj598++ { - if yyhl598 { - if yyj598 >= l { + var yys658Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys658Slc + var yyhl658 bool = l >= 0 + for yyj658 := 0; ; yyj658++ { + if yyhl658 { + if yyj658 >= l { break } } else { @@ -7131,10 +7758,10 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys598Slc = r.DecodeBytes(yys598Slc, true, true) - yys598 := string(yys598Slc) + yys658Slc = r.DecodeBytes(yys658Slc, true, true) + yys658 := string(yys658Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys598 { + switch yys658 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7151,31 +7778,31 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv601 := &x.ListMeta - yym602 := z.DecBinary() - _ = yym602 + yyv661 := &x.ListMeta + yym662 := z.DecBinary() + _ = yym662 if false { - } else if z.HasExtensions() && z.DecExt(yyv601) { + } else if z.HasExtensions() && z.DecExt(yyv661) { } else { - z.DecFallback(yyv601, false) + z.DecFallback(yyv661, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv603 := &x.Items - yym604 := z.DecBinary() - _ = yym604 + yyv663 := &x.Items + yym664 := z.DecBinary() + _ = yym664 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv603), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv663), d) } } default: - z.DecStructFieldNotFound(-1, yys598) - } // end switch yys598 - } // end for yyj598 + z.DecStructFieldNotFound(-1, yys658) + } // end switch yys658 + } // end for yyj658 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7183,16 +7810,16 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj605 int - var yyb605 bool - var yyhl605 bool = l >= 0 - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + var yyj665 int + var yyb665 bool + var yyhl665 bool = l >= 0 + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb605 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb605 { + if yyb665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7202,13 +7829,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb605 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb605 { + if yyb665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7218,13 +7845,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.APIVersion = string(r.DecodeString()) } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb605 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb605 { + if yyb665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7232,22 +7859,22 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv608 := &x.ListMeta - yym609 := z.DecBinary() - _ = yym609 + yyv668 := &x.ListMeta + yym669 := z.DecBinary() + _ = yym669 if false { - } else if z.HasExtensions() && z.DecExt(yyv608) { + } else if z.HasExtensions() && z.DecExt(yyv668) { } else { - z.DecFallback(yyv608, false) + z.DecFallback(yyv668, false) } } - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb605 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb605 { + if yyb665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7255,26 +7882,26 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv610 := &x.Items - yym611 := z.DecBinary() - _ = yym611 + yyv670 := &x.Items + yym671 := z.DecBinary() + _ = yym671 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv610), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv670), d) } } for { - yyj605++ - if yyhl605 { - yyb605 = yyj605 > l + yyj665++ + if yyhl665 { + yyb665 = yyj665 > l } else { - yyb605 = r.CheckBreak() + yyb665 = r.CheckBreak() } - if yyb605 { + if yyb665 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj605-1, "") + z.DecStructFieldNotFound(yyj665-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7286,39 +7913,39 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym612 := z.EncBinary() - _ = yym612 + yym672 := z.EncBinary() + _ = yym672 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep613 := !z.EncBinary() - yy2arr613 := z.EncBasicHandle().StructToArray - var yyq613 [5]bool - _, _, _ = yysep613, yyq613, yy2arr613 - const yyr613 bool = false - yyq613[0] = x.Kind != "" - yyq613[1] = x.APIVersion != "" - yyq613[2] = true - yyq613[3] = true - yyq613[4] = true - var yynn613 int - if yyr613 || yy2arr613 { + yysep673 := !z.EncBinary() + yy2arr673 := z.EncBasicHandle().StructToArray + var yyq673 [5]bool + _, _, _ = yysep673, yyq673, yy2arr673 + const yyr673 bool = false + yyq673[0] = x.Kind != "" + yyq673[1] = x.APIVersion != "" + yyq673[2] = true + yyq673[3] = true + yyq673[4] = true + var yynn673 int + if yyr673 || yy2arr673 { r.EncodeArrayStart(5) } else { - yynn613 = 0 - for _, b := range yyq613 { + yynn673 = 0 + for _, b := range yyq673 { if b { - yynn613++ + yynn673++ } } - r.EncodeMapStart(yynn613) - yynn613 = 0 + r.EncodeMapStart(yynn673) + yynn673 = 0 } - if yyr613 || yy2arr613 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq613[0] { - yym615 := z.EncBinary() - _ = yym615 + if yyq673[0] { + yym675 := z.EncBinary() + _ = yym675 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7327,23 +7954,23 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq613[0] { + if yyq673[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym616 := z.EncBinary() - _ = yym616 + yym676 := z.EncBinary() + _ = yym676 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr613 || yy2arr613 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq613[1] { - yym618 := z.EncBinary() - _ = yym618 + if yyq673[1] { + yym678 := z.EncBinary() + _ = yym678 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7352,70 +7979,70 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq613[1] { + if yyq673[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym619 := z.EncBinary() - _ = yym619 + yym679 := z.EncBinary() + _ = yym679 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr613 || yy2arr613 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq613[2] { - yy621 := &x.ObjectMeta - yy621.CodecEncodeSelf(e) + if yyq673[2] { + yy681 := &x.ObjectMeta + yy681.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq613[2] { + if yyq673[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy622 := &x.ObjectMeta - yy622.CodecEncodeSelf(e) + yy682 := &x.ObjectMeta + yy682.CodecEncodeSelf(e) } } - if yyr613 || yy2arr613 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq613[3] { - yy624 := &x.Spec - yy624.CodecEncodeSelf(e) + if yyq673[3] { + yy684 := &x.Spec + yy684.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq613[3] { + if yyq673[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy625 := &x.Spec - yy625.CodecEncodeSelf(e) + yy685 := &x.Spec + yy685.CodecEncodeSelf(e) } } - if yyr613 || yy2arr613 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq613[4] { - yy627 := &x.Status - yy627.CodecEncodeSelf(e) + if yyq673[4] { + yy687 := &x.Status + yy687.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq613[4] { + if yyq673[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy628 := &x.Status - yy628.CodecEncodeSelf(e) + yy688 := &x.Status + yy688.CodecEncodeSelf(e) } } - if yyr613 || yy2arr613 { + if yyr673 || yy2arr673 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7428,25 +8055,25 @@ func (x *Ingress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym629 := z.DecBinary() - _ = yym629 + yym689 := z.DecBinary() + _ = yym689 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct630 := r.ContainerType() - if yyct630 == codecSelferValueTypeMap1234 { - yyl630 := r.ReadMapStart() - if yyl630 == 0 { + yyct690 := r.ContainerType() + if yyct690 == codecSelferValueTypeMap1234 { + yyl690 := r.ReadMapStart() + if yyl690 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl630, d) + x.codecDecodeSelfFromMap(yyl690, d) } - } else if yyct630 == codecSelferValueTypeArray1234 { - yyl630 := r.ReadArrayStart() - if yyl630 == 0 { + } else if yyct690 == codecSelferValueTypeArray1234 { + yyl690 := r.ReadArrayStart() + if yyl690 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl630, d) + x.codecDecodeSelfFromArray(yyl690, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7458,12 +8085,12 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys631Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys631Slc - var yyhl631 bool = l >= 0 - for yyj631 := 0; ; yyj631++ { - if yyhl631 { - if yyj631 >= l { + var yys691Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys691Slc + var yyhl691 bool = l >= 0 + for yyj691 := 0; ; yyj691++ { + if yyhl691 { + if yyj691 >= l { break } } else { @@ -7472,10 +8099,10 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys631Slc = r.DecodeBytes(yys631Slc, true, true) - yys631 := string(yys631Slc) + yys691Slc = r.DecodeBytes(yys691Slc, true, true) + yys691 := string(yys691Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys631 { + switch yys691 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7492,27 +8119,27 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv634 := &x.ObjectMeta - yyv634.CodecDecodeSelf(d) + yyv694 := &x.ObjectMeta + yyv694.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv635 := &x.Spec - yyv635.CodecDecodeSelf(d) + yyv695 := &x.Spec + yyv695.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv636 := &x.Status - yyv636.CodecDecodeSelf(d) + yyv696 := &x.Status + yyv696.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys631) - } // end switch yys631 - } // end for yyj631 + z.DecStructFieldNotFound(-1, yys691) + } // end switch yys691 + } // end for yyj691 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7520,16 +8147,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj637 int - var yyb637 bool - var yyhl637 bool = l >= 0 - yyj637++ - if yyhl637 { - yyb637 = yyj637 > l + var yyj697 int + var yyb697 bool + var yyhl697 bool = l >= 0 + yyj697++ + if yyhl697 { + yyb697 = yyj697 > l } else { - yyb637 = r.CheckBreak() + yyb697 = r.CheckBreak() } - if yyb637 { + if yyb697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7539,13 +8166,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj637++ - if yyhl637 { - yyb637 = yyj637 > l + yyj697++ + if yyhl697 { + yyb697 = yyj697 > l } else { - yyb637 = r.CheckBreak() + yyb697 = r.CheckBreak() } - if yyb637 { + if yyb697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7555,13 +8182,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj637++ - if yyhl637 { - yyb637 = yyj637 > l + yyj697++ + if yyhl697 { + yyb697 = yyj697 > l } else { - yyb637 = r.CheckBreak() + yyb697 = r.CheckBreak() } - if yyb637 { + if yyb697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7569,16 +8196,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv640 := &x.ObjectMeta - yyv640.CodecDecodeSelf(d) + yyv700 := &x.ObjectMeta + yyv700.CodecDecodeSelf(d) } - yyj637++ - if yyhl637 { - yyb637 = yyj637 > l + yyj697++ + if yyhl697 { + yyb697 = yyj697 > l } else { - yyb637 = r.CheckBreak() + yyb697 = r.CheckBreak() } - if yyb637 { + if yyb697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7586,16 +8213,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv641 := &x.Spec - yyv641.CodecDecodeSelf(d) + yyv701 := &x.Spec + yyv701.CodecDecodeSelf(d) } - yyj637++ - if yyhl637 { - yyb637 = yyj637 > l + yyj697++ + if yyhl697 { + yyb697 = yyj697 > l } else { - yyb637 = r.CheckBreak() + yyb697 = r.CheckBreak() } - if yyb637 { + if yyb697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7603,21 +8230,21 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv642 := &x.Status - yyv642.CodecDecodeSelf(d) + yyv702 := &x.Status + yyv702.CodecDecodeSelf(d) } for { - yyj637++ - if yyhl637 { - yyb637 = yyj637 > l + yyj697++ + if yyhl697 { + yyb697 = yyj697 > l } else { - yyb637 = r.CheckBreak() + yyb697 = r.CheckBreak() } - if yyb637 { + if yyb697 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj637-1, "") + z.DecStructFieldNotFound(yyj697-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7629,37 +8256,37 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym643 := z.EncBinary() - _ = yym643 + yym703 := z.EncBinary() + _ = yym703 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep644 := !z.EncBinary() - yy2arr644 := z.EncBasicHandle().StructToArray - var yyq644 [4]bool - _, _, _ = yysep644, yyq644, yy2arr644 - const yyr644 bool = false - yyq644[0] = x.Kind != "" - yyq644[1] = x.APIVersion != "" - yyq644[2] = true - var yynn644 int - if yyr644 || yy2arr644 { + yysep704 := !z.EncBinary() + yy2arr704 := z.EncBasicHandle().StructToArray + var yyq704 [4]bool + _, _, _ = yysep704, yyq704, yy2arr704 + const yyr704 bool = false + yyq704[0] = x.Kind != "" + yyq704[1] = x.APIVersion != "" + yyq704[2] = true + var yynn704 int + if yyr704 || yy2arr704 { r.EncodeArrayStart(4) } else { - yynn644 = 1 - for _, b := range yyq644 { + yynn704 = 1 + for _, b := range yyq704 { if b { - yynn644++ + yynn704++ } } - r.EncodeMapStart(yynn644) - yynn644 = 0 + r.EncodeMapStart(yynn704) + yynn704 = 0 } - if yyr644 || yy2arr644 { + if yyr704 || yy2arr704 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq644[0] { - yym646 := z.EncBinary() - _ = yym646 + if yyq704[0] { + yym706 := z.EncBinary() + _ = yym706 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7668,23 +8295,23 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq644[0] { + if yyq704[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym647 := z.EncBinary() - _ = yym647 + yym707 := z.EncBinary() + _ = yym707 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr644 || yy2arr644 { + if yyr704 || yy2arr704 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq644[1] { - yym649 := z.EncBinary() - _ = yym649 + if yyq704[1] { + yym709 := z.EncBinary() + _ = yym709 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7693,54 +8320,54 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq644[1] { + if yyq704[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym650 := z.EncBinary() - _ = yym650 + yym710 := z.EncBinary() + _ = yym710 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr644 || yy2arr644 { + if yyr704 || yy2arr704 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq644[2] { - yy652 := &x.ListMeta - yym653 := z.EncBinary() - _ = yym653 + if yyq704[2] { + yy712 := &x.ListMeta + yym713 := z.EncBinary() + _ = yym713 if false { - } else if z.HasExtensions() && z.EncExt(yy652) { + } else if z.HasExtensions() && z.EncExt(yy712) { } else { - z.EncFallback(yy652) + z.EncFallback(yy712) } } else { r.EncodeNil() } } else { - if yyq644[2] { + if yyq704[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy654 := &x.ListMeta - yym655 := z.EncBinary() - _ = yym655 + yy714 := &x.ListMeta + yym715 := z.EncBinary() + _ = yym715 if false { - } else if z.HasExtensions() && z.EncExt(yy654) { + } else if z.HasExtensions() && z.EncExt(yy714) { } else { - z.EncFallback(yy654) + z.EncFallback(yy714) } } } - if yyr644 || yy2arr644 { + if yyr704 || yy2arr704 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym657 := z.EncBinary() - _ = yym657 + yym717 := z.EncBinary() + _ = yym717 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) @@ -7753,15 +8380,15 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym658 := z.EncBinary() - _ = yym658 + yym718 := z.EncBinary() + _ = yym718 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) } } } - if yyr644 || yy2arr644 { + if yyr704 || yy2arr704 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7774,25 +8401,25 @@ func (x *IngressList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym659 := z.DecBinary() - _ = yym659 + yym719 := z.DecBinary() + _ = yym719 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct660 := r.ContainerType() - if yyct660 == codecSelferValueTypeMap1234 { - yyl660 := r.ReadMapStart() - if yyl660 == 0 { + yyct720 := r.ContainerType() + if yyct720 == codecSelferValueTypeMap1234 { + yyl720 := r.ReadMapStart() + if yyl720 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl660, d) + x.codecDecodeSelfFromMap(yyl720, d) } - } else if yyct660 == codecSelferValueTypeArray1234 { - yyl660 := r.ReadArrayStart() - if yyl660 == 0 { + } else if yyct720 == codecSelferValueTypeArray1234 { + yyl720 := r.ReadArrayStart() + if yyl720 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl660, d) + x.codecDecodeSelfFromArray(yyl720, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7804,12 +8431,12 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys661Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys661Slc - var yyhl661 bool = l >= 0 - for yyj661 := 0; ; yyj661++ { - if yyhl661 { - if yyj661 >= l { + var yys721Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys721Slc + var yyhl721 bool = l >= 0 + for yyj721 := 0; ; yyj721++ { + if yyhl721 { + if yyj721 >= l { break } } else { @@ -7818,10 +8445,10 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys661Slc = r.DecodeBytes(yys661Slc, true, true) - yys661 := string(yys661Slc) + yys721Slc = r.DecodeBytes(yys721Slc, true, true) + yys721 := string(yys721Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys661 { + switch yys721 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7838,31 +8465,31 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv664 := &x.ListMeta - yym665 := z.DecBinary() - _ = yym665 + yyv724 := &x.ListMeta + yym725 := z.DecBinary() + _ = yym725 if false { - } else if z.HasExtensions() && z.DecExt(yyv664) { + } else if z.HasExtensions() && z.DecExt(yyv724) { } else { - z.DecFallback(yyv664, false) + z.DecFallback(yyv724, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv666 := &x.Items - yym667 := z.DecBinary() - _ = yym667 + yyv726 := &x.Items + yym727 := z.DecBinary() + _ = yym727 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv666), d) + h.decSliceIngress((*[]Ingress)(yyv726), d) } } default: - z.DecStructFieldNotFound(-1, yys661) - } // end switch yys661 - } // end for yyj661 + z.DecStructFieldNotFound(-1, yys721) + } // end switch yys721 + } // end for yyj721 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7870,16 +8497,16 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj668 int - var yyb668 bool - var yyhl668 bool = l >= 0 - yyj668++ - if yyhl668 { - yyb668 = yyj668 > l + var yyj728 int + var yyb728 bool + var yyhl728 bool = l >= 0 + yyj728++ + if yyhl728 { + yyb728 = yyj728 > l } else { - yyb668 = r.CheckBreak() + yyb728 = r.CheckBreak() } - if yyb668 { + if yyb728 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7889,13 +8516,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj668++ - if yyhl668 { - yyb668 = yyj668 > l + yyj728++ + if yyhl728 { + yyb728 = yyj728 > l } else { - yyb668 = r.CheckBreak() + yyb728 = r.CheckBreak() } - if yyb668 { + if yyb728 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7905,13 +8532,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj668++ - if yyhl668 { - yyb668 = yyj668 > l + yyj728++ + if yyhl728 { + yyb728 = yyj728 > l } else { - yyb668 = r.CheckBreak() + yyb728 = r.CheckBreak() } - if yyb668 { + if yyb728 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7919,22 +8546,22 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv671 := &x.ListMeta - yym672 := z.DecBinary() - _ = yym672 + yyv731 := &x.ListMeta + yym732 := z.DecBinary() + _ = yym732 if false { - } else if z.HasExtensions() && z.DecExt(yyv671) { + } else if z.HasExtensions() && z.DecExt(yyv731) { } else { - z.DecFallback(yyv671, false) + z.DecFallback(yyv731, false) } } - yyj668++ - if yyhl668 { - yyb668 = yyj668 > l + yyj728++ + if yyhl728 { + yyb728 = yyj728 > l } else { - yyb668 = r.CheckBreak() + yyb728 = r.CheckBreak() } - if yyb668 { + if yyb728 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7942,26 +8569,26 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv673 := &x.Items - yym674 := z.DecBinary() - _ = yym674 + yyv733 := &x.Items + yym734 := z.DecBinary() + _ = yym734 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv673), d) + h.decSliceIngress((*[]Ingress)(yyv733), d) } } for { - yyj668++ - if yyhl668 { - yyb668 = yyj668 > l + yyj728++ + if yyhl728 { + yyb728 = yyj728 > l } else { - yyb668 = r.CheckBreak() + yyb728 = r.CheckBreak() } - if yyb668 { + if yyb728 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj668-1, "") + z.DecStructFieldNotFound(yyj728-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7973,35 +8600,35 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym675 := z.EncBinary() - _ = yym675 + yym735 := z.EncBinary() + _ = yym735 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep676 := !z.EncBinary() - yy2arr676 := z.EncBasicHandle().StructToArray - var yyq676 [3]bool - _, _, _ = yysep676, yyq676, yy2arr676 - const yyr676 bool = false - yyq676[0] = x.Backend != nil - yyq676[1] = len(x.TLS) != 0 - yyq676[2] = len(x.Rules) != 0 - var yynn676 int - if yyr676 || yy2arr676 { + yysep736 := !z.EncBinary() + yy2arr736 := z.EncBasicHandle().StructToArray + var yyq736 [3]bool + _, _, _ = yysep736, yyq736, yy2arr736 + const yyr736 bool = false + yyq736[0] = x.Backend != nil + yyq736[1] = len(x.TLS) != 0 + yyq736[2] = len(x.Rules) != 0 + var yynn736 int + if yyr736 || yy2arr736 { r.EncodeArrayStart(3) } else { - yynn676 = 0 - for _, b := range yyq676 { + yynn736 = 0 + for _, b := range yyq736 { if b { - yynn676++ + yynn736++ } } - r.EncodeMapStart(yynn676) - yynn676 = 0 + r.EncodeMapStart(yynn736) + yynn736 = 0 } - if yyr676 || yy2arr676 { + if yyr736 || yy2arr736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq676[0] { + if yyq736[0] { if x.Backend == nil { r.EncodeNil() } else { @@ -8011,7 +8638,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq676[0] { + if yyq736[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -8022,14 +8649,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr676 || yy2arr676 { + if yyr736 || yy2arr736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq676[1] { + if yyq736[1] { if x.TLS == nil { r.EncodeNil() } else { - yym679 := z.EncBinary() - _ = yym679 + yym739 := z.EncBinary() + _ = yym739 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -8039,15 +8666,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq676[1] { + if yyq736[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TLS == nil { r.EncodeNil() } else { - yym680 := z.EncBinary() - _ = yym680 + yym740 := z.EncBinary() + _ = yym740 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -8055,14 +8682,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr676 || yy2arr676 { + if yyr736 || yy2arr736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq676[2] { + if yyq736[2] { if x.Rules == nil { r.EncodeNil() } else { - yym682 := z.EncBinary() - _ = yym682 + yym742 := z.EncBinary() + _ = yym742 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -8072,15 +8699,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq676[2] { + if yyq736[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rules")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Rules == nil { r.EncodeNil() } else { - yym683 := z.EncBinary() - _ = yym683 + yym743 := z.EncBinary() + _ = yym743 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -8088,7 +8715,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr676 || yy2arr676 { + if yyr736 || yy2arr736 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8098,896 +8725,6 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *IngressSpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym684 := z.DecBinary() - _ = yym684 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct685 := r.ContainerType() - if yyct685 == codecSelferValueTypeMap1234 { - yyl685 := r.ReadMapStart() - if yyl685 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl685, d) - } - } else if yyct685 == codecSelferValueTypeArray1234 { - yyl685 := r.ReadArrayStart() - if yyl685 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl685, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys686Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys686Slc - var yyhl686 bool = l >= 0 - for yyj686 := 0; ; yyj686++ { - if yyhl686 { - if yyj686 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys686Slc = r.DecodeBytes(yys686Slc, true, true) - yys686 := string(yys686Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys686 { - case "backend": - if r.TryDecodeAsNil() { - if x.Backend != nil { - x.Backend = nil - } - } else { - if x.Backend == nil { - x.Backend = new(IngressBackend) - } - x.Backend.CodecDecodeSelf(d) - } - case "tls": - if r.TryDecodeAsNil() { - x.TLS = nil - } else { - yyv688 := &x.TLS - yym689 := z.DecBinary() - _ = yym689 - if false { - } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv688), d) - } - } - case "rules": - if r.TryDecodeAsNil() { - x.Rules = nil - } else { - yyv690 := &x.Rules - yym691 := z.DecBinary() - _ = yym691 - if false { - } else { - h.decSliceIngressRule((*[]IngressRule)(yyv690), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys686) - } // end switch yys686 - } // end for yyj686 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj692 int - var yyb692 bool - var yyhl692 bool = l >= 0 - yyj692++ - if yyhl692 { - yyb692 = yyj692 > l - } else { - yyb692 = r.CheckBreak() - } - if yyb692 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.Backend != nil { - x.Backend = nil - } - } else { - if x.Backend == nil { - x.Backend = new(IngressBackend) - } - x.Backend.CodecDecodeSelf(d) - } - yyj692++ - if yyhl692 { - yyb692 = yyj692 > l - } else { - yyb692 = r.CheckBreak() - } - if yyb692 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TLS = nil - } else { - yyv694 := &x.TLS - yym695 := z.DecBinary() - _ = yym695 - if false { - } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv694), d) - } - } - yyj692++ - if yyhl692 { - yyb692 = yyj692 > l - } else { - yyb692 = r.CheckBreak() - } - if yyb692 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Rules = nil - } else { - yyv696 := &x.Rules - yym697 := z.DecBinary() - _ = yym697 - if false { - } else { - h.decSliceIngressRule((*[]IngressRule)(yyv696), d) - } - } - for { - yyj692++ - if yyhl692 { - yyb692 = yyj692 > l - } else { - yyb692 = r.CheckBreak() - } - if yyb692 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj692-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym698 := z.EncBinary() - _ = yym698 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep699 := !z.EncBinary() - yy2arr699 := z.EncBasicHandle().StructToArray - var yyq699 [2]bool - _, _, _ = yysep699, yyq699, yy2arr699 - const yyr699 bool = false - yyq699[0] = len(x.Hosts) != 0 - yyq699[1] = x.SecretName != "" - var yynn699 int - if yyr699 || yy2arr699 { - r.EncodeArrayStart(2) - } else { - yynn699 = 0 - for _, b := range yyq699 { - if b { - yynn699++ - } - } - r.EncodeMapStart(yynn699) - yynn699 = 0 - } - if yyr699 || yy2arr699 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq699[0] { - if x.Hosts == nil { - r.EncodeNil() - } else { - yym701 := z.EncBinary() - _ = yym701 - if false { - } else { - z.F.EncSliceStringV(x.Hosts, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq699[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hosts")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Hosts == nil { - r.EncodeNil() - } else { - yym702 := z.EncBinary() - _ = yym702 - if false { - } else { - z.F.EncSliceStringV(x.Hosts, false, e) - } - } - } - } - if yyr699 || yy2arr699 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq699[1] { - yym704 := z.EncBinary() - _ = yym704 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq699[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("secretName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym705 := z.EncBinary() - _ = yym705 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) - } - } - } - if yyr699 || yy2arr699 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym706 := z.DecBinary() - _ = yym706 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct707 := r.ContainerType() - if yyct707 == codecSelferValueTypeMap1234 { - yyl707 := r.ReadMapStart() - if yyl707 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl707, d) - } - } else if yyct707 == codecSelferValueTypeArray1234 { - yyl707 := r.ReadArrayStart() - if yyl707 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl707, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys708Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys708Slc - var yyhl708 bool = l >= 0 - for yyj708 := 0; ; yyj708++ { - if yyhl708 { - if yyj708 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys708Slc = r.DecodeBytes(yys708Slc, true, true) - yys708 := string(yys708Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys708 { - case "hosts": - if r.TryDecodeAsNil() { - x.Hosts = nil - } else { - yyv709 := &x.Hosts - yym710 := z.DecBinary() - _ = yym710 - if false { - } else { - z.F.DecSliceStringX(yyv709, false, d) - } - } - case "secretName": - if r.TryDecodeAsNil() { - x.SecretName = "" - } else { - x.SecretName = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys708) - } // end switch yys708 - } // end for yyj708 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj712 int - var yyb712 bool - var yyhl712 bool = l >= 0 - yyj712++ - if yyhl712 { - yyb712 = yyj712 > l - } else { - yyb712 = r.CheckBreak() - } - if yyb712 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Hosts = nil - } else { - yyv713 := &x.Hosts - yym714 := z.DecBinary() - _ = yym714 - if false { - } else { - z.F.DecSliceStringX(yyv713, false, d) - } - } - yyj712++ - if yyhl712 { - yyb712 = yyj712 > l - } else { - yyb712 = r.CheckBreak() - } - if yyb712 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SecretName = "" - } else { - x.SecretName = string(r.DecodeString()) - } - for { - yyj712++ - if yyhl712 { - yyb712 = yyj712 > l - } else { - yyb712 = r.CheckBreak() - } - if yyb712 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj712-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym716 := z.EncBinary() - _ = yym716 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep717 := !z.EncBinary() - yy2arr717 := z.EncBasicHandle().StructToArray - var yyq717 [1]bool - _, _, _ = yysep717, yyq717, yy2arr717 - const yyr717 bool = false - yyq717[0] = true - var yynn717 int - if yyr717 || yy2arr717 { - r.EncodeArrayStart(1) - } else { - yynn717 = 0 - for _, b := range yyq717 { - if b { - yynn717++ - } - } - r.EncodeMapStart(yynn717) - yynn717 = 0 - } - if yyr717 || yy2arr717 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq717[0] { - yy719 := &x.LoadBalancer - yy719.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq717[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy720 := &x.LoadBalancer - yy720.CodecEncodeSelf(e) - } - } - if yyr717 || yy2arr717 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym721 := z.DecBinary() - _ = yym721 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct722 := r.ContainerType() - if yyct722 == codecSelferValueTypeMap1234 { - yyl722 := r.ReadMapStart() - if yyl722 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl722, d) - } - } else if yyct722 == codecSelferValueTypeArray1234 { - yyl722 := r.ReadArrayStart() - if yyl722 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl722, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys723Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys723Slc - var yyhl723 bool = l >= 0 - for yyj723 := 0; ; yyj723++ { - if yyhl723 { - if yyj723 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys723Slc = r.DecodeBytes(yys723Slc, true, true) - yys723 := string(yys723Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys723 { - case "loadBalancer": - if r.TryDecodeAsNil() { - x.LoadBalancer = pkg2_api.LoadBalancerStatus{} - } else { - yyv724 := &x.LoadBalancer - yyv724.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys723) - } // end switch yys723 - } // end for yyj723 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj725 int - var yyb725 bool - var yyhl725 bool = l >= 0 - yyj725++ - if yyhl725 { - yyb725 = yyj725 > l - } else { - yyb725 = r.CheckBreak() - } - if yyb725 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LoadBalancer = pkg2_api.LoadBalancerStatus{} - } else { - yyv726 := &x.LoadBalancer - yyv726.CodecDecodeSelf(d) - } - for { - yyj725++ - if yyhl725 { - yyb725 = yyj725 > l - } else { - yyb725 = r.CheckBreak() - } - if yyb725 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj725-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym727 := z.EncBinary() - _ = yym727 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep728 := !z.EncBinary() - yy2arr728 := z.EncBasicHandle().StructToArray - var yyq728 [2]bool - _, _, _ = yysep728, yyq728, yy2arr728 - const yyr728 bool = false - yyq728[0] = x.Host != "" - yyq728[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil - var yynn728 int - if yyr728 || yy2arr728 { - r.EncodeArrayStart(2) - } else { - yynn728 = 0 - for _, b := range yyq728 { - if b { - yynn728++ - } - } - r.EncodeMapStart(yynn728) - yynn728 = 0 - } - if yyr728 || yy2arr728 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq728[0] { - yym730 := z.EncBinary() - _ = yym730 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Host)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq728[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("host")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym731 := z.EncBinary() - _ = yym731 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Host)) - } - } - } - var yyn732 bool - if x.IngressRuleValue.HTTP == nil { - yyn732 = true - goto LABEL732 - } - LABEL732: - if yyr728 || yy2arr728 { - if yyn732 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq728[1] { - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq728[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("http")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn732 { - r.EncodeNil() - } else { - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } - } - } - if yyr728 || yy2arr728 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym733 := z.DecBinary() - _ = yym733 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct734 := r.ContainerType() - if yyct734 == codecSelferValueTypeMap1234 { - yyl734 := r.ReadMapStart() - if yyl734 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl734, d) - } - } else if yyct734 == codecSelferValueTypeArray1234 { - yyl734 := r.ReadArrayStart() - if yyl734 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl734, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys735Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys735Slc - var yyhl735 bool = l >= 0 - for yyj735 := 0; ; yyj735++ { - if yyhl735 { - if yyj735 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys735Slc = r.DecodeBytes(yys735Slc, true, true) - yys735 := string(yys735Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys735 { - case "host": - if r.TryDecodeAsNil() { - x.Host = "" - } else { - x.Host = string(r.DecodeString()) - } - case "http": - if x.IngressRuleValue.HTTP == nil { - x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) - } - if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } - } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) - } - x.HTTP.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys735) - } // end switch yys735 - } // end for yyj735 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj738 int - var yyb738 bool - var yyhl738 bool = l >= 0 - yyj738++ - if yyhl738 { - yyb738 = yyj738 > l - } else { - yyb738 = r.CheckBreak() - } - if yyb738 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Host = "" - } else { - x.Host = string(r.DecodeString()) - } - if x.IngressRuleValue.HTTP == nil { - x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) - } - yyj738++ - if yyhl738 { - yyb738 = yyj738 > l - } else { - yyb738 = r.CheckBreak() - } - if yyb738 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } - } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) - } - x.HTTP.CodecDecodeSelf(d) - } - for { - yyj738++ - if yyhl738 { - yyb738 = yyj738 > l - } else { - yyb738 = r.CheckBreak() - } - if yyb738 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj738-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym741 := z.EncBinary() - _ = yym741 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep742 := !z.EncBinary() - yy2arr742 := z.EncBasicHandle().StructToArray - var yyq742 [1]bool - _, _, _ = yysep742, yyq742, yy2arr742 - const yyr742 bool = false - yyq742[0] = x.HTTP != nil - var yynn742 int - if yyr742 || yy2arr742 { - r.EncodeArrayStart(1) - } else { - yynn742 = 0 - for _, b := range yyq742 { - if b { - yynn742++ - } - } - r.EncodeMapStart(yynn742) - yynn742 = 0 - } - if yyr742 || yy2arr742 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq742[0] { - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq742[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("http")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } - } - if yyr742 || yy2arr742 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -9017,7 +8754,7 @@ func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -9039,7 +8776,701 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys746 := string(yys746Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys746 { + case "backend": + if r.TryDecodeAsNil() { + if x.Backend != nil { + x.Backend = nil + } + } else { + if x.Backend == nil { + x.Backend = new(IngressBackend) + } + x.Backend.CodecDecodeSelf(d) + } + case "tls": + if r.TryDecodeAsNil() { + x.TLS = nil + } else { + yyv748 := &x.TLS + yym749 := z.DecBinary() + _ = yym749 + if false { + } else { + h.decSliceIngressTLS((*[]IngressTLS)(yyv748), d) + } + } + case "rules": + if r.TryDecodeAsNil() { + x.Rules = nil + } else { + yyv750 := &x.Rules + yym751 := z.DecBinary() + _ = yym751 + if false { + } else { + h.decSliceIngressRule((*[]IngressRule)(yyv750), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys746) + } // end switch yys746 + } // end for yyj746 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj752 int + var yyb752 bool + var yyhl752 bool = l >= 0 + yyj752++ + if yyhl752 { + yyb752 = yyj752 > l + } else { + yyb752 = r.CheckBreak() + } + if yyb752 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.Backend != nil { + x.Backend = nil + } + } else { + if x.Backend == nil { + x.Backend = new(IngressBackend) + } + x.Backend.CodecDecodeSelf(d) + } + yyj752++ + if yyhl752 { + yyb752 = yyj752 > l + } else { + yyb752 = r.CheckBreak() + } + if yyb752 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TLS = nil + } else { + yyv754 := &x.TLS + yym755 := z.DecBinary() + _ = yym755 + if false { + } else { + h.decSliceIngressTLS((*[]IngressTLS)(yyv754), d) + } + } + yyj752++ + if yyhl752 { + yyb752 = yyj752 > l + } else { + yyb752 = r.CheckBreak() + } + if yyb752 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Rules = nil + } else { + yyv756 := &x.Rules + yym757 := z.DecBinary() + _ = yym757 + if false { + } else { + h.decSliceIngressRule((*[]IngressRule)(yyv756), d) + } + } + for { + yyj752++ + if yyhl752 { + yyb752 = yyj752 > l + } else { + yyb752 = r.CheckBreak() + } + if yyb752 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj752-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym758 := z.EncBinary() + _ = yym758 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep759 := !z.EncBinary() + yy2arr759 := z.EncBasicHandle().StructToArray + var yyq759 [2]bool + _, _, _ = yysep759, yyq759, yy2arr759 + const yyr759 bool = false + yyq759[0] = len(x.Hosts) != 0 + yyq759[1] = x.SecretName != "" + var yynn759 int + if yyr759 || yy2arr759 { + r.EncodeArrayStart(2) + } else { + yynn759 = 0 + for _, b := range yyq759 { + if b { + yynn759++ + } + } + r.EncodeMapStart(yynn759) + yynn759 = 0 + } + if yyr759 || yy2arr759 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq759[0] { + if x.Hosts == nil { + r.EncodeNil() + } else { + yym761 := z.EncBinary() + _ = yym761 + if false { + } else { + z.F.EncSliceStringV(x.Hosts, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq759[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hosts")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Hosts == nil { + r.EncodeNil() + } else { + yym762 := z.EncBinary() + _ = yym762 + if false { + } else { + z.F.EncSliceStringV(x.Hosts, false, e) + } + } + } + } + if yyr759 || yy2arr759 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq759[1] { + yym764 := z.EncBinary() + _ = yym764 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq759[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("secretName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym765 := z.EncBinary() + _ = yym765 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) + } + } + } + if yyr759 || yy2arr759 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym766 := z.DecBinary() + _ = yym766 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct767 := r.ContainerType() + if yyct767 == codecSelferValueTypeMap1234 { + yyl767 := r.ReadMapStart() + if yyl767 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl767, d) + } + } else if yyct767 == codecSelferValueTypeArray1234 { + yyl767 := r.ReadArrayStart() + if yyl767 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl767, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys768Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys768Slc + var yyhl768 bool = l >= 0 + for yyj768 := 0; ; yyj768++ { + if yyhl768 { + if yyj768 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys768Slc = r.DecodeBytes(yys768Slc, true, true) + yys768 := string(yys768Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys768 { + case "hosts": + if r.TryDecodeAsNil() { + x.Hosts = nil + } else { + yyv769 := &x.Hosts + yym770 := z.DecBinary() + _ = yym770 + if false { + } else { + z.F.DecSliceStringX(yyv769, false, d) + } + } + case "secretName": + if r.TryDecodeAsNil() { + x.SecretName = "" + } else { + x.SecretName = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys768) + } // end switch yys768 + } // end for yyj768 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj772 int + var yyb772 bool + var yyhl772 bool = l >= 0 + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l + } else { + yyb772 = r.CheckBreak() + } + if yyb772 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Hosts = nil + } else { + yyv773 := &x.Hosts + yym774 := z.DecBinary() + _ = yym774 + if false { + } else { + z.F.DecSliceStringX(yyv773, false, d) + } + } + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l + } else { + yyb772 = r.CheckBreak() + } + if yyb772 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SecretName = "" + } else { + x.SecretName = string(r.DecodeString()) + } + for { + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l + } else { + yyb772 = r.CheckBreak() + } + if yyb772 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj772-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym776 := z.EncBinary() + _ = yym776 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep777 := !z.EncBinary() + yy2arr777 := z.EncBasicHandle().StructToArray + var yyq777 [1]bool + _, _, _ = yysep777, yyq777, yy2arr777 + const yyr777 bool = false + yyq777[0] = true + var yynn777 int + if yyr777 || yy2arr777 { + r.EncodeArrayStart(1) + } else { + yynn777 = 0 + for _, b := range yyq777 { + if b { + yynn777++ + } + } + r.EncodeMapStart(yynn777) + yynn777 = 0 + } + if yyr777 || yy2arr777 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq777[0] { + yy779 := &x.LoadBalancer + yy779.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq777[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy780 := &x.LoadBalancer + yy780.CodecEncodeSelf(e) + } + } + if yyr777 || yy2arr777 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym781 := z.DecBinary() + _ = yym781 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct782 := r.ContainerType() + if yyct782 == codecSelferValueTypeMap1234 { + yyl782 := r.ReadMapStart() + if yyl782 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl782, d) + } + } else if yyct782 == codecSelferValueTypeArray1234 { + yyl782 := r.ReadArrayStart() + if yyl782 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl782, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys783Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys783Slc + var yyhl783 bool = l >= 0 + for yyj783 := 0; ; yyj783++ { + if yyhl783 { + if yyj783 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys783Slc = r.DecodeBytes(yys783Slc, true, true) + yys783 := string(yys783Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys783 { + case "loadBalancer": + if r.TryDecodeAsNil() { + x.LoadBalancer = pkg2_api.LoadBalancerStatus{} + } else { + yyv784 := &x.LoadBalancer + yyv784.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys783) + } // end switch yys783 + } // end for yyj783 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj785 int + var yyb785 bool + var yyhl785 bool = l >= 0 + yyj785++ + if yyhl785 { + yyb785 = yyj785 > l + } else { + yyb785 = r.CheckBreak() + } + if yyb785 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LoadBalancer = pkg2_api.LoadBalancerStatus{} + } else { + yyv786 := &x.LoadBalancer + yyv786.CodecDecodeSelf(d) + } + for { + yyj785++ + if yyhl785 { + yyb785 = yyj785 > l + } else { + yyb785 = r.CheckBreak() + } + if yyb785 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj785-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym787 := z.EncBinary() + _ = yym787 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep788 := !z.EncBinary() + yy2arr788 := z.EncBasicHandle().StructToArray + var yyq788 [2]bool + _, _, _ = yysep788, yyq788, yy2arr788 + const yyr788 bool = false + yyq788[0] = x.Host != "" + yyq788[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil + var yynn788 int + if yyr788 || yy2arr788 { + r.EncodeArrayStart(2) + } else { + yynn788 = 0 + for _, b := range yyq788 { + if b { + yynn788++ + } + } + r.EncodeMapStart(yynn788) + yynn788 = 0 + } + if yyr788 || yy2arr788 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq788[0] { + yym790 := z.EncBinary() + _ = yym790 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Host)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq788[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("host")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym791 := z.EncBinary() + _ = yym791 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Host)) + } + } + } + var yyn792 bool + if x.IngressRuleValue.HTTP == nil { + yyn792 = true + goto LABEL792 + } + LABEL792: + if yyr788 || yy2arr788 { + if yyn792 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq788[1] { + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq788[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("http")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn792 { + r.EncodeNil() + } else { + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } + } + } + if yyr788 || yy2arr788 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym793 := z.DecBinary() + _ = yym793 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct794 := r.ContainerType() + if yyct794 == codecSelferValueTypeMap1234 { + yyl794 := r.ReadMapStart() + if yyl794 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl794, d) + } + } else if yyct794 == codecSelferValueTypeArray1234 { + yyl794 := r.ReadArrayStart() + if yyl794 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl794, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys795Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys795Slc + var yyhl795 bool = l >= 0 + for yyj795 := 0; ; yyj795++ { + if yyhl795 { + if yyj795 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys795Slc = r.DecodeBytes(yys795Slc, true, true) + yys795 := string(yys795Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys795 { + case "host": + if r.TryDecodeAsNil() { + x.Host = "" + } else { + x.Host = string(r.DecodeString()) + } case "http": + if x.IngressRuleValue.HTTP == nil { + x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) + } if r.TryDecodeAsNil() { if x.HTTP != nil { x.HTTP = nil @@ -9051,26 +9482,45 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys746) - } // end switch yys746 - } // end for yyj746 + z.DecStructFieldNotFound(-1, yys795) + } // end switch yys795 + } // end for yyj795 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj748 int - var yyb748 bool - var yyhl748 bool = l >= 0 - yyj748++ - if yyhl748 { - yyb748 = yyj748 > l + var yyj798 int + var yyb798 bool + var yyhl798 bool = l >= 0 + yyj798++ + if yyhl798 { + yyb798 = yyj798 > l } else { - yyb748 = r.CheckBreak() + yyb798 = r.CheckBreak() } - if yyb748 { + if yyb798 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Host = "" + } else { + x.Host = string(r.DecodeString()) + } + if x.IngressRuleValue.HTTP == nil { + x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) + } + yyj798++ + if yyhl798 { + yyb798 = yyj798 > l + } else { + yyb798 = r.CheckBreak() + } + if yyb798 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9086,17 +9536,194 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.HTTP.CodecDecodeSelf(d) } for { - yyj748++ - if yyhl748 { - yyb748 = yyj748 > l + yyj798++ + if yyhl798 { + yyb798 = yyj798 > l } else { - yyb748 = r.CheckBreak() + yyb798 = r.CheckBreak() } - if yyb748 { + if yyb798 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj748-1, "") + z.DecStructFieldNotFound(yyj798-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym801 := z.EncBinary() + _ = yym801 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep802 := !z.EncBinary() + yy2arr802 := z.EncBasicHandle().StructToArray + var yyq802 [1]bool + _, _, _ = yysep802, yyq802, yy2arr802 + const yyr802 bool = false + yyq802[0] = x.HTTP != nil + var yynn802 int + if yyr802 || yy2arr802 { + r.EncodeArrayStart(1) + } else { + yynn802 = 0 + for _, b := range yyq802 { + if b { + yynn802++ + } + } + r.EncodeMapStart(yynn802) + yynn802 = 0 + } + if yyr802 || yy2arr802 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq802[0] { + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq802[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("http")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } + } + if yyr802 || yy2arr802 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym804 := z.DecBinary() + _ = yym804 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct805 := r.ContainerType() + if yyct805 == codecSelferValueTypeMap1234 { + yyl805 := r.ReadMapStart() + if yyl805 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl805, d) + } + } else if yyct805 == codecSelferValueTypeArray1234 { + yyl805 := r.ReadArrayStart() + if yyl805 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl805, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys806Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys806Slc + var yyhl806 bool = l >= 0 + for yyj806 := 0; ; yyj806++ { + if yyhl806 { + if yyj806 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys806Slc = r.DecodeBytes(yys806Slc, true, true) + yys806 := string(yys806Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys806 { + case "http": + if r.TryDecodeAsNil() { + if x.HTTP != nil { + x.HTTP = nil + } + } else { + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys806) + } // end switch yys806 + } // end for yyj806 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj808 int + var yyb808 bool + var yyhl808 bool = l >= 0 + yyj808++ + if yyhl808 { + yyb808 = yyj808 > l + } else { + yyb808 = r.CheckBreak() + } + if yyb808 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.HTTP != nil { + x.HTTP = nil + } + } else { + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) + } + for { + yyj808++ + if yyhl808 { + yyb808 = yyj808 > l + } else { + yyb808 = r.CheckBreak() + } + if yyb808 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj808-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9108,36 +9735,36 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym750 := z.EncBinary() - _ = yym750 + yym810 := z.EncBinary() + _ = yym810 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep751 := !z.EncBinary() - yy2arr751 := z.EncBasicHandle().StructToArray - var yyq751 [1]bool - _, _, _ = yysep751, yyq751, yy2arr751 - const yyr751 bool = false - var yynn751 int - if yyr751 || yy2arr751 { + yysep811 := !z.EncBinary() + yy2arr811 := z.EncBasicHandle().StructToArray + var yyq811 [1]bool + _, _, _ = yysep811, yyq811, yy2arr811 + const yyr811 bool = false + var yynn811 int + if yyr811 || yy2arr811 { r.EncodeArrayStart(1) } else { - yynn751 = 1 - for _, b := range yyq751 { + yynn811 = 1 + for _, b := range yyq811 { if b { - yynn751++ + yynn811++ } } - r.EncodeMapStart(yynn751) - yynn751 = 0 + r.EncodeMapStart(yynn811) + yynn811 = 0 } - if yyr751 || yy2arr751 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Paths == nil { r.EncodeNil() } else { - yym753 := z.EncBinary() - _ = yym753 + yym813 := z.EncBinary() + _ = yym813 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) @@ -9150,15 +9777,15 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x.Paths == nil { r.EncodeNil() } else { - yym754 := z.EncBinary() - _ = yym754 + yym814 := z.EncBinary() + _ = yym814 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) } } } - if yyr751 || yy2arr751 { + if yyr811 || yy2arr811 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9171,25 +9798,25 @@ func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym755 := z.DecBinary() - _ = yym755 + yym815 := z.DecBinary() + _ = yym815 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct756 := r.ContainerType() - if yyct756 == codecSelferValueTypeMap1234 { - yyl756 := r.ReadMapStart() - if yyl756 == 0 { + yyct816 := r.ContainerType() + if yyct816 == codecSelferValueTypeMap1234 { + yyl816 := r.ReadMapStart() + if yyl816 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl756, d) + x.codecDecodeSelfFromMap(yyl816, d) } - } else if yyct756 == codecSelferValueTypeArray1234 { - yyl756 := r.ReadArrayStart() - if yyl756 == 0 { + } else if yyct816 == codecSelferValueTypeArray1234 { + yyl816 := r.ReadArrayStart() + if yyl816 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl756, d) + x.codecDecodeSelfFromArray(yyl816, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9201,12 +9828,12 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys757Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys757Slc - var yyhl757 bool = l >= 0 - for yyj757 := 0; ; yyj757++ { - if yyhl757 { - if yyj757 >= l { + var yys817Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys817Slc + var yyhl817 bool = l >= 0 + for yyj817 := 0; ; yyj817++ { + if yyhl817 { + if yyj817 >= l { break } } else { @@ -9215,26 +9842,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys757Slc = r.DecodeBytes(yys757Slc, true, true) - yys757 := string(yys757Slc) + yys817Slc = r.DecodeBytes(yys817Slc, true, true) + yys817 := string(yys817Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys757 { + switch yys817 { case "paths": if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv758 := &x.Paths - yym759 := z.DecBinary() - _ = yym759 + yyv818 := &x.Paths + yym819 := z.DecBinary() + _ = yym819 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv758), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv818), d) } } default: - z.DecStructFieldNotFound(-1, yys757) - } // end switch yys757 - } // end for yyj757 + z.DecStructFieldNotFound(-1, yys817) + } // end switch yys817 + } // end for yyj817 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9242,16 +9869,16 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj760 int - var yyb760 bool - var yyhl760 bool = l >= 0 - yyj760++ - if yyhl760 { - yyb760 = yyj760 > l + var yyj820 int + var yyb820 bool + var yyhl820 bool = l >= 0 + yyj820++ + if yyhl820 { + yyb820 = yyj820 > l } else { - yyb760 = r.CheckBreak() + yyb820 = r.CheckBreak() } - if yyb760 { + if yyb820 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9259,26 +9886,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv761 := &x.Paths - yym762 := z.DecBinary() - _ = yym762 + yyv821 := &x.Paths + yym822 := z.DecBinary() + _ = yym822 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv761), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv821), d) } } for { - yyj760++ - if yyhl760 { - yyb760 = yyj760 > l + yyj820++ + if yyhl820 { + yyb820 = yyj820 > l } else { - yyb760 = r.CheckBreak() + yyb820 = r.CheckBreak() } - if yyb760 { + if yyb820 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj760-1, "") + z.DecStructFieldNotFound(yyj820-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9290,35 +9917,35 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym763 := z.EncBinary() - _ = yym763 + yym823 := z.EncBinary() + _ = yym823 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep764 := !z.EncBinary() - yy2arr764 := z.EncBasicHandle().StructToArray - var yyq764 [2]bool - _, _, _ = yysep764, yyq764, yy2arr764 - const yyr764 bool = false - yyq764[0] = x.Path != "" - var yynn764 int - if yyr764 || yy2arr764 { + yysep824 := !z.EncBinary() + yy2arr824 := z.EncBasicHandle().StructToArray + var yyq824 [2]bool + _, _, _ = yysep824, yyq824, yy2arr824 + const yyr824 bool = false + yyq824[0] = x.Path != "" + var yynn824 int + if yyr824 || yy2arr824 { r.EncodeArrayStart(2) } else { - yynn764 = 1 - for _, b := range yyq764 { + yynn824 = 1 + for _, b := range yyq824 { if b { - yynn764++ + yynn824++ } } - r.EncodeMapStart(yynn764) - yynn764 = 0 + r.EncodeMapStart(yynn824) + yynn824 = 0 } - if yyr764 || yy2arr764 { + if yyr824 || yy2arr824 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq764[0] { - yym766 := z.EncBinary() - _ = yym766 + if yyq824[0] { + yym826 := z.EncBinary() + _ = yym826 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -9327,30 +9954,30 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq764[0] { + if yyq824[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym767 := z.EncBinary() - _ = yym767 + yym827 := z.EncBinary() + _ = yym827 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr764 || yy2arr764 { + if yyr824 || yy2arr824 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy769 := &x.Backend - yy769.CodecEncodeSelf(e) + yy829 := &x.Backend + yy829.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy770 := &x.Backend - yy770.CodecEncodeSelf(e) + yy830 := &x.Backend + yy830.CodecEncodeSelf(e) } - if yyr764 || yy2arr764 { + if yyr824 || yy2arr824 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9363,25 +9990,25 @@ func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym771 := z.DecBinary() - _ = yym771 + yym831 := z.DecBinary() + _ = yym831 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct772 := r.ContainerType() - if yyct772 == codecSelferValueTypeMap1234 { - yyl772 := r.ReadMapStart() - if yyl772 == 0 { + yyct832 := r.ContainerType() + if yyct832 == codecSelferValueTypeMap1234 { + yyl832 := r.ReadMapStart() + if yyl832 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl772, d) + x.codecDecodeSelfFromMap(yyl832, d) } - } else if yyct772 == codecSelferValueTypeArray1234 { - yyl772 := r.ReadArrayStart() - if yyl772 == 0 { + } else if yyct832 == codecSelferValueTypeArray1234 { + yyl832 := r.ReadArrayStart() + if yyl832 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl772, d) + x.codecDecodeSelfFromArray(yyl832, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9393,12 +10020,12 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys773Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys773Slc - var yyhl773 bool = l >= 0 - for yyj773 := 0; ; yyj773++ { - if yyhl773 { - if yyj773 >= l { + var yys833Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys833Slc + var yyhl833 bool = l >= 0 + for yyj833 := 0; ; yyj833++ { + if yyhl833 { + if yyj833 >= l { break } } else { @@ -9407,10 +10034,10 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys773Slc = r.DecodeBytes(yys773Slc, true, true) - yys773 := string(yys773Slc) + yys833Slc = r.DecodeBytes(yys833Slc, true, true) + yys833 := string(yys833Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys773 { + switch yys833 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -9421,13 +10048,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv775 := &x.Backend - yyv775.CodecDecodeSelf(d) + yyv835 := &x.Backend + yyv835.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys773) - } // end switch yys773 - } // end for yyj773 + z.DecStructFieldNotFound(-1, yys833) + } // end switch yys833 + } // end for yyj833 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9435,16 +10062,16 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj776 int - var yyb776 bool - var yyhl776 bool = l >= 0 - yyj776++ - if yyhl776 { - yyb776 = yyj776 > l + var yyj836 int + var yyb836 bool + var yyhl836 bool = l >= 0 + yyj836++ + if yyhl836 { + yyb836 = yyj836 > l } else { - yyb776 = r.CheckBreak() + yyb836 = r.CheckBreak() } - if yyb776 { + if yyb836 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9454,13 +10081,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj776++ - if yyhl776 { - yyb776 = yyj776 > l + yyj836++ + if yyhl836 { + yyb836 = yyj836 > l } else { - yyb776 = r.CheckBreak() + yyb836 = r.CheckBreak() } - if yyb776 { + if yyb836 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9468,21 +10095,21 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv778 := &x.Backend - yyv778.CodecDecodeSelf(d) + yyv838 := &x.Backend + yyv838.CodecDecodeSelf(d) } for { - yyj776++ - if yyhl776 { - yyb776 = yyj776 > l + yyj836++ + if yyhl836 { + yyb836 = yyj836 > l } else { - yyb776 = r.CheckBreak() + yyb836 = r.CheckBreak() } - if yyb776 { + if yyb836 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj776-1, "") + z.DecStructFieldNotFound(yyj836-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9494,33 +10121,33 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym779 := z.EncBinary() - _ = yym779 + yym839 := z.EncBinary() + _ = yym839 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep780 := !z.EncBinary() - yy2arr780 := z.EncBasicHandle().StructToArray - var yyq780 [2]bool - _, _, _ = yysep780, yyq780, yy2arr780 - const yyr780 bool = false - var yynn780 int - if yyr780 || yy2arr780 { + yysep840 := !z.EncBinary() + yy2arr840 := z.EncBasicHandle().StructToArray + var yyq840 [2]bool + _, _, _ = yysep840, yyq840, yy2arr840 + const yyr840 bool = false + var yynn840 int + if yyr840 || yy2arr840 { r.EncodeArrayStart(2) } else { - yynn780 = 2 - for _, b := range yyq780 { + yynn840 = 2 + for _, b := range yyq840 { if b { - yynn780++ + yynn840++ } } - r.EncodeMapStart(yynn780) - yynn780 = 0 + r.EncodeMapStart(yynn840) + yynn840 = 0 } - if yyr780 || yy2arr780 { + if yyr840 || yy2arr840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym782 := z.EncBinary() - _ = yym782 + yym842 := z.EncBinary() + _ = yym842 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) @@ -9529,41 +10156,41 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym783 := z.EncBinary() - _ = yym783 + yym843 := z.EncBinary() + _ = yym843 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) } } - if yyr780 || yy2arr780 { + if yyr840 || yy2arr840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy785 := &x.ServicePort - yym786 := z.EncBinary() - _ = yym786 + yy845 := &x.ServicePort + yym846 := z.EncBinary() + _ = yym846 if false { - } else if z.HasExtensions() && z.EncExt(yy785) { - } else if !yym786 && z.IsJSONHandle() { - z.EncJSONMarshal(yy785) + } else if z.HasExtensions() && z.EncExt(yy845) { + } else if !yym846 && z.IsJSONHandle() { + z.EncJSONMarshal(yy845) } else { - z.EncFallback(yy785) + z.EncFallback(yy845) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("servicePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy787 := &x.ServicePort - yym788 := z.EncBinary() - _ = yym788 + yy847 := &x.ServicePort + yym848 := z.EncBinary() + _ = yym848 if false { - } else if z.HasExtensions() && z.EncExt(yy787) { - } else if !yym788 && z.IsJSONHandle() { - z.EncJSONMarshal(yy787) + } else if z.HasExtensions() && z.EncExt(yy847) { + } else if !yym848 && z.IsJSONHandle() { + z.EncJSONMarshal(yy847) } else { - z.EncFallback(yy787) + z.EncFallback(yy847) } } - if yyr780 || yy2arr780 { + if yyr840 || yy2arr840 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9576,25 +10203,25 @@ func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym789 := z.DecBinary() - _ = yym789 + yym849 := z.DecBinary() + _ = yym849 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct790 := r.ContainerType() - if yyct790 == codecSelferValueTypeMap1234 { - yyl790 := r.ReadMapStart() - if yyl790 == 0 { + yyct850 := r.ContainerType() + if yyct850 == codecSelferValueTypeMap1234 { + yyl850 := r.ReadMapStart() + if yyl850 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl790, d) + x.codecDecodeSelfFromMap(yyl850, d) } - } else if yyct790 == codecSelferValueTypeArray1234 { - yyl790 := r.ReadArrayStart() - if yyl790 == 0 { + } else if yyct850 == codecSelferValueTypeArray1234 { + yyl850 := r.ReadArrayStart() + if yyl850 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl790, d) + x.codecDecodeSelfFromArray(yyl850, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9606,12 +10233,12 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys791Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys791Slc - var yyhl791 bool = l >= 0 - for yyj791 := 0; ; yyj791++ { - if yyhl791 { - if yyj791 >= l { + var yys851Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys851Slc + var yyhl851 bool = l >= 0 + for yyj851 := 0; ; yyj851++ { + if yyhl851 { + if yyj851 >= l { break } } else { @@ -9620,10 +10247,10 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys791Slc = r.DecodeBytes(yys791Slc, true, true) - yys791 := string(yys791Slc) + yys851Slc = r.DecodeBytes(yys851Slc, true, true) + yys851 := string(yys851Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys791 { + switch yys851 { case "serviceName": if r.TryDecodeAsNil() { x.ServiceName = "" @@ -9634,676 +10261,25 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv793 := &x.ServicePort - yym794 := z.DecBinary() - _ = yym794 + yyv853 := &x.ServicePort + yym854 := z.DecBinary() + _ = yym854 if false { - } else if z.HasExtensions() && z.DecExt(yyv793) { - } else if !yym794 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv793) + } else if z.HasExtensions() && z.DecExt(yyv853) { + } else if !yym854 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv853) } else { - z.DecFallback(yyv793, false) + z.DecFallback(yyv853, false) } } default: - z.DecStructFieldNotFound(-1, yys791) - } // end switch yys791 - } // end for yyj791 + z.DecStructFieldNotFound(-1, yys851) + } // end switch yys851 + } // end for yyj851 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj795 int - var yyb795 bool - var yyhl795 bool = l >= 0 - yyj795++ - if yyhl795 { - yyb795 = yyj795 > l - } else { - yyb795 = r.CheckBreak() - } - if yyb795 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ServiceName = "" - } else { - x.ServiceName = string(r.DecodeString()) - } - yyj795++ - if yyhl795 { - yyb795 = yyj795 > l - } else { - yyb795 = r.CheckBreak() - } - if yyb795 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ServicePort = pkg5_intstr.IntOrString{} - } else { - yyv797 := &x.ServicePort - yym798 := z.DecBinary() - _ = yym798 - if false { - } else if z.HasExtensions() && z.DecExt(yyv797) { - } else if !yym798 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv797) - } else { - z.DecFallback(yyv797, false) - } - } - for { - yyj795++ - if yyhl795 { - yyb795 = yyj795 > l - } else { - yyb795 = r.CheckBreak() - } - if yyb795 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj795-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym799 := z.EncBinary() - _ = yym799 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep800 := !z.EncBinary() - yy2arr800 := z.EncBasicHandle().StructToArray - var yyq800 [5]bool - _, _, _ = yysep800, yyq800, yy2arr800 - const yyr800 bool = false - yyq800[0] = x.Kind != "" - yyq800[1] = x.APIVersion != "" - yyq800[2] = true - yyq800[3] = true - yyq800[4] = true - var yynn800 int - if yyr800 || yy2arr800 { - r.EncodeArrayStart(5) - } else { - yynn800 = 0 - for _, b := range yyq800 { - if b { - yynn800++ - } - } - r.EncodeMapStart(yynn800) - yynn800 = 0 - } - if yyr800 || yy2arr800 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq800[0] { - yym802 := z.EncBinary() - _ = yym802 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq800[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym803 := z.EncBinary() - _ = yym803 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr800 || yy2arr800 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq800[1] { - yym805 := z.EncBinary() - _ = yym805 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq800[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym806 := z.EncBinary() - _ = yym806 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr800 || yy2arr800 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq800[2] { - yy808 := &x.ObjectMeta - yy808.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq800[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy809 := &x.ObjectMeta - yy809.CodecEncodeSelf(e) - } - } - if yyr800 || yy2arr800 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq800[3] { - yy811 := &x.Spec - yy811.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq800[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy812 := &x.Spec - yy812.CodecEncodeSelf(e) - } - } - if yyr800 || yy2arr800 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq800[4] { - yy814 := &x.Status - yy814.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq800[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy815 := &x.Status - yy815.CodecEncodeSelf(e) - } - } - if yyr800 || yy2arr800 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym816 := z.DecBinary() - _ = yym816 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct817 := r.ContainerType() - if yyct817 == codecSelferValueTypeMap1234 { - yyl817 := r.ReadMapStart() - if yyl817 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl817, d) - } - } else if yyct817 == codecSelferValueTypeArray1234 { - yyl817 := r.ReadArrayStart() - if yyl817 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl817, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys818Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys818Slc - var yyhl818 bool = l >= 0 - for yyj818 := 0; ; yyj818++ { - if yyhl818 { - if yyj818 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys818Slc = r.DecodeBytes(yys818Slc, true, true) - yys818 := string(yys818Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys818 { - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv821 := &x.ObjectMeta - yyv821.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ReplicaSetSpec{} - } else { - yyv822 := &x.Spec - yyv822.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ReplicaSetStatus{} - } else { - yyv823 := &x.Status - yyv823.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys818) - } // end switch yys818 - } // end for yyj818 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj824 int - var yyb824 bool - var yyhl824 bool = l >= 0 - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l - } else { - yyb824 = r.CheckBreak() - } - if yyb824 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l - } else { - yyb824 = r.CheckBreak() - } - if yyb824 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l - } else { - yyb824 = r.CheckBreak() - } - if yyb824 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv827 := &x.ObjectMeta - yyv827.CodecDecodeSelf(d) - } - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l - } else { - yyb824 = r.CheckBreak() - } - if yyb824 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ReplicaSetSpec{} - } else { - yyv828 := &x.Spec - yyv828.CodecDecodeSelf(d) - } - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l - } else { - yyb824 = r.CheckBreak() - } - if yyb824 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ReplicaSetStatus{} - } else { - yyv829 := &x.Status - yyv829.CodecDecodeSelf(d) - } - for { - yyj824++ - if yyhl824 { - yyb824 = yyj824 > l - } else { - yyb824 = r.CheckBreak() - } - if yyb824 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj824-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym830 := z.EncBinary() - _ = yym830 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep831 := !z.EncBinary() - yy2arr831 := z.EncBasicHandle().StructToArray - var yyq831 [4]bool - _, _, _ = yysep831, yyq831, yy2arr831 - const yyr831 bool = false - yyq831[0] = x.Kind != "" - yyq831[1] = x.APIVersion != "" - yyq831[2] = true - var yynn831 int - if yyr831 || yy2arr831 { - r.EncodeArrayStart(4) - } else { - yynn831 = 1 - for _, b := range yyq831 { - if b { - yynn831++ - } - } - r.EncodeMapStart(yynn831) - yynn831 = 0 - } - if yyr831 || yy2arr831 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq831[0] { - yym833 := z.EncBinary() - _ = yym833 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq831[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym834 := z.EncBinary() - _ = yym834 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr831 || yy2arr831 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq831[1] { - yym836 := z.EncBinary() - _ = yym836 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq831[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym837 := z.EncBinary() - _ = yym837 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr831 || yy2arr831 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq831[2] { - yy839 := &x.ListMeta - yym840 := z.EncBinary() - _ = yym840 - if false { - } else if z.HasExtensions() && z.EncExt(yy839) { - } else { - z.EncFallback(yy839) - } - } else { - r.EncodeNil() - } - } else { - if yyq831[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy841 := &x.ListMeta - yym842 := z.EncBinary() - _ = yym842 - if false { - } else if z.HasExtensions() && z.EncExt(yy841) { - } else { - z.EncFallback(yy841) - } - } - } - if yyr831 || yy2arr831 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym844 := z.EncBinary() - _ = yym844 - if false { - } else { - h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym845 := z.EncBinary() - _ = yym845 - if false { - } else { - h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) - } - } - } - if yyr831 || yy2arr831 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym846 := z.DecBinary() - _ = yym846 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct847 := r.ContainerType() - if yyct847 == codecSelferValueTypeMap1234 { - yyl847 := r.ReadMapStart() - if yyl847 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl847, d) - } - } else if yyct847 == codecSelferValueTypeArray1234 { - yyl847 := r.ReadArrayStart() - if yyl847 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl847, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys848Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys848Slc - var yyhl848 bool = l >= 0 - for yyj848 := 0; ; yyj848++ { - if yyhl848 { - if yyj848 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys848Slc = r.DecodeBytes(yys848Slc, true, true) - yys848 := string(yys848Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys848 { - 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 = pkg1_unversioned.ListMeta{} - } else { - yyv851 := &x.ListMeta - yym852 := z.DecBinary() - _ = yym852 - if false { - } else if z.HasExtensions() && z.DecExt(yyv851) { - } else { - z.DecFallback(yyv851, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv853 := &x.Items - yym854 := z.DecBinary() - _ = yym854 - if false { - } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv853), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys848) - } // end switch yys848 - } // end for yyj848 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -10322,9 +10298,9 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Kind = "" + x.ServiceName = "" } else { - x.Kind = string(r.DecodeString()) + x.ServiceName = string(r.DecodeString()) } yyj855++ if yyhl855 { @@ -10338,53 +10314,17 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.APIVersion = "" + x.ServicePort = pkg5_intstr.IntOrString{} } else { - x.APIVersion = string(r.DecodeString()) - } - yyj855++ - if yyhl855 { - yyb855 = yyj855 > l - } else { - yyb855 = r.CheckBreak() - } - if yyb855 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv858 := &x.ListMeta - yym859 := z.DecBinary() - _ = yym859 + yyv857 := &x.ServicePort + yym858 := z.DecBinary() + _ = yym858 if false { - } else if z.HasExtensions() && z.DecExt(yyv858) { + } else if z.HasExtensions() && z.DecExt(yyv857) { + } else if !yym858 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv857) } else { - z.DecFallback(yyv858, false) - } - } - yyj855++ - if yyhl855 { - yyb855 = yyj855 > l - } else { - yyb855 = r.CheckBreak() - } - if yyb855 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv860 := &x.Items - yym861 := z.DecBinary() - _ = yym861 - if false { - } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv860), d) + z.DecFallback(yyv857, false) } } for { @@ -10403,136 +10343,143 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym862 := z.EncBinary() - _ = yym862 + yym859 := z.EncBinary() + _ = yym859 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep863 := !z.EncBinary() - yy2arr863 := z.EncBasicHandle().StructToArray - var yyq863 [4]bool - _, _, _ = yysep863, yyq863, yy2arr863 - const yyr863 bool = false - yyq863[1] = x.MinReadySeconds != 0 - yyq863[2] = x.Selector != nil - yyq863[3] = true - var yynn863 int - if yyr863 || yy2arr863 { - r.EncodeArrayStart(4) + yysep860 := !z.EncBinary() + yy2arr860 := z.EncBasicHandle().StructToArray + var yyq860 [5]bool + _, _, _ = yysep860, yyq860, yy2arr860 + const yyr860 bool = false + yyq860[0] = x.Kind != "" + yyq860[1] = x.APIVersion != "" + yyq860[2] = true + yyq860[3] = true + yyq860[4] = true + var yynn860 int + if yyr860 || yy2arr860 { + r.EncodeArrayStart(5) } else { - yynn863 = 1 - for _, b := range yyq863 { + yynn860 = 0 + for _, b := range yyq860 { if b { - yynn863++ + yynn860++ } } - r.EncodeMapStart(yynn863) - yynn863 = 0 + r.EncodeMapStart(yynn860) + yynn860 = 0 } - if yyr863 || yy2arr863 { + if yyr860 || yy2arr860 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym865 := z.EncBinary() - _ = yym865 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("replicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym866 := z.EncBinary() - _ = yym866 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } - if yyr863 || yy2arr863 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq863[1] { - yym868 := z.EncBinary() - _ = yym868 + if yyq860[0] { + yym862 := z.EncBinary() + _ = yym862 if false { } else { - r.EncodeInt(int64(x.MinReadySeconds)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } else { - r.EncodeInt(0) + r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq863[1] { + if yyq860[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym869 := z.EncBinary() - _ = yym869 + yym863 := z.EncBinary() + _ = yym863 if false { } else { - r.EncodeInt(int64(x.MinReadySeconds)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr863 || yy2arr863 { + if yyr860 || yy2arr860 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq863[2] { - if x.Selector == nil { - r.EncodeNil() + if yyq860[1] { + yym865 := z.EncBinary() + _ = yym865 + if false { } else { - yym871 := z.EncBinary() - _ = yym871 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq860[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym866 := z.EncBinary() + _ = yym866 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr860 || yy2arr860 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq860[2] { + yy868 := &x.ObjectMeta + yy868.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq863[2] { + if yyq860[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("selector")) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Selector == nil { - r.EncodeNil() - } else { - yym872 := z.EncBinary() - _ = yym872 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } - } + yy869 := &x.ObjectMeta + yy869.CodecEncodeSelf(e) } } - if yyr863 || yy2arr863 { + if yyr860 || yy2arr860 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq863[3] { - yy874 := &x.Template + if yyq860[3] { + yy871 := &x.Spec + yy871.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq860[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy872 := &x.Spec + yy872.CodecEncodeSelf(e) + } + } + if yyr860 || yy2arr860 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq860[4] { + yy874 := &x.Status yy874.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq863[3] { + if yyq860[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("template")) + r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy875 := &x.Template + yy875 := &x.Status yy875.CodecEncodeSelf(e) } } - if yyr863 || yy2arr863 { + if yyr860 || yy2arr860 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10541,7 +10488,7 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -10571,7 +10518,7 @@ func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -10593,6 +10540,686 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys878 := string(yys878Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys878 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv881 := &x.ObjectMeta + yyv881.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ReplicaSetSpec{} + } else { + yyv882 := &x.Spec + yyv882.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ReplicaSetStatus{} + } else { + yyv883 := &x.Status + yyv883.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys878) + } // end switch yys878 + } // end for yyj878 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj884 int + var yyb884 bool + var yyhl884 bool = l >= 0 + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l + } else { + yyb884 = r.CheckBreak() + } + if yyb884 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l + } else { + yyb884 = r.CheckBreak() + } + if yyb884 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l + } else { + yyb884 = r.CheckBreak() + } + if yyb884 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv887 := &x.ObjectMeta + yyv887.CodecDecodeSelf(d) + } + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l + } else { + yyb884 = r.CheckBreak() + } + if yyb884 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ReplicaSetSpec{} + } else { + yyv888 := &x.Spec + yyv888.CodecDecodeSelf(d) + } + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l + } else { + yyb884 = r.CheckBreak() + } + if yyb884 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ReplicaSetStatus{} + } else { + yyv889 := &x.Status + yyv889.CodecDecodeSelf(d) + } + for { + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l + } else { + yyb884 = r.CheckBreak() + } + if yyb884 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj884-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym890 := z.EncBinary() + _ = yym890 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep891 := !z.EncBinary() + yy2arr891 := z.EncBasicHandle().StructToArray + var yyq891 [4]bool + _, _, _ = yysep891, yyq891, yy2arr891 + const yyr891 bool = false + yyq891[0] = x.Kind != "" + yyq891[1] = x.APIVersion != "" + yyq891[2] = true + var yynn891 int + if yyr891 || yy2arr891 { + r.EncodeArrayStart(4) + } else { + yynn891 = 1 + for _, b := range yyq891 { + if b { + yynn891++ + } + } + r.EncodeMapStart(yynn891) + yynn891 = 0 + } + if yyr891 || yy2arr891 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq891[0] { + yym893 := z.EncBinary() + _ = yym893 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq891[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym894 := z.EncBinary() + _ = yym894 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr891 || yy2arr891 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq891[1] { + yym896 := z.EncBinary() + _ = yym896 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq891[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym897 := z.EncBinary() + _ = yym897 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr891 || yy2arr891 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq891[2] { + yy899 := &x.ListMeta + yym900 := z.EncBinary() + _ = yym900 + if false { + } else if z.HasExtensions() && z.EncExt(yy899) { + } else { + z.EncFallback(yy899) + } + } else { + r.EncodeNil() + } + } else { + if yyq891[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy901 := &x.ListMeta + yym902 := z.EncBinary() + _ = yym902 + if false { + } else if z.HasExtensions() && z.EncExt(yy901) { + } else { + z.EncFallback(yy901) + } + } + } + if yyr891 || yy2arr891 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym904 := z.EncBinary() + _ = yym904 + if false { + } else { + h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym905 := z.EncBinary() + _ = yym905 + if false { + } else { + h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) + } + } + } + if yyr891 || yy2arr891 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym906 := z.DecBinary() + _ = yym906 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct907 := r.ContainerType() + if yyct907 == codecSelferValueTypeMap1234 { + yyl907 := r.ReadMapStart() + if yyl907 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl907, d) + } + } else if yyct907 == codecSelferValueTypeArray1234 { + yyl907 := r.ReadArrayStart() + if yyl907 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl907, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys908Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys908Slc + var yyhl908 bool = l >= 0 + for yyj908 := 0; ; yyj908++ { + if yyhl908 { + if yyj908 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys908Slc = r.DecodeBytes(yys908Slc, true, true) + yys908 := string(yys908Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys908 { + 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 = pkg1_unversioned.ListMeta{} + } else { + yyv911 := &x.ListMeta + yym912 := z.DecBinary() + _ = yym912 + if false { + } else if z.HasExtensions() && z.DecExt(yyv911) { + } else { + z.DecFallback(yyv911, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv913 := &x.Items + yym914 := z.DecBinary() + _ = yym914 + if false { + } else { + h.decSliceReplicaSet((*[]ReplicaSet)(yyv913), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys908) + } // end switch yys908 + } // end for yyj908 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj915 int + var yyb915 bool + var yyhl915 bool = l >= 0 + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l + } else { + yyb915 = r.CheckBreak() + } + if yyb915 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l + } else { + yyb915 = r.CheckBreak() + } + if yyb915 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l + } else { + yyb915 = r.CheckBreak() + } + if yyb915 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv918 := &x.ListMeta + yym919 := z.DecBinary() + _ = yym919 + if false { + } else if z.HasExtensions() && z.DecExt(yyv918) { + } else { + z.DecFallback(yyv918, false) + } + } + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l + } else { + yyb915 = r.CheckBreak() + } + if yyb915 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv920 := &x.Items + yym921 := z.DecBinary() + _ = yym921 + if false { + } else { + h.decSliceReplicaSet((*[]ReplicaSet)(yyv920), d) + } + } + for { + yyj915++ + if yyhl915 { + yyb915 = yyj915 > l + } else { + yyb915 = r.CheckBreak() + } + if yyb915 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj915-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym922 := z.EncBinary() + _ = yym922 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep923 := !z.EncBinary() + yy2arr923 := z.EncBasicHandle().StructToArray + var yyq923 [4]bool + _, _, _ = yysep923, yyq923, yy2arr923 + const yyr923 bool = false + yyq923[1] = x.MinReadySeconds != 0 + yyq923[2] = x.Selector != nil + yyq923[3] = true + var yynn923 int + if yyr923 || yy2arr923 { + r.EncodeArrayStart(4) + } else { + yynn923 = 1 + for _, b := range yyq923 { + if b { + yynn923++ + } + } + r.EncodeMapStart(yynn923) + yynn923 = 0 + } + if yyr923 || yy2arr923 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym925 := z.EncBinary() + _ = yym925 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("replicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym926 := z.EncBinary() + _ = yym926 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } + if yyr923 || yy2arr923 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq923[1] { + yym928 := z.EncBinary() + _ = yym928 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq923[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym929 := z.EncBinary() + _ = yym929 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } + } + if yyr923 || yy2arr923 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq923[2] { + if x.Selector == nil { + r.EncodeNil() + } else { + yym931 := z.EncBinary() + _ = yym931 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq923[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("selector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Selector == nil { + r.EncodeNil() + } else { + yym932 := z.EncBinary() + _ = yym932 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } + } + } + } + if yyr923 || yy2arr923 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq923[3] { + yy934 := &x.Template + yy934.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq923[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("template")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy935 := &x.Template + yy935.CodecEncodeSelf(e) + } + } + if yyr923 || yy2arr923 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym936 := z.DecBinary() + _ = yym936 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct937 := r.ContainerType() + if yyct937 == codecSelferValueTypeMap1234 { + yyl937 := r.ReadMapStart() + if yyl937 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl937, d) + } + } else if yyct937 == codecSelferValueTypeArray1234 { + yyl937 := r.ReadArrayStart() + if yyl937 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl937, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys938Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys938Slc + var yyhl938 bool = l >= 0 + for yyj938 := 0; ; yyj938++ { + if yyhl938 { + if yyj938 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys938Slc = r.DecodeBytes(yys938Slc, true, true) + yys938 := string(yys938Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys938 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -10614,8 +11241,8 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym882 := z.DecBinary() - _ = yym882 + yym942 := z.DecBinary() + _ = yym942 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -10626,13 +11253,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv883 := &x.Template - yyv883.CodecDecodeSelf(d) + yyv943 := &x.Template + yyv943.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys878) - } // end switch yys878 - } // end for yyj878 + z.DecStructFieldNotFound(-1, yys938) + } // end switch yys938 + } // end for yyj938 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10640,16 +11267,16 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj884 int - var yyb884 bool - var yyhl884 bool = l >= 0 - yyj884++ - if yyhl884 { - yyb884 = yyj884 > l + var yyj944 int + var yyb944 bool + var yyhl944 bool = l >= 0 + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb884 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb884 { + if yyb944 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10659,13 +11286,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj884++ - if yyhl884 { - yyb884 = yyj884 > l + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb884 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb884 { + if yyb944 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10675,13 +11302,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MinReadySeconds = int32(r.DecodeInt(32)) } - yyj884++ - if yyhl884 { - yyb884 = yyj884 > l + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb884 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb884 { + if yyb944 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10694,21 +11321,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym888 := z.DecBinary() - _ = yym888 + yym948 := z.DecBinary() + _ = yym948 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj884++ - if yyhl884 { - yyb884 = yyj884 > l + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb884 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb884 { + if yyb944 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10716,21 +11343,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv889 := &x.Template - yyv889.CodecDecodeSelf(d) + yyv949 := &x.Template + yyv949.CodecDecodeSelf(d) } for { - yyj884++ - if yyhl884 { - yyb884 = yyj884 > l + yyj944++ + if yyhl944 { + yyb944 = yyj944 > l } else { - yyb884 = r.CheckBreak() + yyb944 = r.CheckBreak() } - if yyb884 { + if yyb944 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj884-1, "") + z.DecStructFieldNotFound(yyj944-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10742,38 +11369,38 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym890 := z.EncBinary() - _ = yym890 + yym950 := z.EncBinary() + _ = yym950 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep891 := !z.EncBinary() - yy2arr891 := z.EncBasicHandle().StructToArray - var yyq891 [6]bool - _, _, _ = yysep891, yyq891, yy2arr891 - const yyr891 bool = false - yyq891[1] = x.FullyLabeledReplicas != 0 - yyq891[2] = x.ReadyReplicas != 0 - yyq891[3] = x.AvailableReplicas != 0 - yyq891[4] = x.ObservedGeneration != 0 - yyq891[5] = len(x.Conditions) != 0 - var yynn891 int - if yyr891 || yy2arr891 { + yysep951 := !z.EncBinary() + yy2arr951 := z.EncBasicHandle().StructToArray + var yyq951 [6]bool + _, _, _ = yysep951, yyq951, yy2arr951 + const yyr951 bool = false + yyq951[1] = x.FullyLabeledReplicas != 0 + yyq951[2] = x.ReadyReplicas != 0 + yyq951[3] = x.AvailableReplicas != 0 + yyq951[4] = x.ObservedGeneration != 0 + yyq951[5] = len(x.Conditions) != 0 + var yynn951 int + if yyr951 || yy2arr951 { r.EncodeArrayStart(6) } else { - yynn891 = 1 - for _, b := range yyq891 { + yynn951 = 1 + for _, b := range yyq951 { if b { - yynn891++ + yynn951++ } } - r.EncodeMapStart(yynn891) - yynn891 = 0 + r.EncodeMapStart(yynn951) + yynn951 = 0 } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym893 := z.EncBinary() - _ = yym893 + yym953 := z.EncBinary() + _ = yym953 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -10782,18 +11409,18 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym894 := z.EncBinary() - _ = yym894 + yym954 := z.EncBinary() + _ = yym954 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq891[1] { - yym896 := z.EncBinary() - _ = yym896 + if yyq951[1] { + yym956 := z.EncBinary() + _ = yym956 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -10802,23 +11429,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq891[1] { + if yyq951[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym897 := z.EncBinary() - _ = yym897 + yym957 := z.EncBinary() + _ = yym957 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq891[2] { - yym899 := z.EncBinary() - _ = yym899 + if yyq951[2] { + yym959 := z.EncBinary() + _ = yym959 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) @@ -10827,23 +11454,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq891[2] { + if yyq951[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readyReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym900 := z.EncBinary() - _ = yym900 + yym960 := z.EncBinary() + _ = yym960 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) } } } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq891[3] { - yym902 := z.EncBinary() - _ = yym902 + if yyq951[3] { + yym962 := z.EncBinary() + _ = yym962 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) @@ -10852,23 +11479,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq891[3] { + if yyq951[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym903 := z.EncBinary() - _ = yym903 + yym963 := z.EncBinary() + _ = yym963 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq891[4] { - yym905 := z.EncBinary() - _ = yym905 + if yyq951[4] { + yym965 := z.EncBinary() + _ = yym965 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -10877,26 +11504,26 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq891[4] { + if yyq951[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym906 := z.EncBinary() - _ = yym906 + yym966 := z.EncBinary() + _ = yym966 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq891[5] { + if yyq951[5] { if x.Conditions == nil { r.EncodeNil() } else { - yym908 := z.EncBinary() - _ = yym908 + yym968 := z.EncBinary() + _ = yym968 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -10906,15 +11533,15 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq891[5] { + if yyq951[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym909 := z.EncBinary() - _ = yym909 + yym969 := z.EncBinary() + _ = yym969 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -10922,7 +11549,7 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr891 || yy2arr891 { + if yyr951 || yy2arr951 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10935,25 +11562,25 @@ func (x *ReplicaSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym910 := z.DecBinary() - _ = yym910 + yym970 := z.DecBinary() + _ = yym970 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct911 := r.ContainerType() - if yyct911 == codecSelferValueTypeMap1234 { - yyl911 := r.ReadMapStart() - if yyl911 == 0 { + yyct971 := r.ContainerType() + if yyct971 == codecSelferValueTypeMap1234 { + yyl971 := r.ReadMapStart() + if yyl971 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl911, d) + x.codecDecodeSelfFromMap(yyl971, d) } - } else if yyct911 == codecSelferValueTypeArray1234 { - yyl911 := r.ReadArrayStart() - if yyl911 == 0 { + } else if yyct971 == codecSelferValueTypeArray1234 { + yyl971 := r.ReadArrayStart() + if yyl971 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl911, d) + x.codecDecodeSelfFromArray(yyl971, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10965,12 +11592,12 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys912Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys912Slc - var yyhl912 bool = l >= 0 - for yyj912 := 0; ; yyj912++ { - if yyhl912 { - if yyj912 >= l { + var yys972Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys972Slc + var yyhl972 bool = l >= 0 + for yyj972 := 0; ; yyj972++ { + if yyhl972 { + if yyj972 >= l { break } } else { @@ -10979,10 +11606,10 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys912Slc = r.DecodeBytes(yys912Slc, true, true) - yys912 := string(yys912Slc) + yys972Slc = r.DecodeBytes(yys972Slc, true, true) + yys972 := string(yys972Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys912 { + switch yys972 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -11017,18 +11644,18 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv918 := &x.Conditions - yym919 := z.DecBinary() - _ = yym919 + yyv978 := &x.Conditions + yym979 := z.DecBinary() + _ = yym979 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv918), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv978), d) } } default: - z.DecStructFieldNotFound(-1, yys912) - } // end switch yys912 - } // end for yyj912 + z.DecStructFieldNotFound(-1, yys972) + } // end switch yys972 + } // end for yyj972 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11036,16 +11663,16 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj920 int - var yyb920 bool - var yyhl920 bool = l >= 0 - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + var yyj980 int + var yyb980 bool + var yyhl980 bool = l >= 0 + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11055,13 +11682,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11071,13 +11698,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11087,13 +11714,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11103,13 +11730,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11119,13 +11746,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11133,26 +11760,26 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv926 := &x.Conditions - yym927 := z.DecBinary() - _ = yym927 + yyv986 := &x.Conditions + yym987 := z.DecBinary() + _ = yym987 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv926), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv986), d) } } for { - yyj920++ - if yyhl920 { - yyb920 = yyj920 > l + yyj980++ + if yyhl980 { + yyb980 = yyj980 > l } else { - yyb920 = r.CheckBreak() + yyb980 = r.CheckBreak() } - if yyb920 { + if yyb980 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj920-1, "") + z.DecStructFieldNotFound(yyj980-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11161,8 +11788,8 @@ func (x ReplicaSetConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym928 := z.EncBinary() - _ = yym928 + yym988 := z.EncBinary() + _ = yym988 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -11174,8 +11801,8 @@ func (x *ReplicaSetConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym929 := z.DecBinary() - _ = yym929 + yym989 := z.DecBinary() + _ = yym989 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -11190,33 +11817,33 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym930 := z.EncBinary() - _ = yym930 + yym990 := z.EncBinary() + _ = yym990 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep931 := !z.EncBinary() - yy2arr931 := z.EncBasicHandle().StructToArray - var yyq931 [5]bool - _, _, _ = yysep931, yyq931, yy2arr931 - const yyr931 bool = false - yyq931[2] = true - yyq931[3] = x.Reason != "" - yyq931[4] = x.Message != "" - var yynn931 int - if yyr931 || yy2arr931 { + yysep991 := !z.EncBinary() + yy2arr991 := z.EncBasicHandle().StructToArray + var yyq991 [5]bool + _, _, _ = yysep991, yyq991, yy2arr991 + const yyr991 bool = false + yyq991[2] = true + yyq991[3] = x.Reason != "" + yyq991[4] = x.Message != "" + var yynn991 int + if yyr991 || yy2arr991 { r.EncodeArrayStart(5) } else { - yynn931 = 2 - for _, b := range yyq931 { + yynn991 = 2 + for _, b := range yyq991 { if b { - yynn931++ + yynn991++ } } - r.EncodeMapStart(yynn931) - yynn931 = 0 + r.EncodeMapStart(yynn991) + yynn991 = 0 } - if yyr931 || yy2arr931 { + if yyr991 || yy2arr991 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -11225,10 +11852,10 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr931 || yy2arr931 { + if yyr991 || yy2arr991 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym934 := z.EncBinary() - _ = yym934 + yym994 := z.EncBinary() + _ = yym994 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -11238,56 +11865,56 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym935 := z.EncBinary() - _ = yym935 + yym995 := z.EncBinary() + _ = yym995 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr931 || yy2arr931 { + if yyr991 || yy2arr991 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq931[2] { - yy937 := &x.LastTransitionTime - yym938 := z.EncBinary() - _ = yym938 + if yyq991[2] { + yy997 := &x.LastTransitionTime + yym998 := z.EncBinary() + _ = yym998 if false { - } else if z.HasExtensions() && z.EncExt(yy937) { - } else if yym938 { - z.EncBinaryMarshal(yy937) - } else if !yym938 && z.IsJSONHandle() { - z.EncJSONMarshal(yy937) + } else if z.HasExtensions() && z.EncExt(yy997) { + } else if yym998 { + z.EncBinaryMarshal(yy997) + } else if !yym998 && z.IsJSONHandle() { + z.EncJSONMarshal(yy997) } else { - z.EncFallback(yy937) + z.EncFallback(yy997) } } else { r.EncodeNil() } } else { - if yyq931[2] { + if yyq991[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy939 := &x.LastTransitionTime - yym940 := z.EncBinary() - _ = yym940 + yy999 := &x.LastTransitionTime + yym1000 := z.EncBinary() + _ = yym1000 if false { - } else if z.HasExtensions() && z.EncExt(yy939) { - } else if yym940 { - z.EncBinaryMarshal(yy939) - } else if !yym940 && z.IsJSONHandle() { - z.EncJSONMarshal(yy939) + } else if z.HasExtensions() && z.EncExt(yy999) { + } else if yym1000 { + z.EncBinaryMarshal(yy999) + } else if !yym1000 && z.IsJSONHandle() { + z.EncJSONMarshal(yy999) } else { - z.EncFallback(yy939) + z.EncFallback(yy999) } } } - if yyr931 || yy2arr931 { + if yyr991 || yy2arr991 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq931[3] { - yym942 := z.EncBinary() - _ = yym942 + if yyq991[3] { + yym1002 := z.EncBinary() + _ = yym1002 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -11296,23 +11923,23 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq931[3] { + if yyq991[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym943 := z.EncBinary() - _ = yym943 + yym1003 := z.EncBinary() + _ = yym1003 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr931 || yy2arr931 { + if yyr991 || yy2arr991 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq931[4] { - yym945 := z.EncBinary() - _ = yym945 + if yyq991[4] { + yym1005 := z.EncBinary() + _ = yym1005 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -11321,19 +11948,19 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq931[4] { + if yyq991[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym946 := z.EncBinary() - _ = yym946 + yym1006 := z.EncBinary() + _ = yym1006 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr931 || yy2arr931 { + if yyr991 || yy2arr991 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11346,25 +11973,25 @@ func (x *ReplicaSetCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym947 := z.DecBinary() - _ = yym947 + yym1007 := z.DecBinary() + _ = yym1007 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct948 := r.ContainerType() - if yyct948 == codecSelferValueTypeMap1234 { - yyl948 := r.ReadMapStart() - if yyl948 == 0 { + yyct1008 := r.ContainerType() + if yyct1008 == codecSelferValueTypeMap1234 { + yyl1008 := r.ReadMapStart() + if yyl1008 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl948, d) + x.codecDecodeSelfFromMap(yyl1008, d) } - } else if yyct948 == codecSelferValueTypeArray1234 { - yyl948 := r.ReadArrayStart() - if yyl948 == 0 { + } else if yyct1008 == codecSelferValueTypeArray1234 { + yyl1008 := r.ReadArrayStart() + if yyl1008 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl948, d) + x.codecDecodeSelfFromArray(yyl1008, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11376,12 +12003,12 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys949Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys949Slc - var yyhl949 bool = l >= 0 - for yyj949 := 0; ; yyj949++ { - if yyhl949 { - if yyj949 >= l { + var yys1009Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1009Slc + var yyhl1009 bool = l >= 0 + for yyj1009 := 0; ; yyj1009++ { + if yyhl1009 { + if yyj1009 >= l { break } } else { @@ -11390,10 +12017,10 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys949Slc = r.DecodeBytes(yys949Slc, true, true) - yys949 := string(yys949Slc) + yys1009Slc = r.DecodeBytes(yys1009Slc, true, true) + yys1009 := string(yys1009Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys949 { + switch yys1009 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -11410,17 +12037,17 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv952 := &x.LastTransitionTime - yym953 := z.DecBinary() - _ = yym953 + yyv1012 := &x.LastTransitionTime + yym1013 := z.DecBinary() + _ = yym1013 if false { - } else if z.HasExtensions() && z.DecExt(yyv952) { - } else if yym953 { - z.DecBinaryUnmarshal(yyv952) - } else if !yym953 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv952) + } else if z.HasExtensions() && z.DecExt(yyv1012) { + } else if yym1013 { + z.DecBinaryUnmarshal(yyv1012) + } else if !yym1013 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1012) } else { - z.DecFallback(yyv952, false) + z.DecFallback(yyv1012, false) } } case "reason": @@ -11436,9 +12063,9 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys949) - } // end switch yys949 - } // end for yyj949 + z.DecStructFieldNotFound(-1, yys1009) + } // end switch yys1009 + } // end for yyj1009 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11446,16 +12073,16 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj956 int - var yyb956 bool - var yyhl956 bool = l >= 0 - yyj956++ - if yyhl956 { - yyb956 = yyj956 > l + var yyj1016 int + var yyb1016 bool + var yyhl1016 bool = l >= 0 + yyj1016++ + if yyhl1016 { + yyb1016 = yyj1016 > l } else { - yyb956 = r.CheckBreak() + yyb1016 = r.CheckBreak() } - if yyb956 { + if yyb1016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11465,13 +12092,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Type = ReplicaSetConditionType(r.DecodeString()) } - yyj956++ - if yyhl956 { - yyb956 = yyj956 > l + yyj1016++ + if yyhl1016 { + yyb1016 = yyj1016 > l } else { - yyb956 = r.CheckBreak() + yyb1016 = r.CheckBreak() } - if yyb956 { + if yyb1016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11481,13 +12108,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Status = pkg2_api.ConditionStatus(r.DecodeString()) } - yyj956++ - if yyhl956 { - yyb956 = yyj956 > l + yyj1016++ + if yyhl1016 { + yyb1016 = yyj1016 > l } else { - yyb956 = r.CheckBreak() + yyb1016 = r.CheckBreak() } - if yyb956 { + if yyb1016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11495,26 +12122,26 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv959 := &x.LastTransitionTime - yym960 := z.DecBinary() - _ = yym960 + yyv1019 := &x.LastTransitionTime + yym1020 := z.DecBinary() + _ = yym1020 if false { - } else if z.HasExtensions() && z.DecExt(yyv959) { - } else if yym960 { - z.DecBinaryUnmarshal(yyv959) - } else if !yym960 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv959) + } else if z.HasExtensions() && z.DecExt(yyv1019) { + } else if yym1020 { + z.DecBinaryUnmarshal(yyv1019) + } else if !yym1020 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1019) } else { - z.DecFallback(yyv959, false) + z.DecFallback(yyv1019, false) } } - yyj956++ - if yyhl956 { - yyb956 = yyj956 > l + yyj1016++ + if yyhl1016 { + yyb1016 = yyj1016 > l } else { - yyb956 = r.CheckBreak() + yyb1016 = r.CheckBreak() } - if yyb956 { + if yyb1016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11524,13 +12151,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Reason = string(r.DecodeString()) } - yyj956++ - if yyhl956 { - yyb956 = yyj956 > l + yyj1016++ + if yyhl1016 { + yyb1016 = yyj1016 > l } else { - yyb956 = r.CheckBreak() + yyb1016 = r.CheckBreak() } - if yyb956 { + if yyb1016 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11541,17 +12168,17 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Message = string(r.DecodeString()) } for { - yyj956++ - if yyhl956 { - yyb956 = yyj956 > l + yyj1016++ + if yyhl1016 { + yyb1016 = yyj1016 > l } else { - yyb956 = r.CheckBreak() + yyb1016 = r.CheckBreak() } - if yyb956 { + if yyb1016 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj956-1, "") + z.DecStructFieldNotFound(yyj1016-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11563,38 +12190,38 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym963 := z.EncBinary() - _ = yym963 + yym1023 := z.EncBinary() + _ = yym1023 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep964 := !z.EncBinary() - yy2arr964 := z.EncBasicHandle().StructToArray - var yyq964 [4]bool - _, _, _ = yysep964, yyq964, yy2arr964 - const yyr964 bool = false - yyq964[0] = x.Kind != "" - yyq964[1] = x.APIVersion != "" - yyq964[2] = true - yyq964[3] = true - var yynn964 int - if yyr964 || yy2arr964 { + yysep1024 := !z.EncBinary() + yy2arr1024 := z.EncBasicHandle().StructToArray + var yyq1024 [4]bool + _, _, _ = yysep1024, yyq1024, yy2arr1024 + const yyr1024 bool = false + yyq1024[0] = x.Kind != "" + yyq1024[1] = x.APIVersion != "" + yyq1024[2] = true + yyq1024[3] = true + var yynn1024 int + if yyr1024 || yy2arr1024 { r.EncodeArrayStart(4) } else { - yynn964 = 0 - for _, b := range yyq964 { + yynn1024 = 0 + for _, b := range yyq1024 { if b { - yynn964++ + yynn1024++ } } - r.EncodeMapStart(yynn964) - yynn964 = 0 + r.EncodeMapStart(yynn1024) + yynn1024 = 0 } - if yyr964 || yy2arr964 { + if yyr1024 || yy2arr1024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq964[0] { - yym966 := z.EncBinary() - _ = yym966 + if yyq1024[0] { + yym1026 := z.EncBinary() + _ = yym1026 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -11603,23 +12230,23 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq964[0] { + if yyq1024[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym967 := z.EncBinary() - _ = yym967 + yym1027 := z.EncBinary() + _ = yym1027 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr964 || yy2arr964 { + if yyr1024 || yy2arr1024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq964[1] { - yym969 := z.EncBinary() - _ = yym969 + if yyq1024[1] { + yym1029 := z.EncBinary() + _ = yym1029 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11628,53 +12255,53 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq964[1] { + if yyq1024[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym970 := z.EncBinary() - _ = yym970 + yym1030 := z.EncBinary() + _ = yym1030 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr964 || yy2arr964 { + if yyr1024 || yy2arr1024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq964[2] { - yy972 := &x.ObjectMeta - yy972.CodecEncodeSelf(e) + if yyq1024[2] { + yy1032 := &x.ObjectMeta + yy1032.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq964[2] { + if yyq1024[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy973 := &x.ObjectMeta - yy973.CodecEncodeSelf(e) + yy1033 := &x.ObjectMeta + yy1033.CodecEncodeSelf(e) } } - if yyr964 || yy2arr964 { + if yyr1024 || yy2arr1024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq964[3] { - yy975 := &x.Spec - yy975.CodecEncodeSelf(e) + if yyq1024[3] { + yy1035 := &x.Spec + yy1035.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq964[3] { + if yyq1024[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy976 := &x.Spec - yy976.CodecEncodeSelf(e) + yy1036 := &x.Spec + yy1036.CodecEncodeSelf(e) } } - if yyr964 || yy2arr964 { + if yyr1024 || yy2arr1024 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11687,25 +12314,25 @@ func (x *PodSecurityPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym977 := z.DecBinary() - _ = yym977 + yym1037 := z.DecBinary() + _ = yym1037 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct978 := r.ContainerType() - if yyct978 == codecSelferValueTypeMap1234 { - yyl978 := r.ReadMapStart() - if yyl978 == 0 { + yyct1038 := r.ContainerType() + if yyct1038 == codecSelferValueTypeMap1234 { + yyl1038 := r.ReadMapStart() + if yyl1038 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl978, d) + x.codecDecodeSelfFromMap(yyl1038, d) } - } else if yyct978 == codecSelferValueTypeArray1234 { - yyl978 := r.ReadArrayStart() - if yyl978 == 0 { + } else if yyct1038 == codecSelferValueTypeArray1234 { + yyl1038 := r.ReadArrayStart() + if yyl1038 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl978, d) + x.codecDecodeSelfFromArray(yyl1038, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11717,12 +12344,12 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys979Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys979Slc - var yyhl979 bool = l >= 0 - for yyj979 := 0; ; yyj979++ { - if yyhl979 { - if yyj979 >= l { + var yys1039Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1039Slc + var yyhl1039 bool = l >= 0 + for yyj1039 := 0; ; yyj1039++ { + if yyhl1039 { + if yyj1039 >= l { break } } else { @@ -11731,10 +12358,10 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys979Slc = r.DecodeBytes(yys979Slc, true, true) - yys979 := string(yys979Slc) + yys1039Slc = r.DecodeBytes(yys1039Slc, true, true) + yys1039 := string(yys1039Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys979 { + switch yys1039 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -11751,20 +12378,20 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv982 := &x.ObjectMeta - yyv982.CodecDecodeSelf(d) + yyv1042 := &x.ObjectMeta + yyv1042.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv983 := &x.Spec - yyv983.CodecDecodeSelf(d) + yyv1043 := &x.Spec + yyv1043.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys979) - } // end switch yys979 - } // end for yyj979 + z.DecStructFieldNotFound(-1, yys1039) + } // end switch yys1039 + } // end for yyj1039 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11772,16 +12399,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj984 int - var yyb984 bool - var yyhl984 bool = l >= 0 - yyj984++ - if yyhl984 { - yyb984 = yyj984 > l + var yyj1044 int + var yyb1044 bool + var yyhl1044 bool = l >= 0 + yyj1044++ + if yyhl1044 { + yyb1044 = yyj1044 > l } else { - yyb984 = r.CheckBreak() + yyb1044 = r.CheckBreak() } - if yyb984 { + if yyb1044 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11791,13 +12418,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj984++ - if yyhl984 { - yyb984 = yyj984 > l + yyj1044++ + if yyhl1044 { + yyb1044 = yyj1044 > l } else { - yyb984 = r.CheckBreak() + yyb1044 = r.CheckBreak() } - if yyb984 { + if yyb1044 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11807,13 +12434,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj984++ - if yyhl984 { - yyb984 = yyj984 > l + yyj1044++ + if yyhl1044 { + yyb1044 = yyj1044 > l } else { - yyb984 = r.CheckBreak() + yyb1044 = r.CheckBreak() } - if yyb984 { + if yyb1044 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11821,16 +12448,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv987 := &x.ObjectMeta - yyv987.CodecDecodeSelf(d) + yyv1047 := &x.ObjectMeta + yyv1047.CodecDecodeSelf(d) } - yyj984++ - if yyhl984 { - yyb984 = yyj984 > l + yyj1044++ + if yyhl1044 { + yyb1044 = yyj1044 > l } else { - yyb984 = r.CheckBreak() + yyb1044 = r.CheckBreak() } - if yyb984 { + if yyb1044 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11838,21 +12465,21 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv988 := &x.Spec - yyv988.CodecDecodeSelf(d) + yyv1048 := &x.Spec + yyv1048.CodecDecodeSelf(d) } for { - yyj984++ - if yyhl984 { - yyb984 = yyj984 > l + yyj1044++ + if yyhl1044 { + yyb1044 = yyj1044 > l } else { - yyb984 = r.CheckBreak() + yyb1044 = r.CheckBreak() } - if yyb984 { + if yyb1044 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj984-1, "") + z.DecStructFieldNotFound(yyj1044-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11864,44 +12491,44 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym989 := z.EncBinary() - _ = yym989 + yym1049 := z.EncBinary() + _ = yym1049 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep990 := !z.EncBinary() - yy2arr990 := z.EncBasicHandle().StructToArray - var yyq990 [14]bool - _, _, _ = yysep990, yyq990, yy2arr990 - const yyr990 bool = false - yyq990[0] = x.Privileged != false - yyq990[1] = len(x.DefaultAddCapabilities) != 0 - yyq990[2] = len(x.RequiredDropCapabilities) != 0 - yyq990[3] = len(x.AllowedCapabilities) != 0 - yyq990[4] = len(x.Volumes) != 0 - yyq990[5] = x.HostNetwork != false - yyq990[6] = len(x.HostPorts) != 0 - yyq990[7] = x.HostPID != false - yyq990[8] = x.HostIPC != false - yyq990[13] = x.ReadOnlyRootFilesystem != false - var yynn990 int - if yyr990 || yy2arr990 { + yysep1050 := !z.EncBinary() + yy2arr1050 := z.EncBasicHandle().StructToArray + var yyq1050 [14]bool + _, _, _ = yysep1050, yyq1050, yy2arr1050 + const yyr1050 bool = false + yyq1050[0] = x.Privileged != false + yyq1050[1] = len(x.DefaultAddCapabilities) != 0 + yyq1050[2] = len(x.RequiredDropCapabilities) != 0 + yyq1050[3] = len(x.AllowedCapabilities) != 0 + yyq1050[4] = len(x.Volumes) != 0 + yyq1050[5] = x.HostNetwork != false + yyq1050[6] = len(x.HostPorts) != 0 + yyq1050[7] = x.HostPID != false + yyq1050[8] = x.HostIPC != false + yyq1050[13] = x.ReadOnlyRootFilesystem != false + var yynn1050 int + if yyr1050 || yy2arr1050 { r.EncodeArrayStart(14) } else { - yynn990 = 4 - for _, b := range yyq990 { + yynn1050 = 4 + for _, b := range yyq1050 { if b { - yynn990++ + yynn1050++ } } - r.EncodeMapStart(yynn990) - yynn990 = 0 + r.EncodeMapStart(yynn1050) + yynn1050 = 0 } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[0] { - yym992 := z.EncBinary() - _ = yym992 + if yyq1050[0] { + yym1052 := z.EncBinary() + _ = yym1052 if false { } else { r.EncodeBool(bool(x.Privileged)) @@ -11910,26 +12537,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq990[0] { + if yyq1050[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym993 := z.EncBinary() - _ = yym993 + yym1053 := z.EncBinary() + _ = yym1053 if false { } else { r.EncodeBool(bool(x.Privileged)) } } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[1] { + if yyq1050[1] { if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym995 := z.EncBinary() - _ = yym995 + yym1055 := z.EncBinary() + _ = yym1055 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.DefaultAddCapabilities), e) @@ -11939,15 +12566,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq990[1] { + if yyq1050[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultAddCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym996 := z.EncBinary() - _ = yym996 + yym1056 := z.EncBinary() + _ = yym1056 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.DefaultAddCapabilities), e) @@ -11955,14 +12582,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[2] { + if yyq1050[2] { if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym998 := z.EncBinary() - _ = yym998 + yym1058 := z.EncBinary() + _ = yym1058 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.RequiredDropCapabilities), e) @@ -11972,15 +12599,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq990[2] { + if yyq1050[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDropCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym999 := z.EncBinary() - _ = yym999 + yym1059 := z.EncBinary() + _ = yym1059 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.RequiredDropCapabilities), e) @@ -11988,14 +12615,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[3] { + if yyq1050[3] { if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1001 := z.EncBinary() - _ = yym1001 + yym1061 := z.EncBinary() + _ = yym1061 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.AllowedCapabilities), e) @@ -12005,15 +12632,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq990[3] { + if yyq1050[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowedCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1002 := z.EncBinary() - _ = yym1002 + yym1062 := z.EncBinary() + _ = yym1062 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.AllowedCapabilities), e) @@ -12021,14 +12648,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[4] { + if yyq1050[4] { if x.Volumes == nil { r.EncodeNil() } else { - yym1004 := z.EncBinary() - _ = yym1004 + yym1064 := z.EncBinary() + _ = yym1064 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -12038,15 +12665,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq990[4] { + if yyq1050[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym1005 := z.EncBinary() - _ = yym1005 + yym1065 := z.EncBinary() + _ = yym1065 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -12054,11 +12681,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[5] { - yym1007 := z.EncBinary() - _ = yym1007 + if yyq1050[5] { + yym1067 := z.EncBinary() + _ = yym1067 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -12067,26 +12694,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq990[5] { + if yyq1050[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1008 := z.EncBinary() - _ = yym1008 + yym1068 := z.EncBinary() + _ = yym1068 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[6] { + if yyq1050[6] { if x.HostPorts == nil { r.EncodeNil() } else { - yym1010 := z.EncBinary() - _ = yym1010 + yym1070 := z.EncBinary() + _ = yym1070 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -12096,15 +12723,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq990[6] { + if yyq1050[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPorts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HostPorts == nil { r.EncodeNil() } else { - yym1011 := z.EncBinary() - _ = yym1011 + yym1071 := z.EncBinary() + _ = yym1071 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -12112,11 +12739,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[7] { - yym1013 := z.EncBinary() - _ = yym1013 + if yyq1050[7] { + yym1073 := z.EncBinary() + _ = yym1073 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -12125,23 +12752,23 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq990[7] { + if yyq1050[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1014 := z.EncBinary() - _ = yym1014 + yym1074 := z.EncBinary() + _ = yym1074 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[8] { - yym1016 := z.EncBinary() - _ = yym1016 + if yyq1050[8] { + yym1076 := z.EncBinary() + _ = yym1076 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -12150,67 +12777,67 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq990[8] { + if yyq1050[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1017 := z.EncBinary() - _ = yym1017 + yym1077 := z.EncBinary() + _ = yym1077 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1019 := &x.SELinux - yy1019.CodecEncodeSelf(e) + yy1079 := &x.SELinux + yy1079.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinux")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1020 := &x.SELinux - yy1020.CodecEncodeSelf(e) + yy1080 := &x.SELinux + yy1080.CodecEncodeSelf(e) } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1022 := &x.RunAsUser - yy1022.CodecEncodeSelf(e) + yy1082 := &x.RunAsUser + yy1082.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1023 := &x.RunAsUser - yy1023.CodecEncodeSelf(e) + yy1083 := &x.RunAsUser + yy1083.CodecEncodeSelf(e) } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1025 := &x.SupplementalGroups - yy1025.CodecEncodeSelf(e) + yy1085 := &x.SupplementalGroups + yy1085.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1026 := &x.SupplementalGroups - yy1026.CodecEncodeSelf(e) + yy1086 := &x.SupplementalGroups + yy1086.CodecEncodeSelf(e) } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1028 := &x.FSGroup - yy1028.CodecEncodeSelf(e) + yy1088 := &x.FSGroup + yy1088.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1029 := &x.FSGroup - yy1029.CodecEncodeSelf(e) + yy1089 := &x.FSGroup + yy1089.CodecEncodeSelf(e) } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[13] { - yym1031 := z.EncBinary() - _ = yym1031 + if yyq1050[13] { + yym1091 := z.EncBinary() + _ = yym1091 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) @@ -12219,19 +12846,19 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq990[13] { + if yyq1050[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1032 := z.EncBinary() - _ = yym1032 + yym1092 := z.EncBinary() + _ = yym1092 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) } } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12244,25 +12871,25 @@ func (x *PodSecurityPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1033 := z.DecBinary() - _ = yym1033 + yym1093 := z.DecBinary() + _ = yym1093 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1034 := r.ContainerType() - if yyct1034 == codecSelferValueTypeMap1234 { - yyl1034 := r.ReadMapStart() - if yyl1034 == 0 { + yyct1094 := r.ContainerType() + if yyct1094 == codecSelferValueTypeMap1234 { + yyl1094 := r.ReadMapStart() + if yyl1094 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1034, d) + x.codecDecodeSelfFromMap(yyl1094, d) } - } else if yyct1034 == codecSelferValueTypeArray1234 { - yyl1034 := r.ReadArrayStart() - if yyl1034 == 0 { + } else if yyct1094 == codecSelferValueTypeArray1234 { + yyl1094 := r.ReadArrayStart() + if yyl1094 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1034, d) + x.codecDecodeSelfFromArray(yyl1094, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12274,12 +12901,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1035Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1035Slc - var yyhl1035 bool = l >= 0 - for yyj1035 := 0; ; yyj1035++ { - if yyhl1035 { - if yyj1035 >= l { + var yys1095Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1095Slc + var yyhl1095 bool = l >= 0 + for yyj1095 := 0; ; yyj1095++ { + if yyhl1095 { + if yyj1095 >= l { break } } else { @@ -12288,10 +12915,10 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1035Slc = r.DecodeBytes(yys1035Slc, true, true) - yys1035 := string(yys1035Slc) + yys1095Slc = r.DecodeBytes(yys1095Slc, true, true) + yys1095 := string(yys1095Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1035 { + switch yys1095 { case "privileged": if r.TryDecodeAsNil() { x.Privileged = false @@ -12302,48 +12929,48 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1037 := &x.DefaultAddCapabilities - yym1038 := z.DecBinary() - _ = yym1038 + yyv1097 := &x.DefaultAddCapabilities + yym1098 := z.DecBinary() + _ = yym1098 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1037), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1097), d) } } case "requiredDropCapabilities": if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1039 := &x.RequiredDropCapabilities - yym1040 := z.DecBinary() - _ = yym1040 + yyv1099 := &x.RequiredDropCapabilities + yym1100 := z.DecBinary() + _ = yym1100 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1039), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1099), d) } } case "allowedCapabilities": if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1041 := &x.AllowedCapabilities - yym1042 := z.DecBinary() - _ = yym1042 + yyv1101 := &x.AllowedCapabilities + yym1102 := z.DecBinary() + _ = yym1102 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1041), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1101), d) } } case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1043 := &x.Volumes - yym1044 := z.DecBinary() - _ = yym1044 + yyv1103 := &x.Volumes + yym1104 := z.DecBinary() + _ = yym1104 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1043), d) + h.decSliceFSType((*[]FSType)(yyv1103), d) } } case "hostNetwork": @@ -12356,12 +12983,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1046 := &x.HostPorts - yym1047 := z.DecBinary() - _ = yym1047 + yyv1106 := &x.HostPorts + yym1107 := z.DecBinary() + _ = yym1107 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1046), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1106), d) } } case "hostPID": @@ -12380,29 +13007,29 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1050 := &x.SELinux - yyv1050.CodecDecodeSelf(d) + yyv1110 := &x.SELinux + yyv1110.CodecDecodeSelf(d) } case "runAsUser": if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1051 := &x.RunAsUser - yyv1051.CodecDecodeSelf(d) + yyv1111 := &x.RunAsUser + yyv1111.CodecDecodeSelf(d) } case "supplementalGroups": if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1052 := &x.SupplementalGroups - yyv1052.CodecDecodeSelf(d) + yyv1112 := &x.SupplementalGroups + yyv1112.CodecDecodeSelf(d) } case "fsGroup": if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1053 := &x.FSGroup - yyv1053.CodecDecodeSelf(d) + yyv1113 := &x.FSGroup + yyv1113.CodecDecodeSelf(d) } case "readOnlyRootFilesystem": if r.TryDecodeAsNil() { @@ -12411,9 +13038,9 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1035) - } // end switch yys1035 - } // end for yyj1035 + z.DecStructFieldNotFound(-1, yys1095) + } // end switch yys1095 + } // end for yyj1095 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12421,16 +13048,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1055 int - var yyb1055 bool - var yyhl1055 bool = l >= 0 - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + var yyj1115 int + var yyb1115 bool + var yyhl1115 bool = l >= 0 + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12440,13 +13067,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Privileged = bool(r.DecodeBool()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12454,21 +13081,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1057 := &x.DefaultAddCapabilities - yym1058 := z.DecBinary() - _ = yym1058 + yyv1117 := &x.DefaultAddCapabilities + yym1118 := z.DecBinary() + _ = yym1118 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1057), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1117), d) } } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12476,21 +13103,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1059 := &x.RequiredDropCapabilities - yym1060 := z.DecBinary() - _ = yym1060 + yyv1119 := &x.RequiredDropCapabilities + yym1120 := z.DecBinary() + _ = yym1120 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1059), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1119), d) } } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12498,21 +13125,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1061 := &x.AllowedCapabilities - yym1062 := z.DecBinary() - _ = yym1062 + yyv1121 := &x.AllowedCapabilities + yym1122 := z.DecBinary() + _ = yym1122 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1061), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1121), d) } } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12520,21 +13147,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1063 := &x.Volumes - yym1064 := z.DecBinary() - _ = yym1064 + yyv1123 := &x.Volumes + yym1124 := z.DecBinary() + _ = yym1124 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1063), d) + h.decSliceFSType((*[]FSType)(yyv1123), d) } } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12544,13 +13171,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12558,21 +13185,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1066 := &x.HostPorts - yym1067 := z.DecBinary() - _ = yym1067 + yyv1126 := &x.HostPorts + yym1127 := z.DecBinary() + _ = yym1127 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1066), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1126), d) } } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12582,13 +13209,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostPID = bool(r.DecodeBool()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12598,13 +13225,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostIPC = bool(r.DecodeBool()) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12612,16 +13239,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1070 := &x.SELinux - yyv1070.CodecDecodeSelf(d) + yyv1130 := &x.SELinux + yyv1130.CodecDecodeSelf(d) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12629,16 +13256,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1071 := &x.RunAsUser - yyv1071.CodecDecodeSelf(d) + yyv1131 := &x.RunAsUser + yyv1131.CodecDecodeSelf(d) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12646,16 +13273,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1072 := &x.SupplementalGroups - yyv1072.CodecDecodeSelf(d) + yyv1132 := &x.SupplementalGroups + yyv1132.CodecDecodeSelf(d) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12663,16 +13290,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1073 := &x.FSGroup - yyv1073.CodecDecodeSelf(d) + yyv1133 := &x.FSGroup + yyv1133.CodecDecodeSelf(d) } - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12683,17 +13310,17 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } for { - yyj1055++ - if yyhl1055 { - yyb1055 = yyj1055 > l + yyj1115++ + if yyhl1115 { + yyb1115 = yyj1115 > l } else { - yyb1055 = r.CheckBreak() + yyb1115 = r.CheckBreak() } - if yyb1055 { + if yyb1115 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1055-1, "") + z.DecStructFieldNotFound(yyj1115-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12705,33 +13332,33 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1075 := z.EncBinary() - _ = yym1075 + yym1135 := z.EncBinary() + _ = yym1135 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1076 := !z.EncBinary() - yy2arr1076 := z.EncBasicHandle().StructToArray - var yyq1076 [2]bool - _, _, _ = yysep1076, yyq1076, yy2arr1076 - const yyr1076 bool = false - var yynn1076 int - if yyr1076 || yy2arr1076 { + yysep1136 := !z.EncBinary() + yy2arr1136 := z.EncBasicHandle().StructToArray + var yyq1136 [2]bool + _, _, _ = yysep1136, yyq1136, yy2arr1136 + const yyr1136 bool = false + var yynn1136 int + if yyr1136 || yy2arr1136 { r.EncodeArrayStart(2) } else { - yynn1076 = 2 - for _, b := range yyq1076 { + yynn1136 = 2 + for _, b := range yyq1136 { if b { - yynn1076++ + yynn1136++ } } - r.EncodeMapStart(yynn1076) - yynn1076 = 0 + r.EncodeMapStart(yynn1136) + yynn1136 = 0 } - if yyr1076 || yy2arr1076 { + if yyr1136 || yy2arr1136 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1078 := z.EncBinary() - _ = yym1078 + yym1138 := z.EncBinary() + _ = yym1138 if false { } else { r.EncodeInt(int64(x.Min)) @@ -12740,17 +13367,17 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1079 := z.EncBinary() - _ = yym1079 + yym1139 := z.EncBinary() + _ = yym1139 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1076 || yy2arr1076 { + if yyr1136 || yy2arr1136 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1081 := z.EncBinary() - _ = yym1081 + yym1141 := z.EncBinary() + _ = yym1141 if false { } else { r.EncodeInt(int64(x.Max)) @@ -12759,14 +13386,14 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1082 := z.EncBinary() - _ = yym1082 + yym1142 := z.EncBinary() + _ = yym1142 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1076 || yy2arr1076 { + if yyr1136 || yy2arr1136 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12779,25 +13406,25 @@ func (x *HostPortRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1083 := z.DecBinary() - _ = yym1083 + yym1143 := z.DecBinary() + _ = yym1143 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1084 := r.ContainerType() - if yyct1084 == codecSelferValueTypeMap1234 { - yyl1084 := r.ReadMapStart() - if yyl1084 == 0 { + yyct1144 := r.ContainerType() + if yyct1144 == codecSelferValueTypeMap1234 { + yyl1144 := r.ReadMapStart() + if yyl1144 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1084, d) + x.codecDecodeSelfFromMap(yyl1144, d) } - } else if yyct1084 == codecSelferValueTypeArray1234 { - yyl1084 := r.ReadArrayStart() - if yyl1084 == 0 { + } else if yyct1144 == codecSelferValueTypeArray1234 { + yyl1144 := r.ReadArrayStart() + if yyl1144 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1084, d) + x.codecDecodeSelfFromArray(yyl1144, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12809,12 +13436,12 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1085Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1085Slc - var yyhl1085 bool = l >= 0 - for yyj1085 := 0; ; yyj1085++ { - if yyhl1085 { - if yyj1085 >= l { + var yys1145Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1145Slc + var yyhl1145 bool = l >= 0 + for yyj1145 := 0; ; yyj1145++ { + if yyhl1145 { + if yyj1145 >= l { break } } else { @@ -12823,10 +13450,10 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1085Slc = r.DecodeBytes(yys1085Slc, true, true) - yys1085 := string(yys1085Slc) + yys1145Slc = r.DecodeBytes(yys1145Slc, true, true) + yys1145 := string(yys1145Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1085 { + switch yys1145 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -12840,9 +13467,9 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int(r.DecodeInt(codecSelferBitsize1234)) } default: - z.DecStructFieldNotFound(-1, yys1085) - } // end switch yys1085 - } // end for yyj1085 + z.DecStructFieldNotFound(-1, yys1145) + } // end switch yys1145 + } // end for yyj1145 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12850,16 +13477,16 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1088 int - var yyb1088 bool - var yyhl1088 bool = l >= 0 - yyj1088++ - if yyhl1088 { - yyb1088 = yyj1088 > l + var yyj1148 int + var yyb1148 bool + var yyhl1148 bool = l >= 0 + yyj1148++ + if yyhl1148 { + yyb1148 = yyj1148 > l } else { - yyb1088 = r.CheckBreak() + yyb1148 = r.CheckBreak() } - if yyb1088 { + if yyb1148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12869,13 +13496,13 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1088++ - if yyhl1088 { - yyb1088 = yyj1088 > l + yyj1148++ + if yyhl1148 { + yyb1148 = yyj1148 > l } else { - yyb1088 = r.CheckBreak() + yyb1148 = r.CheckBreak() } - if yyb1088 { + if yyb1148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12886,17 +13513,17 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj1088++ - if yyhl1088 { - yyb1088 = yyj1088 > l + yyj1148++ + if yyhl1148 { + yyb1148 = yyj1148 > l } else { - yyb1088 = r.CheckBreak() + yyb1148 = r.CheckBreak() } - if yyb1088 { + if yyb1148 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1088-1, "") + z.DecStructFieldNotFound(yyj1148-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12905,8 +13532,8 @@ func (x FSType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1091 := z.EncBinary() - _ = yym1091 + yym1151 := z.EncBinary() + _ = yym1151 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -12918,8 +13545,8 @@ func (x *FSType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1092 := z.DecBinary() - _ = yym1092 + yym1152 := z.DecBinary() + _ = yym1152 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -12934,31 +13561,31 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1093 := z.EncBinary() - _ = yym1093 + yym1153 := z.EncBinary() + _ = yym1153 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1094 := !z.EncBinary() - yy2arr1094 := z.EncBasicHandle().StructToArray - var yyq1094 [2]bool - _, _, _ = yysep1094, yyq1094, yy2arr1094 - const yyr1094 bool = false - yyq1094[1] = x.SELinuxOptions != nil - var yynn1094 int - if yyr1094 || yy2arr1094 { + yysep1154 := !z.EncBinary() + yy2arr1154 := z.EncBasicHandle().StructToArray + var yyq1154 [2]bool + _, _, _ = yysep1154, yyq1154, yy2arr1154 + const yyr1154 bool = false + yyq1154[1] = x.SELinuxOptions != nil + var yynn1154 int + if yyr1154 || yy2arr1154 { r.EncodeArrayStart(2) } else { - yynn1094 = 1 - for _, b := range yyq1094 { + yynn1154 = 1 + for _, b := range yyq1154 { if b { - yynn1094++ + yynn1154++ } } - r.EncodeMapStart(yynn1094) - yynn1094 = 0 + r.EncodeMapStart(yynn1154) + yynn1154 = 0 } - if yyr1094 || yy2arr1094 { + if yyr1154 || yy2arr1154 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -12967,9 +13594,9 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1094 || yy2arr1094 { + if yyr1154 || yy2arr1154 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1094[1] { + if yyq1154[1] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -12979,7 +13606,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1094[1] { + if yyq1154[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12990,7 +13617,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1094 || yy2arr1094 { + if yyr1154 || yy2arr1154 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13003,25 +13630,25 @@ func (x *SELinuxStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1097 := z.DecBinary() - _ = yym1097 + yym1157 := z.DecBinary() + _ = yym1157 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1098 := r.ContainerType() - if yyct1098 == codecSelferValueTypeMap1234 { - yyl1098 := r.ReadMapStart() - if yyl1098 == 0 { + yyct1158 := r.ContainerType() + if yyct1158 == codecSelferValueTypeMap1234 { + yyl1158 := r.ReadMapStart() + if yyl1158 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1098, d) + x.codecDecodeSelfFromMap(yyl1158, d) } - } else if yyct1098 == codecSelferValueTypeArray1234 { - yyl1098 := r.ReadArrayStart() - if yyl1098 == 0 { + } else if yyct1158 == codecSelferValueTypeArray1234 { + yyl1158 := r.ReadArrayStart() + if yyl1158 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1098, d) + x.codecDecodeSelfFromArray(yyl1158, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13033,12 +13660,12 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1099Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1099Slc - var yyhl1099 bool = l >= 0 - for yyj1099 := 0; ; yyj1099++ { - if yyhl1099 { - if yyj1099 >= l { + var yys1159Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1159Slc + var yyhl1159 bool = l >= 0 + for yyj1159 := 0; ; yyj1159++ { + if yyhl1159 { + if yyj1159 >= l { break } } else { @@ -13047,10 +13674,10 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1099Slc = r.DecodeBytes(yys1099Slc, true, true) - yys1099 := string(yys1099Slc) + yys1159Slc = r.DecodeBytes(yys1159Slc, true, true) + yys1159 := string(yys1159Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1099 { + switch yys1159 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -13069,9 +13696,9 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.SELinuxOptions.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1099) - } // end switch yys1099 - } // end for yyj1099 + z.DecStructFieldNotFound(-1, yys1159) + } // end switch yys1159 + } // end for yyj1159 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13079,16 +13706,16 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1102 int - var yyb1102 bool - var yyhl1102 bool = l >= 0 - yyj1102++ - if yyhl1102 { - yyb1102 = yyj1102 > l + var yyj1162 int + var yyb1162 bool + var yyhl1162 bool = l >= 0 + yyj1162++ + if yyhl1162 { + yyb1162 = yyj1162 > l } else { - yyb1102 = r.CheckBreak() + yyb1162 = r.CheckBreak() } - if yyb1102 { + if yyb1162 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13098,13 +13725,13 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = SELinuxStrategy(r.DecodeString()) } - yyj1102++ - if yyhl1102 { - yyb1102 = yyj1102 > l + yyj1162++ + if yyhl1162 { + yyb1162 = yyj1162 > l } else { - yyb1102 = r.CheckBreak() + yyb1162 = r.CheckBreak() } - if yyb1102 { + if yyb1162 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13120,17 +13747,17 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De x.SELinuxOptions.CodecDecodeSelf(d) } for { - yyj1102++ - if yyhl1102 { - yyb1102 = yyj1102 > l + yyj1162++ + if yyhl1162 { + yyb1162 = yyj1162 > l } else { - yyb1102 = r.CheckBreak() + yyb1162 = r.CheckBreak() } - if yyb1102 { + if yyb1162 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1102-1, "") + z.DecStructFieldNotFound(yyj1162-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13139,8 +13766,8 @@ func (x SELinuxStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1105 := z.EncBinary() - _ = yym1105 + yym1165 := z.EncBinary() + _ = yym1165 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -13152,8 +13779,8 @@ func (x *SELinuxStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1106 := z.DecBinary() - _ = yym1106 + yym1166 := z.DecBinary() + _ = yym1166 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -13168,31 +13795,31 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1107 := z.EncBinary() - _ = yym1107 + yym1167 := z.EncBinary() + _ = yym1167 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1108 := !z.EncBinary() - yy2arr1108 := z.EncBasicHandle().StructToArray - var yyq1108 [2]bool - _, _, _ = yysep1108, yyq1108, yy2arr1108 - const yyr1108 bool = false - yyq1108[1] = len(x.Ranges) != 0 - var yynn1108 int - if yyr1108 || yy2arr1108 { + yysep1168 := !z.EncBinary() + yy2arr1168 := z.EncBasicHandle().StructToArray + var yyq1168 [2]bool + _, _, _ = yysep1168, yyq1168, yy2arr1168 + const yyr1168 bool = false + yyq1168[1] = len(x.Ranges) != 0 + var yynn1168 int + if yyr1168 || yy2arr1168 { r.EncodeArrayStart(2) } else { - yynn1108 = 1 - for _, b := range yyq1108 { + yynn1168 = 1 + for _, b := range yyq1168 { if b { - yynn1108++ + yynn1168++ } } - r.EncodeMapStart(yynn1108) - yynn1108 = 0 + r.EncodeMapStart(yynn1168) + yynn1168 = 0 } - if yyr1108 || yy2arr1108 { + if yyr1168 || yy2arr1168 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -13201,14 +13828,14 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1108 || yy2arr1108 { + if yyr1168 || yy2arr1168 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1108[1] { + if yyq1168[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1111 := z.EncBinary() - _ = yym1111 + yym1171 := z.EncBinary() + _ = yym1171 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -13218,15 +13845,15 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1108[1] { + if yyq1168[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1112 := z.EncBinary() - _ = yym1112 + yym1172 := z.EncBinary() + _ = yym1172 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -13234,7 +13861,7 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1108 || yy2arr1108 { + if yyr1168 || yy2arr1168 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13247,25 +13874,25 @@ func (x *RunAsUserStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1113 := z.DecBinary() - _ = yym1113 + yym1173 := z.DecBinary() + _ = yym1173 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1114 := r.ContainerType() - if yyct1114 == codecSelferValueTypeMap1234 { - yyl1114 := r.ReadMapStart() - if yyl1114 == 0 { + yyct1174 := r.ContainerType() + if yyct1174 == codecSelferValueTypeMap1234 { + yyl1174 := r.ReadMapStart() + if yyl1174 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1114, d) + x.codecDecodeSelfFromMap(yyl1174, d) } - } else if yyct1114 == codecSelferValueTypeArray1234 { - yyl1114 := r.ReadArrayStart() - if yyl1114 == 0 { + } else if yyct1174 == codecSelferValueTypeArray1234 { + yyl1174 := r.ReadArrayStart() + if yyl1174 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1114, d) + x.codecDecodeSelfFromArray(yyl1174, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13277,12 +13904,12 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1115Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1115Slc - var yyhl1115 bool = l >= 0 - for yyj1115 := 0; ; yyj1115++ { - if yyhl1115 { - if yyj1115 >= l { + var yys1175Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1175Slc + var yyhl1175 bool = l >= 0 + for yyj1175 := 0; ; yyj1175++ { + if yyhl1175 { + if yyj1175 >= l { break } } else { @@ -13291,10 +13918,10 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1115Slc = r.DecodeBytes(yys1115Slc, true, true) - yys1115 := string(yys1115Slc) + yys1175Slc = r.DecodeBytes(yys1175Slc, true, true) + yys1175 := string(yys1175Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1115 { + switch yys1175 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -13305,18 +13932,18 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1117 := &x.Ranges - yym1118 := z.DecBinary() - _ = yym1118 + yyv1177 := &x.Ranges + yym1178 := z.DecBinary() + _ = yym1178 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1117), d) + h.decSliceIDRange((*[]IDRange)(yyv1177), d) } } default: - z.DecStructFieldNotFound(-1, yys1115) - } // end switch yys1115 - } // end for yyj1115 + z.DecStructFieldNotFound(-1, yys1175) + } // end switch yys1175 + } // end for yyj1175 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13324,16 +13951,16 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1119 int - var yyb1119 bool - var yyhl1119 bool = l >= 0 - yyj1119++ - if yyhl1119 { - yyb1119 = yyj1119 > l + var yyj1179 int + var yyb1179 bool + var yyhl1179 bool = l >= 0 + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l } else { - yyb1119 = r.CheckBreak() + yyb1179 = r.CheckBreak() } - if yyb1119 { + if yyb1179 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13343,13 +13970,13 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Rule = RunAsUserStrategy(r.DecodeString()) } - yyj1119++ - if yyhl1119 { - yyb1119 = yyj1119 > l + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l } else { - yyb1119 = r.CheckBreak() + yyb1179 = r.CheckBreak() } - if yyb1119 { + if yyb1179 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13357,26 +13984,26 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1121 := &x.Ranges - yym1122 := z.DecBinary() - _ = yym1122 + yyv1181 := &x.Ranges + yym1182 := z.DecBinary() + _ = yym1182 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1121), d) + h.decSliceIDRange((*[]IDRange)(yyv1181), d) } } for { - yyj1119++ - if yyhl1119 { - yyb1119 = yyj1119 > l + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l } else { - yyb1119 = r.CheckBreak() + yyb1179 = r.CheckBreak() } - if yyb1119 { + if yyb1179 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1119-1, "") + z.DecStructFieldNotFound(yyj1179-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13388,33 +14015,33 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1123 := z.EncBinary() - _ = yym1123 + yym1183 := z.EncBinary() + _ = yym1183 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1124 := !z.EncBinary() - yy2arr1124 := z.EncBasicHandle().StructToArray - var yyq1124 [2]bool - _, _, _ = yysep1124, yyq1124, yy2arr1124 - const yyr1124 bool = false - var yynn1124 int - if yyr1124 || yy2arr1124 { + yysep1184 := !z.EncBinary() + yy2arr1184 := z.EncBasicHandle().StructToArray + var yyq1184 [2]bool + _, _, _ = yysep1184, yyq1184, yy2arr1184 + const yyr1184 bool = false + var yynn1184 int + if yyr1184 || yy2arr1184 { r.EncodeArrayStart(2) } else { - yynn1124 = 2 - for _, b := range yyq1124 { + yynn1184 = 2 + for _, b := range yyq1184 { if b { - yynn1124++ + yynn1184++ } } - r.EncodeMapStart(yynn1124) - yynn1124 = 0 + r.EncodeMapStart(yynn1184) + yynn1184 = 0 } - if yyr1124 || yy2arr1124 { + if yyr1184 || yy2arr1184 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1126 := z.EncBinary() - _ = yym1126 + yym1186 := z.EncBinary() + _ = yym1186 if false { } else { r.EncodeInt(int64(x.Min)) @@ -13423,17 +14050,17 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1127 := z.EncBinary() - _ = yym1127 + yym1187 := z.EncBinary() + _ = yym1187 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1124 || yy2arr1124 { + if yyr1184 || yy2arr1184 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1129 := z.EncBinary() - _ = yym1129 + yym1189 := z.EncBinary() + _ = yym1189 if false { } else { r.EncodeInt(int64(x.Max)) @@ -13442,14 +14069,14 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1130 := z.EncBinary() - _ = yym1130 + yym1190 := z.EncBinary() + _ = yym1190 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1124 || yy2arr1124 { + if yyr1184 || yy2arr1184 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13462,25 +14089,25 @@ func (x *IDRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1131 := z.DecBinary() - _ = yym1131 + yym1191 := z.DecBinary() + _ = yym1191 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1132 := r.ContainerType() - if yyct1132 == codecSelferValueTypeMap1234 { - yyl1132 := r.ReadMapStart() - if yyl1132 == 0 { + yyct1192 := r.ContainerType() + if yyct1192 == codecSelferValueTypeMap1234 { + yyl1192 := r.ReadMapStart() + if yyl1192 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1132, d) + x.codecDecodeSelfFromMap(yyl1192, d) } - } else if yyct1132 == codecSelferValueTypeArray1234 { - yyl1132 := r.ReadArrayStart() - if yyl1132 == 0 { + } else if yyct1192 == codecSelferValueTypeArray1234 { + yyl1192 := r.ReadArrayStart() + if yyl1192 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1132, d) + x.codecDecodeSelfFromArray(yyl1192, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13492,12 +14119,12 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1133Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1133Slc - var yyhl1133 bool = l >= 0 - for yyj1133 := 0; ; yyj1133++ { - if yyhl1133 { - if yyj1133 >= l { + var yys1193Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1193Slc + var yyhl1193 bool = l >= 0 + for yyj1193 := 0; ; yyj1193++ { + if yyhl1193 { + if yyj1193 >= l { break } } else { @@ -13506,10 +14133,10 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1133Slc = r.DecodeBytes(yys1133Slc, true, true) - yys1133 := string(yys1133Slc) + yys1193Slc = r.DecodeBytes(yys1193Slc, true, true) + yys1193 := string(yys1193Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1133 { + switch yys1193 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -13523,9 +14150,9 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys1133) - } // end switch yys1133 - } // end for yyj1133 + z.DecStructFieldNotFound(-1, yys1193) + } // end switch yys1193 + } // end for yyj1193 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13533,16 +14160,16 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1136 int - var yyb1136 bool - var yyhl1136 bool = l >= 0 - yyj1136++ - if yyhl1136 { - yyb1136 = yyj1136 > l + var yyj1196 int + var yyb1196 bool + var yyhl1196 bool = l >= 0 + yyj1196++ + if yyhl1196 { + yyb1196 = yyj1196 > l } else { - yyb1136 = r.CheckBreak() + yyb1196 = r.CheckBreak() } - if yyb1136 { + if yyb1196 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13552,13 +14179,13 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int64(r.DecodeInt(64)) } - yyj1136++ - if yyhl1136 { - yyb1136 = yyj1136 > l + yyj1196++ + if yyhl1196 { + yyb1196 = yyj1196 > l } else { - yyb1136 = r.CheckBreak() + yyb1196 = r.CheckBreak() } - if yyb1136 { + if yyb1196 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13569,17 +14196,17 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } for { - yyj1136++ - if yyhl1136 { - yyb1136 = yyj1136 > l + yyj1196++ + if yyhl1196 { + yyb1196 = yyj1196 > l } else { - yyb1136 = r.CheckBreak() + yyb1196 = r.CheckBreak() } - if yyb1136 { + if yyb1196 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1136-1, "") + z.DecStructFieldNotFound(yyj1196-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13588,8 +14215,8 @@ func (x RunAsUserStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1139 := z.EncBinary() - _ = yym1139 + yym1199 := z.EncBinary() + _ = yym1199 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -13601,8 +14228,8 @@ func (x *RunAsUserStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1140 := z.DecBinary() - _ = yym1140 + yym1200 := z.DecBinary() + _ = yym1200 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -13617,54 +14244,54 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1141 := z.EncBinary() - _ = yym1141 + yym1201 := z.EncBinary() + _ = yym1201 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1142 := !z.EncBinary() - yy2arr1142 := z.EncBasicHandle().StructToArray - var yyq1142 [2]bool - _, _, _ = yysep1142, yyq1142, yy2arr1142 - const yyr1142 bool = false - yyq1142[0] = x.Rule != "" - yyq1142[1] = len(x.Ranges) != 0 - var yynn1142 int - if yyr1142 || yy2arr1142 { + yysep1202 := !z.EncBinary() + yy2arr1202 := z.EncBasicHandle().StructToArray + var yyq1202 [2]bool + _, _, _ = yysep1202, yyq1202, yy2arr1202 + const yyr1202 bool = false + yyq1202[0] = x.Rule != "" + yyq1202[1] = len(x.Ranges) != 0 + var yynn1202 int + if yyr1202 || yy2arr1202 { r.EncodeArrayStart(2) } else { - yynn1142 = 0 - for _, b := range yyq1142 { + yynn1202 = 0 + for _, b := range yyq1202 { if b { - yynn1142++ + yynn1202++ } } - r.EncodeMapStart(yynn1142) - yynn1142 = 0 + r.EncodeMapStart(yynn1202) + yynn1202 = 0 } - if yyr1142 || yy2arr1142 { + if yyr1202 || yy2arr1202 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1142[0] { + if yyq1202[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1142[0] { + if yyq1202[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1142 || yy2arr1142 { + if yyr1202 || yy2arr1202 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1142[1] { + if yyq1202[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1145 := z.EncBinary() - _ = yym1145 + yym1205 := z.EncBinary() + _ = yym1205 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -13674,15 +14301,15 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1142[1] { + if yyq1202[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1146 := z.EncBinary() - _ = yym1146 + yym1206 := z.EncBinary() + _ = yym1206 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -13690,7 +14317,7 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1142 || yy2arr1142 { + if yyr1202 || yy2arr1202 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13703,25 +14330,25 @@ func (x *FSGroupStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1147 := z.DecBinary() - _ = yym1147 + yym1207 := z.DecBinary() + _ = yym1207 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1148 := r.ContainerType() - if yyct1148 == codecSelferValueTypeMap1234 { - yyl1148 := r.ReadMapStart() - if yyl1148 == 0 { + yyct1208 := r.ContainerType() + if yyct1208 == codecSelferValueTypeMap1234 { + yyl1208 := r.ReadMapStart() + if yyl1208 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1148, d) + x.codecDecodeSelfFromMap(yyl1208, d) } - } else if yyct1148 == codecSelferValueTypeArray1234 { - yyl1148 := r.ReadArrayStart() - if yyl1148 == 0 { + } else if yyct1208 == codecSelferValueTypeArray1234 { + yyl1208 := r.ReadArrayStart() + if yyl1208 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1148, d) + x.codecDecodeSelfFromArray(yyl1208, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13733,12 +14360,12 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1149Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1149Slc - var yyhl1149 bool = l >= 0 - for yyj1149 := 0; ; yyj1149++ { - if yyhl1149 { - if yyj1149 >= l { + var yys1209Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1209Slc + var yyhl1209 bool = l >= 0 + for yyj1209 := 0; ; yyj1209++ { + if yyhl1209 { + if yyj1209 >= l { break } } else { @@ -13747,10 +14374,10 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1149Slc = r.DecodeBytes(yys1149Slc, true, true) - yys1149 := string(yys1149Slc) + yys1209Slc = r.DecodeBytes(yys1209Slc, true, true) + yys1209 := string(yys1209Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1149 { + switch yys1209 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -13761,18 +14388,18 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1151 := &x.Ranges - yym1152 := z.DecBinary() - _ = yym1152 + yyv1211 := &x.Ranges + yym1212 := z.DecBinary() + _ = yym1212 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1151), d) + h.decSliceIDRange((*[]IDRange)(yyv1211), d) } } default: - z.DecStructFieldNotFound(-1, yys1149) - } // end switch yys1149 - } // end for yyj1149 + z.DecStructFieldNotFound(-1, yys1209) + } // end switch yys1209 + } // end for yyj1209 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13780,16 +14407,16 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1153 int - var yyb1153 bool - var yyhl1153 bool = l >= 0 - yyj1153++ - if yyhl1153 { - yyb1153 = yyj1153 > l + var yyj1213 int + var yyb1213 bool + var yyhl1213 bool = l >= 0 + yyj1213++ + if yyhl1213 { + yyb1213 = yyj1213 > l } else { - yyb1153 = r.CheckBreak() + yyb1213 = r.CheckBreak() } - if yyb1153 { + if yyb1213 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13799,13 +14426,13 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = FSGroupStrategyType(r.DecodeString()) } - yyj1153++ - if yyhl1153 { - yyb1153 = yyj1153 > l + yyj1213++ + if yyhl1213 { + yyb1213 = yyj1213 > l } else { - yyb1153 = r.CheckBreak() + yyb1213 = r.CheckBreak() } - if yyb1153 { + if yyb1213 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13813,26 +14440,26 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1155 := &x.Ranges - yym1156 := z.DecBinary() - _ = yym1156 + yyv1215 := &x.Ranges + yym1216 := z.DecBinary() + _ = yym1216 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1155), d) + h.decSliceIDRange((*[]IDRange)(yyv1215), d) } } for { - yyj1153++ - if yyhl1153 { - yyb1153 = yyj1153 > l + yyj1213++ + if yyhl1213 { + yyb1213 = yyj1213 > l } else { - yyb1153 = r.CheckBreak() + yyb1213 = r.CheckBreak() } - if yyb1153 { + if yyb1213 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1153-1, "") + z.DecStructFieldNotFound(yyj1213-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13841,8 +14468,8 @@ func (x FSGroupStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1157 := z.EncBinary() - _ = yym1157 + yym1217 := z.EncBinary() + _ = yym1217 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -13854,8 +14481,8 @@ func (x *FSGroupStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1158 := z.DecBinary() - _ = yym1158 + yym1218 := z.DecBinary() + _ = yym1218 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -13870,54 +14497,54 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym1159 := z.EncBinary() - _ = yym1159 + yym1219 := z.EncBinary() + _ = yym1219 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1160 := !z.EncBinary() - yy2arr1160 := z.EncBasicHandle().StructToArray - var yyq1160 [2]bool - _, _, _ = yysep1160, yyq1160, yy2arr1160 - const yyr1160 bool = false - yyq1160[0] = x.Rule != "" - yyq1160[1] = len(x.Ranges) != 0 - var yynn1160 int - if yyr1160 || yy2arr1160 { + yysep1220 := !z.EncBinary() + yy2arr1220 := z.EncBasicHandle().StructToArray + var yyq1220 [2]bool + _, _, _ = yysep1220, yyq1220, yy2arr1220 + const yyr1220 bool = false + yyq1220[0] = x.Rule != "" + yyq1220[1] = len(x.Ranges) != 0 + var yynn1220 int + if yyr1220 || yy2arr1220 { r.EncodeArrayStart(2) } else { - yynn1160 = 0 - for _, b := range yyq1160 { + yynn1220 = 0 + for _, b := range yyq1220 { if b { - yynn1160++ + yynn1220++ } } - r.EncodeMapStart(yynn1160) - yynn1160 = 0 + r.EncodeMapStart(yynn1220) + yynn1220 = 0 } - if yyr1160 || yy2arr1160 { + if yyr1220 || yy2arr1220 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1160[0] { + if yyq1220[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1160[0] { + if yyq1220[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1160 || yy2arr1160 { + if yyr1220 || yy2arr1220 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1160[1] { + if yyq1220[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1163 := z.EncBinary() - _ = yym1163 + yym1223 := z.EncBinary() + _ = yym1223 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -13927,15 +14554,15 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder r.EncodeNil() } } else { - if yyq1160[1] { + if yyq1220[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1164 := z.EncBinary() - _ = yym1164 + yym1224 := z.EncBinary() + _ = yym1224 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -13943,7 +14570,7 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder } } } - if yyr1160 || yy2arr1160 { + if yyr1220 || yy2arr1220 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13956,25 +14583,25 @@ func (x *SupplementalGroupsStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1165 := z.DecBinary() - _ = yym1165 + yym1225 := z.DecBinary() + _ = yym1225 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1166 := r.ContainerType() - if yyct1166 == codecSelferValueTypeMap1234 { - yyl1166 := r.ReadMapStart() - if yyl1166 == 0 { + yyct1226 := r.ContainerType() + if yyct1226 == codecSelferValueTypeMap1234 { + yyl1226 := r.ReadMapStart() + if yyl1226 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1166, d) + x.codecDecodeSelfFromMap(yyl1226, d) } - } else if yyct1166 == codecSelferValueTypeArray1234 { - yyl1166 := r.ReadArrayStart() - if yyl1166 == 0 { + } else if yyct1226 == codecSelferValueTypeArray1234 { + yyl1226 := r.ReadArrayStart() + if yyl1226 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1166, d) + x.codecDecodeSelfFromArray(yyl1226, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13986,12 +14613,12 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1167Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1167Slc - var yyhl1167 bool = l >= 0 - for yyj1167 := 0; ; yyj1167++ { - if yyhl1167 { - if yyj1167 >= l { + var yys1227Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1227Slc + var yyhl1227 bool = l >= 0 + for yyj1227 := 0; ; yyj1227++ { + if yyhl1227 { + if yyj1227 >= l { break } } else { @@ -14000,10 +14627,10 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1167Slc = r.DecodeBytes(yys1167Slc, true, true) - yys1167 := string(yys1167Slc) + yys1227Slc = r.DecodeBytes(yys1227Slc, true, true) + yys1227 := string(yys1227Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1167 { + switch yys1227 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -14014,18 +14641,18 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1169 := &x.Ranges - yym1170 := z.DecBinary() - _ = yym1170 + yyv1229 := &x.Ranges + yym1230 := z.DecBinary() + _ = yym1230 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1169), d) + h.decSliceIDRange((*[]IDRange)(yyv1229), d) } } default: - z.DecStructFieldNotFound(-1, yys1167) - } // end switch yys1167 - } // end for yyj1167 + z.DecStructFieldNotFound(-1, yys1227) + } // end switch yys1227 + } // end for yyj1227 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14033,16 +14660,16 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1171 int - var yyb1171 bool - var yyhl1171 bool = l >= 0 - yyj1171++ - if yyhl1171 { - yyb1171 = yyj1171 > l + var yyj1231 int + var yyb1231 bool + var yyhl1231 bool = l >= 0 + yyj1231++ + if yyhl1231 { + yyb1231 = yyj1231 > l } else { - yyb1171 = r.CheckBreak() + yyb1231 = r.CheckBreak() } - if yyb1171 { + if yyb1231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14052,13 +14679,13 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c } else { x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) } - yyj1171++ - if yyhl1171 { - yyb1171 = yyj1171 > l + yyj1231++ + if yyhl1231 { + yyb1231 = yyj1231 > l } else { - yyb1171 = r.CheckBreak() + yyb1231 = r.CheckBreak() } - if yyb1171 { + if yyb1231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14066,26 +14693,26 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1173 := &x.Ranges - yym1174 := z.DecBinary() - _ = yym1174 + yyv1233 := &x.Ranges + yym1234 := z.DecBinary() + _ = yym1234 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1173), d) + h.decSliceIDRange((*[]IDRange)(yyv1233), d) } } for { - yyj1171++ - if yyhl1171 { - yyb1171 = yyj1171 > l + yyj1231++ + if yyhl1231 { + yyb1231 = yyj1231 > l } else { - yyb1171 = r.CheckBreak() + yyb1231 = r.CheckBreak() } - if yyb1171 { + if yyb1231 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1171-1, "") + z.DecStructFieldNotFound(yyj1231-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14094,8 +14721,8 @@ func (x SupplementalGroupsStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1175 := z.EncBinary() - _ = yym1175 + yym1235 := z.EncBinary() + _ = yym1235 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -14107,8 +14734,8 @@ func (x *SupplementalGroupsStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1176 := z.DecBinary() - _ = yym1176 + yym1236 := z.DecBinary() + _ = yym1236 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -14123,37 +14750,37 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1177 := z.EncBinary() - _ = yym1177 + yym1237 := z.EncBinary() + _ = yym1237 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1178 := !z.EncBinary() - yy2arr1178 := z.EncBasicHandle().StructToArray - var yyq1178 [4]bool - _, _, _ = yysep1178, yyq1178, yy2arr1178 - const yyr1178 bool = false - yyq1178[0] = x.Kind != "" - yyq1178[1] = x.APIVersion != "" - yyq1178[2] = true - var yynn1178 int - if yyr1178 || yy2arr1178 { + yysep1238 := !z.EncBinary() + yy2arr1238 := z.EncBasicHandle().StructToArray + var yyq1238 [4]bool + _, _, _ = yysep1238, yyq1238, yy2arr1238 + const yyr1238 bool = false + yyq1238[0] = x.Kind != "" + yyq1238[1] = x.APIVersion != "" + yyq1238[2] = true + var yynn1238 int + if yyr1238 || yy2arr1238 { r.EncodeArrayStart(4) } else { - yynn1178 = 1 - for _, b := range yyq1178 { + yynn1238 = 1 + for _, b := range yyq1238 { if b { - yynn1178++ + yynn1238++ } } - r.EncodeMapStart(yynn1178) - yynn1178 = 0 + r.EncodeMapStart(yynn1238) + yynn1238 = 0 } - if yyr1178 || yy2arr1178 { + if yyr1238 || yy2arr1238 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1178[0] { - yym1180 := z.EncBinary() - _ = yym1180 + if yyq1238[0] { + yym1240 := z.EncBinary() + _ = yym1240 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -14162,23 +14789,23 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1178[0] { + if yyq1238[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1181 := z.EncBinary() - _ = yym1181 + yym1241 := z.EncBinary() + _ = yym1241 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1178 || yy2arr1178 { + if yyr1238 || yy2arr1238 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1178[1] { - yym1183 := z.EncBinary() - _ = yym1183 + if yyq1238[1] { + yym1243 := z.EncBinary() + _ = yym1243 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -14187,54 +14814,54 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1178[1] { + if yyq1238[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1184 := z.EncBinary() - _ = yym1184 + yym1244 := z.EncBinary() + _ = yym1244 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1178 || yy2arr1178 { + if yyr1238 || yy2arr1238 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1178[2] { - yy1186 := &x.ListMeta - yym1187 := z.EncBinary() - _ = yym1187 + if yyq1238[2] { + yy1246 := &x.ListMeta + yym1247 := z.EncBinary() + _ = yym1247 if false { - } else if z.HasExtensions() && z.EncExt(yy1186) { + } else if z.HasExtensions() && z.EncExt(yy1246) { } else { - z.EncFallback(yy1186) + z.EncFallback(yy1246) } } else { r.EncodeNil() } } else { - if yyq1178[2] { + if yyq1238[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1188 := &x.ListMeta - yym1189 := z.EncBinary() - _ = yym1189 + yy1248 := &x.ListMeta + yym1249 := z.EncBinary() + _ = yym1249 if false { - } else if z.HasExtensions() && z.EncExt(yy1188) { + } else if z.HasExtensions() && z.EncExt(yy1248) { } else { - z.EncFallback(yy1188) + z.EncFallback(yy1248) } } } - if yyr1178 || yy2arr1178 { + if yyr1238 || yy2arr1238 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1191 := z.EncBinary() - _ = yym1191 + yym1251 := z.EncBinary() + _ = yym1251 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) @@ -14247,15 +14874,15 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1192 := z.EncBinary() - _ = yym1192 + yym1252 := z.EncBinary() + _ = yym1252 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) } } } - if yyr1178 || yy2arr1178 { + if yyr1238 || yy2arr1238 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14268,25 +14895,25 @@ func (x *PodSecurityPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1193 := z.DecBinary() - _ = yym1193 + yym1253 := z.DecBinary() + _ = yym1253 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1194 := r.ContainerType() - if yyct1194 == codecSelferValueTypeMap1234 { - yyl1194 := r.ReadMapStart() - if yyl1194 == 0 { + yyct1254 := r.ContainerType() + if yyct1254 == codecSelferValueTypeMap1234 { + yyl1254 := r.ReadMapStart() + if yyl1254 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1194, d) + x.codecDecodeSelfFromMap(yyl1254, d) } - } else if yyct1194 == codecSelferValueTypeArray1234 { - yyl1194 := r.ReadArrayStart() - if yyl1194 == 0 { + } else if yyct1254 == codecSelferValueTypeArray1234 { + yyl1254 := r.ReadArrayStart() + if yyl1254 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1194, d) + x.codecDecodeSelfFromArray(yyl1254, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14298,12 +14925,12 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1195Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1195Slc - var yyhl1195 bool = l >= 0 - for yyj1195 := 0; ; yyj1195++ { - if yyhl1195 { - if yyj1195 >= l { + var yys1255Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1255Slc + var yyhl1255 bool = l >= 0 + for yyj1255 := 0; ; yyj1255++ { + if yyhl1255 { + if yyj1255 >= l { break } } else { @@ -14312,10 +14939,10 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1195Slc = r.DecodeBytes(yys1195Slc, true, true) - yys1195 := string(yys1195Slc) + yys1255Slc = r.DecodeBytes(yys1255Slc, true, true) + yys1255 := string(yys1255Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1195 { + switch yys1255 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14332,31 +14959,31 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1198 := &x.ListMeta - yym1199 := z.DecBinary() - _ = yym1199 + yyv1258 := &x.ListMeta + yym1259 := z.DecBinary() + _ = yym1259 if false { - } else if z.HasExtensions() && z.DecExt(yyv1198) { + } else if z.HasExtensions() && z.DecExt(yyv1258) { } else { - z.DecFallback(yyv1198, false) + z.DecFallback(yyv1258, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1200 := &x.Items - yym1201 := z.DecBinary() - _ = yym1201 + yyv1260 := &x.Items + yym1261 := z.DecBinary() + _ = yym1261 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1200), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1260), d) } } default: - z.DecStructFieldNotFound(-1, yys1195) - } // end switch yys1195 - } // end for yyj1195 + z.DecStructFieldNotFound(-1, yys1255) + } // end switch yys1255 + } // end for yyj1255 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14364,16 +14991,16 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1202 int - var yyb1202 bool - var yyhl1202 bool = l >= 0 - yyj1202++ - if yyhl1202 { - yyb1202 = yyj1202 > l + var yyj1262 int + var yyb1262 bool + var yyhl1262 bool = l >= 0 + yyj1262++ + if yyhl1262 { + yyb1262 = yyj1262 > l } else { - yyb1202 = r.CheckBreak() + yyb1262 = r.CheckBreak() } - if yyb1202 { + if yyb1262 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14383,13 +15010,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj1202++ - if yyhl1202 { - yyb1202 = yyj1202 > l + yyj1262++ + if yyhl1262 { + yyb1262 = yyj1262 > l } else { - yyb1202 = r.CheckBreak() + yyb1262 = r.CheckBreak() } - if yyb1202 { + if yyb1262 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14399,13 +15026,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj1202++ - if yyhl1202 { - yyb1202 = yyj1202 > l + yyj1262++ + if yyhl1262 { + yyb1262 = yyj1262 > l } else { - yyb1202 = r.CheckBreak() + yyb1262 = r.CheckBreak() } - if yyb1202 { + if yyb1262 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14413,22 +15040,22 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1205 := &x.ListMeta - yym1206 := z.DecBinary() - _ = yym1206 + yyv1265 := &x.ListMeta + yym1266 := z.DecBinary() + _ = yym1266 if false { - } else if z.HasExtensions() && z.DecExt(yyv1205) { + } else if z.HasExtensions() && z.DecExt(yyv1265) { } else { - z.DecFallback(yyv1205, false) + z.DecFallback(yyv1265, false) } } - yyj1202++ - if yyhl1202 { - yyb1202 = yyj1202 > l + yyj1262++ + if yyhl1262 { + yyb1262 = yyj1262 > l } else { - yyb1202 = r.CheckBreak() + yyb1262 = r.CheckBreak() } - if yyb1202 { + if yyb1262 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14436,26 +15063,26 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1207 := &x.Items - yym1208 := z.DecBinary() - _ = yym1208 + yyv1267 := &x.Items + yym1268 := z.DecBinary() + _ = yym1268 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1207), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1267), d) } } for { - yyj1202++ - if yyhl1202 { - yyb1202 = yyj1202 > l + yyj1262++ + if yyhl1262 { + yyb1262 = yyj1262 > l } else { - yyb1202 = r.CheckBreak() + yyb1262 = r.CheckBreak() } - if yyb1202 { + if yyb1262 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1202-1, "") + z.DecStructFieldNotFound(yyj1262-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14467,38 +15094,38 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1209 := z.EncBinary() - _ = yym1209 + yym1269 := z.EncBinary() + _ = yym1269 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1210 := !z.EncBinary() - yy2arr1210 := z.EncBasicHandle().StructToArray - var yyq1210 [4]bool - _, _, _ = yysep1210, yyq1210, yy2arr1210 - const yyr1210 bool = false - yyq1210[0] = x.Kind != "" - yyq1210[1] = x.APIVersion != "" - yyq1210[2] = true - yyq1210[3] = true - var yynn1210 int - if yyr1210 || yy2arr1210 { + yysep1270 := !z.EncBinary() + yy2arr1270 := z.EncBasicHandle().StructToArray + var yyq1270 [4]bool + _, _, _ = yysep1270, yyq1270, yy2arr1270 + const yyr1270 bool = false + yyq1270[0] = x.Kind != "" + yyq1270[1] = x.APIVersion != "" + yyq1270[2] = true + yyq1270[3] = true + var yynn1270 int + if yyr1270 || yy2arr1270 { r.EncodeArrayStart(4) } else { - yynn1210 = 0 - for _, b := range yyq1210 { + yynn1270 = 0 + for _, b := range yyq1270 { if b { - yynn1210++ + yynn1270++ } } - r.EncodeMapStart(yynn1210) - yynn1210 = 0 + r.EncodeMapStart(yynn1270) + yynn1270 = 0 } - if yyr1210 || yy2arr1210 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1210[0] { - yym1212 := z.EncBinary() - _ = yym1212 + if yyq1270[0] { + yym1272 := z.EncBinary() + _ = yym1272 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -14507,23 +15134,23 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1210[0] { + if yyq1270[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1213 := z.EncBinary() - _ = yym1213 + yym1273 := z.EncBinary() + _ = yym1273 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1210 || yy2arr1210 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1210[1] { - yym1215 := z.EncBinary() - _ = yym1215 + if yyq1270[1] { + yym1275 := z.EncBinary() + _ = yym1275 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -14532,53 +15159,53 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1210[1] { + if yyq1270[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1216 := z.EncBinary() - _ = yym1216 + yym1276 := z.EncBinary() + _ = yym1276 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1210 || yy2arr1210 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1210[2] { - yy1218 := &x.ObjectMeta - yy1218.CodecEncodeSelf(e) + if yyq1270[2] { + yy1278 := &x.ObjectMeta + yy1278.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1210[2] { + if yyq1270[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1219 := &x.ObjectMeta - yy1219.CodecEncodeSelf(e) + yy1279 := &x.ObjectMeta + yy1279.CodecEncodeSelf(e) } } - if yyr1210 || yy2arr1210 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1210[3] { - yy1221 := &x.Spec - yy1221.CodecEncodeSelf(e) + if yyq1270[3] { + yy1281 := &x.Spec + yy1281.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1210[3] { + if yyq1270[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1222 := &x.Spec - yy1222.CodecEncodeSelf(e) + yy1282 := &x.Spec + yy1282.CodecEncodeSelf(e) } } - if yyr1210 || yy2arr1210 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14591,25 +15218,25 @@ func (x *NetworkPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1223 := z.DecBinary() - _ = yym1223 + yym1283 := z.DecBinary() + _ = yym1283 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1224 := r.ContainerType() - if yyct1224 == codecSelferValueTypeMap1234 { - yyl1224 := r.ReadMapStart() - if yyl1224 == 0 { + yyct1284 := r.ContainerType() + if yyct1284 == codecSelferValueTypeMap1234 { + yyl1284 := r.ReadMapStart() + if yyl1284 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1224, d) + x.codecDecodeSelfFromMap(yyl1284, d) } - } else if yyct1224 == codecSelferValueTypeArray1234 { - yyl1224 := r.ReadArrayStart() - if yyl1224 == 0 { + } else if yyct1284 == codecSelferValueTypeArray1234 { + yyl1284 := r.ReadArrayStart() + if yyl1284 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1224, d) + x.codecDecodeSelfFromArray(yyl1284, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14621,12 +15248,12 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1225Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1225Slc - var yyhl1225 bool = l >= 0 - for yyj1225 := 0; ; yyj1225++ { - if yyhl1225 { - if yyj1225 >= l { + var yys1285Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1285Slc + var yyhl1285 bool = l >= 0 + for yyj1285 := 0; ; yyj1285++ { + if yyhl1285 { + if yyj1285 >= l { break } } else { @@ -14635,10 +15262,10 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1225Slc = r.DecodeBytes(yys1225Slc, true, true) - yys1225 := string(yys1225Slc) + yys1285Slc = r.DecodeBytes(yys1285Slc, true, true) + yys1285 := string(yys1285Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1225 { + switch yys1285 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14655,20 +15282,20 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv1228 := &x.ObjectMeta - yyv1228.CodecDecodeSelf(d) + yyv1288 := &x.ObjectMeta + yyv1288.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1229 := &x.Spec - yyv1229.CodecDecodeSelf(d) + yyv1289 := &x.Spec + yyv1289.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1225) - } // end switch yys1225 - } // end for yyj1225 + z.DecStructFieldNotFound(-1, yys1285) + } // end switch yys1285 + } // end for yyj1285 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14676,16 +15303,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1230 int - var yyb1230 bool - var yyhl1230 bool = l >= 0 - yyj1230++ - if yyhl1230 { - yyb1230 = yyj1230 > l + var yyj1290 int + var yyb1290 bool + var yyhl1290 bool = l >= 0 + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1230 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1230 { + if yyb1290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14695,13 +15322,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1230++ - if yyhl1230 { - yyb1230 = yyj1230 > l + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1230 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1230 { + if yyb1290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14711,13 +15338,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1230++ - if yyhl1230 { - yyb1230 = yyj1230 > l + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1230 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1230 { + if yyb1290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14725,16 +15352,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv1233 := &x.ObjectMeta - yyv1233.CodecDecodeSelf(d) + yyv1293 := &x.ObjectMeta + yyv1293.CodecDecodeSelf(d) } - yyj1230++ - if yyhl1230 { - yyb1230 = yyj1230 > l + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1230 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1230 { + if yyb1290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14742,21 +15369,21 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1234 := &x.Spec - yyv1234.CodecDecodeSelf(d) + yyv1294 := &x.Spec + yyv1294.CodecDecodeSelf(d) } for { - yyj1230++ - if yyhl1230 { - yyb1230 = yyj1230 > l + yyj1290++ + if yyhl1290 { + yyb1290 = yyj1290 > l } else { - yyb1230 = r.CheckBreak() + yyb1290 = r.CheckBreak() } - if yyb1230 { + if yyb1290 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1230-1, "") + z.DecStructFieldNotFound(yyj1290-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14768,61 +15395,61 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1235 := z.EncBinary() - _ = yym1235 + yym1295 := z.EncBinary() + _ = yym1295 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1236 := !z.EncBinary() - yy2arr1236 := z.EncBasicHandle().StructToArray - var yyq1236 [2]bool - _, _, _ = yysep1236, yyq1236, yy2arr1236 - const yyr1236 bool = false - yyq1236[1] = len(x.Ingress) != 0 - var yynn1236 int - if yyr1236 || yy2arr1236 { + yysep1296 := !z.EncBinary() + yy2arr1296 := z.EncBasicHandle().StructToArray + var yyq1296 [2]bool + _, _, _ = yysep1296, yyq1296, yy2arr1296 + const yyr1296 bool = false + yyq1296[1] = len(x.Ingress) != 0 + var yynn1296 int + if yyr1296 || yy2arr1296 { r.EncodeArrayStart(2) } else { - yynn1236 = 1 - for _, b := range yyq1236 { + yynn1296 = 1 + for _, b := range yyq1296 { if b { - yynn1236++ + yynn1296++ } } - r.EncodeMapStart(yynn1236) - yynn1236 = 0 + r.EncodeMapStart(yynn1296) + yynn1296 = 0 } - if yyr1236 || yy2arr1236 { + if yyr1296 || yy2arr1296 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1238 := &x.PodSelector - yym1239 := z.EncBinary() - _ = yym1239 + yy1298 := &x.PodSelector + yym1299 := z.EncBinary() + _ = yym1299 if false { - } else if z.HasExtensions() && z.EncExt(yy1238) { + } else if z.HasExtensions() && z.EncExt(yy1298) { } else { - z.EncFallback(yy1238) + z.EncFallback(yy1298) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1240 := &x.PodSelector - yym1241 := z.EncBinary() - _ = yym1241 + yy1300 := &x.PodSelector + yym1301 := z.EncBinary() + _ = yym1301 if false { - } else if z.HasExtensions() && z.EncExt(yy1240) { + } else if z.HasExtensions() && z.EncExt(yy1300) { } else { - z.EncFallback(yy1240) + z.EncFallback(yy1300) } } - if yyr1236 || yy2arr1236 { + if yyr1296 || yy2arr1296 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1236[1] { + if yyq1296[1] { if x.Ingress == nil { r.EncodeNil() } else { - yym1243 := z.EncBinary() - _ = yym1243 + yym1303 := z.EncBinary() + _ = yym1303 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -14832,15 +15459,15 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1236[1] { + if yyq1296[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym1244 := z.EncBinary() - _ = yym1244 + yym1304 := z.EncBinary() + _ = yym1304 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -14848,7 +15475,7 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1236 || yy2arr1236 { + if yyr1296 || yy2arr1296 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14858,805 +15485,6 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *NetworkPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1245 := z.DecBinary() - _ = yym1245 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1246 := r.ContainerType() - if yyct1246 == codecSelferValueTypeMap1234 { - yyl1246 := r.ReadMapStart() - if yyl1246 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1246, d) - } - } else if yyct1246 == codecSelferValueTypeArray1234 { - yyl1246 := r.ReadArrayStart() - if yyl1246 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1246, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1247Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1247Slc - var yyhl1247 bool = l >= 0 - for yyj1247 := 0; ; yyj1247++ { - if yyhl1247 { - if yyj1247 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1247Slc = r.DecodeBytes(yys1247Slc, true, true) - yys1247 := string(yys1247Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1247 { - case "podSelector": - if r.TryDecodeAsNil() { - x.PodSelector = pkg1_unversioned.LabelSelector{} - } else { - yyv1248 := &x.PodSelector - yym1249 := z.DecBinary() - _ = yym1249 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1248) { - } else { - z.DecFallback(yyv1248, false) - } - } - case "ingress": - if r.TryDecodeAsNil() { - x.Ingress = nil - } else { - yyv1250 := &x.Ingress - yym1251 := z.DecBinary() - _ = yym1251 - if false { - } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1250), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1247) - } // end switch yys1247 - } // end for yyj1247 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1252 int - var yyb1252 bool - var yyhl1252 bool = l >= 0 - yyj1252++ - if yyhl1252 { - yyb1252 = yyj1252 > l - } else { - yyb1252 = r.CheckBreak() - } - if yyb1252 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodSelector = pkg1_unversioned.LabelSelector{} - } else { - yyv1253 := &x.PodSelector - yym1254 := z.DecBinary() - _ = yym1254 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1253) { - } else { - z.DecFallback(yyv1253, false) - } - } - yyj1252++ - if yyhl1252 { - yyb1252 = yyj1252 > l - } else { - yyb1252 = r.CheckBreak() - } - if yyb1252 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Ingress = nil - } else { - yyv1255 := &x.Ingress - yym1256 := z.DecBinary() - _ = yym1256 - if false { - } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1255), d) - } - } - for { - yyj1252++ - if yyhl1252 { - yyb1252 = yyj1252 > l - } else { - yyb1252 = r.CheckBreak() - } - if yyb1252 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1252-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1257 := z.EncBinary() - _ = yym1257 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1258 := !z.EncBinary() - yy2arr1258 := z.EncBasicHandle().StructToArray - var yyq1258 [2]bool - _, _, _ = yysep1258, yyq1258, yy2arr1258 - const yyr1258 bool = false - yyq1258[0] = len(x.Ports) != 0 - yyq1258[1] = len(x.From) != 0 - var yynn1258 int - if yyr1258 || yy2arr1258 { - r.EncodeArrayStart(2) - } else { - yynn1258 = 0 - for _, b := range yyq1258 { - if b { - yynn1258++ - } - } - r.EncodeMapStart(yynn1258) - yynn1258 = 0 - } - if yyr1258 || yy2arr1258 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1258[0] { - if x.Ports == nil { - r.EncodeNil() - } else { - yym1260 := z.EncBinary() - _ = yym1260 - if false { - } else { - h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1258[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("ports")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Ports == nil { - r.EncodeNil() - } else { - yym1261 := z.EncBinary() - _ = yym1261 - if false { - } else { - h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) - } - } - } - } - if yyr1258 || yy2arr1258 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1258[1] { - if x.From == nil { - r.EncodeNil() - } else { - yym1263 := z.EncBinary() - _ = yym1263 - if false { - } else { - h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1258[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("from")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.From == nil { - r.EncodeNil() - } else { - yym1264 := z.EncBinary() - _ = yym1264 - if false { - } else { - h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) - } - } - } - } - if yyr1258 || yy2arr1258 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NetworkPolicyIngressRule) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1265 := z.DecBinary() - _ = yym1265 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1266 := r.ContainerType() - if yyct1266 == codecSelferValueTypeMap1234 { - yyl1266 := r.ReadMapStart() - if yyl1266 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1266, d) - } - } else if yyct1266 == codecSelferValueTypeArray1234 { - yyl1266 := r.ReadArrayStart() - if yyl1266 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1266, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1267Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1267Slc - var yyhl1267 bool = l >= 0 - for yyj1267 := 0; ; yyj1267++ { - if yyhl1267 { - if yyj1267 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1267Slc = r.DecodeBytes(yys1267Slc, true, true) - yys1267 := string(yys1267Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1267 { - case "ports": - if r.TryDecodeAsNil() { - x.Ports = nil - } else { - yyv1268 := &x.Ports - yym1269 := z.DecBinary() - _ = yym1269 - if false { - } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1268), d) - } - } - case "from": - if r.TryDecodeAsNil() { - x.From = nil - } else { - yyv1270 := &x.From - yym1271 := z.DecBinary() - _ = yym1271 - if false { - } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1270), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1267) - } // end switch yys1267 - } // end for yyj1267 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1272 int - var yyb1272 bool - var yyhl1272 bool = l >= 0 - yyj1272++ - if yyhl1272 { - yyb1272 = yyj1272 > l - } else { - yyb1272 = r.CheckBreak() - } - if yyb1272 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Ports = nil - } else { - yyv1273 := &x.Ports - yym1274 := z.DecBinary() - _ = yym1274 - if false { - } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1273), d) - } - } - yyj1272++ - if yyhl1272 { - yyb1272 = yyj1272 > l - } else { - yyb1272 = r.CheckBreak() - } - if yyb1272 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.From = nil - } else { - yyv1275 := &x.From - yym1276 := z.DecBinary() - _ = yym1276 - if false { - } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1275), d) - } - } - for { - yyj1272++ - if yyhl1272 { - yyb1272 = yyj1272 > l - } else { - yyb1272 = r.CheckBreak() - } - if yyb1272 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1272-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1277 := z.EncBinary() - _ = yym1277 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1278 := !z.EncBinary() - yy2arr1278 := z.EncBasicHandle().StructToArray - var yyq1278 [2]bool - _, _, _ = yysep1278, yyq1278, yy2arr1278 - const yyr1278 bool = false - yyq1278[0] = x.Protocol != nil - yyq1278[1] = x.Port != nil - var yynn1278 int - if yyr1278 || yy2arr1278 { - r.EncodeArrayStart(2) - } else { - yynn1278 = 0 - for _, b := range yyq1278 { - if b { - yynn1278++ - } - } - r.EncodeMapStart(yynn1278) - yynn1278 = 0 - } - if yyr1278 || yy2arr1278 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1278[0] { - if x.Protocol == nil { - r.EncodeNil() - } else { - yy1280 := *x.Protocol - yym1281 := z.EncBinary() - _ = yym1281 - if false { - } else if z.HasExtensions() && z.EncExt(yy1280) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1280)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1278[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("protocol")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Protocol == nil { - r.EncodeNil() - } else { - yy1282 := *x.Protocol - yym1283 := z.EncBinary() - _ = yym1283 - if false { - } else if z.HasExtensions() && z.EncExt(yy1282) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1282)) - } - } - } - } - if yyr1278 || yy2arr1278 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1278[1] { - if x.Port == nil { - r.EncodeNil() - } else { - yym1285 := z.EncBinary() - _ = yym1285 - if false { - } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1285 && z.IsJSONHandle() { - z.EncJSONMarshal(x.Port) - } else { - z.EncFallback(x.Port) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1278[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("port")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Port == nil { - r.EncodeNil() - } else { - yym1286 := z.EncBinary() - _ = yym1286 - if false { - } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1286 && z.IsJSONHandle() { - z.EncJSONMarshal(x.Port) - } else { - z.EncFallback(x.Port) - } - } - } - } - if yyr1278 || yy2arr1278 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NetworkPolicyPort) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1287 := z.DecBinary() - _ = yym1287 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1288 := r.ContainerType() - if yyct1288 == codecSelferValueTypeMap1234 { - yyl1288 := r.ReadMapStart() - if yyl1288 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1288, d) - } - } else if yyct1288 == codecSelferValueTypeArray1234 { - yyl1288 := r.ReadArrayStart() - if yyl1288 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1288, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1289Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1289Slc - var yyhl1289 bool = l >= 0 - for yyj1289 := 0; ; yyj1289++ { - if yyhl1289 { - if yyj1289 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1289Slc = r.DecodeBytes(yys1289Slc, true, true) - yys1289 := string(yys1289Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1289 { - case "protocol": - if r.TryDecodeAsNil() { - if x.Protocol != nil { - x.Protocol = nil - } - } else { - if x.Protocol == nil { - x.Protocol = new(pkg2_api.Protocol) - } - x.Protocol.CodecDecodeSelf(d) - } - case "port": - if r.TryDecodeAsNil() { - if x.Port != nil { - x.Port = nil - } - } else { - if x.Port == nil { - x.Port = new(pkg5_intstr.IntOrString) - } - yym1292 := z.DecBinary() - _ = yym1292 - if false { - } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1292 && z.IsJSONHandle() { - z.DecJSONUnmarshal(x.Port) - } else { - z.DecFallback(x.Port, false) - } - } - default: - z.DecStructFieldNotFound(-1, yys1289) - } // end switch yys1289 - } // end for yyj1289 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1293 int - var yyb1293 bool - var yyhl1293 bool = l >= 0 - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l - } else { - yyb1293 = r.CheckBreak() - } - if yyb1293 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.Protocol != nil { - x.Protocol = nil - } - } else { - if x.Protocol == nil { - x.Protocol = new(pkg2_api.Protocol) - } - x.Protocol.CodecDecodeSelf(d) - } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l - } else { - yyb1293 = r.CheckBreak() - } - if yyb1293 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.Port != nil { - x.Port = nil - } - } else { - if x.Port == nil { - x.Port = new(pkg5_intstr.IntOrString) - } - yym1296 := z.DecBinary() - _ = yym1296 - if false { - } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1296 && z.IsJSONHandle() { - z.DecJSONUnmarshal(x.Port) - } else { - z.DecFallback(x.Port, false) - } - } - for { - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l - } else { - yyb1293 = r.CheckBreak() - } - if yyb1293 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1293-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1297 := z.EncBinary() - _ = yym1297 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1298 := !z.EncBinary() - yy2arr1298 := z.EncBasicHandle().StructToArray - var yyq1298 [2]bool - _, _, _ = yysep1298, yyq1298, yy2arr1298 - const yyr1298 bool = false - yyq1298[0] = x.PodSelector != nil - yyq1298[1] = x.NamespaceSelector != nil - var yynn1298 int - if yyr1298 || yy2arr1298 { - r.EncodeArrayStart(2) - } else { - yynn1298 = 0 - for _, b := range yyq1298 { - if b { - yynn1298++ - } - } - r.EncodeMapStart(yynn1298) - yynn1298 = 0 - } - if yyr1298 || yy2arr1298 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1298[0] { - if x.PodSelector == nil { - r.EncodeNil() - } else { - yym1300 := z.EncBinary() - _ = yym1300 - if false { - } else if z.HasExtensions() && z.EncExt(x.PodSelector) { - } else { - z.EncFallback(x.PodSelector) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1298[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("podSelector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.PodSelector == nil { - r.EncodeNil() - } else { - yym1301 := z.EncBinary() - _ = yym1301 - if false { - } else if z.HasExtensions() && z.EncExt(x.PodSelector) { - } else { - z.EncFallback(x.PodSelector) - } - } - } - } - if yyr1298 || yy2arr1298 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1298[1] { - if x.NamespaceSelector == nil { - r.EncodeNil() - } else { - yym1303 := z.EncBinary() - _ = yym1303 - if false { - } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { - } else { - z.EncFallback(x.NamespaceSelector) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1298[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("namespaceSelector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.NamespaceSelector == nil { - r.EncodeNil() - } else { - yym1304 := z.EncBinary() - _ = yym1304 - if false { - } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { - } else { - z.EncFallback(x.NamespaceSelector) - } - } - } - } - if yyr1298 || yy2arr1298 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -15686,7 +15514,7 @@ func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -15710,36 +15538,27 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) switch yys1307 { case "podSelector": if r.TryDecodeAsNil() { - if x.PodSelector != nil { - x.PodSelector = nil - } + x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - if x.PodSelector == nil { - x.PodSelector = new(pkg1_unversioned.LabelSelector) - } + yyv1308 := &x.PodSelector yym1309 := z.DecBinary() _ = yym1309 if false { - } else if z.HasExtensions() && z.DecExt(x.PodSelector) { + } else if z.HasExtensions() && z.DecExt(yyv1308) { } else { - z.DecFallback(x.PodSelector, false) + z.DecFallback(yyv1308, false) } } - case "namespaceSelector": + case "ingress": if r.TryDecodeAsNil() { - if x.NamespaceSelector != nil { - x.NamespaceSelector = nil - } + x.Ingress = nil } else { - if x.NamespaceSelector == nil { - x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) - } + yyv1310 := &x.Ingress yym1311 := z.DecBinary() _ = yym1311 if false { - } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { } else { - z.DecFallback(x.NamespaceSelector, false) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1310), d) } } default: @@ -15749,7 +15568,7 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -15768,19 +15587,15 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.PodSelector != nil { - x.PodSelector = nil - } + x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - if x.PodSelector == nil { - x.PodSelector = new(pkg1_unversioned.LabelSelector) - } + yyv1313 := &x.PodSelector yym1314 := z.DecBinary() _ = yym1314 if false { - } else if z.HasExtensions() && z.DecExt(x.PodSelector) { + } else if z.HasExtensions() && z.DecExt(yyv1313) { } else { - z.DecFallback(x.PodSelector, false) + z.DecFallback(yyv1313, false) } } yyj1312++ @@ -15795,19 +15610,14 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.NamespaceSelector != nil { - x.NamespaceSelector = nil - } + x.Ingress = nil } else { - if x.NamespaceSelector == nil { - x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) - } + yyv1315 := &x.Ingress yym1316 := z.DecBinary() _ = yym1316 if false { - } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { } else { - z.DecFallback(x.NamespaceSelector, false) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1315), d) } } for { @@ -15826,7 +15636,7 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -15840,17 +15650,16 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep1318 := !z.EncBinary() yy2arr1318 := z.EncBasicHandle().StructToArray - var yyq1318 [4]bool + var yyq1318 [2]bool _, _, _ = yysep1318, yyq1318, yy2arr1318 const yyr1318 bool = false - yyq1318[0] = x.Kind != "" - yyq1318[1] = x.APIVersion != "" - yyq1318[2] = true + yyq1318[0] = len(x.Ports) != 0 + yyq1318[1] = len(x.From) != 0 var yynn1318 int if yyr1318 || yy2arr1318 { - r.EncodeArrayStart(4) + r.EncodeArrayStart(2) } else { - yynn1318 = 1 + yynn1318 = 0 for _, b := range yyq1318 { if b { yynn1318++ @@ -15862,106 +15671,66 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq1318[0] { - yym1320 := z.EncBinary() - _ = yym1320 - if false { + if x.Ports == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + yym1320 := z.EncBinary() + _ = yym1320 + if false { + } else { + h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) + } } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeNil() } } else { if yyq1318[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) + r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1321 := z.EncBinary() - _ = yym1321 - if false { + if x.Ports == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + yym1321 := z.EncBinary() + _ = yym1321 + if false { + } else { + h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) + } } } } if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq1318[1] { - yym1323 := z.EncBinary() - _ = yym1323 - if false { + if x.From == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + yym1323 := z.EncBinary() + _ = yym1323 + if false { + } else { + h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) + } } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeNil() } } else { if yyq1318[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("from")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1324 := z.EncBinary() - _ = yym1324 - if false { + if x.From == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1318 || yy2arr1318 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1318[2] { - yy1326 := &x.ListMeta - yym1327 := z.EncBinary() - _ = yym1327 - if false { - } else if z.HasExtensions() && z.EncExt(yy1326) { - } else { - z.EncFallback(yy1326) - } - } else { - r.EncodeNil() - } - } else { - if yyq1318[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1328 := &x.ListMeta - yym1329 := z.EncBinary() - _ = yym1329 - if false { - } else if z.HasExtensions() && z.EncExt(yy1328) { - } else { - z.EncFallback(yy1328) - } - } - } - if yyr1318 || yy2arr1318 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym1331 := z.EncBinary() - _ = yym1331 - if false { - } else { - h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym1332 := z.EncBinary() - _ = yym1332 - if false { - } else { - h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) + yym1324 := z.EncBinary() + _ = yym1324 + if false { + } else { + h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) + } } } } @@ -15974,29 +15743,887 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { } } +func (x *NetworkPolicyIngressRule) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1325 := z.DecBinary() + _ = yym1325 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1326 := r.ContainerType() + if yyct1326 == codecSelferValueTypeMap1234 { + yyl1326 := r.ReadMapStart() + if yyl1326 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1326, d) + } + } else if yyct1326 == codecSelferValueTypeArray1234 { + yyl1326 := r.ReadArrayStart() + if yyl1326 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1326, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1327Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1327Slc + var yyhl1327 bool = l >= 0 + for yyj1327 := 0; ; yyj1327++ { + if yyhl1327 { + if yyj1327 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1327Slc = r.DecodeBytes(yys1327Slc, true, true) + yys1327 := string(yys1327Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1327 { + case "ports": + if r.TryDecodeAsNil() { + x.Ports = nil + } else { + yyv1328 := &x.Ports + yym1329 := z.DecBinary() + _ = yym1329 + if false { + } else { + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1328), d) + } + } + case "from": + if r.TryDecodeAsNil() { + x.From = nil + } else { + yyv1330 := &x.From + yym1331 := z.DecBinary() + _ = yym1331 + if false { + } else { + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1330), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1327) + } // end switch yys1327 + } // end for yyj1327 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1332 int + var yyb1332 bool + var yyhl1332 bool = l >= 0 + yyj1332++ + if yyhl1332 { + yyb1332 = yyj1332 > l + } else { + yyb1332 = r.CheckBreak() + } + if yyb1332 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Ports = nil + } else { + yyv1333 := &x.Ports + yym1334 := z.DecBinary() + _ = yym1334 + if false { + } else { + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1333), d) + } + } + yyj1332++ + if yyhl1332 { + yyb1332 = yyj1332 > l + } else { + yyb1332 = r.CheckBreak() + } + if yyb1332 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.From = nil + } else { + yyv1335 := &x.From + yym1336 := z.DecBinary() + _ = yym1336 + if false { + } else { + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1335), d) + } + } + for { + yyj1332++ + if yyhl1332 { + yyb1332 = yyj1332 > l + } else { + yyb1332 = r.CheckBreak() + } + if yyb1332 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1332-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1337 := z.EncBinary() + _ = yym1337 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1338 := !z.EncBinary() + yy2arr1338 := z.EncBasicHandle().StructToArray + var yyq1338 [2]bool + _, _, _ = yysep1338, yyq1338, yy2arr1338 + const yyr1338 bool = false + yyq1338[0] = x.Protocol != nil + yyq1338[1] = x.Port != nil + var yynn1338 int + if yyr1338 || yy2arr1338 { + r.EncodeArrayStart(2) + } else { + yynn1338 = 0 + for _, b := range yyq1338 { + if b { + yynn1338++ + } + } + r.EncodeMapStart(yynn1338) + yynn1338 = 0 + } + if yyr1338 || yy2arr1338 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1338[0] { + if x.Protocol == nil { + r.EncodeNil() + } else { + yy1340 := *x.Protocol + yym1341 := z.EncBinary() + _ = yym1341 + if false { + } else if z.HasExtensions() && z.EncExt(yy1340) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yy1340)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1338[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("protocol")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Protocol == nil { + r.EncodeNil() + } else { + yy1342 := *x.Protocol + yym1343 := z.EncBinary() + _ = yym1343 + if false { + } else if z.HasExtensions() && z.EncExt(yy1342) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yy1342)) + } + } + } + } + if yyr1338 || yy2arr1338 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1338[1] { + if x.Port == nil { + r.EncodeNil() + } else { + yym1345 := z.EncBinary() + _ = yym1345 + if false { + } else if z.HasExtensions() && z.EncExt(x.Port) { + } else if !yym1345 && z.IsJSONHandle() { + z.EncJSONMarshal(x.Port) + } else { + z.EncFallback(x.Port) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1338[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("port")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Port == nil { + r.EncodeNil() + } else { + yym1346 := z.EncBinary() + _ = yym1346 + if false { + } else if z.HasExtensions() && z.EncExt(x.Port) { + } else if !yym1346 && z.IsJSONHandle() { + z.EncJSONMarshal(x.Port) + } else { + z.EncFallback(x.Port) + } + } + } + } + if yyr1338 || yy2arr1338 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NetworkPolicyPort) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1347 := z.DecBinary() + _ = yym1347 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1348 := r.ContainerType() + if yyct1348 == codecSelferValueTypeMap1234 { + yyl1348 := r.ReadMapStart() + if yyl1348 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1348, d) + } + } else if yyct1348 == codecSelferValueTypeArray1234 { + yyl1348 := r.ReadArrayStart() + if yyl1348 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1348, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1349Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1349Slc + var yyhl1349 bool = l >= 0 + for yyj1349 := 0; ; yyj1349++ { + if yyhl1349 { + if yyj1349 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1349Slc = r.DecodeBytes(yys1349Slc, true, true) + yys1349 := string(yys1349Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1349 { + case "protocol": + if r.TryDecodeAsNil() { + if x.Protocol != nil { + x.Protocol = nil + } + } else { + if x.Protocol == nil { + x.Protocol = new(pkg2_api.Protocol) + } + x.Protocol.CodecDecodeSelf(d) + } + case "port": + if r.TryDecodeAsNil() { + if x.Port != nil { + x.Port = nil + } + } else { + if x.Port == nil { + x.Port = new(pkg5_intstr.IntOrString) + } + yym1352 := z.DecBinary() + _ = yym1352 + if false { + } else if z.HasExtensions() && z.DecExt(x.Port) { + } else if !yym1352 && z.IsJSONHandle() { + z.DecJSONUnmarshal(x.Port) + } else { + z.DecFallback(x.Port, false) + } + } + default: + z.DecStructFieldNotFound(-1, yys1349) + } // end switch yys1349 + } // end for yyj1349 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1353 int + var yyb1353 bool + var yyhl1353 bool = l >= 0 + yyj1353++ + if yyhl1353 { + yyb1353 = yyj1353 > l + } else { + yyb1353 = r.CheckBreak() + } + if yyb1353 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.Protocol != nil { + x.Protocol = nil + } + } else { + if x.Protocol == nil { + x.Protocol = new(pkg2_api.Protocol) + } + x.Protocol.CodecDecodeSelf(d) + } + yyj1353++ + if yyhl1353 { + yyb1353 = yyj1353 > l + } else { + yyb1353 = r.CheckBreak() + } + if yyb1353 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.Port != nil { + x.Port = nil + } + } else { + if x.Port == nil { + x.Port = new(pkg5_intstr.IntOrString) + } + yym1356 := z.DecBinary() + _ = yym1356 + if false { + } else if z.HasExtensions() && z.DecExt(x.Port) { + } else if !yym1356 && z.IsJSONHandle() { + z.DecJSONUnmarshal(x.Port) + } else { + z.DecFallback(x.Port, false) + } + } + for { + yyj1353++ + if yyhl1353 { + yyb1353 = yyj1353 > l + } else { + yyb1353 = r.CheckBreak() + } + if yyb1353 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1353-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1357 := z.EncBinary() + _ = yym1357 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1358 := !z.EncBinary() + yy2arr1358 := z.EncBasicHandle().StructToArray + var yyq1358 [2]bool + _, _, _ = yysep1358, yyq1358, yy2arr1358 + const yyr1358 bool = false + yyq1358[0] = x.PodSelector != nil + yyq1358[1] = x.NamespaceSelector != nil + var yynn1358 int + if yyr1358 || yy2arr1358 { + r.EncodeArrayStart(2) + } else { + yynn1358 = 0 + for _, b := range yyq1358 { + if b { + yynn1358++ + } + } + r.EncodeMapStart(yynn1358) + yynn1358 = 0 + } + if yyr1358 || yy2arr1358 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1358[0] { + if x.PodSelector == nil { + r.EncodeNil() + } else { + yym1360 := z.EncBinary() + _ = yym1360 + if false { + } else if z.HasExtensions() && z.EncExt(x.PodSelector) { + } else { + z.EncFallback(x.PodSelector) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1358[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("podSelector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.PodSelector == nil { + r.EncodeNil() + } else { + yym1361 := z.EncBinary() + _ = yym1361 + if false { + } else if z.HasExtensions() && z.EncExt(x.PodSelector) { + } else { + z.EncFallback(x.PodSelector) + } + } + } + } + if yyr1358 || yy2arr1358 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1358[1] { + if x.NamespaceSelector == nil { + r.EncodeNil() + } else { + yym1363 := z.EncBinary() + _ = yym1363 + if false { + } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { + } else { + z.EncFallback(x.NamespaceSelector) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1358[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("namespaceSelector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.NamespaceSelector == nil { + r.EncodeNil() + } else { + yym1364 := z.EncBinary() + _ = yym1364 + if false { + } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { + } else { + z.EncFallback(x.NamespaceSelector) + } + } + } + } + if yyr1358 || yy2arr1358 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1365 := z.DecBinary() + _ = yym1365 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1366 := r.ContainerType() + if yyct1366 == codecSelferValueTypeMap1234 { + yyl1366 := r.ReadMapStart() + if yyl1366 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1366, d) + } + } else if yyct1366 == codecSelferValueTypeArray1234 { + yyl1366 := r.ReadArrayStart() + if yyl1366 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1366, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1367Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1367Slc + var yyhl1367 bool = l >= 0 + for yyj1367 := 0; ; yyj1367++ { + if yyhl1367 { + if yyj1367 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1367Slc = r.DecodeBytes(yys1367Slc, true, true) + yys1367 := string(yys1367Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1367 { + case "podSelector": + if r.TryDecodeAsNil() { + if x.PodSelector != nil { + x.PodSelector = nil + } + } else { + if x.PodSelector == nil { + x.PodSelector = new(pkg1_unversioned.LabelSelector) + } + yym1369 := z.DecBinary() + _ = yym1369 + if false { + } else if z.HasExtensions() && z.DecExt(x.PodSelector) { + } else { + z.DecFallback(x.PodSelector, false) + } + } + case "namespaceSelector": + if r.TryDecodeAsNil() { + if x.NamespaceSelector != nil { + x.NamespaceSelector = nil + } + } else { + if x.NamespaceSelector == nil { + x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) + } + yym1371 := z.DecBinary() + _ = yym1371 + if false { + } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { + } else { + z.DecFallback(x.NamespaceSelector, false) + } + } + default: + z.DecStructFieldNotFound(-1, yys1367) + } // end switch yys1367 + } // end for yyj1367 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1372 int + var yyb1372 bool + var yyhl1372 bool = l >= 0 + yyj1372++ + if yyhl1372 { + yyb1372 = yyj1372 > l + } else { + yyb1372 = r.CheckBreak() + } + if yyb1372 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.PodSelector != nil { + x.PodSelector = nil + } + } else { + if x.PodSelector == nil { + x.PodSelector = new(pkg1_unversioned.LabelSelector) + } + yym1374 := z.DecBinary() + _ = yym1374 + if false { + } else if z.HasExtensions() && z.DecExt(x.PodSelector) { + } else { + z.DecFallback(x.PodSelector, false) + } + } + yyj1372++ + if yyhl1372 { + yyb1372 = yyj1372 > l + } else { + yyb1372 = r.CheckBreak() + } + if yyb1372 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.NamespaceSelector != nil { + x.NamespaceSelector = nil + } + } else { + if x.NamespaceSelector == nil { + x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) + } + yym1376 := z.DecBinary() + _ = yym1376 + if false { + } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { + } else { + z.DecFallback(x.NamespaceSelector, false) + } + } + for { + yyj1372++ + if yyhl1372 { + yyb1372 = yyj1372 > l + } else { + yyb1372 = r.CheckBreak() + } + if yyb1372 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1372-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1377 := z.EncBinary() + _ = yym1377 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1378 := !z.EncBinary() + yy2arr1378 := z.EncBasicHandle().StructToArray + var yyq1378 [4]bool + _, _, _ = yysep1378, yyq1378, yy2arr1378 + const yyr1378 bool = false + yyq1378[0] = x.Kind != "" + yyq1378[1] = x.APIVersion != "" + yyq1378[2] = true + var yynn1378 int + if yyr1378 || yy2arr1378 { + r.EncodeArrayStart(4) + } else { + yynn1378 = 1 + for _, b := range yyq1378 { + if b { + yynn1378++ + } + } + r.EncodeMapStart(yynn1378) + yynn1378 = 0 + } + if yyr1378 || yy2arr1378 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1378[0] { + yym1380 := z.EncBinary() + _ = yym1380 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1378[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1381 := z.EncBinary() + _ = yym1381 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1378 || yy2arr1378 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1378[1] { + yym1383 := z.EncBinary() + _ = yym1383 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1378[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1384 := z.EncBinary() + _ = yym1384 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1378 || yy2arr1378 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1378[2] { + yy1386 := &x.ListMeta + yym1387 := z.EncBinary() + _ = yym1387 + if false { + } else if z.HasExtensions() && z.EncExt(yy1386) { + } else { + z.EncFallback(yy1386) + } + } else { + r.EncodeNil() + } + } else { + if yyq1378[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1388 := &x.ListMeta + yym1389 := z.EncBinary() + _ = yym1389 + if false { + } else if z.HasExtensions() && z.EncExt(yy1388) { + } else { + z.EncFallback(yy1388) + } + } + } + if yyr1378 || yy2arr1378 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym1391 := z.EncBinary() + _ = yym1391 + if false { + } else { + h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym1392 := z.EncBinary() + _ = yym1392 + if false { + } else { + h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) + } + } + } + if yyr1378 || yy2arr1378 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + func (x *NetworkPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1333 := z.DecBinary() - _ = yym1333 + yym1393 := z.DecBinary() + _ = yym1393 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1334 := r.ContainerType() - if yyct1334 == codecSelferValueTypeMap1234 { - yyl1334 := r.ReadMapStart() - if yyl1334 == 0 { + yyct1394 := r.ContainerType() + if yyct1394 == codecSelferValueTypeMap1234 { + yyl1394 := r.ReadMapStart() + if yyl1394 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1334, d) + x.codecDecodeSelfFromMap(yyl1394, d) } - } else if yyct1334 == codecSelferValueTypeArray1234 { - yyl1334 := r.ReadArrayStart() - if yyl1334 == 0 { + } else if yyct1394 == codecSelferValueTypeArray1234 { + yyl1394 := r.ReadArrayStart() + if yyl1394 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1334, d) + x.codecDecodeSelfFromArray(yyl1394, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16008,12 +16635,12 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1335Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1335Slc - var yyhl1335 bool = l >= 0 - for yyj1335 := 0; ; yyj1335++ { - if yyhl1335 { - if yyj1335 >= l { + var yys1395Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1395Slc + var yyhl1395 bool = l >= 0 + for yyj1395 := 0; ; yyj1395++ { + if yyhl1395 { + if yyj1395 >= l { break } } else { @@ -16022,10 +16649,10 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1335Slc = r.DecodeBytes(yys1335Slc, true, true) - yys1335 := string(yys1335Slc) + yys1395Slc = r.DecodeBytes(yys1395Slc, true, true) + yys1395 := string(yys1395Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1335 { + switch yys1395 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -16042,31 +16669,31 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1338 := &x.ListMeta - yym1339 := z.DecBinary() - _ = yym1339 + yyv1398 := &x.ListMeta + yym1399 := z.DecBinary() + _ = yym1399 if false { - } else if z.HasExtensions() && z.DecExt(yyv1338) { + } else if z.HasExtensions() && z.DecExt(yyv1398) { } else { - z.DecFallback(yyv1338, false) + z.DecFallback(yyv1398, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1340 := &x.Items - yym1341 := z.DecBinary() - _ = yym1341 + yyv1400 := &x.Items + yym1401 := z.DecBinary() + _ = yym1401 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1340), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1400), d) } } default: - z.DecStructFieldNotFound(-1, yys1335) - } // end switch yys1335 - } // end for yyj1335 + z.DecStructFieldNotFound(-1, yys1395) + } // end switch yys1395 + } // end for yyj1395 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16074,16 +16701,16 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1342 int - var yyb1342 bool - var yyhl1342 bool = l >= 0 - yyj1342++ - if yyhl1342 { - yyb1342 = yyj1342 > l + var yyj1402 int + var yyb1402 bool + var yyhl1402 bool = l >= 0 + yyj1402++ + if yyhl1402 { + yyb1402 = yyj1402 > l } else { - yyb1342 = r.CheckBreak() + yyb1402 = r.CheckBreak() } - if yyb1342 { + if yyb1402 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16093,13 +16720,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1342++ - if yyhl1342 { - yyb1342 = yyj1342 > l + yyj1402++ + if yyhl1402 { + yyb1402 = yyj1402 > l } else { - yyb1342 = r.CheckBreak() + yyb1402 = r.CheckBreak() } - if yyb1342 { + if yyb1402 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16109,13 +16736,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1342++ - if yyhl1342 { - yyb1342 = yyj1342 > l + yyj1402++ + if yyhl1402 { + yyb1402 = yyj1402 > l } else { - yyb1342 = r.CheckBreak() + yyb1402 = r.CheckBreak() } - if yyb1342 { + if yyb1402 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16123,22 +16750,22 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1345 := &x.ListMeta - yym1346 := z.DecBinary() - _ = yym1346 + yyv1405 := &x.ListMeta + yym1406 := z.DecBinary() + _ = yym1406 if false { - } else if z.HasExtensions() && z.DecExt(yyv1345) { + } else if z.HasExtensions() && z.DecExt(yyv1405) { } else { - z.DecFallback(yyv1345, false) + z.DecFallback(yyv1405, false) } } - yyj1342++ - if yyhl1342 { - yyb1342 = yyj1342 > l + yyj1402++ + if yyhl1402 { + yyb1402 = yyj1402 > l } else { - yyb1342 = r.CheckBreak() + yyb1402 = r.CheckBreak() } - if yyb1342 { + if yyb1402 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16146,1191 +16773,31 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1347 := &x.Items - yym1348 := z.DecBinary() - _ = yym1348 + yyv1407 := &x.Items + yym1408 := z.DecBinary() + _ = yym1408 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1347), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1407), d) } } for { - yyj1342++ - if yyhl1342 { - yyb1342 = yyj1342 > l + yyj1402++ + if yyhl1402 { + yyb1402 = yyj1402 > l } else { - yyb1342 = r.CheckBreak() + yyb1402 = r.CheckBreak() } - if yyb1342 { + if yyb1402 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1342-1, "") + z.DecStructFieldNotFound(yyj1402-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x codecSelfer1234) encSliceCustomMetricTarget(v []CustomMetricTarget, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1349 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1350 := &yyv1349 - yy1350.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1351 := *v - yyh1351, yyl1351 := z.DecSliceHelperStart() - var yyc1351 bool - if yyl1351 == 0 { - if yyv1351 == nil { - yyv1351 = []CustomMetricTarget{} - yyc1351 = true - } else if len(yyv1351) != 0 { - yyv1351 = yyv1351[:0] - yyc1351 = true - } - } else if yyl1351 > 0 { - var yyrr1351, yyrl1351 int - var yyrt1351 bool - if yyl1351 > cap(yyv1351) { - - yyrg1351 := len(yyv1351) > 0 - yyv21351 := yyv1351 - yyrl1351, yyrt1351 = z.DecInferLen(yyl1351, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1351 { - if yyrl1351 <= cap(yyv1351) { - yyv1351 = yyv1351[:yyrl1351] - } else { - yyv1351 = make([]CustomMetricTarget, yyrl1351) - } - } else { - yyv1351 = make([]CustomMetricTarget, yyrl1351) - } - yyc1351 = true - yyrr1351 = len(yyv1351) - if yyrg1351 { - copy(yyv1351, yyv21351) - } - } else if yyl1351 != len(yyv1351) { - yyv1351 = yyv1351[:yyl1351] - yyc1351 = true - } - yyj1351 := 0 - for ; yyj1351 < yyrr1351; yyj1351++ { - yyh1351.ElemContainerState(yyj1351) - if r.TryDecodeAsNil() { - yyv1351[yyj1351] = CustomMetricTarget{} - } else { - yyv1352 := &yyv1351[yyj1351] - yyv1352.CodecDecodeSelf(d) - } - - } - if yyrt1351 { - for ; yyj1351 < yyl1351; yyj1351++ { - yyv1351 = append(yyv1351, CustomMetricTarget{}) - yyh1351.ElemContainerState(yyj1351) - if r.TryDecodeAsNil() { - yyv1351[yyj1351] = CustomMetricTarget{} - } else { - yyv1353 := &yyv1351[yyj1351] - yyv1353.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1351 := 0 - for ; !r.CheckBreak(); yyj1351++ { - - if yyj1351 >= len(yyv1351) { - yyv1351 = append(yyv1351, CustomMetricTarget{}) // var yyz1351 CustomMetricTarget - yyc1351 = true - } - yyh1351.ElemContainerState(yyj1351) - if yyj1351 < len(yyv1351) { - if r.TryDecodeAsNil() { - yyv1351[yyj1351] = CustomMetricTarget{} - } else { - yyv1354 := &yyv1351[yyj1351] - yyv1354.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1351 < len(yyv1351) { - yyv1351 = yyv1351[:yyj1351] - yyc1351 = true - } else if yyj1351 == 0 && yyv1351 == nil { - yyv1351 = []CustomMetricTarget{} - yyc1351 = true - } - } - yyh1351.End() - if yyc1351 { - *v = yyv1351 - } -} - -func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurrentStatus, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1355 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1356 := &yyv1355 - yy1356.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurrentStatus, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1357 := *v - yyh1357, yyl1357 := z.DecSliceHelperStart() - var yyc1357 bool - if yyl1357 == 0 { - if yyv1357 == nil { - yyv1357 = []CustomMetricCurrentStatus{} - yyc1357 = true - } else if len(yyv1357) != 0 { - yyv1357 = yyv1357[:0] - yyc1357 = true - } - } else if yyl1357 > 0 { - var yyrr1357, yyrl1357 int - var yyrt1357 bool - if yyl1357 > cap(yyv1357) { - - yyrg1357 := len(yyv1357) > 0 - yyv21357 := yyv1357 - yyrl1357, yyrt1357 = z.DecInferLen(yyl1357, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1357 { - if yyrl1357 <= cap(yyv1357) { - yyv1357 = yyv1357[:yyrl1357] - } else { - yyv1357 = make([]CustomMetricCurrentStatus, yyrl1357) - } - } else { - yyv1357 = make([]CustomMetricCurrentStatus, yyrl1357) - } - yyc1357 = true - yyrr1357 = len(yyv1357) - if yyrg1357 { - copy(yyv1357, yyv21357) - } - } else if yyl1357 != len(yyv1357) { - yyv1357 = yyv1357[:yyl1357] - yyc1357 = true - } - yyj1357 := 0 - for ; yyj1357 < yyrr1357; yyj1357++ { - yyh1357.ElemContainerState(yyj1357) - if r.TryDecodeAsNil() { - yyv1357[yyj1357] = CustomMetricCurrentStatus{} - } else { - yyv1358 := &yyv1357[yyj1357] - yyv1358.CodecDecodeSelf(d) - } - - } - if yyrt1357 { - for ; yyj1357 < yyl1357; yyj1357++ { - yyv1357 = append(yyv1357, CustomMetricCurrentStatus{}) - yyh1357.ElemContainerState(yyj1357) - if r.TryDecodeAsNil() { - yyv1357[yyj1357] = CustomMetricCurrentStatus{} - } else { - yyv1359 := &yyv1357[yyj1357] - yyv1359.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1357 := 0 - for ; !r.CheckBreak(); yyj1357++ { - - if yyj1357 >= len(yyv1357) { - yyv1357 = append(yyv1357, CustomMetricCurrentStatus{}) // var yyz1357 CustomMetricCurrentStatus - yyc1357 = true - } - yyh1357.ElemContainerState(yyj1357) - if yyj1357 < len(yyv1357) { - if r.TryDecodeAsNil() { - yyv1357[yyj1357] = CustomMetricCurrentStatus{} - } else { - yyv1360 := &yyv1357[yyj1357] - yyv1360.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1357 < len(yyv1357) { - yyv1357 = yyv1357[:yyj1357] - yyc1357 = true - } else if yyj1357 == 0 && yyv1357 == nil { - yyv1357 = []CustomMetricCurrentStatus{} - yyc1357 = true - } - } - yyh1357.End() - if yyc1357 { - *v = yyv1357 - } -} - -func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1361 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1362 := &yyv1361 - yy1362.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1363 := *v - yyh1363, yyl1363 := z.DecSliceHelperStart() - var yyc1363 bool - if yyl1363 == 0 { - if yyv1363 == nil { - yyv1363 = []APIVersion{} - yyc1363 = true - } else if len(yyv1363) != 0 { - yyv1363 = yyv1363[:0] - yyc1363 = true - } - } else if yyl1363 > 0 { - var yyrr1363, yyrl1363 int - var yyrt1363 bool - if yyl1363 > cap(yyv1363) { - - yyrg1363 := len(yyv1363) > 0 - yyv21363 := yyv1363 - yyrl1363, yyrt1363 = z.DecInferLen(yyl1363, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1363 { - if yyrl1363 <= cap(yyv1363) { - yyv1363 = yyv1363[:yyrl1363] - } else { - yyv1363 = make([]APIVersion, yyrl1363) - } - } else { - yyv1363 = make([]APIVersion, yyrl1363) - } - yyc1363 = true - yyrr1363 = len(yyv1363) - if yyrg1363 { - copy(yyv1363, yyv21363) - } - } else if yyl1363 != len(yyv1363) { - yyv1363 = yyv1363[:yyl1363] - yyc1363 = true - } - yyj1363 := 0 - for ; yyj1363 < yyrr1363; yyj1363++ { - yyh1363.ElemContainerState(yyj1363) - if r.TryDecodeAsNil() { - yyv1363[yyj1363] = APIVersion{} - } else { - yyv1364 := &yyv1363[yyj1363] - yyv1364.CodecDecodeSelf(d) - } - - } - if yyrt1363 { - for ; yyj1363 < yyl1363; yyj1363++ { - yyv1363 = append(yyv1363, APIVersion{}) - yyh1363.ElemContainerState(yyj1363) - if r.TryDecodeAsNil() { - yyv1363[yyj1363] = APIVersion{} - } else { - yyv1365 := &yyv1363[yyj1363] - yyv1365.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1363 := 0 - for ; !r.CheckBreak(); yyj1363++ { - - if yyj1363 >= len(yyv1363) { - yyv1363 = append(yyv1363, APIVersion{}) // var yyz1363 APIVersion - yyc1363 = true - } - yyh1363.ElemContainerState(yyj1363) - if yyj1363 < len(yyv1363) { - if r.TryDecodeAsNil() { - yyv1363[yyj1363] = APIVersion{} - } else { - yyv1366 := &yyv1363[yyj1363] - yyv1366.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1363 < len(yyv1363) { - yyv1363 = yyv1363[:yyj1363] - yyc1363 = true - } else if yyj1363 == 0 && yyv1363 == nil { - yyv1363 = []APIVersion{} - yyc1363 = true - } - } - yyh1363.End() - if yyc1363 { - *v = yyv1363 - } -} - -func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1367 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1368 := &yyv1367 - yy1368.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1369 := *v - yyh1369, yyl1369 := z.DecSliceHelperStart() - var yyc1369 bool - if yyl1369 == 0 { - if yyv1369 == nil { - yyv1369 = []ThirdPartyResource{} - yyc1369 = true - } else if len(yyv1369) != 0 { - yyv1369 = yyv1369[:0] - yyc1369 = true - } - } else if yyl1369 > 0 { - var yyrr1369, yyrl1369 int - var yyrt1369 bool - if yyl1369 > cap(yyv1369) { - - yyrg1369 := len(yyv1369) > 0 - yyv21369 := yyv1369 - yyrl1369, yyrt1369 = z.DecInferLen(yyl1369, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1369 { - if yyrl1369 <= cap(yyv1369) { - yyv1369 = yyv1369[:yyrl1369] - } else { - yyv1369 = make([]ThirdPartyResource, yyrl1369) - } - } else { - yyv1369 = make([]ThirdPartyResource, yyrl1369) - } - yyc1369 = true - yyrr1369 = len(yyv1369) - if yyrg1369 { - copy(yyv1369, yyv21369) - } - } else if yyl1369 != len(yyv1369) { - yyv1369 = yyv1369[:yyl1369] - yyc1369 = true - } - yyj1369 := 0 - for ; yyj1369 < yyrr1369; yyj1369++ { - yyh1369.ElemContainerState(yyj1369) - if r.TryDecodeAsNil() { - yyv1369[yyj1369] = ThirdPartyResource{} - } else { - yyv1370 := &yyv1369[yyj1369] - yyv1370.CodecDecodeSelf(d) - } - - } - if yyrt1369 { - for ; yyj1369 < yyl1369; yyj1369++ { - yyv1369 = append(yyv1369, ThirdPartyResource{}) - yyh1369.ElemContainerState(yyj1369) - if r.TryDecodeAsNil() { - yyv1369[yyj1369] = ThirdPartyResource{} - } else { - yyv1371 := &yyv1369[yyj1369] - yyv1371.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1369 := 0 - for ; !r.CheckBreak(); yyj1369++ { - - if yyj1369 >= len(yyv1369) { - yyv1369 = append(yyv1369, ThirdPartyResource{}) // var yyz1369 ThirdPartyResource - yyc1369 = true - } - yyh1369.ElemContainerState(yyj1369) - if yyj1369 < len(yyv1369) { - if r.TryDecodeAsNil() { - yyv1369[yyj1369] = ThirdPartyResource{} - } else { - yyv1372 := &yyv1369[yyj1369] - yyv1372.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1369 < len(yyv1369) { - yyv1369 = yyv1369[:yyj1369] - yyc1369 = true - } else if yyj1369 == 0 && yyv1369 == nil { - yyv1369 = []ThirdPartyResource{} - yyc1369 = true - } - } - yyh1369.End() - if yyc1369 { - *v = yyv1369 - } -} - -func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1373 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1374 := &yyv1373 - yy1374.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1375 := *v - yyh1375, yyl1375 := z.DecSliceHelperStart() - var yyc1375 bool - if yyl1375 == 0 { - if yyv1375 == nil { - yyv1375 = []Deployment{} - yyc1375 = true - } else if len(yyv1375) != 0 { - yyv1375 = yyv1375[:0] - yyc1375 = true - } - } else if yyl1375 > 0 { - var yyrr1375, yyrl1375 int - var yyrt1375 bool - if yyl1375 > cap(yyv1375) { - - yyrg1375 := len(yyv1375) > 0 - yyv21375 := yyv1375 - yyrl1375, yyrt1375 = z.DecInferLen(yyl1375, z.DecBasicHandle().MaxInitLen, 800) - if yyrt1375 { - if yyrl1375 <= cap(yyv1375) { - yyv1375 = yyv1375[:yyrl1375] - } else { - yyv1375 = make([]Deployment, yyrl1375) - } - } else { - yyv1375 = make([]Deployment, yyrl1375) - } - yyc1375 = true - yyrr1375 = len(yyv1375) - if yyrg1375 { - copy(yyv1375, yyv21375) - } - } else if yyl1375 != len(yyv1375) { - yyv1375 = yyv1375[:yyl1375] - yyc1375 = true - } - yyj1375 := 0 - for ; yyj1375 < yyrr1375; yyj1375++ { - yyh1375.ElemContainerState(yyj1375) - if r.TryDecodeAsNil() { - yyv1375[yyj1375] = Deployment{} - } else { - yyv1376 := &yyv1375[yyj1375] - yyv1376.CodecDecodeSelf(d) - } - - } - if yyrt1375 { - for ; yyj1375 < yyl1375; yyj1375++ { - yyv1375 = append(yyv1375, Deployment{}) - yyh1375.ElemContainerState(yyj1375) - if r.TryDecodeAsNil() { - yyv1375[yyj1375] = Deployment{} - } else { - yyv1377 := &yyv1375[yyj1375] - yyv1377.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1375 := 0 - for ; !r.CheckBreak(); yyj1375++ { - - if yyj1375 >= len(yyv1375) { - yyv1375 = append(yyv1375, Deployment{}) // var yyz1375 Deployment - yyc1375 = true - } - yyh1375.ElemContainerState(yyj1375) - if yyj1375 < len(yyv1375) { - if r.TryDecodeAsNil() { - yyv1375[yyj1375] = Deployment{} - } else { - yyv1378 := &yyv1375[yyj1375] - yyv1378.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1375 < len(yyv1375) { - yyv1375 = yyv1375[:yyj1375] - yyc1375 = true - } else if yyj1375 == 0 && yyv1375 == nil { - yyv1375 = []Deployment{} - yyc1375 = true - } - } - yyh1375.End() - if yyc1375 { - *v = yyv1375 - } -} - -func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1379 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1380 := &yyv1379 - yy1380.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1381 := *v - yyh1381, yyl1381 := z.DecSliceHelperStart() - var yyc1381 bool - if yyl1381 == 0 { - if yyv1381 == nil { - yyv1381 = []DaemonSet{} - yyc1381 = true - } else if len(yyv1381) != 0 { - yyv1381 = yyv1381[:0] - yyc1381 = true - } - } else if yyl1381 > 0 { - var yyrr1381, yyrl1381 int - var yyrt1381 bool - if yyl1381 > cap(yyv1381) { - - yyrg1381 := len(yyv1381) > 0 - yyv21381 := yyv1381 - yyrl1381, yyrt1381 = z.DecInferLen(yyl1381, z.DecBasicHandle().MaxInitLen, 728) - if yyrt1381 { - if yyrl1381 <= cap(yyv1381) { - yyv1381 = yyv1381[:yyrl1381] - } else { - yyv1381 = make([]DaemonSet, yyrl1381) - } - } else { - yyv1381 = make([]DaemonSet, yyrl1381) - } - yyc1381 = true - yyrr1381 = len(yyv1381) - if yyrg1381 { - copy(yyv1381, yyv21381) - } - } else if yyl1381 != len(yyv1381) { - yyv1381 = yyv1381[:yyl1381] - yyc1381 = true - } - yyj1381 := 0 - for ; yyj1381 < yyrr1381; yyj1381++ { - yyh1381.ElemContainerState(yyj1381) - if r.TryDecodeAsNil() { - yyv1381[yyj1381] = DaemonSet{} - } else { - yyv1382 := &yyv1381[yyj1381] - yyv1382.CodecDecodeSelf(d) - } - - } - if yyrt1381 { - for ; yyj1381 < yyl1381; yyj1381++ { - yyv1381 = append(yyv1381, DaemonSet{}) - yyh1381.ElemContainerState(yyj1381) - if r.TryDecodeAsNil() { - yyv1381[yyj1381] = DaemonSet{} - } else { - yyv1383 := &yyv1381[yyj1381] - yyv1383.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1381 := 0 - for ; !r.CheckBreak(); yyj1381++ { - - if yyj1381 >= len(yyv1381) { - yyv1381 = append(yyv1381, DaemonSet{}) // var yyz1381 DaemonSet - yyc1381 = true - } - yyh1381.ElemContainerState(yyj1381) - if yyj1381 < len(yyv1381) { - if r.TryDecodeAsNil() { - yyv1381[yyj1381] = DaemonSet{} - } else { - yyv1384 := &yyv1381[yyj1381] - yyv1384.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1381 < len(yyv1381) { - yyv1381 = yyv1381[:yyj1381] - yyc1381 = true - } else if yyj1381 == 0 && yyv1381 == nil { - yyv1381 = []DaemonSet{} - yyc1381 = true - } - } - yyh1381.End() - if yyc1381 { - *v = yyv1381 - } -} - -func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceData, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1385 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1386 := &yyv1385 - yy1386.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceData, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1387 := *v - yyh1387, yyl1387 := z.DecSliceHelperStart() - var yyc1387 bool - if yyl1387 == 0 { - if yyv1387 == nil { - yyv1387 = []ThirdPartyResourceData{} - yyc1387 = true - } else if len(yyv1387) != 0 { - yyv1387 = yyv1387[:0] - yyc1387 = true - } - } else if yyl1387 > 0 { - var yyrr1387, yyrl1387 int - var yyrt1387 bool - if yyl1387 > cap(yyv1387) { - - yyrg1387 := len(yyv1387) > 0 - yyv21387 := yyv1387 - yyrl1387, yyrt1387 = z.DecInferLen(yyl1387, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1387 { - if yyrl1387 <= cap(yyv1387) { - yyv1387 = yyv1387[:yyrl1387] - } else { - yyv1387 = make([]ThirdPartyResourceData, yyrl1387) - } - } else { - yyv1387 = make([]ThirdPartyResourceData, yyrl1387) - } - yyc1387 = true - yyrr1387 = len(yyv1387) - if yyrg1387 { - copy(yyv1387, yyv21387) - } - } else if yyl1387 != len(yyv1387) { - yyv1387 = yyv1387[:yyl1387] - yyc1387 = true - } - yyj1387 := 0 - for ; yyj1387 < yyrr1387; yyj1387++ { - yyh1387.ElemContainerState(yyj1387) - if r.TryDecodeAsNil() { - yyv1387[yyj1387] = ThirdPartyResourceData{} - } else { - yyv1388 := &yyv1387[yyj1387] - yyv1388.CodecDecodeSelf(d) - } - - } - if yyrt1387 { - for ; yyj1387 < yyl1387; yyj1387++ { - yyv1387 = append(yyv1387, ThirdPartyResourceData{}) - yyh1387.ElemContainerState(yyj1387) - if r.TryDecodeAsNil() { - yyv1387[yyj1387] = ThirdPartyResourceData{} - } else { - yyv1389 := &yyv1387[yyj1387] - yyv1389.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1387 := 0 - for ; !r.CheckBreak(); yyj1387++ { - - if yyj1387 >= len(yyv1387) { - yyv1387 = append(yyv1387, ThirdPartyResourceData{}) // var yyz1387 ThirdPartyResourceData - yyc1387 = true - } - yyh1387.ElemContainerState(yyj1387) - if yyj1387 < len(yyv1387) { - if r.TryDecodeAsNil() { - yyv1387[yyj1387] = ThirdPartyResourceData{} - } else { - yyv1390 := &yyv1387[yyj1387] - yyv1390.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1387 < len(yyv1387) { - yyv1387 = yyv1387[:yyj1387] - yyc1387 = true - } else if yyj1387 == 0 && yyv1387 == nil { - yyv1387 = []ThirdPartyResourceData{} - yyc1387 = true - } - } - yyh1387.End() - if yyc1387 { - *v = yyv1387 - } -} - -func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1391 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1392 := &yyv1391 - yy1392.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1393 := *v - yyh1393, yyl1393 := z.DecSliceHelperStart() - var yyc1393 bool - if yyl1393 == 0 { - if yyv1393 == nil { - yyv1393 = []Ingress{} - yyc1393 = true - } else if len(yyv1393) != 0 { - yyv1393 = yyv1393[:0] - yyc1393 = true - } - } else if yyl1393 > 0 { - var yyrr1393, yyrl1393 int - var yyrt1393 bool - if yyl1393 > cap(yyv1393) { - - yyrg1393 := len(yyv1393) > 0 - yyv21393 := yyv1393 - yyrl1393, yyrt1393 = z.DecInferLen(yyl1393, z.DecBasicHandle().MaxInitLen, 336) - if yyrt1393 { - if yyrl1393 <= cap(yyv1393) { - yyv1393 = yyv1393[:yyrl1393] - } else { - yyv1393 = make([]Ingress, yyrl1393) - } - } else { - yyv1393 = make([]Ingress, yyrl1393) - } - yyc1393 = true - yyrr1393 = len(yyv1393) - if yyrg1393 { - copy(yyv1393, yyv21393) - } - } else if yyl1393 != len(yyv1393) { - yyv1393 = yyv1393[:yyl1393] - yyc1393 = true - } - yyj1393 := 0 - for ; yyj1393 < yyrr1393; yyj1393++ { - yyh1393.ElemContainerState(yyj1393) - if r.TryDecodeAsNil() { - yyv1393[yyj1393] = Ingress{} - } else { - yyv1394 := &yyv1393[yyj1393] - yyv1394.CodecDecodeSelf(d) - } - - } - if yyrt1393 { - for ; yyj1393 < yyl1393; yyj1393++ { - yyv1393 = append(yyv1393, Ingress{}) - yyh1393.ElemContainerState(yyj1393) - if r.TryDecodeAsNil() { - yyv1393[yyj1393] = Ingress{} - } else { - yyv1395 := &yyv1393[yyj1393] - yyv1395.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1393 := 0 - for ; !r.CheckBreak(); yyj1393++ { - - if yyj1393 >= len(yyv1393) { - yyv1393 = append(yyv1393, Ingress{}) // var yyz1393 Ingress - yyc1393 = true - } - yyh1393.ElemContainerState(yyj1393) - if yyj1393 < len(yyv1393) { - if r.TryDecodeAsNil() { - yyv1393[yyj1393] = Ingress{} - } else { - yyv1396 := &yyv1393[yyj1393] - yyv1396.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1393 < len(yyv1393) { - yyv1393 = yyv1393[:yyj1393] - yyc1393 = true - } else if yyj1393 == 0 && yyv1393 == nil { - yyv1393 = []Ingress{} - yyc1393 = true - } - } - yyh1393.End() - if yyc1393 { - *v = yyv1393 - } -} - -func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1397 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1398 := &yyv1397 - yy1398.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1399 := *v - yyh1399, yyl1399 := z.DecSliceHelperStart() - var yyc1399 bool - if yyl1399 == 0 { - if yyv1399 == nil { - yyv1399 = []IngressTLS{} - yyc1399 = true - } else if len(yyv1399) != 0 { - yyv1399 = yyv1399[:0] - yyc1399 = true - } - } else if yyl1399 > 0 { - var yyrr1399, yyrl1399 int - var yyrt1399 bool - if yyl1399 > cap(yyv1399) { - - yyrg1399 := len(yyv1399) > 0 - yyv21399 := yyv1399 - yyrl1399, yyrt1399 = z.DecInferLen(yyl1399, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1399 { - if yyrl1399 <= cap(yyv1399) { - yyv1399 = yyv1399[:yyrl1399] - } else { - yyv1399 = make([]IngressTLS, yyrl1399) - } - } else { - yyv1399 = make([]IngressTLS, yyrl1399) - } - yyc1399 = true - yyrr1399 = len(yyv1399) - if yyrg1399 { - copy(yyv1399, yyv21399) - } - } else if yyl1399 != len(yyv1399) { - yyv1399 = yyv1399[:yyl1399] - yyc1399 = true - } - yyj1399 := 0 - for ; yyj1399 < yyrr1399; yyj1399++ { - yyh1399.ElemContainerState(yyj1399) - if r.TryDecodeAsNil() { - yyv1399[yyj1399] = IngressTLS{} - } else { - yyv1400 := &yyv1399[yyj1399] - yyv1400.CodecDecodeSelf(d) - } - - } - if yyrt1399 { - for ; yyj1399 < yyl1399; yyj1399++ { - yyv1399 = append(yyv1399, IngressTLS{}) - yyh1399.ElemContainerState(yyj1399) - if r.TryDecodeAsNil() { - yyv1399[yyj1399] = IngressTLS{} - } else { - yyv1401 := &yyv1399[yyj1399] - yyv1401.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1399 := 0 - for ; !r.CheckBreak(); yyj1399++ { - - if yyj1399 >= len(yyv1399) { - yyv1399 = append(yyv1399, IngressTLS{}) // var yyz1399 IngressTLS - yyc1399 = true - } - yyh1399.ElemContainerState(yyj1399) - if yyj1399 < len(yyv1399) { - if r.TryDecodeAsNil() { - yyv1399[yyj1399] = IngressTLS{} - } else { - yyv1402 := &yyv1399[yyj1399] - yyv1402.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1399 < len(yyv1399) { - yyv1399 = yyv1399[:yyj1399] - yyc1399 = true - } else if yyj1399 == 0 && yyv1399 == nil { - yyv1399 = []IngressTLS{} - yyc1399 = true - } - } - yyh1399.End() - if yyc1399 { - *v = yyv1399 - } -} - -func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1403 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1404 := &yyv1403 - yy1404.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1405 := *v - yyh1405, yyl1405 := z.DecSliceHelperStart() - var yyc1405 bool - if yyl1405 == 0 { - if yyv1405 == nil { - yyv1405 = []IngressRule{} - yyc1405 = true - } else if len(yyv1405) != 0 { - yyv1405 = yyv1405[:0] - yyc1405 = true - } - } else if yyl1405 > 0 { - var yyrr1405, yyrl1405 int - var yyrt1405 bool - if yyl1405 > cap(yyv1405) { - - yyrg1405 := len(yyv1405) > 0 - yyv21405 := yyv1405 - yyrl1405, yyrt1405 = z.DecInferLen(yyl1405, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1405 { - if yyrl1405 <= cap(yyv1405) { - yyv1405 = yyv1405[:yyrl1405] - } else { - yyv1405 = make([]IngressRule, yyrl1405) - } - } else { - yyv1405 = make([]IngressRule, yyrl1405) - } - yyc1405 = true - yyrr1405 = len(yyv1405) - if yyrg1405 { - copy(yyv1405, yyv21405) - } - } else if yyl1405 != len(yyv1405) { - yyv1405 = yyv1405[:yyl1405] - yyc1405 = true - } - yyj1405 := 0 - for ; yyj1405 < yyrr1405; yyj1405++ { - yyh1405.ElemContainerState(yyj1405) - if r.TryDecodeAsNil() { - yyv1405[yyj1405] = IngressRule{} - } else { - yyv1406 := &yyv1405[yyj1405] - yyv1406.CodecDecodeSelf(d) - } - - } - if yyrt1405 { - for ; yyj1405 < yyl1405; yyj1405++ { - yyv1405 = append(yyv1405, IngressRule{}) - yyh1405.ElemContainerState(yyj1405) - if r.TryDecodeAsNil() { - yyv1405[yyj1405] = IngressRule{} - } else { - yyv1407 := &yyv1405[yyj1405] - yyv1407.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1405 := 0 - for ; !r.CheckBreak(); yyj1405++ { - - if yyj1405 >= len(yyv1405) { - yyv1405 = append(yyv1405, IngressRule{}) // var yyz1405 IngressRule - yyc1405 = true - } - yyh1405.ElemContainerState(yyj1405) - if yyj1405 < len(yyv1405) { - if r.TryDecodeAsNil() { - yyv1405[yyj1405] = IngressRule{} - } else { - yyv1408 := &yyv1405[yyj1405] - yyv1408.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1405 < len(yyv1405) { - yyv1405 = yyv1405[:yyj1405] - yyc1405 = true - } else if yyj1405 == 0 && yyv1405 == nil { - yyv1405 = []IngressRule{} - yyc1405 = true - } - } - yyh1405.End() - if yyc1405 { - *v = yyv1405 - } -} - -func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -17343,7 +16810,7 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -17353,7 +16820,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 var yyc1411 bool if yyl1411 == 0 { if yyv1411 == nil { - yyv1411 = []HTTPIngressPath{} + yyv1411 = []CustomMetricTarget{} yyc1411 = true } else if len(yyv1411) != 0 { yyv1411 = yyv1411[:0] @@ -17366,15 +16833,15 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 yyrg1411 := len(yyv1411) > 0 yyv21411 := yyv1411 - yyrl1411, yyrt1411 = z.DecInferLen(yyl1411, z.DecBasicHandle().MaxInitLen, 64) + yyrl1411, yyrt1411 = z.DecInferLen(yyl1411, z.DecBasicHandle().MaxInitLen, 72) if yyrt1411 { if yyrl1411 <= cap(yyv1411) { yyv1411 = yyv1411[:yyrl1411] } else { - yyv1411 = make([]HTTPIngressPath, yyrl1411) + yyv1411 = make([]CustomMetricTarget, yyrl1411) } } else { - yyv1411 = make([]HTTPIngressPath, yyrl1411) + yyv1411 = make([]CustomMetricTarget, yyrl1411) } yyc1411 = true yyrr1411 = len(yyv1411) @@ -17389,7 +16856,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 for ; yyj1411 < yyrr1411; yyj1411++ { yyh1411.ElemContainerState(yyj1411) if r.TryDecodeAsNil() { - yyv1411[yyj1411] = HTTPIngressPath{} + yyv1411[yyj1411] = CustomMetricTarget{} } else { yyv1412 := &yyv1411[yyj1411] yyv1412.CodecDecodeSelf(d) @@ -17398,10 +16865,10 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } if yyrt1411 { for ; yyj1411 < yyl1411; yyj1411++ { - yyv1411 = append(yyv1411, HTTPIngressPath{}) + yyv1411 = append(yyv1411, CustomMetricTarget{}) yyh1411.ElemContainerState(yyj1411) if r.TryDecodeAsNil() { - yyv1411[yyj1411] = HTTPIngressPath{} + yyv1411[yyj1411] = CustomMetricTarget{} } else { yyv1413 := &yyv1411[yyj1411] yyv1413.CodecDecodeSelf(d) @@ -17415,13 +16882,13 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 for ; !r.CheckBreak(); yyj1411++ { if yyj1411 >= len(yyv1411) { - yyv1411 = append(yyv1411, HTTPIngressPath{}) // var yyz1411 HTTPIngressPath + yyv1411 = append(yyv1411, CustomMetricTarget{}) // var yyz1411 CustomMetricTarget yyc1411 = true } yyh1411.ElemContainerState(yyj1411) if yyj1411 < len(yyv1411) { if r.TryDecodeAsNil() { - yyv1411[yyj1411] = HTTPIngressPath{} + yyv1411[yyj1411] = CustomMetricTarget{} } else { yyv1414 := &yyv1411[yyj1411] yyv1414.CodecDecodeSelf(d) @@ -17436,7 +16903,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 yyv1411 = yyv1411[:yyj1411] yyc1411 = true } else if yyj1411 == 0 && yyv1411 == nil { - yyv1411 = []HTTPIngressPath{} + yyv1411 = []CustomMetricTarget{} yyc1411 = true } } @@ -17446,7 +16913,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } } -func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurrentStatus, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -17459,7 +16926,7 @@ func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurrentStatus, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -17469,7 +16936,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode var yyc1417 bool if yyl1417 == 0 { if yyv1417 == nil { - yyv1417 = []ReplicaSet{} + yyv1417 = []CustomMetricCurrentStatus{} yyc1417 = true } else if len(yyv1417) != 0 { yyv1417 = yyv1417[:0] @@ -17482,15 +16949,15 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode yyrg1417 := len(yyv1417) > 0 yyv21417 := yyv1417 - yyrl1417, yyrt1417 = z.DecInferLen(yyl1417, z.DecBasicHandle().MaxInitLen, 768) + yyrl1417, yyrt1417 = z.DecInferLen(yyl1417, z.DecBasicHandle().MaxInitLen, 72) if yyrt1417 { if yyrl1417 <= cap(yyv1417) { yyv1417 = yyv1417[:yyrl1417] } else { - yyv1417 = make([]ReplicaSet, yyrl1417) + yyv1417 = make([]CustomMetricCurrentStatus, yyrl1417) } } else { - yyv1417 = make([]ReplicaSet, yyrl1417) + yyv1417 = make([]CustomMetricCurrentStatus, yyrl1417) } yyc1417 = true yyrr1417 = len(yyv1417) @@ -17505,7 +16972,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode for ; yyj1417 < yyrr1417; yyj1417++ { yyh1417.ElemContainerState(yyj1417) if r.TryDecodeAsNil() { - yyv1417[yyj1417] = ReplicaSet{} + yyv1417[yyj1417] = CustomMetricCurrentStatus{} } else { yyv1418 := &yyv1417[yyj1417] yyv1418.CodecDecodeSelf(d) @@ -17514,10 +16981,10 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } if yyrt1417 { for ; yyj1417 < yyl1417; yyj1417++ { - yyv1417 = append(yyv1417, ReplicaSet{}) + yyv1417 = append(yyv1417, CustomMetricCurrentStatus{}) yyh1417.ElemContainerState(yyj1417) if r.TryDecodeAsNil() { - yyv1417[yyj1417] = ReplicaSet{} + yyv1417[yyj1417] = CustomMetricCurrentStatus{} } else { yyv1419 := &yyv1417[yyj1417] yyv1419.CodecDecodeSelf(d) @@ -17531,13 +16998,13 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode for ; !r.CheckBreak(); yyj1417++ { if yyj1417 >= len(yyv1417) { - yyv1417 = append(yyv1417, ReplicaSet{}) // var yyz1417 ReplicaSet + yyv1417 = append(yyv1417, CustomMetricCurrentStatus{}) // var yyz1417 CustomMetricCurrentStatus yyc1417 = true } yyh1417.ElemContainerState(yyj1417) if yyj1417 < len(yyv1417) { if r.TryDecodeAsNil() { - yyv1417[yyj1417] = ReplicaSet{} + yyv1417[yyj1417] = CustomMetricCurrentStatus{} } else { yyv1420 := &yyv1417[yyj1417] yyv1420.CodecDecodeSelf(d) @@ -17552,7 +17019,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode yyv1417 = yyv1417[:yyj1417] yyc1417 = true } else if yyj1417 == 0 && yyv1417 == nil { - yyv1417 = []ReplicaSet{} + yyv1417 = []CustomMetricCurrentStatus{} yyc1417 = true } } @@ -17562,7 +17029,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceReplicaSetCondition(v []ReplicaSetCondition, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -17575,7 +17042,7 @@ func (x codecSelfer1234) encSliceReplicaSetCondition(v []ReplicaSetCondition, e z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -17585,7 +17052,7 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d var yyc1423 bool if yyl1423 == 0 { if yyv1423 == nil { - yyv1423 = []ReplicaSetCondition{} + yyv1423 = []APIVersion{} yyc1423 = true } else if len(yyv1423) != 0 { yyv1423 = yyv1423[:0] @@ -17598,15 +17065,15 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d yyrg1423 := len(yyv1423) > 0 yyv21423 := yyv1423 - yyrl1423, yyrt1423 = z.DecInferLen(yyl1423, z.DecBasicHandle().MaxInitLen, 88) + yyrl1423, yyrt1423 = z.DecInferLen(yyl1423, z.DecBasicHandle().MaxInitLen, 16) if yyrt1423 { if yyrl1423 <= cap(yyv1423) { yyv1423 = yyv1423[:yyrl1423] } else { - yyv1423 = make([]ReplicaSetCondition, yyrl1423) + yyv1423 = make([]APIVersion, yyrl1423) } } else { - yyv1423 = make([]ReplicaSetCondition, yyrl1423) + yyv1423 = make([]APIVersion, yyrl1423) } yyc1423 = true yyrr1423 = len(yyv1423) @@ -17621,7 +17088,7 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d for ; yyj1423 < yyrr1423; yyj1423++ { yyh1423.ElemContainerState(yyj1423) if r.TryDecodeAsNil() { - yyv1423[yyj1423] = ReplicaSetCondition{} + yyv1423[yyj1423] = APIVersion{} } else { yyv1424 := &yyv1423[yyj1423] yyv1424.CodecDecodeSelf(d) @@ -17630,10 +17097,10 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d } if yyrt1423 { for ; yyj1423 < yyl1423; yyj1423++ { - yyv1423 = append(yyv1423, ReplicaSetCondition{}) + yyv1423 = append(yyv1423, APIVersion{}) yyh1423.ElemContainerState(yyj1423) if r.TryDecodeAsNil() { - yyv1423[yyj1423] = ReplicaSetCondition{} + yyv1423[yyj1423] = APIVersion{} } else { yyv1425 := &yyv1423[yyj1423] yyv1425.CodecDecodeSelf(d) @@ -17647,13 +17114,13 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d for ; !r.CheckBreak(); yyj1423++ { if yyj1423 >= len(yyv1423) { - yyv1423 = append(yyv1423, ReplicaSetCondition{}) // var yyz1423 ReplicaSetCondition + yyv1423 = append(yyv1423, APIVersion{}) // var yyz1423 APIVersion yyc1423 = true } yyh1423.ElemContainerState(yyj1423) if yyj1423 < len(yyv1423) { if r.TryDecodeAsNil() { - yyv1423[yyj1423] = ReplicaSetCondition{} + yyv1423[yyj1423] = APIVersion{} } else { yyv1426 := &yyv1423[yyj1423] yyv1426.CodecDecodeSelf(d) @@ -17668,7 +17135,7 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d yyv1423 = yyv1423[:yyj1423] yyc1423 = true } else if yyj1423 == 0 && yyv1423 == nil { - yyv1423 = []ReplicaSetCondition{} + yyv1423 = []APIVersion{} yyc1423 = true } } @@ -17678,25 +17145,20 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d } } -func (x codecSelfer1234) encSliceapi_Capability(v []pkg2_api.Capability, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) for _, yyv1427 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1428 := z.EncBinary() - _ = yym1428 - if false { - } else if z.HasExtensions() && z.EncExt(yyv1427) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1427)) - } + yy1428 := &yyv1427 + yy1428.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -17706,7 +17168,7 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod var yyc1429 bool if yyl1429 == 0 { if yyv1429 == nil { - yyv1429 = []pkg2_api.Capability{} + yyv1429 = []ThirdPartyResource{} yyc1429 = true } else if len(yyv1429) != 0 { yyv1429 = yyv1429[:0] @@ -17717,18 +17179,23 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod var yyrt1429 bool if yyl1429 > cap(yyv1429) { - yyrl1429, yyrt1429 = z.DecInferLen(yyl1429, z.DecBasicHandle().MaxInitLen, 16) + yyrg1429 := len(yyv1429) > 0 + yyv21429 := yyv1429 + yyrl1429, yyrt1429 = z.DecInferLen(yyl1429, z.DecBasicHandle().MaxInitLen, 296) if yyrt1429 { if yyrl1429 <= cap(yyv1429) { yyv1429 = yyv1429[:yyrl1429] } else { - yyv1429 = make([]pkg2_api.Capability, yyrl1429) + yyv1429 = make([]ThirdPartyResource, yyrl1429) } } else { - yyv1429 = make([]pkg2_api.Capability, yyrl1429) + yyv1429 = make([]ThirdPartyResource, yyrl1429) } yyc1429 = true yyrr1429 = len(yyv1429) + if yyrg1429 { + copy(yyv1429, yyv21429) + } } else if yyl1429 != len(yyv1429) { yyv1429 = yyv1429[:yyl1429] yyc1429 = true @@ -17737,20 +17204,22 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod for ; yyj1429 < yyrr1429; yyj1429++ { yyh1429.ElemContainerState(yyj1429) if r.TryDecodeAsNil() { - yyv1429[yyj1429] = "" + yyv1429[yyj1429] = ThirdPartyResource{} } else { - yyv1429[yyj1429] = pkg2_api.Capability(r.DecodeString()) + yyv1430 := &yyv1429[yyj1429] + yyv1430.CodecDecodeSelf(d) } } if yyrt1429 { for ; yyj1429 < yyl1429; yyj1429++ { - yyv1429 = append(yyv1429, "") + yyv1429 = append(yyv1429, ThirdPartyResource{}) yyh1429.ElemContainerState(yyj1429) if r.TryDecodeAsNil() { - yyv1429[yyj1429] = "" + yyv1429[yyj1429] = ThirdPartyResource{} } else { - yyv1429[yyj1429] = pkg2_api.Capability(r.DecodeString()) + yyv1431 := &yyv1429[yyj1429] + yyv1431.CodecDecodeSelf(d) } } @@ -17761,15 +17230,16 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod for ; !r.CheckBreak(); yyj1429++ { if yyj1429 >= len(yyv1429) { - yyv1429 = append(yyv1429, "") // var yyz1429 pkg2_api.Capability + yyv1429 = append(yyv1429, ThirdPartyResource{}) // var yyz1429 ThirdPartyResource yyc1429 = true } yyh1429.ElemContainerState(yyj1429) if yyj1429 < len(yyv1429) { if r.TryDecodeAsNil() { - yyv1429[yyj1429] = "" + yyv1429[yyj1429] = ThirdPartyResource{} } else { - yyv1429[yyj1429] = pkg2_api.Capability(r.DecodeString()) + yyv1432 := &yyv1429[yyj1429] + yyv1432.CodecDecodeSelf(d) } } else { @@ -17781,7 +17251,7 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod yyv1429 = yyv1429[:yyj1429] yyc1429 = true } else if yyj1429 == 0 && yyv1429 == nil { - yyv1429 = []pkg2_api.Capability{} + yyv1429 = []ThirdPartyResource{} yyc1429 = true } } @@ -17791,14 +17261,1287 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod } } -func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceDeploymentCondition(v []DeploymentCondition, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) for _, yyv1433 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1433.CodecEncodeSelf(e) + yy1434 := &yyv1433 + yy1434.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceDeploymentCondition(v *[]DeploymentCondition, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1435 := *v + yyh1435, yyl1435 := z.DecSliceHelperStart() + var yyc1435 bool + if yyl1435 == 0 { + if yyv1435 == nil { + yyv1435 = []DeploymentCondition{} + yyc1435 = true + } else if len(yyv1435) != 0 { + yyv1435 = yyv1435[:0] + yyc1435 = true + } + } else if yyl1435 > 0 { + var yyrr1435, yyrl1435 int + var yyrt1435 bool + if yyl1435 > cap(yyv1435) { + + yyrg1435 := len(yyv1435) > 0 + yyv21435 := yyv1435 + yyrl1435, yyrt1435 = z.DecInferLen(yyl1435, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1435 { + if yyrl1435 <= cap(yyv1435) { + yyv1435 = yyv1435[:yyrl1435] + } else { + yyv1435 = make([]DeploymentCondition, yyrl1435) + } + } else { + yyv1435 = make([]DeploymentCondition, yyrl1435) + } + yyc1435 = true + yyrr1435 = len(yyv1435) + if yyrg1435 { + copy(yyv1435, yyv21435) + } + } else if yyl1435 != len(yyv1435) { + yyv1435 = yyv1435[:yyl1435] + yyc1435 = true + } + yyj1435 := 0 + for ; yyj1435 < yyrr1435; yyj1435++ { + yyh1435.ElemContainerState(yyj1435) + if r.TryDecodeAsNil() { + yyv1435[yyj1435] = DeploymentCondition{} + } else { + yyv1436 := &yyv1435[yyj1435] + yyv1436.CodecDecodeSelf(d) + } + + } + if yyrt1435 { + for ; yyj1435 < yyl1435; yyj1435++ { + yyv1435 = append(yyv1435, DeploymentCondition{}) + yyh1435.ElemContainerState(yyj1435) + if r.TryDecodeAsNil() { + yyv1435[yyj1435] = DeploymentCondition{} + } else { + yyv1437 := &yyv1435[yyj1435] + yyv1437.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1435 := 0 + for ; !r.CheckBreak(); yyj1435++ { + + if yyj1435 >= len(yyv1435) { + yyv1435 = append(yyv1435, DeploymentCondition{}) // var yyz1435 DeploymentCondition + yyc1435 = true + } + yyh1435.ElemContainerState(yyj1435) + if yyj1435 < len(yyv1435) { + if r.TryDecodeAsNil() { + yyv1435[yyj1435] = DeploymentCondition{} + } else { + yyv1438 := &yyv1435[yyj1435] + yyv1438.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1435 < len(yyv1435) { + yyv1435 = yyv1435[:yyj1435] + yyc1435 = true + } else if yyj1435 == 0 && yyv1435 == nil { + yyv1435 = []DeploymentCondition{} + yyc1435 = true + } + } + yyh1435.End() + if yyc1435 { + *v = yyv1435 + } +} + +func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1439 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1440 := &yyv1439 + yy1440.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1441 := *v + yyh1441, yyl1441 := z.DecSliceHelperStart() + var yyc1441 bool + if yyl1441 == 0 { + if yyv1441 == nil { + yyv1441 = []Deployment{} + yyc1441 = true + } else if len(yyv1441) != 0 { + yyv1441 = yyv1441[:0] + yyc1441 = true + } + } else if yyl1441 > 0 { + var yyrr1441, yyrl1441 int + var yyrt1441 bool + if yyl1441 > cap(yyv1441) { + + yyrg1441 := len(yyv1441) > 0 + yyv21441 := yyv1441 + yyrl1441, yyrt1441 = z.DecInferLen(yyl1441, z.DecBasicHandle().MaxInitLen, 832) + if yyrt1441 { + if yyrl1441 <= cap(yyv1441) { + yyv1441 = yyv1441[:yyrl1441] + } else { + yyv1441 = make([]Deployment, yyrl1441) + } + } else { + yyv1441 = make([]Deployment, yyrl1441) + } + yyc1441 = true + yyrr1441 = len(yyv1441) + if yyrg1441 { + copy(yyv1441, yyv21441) + } + } else if yyl1441 != len(yyv1441) { + yyv1441 = yyv1441[:yyl1441] + yyc1441 = true + } + yyj1441 := 0 + for ; yyj1441 < yyrr1441; yyj1441++ { + yyh1441.ElemContainerState(yyj1441) + if r.TryDecodeAsNil() { + yyv1441[yyj1441] = Deployment{} + } else { + yyv1442 := &yyv1441[yyj1441] + yyv1442.CodecDecodeSelf(d) + } + + } + if yyrt1441 { + for ; yyj1441 < yyl1441; yyj1441++ { + yyv1441 = append(yyv1441, Deployment{}) + yyh1441.ElemContainerState(yyj1441) + if r.TryDecodeAsNil() { + yyv1441[yyj1441] = Deployment{} + } else { + yyv1443 := &yyv1441[yyj1441] + yyv1443.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1441 := 0 + for ; !r.CheckBreak(); yyj1441++ { + + if yyj1441 >= len(yyv1441) { + yyv1441 = append(yyv1441, Deployment{}) // var yyz1441 Deployment + yyc1441 = true + } + yyh1441.ElemContainerState(yyj1441) + if yyj1441 < len(yyv1441) { + if r.TryDecodeAsNil() { + yyv1441[yyj1441] = Deployment{} + } else { + yyv1444 := &yyv1441[yyj1441] + yyv1444.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1441 < len(yyv1441) { + yyv1441 = yyv1441[:yyj1441] + yyc1441 = true + } else if yyj1441 == 0 && yyv1441 == nil { + yyv1441 = []Deployment{} + yyc1441 = true + } + } + yyh1441.End() + if yyc1441 { + *v = yyv1441 + } +} + +func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1445 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1446 := &yyv1445 + yy1446.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1447 := *v + yyh1447, yyl1447 := z.DecSliceHelperStart() + var yyc1447 bool + if yyl1447 == 0 { + if yyv1447 == nil { + yyv1447 = []DaemonSet{} + yyc1447 = true + } else if len(yyv1447) != 0 { + yyv1447 = yyv1447[:0] + yyc1447 = true + } + } else if yyl1447 > 0 { + var yyrr1447, yyrl1447 int + var yyrt1447 bool + if yyl1447 > cap(yyv1447) { + + yyrg1447 := len(yyv1447) > 0 + yyv21447 := yyv1447 + yyrl1447, yyrt1447 = z.DecInferLen(yyl1447, z.DecBasicHandle().MaxInitLen, 728) + if yyrt1447 { + if yyrl1447 <= cap(yyv1447) { + yyv1447 = yyv1447[:yyrl1447] + } else { + yyv1447 = make([]DaemonSet, yyrl1447) + } + } else { + yyv1447 = make([]DaemonSet, yyrl1447) + } + yyc1447 = true + yyrr1447 = len(yyv1447) + if yyrg1447 { + copy(yyv1447, yyv21447) + } + } else if yyl1447 != len(yyv1447) { + yyv1447 = yyv1447[:yyl1447] + yyc1447 = true + } + yyj1447 := 0 + for ; yyj1447 < yyrr1447; yyj1447++ { + yyh1447.ElemContainerState(yyj1447) + if r.TryDecodeAsNil() { + yyv1447[yyj1447] = DaemonSet{} + } else { + yyv1448 := &yyv1447[yyj1447] + yyv1448.CodecDecodeSelf(d) + } + + } + if yyrt1447 { + for ; yyj1447 < yyl1447; yyj1447++ { + yyv1447 = append(yyv1447, DaemonSet{}) + yyh1447.ElemContainerState(yyj1447) + if r.TryDecodeAsNil() { + yyv1447[yyj1447] = DaemonSet{} + } else { + yyv1449 := &yyv1447[yyj1447] + yyv1449.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1447 := 0 + for ; !r.CheckBreak(); yyj1447++ { + + if yyj1447 >= len(yyv1447) { + yyv1447 = append(yyv1447, DaemonSet{}) // var yyz1447 DaemonSet + yyc1447 = true + } + yyh1447.ElemContainerState(yyj1447) + if yyj1447 < len(yyv1447) { + if r.TryDecodeAsNil() { + yyv1447[yyj1447] = DaemonSet{} + } else { + yyv1450 := &yyv1447[yyj1447] + yyv1450.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1447 < len(yyv1447) { + yyv1447 = yyv1447[:yyj1447] + yyc1447 = true + } else if yyj1447 == 0 && yyv1447 == nil { + yyv1447 = []DaemonSet{} + yyc1447 = true + } + } + yyh1447.End() + if yyc1447 { + *v = yyv1447 + } +} + +func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceData, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1451 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1452 := &yyv1451 + yy1452.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceData, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1453 := *v + yyh1453, yyl1453 := z.DecSliceHelperStart() + var yyc1453 bool + if yyl1453 == 0 { + if yyv1453 == nil { + yyv1453 = []ThirdPartyResourceData{} + yyc1453 = true + } else if len(yyv1453) != 0 { + yyv1453 = yyv1453[:0] + yyc1453 = true + } + } else if yyl1453 > 0 { + var yyrr1453, yyrl1453 int + var yyrt1453 bool + if yyl1453 > cap(yyv1453) { + + yyrg1453 := len(yyv1453) > 0 + yyv21453 := yyv1453 + yyrl1453, yyrt1453 = z.DecInferLen(yyl1453, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1453 { + if yyrl1453 <= cap(yyv1453) { + yyv1453 = yyv1453[:yyrl1453] + } else { + yyv1453 = make([]ThirdPartyResourceData, yyrl1453) + } + } else { + yyv1453 = make([]ThirdPartyResourceData, yyrl1453) + } + yyc1453 = true + yyrr1453 = len(yyv1453) + if yyrg1453 { + copy(yyv1453, yyv21453) + } + } else if yyl1453 != len(yyv1453) { + yyv1453 = yyv1453[:yyl1453] + yyc1453 = true + } + yyj1453 := 0 + for ; yyj1453 < yyrr1453; yyj1453++ { + yyh1453.ElemContainerState(yyj1453) + if r.TryDecodeAsNil() { + yyv1453[yyj1453] = ThirdPartyResourceData{} + } else { + yyv1454 := &yyv1453[yyj1453] + yyv1454.CodecDecodeSelf(d) + } + + } + if yyrt1453 { + for ; yyj1453 < yyl1453; yyj1453++ { + yyv1453 = append(yyv1453, ThirdPartyResourceData{}) + yyh1453.ElemContainerState(yyj1453) + if r.TryDecodeAsNil() { + yyv1453[yyj1453] = ThirdPartyResourceData{} + } else { + yyv1455 := &yyv1453[yyj1453] + yyv1455.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1453 := 0 + for ; !r.CheckBreak(); yyj1453++ { + + if yyj1453 >= len(yyv1453) { + yyv1453 = append(yyv1453, ThirdPartyResourceData{}) // var yyz1453 ThirdPartyResourceData + yyc1453 = true + } + yyh1453.ElemContainerState(yyj1453) + if yyj1453 < len(yyv1453) { + if r.TryDecodeAsNil() { + yyv1453[yyj1453] = ThirdPartyResourceData{} + } else { + yyv1456 := &yyv1453[yyj1453] + yyv1456.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1453 < len(yyv1453) { + yyv1453 = yyv1453[:yyj1453] + yyc1453 = true + } else if yyj1453 == 0 && yyv1453 == nil { + yyv1453 = []ThirdPartyResourceData{} + yyc1453 = true + } + } + yyh1453.End() + if yyc1453 { + *v = yyv1453 + } +} + +func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1457 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1458 := &yyv1457 + yy1458.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1459 := *v + yyh1459, yyl1459 := z.DecSliceHelperStart() + var yyc1459 bool + if yyl1459 == 0 { + if yyv1459 == nil { + yyv1459 = []Ingress{} + yyc1459 = true + } else if len(yyv1459) != 0 { + yyv1459 = yyv1459[:0] + yyc1459 = true + } + } else if yyl1459 > 0 { + var yyrr1459, yyrl1459 int + var yyrt1459 bool + if yyl1459 > cap(yyv1459) { + + yyrg1459 := len(yyv1459) > 0 + yyv21459 := yyv1459 + yyrl1459, yyrt1459 = z.DecInferLen(yyl1459, z.DecBasicHandle().MaxInitLen, 336) + if yyrt1459 { + if yyrl1459 <= cap(yyv1459) { + yyv1459 = yyv1459[:yyrl1459] + } else { + yyv1459 = make([]Ingress, yyrl1459) + } + } else { + yyv1459 = make([]Ingress, yyrl1459) + } + yyc1459 = true + yyrr1459 = len(yyv1459) + if yyrg1459 { + copy(yyv1459, yyv21459) + } + } else if yyl1459 != len(yyv1459) { + yyv1459 = yyv1459[:yyl1459] + yyc1459 = true + } + yyj1459 := 0 + for ; yyj1459 < yyrr1459; yyj1459++ { + yyh1459.ElemContainerState(yyj1459) + if r.TryDecodeAsNil() { + yyv1459[yyj1459] = Ingress{} + } else { + yyv1460 := &yyv1459[yyj1459] + yyv1460.CodecDecodeSelf(d) + } + + } + if yyrt1459 { + for ; yyj1459 < yyl1459; yyj1459++ { + yyv1459 = append(yyv1459, Ingress{}) + yyh1459.ElemContainerState(yyj1459) + if r.TryDecodeAsNil() { + yyv1459[yyj1459] = Ingress{} + } else { + yyv1461 := &yyv1459[yyj1459] + yyv1461.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1459 := 0 + for ; !r.CheckBreak(); yyj1459++ { + + if yyj1459 >= len(yyv1459) { + yyv1459 = append(yyv1459, Ingress{}) // var yyz1459 Ingress + yyc1459 = true + } + yyh1459.ElemContainerState(yyj1459) + if yyj1459 < len(yyv1459) { + if r.TryDecodeAsNil() { + yyv1459[yyj1459] = Ingress{} + } else { + yyv1462 := &yyv1459[yyj1459] + yyv1462.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1459 < len(yyv1459) { + yyv1459 = yyv1459[:yyj1459] + yyc1459 = true + } else if yyj1459 == 0 && yyv1459 == nil { + yyv1459 = []Ingress{} + yyc1459 = true + } + } + yyh1459.End() + if yyc1459 { + *v = yyv1459 + } +} + +func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1463 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1464 := &yyv1463 + yy1464.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1465 := *v + yyh1465, yyl1465 := z.DecSliceHelperStart() + var yyc1465 bool + if yyl1465 == 0 { + if yyv1465 == nil { + yyv1465 = []IngressTLS{} + yyc1465 = true + } else if len(yyv1465) != 0 { + yyv1465 = yyv1465[:0] + yyc1465 = true + } + } else if yyl1465 > 0 { + var yyrr1465, yyrl1465 int + var yyrt1465 bool + if yyl1465 > cap(yyv1465) { + + yyrg1465 := len(yyv1465) > 0 + yyv21465 := yyv1465 + yyrl1465, yyrt1465 = z.DecInferLen(yyl1465, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1465 { + if yyrl1465 <= cap(yyv1465) { + yyv1465 = yyv1465[:yyrl1465] + } else { + yyv1465 = make([]IngressTLS, yyrl1465) + } + } else { + yyv1465 = make([]IngressTLS, yyrl1465) + } + yyc1465 = true + yyrr1465 = len(yyv1465) + if yyrg1465 { + copy(yyv1465, yyv21465) + } + } else if yyl1465 != len(yyv1465) { + yyv1465 = yyv1465[:yyl1465] + yyc1465 = true + } + yyj1465 := 0 + for ; yyj1465 < yyrr1465; yyj1465++ { + yyh1465.ElemContainerState(yyj1465) + if r.TryDecodeAsNil() { + yyv1465[yyj1465] = IngressTLS{} + } else { + yyv1466 := &yyv1465[yyj1465] + yyv1466.CodecDecodeSelf(d) + } + + } + if yyrt1465 { + for ; yyj1465 < yyl1465; yyj1465++ { + yyv1465 = append(yyv1465, IngressTLS{}) + yyh1465.ElemContainerState(yyj1465) + if r.TryDecodeAsNil() { + yyv1465[yyj1465] = IngressTLS{} + } else { + yyv1467 := &yyv1465[yyj1465] + yyv1467.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1465 := 0 + for ; !r.CheckBreak(); yyj1465++ { + + if yyj1465 >= len(yyv1465) { + yyv1465 = append(yyv1465, IngressTLS{}) // var yyz1465 IngressTLS + yyc1465 = true + } + yyh1465.ElemContainerState(yyj1465) + if yyj1465 < len(yyv1465) { + if r.TryDecodeAsNil() { + yyv1465[yyj1465] = IngressTLS{} + } else { + yyv1468 := &yyv1465[yyj1465] + yyv1468.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1465 < len(yyv1465) { + yyv1465 = yyv1465[:yyj1465] + yyc1465 = true + } else if yyj1465 == 0 && yyv1465 == nil { + yyv1465 = []IngressTLS{} + yyc1465 = true + } + } + yyh1465.End() + if yyc1465 { + *v = yyv1465 + } +} + +func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1469 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1470 := &yyv1469 + yy1470.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1471 := *v + yyh1471, yyl1471 := z.DecSliceHelperStart() + var yyc1471 bool + if yyl1471 == 0 { + if yyv1471 == nil { + yyv1471 = []IngressRule{} + yyc1471 = true + } else if len(yyv1471) != 0 { + yyv1471 = yyv1471[:0] + yyc1471 = true + } + } else if yyl1471 > 0 { + var yyrr1471, yyrl1471 int + var yyrt1471 bool + if yyl1471 > cap(yyv1471) { + + yyrg1471 := len(yyv1471) > 0 + yyv21471 := yyv1471 + yyrl1471, yyrt1471 = z.DecInferLen(yyl1471, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1471 { + if yyrl1471 <= cap(yyv1471) { + yyv1471 = yyv1471[:yyrl1471] + } else { + yyv1471 = make([]IngressRule, yyrl1471) + } + } else { + yyv1471 = make([]IngressRule, yyrl1471) + } + yyc1471 = true + yyrr1471 = len(yyv1471) + if yyrg1471 { + copy(yyv1471, yyv21471) + } + } else if yyl1471 != len(yyv1471) { + yyv1471 = yyv1471[:yyl1471] + yyc1471 = true + } + yyj1471 := 0 + for ; yyj1471 < yyrr1471; yyj1471++ { + yyh1471.ElemContainerState(yyj1471) + if r.TryDecodeAsNil() { + yyv1471[yyj1471] = IngressRule{} + } else { + yyv1472 := &yyv1471[yyj1471] + yyv1472.CodecDecodeSelf(d) + } + + } + if yyrt1471 { + for ; yyj1471 < yyl1471; yyj1471++ { + yyv1471 = append(yyv1471, IngressRule{}) + yyh1471.ElemContainerState(yyj1471) + if r.TryDecodeAsNil() { + yyv1471[yyj1471] = IngressRule{} + } else { + yyv1473 := &yyv1471[yyj1471] + yyv1473.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1471 := 0 + for ; !r.CheckBreak(); yyj1471++ { + + if yyj1471 >= len(yyv1471) { + yyv1471 = append(yyv1471, IngressRule{}) // var yyz1471 IngressRule + yyc1471 = true + } + yyh1471.ElemContainerState(yyj1471) + if yyj1471 < len(yyv1471) { + if r.TryDecodeAsNil() { + yyv1471[yyj1471] = IngressRule{} + } else { + yyv1474 := &yyv1471[yyj1471] + yyv1474.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1471 < len(yyv1471) { + yyv1471 = yyv1471[:yyj1471] + yyc1471 = true + } else if yyj1471 == 0 && yyv1471 == nil { + yyv1471 = []IngressRule{} + yyc1471 = true + } + } + yyh1471.End() + if yyc1471 { + *v = yyv1471 + } +} + +func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1475 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1476 := &yyv1475 + yy1476.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1477 := *v + yyh1477, yyl1477 := z.DecSliceHelperStart() + var yyc1477 bool + if yyl1477 == 0 { + if yyv1477 == nil { + yyv1477 = []HTTPIngressPath{} + yyc1477 = true + } else if len(yyv1477) != 0 { + yyv1477 = yyv1477[:0] + yyc1477 = true + } + } else if yyl1477 > 0 { + var yyrr1477, yyrl1477 int + var yyrt1477 bool + if yyl1477 > cap(yyv1477) { + + yyrg1477 := len(yyv1477) > 0 + yyv21477 := yyv1477 + yyrl1477, yyrt1477 = z.DecInferLen(yyl1477, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1477 { + if yyrl1477 <= cap(yyv1477) { + yyv1477 = yyv1477[:yyrl1477] + } else { + yyv1477 = make([]HTTPIngressPath, yyrl1477) + } + } else { + yyv1477 = make([]HTTPIngressPath, yyrl1477) + } + yyc1477 = true + yyrr1477 = len(yyv1477) + if yyrg1477 { + copy(yyv1477, yyv21477) + } + } else if yyl1477 != len(yyv1477) { + yyv1477 = yyv1477[:yyl1477] + yyc1477 = true + } + yyj1477 := 0 + for ; yyj1477 < yyrr1477; yyj1477++ { + yyh1477.ElemContainerState(yyj1477) + if r.TryDecodeAsNil() { + yyv1477[yyj1477] = HTTPIngressPath{} + } else { + yyv1478 := &yyv1477[yyj1477] + yyv1478.CodecDecodeSelf(d) + } + + } + if yyrt1477 { + for ; yyj1477 < yyl1477; yyj1477++ { + yyv1477 = append(yyv1477, HTTPIngressPath{}) + yyh1477.ElemContainerState(yyj1477) + if r.TryDecodeAsNil() { + yyv1477[yyj1477] = HTTPIngressPath{} + } else { + yyv1479 := &yyv1477[yyj1477] + yyv1479.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1477 := 0 + for ; !r.CheckBreak(); yyj1477++ { + + if yyj1477 >= len(yyv1477) { + yyv1477 = append(yyv1477, HTTPIngressPath{}) // var yyz1477 HTTPIngressPath + yyc1477 = true + } + yyh1477.ElemContainerState(yyj1477) + if yyj1477 < len(yyv1477) { + if r.TryDecodeAsNil() { + yyv1477[yyj1477] = HTTPIngressPath{} + } else { + yyv1480 := &yyv1477[yyj1477] + yyv1480.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1477 < len(yyv1477) { + yyv1477 = yyv1477[:yyj1477] + yyc1477 = true + } else if yyj1477 == 0 && yyv1477 == nil { + yyv1477 = []HTTPIngressPath{} + yyc1477 = true + } + } + yyh1477.End() + if yyc1477 { + *v = yyv1477 + } +} + +func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1481 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1482 := &yyv1481 + yy1482.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1483 := *v + yyh1483, yyl1483 := z.DecSliceHelperStart() + var yyc1483 bool + if yyl1483 == 0 { + if yyv1483 == nil { + yyv1483 = []ReplicaSet{} + yyc1483 = true + } else if len(yyv1483) != 0 { + yyv1483 = yyv1483[:0] + yyc1483 = true + } + } else if yyl1483 > 0 { + var yyrr1483, yyrl1483 int + var yyrt1483 bool + if yyl1483 > cap(yyv1483) { + + yyrg1483 := len(yyv1483) > 0 + yyv21483 := yyv1483 + yyrl1483, yyrt1483 = z.DecInferLen(yyl1483, z.DecBasicHandle().MaxInitLen, 768) + if yyrt1483 { + if yyrl1483 <= cap(yyv1483) { + yyv1483 = yyv1483[:yyrl1483] + } else { + yyv1483 = make([]ReplicaSet, yyrl1483) + } + } else { + yyv1483 = make([]ReplicaSet, yyrl1483) + } + yyc1483 = true + yyrr1483 = len(yyv1483) + if yyrg1483 { + copy(yyv1483, yyv21483) + } + } else if yyl1483 != len(yyv1483) { + yyv1483 = yyv1483[:yyl1483] + yyc1483 = true + } + yyj1483 := 0 + for ; yyj1483 < yyrr1483; yyj1483++ { + yyh1483.ElemContainerState(yyj1483) + if r.TryDecodeAsNil() { + yyv1483[yyj1483] = ReplicaSet{} + } else { + yyv1484 := &yyv1483[yyj1483] + yyv1484.CodecDecodeSelf(d) + } + + } + if yyrt1483 { + for ; yyj1483 < yyl1483; yyj1483++ { + yyv1483 = append(yyv1483, ReplicaSet{}) + yyh1483.ElemContainerState(yyj1483) + if r.TryDecodeAsNil() { + yyv1483[yyj1483] = ReplicaSet{} + } else { + yyv1485 := &yyv1483[yyj1483] + yyv1485.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1483 := 0 + for ; !r.CheckBreak(); yyj1483++ { + + if yyj1483 >= len(yyv1483) { + yyv1483 = append(yyv1483, ReplicaSet{}) // var yyz1483 ReplicaSet + yyc1483 = true + } + yyh1483.ElemContainerState(yyj1483) + if yyj1483 < len(yyv1483) { + if r.TryDecodeAsNil() { + yyv1483[yyj1483] = ReplicaSet{} + } else { + yyv1486 := &yyv1483[yyj1483] + yyv1486.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1483 < len(yyv1483) { + yyv1483 = yyv1483[:yyj1483] + yyc1483 = true + } else if yyj1483 == 0 && yyv1483 == nil { + yyv1483 = []ReplicaSet{} + yyc1483 = true + } + } + yyh1483.End() + if yyc1483 { + *v = yyv1483 + } +} + +func (x codecSelfer1234) encSliceReplicaSetCondition(v []ReplicaSetCondition, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1487 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1488 := &yyv1487 + yy1488.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1489 := *v + yyh1489, yyl1489 := z.DecSliceHelperStart() + var yyc1489 bool + if yyl1489 == 0 { + if yyv1489 == nil { + yyv1489 = []ReplicaSetCondition{} + yyc1489 = true + } else if len(yyv1489) != 0 { + yyv1489 = yyv1489[:0] + yyc1489 = true + } + } else if yyl1489 > 0 { + var yyrr1489, yyrl1489 int + var yyrt1489 bool + if yyl1489 > cap(yyv1489) { + + yyrg1489 := len(yyv1489) > 0 + yyv21489 := yyv1489 + yyrl1489, yyrt1489 = z.DecInferLen(yyl1489, z.DecBasicHandle().MaxInitLen, 88) + if yyrt1489 { + if yyrl1489 <= cap(yyv1489) { + yyv1489 = yyv1489[:yyrl1489] + } else { + yyv1489 = make([]ReplicaSetCondition, yyrl1489) + } + } else { + yyv1489 = make([]ReplicaSetCondition, yyrl1489) + } + yyc1489 = true + yyrr1489 = len(yyv1489) + if yyrg1489 { + copy(yyv1489, yyv21489) + } + } else if yyl1489 != len(yyv1489) { + yyv1489 = yyv1489[:yyl1489] + yyc1489 = true + } + yyj1489 := 0 + for ; yyj1489 < yyrr1489; yyj1489++ { + yyh1489.ElemContainerState(yyj1489) + if r.TryDecodeAsNil() { + yyv1489[yyj1489] = ReplicaSetCondition{} + } else { + yyv1490 := &yyv1489[yyj1489] + yyv1490.CodecDecodeSelf(d) + } + + } + if yyrt1489 { + for ; yyj1489 < yyl1489; yyj1489++ { + yyv1489 = append(yyv1489, ReplicaSetCondition{}) + yyh1489.ElemContainerState(yyj1489) + if r.TryDecodeAsNil() { + yyv1489[yyj1489] = ReplicaSetCondition{} + } else { + yyv1491 := &yyv1489[yyj1489] + yyv1491.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1489 := 0 + for ; !r.CheckBreak(); yyj1489++ { + + if yyj1489 >= len(yyv1489) { + yyv1489 = append(yyv1489, ReplicaSetCondition{}) // var yyz1489 ReplicaSetCondition + yyc1489 = true + } + yyh1489.ElemContainerState(yyj1489) + if yyj1489 < len(yyv1489) { + if r.TryDecodeAsNil() { + yyv1489[yyj1489] = ReplicaSetCondition{} + } else { + yyv1492 := &yyv1489[yyj1489] + yyv1492.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1489 < len(yyv1489) { + yyv1489 = yyv1489[:yyj1489] + yyc1489 = true + } else if yyj1489 == 0 && yyv1489 == nil { + yyv1489 = []ReplicaSetCondition{} + yyc1489 = true + } + } + yyh1489.End() + if yyc1489 { + *v = yyv1489 + } +} + +func (x codecSelfer1234) encSliceapi_Capability(v []pkg2_api.Capability, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1493 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1494 := z.EncBinary() + _ = yym1494 + if false { + } else if z.HasExtensions() && z.EncExt(yyv1493) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yyv1493)) + } + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1495 := *v + yyh1495, yyl1495 := z.DecSliceHelperStart() + var yyc1495 bool + if yyl1495 == 0 { + if yyv1495 == nil { + yyv1495 = []pkg2_api.Capability{} + yyc1495 = true + } else if len(yyv1495) != 0 { + yyv1495 = yyv1495[:0] + yyc1495 = true + } + } else if yyl1495 > 0 { + var yyrr1495, yyrl1495 int + var yyrt1495 bool + if yyl1495 > cap(yyv1495) { + + yyrl1495, yyrt1495 = z.DecInferLen(yyl1495, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1495 { + if yyrl1495 <= cap(yyv1495) { + yyv1495 = yyv1495[:yyrl1495] + } else { + yyv1495 = make([]pkg2_api.Capability, yyrl1495) + } + } else { + yyv1495 = make([]pkg2_api.Capability, yyrl1495) + } + yyc1495 = true + yyrr1495 = len(yyv1495) + } else if yyl1495 != len(yyv1495) { + yyv1495 = yyv1495[:yyl1495] + yyc1495 = true + } + yyj1495 := 0 + for ; yyj1495 < yyrr1495; yyj1495++ { + yyh1495.ElemContainerState(yyj1495) + if r.TryDecodeAsNil() { + yyv1495[yyj1495] = "" + } else { + yyv1495[yyj1495] = pkg2_api.Capability(r.DecodeString()) + } + + } + if yyrt1495 { + for ; yyj1495 < yyl1495; yyj1495++ { + yyv1495 = append(yyv1495, "") + yyh1495.ElemContainerState(yyj1495) + if r.TryDecodeAsNil() { + yyv1495[yyj1495] = "" + } else { + yyv1495[yyj1495] = pkg2_api.Capability(r.DecodeString()) + } + + } + } + + } else { + yyj1495 := 0 + for ; !r.CheckBreak(); yyj1495++ { + + if yyj1495 >= len(yyv1495) { + yyv1495 = append(yyv1495, "") // var yyz1495 pkg2_api.Capability + yyc1495 = true + } + yyh1495.ElemContainerState(yyj1495) + if yyj1495 < len(yyv1495) { + if r.TryDecodeAsNil() { + yyv1495[yyj1495] = "" + } else { + yyv1495[yyj1495] = pkg2_api.Capability(r.DecodeString()) + } + + } else { + z.DecSwallow() + } + + } + if yyj1495 < len(yyv1495) { + yyv1495 = yyv1495[:yyj1495] + yyc1495 = true + } else if yyj1495 == 0 && yyv1495 == nil { + yyv1495 = []pkg2_api.Capability{} + yyc1495 = true + } + } + yyh1495.End() + if yyc1495 { + *v = yyv1495 + } +} + +func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1499 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yyv1499.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17808,75 +18551,75 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1434 := *v - yyh1434, yyl1434 := z.DecSliceHelperStart() - var yyc1434 bool - if yyl1434 == 0 { - if yyv1434 == nil { - yyv1434 = []FSType{} - yyc1434 = true - } else if len(yyv1434) != 0 { - yyv1434 = yyv1434[:0] - yyc1434 = true + yyv1500 := *v + yyh1500, yyl1500 := z.DecSliceHelperStart() + var yyc1500 bool + if yyl1500 == 0 { + if yyv1500 == nil { + yyv1500 = []FSType{} + yyc1500 = true + } else if len(yyv1500) != 0 { + yyv1500 = yyv1500[:0] + yyc1500 = true } - } else if yyl1434 > 0 { - var yyrr1434, yyrl1434 int - var yyrt1434 bool - if yyl1434 > cap(yyv1434) { + } else if yyl1500 > 0 { + var yyrr1500, yyrl1500 int + var yyrt1500 bool + if yyl1500 > cap(yyv1500) { - yyrl1434, yyrt1434 = z.DecInferLen(yyl1434, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1434 { - if yyrl1434 <= cap(yyv1434) { - yyv1434 = yyv1434[:yyrl1434] + yyrl1500, yyrt1500 = z.DecInferLen(yyl1500, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1500 { + if yyrl1500 <= cap(yyv1500) { + yyv1500 = yyv1500[:yyrl1500] } else { - yyv1434 = make([]FSType, yyrl1434) + yyv1500 = make([]FSType, yyrl1500) } } else { - yyv1434 = make([]FSType, yyrl1434) + yyv1500 = make([]FSType, yyrl1500) } - yyc1434 = true - yyrr1434 = len(yyv1434) - } else if yyl1434 != len(yyv1434) { - yyv1434 = yyv1434[:yyl1434] - yyc1434 = true + yyc1500 = true + yyrr1500 = len(yyv1500) + } else if yyl1500 != len(yyv1500) { + yyv1500 = yyv1500[:yyl1500] + yyc1500 = true } - yyj1434 := 0 - for ; yyj1434 < yyrr1434; yyj1434++ { - yyh1434.ElemContainerState(yyj1434) + yyj1500 := 0 + for ; yyj1500 < yyrr1500; yyj1500++ { + yyh1500.ElemContainerState(yyj1500) if r.TryDecodeAsNil() { - yyv1434[yyj1434] = "" + yyv1500[yyj1500] = "" } else { - yyv1434[yyj1434] = FSType(r.DecodeString()) + yyv1500[yyj1500] = FSType(r.DecodeString()) } } - if yyrt1434 { - for ; yyj1434 < yyl1434; yyj1434++ { - yyv1434 = append(yyv1434, "") - yyh1434.ElemContainerState(yyj1434) + if yyrt1500 { + for ; yyj1500 < yyl1500; yyj1500++ { + yyv1500 = append(yyv1500, "") + yyh1500.ElemContainerState(yyj1500) if r.TryDecodeAsNil() { - yyv1434[yyj1434] = "" + yyv1500[yyj1500] = "" } else { - yyv1434[yyj1434] = FSType(r.DecodeString()) + yyv1500[yyj1500] = FSType(r.DecodeString()) } } } } else { - yyj1434 := 0 - for ; !r.CheckBreak(); yyj1434++ { + yyj1500 := 0 + for ; !r.CheckBreak(); yyj1500++ { - if yyj1434 >= len(yyv1434) { - yyv1434 = append(yyv1434, "") // var yyz1434 FSType - yyc1434 = true + if yyj1500 >= len(yyv1500) { + yyv1500 = append(yyv1500, "") // var yyz1500 FSType + yyc1500 = true } - yyh1434.ElemContainerState(yyj1434) - if yyj1434 < len(yyv1434) { + yyh1500.ElemContainerState(yyj1500) + if yyj1500 < len(yyv1500) { if r.TryDecodeAsNil() { - yyv1434[yyj1434] = "" + yyv1500[yyj1500] = "" } else { - yyv1434[yyj1434] = FSType(r.DecodeString()) + yyv1500[yyj1500] = FSType(r.DecodeString()) } } else { @@ -17884,17 +18627,17 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { } } - if yyj1434 < len(yyv1434) { - yyv1434 = yyv1434[:yyj1434] - yyc1434 = true - } else if yyj1434 == 0 && yyv1434 == nil { - yyv1434 = []FSType{} - yyc1434 = true + if yyj1500 < len(yyv1500) { + yyv1500 = yyv1500[:yyj1500] + yyc1500 = true + } else if yyj1500 == 0 && yyv1500 == nil { + yyv1500 = []FSType{} + yyc1500 = true } } - yyh1434.End() - if yyc1434 { - *v = yyv1434 + yyh1500.End() + if yyc1500 { + *v = yyv1500 } } @@ -17903,10 +18646,10 @@ func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1438 := range v { + for _, yyv1504 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1439 := &yyv1438 - yy1439.CodecEncodeSelf(e) + yy1505 := &yyv1504 + yy1505.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17916,83 +18659,83 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1440 := *v - yyh1440, yyl1440 := z.DecSliceHelperStart() - var yyc1440 bool - if yyl1440 == 0 { - if yyv1440 == nil { - yyv1440 = []HostPortRange{} - yyc1440 = true - } else if len(yyv1440) != 0 { - yyv1440 = yyv1440[:0] - yyc1440 = true + yyv1506 := *v + yyh1506, yyl1506 := z.DecSliceHelperStart() + var yyc1506 bool + if yyl1506 == 0 { + if yyv1506 == nil { + yyv1506 = []HostPortRange{} + yyc1506 = true + } else if len(yyv1506) != 0 { + yyv1506 = yyv1506[:0] + yyc1506 = true } - } else if yyl1440 > 0 { - var yyrr1440, yyrl1440 int - var yyrt1440 bool - if yyl1440 > cap(yyv1440) { + } else if yyl1506 > 0 { + var yyrr1506, yyrl1506 int + var yyrt1506 bool + if yyl1506 > cap(yyv1506) { - yyrg1440 := len(yyv1440) > 0 - yyv21440 := yyv1440 - yyrl1440, yyrt1440 = z.DecInferLen(yyl1440, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1440 { - if yyrl1440 <= cap(yyv1440) { - yyv1440 = yyv1440[:yyrl1440] + yyrg1506 := len(yyv1506) > 0 + yyv21506 := yyv1506 + yyrl1506, yyrt1506 = z.DecInferLen(yyl1506, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1506 { + if yyrl1506 <= cap(yyv1506) { + yyv1506 = yyv1506[:yyrl1506] } else { - yyv1440 = make([]HostPortRange, yyrl1440) + yyv1506 = make([]HostPortRange, yyrl1506) } } else { - yyv1440 = make([]HostPortRange, yyrl1440) + yyv1506 = make([]HostPortRange, yyrl1506) } - yyc1440 = true - yyrr1440 = len(yyv1440) - if yyrg1440 { - copy(yyv1440, yyv21440) + yyc1506 = true + yyrr1506 = len(yyv1506) + if yyrg1506 { + copy(yyv1506, yyv21506) } - } else if yyl1440 != len(yyv1440) { - yyv1440 = yyv1440[:yyl1440] - yyc1440 = true + } else if yyl1506 != len(yyv1506) { + yyv1506 = yyv1506[:yyl1506] + yyc1506 = true } - yyj1440 := 0 - for ; yyj1440 < yyrr1440; yyj1440++ { - yyh1440.ElemContainerState(yyj1440) + yyj1506 := 0 + for ; yyj1506 < yyrr1506; yyj1506++ { + yyh1506.ElemContainerState(yyj1506) if r.TryDecodeAsNil() { - yyv1440[yyj1440] = HostPortRange{} + yyv1506[yyj1506] = HostPortRange{} } else { - yyv1441 := &yyv1440[yyj1440] - yyv1441.CodecDecodeSelf(d) + yyv1507 := &yyv1506[yyj1506] + yyv1507.CodecDecodeSelf(d) } } - if yyrt1440 { - for ; yyj1440 < yyl1440; yyj1440++ { - yyv1440 = append(yyv1440, HostPortRange{}) - yyh1440.ElemContainerState(yyj1440) + if yyrt1506 { + for ; yyj1506 < yyl1506; yyj1506++ { + yyv1506 = append(yyv1506, HostPortRange{}) + yyh1506.ElemContainerState(yyj1506) if r.TryDecodeAsNil() { - yyv1440[yyj1440] = HostPortRange{} + yyv1506[yyj1506] = HostPortRange{} } else { - yyv1442 := &yyv1440[yyj1440] - yyv1442.CodecDecodeSelf(d) + yyv1508 := &yyv1506[yyj1506] + yyv1508.CodecDecodeSelf(d) } } } } else { - yyj1440 := 0 - for ; !r.CheckBreak(); yyj1440++ { + yyj1506 := 0 + for ; !r.CheckBreak(); yyj1506++ { - if yyj1440 >= len(yyv1440) { - yyv1440 = append(yyv1440, HostPortRange{}) // var yyz1440 HostPortRange - yyc1440 = true + if yyj1506 >= len(yyv1506) { + yyv1506 = append(yyv1506, HostPortRange{}) // var yyz1506 HostPortRange + yyc1506 = true } - yyh1440.ElemContainerState(yyj1440) - if yyj1440 < len(yyv1440) { + yyh1506.ElemContainerState(yyj1506) + if yyj1506 < len(yyv1506) { if r.TryDecodeAsNil() { - yyv1440[yyj1440] = HostPortRange{} + yyv1506[yyj1506] = HostPortRange{} } else { - yyv1443 := &yyv1440[yyj1440] - yyv1443.CodecDecodeSelf(d) + yyv1509 := &yyv1506[yyj1506] + yyv1509.CodecDecodeSelf(d) } } else { @@ -18000,17 +18743,17 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. } } - if yyj1440 < len(yyv1440) { - yyv1440 = yyv1440[:yyj1440] - yyc1440 = true - } else if yyj1440 == 0 && yyv1440 == nil { - yyv1440 = []HostPortRange{} - yyc1440 = true + if yyj1506 < len(yyv1506) { + yyv1506 = yyv1506[:yyj1506] + yyc1506 = true + } else if yyj1506 == 0 && yyv1506 == nil { + yyv1506 = []HostPortRange{} + yyc1506 = true } } - yyh1440.End() - if yyc1440 { - *v = yyv1440 + yyh1506.End() + if yyc1506 { + *v = yyv1506 } } @@ -18019,10 +18762,10 @@ func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1444 := range v { + for _, yyv1510 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1445 := &yyv1444 - yy1445.CodecEncodeSelf(e) + yy1511 := &yyv1510 + yy1511.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18032,83 +18775,83 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1446 := *v - yyh1446, yyl1446 := z.DecSliceHelperStart() - var yyc1446 bool - if yyl1446 == 0 { - if yyv1446 == nil { - yyv1446 = []IDRange{} - yyc1446 = true - } else if len(yyv1446) != 0 { - yyv1446 = yyv1446[:0] - yyc1446 = true + yyv1512 := *v + yyh1512, yyl1512 := z.DecSliceHelperStart() + var yyc1512 bool + if yyl1512 == 0 { + if yyv1512 == nil { + yyv1512 = []IDRange{} + yyc1512 = true + } else if len(yyv1512) != 0 { + yyv1512 = yyv1512[:0] + yyc1512 = true } - } else if yyl1446 > 0 { - var yyrr1446, yyrl1446 int - var yyrt1446 bool - if yyl1446 > cap(yyv1446) { + } else if yyl1512 > 0 { + var yyrr1512, yyrl1512 int + var yyrt1512 bool + if yyl1512 > cap(yyv1512) { - yyrg1446 := len(yyv1446) > 0 - yyv21446 := yyv1446 - yyrl1446, yyrt1446 = z.DecInferLen(yyl1446, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1446 { - if yyrl1446 <= cap(yyv1446) { - yyv1446 = yyv1446[:yyrl1446] + yyrg1512 := len(yyv1512) > 0 + yyv21512 := yyv1512 + yyrl1512, yyrt1512 = z.DecInferLen(yyl1512, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1512 { + if yyrl1512 <= cap(yyv1512) { + yyv1512 = yyv1512[:yyrl1512] } else { - yyv1446 = make([]IDRange, yyrl1446) + yyv1512 = make([]IDRange, yyrl1512) } } else { - yyv1446 = make([]IDRange, yyrl1446) + yyv1512 = make([]IDRange, yyrl1512) } - yyc1446 = true - yyrr1446 = len(yyv1446) - if yyrg1446 { - copy(yyv1446, yyv21446) + yyc1512 = true + yyrr1512 = len(yyv1512) + if yyrg1512 { + copy(yyv1512, yyv21512) } - } else if yyl1446 != len(yyv1446) { - yyv1446 = yyv1446[:yyl1446] - yyc1446 = true + } else if yyl1512 != len(yyv1512) { + yyv1512 = yyv1512[:yyl1512] + yyc1512 = true } - yyj1446 := 0 - for ; yyj1446 < yyrr1446; yyj1446++ { - yyh1446.ElemContainerState(yyj1446) + yyj1512 := 0 + for ; yyj1512 < yyrr1512; yyj1512++ { + yyh1512.ElemContainerState(yyj1512) if r.TryDecodeAsNil() { - yyv1446[yyj1446] = IDRange{} + yyv1512[yyj1512] = IDRange{} } else { - yyv1447 := &yyv1446[yyj1446] - yyv1447.CodecDecodeSelf(d) + yyv1513 := &yyv1512[yyj1512] + yyv1513.CodecDecodeSelf(d) } } - if yyrt1446 { - for ; yyj1446 < yyl1446; yyj1446++ { - yyv1446 = append(yyv1446, IDRange{}) - yyh1446.ElemContainerState(yyj1446) + if yyrt1512 { + for ; yyj1512 < yyl1512; yyj1512++ { + yyv1512 = append(yyv1512, IDRange{}) + yyh1512.ElemContainerState(yyj1512) if r.TryDecodeAsNil() { - yyv1446[yyj1446] = IDRange{} + yyv1512[yyj1512] = IDRange{} } else { - yyv1448 := &yyv1446[yyj1446] - yyv1448.CodecDecodeSelf(d) + yyv1514 := &yyv1512[yyj1512] + yyv1514.CodecDecodeSelf(d) } } } } else { - yyj1446 := 0 - for ; !r.CheckBreak(); yyj1446++ { + yyj1512 := 0 + for ; !r.CheckBreak(); yyj1512++ { - if yyj1446 >= len(yyv1446) { - yyv1446 = append(yyv1446, IDRange{}) // var yyz1446 IDRange - yyc1446 = true + if yyj1512 >= len(yyv1512) { + yyv1512 = append(yyv1512, IDRange{}) // var yyz1512 IDRange + yyc1512 = true } - yyh1446.ElemContainerState(yyj1446) - if yyj1446 < len(yyv1446) { + yyh1512.ElemContainerState(yyj1512) + if yyj1512 < len(yyv1512) { if r.TryDecodeAsNil() { - yyv1446[yyj1446] = IDRange{} + yyv1512[yyj1512] = IDRange{} } else { - yyv1449 := &yyv1446[yyj1446] - yyv1449.CodecDecodeSelf(d) + yyv1515 := &yyv1512[yyj1512] + yyv1515.CodecDecodeSelf(d) } } else { @@ -18116,17 +18859,17 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { } } - if yyj1446 < len(yyv1446) { - yyv1446 = yyv1446[:yyj1446] - yyc1446 = true - } else if yyj1446 == 0 && yyv1446 == nil { - yyv1446 = []IDRange{} - yyc1446 = true + if yyj1512 < len(yyv1512) { + yyv1512 = yyv1512[:yyj1512] + yyc1512 = true + } else if yyj1512 == 0 && yyv1512 == nil { + yyv1512 = []IDRange{} + yyc1512 = true } } - yyh1446.End() - if yyc1446 { - *v = yyv1446 + yyh1512.End() + if yyc1512 { + *v = yyv1512 } } @@ -18135,10 +18878,10 @@ func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1450 := range v { + for _, yyv1516 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1451 := &yyv1450 - yy1451.CodecEncodeSelf(e) + yy1517 := &yyv1516 + yy1517.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18148,83 +18891,83 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1452 := *v - yyh1452, yyl1452 := z.DecSliceHelperStart() - var yyc1452 bool - if yyl1452 == 0 { - if yyv1452 == nil { - yyv1452 = []PodSecurityPolicy{} - yyc1452 = true - } else if len(yyv1452) != 0 { - yyv1452 = yyv1452[:0] - yyc1452 = true + yyv1518 := *v + yyh1518, yyl1518 := z.DecSliceHelperStart() + var yyc1518 bool + if yyl1518 == 0 { + if yyv1518 == nil { + yyv1518 = []PodSecurityPolicy{} + yyc1518 = true + } else if len(yyv1518) != 0 { + yyv1518 = yyv1518[:0] + yyc1518 = true } - } else if yyl1452 > 0 { - var yyrr1452, yyrl1452 int - var yyrt1452 bool - if yyl1452 > cap(yyv1452) { + } else if yyl1518 > 0 { + var yyrr1518, yyrl1518 int + var yyrt1518 bool + if yyl1518 > cap(yyv1518) { - yyrg1452 := len(yyv1452) > 0 - yyv21452 := yyv1452 - yyrl1452, yyrt1452 = z.DecInferLen(yyl1452, z.DecBasicHandle().MaxInitLen, 552) - if yyrt1452 { - if yyrl1452 <= cap(yyv1452) { - yyv1452 = yyv1452[:yyrl1452] + yyrg1518 := len(yyv1518) > 0 + yyv21518 := yyv1518 + yyrl1518, yyrt1518 = z.DecInferLen(yyl1518, z.DecBasicHandle().MaxInitLen, 552) + if yyrt1518 { + if yyrl1518 <= cap(yyv1518) { + yyv1518 = yyv1518[:yyrl1518] } else { - yyv1452 = make([]PodSecurityPolicy, yyrl1452) + yyv1518 = make([]PodSecurityPolicy, yyrl1518) } } else { - yyv1452 = make([]PodSecurityPolicy, yyrl1452) + yyv1518 = make([]PodSecurityPolicy, yyrl1518) } - yyc1452 = true - yyrr1452 = len(yyv1452) - if yyrg1452 { - copy(yyv1452, yyv21452) + yyc1518 = true + yyrr1518 = len(yyv1518) + if yyrg1518 { + copy(yyv1518, yyv21518) } - } else if yyl1452 != len(yyv1452) { - yyv1452 = yyv1452[:yyl1452] - yyc1452 = true + } else if yyl1518 != len(yyv1518) { + yyv1518 = yyv1518[:yyl1518] + yyc1518 = true } - yyj1452 := 0 - for ; yyj1452 < yyrr1452; yyj1452++ { - yyh1452.ElemContainerState(yyj1452) + yyj1518 := 0 + for ; yyj1518 < yyrr1518; yyj1518++ { + yyh1518.ElemContainerState(yyj1518) if r.TryDecodeAsNil() { - yyv1452[yyj1452] = PodSecurityPolicy{} + yyv1518[yyj1518] = PodSecurityPolicy{} } else { - yyv1453 := &yyv1452[yyj1452] - yyv1453.CodecDecodeSelf(d) + yyv1519 := &yyv1518[yyj1518] + yyv1519.CodecDecodeSelf(d) } } - if yyrt1452 { - for ; yyj1452 < yyl1452; yyj1452++ { - yyv1452 = append(yyv1452, PodSecurityPolicy{}) - yyh1452.ElemContainerState(yyj1452) + if yyrt1518 { + for ; yyj1518 < yyl1518; yyj1518++ { + yyv1518 = append(yyv1518, PodSecurityPolicy{}) + yyh1518.ElemContainerState(yyj1518) if r.TryDecodeAsNil() { - yyv1452[yyj1452] = PodSecurityPolicy{} + yyv1518[yyj1518] = PodSecurityPolicy{} } else { - yyv1454 := &yyv1452[yyj1452] - yyv1454.CodecDecodeSelf(d) + yyv1520 := &yyv1518[yyj1518] + yyv1520.CodecDecodeSelf(d) } } } } else { - yyj1452 := 0 - for ; !r.CheckBreak(); yyj1452++ { + yyj1518 := 0 + for ; !r.CheckBreak(); yyj1518++ { - if yyj1452 >= len(yyv1452) { - yyv1452 = append(yyv1452, PodSecurityPolicy{}) // var yyz1452 PodSecurityPolicy - yyc1452 = true + if yyj1518 >= len(yyv1518) { + yyv1518 = append(yyv1518, PodSecurityPolicy{}) // var yyz1518 PodSecurityPolicy + yyc1518 = true } - yyh1452.ElemContainerState(yyj1452) - if yyj1452 < len(yyv1452) { + yyh1518.ElemContainerState(yyj1518) + if yyj1518 < len(yyv1518) { if r.TryDecodeAsNil() { - yyv1452[yyj1452] = PodSecurityPolicy{} + yyv1518[yyj1518] = PodSecurityPolicy{} } else { - yyv1455 := &yyv1452[yyj1452] - yyv1455.CodecDecodeSelf(d) + yyv1521 := &yyv1518[yyj1518] + yyv1521.CodecDecodeSelf(d) } } else { @@ -18232,17 +18975,17 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co } } - if yyj1452 < len(yyv1452) { - yyv1452 = yyv1452[:yyj1452] - yyc1452 = true - } else if yyj1452 == 0 && yyv1452 == nil { - yyv1452 = []PodSecurityPolicy{} - yyc1452 = true + if yyj1518 < len(yyv1518) { + yyv1518 = yyv1518[:yyj1518] + yyc1518 = true + } else if yyj1518 == 0 && yyv1518 == nil { + yyv1518 = []PodSecurityPolicy{} + yyc1518 = true } } - yyh1452.End() - if yyc1452 { - *v = yyv1452 + yyh1518.End() + if yyc1518 { + *v = yyv1518 } } @@ -18251,10 +18994,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1456 := range v { + for _, yyv1522 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1457 := &yyv1456 - yy1457.CodecEncodeSelf(e) + yy1523 := &yyv1522 + yy1523.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18264,83 +19007,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1458 := *v - yyh1458, yyl1458 := z.DecSliceHelperStart() - var yyc1458 bool - if yyl1458 == 0 { - if yyv1458 == nil { - yyv1458 = []NetworkPolicyIngressRule{} - yyc1458 = true - } else if len(yyv1458) != 0 { - yyv1458 = yyv1458[:0] - yyc1458 = true + yyv1524 := *v + yyh1524, yyl1524 := z.DecSliceHelperStart() + var yyc1524 bool + if yyl1524 == 0 { + if yyv1524 == nil { + yyv1524 = []NetworkPolicyIngressRule{} + yyc1524 = true + } else if len(yyv1524) != 0 { + yyv1524 = yyv1524[:0] + yyc1524 = true } - } else if yyl1458 > 0 { - var yyrr1458, yyrl1458 int - var yyrt1458 bool - if yyl1458 > cap(yyv1458) { + } else if yyl1524 > 0 { + var yyrr1524, yyrl1524 int + var yyrt1524 bool + if yyl1524 > cap(yyv1524) { - yyrg1458 := len(yyv1458) > 0 - yyv21458 := yyv1458 - yyrl1458, yyrt1458 = z.DecInferLen(yyl1458, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1458 { - if yyrl1458 <= cap(yyv1458) { - yyv1458 = yyv1458[:yyrl1458] + yyrg1524 := len(yyv1524) > 0 + yyv21524 := yyv1524 + yyrl1524, yyrt1524 = z.DecInferLen(yyl1524, z.DecBasicHandle().MaxInitLen, 48) + if yyrt1524 { + if yyrl1524 <= cap(yyv1524) { + yyv1524 = yyv1524[:yyrl1524] } else { - yyv1458 = make([]NetworkPolicyIngressRule, yyrl1458) + yyv1524 = make([]NetworkPolicyIngressRule, yyrl1524) } } else { - yyv1458 = make([]NetworkPolicyIngressRule, yyrl1458) + yyv1524 = make([]NetworkPolicyIngressRule, yyrl1524) } - yyc1458 = true - yyrr1458 = len(yyv1458) - if yyrg1458 { - copy(yyv1458, yyv21458) + yyc1524 = true + yyrr1524 = len(yyv1524) + if yyrg1524 { + copy(yyv1524, yyv21524) } - } else if yyl1458 != len(yyv1458) { - yyv1458 = yyv1458[:yyl1458] - yyc1458 = true + } else if yyl1524 != len(yyv1524) { + yyv1524 = yyv1524[:yyl1524] + yyc1524 = true } - yyj1458 := 0 - for ; yyj1458 < yyrr1458; yyj1458++ { - yyh1458.ElemContainerState(yyj1458) + yyj1524 := 0 + for ; yyj1524 < yyrr1524; yyj1524++ { + yyh1524.ElemContainerState(yyj1524) if r.TryDecodeAsNil() { - yyv1458[yyj1458] = NetworkPolicyIngressRule{} + yyv1524[yyj1524] = NetworkPolicyIngressRule{} } else { - yyv1459 := &yyv1458[yyj1458] - yyv1459.CodecDecodeSelf(d) + yyv1525 := &yyv1524[yyj1524] + yyv1525.CodecDecodeSelf(d) } } - if yyrt1458 { - for ; yyj1458 < yyl1458; yyj1458++ { - yyv1458 = append(yyv1458, NetworkPolicyIngressRule{}) - yyh1458.ElemContainerState(yyj1458) + if yyrt1524 { + for ; yyj1524 < yyl1524; yyj1524++ { + yyv1524 = append(yyv1524, NetworkPolicyIngressRule{}) + yyh1524.ElemContainerState(yyj1524) if r.TryDecodeAsNil() { - yyv1458[yyj1458] = NetworkPolicyIngressRule{} + yyv1524[yyj1524] = NetworkPolicyIngressRule{} } else { - yyv1460 := &yyv1458[yyj1458] - yyv1460.CodecDecodeSelf(d) + yyv1526 := &yyv1524[yyj1524] + yyv1526.CodecDecodeSelf(d) } } } } else { - yyj1458 := 0 - for ; !r.CheckBreak(); yyj1458++ { + yyj1524 := 0 + for ; !r.CheckBreak(); yyj1524++ { - if yyj1458 >= len(yyv1458) { - yyv1458 = append(yyv1458, NetworkPolicyIngressRule{}) // var yyz1458 NetworkPolicyIngressRule - yyc1458 = true + if yyj1524 >= len(yyv1524) { + yyv1524 = append(yyv1524, NetworkPolicyIngressRule{}) // var yyz1524 NetworkPolicyIngressRule + yyc1524 = true } - yyh1458.ElemContainerState(yyj1458) - if yyj1458 < len(yyv1458) { + yyh1524.ElemContainerState(yyj1524) + if yyj1524 < len(yyv1524) { if r.TryDecodeAsNil() { - yyv1458[yyj1458] = NetworkPolicyIngressRule{} + yyv1524[yyj1524] = NetworkPolicyIngressRule{} } else { - yyv1461 := &yyv1458[yyj1458] - yyv1461.CodecDecodeSelf(d) + yyv1527 := &yyv1524[yyj1524] + yyv1527.CodecDecodeSelf(d) } } else { @@ -18348,17 +19091,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr } } - if yyj1458 < len(yyv1458) { - yyv1458 = yyv1458[:yyj1458] - yyc1458 = true - } else if yyj1458 == 0 && yyv1458 == nil { - yyv1458 = []NetworkPolicyIngressRule{} - yyc1458 = true + if yyj1524 < len(yyv1524) { + yyv1524 = yyv1524[:yyj1524] + yyc1524 = true + } else if yyj1524 == 0 && yyv1524 == nil { + yyv1524 = []NetworkPolicyIngressRule{} + yyc1524 = true } } - yyh1458.End() - if yyc1458 { - *v = yyv1458 + yyh1524.End() + if yyc1524 { + *v = yyv1524 } } @@ -18367,10 +19110,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1462 := range v { + for _, yyv1528 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1463 := &yyv1462 - yy1463.CodecEncodeSelf(e) + yy1529 := &yyv1528 + yy1529.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18380,83 +19123,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1464 := *v - yyh1464, yyl1464 := z.DecSliceHelperStart() - var yyc1464 bool - if yyl1464 == 0 { - if yyv1464 == nil { - yyv1464 = []NetworkPolicyPort{} - yyc1464 = true - } else if len(yyv1464) != 0 { - yyv1464 = yyv1464[:0] - yyc1464 = true + yyv1530 := *v + yyh1530, yyl1530 := z.DecSliceHelperStart() + var yyc1530 bool + if yyl1530 == 0 { + if yyv1530 == nil { + yyv1530 = []NetworkPolicyPort{} + yyc1530 = true + } else if len(yyv1530) != 0 { + yyv1530 = yyv1530[:0] + yyc1530 = true } - } else if yyl1464 > 0 { - var yyrr1464, yyrl1464 int - var yyrt1464 bool - if yyl1464 > cap(yyv1464) { + } else if yyl1530 > 0 { + var yyrr1530, yyrl1530 int + var yyrt1530 bool + if yyl1530 > cap(yyv1530) { - yyrg1464 := len(yyv1464) > 0 - yyv21464 := yyv1464 - yyrl1464, yyrt1464 = z.DecInferLen(yyl1464, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1464 { - if yyrl1464 <= cap(yyv1464) { - yyv1464 = yyv1464[:yyrl1464] + yyrg1530 := len(yyv1530) > 0 + yyv21530 := yyv1530 + yyrl1530, yyrt1530 = z.DecInferLen(yyl1530, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1530 { + if yyrl1530 <= cap(yyv1530) { + yyv1530 = yyv1530[:yyrl1530] } else { - yyv1464 = make([]NetworkPolicyPort, yyrl1464) + yyv1530 = make([]NetworkPolicyPort, yyrl1530) } } else { - yyv1464 = make([]NetworkPolicyPort, yyrl1464) + yyv1530 = make([]NetworkPolicyPort, yyrl1530) } - yyc1464 = true - yyrr1464 = len(yyv1464) - if yyrg1464 { - copy(yyv1464, yyv21464) + yyc1530 = true + yyrr1530 = len(yyv1530) + if yyrg1530 { + copy(yyv1530, yyv21530) } - } else if yyl1464 != len(yyv1464) { - yyv1464 = yyv1464[:yyl1464] - yyc1464 = true + } else if yyl1530 != len(yyv1530) { + yyv1530 = yyv1530[:yyl1530] + yyc1530 = true } - yyj1464 := 0 - for ; yyj1464 < yyrr1464; yyj1464++ { - yyh1464.ElemContainerState(yyj1464) + yyj1530 := 0 + for ; yyj1530 < yyrr1530; yyj1530++ { + yyh1530.ElemContainerState(yyj1530) if r.TryDecodeAsNil() { - yyv1464[yyj1464] = NetworkPolicyPort{} + yyv1530[yyj1530] = NetworkPolicyPort{} } else { - yyv1465 := &yyv1464[yyj1464] - yyv1465.CodecDecodeSelf(d) + yyv1531 := &yyv1530[yyj1530] + yyv1531.CodecDecodeSelf(d) } } - if yyrt1464 { - for ; yyj1464 < yyl1464; yyj1464++ { - yyv1464 = append(yyv1464, NetworkPolicyPort{}) - yyh1464.ElemContainerState(yyj1464) + if yyrt1530 { + for ; yyj1530 < yyl1530; yyj1530++ { + yyv1530 = append(yyv1530, NetworkPolicyPort{}) + yyh1530.ElemContainerState(yyj1530) if r.TryDecodeAsNil() { - yyv1464[yyj1464] = NetworkPolicyPort{} + yyv1530[yyj1530] = NetworkPolicyPort{} } else { - yyv1466 := &yyv1464[yyj1464] - yyv1466.CodecDecodeSelf(d) + yyv1532 := &yyv1530[yyj1530] + yyv1532.CodecDecodeSelf(d) } } } } else { - yyj1464 := 0 - for ; !r.CheckBreak(); yyj1464++ { + yyj1530 := 0 + for ; !r.CheckBreak(); yyj1530++ { - if yyj1464 >= len(yyv1464) { - yyv1464 = append(yyv1464, NetworkPolicyPort{}) // var yyz1464 NetworkPolicyPort - yyc1464 = true + if yyj1530 >= len(yyv1530) { + yyv1530 = append(yyv1530, NetworkPolicyPort{}) // var yyz1530 NetworkPolicyPort + yyc1530 = true } - yyh1464.ElemContainerState(yyj1464) - if yyj1464 < len(yyv1464) { + yyh1530.ElemContainerState(yyj1530) + if yyj1530 < len(yyv1530) { if r.TryDecodeAsNil() { - yyv1464[yyj1464] = NetworkPolicyPort{} + yyv1530[yyj1530] = NetworkPolicyPort{} } else { - yyv1467 := &yyv1464[yyj1464] - yyv1467.CodecDecodeSelf(d) + yyv1533 := &yyv1530[yyj1530] + yyv1533.CodecDecodeSelf(d) } } else { @@ -18464,17 +19207,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co } } - if yyj1464 < len(yyv1464) { - yyv1464 = yyv1464[:yyj1464] - yyc1464 = true - } else if yyj1464 == 0 && yyv1464 == nil { - yyv1464 = []NetworkPolicyPort{} - yyc1464 = true + if yyj1530 < len(yyv1530) { + yyv1530 = yyv1530[:yyj1530] + yyc1530 = true + } else if yyj1530 == 0 && yyv1530 == nil { + yyv1530 = []NetworkPolicyPort{} + yyc1530 = true } } - yyh1464.End() - if yyc1464 { - *v = yyv1464 + yyh1530.End() + if yyc1530 { + *v = yyv1530 } } @@ -18483,10 +19226,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1468 := range v { + for _, yyv1534 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1469 := &yyv1468 - yy1469.CodecEncodeSelf(e) + yy1535 := &yyv1534 + yy1535.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18496,83 +19239,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1470 := *v - yyh1470, yyl1470 := z.DecSliceHelperStart() - var yyc1470 bool - if yyl1470 == 0 { - if yyv1470 == nil { - yyv1470 = []NetworkPolicyPeer{} - yyc1470 = true - } else if len(yyv1470) != 0 { - yyv1470 = yyv1470[:0] - yyc1470 = true + yyv1536 := *v + yyh1536, yyl1536 := z.DecSliceHelperStart() + var yyc1536 bool + if yyl1536 == 0 { + if yyv1536 == nil { + yyv1536 = []NetworkPolicyPeer{} + yyc1536 = true + } else if len(yyv1536) != 0 { + yyv1536 = yyv1536[:0] + yyc1536 = true } - } else if yyl1470 > 0 { - var yyrr1470, yyrl1470 int - var yyrt1470 bool - if yyl1470 > cap(yyv1470) { + } else if yyl1536 > 0 { + var yyrr1536, yyrl1536 int + var yyrt1536 bool + if yyl1536 > cap(yyv1536) { - yyrg1470 := len(yyv1470) > 0 - yyv21470 := yyv1470 - yyrl1470, yyrt1470 = z.DecInferLen(yyl1470, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1470 { - if yyrl1470 <= cap(yyv1470) { - yyv1470 = yyv1470[:yyrl1470] + yyrg1536 := len(yyv1536) > 0 + yyv21536 := yyv1536 + yyrl1536, yyrt1536 = z.DecInferLen(yyl1536, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1536 { + if yyrl1536 <= cap(yyv1536) { + yyv1536 = yyv1536[:yyrl1536] } else { - yyv1470 = make([]NetworkPolicyPeer, yyrl1470) + yyv1536 = make([]NetworkPolicyPeer, yyrl1536) } } else { - yyv1470 = make([]NetworkPolicyPeer, yyrl1470) + yyv1536 = make([]NetworkPolicyPeer, yyrl1536) } - yyc1470 = true - yyrr1470 = len(yyv1470) - if yyrg1470 { - copy(yyv1470, yyv21470) + yyc1536 = true + yyrr1536 = len(yyv1536) + if yyrg1536 { + copy(yyv1536, yyv21536) } - } else if yyl1470 != len(yyv1470) { - yyv1470 = yyv1470[:yyl1470] - yyc1470 = true + } else if yyl1536 != len(yyv1536) { + yyv1536 = yyv1536[:yyl1536] + yyc1536 = true } - yyj1470 := 0 - for ; yyj1470 < yyrr1470; yyj1470++ { - yyh1470.ElemContainerState(yyj1470) + yyj1536 := 0 + for ; yyj1536 < yyrr1536; yyj1536++ { + yyh1536.ElemContainerState(yyj1536) if r.TryDecodeAsNil() { - yyv1470[yyj1470] = NetworkPolicyPeer{} + yyv1536[yyj1536] = NetworkPolicyPeer{} } else { - yyv1471 := &yyv1470[yyj1470] - yyv1471.CodecDecodeSelf(d) + yyv1537 := &yyv1536[yyj1536] + yyv1537.CodecDecodeSelf(d) } } - if yyrt1470 { - for ; yyj1470 < yyl1470; yyj1470++ { - yyv1470 = append(yyv1470, NetworkPolicyPeer{}) - yyh1470.ElemContainerState(yyj1470) + if yyrt1536 { + for ; yyj1536 < yyl1536; yyj1536++ { + yyv1536 = append(yyv1536, NetworkPolicyPeer{}) + yyh1536.ElemContainerState(yyj1536) if r.TryDecodeAsNil() { - yyv1470[yyj1470] = NetworkPolicyPeer{} + yyv1536[yyj1536] = NetworkPolicyPeer{} } else { - yyv1472 := &yyv1470[yyj1470] - yyv1472.CodecDecodeSelf(d) + yyv1538 := &yyv1536[yyj1536] + yyv1538.CodecDecodeSelf(d) } } } } else { - yyj1470 := 0 - for ; !r.CheckBreak(); yyj1470++ { + yyj1536 := 0 + for ; !r.CheckBreak(); yyj1536++ { - if yyj1470 >= len(yyv1470) { - yyv1470 = append(yyv1470, NetworkPolicyPeer{}) // var yyz1470 NetworkPolicyPeer - yyc1470 = true + if yyj1536 >= len(yyv1536) { + yyv1536 = append(yyv1536, NetworkPolicyPeer{}) // var yyz1536 NetworkPolicyPeer + yyc1536 = true } - yyh1470.ElemContainerState(yyj1470) - if yyj1470 < len(yyv1470) { + yyh1536.ElemContainerState(yyj1536) + if yyj1536 < len(yyv1536) { if r.TryDecodeAsNil() { - yyv1470[yyj1470] = NetworkPolicyPeer{} + yyv1536[yyj1536] = NetworkPolicyPeer{} } else { - yyv1473 := &yyv1470[yyj1470] - yyv1473.CodecDecodeSelf(d) + yyv1539 := &yyv1536[yyj1536] + yyv1539.CodecDecodeSelf(d) } } else { @@ -18580,17 +19323,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co } } - if yyj1470 < len(yyv1470) { - yyv1470 = yyv1470[:yyj1470] - yyc1470 = true - } else if yyj1470 == 0 && yyv1470 == nil { - yyv1470 = []NetworkPolicyPeer{} - yyc1470 = true + if yyj1536 < len(yyv1536) { + yyv1536 = yyv1536[:yyj1536] + yyc1536 = true + } else if yyj1536 == 0 && yyv1536 == nil { + yyv1536 = []NetworkPolicyPeer{} + yyc1536 = true } } - yyh1470.End() - if yyc1470 { - *v = yyv1470 + yyh1536.End() + if yyc1536 { + *v = yyv1536 } } @@ -18599,10 +19342,10 @@ func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1474 := range v { + for _, yyv1540 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1475 := &yyv1474 - yy1475.CodecEncodeSelf(e) + yy1541 := &yyv1540 + yy1541.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18612,83 +19355,83 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1476 := *v - yyh1476, yyl1476 := z.DecSliceHelperStart() - var yyc1476 bool - if yyl1476 == 0 { - if yyv1476 == nil { - yyv1476 = []NetworkPolicy{} - yyc1476 = true - } else if len(yyv1476) != 0 { - yyv1476 = yyv1476[:0] - yyc1476 = true + yyv1542 := *v + yyh1542, yyl1542 := z.DecSliceHelperStart() + var yyc1542 bool + if yyl1542 == 0 { + if yyv1542 == nil { + yyv1542 = []NetworkPolicy{} + yyc1542 = true + } else if len(yyv1542) != 0 { + yyv1542 = yyv1542[:0] + yyc1542 = true } - } else if yyl1476 > 0 { - var yyrr1476, yyrl1476 int - var yyrt1476 bool - if yyl1476 > cap(yyv1476) { + } else if yyl1542 > 0 { + var yyrr1542, yyrl1542 int + var yyrt1542 bool + if yyl1542 > cap(yyv1542) { - yyrg1476 := len(yyv1476) > 0 - yyv21476 := yyv1476 - yyrl1476, yyrt1476 = z.DecInferLen(yyl1476, z.DecBasicHandle().MaxInitLen, 312) - if yyrt1476 { - if yyrl1476 <= cap(yyv1476) { - yyv1476 = yyv1476[:yyrl1476] + yyrg1542 := len(yyv1542) > 0 + yyv21542 := yyv1542 + yyrl1542, yyrt1542 = z.DecInferLen(yyl1542, z.DecBasicHandle().MaxInitLen, 312) + if yyrt1542 { + if yyrl1542 <= cap(yyv1542) { + yyv1542 = yyv1542[:yyrl1542] } else { - yyv1476 = make([]NetworkPolicy, yyrl1476) + yyv1542 = make([]NetworkPolicy, yyrl1542) } } else { - yyv1476 = make([]NetworkPolicy, yyrl1476) + yyv1542 = make([]NetworkPolicy, yyrl1542) } - yyc1476 = true - yyrr1476 = len(yyv1476) - if yyrg1476 { - copy(yyv1476, yyv21476) + yyc1542 = true + yyrr1542 = len(yyv1542) + if yyrg1542 { + copy(yyv1542, yyv21542) } - } else if yyl1476 != len(yyv1476) { - yyv1476 = yyv1476[:yyl1476] - yyc1476 = true + } else if yyl1542 != len(yyv1542) { + yyv1542 = yyv1542[:yyl1542] + yyc1542 = true } - yyj1476 := 0 - for ; yyj1476 < yyrr1476; yyj1476++ { - yyh1476.ElemContainerState(yyj1476) + yyj1542 := 0 + for ; yyj1542 < yyrr1542; yyj1542++ { + yyh1542.ElemContainerState(yyj1542) if r.TryDecodeAsNil() { - yyv1476[yyj1476] = NetworkPolicy{} + yyv1542[yyj1542] = NetworkPolicy{} } else { - yyv1477 := &yyv1476[yyj1476] - yyv1477.CodecDecodeSelf(d) + yyv1543 := &yyv1542[yyj1542] + yyv1543.CodecDecodeSelf(d) } } - if yyrt1476 { - for ; yyj1476 < yyl1476; yyj1476++ { - yyv1476 = append(yyv1476, NetworkPolicy{}) - yyh1476.ElemContainerState(yyj1476) + if yyrt1542 { + for ; yyj1542 < yyl1542; yyj1542++ { + yyv1542 = append(yyv1542, NetworkPolicy{}) + yyh1542.ElemContainerState(yyj1542) if r.TryDecodeAsNil() { - yyv1476[yyj1476] = NetworkPolicy{} + yyv1542[yyj1542] = NetworkPolicy{} } else { - yyv1478 := &yyv1476[yyj1476] - yyv1478.CodecDecodeSelf(d) + yyv1544 := &yyv1542[yyj1542] + yyv1544.CodecDecodeSelf(d) } } } } else { - yyj1476 := 0 - for ; !r.CheckBreak(); yyj1476++ { + yyj1542 := 0 + for ; !r.CheckBreak(); yyj1542++ { - if yyj1476 >= len(yyv1476) { - yyv1476 = append(yyv1476, NetworkPolicy{}) // var yyz1476 NetworkPolicy - yyc1476 = true + if yyj1542 >= len(yyv1542) { + yyv1542 = append(yyv1542, NetworkPolicy{}) // var yyz1542 NetworkPolicy + yyc1542 = true } - yyh1476.ElemContainerState(yyj1476) - if yyj1476 < len(yyv1476) { + yyh1542.ElemContainerState(yyj1542) + if yyj1542 < len(yyv1542) { if r.TryDecodeAsNil() { - yyv1476[yyj1476] = NetworkPolicy{} + yyv1542[yyj1542] = NetworkPolicy{} } else { - yyv1479 := &yyv1476[yyj1476] - yyv1479.CodecDecodeSelf(d) + yyv1545 := &yyv1542[yyj1542] + yyv1545.CodecDecodeSelf(d) } } else { @@ -18696,16 +19439,16 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. } } - if yyj1476 < len(yyv1476) { - yyv1476 = yyv1476[:yyj1476] - yyc1476 = true - } else if yyj1476 == 0 && yyv1476 == nil { - yyv1476 = []NetworkPolicy{} - yyc1476 = true + if yyj1542 < len(yyv1542) { + yyv1542 = yyv1542[:yyj1542] + yyc1542 = true + } else if yyj1542 == 0 && yyv1542 == nil { + yyv1542 = []NetworkPolicy{} + yyc1542 = true } } - yyh1476.End() - if yyc1476 { - *v = yyv1476 + yyh1542.End() + if yyc1542 { + *v = yyv1542 } } diff --git a/pkg/apis/extensions/v1beta1/generated.pb.go b/pkg/apis/extensions/v1beta1/generated.pb.go index a622cabb3d7..88f3559acf6 100644 --- a/pkg/apis/extensions/v1beta1/generated.pb.go +++ b/pkg/apis/extensions/v1beta1/generated.pb.go @@ -36,6 +36,7 @@ limitations under the License. DaemonSetSpec DaemonSetStatus Deployment + DeploymentCondition DeploymentList DeploymentRollback DeploymentSpec @@ -167,249 +168,253 @@ func (m *Deployment) Reset() { *m = Deployment{} } func (*Deployment) ProtoMessage() {} func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } +func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} } +func (*DeploymentCondition) ProtoMessage() {} +func (*DeploymentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } + func (m *DeploymentList) Reset() { *m = DeploymentList{} } func (*DeploymentList) ProtoMessage() {} -func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } +func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} } func (*DeploymentRollback) ProtoMessage() {} -func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } +func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} } func (*DeploymentSpec) ProtoMessage() {} -func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } +func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} } func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} } func (*DeploymentStatus) ProtoMessage() {} -func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} } +func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} } func (*DeploymentStrategy) ProtoMessage() {} -func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } +func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } func (m *ExportOptions) Reset() { *m = ExportOptions{} } func (*ExportOptions) ProtoMessage() {} -func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } +func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } func (m *FSGroupStrategyOptions) Reset() { *m = FSGroupStrategyOptions{} } func (*FSGroupStrategyOptions) ProtoMessage() {} -func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } +func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} } func (*HTTPIngressPath) ProtoMessage() {} -func (*HTTPIngressPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } +func (*HTTPIngressPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} } func (*HTTPIngressRuleValue) ProtoMessage() {} -func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } +func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} } func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} } func (*HorizontalPodAutoscaler) ProtoMessage() {} func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{20} + return fileDescriptorGenerated, []int{21} } func (m *HorizontalPodAutoscalerList) Reset() { *m = HorizontalPodAutoscalerList{} } func (*HorizontalPodAutoscalerList) ProtoMessage() {} func (*HorizontalPodAutoscalerList) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{21} + return fileDescriptorGenerated, []int{22} } func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} } func (*HorizontalPodAutoscalerSpec) ProtoMessage() {} func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{22} + return fileDescriptorGenerated, []int{23} } func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} } func (*HorizontalPodAutoscalerStatus) ProtoMessage() {} func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{23} + return fileDescriptorGenerated, []int{24} } func (m *HostPortRange) Reset() { *m = HostPortRange{} } func (*HostPortRange) ProtoMessage() {} -func (*HostPortRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} } +func (*HostPortRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } func (m *IDRange) Reset() { *m = IDRange{} } func (*IDRange) ProtoMessage() {} -func (*IDRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } +func (*IDRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } func (m *Ingress) Reset() { *m = Ingress{} } func (*Ingress) ProtoMessage() {} -func (*Ingress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } +func (*Ingress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} } func (m *IngressBackend) Reset() { *m = IngressBackend{} } func (*IngressBackend) ProtoMessage() {} -func (*IngressBackend) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} } +func (*IngressBackend) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} } func (m *IngressList) Reset() { *m = IngressList{} } func (*IngressList) ProtoMessage() {} -func (*IngressList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} } +func (*IngressList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} } func (m *IngressRule) Reset() { *m = IngressRule{} } func (*IngressRule) ProtoMessage() {} -func (*IngressRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} } +func (*IngressRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} } func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} } func (*IngressRuleValue) ProtoMessage() {} -func (*IngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} } +func (*IngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} } func (m *IngressSpec) Reset() { *m = IngressSpec{} } func (*IngressSpec) ProtoMessage() {} -func (*IngressSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} } +func (*IngressSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} } func (m *IngressStatus) Reset() { *m = IngressStatus{} } func (*IngressStatus) ProtoMessage() {} -func (*IngressStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} } +func (*IngressStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} } func (m *IngressTLS) Reset() { *m = IngressTLS{} } func (*IngressTLS) ProtoMessage() {} -func (*IngressTLS) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} } +func (*IngressTLS) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} } func (m *Job) Reset() { *m = Job{} } func (*Job) ProtoMessage() {} -func (*Job) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} } +func (*Job) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} } func (m *JobCondition) Reset() { *m = JobCondition{} } func (*JobCondition) ProtoMessage() {} -func (*JobCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} } +func (*JobCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} } func (m *JobList) Reset() { *m = JobList{} } func (*JobList) ProtoMessage() {} -func (*JobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} } +func (*JobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} } func (m *JobSpec) Reset() { *m = JobSpec{} } func (*JobSpec) ProtoMessage() {} -func (*JobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} } +func (*JobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} } func (m *JobStatus) Reset() { *m = JobStatus{} } func (*JobStatus) ProtoMessage() {} -func (*JobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} } +func (*JobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} } func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} } func (*NetworkPolicy) ProtoMessage() {} -func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} } +func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} } func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} } func (*NetworkPolicyIngressRule) ProtoMessage() {} func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{40} + return fileDescriptorGenerated, []int{41} } func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} } func (*NetworkPolicyList) ProtoMessage() {} -func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} } +func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} } func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} } func (*NetworkPolicyPeer) ProtoMessage() {} -func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} } +func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} } func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} } func (*NetworkPolicyPort) ProtoMessage() {} -func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} } +func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} } func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} } func (*NetworkPolicySpec) ProtoMessage() {} -func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} } +func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} } func (*PodSecurityPolicy) ProtoMessage() {} -func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } +func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} } func (*PodSecurityPolicyList) ProtoMessage() {} -func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } +func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} } func (*PodSecurityPolicySpec) ProtoMessage() {} -func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } +func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } func (m *ReplicaSet) Reset() { *m = ReplicaSet{} } func (*ReplicaSet) ProtoMessage() {} -func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } +func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} } func (*ReplicaSetCondition) ProtoMessage() {} -func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } +func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} } func (*ReplicaSetList) ProtoMessage() {} -func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } +func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} } func (*ReplicaSetSpec) ProtoMessage() {} -func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } +func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} } func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} } func (*ReplicaSetStatus) ProtoMessage() {} -func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} } +func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} } func (m *ReplicationControllerDummy) Reset() { *m = ReplicationControllerDummy{} } func (*ReplicationControllerDummy) ProtoMessage() {} func (*ReplicationControllerDummy) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{53} + return fileDescriptorGenerated, []int{54} } func (m *RollbackConfig) Reset() { *m = RollbackConfig{} } func (*RollbackConfig) ProtoMessage() {} -func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} } +func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{55} } func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} } func (*RollingUpdateDeployment) ProtoMessage() {} func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{55} + return fileDescriptorGenerated, []int{56} } func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} } func (*RunAsUserStrategyOptions) ProtoMessage() {} func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{56} + return fileDescriptorGenerated, []int{57} } func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} } func (*SELinuxStrategyOptions) ProtoMessage() {} -func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{57} } +func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{58} } func (m *Scale) Reset() { *m = Scale{} } func (*Scale) ProtoMessage() {} -func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{58} } +func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} } func (m *ScaleSpec) Reset() { *m = ScaleSpec{} } func (*ScaleSpec) ProtoMessage() {} -func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} } +func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} } func (m *ScaleStatus) Reset() { *m = ScaleStatus{} } func (*ScaleStatus) ProtoMessage() {} -func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} } +func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} } func (m *SubresourceReference) Reset() { *m = SubresourceReference{} } func (*SubresourceReference) ProtoMessage() {} -func (*SubresourceReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} } +func (*SubresourceReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} } func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} } func (*SupplementalGroupsStrategyOptions) ProtoMessage() {} func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{62} + return fileDescriptorGenerated, []int{63} } func (m *ThirdPartyResource) Reset() { *m = ThirdPartyResource{} } func (*ThirdPartyResource) ProtoMessage() {} -func (*ThirdPartyResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} } +func (*ThirdPartyResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} } func (m *ThirdPartyResourceData) Reset() { *m = ThirdPartyResourceData{} } func (*ThirdPartyResourceData) ProtoMessage() {} -func (*ThirdPartyResourceData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} } +func (*ThirdPartyResourceData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} } func (m *ThirdPartyResourceDataList) Reset() { *m = ThirdPartyResourceDataList{} } func (*ThirdPartyResourceDataList) ProtoMessage() {} func (*ThirdPartyResourceDataList) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{65} + return fileDescriptorGenerated, []int{66} } func (m *ThirdPartyResourceList) Reset() { *m = ThirdPartyResourceList{} } func (*ThirdPartyResourceList) ProtoMessage() {} -func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} } +func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{67} } func init() { proto.RegisterType((*APIVersion)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.APIVersion") @@ -423,6 +428,7 @@ func init() { proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DaemonSetSpec") proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DaemonSetStatus") proto.RegisterType((*Deployment)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.Deployment") + proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DeploymentCondition") proto.RegisterType((*DeploymentList)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DeploymentList") proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DeploymentRollback") proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.kubernetes.pkg.apis.extensions.v1beta1.DeploymentSpec") @@ -831,6 +837,56 @@ func (m *Deployment) MarshalTo(data []byte) (int, error) { return i, nil } +func (m *DeploymentCondition) Marshal() (data []byte, err error) { + size := m.Size() + data = make([]byte, size) + n, err := m.MarshalTo(data) + if err != nil { + return nil, err + } + return data[:n], nil +} + +func (m *DeploymentCondition) MarshalTo(data []byte) (int, error) { + var i int + _ = i + var l int + _ = l + data[i] = 0xa + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Type))) + i += copy(data[i:], m.Type) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Status))) + i += copy(data[i:], m.Status) + data[i] = 0x22 + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) + i += copy(data[i:], m.Reason) + data[i] = 0x2a + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Message))) + i += copy(data[i:], m.Message) + data[i] = 0x32 + i++ + i = encodeVarintGenerated(data, i, uint64(m.LastUpdateTime.Size())) + n12, err := m.LastUpdateTime.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n12 + data[i] = 0x3a + i++ + i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) + n13, err := m.LastTransitionTime.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n13 + return i, nil +} + func (m *DeploymentList) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) @@ -849,11 +905,11 @@ func (m *DeploymentList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n12, err := m.ListMeta.MarshalTo(data[i:]) + n14, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n12 + i += n14 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -908,11 +964,11 @@ func (m *DeploymentRollback) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.RollbackTo.Size())) - n13, err := m.RollbackTo.MarshalTo(data[i:]) + n15, err := m.RollbackTo.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n13 + i += n15 return i, nil } @@ -940,28 +996,28 @@ func (m *DeploymentSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n14, err := m.Selector.MarshalTo(data[i:]) + n16, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n14 + i += n16 } data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n15, err := m.Template.MarshalTo(data[i:]) + n17, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n15 + i += n17 data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.Strategy.Size())) - n16, err := m.Strategy.MarshalTo(data[i:]) + n18, err := m.Strategy.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n16 + i += n18 data[i] = 0x28 i++ i = encodeVarintGenerated(data, i, uint64(m.MinReadySeconds)) @@ -982,11 +1038,16 @@ func (m *DeploymentSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x42 i++ i = encodeVarintGenerated(data, i, uint64(m.RollbackTo.Size())) - n17, err := m.RollbackTo.MarshalTo(data[i:]) + n19, err := m.RollbackTo.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n17 + i += n19 + } + if m.ProgressDeadlineSeconds != nil { + data[i] = 0x48 + i++ + i = encodeVarintGenerated(data, i, uint64(*m.ProgressDeadlineSeconds)) } return i, nil } @@ -1021,6 +1082,18 @@ func (m *DeploymentStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x28 i++ i = encodeVarintGenerated(data, i, uint64(m.UnavailableReplicas)) + if len(m.Conditions) > 0 { + for _, msg := range m.Conditions { + data[i] = 0x32 + i++ + i = encodeVarintGenerated(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n + } + } return i, nil } @@ -1047,11 +1120,11 @@ func (m *DeploymentStrategy) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.RollingUpdate.Size())) - n18, err := m.RollingUpdate.MarshalTo(data[i:]) + n20, err := m.RollingUpdate.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n18 + i += n20 } return i, nil } @@ -1146,11 +1219,11 @@ func (m *HTTPIngressPath) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Backend.Size())) - n19, err := m.Backend.MarshalTo(data[i:]) + n21, err := m.Backend.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n19 + i += n21 return i, nil } @@ -1202,27 +1275,27 @@ func (m *HorizontalPodAutoscaler) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n20, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n20 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n21, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n21 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n22, err := m.Status.MarshalTo(data[i:]) + n22, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n22 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n23, err := m.Spec.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n23 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n24, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n24 return i, nil } @@ -1244,11 +1317,11 @@ func (m *HorizontalPodAutoscalerList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n23, err := m.ListMeta.MarshalTo(data[i:]) + n25, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n23 + i += n25 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -1282,11 +1355,11 @@ func (m *HorizontalPodAutoscalerSpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ScaleRef.Size())) - n24, err := m.ScaleRef.MarshalTo(data[i:]) + n26, err := m.ScaleRef.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n24 + i += n26 if m.MinReplicas != nil { data[i] = 0x10 i++ @@ -1299,11 +1372,11 @@ func (m *HorizontalPodAutoscalerSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.CPUUtilization.Size())) - n25, err := m.CPUUtilization.MarshalTo(data[i:]) + n27, err := m.CPUUtilization.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n25 + i += n27 } return i, nil } @@ -1332,11 +1405,11 @@ func (m *HorizontalPodAutoscalerStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.LastScaleTime.Size())) - n26, err := m.LastScaleTime.MarshalTo(data[i:]) + n28, err := m.LastScaleTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n26 + i += n28 } data[i] = 0x18 i++ @@ -1418,27 +1491,27 @@ func (m *Ingress) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n27, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n27 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n28, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n28 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n29, err := m.Status.MarshalTo(data[i:]) + n29, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n29 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n30, err := m.Spec.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n30 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n31, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n31 return i, nil } @@ -1464,11 +1537,11 @@ func (m *IngressBackend) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.ServicePort.Size())) - n30, err := m.ServicePort.MarshalTo(data[i:]) + n32, err := m.ServicePort.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n30 + i += n32 return i, nil } @@ -1490,11 +1563,11 @@ func (m *IngressList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n31, err := m.ListMeta.MarshalTo(data[i:]) + n33, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n31 + i += n33 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -1532,11 +1605,11 @@ func (m *IngressRule) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.IngressRuleValue.Size())) - n32, err := m.IngressRuleValue.MarshalTo(data[i:]) + n34, err := m.IngressRuleValue.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n32 + i += n34 return i, nil } @@ -1559,11 +1632,11 @@ func (m *IngressRuleValue) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.HTTP.Size())) - n33, err := m.HTTP.MarshalTo(data[i:]) + n35, err := m.HTTP.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n33 + i += n35 } return i, nil } @@ -1587,11 +1660,11 @@ func (m *IngressSpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Backend.Size())) - n34, err := m.Backend.MarshalTo(data[i:]) + n36, err := m.Backend.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n34 + i += n36 } if len(m.TLS) > 0 { for _, msg := range m.TLS { @@ -1638,11 +1711,11 @@ func (m *IngressStatus) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.LoadBalancer.Size())) - n35, err := m.LoadBalancer.MarshalTo(data[i:]) + n37, err := m.LoadBalancer.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n35 + i += n37 return i, nil } @@ -1701,27 +1774,27 @@ func (m *Job) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n36, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n36 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n37, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n37 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n38, err := m.Status.MarshalTo(data[i:]) + n38, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n38 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n39, err := m.Spec.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n39 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n40, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n40 return i, nil } @@ -1751,19 +1824,19 @@ func (m *JobCondition) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.LastProbeTime.Size())) - n39, err := m.LastProbeTime.MarshalTo(data[i:]) + n41, err := m.LastProbeTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n39 + i += n41 data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) - n40, err := m.LastTransitionTime.MarshalTo(data[i:]) + n42, err := m.LastTransitionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n40 + i += n42 data[i] = 0x2a i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) @@ -1793,11 +1866,11 @@ func (m *JobList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n41, err := m.ListMeta.MarshalTo(data[i:]) + n43, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n41 + i += n43 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -1847,11 +1920,11 @@ func (m *JobSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n42, err := m.Selector.MarshalTo(data[i:]) + n44, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n42 + i += n44 } if m.AutoSelector != nil { data[i] = 0x28 @@ -1866,11 +1939,11 @@ func (m *JobSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x32 i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n43, err := m.Template.MarshalTo(data[i:]) + n45, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n43 + i += n45 return i, nil } @@ -1905,21 +1978,21 @@ func (m *JobStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.StartTime.Size())) - n44, err := m.StartTime.MarshalTo(data[i:]) + n46, err := m.StartTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n44 + i += n46 } if m.CompletionTime != nil { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.CompletionTime.Size())) - n45, err := m.CompletionTime.MarshalTo(data[i:]) + n47, err := m.CompletionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n45 + i += n47 } data[i] = 0x20 i++ @@ -1951,19 +2024,19 @@ func (m *NetworkPolicy) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n46, err := m.ObjectMeta.MarshalTo(data[i:]) + n48, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n46 + i += n48 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n47, err := m.Spec.MarshalTo(data[i:]) + n49, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n47 + i += n49 return i, nil } @@ -2027,11 +2100,11 @@ func (m *NetworkPolicyList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n48, err := m.ListMeta.MarshalTo(data[i:]) + n50, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n48 + i += n50 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -2066,21 +2139,21 @@ func (m *NetworkPolicyPeer) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.PodSelector.Size())) - n49, err := m.PodSelector.MarshalTo(data[i:]) + n51, err := m.PodSelector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n49 + i += n51 } if m.NamespaceSelector != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.NamespaceSelector.Size())) - n50, err := m.NamespaceSelector.MarshalTo(data[i:]) + n52, err := m.NamespaceSelector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n50 + i += n52 } return i, nil } @@ -2110,11 +2183,11 @@ func (m *NetworkPolicyPort) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Port.Size())) - n51, err := m.Port.MarshalTo(data[i:]) + n53, err := m.Port.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n51 + i += n53 } return i, nil } @@ -2137,11 +2210,11 @@ func (m *NetworkPolicySpec) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.PodSelector.Size())) - n52, err := m.PodSelector.MarshalTo(data[i:]) + n54, err := m.PodSelector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n52 + i += n54 if len(m.Ingress) > 0 { for _, msg := range m.Ingress { data[i] = 0x12 @@ -2175,19 +2248,19 @@ func (m *PodSecurityPolicy) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n53, err := m.ObjectMeta.MarshalTo(data[i:]) + n55, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n53 + i += n55 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n54, err := m.Spec.MarshalTo(data[i:]) + n56, err := m.Spec.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n54 + i += n56 return i, nil } @@ -2209,11 +2282,11 @@ func (m *PodSecurityPolicyList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n55, err := m.ListMeta.MarshalTo(data[i:]) + n57, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n55 + i += n57 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -2351,35 +2424,35 @@ func (m *PodSecurityPolicySpec) MarshalTo(data []byte) (int, error) { data[i] = 0x52 i++ i = encodeVarintGenerated(data, i, uint64(m.SELinux.Size())) - n56, err := m.SELinux.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n56 - data[i] = 0x5a - i++ - i = encodeVarintGenerated(data, i, uint64(m.RunAsUser.Size())) - n57, err := m.RunAsUser.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n57 - data[i] = 0x62 - i++ - i = encodeVarintGenerated(data, i, uint64(m.SupplementalGroups.Size())) - n58, err := m.SupplementalGroups.MarshalTo(data[i:]) + n58, err := m.SELinux.MarshalTo(data[i:]) if err != nil { return 0, err } i += n58 - data[i] = 0x6a + data[i] = 0x5a i++ - i = encodeVarintGenerated(data, i, uint64(m.FSGroup.Size())) - n59, err := m.FSGroup.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.RunAsUser.Size())) + n59, err := m.RunAsUser.MarshalTo(data[i:]) if err != nil { return 0, err } i += n59 + data[i] = 0x62 + i++ + i = encodeVarintGenerated(data, i, uint64(m.SupplementalGroups.Size())) + n60, err := m.SupplementalGroups.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n60 + data[i] = 0x6a + i++ + i = encodeVarintGenerated(data, i, uint64(m.FSGroup.Size())) + n61, err := m.FSGroup.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n61 data[i] = 0x70 i++ if m.ReadOnlyRootFilesystem { @@ -2409,27 +2482,27 @@ func (m *ReplicaSet) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n60, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n60 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n61, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n61 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n62, err := m.Status.MarshalTo(data[i:]) + n62, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n62 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n63, err := m.Spec.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n63 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n64, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n64 return i, nil } @@ -2459,11 +2532,11 @@ func (m *ReplicaSetCondition) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.LastTransitionTime.Size())) - n63, err := m.LastTransitionTime.MarshalTo(data[i:]) + n65, err := m.LastTransitionTime.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n63 + i += n65 data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) @@ -2493,11 +2566,11 @@ func (m *ReplicaSetList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n64, err := m.ListMeta.MarshalTo(data[i:]) + n66, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n64 + i += n66 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -2537,20 +2610,20 @@ func (m *ReplicaSetSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n65, err := m.Selector.MarshalTo(data[i:]) + n67, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n65 + i += n67 } data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n66, err := m.Template.MarshalTo(data[i:]) + n68, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n66 + i += n68 data[i] = 0x20 i++ i = encodeVarintGenerated(data, i, uint64(m.MinReadySeconds)) @@ -2660,21 +2733,21 @@ func (m *RollingUpdateDeployment) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.MaxUnavailable.Size())) - n67, err := m.MaxUnavailable.MarshalTo(data[i:]) + n69, err := m.MaxUnavailable.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n67 + i += n69 } if m.MaxSurge != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.MaxSurge.Size())) - n68, err := m.MaxSurge.MarshalTo(data[i:]) + n70, err := m.MaxSurge.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n68 + i += n70 } return i, nil } @@ -2736,11 +2809,11 @@ func (m *SELinuxStrategyOptions) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.SELinuxOptions.Size())) - n69, err := m.SELinuxOptions.MarshalTo(data[i:]) + n71, err := m.SELinuxOptions.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n69 + i += n71 } return i, nil } @@ -2763,27 +2836,27 @@ func (m *Scale) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n70, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n70 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n71, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n71 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n72, err := m.Status.MarshalTo(data[i:]) + n72, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n72 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n73, err := m.Spec.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n73 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n74, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n74 return i, nil } @@ -2936,11 +3009,11 @@ func (m *ThirdPartyResource) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n73, err := m.ObjectMeta.MarshalTo(data[i:]) + n75, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n73 + i += n75 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Description))) @@ -2978,11 +3051,11 @@ func (m *ThirdPartyResourceData) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n74, err := m.ObjectMeta.MarshalTo(data[i:]) + n76, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n74 + i += n76 if m.Data != nil { data[i] = 0x12 i++ @@ -3010,11 +3083,11 @@ func (m *ThirdPartyResourceDataList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n75, err := m.ListMeta.MarshalTo(data[i:]) + n77, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n75 + i += n77 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -3048,11 +3121,11 @@ func (m *ThirdPartyResourceList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n76, err := m.ListMeta.MarshalTo(data[i:]) + n78, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n76 + i += n78 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -3214,6 +3287,24 @@ func (m *Deployment) Size() (n int) { return n } +func (m *DeploymentCondition) Size() (n int) { + var l int + _ = l + l = len(m.Type) + n += 1 + l + sovGenerated(uint64(l)) + l = len(m.Status) + n += 1 + l + sovGenerated(uint64(l)) + l = len(m.Reason) + n += 1 + l + sovGenerated(uint64(l)) + l = len(m.Message) + n += 1 + l + sovGenerated(uint64(l)) + l = m.LastUpdateTime.Size() + n += 1 + l + sovGenerated(uint64(l)) + l = m.LastTransitionTime.Size() + n += 1 + l + sovGenerated(uint64(l)) + return n +} + func (m *DeploymentList) Size() (n int) { var l int _ = l @@ -3269,6 +3360,9 @@ func (m *DeploymentSpec) Size() (n int) { l = m.RollbackTo.Size() n += 1 + l + sovGenerated(uint64(l)) } + if m.ProgressDeadlineSeconds != nil { + n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds)) + } return n } @@ -3280,6 +3374,12 @@ func (m *DeploymentStatus) Size() (n int) { n += 1 + sovGenerated(uint64(m.UpdatedReplicas)) n += 1 + sovGenerated(uint64(m.AvailableReplicas)) n += 1 + sovGenerated(uint64(m.UnavailableReplicas)) + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() + n += 1 + l + sovGenerated(uint64(l)) + } + } return n } @@ -4145,6 +4245,21 @@ func (this *Deployment) String() string { }, "") return s } +func (this *DeploymentCondition) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&DeploymentCondition{`, + `Type:` + fmt.Sprintf("%v", this.Type) + `,`, + `Status:` + fmt.Sprintf("%v", this.Status) + `,`, + `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`, + `Message:` + fmt.Sprintf("%v", this.Message) + `,`, + `LastUpdateTime:` + strings.Replace(strings.Replace(this.LastUpdateTime.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`, + `LastTransitionTime:` + strings.Replace(strings.Replace(this.LastTransitionTime.String(), "Time", "k8s_io_kubernetes_pkg_api_unversioned.Time", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} func (this *DeploymentList) String() string { if this == nil { return "nil" @@ -4191,6 +4306,7 @@ func (this *DeploymentSpec) String() string { `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`, `Paused:` + fmt.Sprintf("%v", this.Paused) + `,`, `RollbackTo:` + strings.Replace(fmt.Sprintf("%v", this.RollbackTo), "RollbackConfig", "RollbackConfig", 1) + `,`, + `ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`, `}`, }, "") return s @@ -4205,6 +4321,7 @@ func (this *DeploymentStatus) String() string { `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`, `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`, `UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`, + `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -5998,6 +6115,232 @@ func (m *Deployment) Unmarshal(data []byte) error { } return nil } +func (m *DeploymentCondition) Unmarshal(data []byte) error { + l := len(data) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Type = DeploymentConditionType(data[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = k8s_io_kubernetes_pkg_api_v1.ConditionStatus(data[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Reason = string(data[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + stringLen |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Message = string(data[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.LastUpdateTime.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.LastTransitionTime.Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(data[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *DeploymentList) Unmarshal(data []byte) error { l := len(data) iNdEx := 0 @@ -6563,6 +6906,26 @@ func (m *DeploymentSpec) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType) + } + var v int32 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + v |= (int32(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + m.ProgressDeadlineSeconds = &v default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -6708,6 +7071,37 @@ func (m *DeploymentStatus) Unmarshal(data []byte) error { break } } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + msglen |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Conditions = append(m.Conditions, DeploymentCondition{}) + if err := m.Conditions[len(m.Conditions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -13547,244 +13941,250 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 3817 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x5b, 0x5d, 0x8c, 0x1c, 0xd9, - 0x55, 0x76, 0x75, 0xcf, 0x4f, 0xf7, 0x99, 0xff, 0xeb, 0xf1, 0xb8, 0x77, 0xb2, 0x3b, 0xed, 0xd4, - 0x8a, 0x8d, 0x23, 0xd6, 0x3d, 0x78, 0x58, 0x07, 0xc7, 0xde, 0x38, 0x99, 0x9e, 0xf1, 0xd8, 0x63, - 0x66, 0xec, 0xce, 0xed, 0xb1, 0x63, 0x92, 0x8d, 0x43, 0x75, 0xd7, 0x9d, 0x9e, 0xf2, 0xd4, 0xdf, - 0x56, 0xdd, 0x9a, 0x9d, 0x4e, 0x84, 0x12, 0x09, 0xf1, 0x1a, 0xf6, 0x0d, 0x24, 0xe0, 0x81, 0x07, - 0xc4, 0x13, 0x11, 0x11, 0x48, 0x91, 0x78, 0x02, 0x04, 0xc2, 0x48, 0xa0, 0x04, 0x24, 0x04, 0x0f, - 0x30, 0x61, 0x07, 0xa1, 0x15, 0xef, 0x08, 0x24, 0xf3, 0x82, 0xee, 0xad, 0x5b, 0xbf, 0x5d, 0xd5, - 0x76, 0xf7, 0xfc, 0x48, 0x88, 0xb7, 0xae, 0x7b, 0xcf, 0xf9, 0xce, 0xb9, 0xe7, 0x9e, 0x3a, 0xe7, - 0xdc, 0x5b, 0xa7, 0xe1, 0x4b, 0xfb, 0x37, 0xdd, 0x9a, 0x66, 0x2d, 0xef, 0x7b, 0x2d, 0xe2, 0x98, - 0x84, 0x12, 0x77, 0xd9, 0xde, 0xef, 0x2c, 0x2b, 0xb6, 0xe6, 0x2e, 0x93, 0x43, 0x4a, 0x4c, 0x57, - 0xb3, 0x4c, 0x77, 0xf9, 0xe0, 0x7a, 0x8b, 0x50, 0xe5, 0xfa, 0x72, 0x87, 0x98, 0xc4, 0x51, 0x28, - 0x51, 0x6b, 0xb6, 0x63, 0x51, 0x0b, 0x5d, 0xf3, 0xd9, 0x6b, 0x11, 0x7b, 0xcd, 0xde, 0xef, 0xd4, - 0x18, 0x7b, 0x2d, 0x62, 0xaf, 0x09, 0xf6, 0xc5, 0x6b, 0x1d, 0x8d, 0xee, 0x79, 0xad, 0x5a, 0xdb, - 0x32, 0x96, 0x3b, 0x56, 0xc7, 0x5a, 0xe6, 0x28, 0x2d, 0x6f, 0x97, 0x3f, 0xf1, 0x07, 0xfe, 0xcb, - 0x47, 0x5f, 0x5c, 0xc9, 0x55, 0x6e, 0xd9, 0x21, 0xae, 0xe5, 0x39, 0x6d, 0x92, 0xd6, 0x68, 0xf1, - 0x46, 0x3e, 0x8f, 0x67, 0x1e, 0x10, 0x87, 0x29, 0x44, 0xd4, 0x1e, 0xb6, 0x77, 0xf3, 0xd9, 0x0e, - 0x7a, 0x96, 0xbd, 0x78, 0x2d, 0x9b, 0xda, 0xf1, 0x4c, 0xaa, 0x19, 0xbd, 0x3a, 0x5d, 0xcf, 0x26, - 0xf7, 0xa8, 0xa6, 0x2f, 0x6b, 0x26, 0x75, 0xa9, 0x93, 0x66, 0x91, 0x6b, 0x00, 0xab, 0x8d, 0xcd, - 0x27, 0xbe, 0xbe, 0xe8, 0x0a, 0x8c, 0x98, 0x8a, 0x41, 0x2a, 0xd2, 0x15, 0xe9, 0x6a, 0xb9, 0x3e, - 0xf9, 0xe2, 0xa8, 0x7a, 0xe1, 0xf8, 0xa8, 0x3a, 0xf2, 0x50, 0x31, 0x08, 0xe6, 0x33, 0xf2, 0x07, - 0x30, 0xbf, 0xd6, 0x78, 0xbc, 0xa3, 0x38, 0x1d, 0x42, 0x1f, 0x53, 0x4d, 0xd7, 0xbe, 0xad, 0x50, - 0xc6, 0xb9, 0x0e, 0xb3, 0x94, 0x0f, 0x36, 0x88, 0xd3, 0x26, 0x26, 0x55, 0x3a, 0x3e, 0xca, 0x68, - 0xbd, 0x22, 0x50, 0x66, 0x77, 0x52, 0xf3, 0xb8, 0x87, 0x43, 0xfe, 0x0d, 0x09, 0xde, 0x58, 0xf3, - 0x5c, 0x6a, 0x19, 0xdb, 0x84, 0x3a, 0x5a, 0x7b, 0xcd, 0x73, 0x1c, 0x62, 0xd2, 0x26, 0x55, 0xa8, - 0xe7, 0xbe, 0x5a, 0x3b, 0xf4, 0x14, 0x46, 0x0f, 0x14, 0xdd, 0x23, 0x95, 0xc2, 0x15, 0xe9, 0xea, - 0xc4, 0xca, 0xbb, 0xb5, 0x5c, 0xb7, 0xa9, 0x05, 0x1b, 0x5b, 0xfb, 0xaa, 0xa7, 0x98, 0x54, 0xa3, - 0xdd, 0xfa, 0xbc, 0x00, 0x9c, 0x14, 0x52, 0x9f, 0x30, 0x24, 0xec, 0x03, 0xca, 0xdf, 0x97, 0xe0, - 0xad, 0x5c, 0xcd, 0xb6, 0x34, 0x97, 0x22, 0x03, 0x46, 0x35, 0x4a, 0x0c, 0xb7, 0x22, 0x5d, 0x29, - 0x5e, 0x9d, 0x58, 0xb9, 0x5f, 0x1b, 0xc8, 0x65, 0x6b, 0xb9, 0xe0, 0xf5, 0x29, 0xa1, 0xd7, 0xe8, - 0x26, 0x83, 0xc7, 0xbe, 0x14, 0xf9, 0xd7, 0x25, 0x40, 0x71, 0x1e, 0xdf, 0xba, 0xaf, 0x61, 0xa3, - 0xaf, 0x9d, 0xc4, 0x46, 0x17, 0x05, 0xe0, 0x84, 0x2f, 0x2e, 0x61, 0xa2, 0xef, 0x49, 0xb0, 0xd0, - 0xab, 0x11, 0xb7, 0xcd, 0x6e, 0xd2, 0x36, 0xab, 0x27, 0xb0, 0x8d, 0x8f, 0x9a, 0x63, 0x94, 0x3f, - 0x28, 0x40, 0x79, 0x5d, 0x21, 0x86, 0x65, 0x36, 0x09, 0x45, 0x4f, 0xa1, 0x64, 0x10, 0xaa, 0xa8, - 0x0a, 0x55, 0xb8, 0x3d, 0x26, 0x56, 0xae, 0xf6, 0x59, 0xec, 0xc1, 0xf5, 0xda, 0xa3, 0xd6, 0x73, - 0xd2, 0xa6, 0xdb, 0x84, 0x2a, 0x75, 0x24, 0xf0, 0x21, 0x1a, 0xc3, 0x21, 0x1a, 0x7a, 0x06, 0x23, - 0xae, 0x4d, 0xda, 0xc2, 0x84, 0xef, 0x0f, 0xb8, 0x9c, 0x50, 0xc3, 0xa6, 0x4d, 0xda, 0xd1, 0x1e, - 0xb1, 0x27, 0xcc, 0x71, 0xd1, 0x2e, 0x8c, 0xb9, 0x7c, 0xf3, 0x2b, 0x45, 0x2e, 0xe1, 0xce, 0xd0, - 0x12, 0x7c, 0x17, 0x9a, 0x16, 0x32, 0xc6, 0xfc, 0x67, 0x2c, 0xd0, 0xe5, 0xbf, 0x95, 0x60, 0x2a, - 0xa4, 0xe5, 0x3b, 0xf5, 0xcd, 0x1e, 0x9b, 0x2d, 0xf7, 0xb1, 0x59, 0x2c, 0xd2, 0xd5, 0x18, 0x3b, - 0x37, 0xdd, 0xac, 0x10, 0x56, 0x0a, 0x46, 0x62, 0x86, 0xfb, 0x66, 0xe0, 0x08, 0x05, 0xee, 0x08, - 0x37, 0x87, 0x5d, 0x57, 0xce, 0xfe, 0xff, 0x4d, 0x7c, 0x3d, 0xcc, 0x9e, 0xe8, 0x19, 0x94, 0x5c, - 0xa2, 0x93, 0x36, 0xb5, 0x1c, 0xb1, 0x9e, 0xf7, 0x5e, 0x77, 0x3d, 0x4a, 0x8b, 0xe8, 0x4d, 0xc1, - 0x5b, 0x9f, 0x64, 0x0b, 0x0a, 0x9e, 0x70, 0x88, 0x89, 0xbe, 0x01, 0x25, 0x4a, 0x0c, 0x5b, 0x57, - 0x68, 0xf0, 0x42, 0x5d, 0xeb, 0xef, 0x63, 0x0d, 0x4b, 0xdd, 0x11, 0x0c, 0x7c, 0xfb, 0x43, 0x6b, - 0x05, 0xa3, 0x38, 0x04, 0x94, 0xff, 0xa2, 0x00, 0x33, 0xa9, 0xad, 0x44, 0x4f, 0x60, 0xa1, 0xed, - 0x87, 0x87, 0x87, 0x9e, 0xd1, 0x22, 0x4e, 0xb3, 0xbd, 0x47, 0x54, 0x4f, 0x27, 0xaa, 0x08, 0xb7, - 0x4b, 0x02, 0x6f, 0x61, 0x2d, 0x93, 0x0a, 0xe7, 0x70, 0xa3, 0x07, 0x80, 0x4c, 0x3e, 0xb4, 0xad, - 0xb9, 0x6e, 0x88, 0x59, 0xe0, 0x98, 0x8b, 0x02, 0x13, 0x3d, 0xec, 0xa1, 0xc0, 0x19, 0x5c, 0x4c, - 0x47, 0x95, 0xb8, 0x9a, 0x43, 0xd4, 0xb4, 0x8e, 0xc5, 0xa4, 0x8e, 0xeb, 0x99, 0x54, 0x38, 0x87, - 0x1b, 0xdd, 0x80, 0x09, 0x5f, 0x1a, 0x26, 0x8a, 0xda, 0xad, 0x8c, 0x70, 0xb0, 0x30, 0x24, 0x3d, - 0x8c, 0xa6, 0x70, 0x9c, 0x4e, 0xfe, 0xc3, 0x02, 0xc0, 0x3a, 0xb1, 0x75, 0xab, 0x6b, 0x10, 0xf3, - 0x2c, 0xc3, 0xc2, 0xb7, 0x12, 0x61, 0xe1, 0x4b, 0x83, 0x3a, 0x77, 0xa8, 0x62, 0x6e, 0x5c, 0xe8, - 0xa4, 0xe2, 0xc2, 0x97, 0x87, 0x17, 0xd1, 0x3f, 0x30, 0xfc, 0x58, 0x82, 0xe9, 0x88, 0xf8, 0x3c, - 0x22, 0xc3, 0xb3, 0x64, 0x64, 0xf8, 0xe2, 0xd0, 0x2b, 0xcb, 0x09, 0x0d, 0xbf, 0x59, 0x04, 0x14, - 0x11, 0x61, 0x4b, 0xd7, 0x5b, 0x4a, 0x7b, 0xff, 0x35, 0xf2, 0xe5, 0xef, 0x49, 0x80, 0x3c, 0x5b, - 0x65, 0x35, 0xd3, 0xaa, 0x69, 0x5a, 0x94, 0xd7, 0x3b, 0x81, 0x9a, 0xbf, 0x34, 0xb4, 0x9a, 0x81, - 0x06, 0xb5, 0xc7, 0x3d, 0xd8, 0x77, 0x4d, 0xea, 0x74, 0xa3, 0x97, 0xae, 0x97, 0x00, 0x67, 0x28, - 0x84, 0x3e, 0x04, 0x70, 0x04, 0xe6, 0x8e, 0x25, 0xfc, 0x63, 0x50, 0x17, 0x0c, 0x94, 0x5a, 0xb3, - 0xcc, 0x5d, 0xad, 0x13, 0x79, 0x3b, 0x0e, 0x81, 0x71, 0x4c, 0xc8, 0xe2, 0x5d, 0xb8, 0x9c, 0xa3, - 0x3d, 0x9a, 0x85, 0xe2, 0x3e, 0xe9, 0xfa, 0x66, 0xc5, 0xec, 0x27, 0x9a, 0x8f, 0xd7, 0x1d, 0x65, - 0x51, 0x34, 0xdc, 0x2a, 0xdc, 0x94, 0xe4, 0x8f, 0x47, 0xe3, 0xce, 0xc6, 0xc3, 0xf6, 0x55, 0x28, - 0x39, 0xc4, 0xd6, 0xb5, 0xb6, 0xe2, 0x8a, 0xb8, 0xc6, 0x03, 0x30, 0x16, 0x63, 0x38, 0x9c, 0x4d, - 0x04, 0xf8, 0xc2, 0x19, 0x07, 0xf8, 0xe2, 0x29, 0x07, 0x78, 0x64, 0x41, 0xc9, 0xa5, 0xac, 0x1c, - 0xef, 0xf8, 0xd1, 0x6c, 0xf0, 0xd2, 0x28, 0xfe, 0x46, 0xfb, 0x40, 0x91, 0xc0, 0x60, 0x04, 0x87, - 0x42, 0xd0, 0x2a, 0xcc, 0x18, 0x9a, 0xc9, 0xc3, 0x62, 0x93, 0xb4, 0x2d, 0x53, 0x75, 0x2b, 0xa3, - 0xdc, 0xbc, 0x97, 0x05, 0xd3, 0xcc, 0x76, 0x72, 0x1a, 0xa7, 0xe9, 0xd1, 0x16, 0xcc, 0x3b, 0xe4, - 0x40, 0x63, 0x6a, 0xdc, 0xd7, 0x5c, 0x6a, 0x39, 0xdd, 0x2d, 0xcd, 0xd0, 0x68, 0x65, 0xcc, 0xaf, - 0xf6, 0x8f, 0x8f, 0xaa, 0xf3, 0x38, 0x63, 0x1e, 0x67, 0x72, 0xa1, 0x77, 0x60, 0xcc, 0x56, 0x3c, - 0x97, 0xa8, 0x95, 0xf1, 0x2b, 0xd2, 0xd5, 0x52, 0x14, 0x90, 0x1a, 0x7c, 0x14, 0x8b, 0x59, 0x64, - 0x24, 0xbc, 0xbb, 0x74, 0x1a, 0xde, 0x3d, 0x9d, 0xef, 0xd9, 0xf2, 0xa7, 0x05, 0x98, 0x4d, 0x07, - 0x4b, 0x96, 0x22, 0xad, 0x96, 0x4b, 0x9c, 0x03, 0xa2, 0xde, 0xf3, 0x8f, 0x51, 0x9a, 0x65, 0x72, - 0xf7, 0x2c, 0x46, 0x6f, 0xeb, 0xa3, 0x1e, 0x0a, 0x9c, 0xc1, 0x85, 0xde, 0x8d, 0x39, 0xb8, 0x9f, - 0x64, 0xc3, 0x6d, 0xcb, 0x70, 0xf2, 0x55, 0x98, 0x11, 0x6f, 0x7c, 0x30, 0x29, 0x32, 0x69, 0xb8, - 0x6d, 0x8f, 0x93, 0xd3, 0x38, 0x4d, 0x8f, 0xee, 0xc1, 0x9c, 0x72, 0xa0, 0x68, 0xba, 0xd2, 0xd2, - 0x49, 0x08, 0xe2, 0x67, 0xd0, 0x37, 0x04, 0xc8, 0xdc, 0x6a, 0x9a, 0x00, 0xf7, 0xf2, 0xa0, 0x6d, - 0xb8, 0xe8, 0x99, 0xbd, 0x50, 0xbe, 0x1b, 0x7d, 0x46, 0x40, 0x5d, 0x7c, 0xdc, 0x4b, 0x82, 0xb3, - 0xf8, 0xe4, 0xbf, 0x93, 0xe2, 0x71, 0x39, 0x70, 0x59, 0x74, 0x0b, 0x46, 0x68, 0xd7, 0x0e, 0xe2, - 0xf2, 0x3b, 0x41, 0x5c, 0xde, 0xe9, 0xda, 0xe4, 0x25, 0x2f, 0x1c, 0xd2, 0x1c, 0x6c, 0x06, 0x73, - 0x1e, 0xf4, 0x5d, 0x98, 0x62, 0x5b, 0xa9, 0x99, 0x1d, 0xdf, 0x2a, 0x22, 0x2e, 0x6c, 0x0c, 0xe1, - 0x2e, 0x21, 0x46, 0x2c, 0xbf, 0xcc, 0x1d, 0x1f, 0x55, 0xa7, 0x12, 0x93, 0x38, 0x29, 0x4f, 0xfe, - 0x00, 0xa6, 0xee, 0x1e, 0xda, 0x96, 0x43, 0x1f, 0xd9, 0x7e, 0x6c, 0x7e, 0x07, 0xc6, 0x08, 0x1f, - 0xe0, 0xeb, 0x89, 0x79, 0xb9, 0x4f, 0x86, 0xc5, 0x2c, 0x7a, 0x1b, 0x46, 0xc9, 0xa1, 0xd2, 0xa6, - 0x5c, 0xe3, 0x52, 0x94, 0xc9, 0xee, 0xb2, 0x41, 0xec, 0xcf, 0xc9, 0x3f, 0x94, 0x60, 0x61, 0xa3, - 0x79, 0xcf, 0xb1, 0x3c, 0x3b, 0x58, 0x7c, 0x20, 0xe7, 0x17, 0x60, 0xc4, 0xf1, 0xf4, 0xc0, 0x6a, - 0x6f, 0x07, 0x56, 0xc3, 0x9e, 0xce, 0xac, 0x76, 0x31, 0xc5, 0xe5, 0x9b, 0x8c, 0x31, 0xa0, 0x67, - 0x30, 0xe6, 0x28, 0x66, 0x87, 0x04, 0x79, 0xed, 0x0b, 0x03, 0xda, 0x6a, 0x73, 0x1d, 0x33, 0xf6, - 0x68, 0x61, 0xfc, 0xd1, 0xc5, 0x02, 0x55, 0xfe, 0x1d, 0x09, 0x66, 0xee, 0xef, 0xec, 0x34, 0x36, - 0xcd, 0x8e, 0x43, 0x5c, 0xb7, 0xa1, 0xd0, 0x3d, 0x96, 0x7a, 0x6d, 0x85, 0xee, 0xa5, 0x53, 0x2f, - 0x9b, 0xc3, 0x7c, 0x06, 0xed, 0xc1, 0x38, 0x7b, 0x1f, 0x89, 0xa9, 0x0e, 0x59, 0x52, 0x09, 0x71, - 0x75, 0x1f, 0xa4, 0x3e, 0x23, 0x64, 0x8c, 0x8b, 0x01, 0x1c, 0xc0, 0xcb, 0xdf, 0x81, 0xf9, 0x98, - 0x7a, 0xcc, 0x5e, 0xfc, 0x68, 0x8b, 0xda, 0x30, 0xca, 0x34, 0x09, 0x0e, 0xae, 0x83, 0x9e, 0xc3, - 0x52, 0x4b, 0x8e, 0x36, 0x94, 0x3d, 0xb9, 0xd8, 0xc7, 0x96, 0xff, 0xb1, 0x00, 0x97, 0xef, 0x5b, - 0x8e, 0xf6, 0x6d, 0xcb, 0xa4, 0x8a, 0xde, 0xb0, 0xd4, 0x55, 0x8f, 0x5a, 0x6e, 0x5b, 0xd1, 0x89, - 0x73, 0x86, 0xc5, 0xaa, 0x9e, 0x28, 0x56, 0x1f, 0x0c, 0xba, 0xb2, 0x6c, 0x7d, 0x73, 0x2b, 0x57, - 0x9a, 0xaa, 0x5c, 0xb7, 0x4e, 0x49, 0x5e, 0xff, 0x32, 0xf6, 0x3f, 0x24, 0xf8, 0x4c, 0x0e, 0xe7, - 0x79, 0xd4, 0xb4, 0xfb, 0xc9, 0x9a, 0x76, 0xe3, 0x74, 0xd6, 0x9c, 0x53, 0xe0, 0xfe, 0x4f, 0x21, - 0x77, 0xad, 0xbc, 0xa4, 0xfa, 0x10, 0x4a, 0xfc, 0x09, 0x93, 0x5d, 0xb1, 0xd6, 0xb5, 0x01, 0xf5, - 0x69, 0x7a, 0xad, 0xe0, 0x46, 0x08, 0x93, 0x5d, 0xe2, 0x10, 0xb3, 0x4d, 0x62, 0xd5, 0x86, 0x00, - 0xc7, 0xa1, 0x18, 0x74, 0x1d, 0x26, 0x78, 0xf5, 0x90, 0xc8, 0x73, 0x33, 0xec, 0xac, 0xb6, 0x1d, - 0x0d, 0xe3, 0x38, 0x0d, 0x3b, 0xe2, 0x19, 0xca, 0x61, 0x2a, 0xcb, 0x85, 0x47, 0xbc, 0xed, 0x68, - 0x0a, 0xc7, 0xe9, 0xd0, 0x77, 0x61, 0xba, 0x6d, 0x7b, 0xb1, 0x0b, 0x49, 0x51, 0x4e, 0x0d, 0xba, - 0xc4, 0xac, 0xbb, 0xcd, 0x3a, 0x3a, 0x3e, 0xaa, 0x4e, 0xaf, 0x35, 0x1e, 0xc7, 0xc6, 0x70, 0x4a, - 0x9c, 0xfc, 0xe7, 0x45, 0x78, 0xab, 0xaf, 0x8f, 0xa2, 0x8d, 0x3e, 0xd5, 0xc3, 0xc2, 0x00, 0x95, - 0x83, 0x0a, 0x53, 0xba, 0xe2, 0x52, 0x6e, 0xee, 0x1d, 0xcd, 0x08, 0xb2, 0xdb, 0xcf, 0xbe, 0xa6, - 0xe3, 0x32, 0x16, 0x3f, 0x85, 0x6d, 0xc5, 0x51, 0x70, 0x12, 0x94, 0x55, 0x1c, 0xe2, 0xa2, 0x20, - 0xaf, 0xe2, 0x58, 0x4b, 0x4e, 0xe3, 0x34, 0x3d, 0x83, 0x10, 0xe7, 0xf8, 0x54, 0xbd, 0x11, 0x42, - 0xac, 0x27, 0xa7, 0x71, 0x9a, 0x1e, 0x19, 0x50, 0x15, 0xa8, 0x49, 0xf3, 0xc7, 0x2e, 0x99, 0xfd, - 0xba, 0xe3, 0xed, 0xe3, 0xa3, 0x6a, 0x75, 0xad, 0x3f, 0x29, 0x7e, 0x15, 0x96, 0xbc, 0x0d, 0x53, - 0xf7, 0x2d, 0x97, 0x36, 0x58, 0x4a, 0x66, 0x79, 0x0b, 0xbd, 0x05, 0x45, 0x43, 0x33, 0xc5, 0x09, - 0x64, 0x42, 0xa8, 0x5d, 0x64, 0xce, 0xcb, 0xc6, 0xf9, 0xb4, 0x72, 0x28, 0xfc, 0x3a, 0x9a, 0x56, - 0x0e, 0x31, 0x1b, 0x97, 0xef, 0xc1, 0xb8, 0xc8, 0x8b, 0x71, 0xa0, 0x62, 0x7f, 0xa0, 0x62, 0x06, - 0xd0, 0xef, 0x17, 0x60, 0x5c, 0xa4, 0x91, 0x33, 0x4c, 0x08, 0x1f, 0x24, 0x12, 0xc2, 0xad, 0xe1, - 0x52, 0x6d, 0x6e, 0x02, 0x50, 0x53, 0x09, 0xe0, 0xfd, 0x21, 0xf1, 0xfb, 0x07, 0xfc, 0x1f, 0x48, - 0x30, 0x9d, 0x4c, 0xfa, 0x2c, 0xa2, 0xb0, 0x77, 0x48, 0x6b, 0x93, 0x87, 0xd1, 0x41, 0x3f, 0x8c, - 0x28, 0xcd, 0x68, 0x0a, 0xc7, 0xe9, 0x10, 0x09, 0xd9, 0x98, 0x3b, 0x08, 0xa3, 0xd4, 0x72, 0x94, - 0xf6, 0xa8, 0xa6, 0xd7, 0xfc, 0x2f, 0x2c, 0xb5, 0x4d, 0x93, 0x3e, 0x72, 0x9a, 0xd4, 0xd1, 0xcc, - 0x4e, 0x8f, 0x18, 0xee, 0x59, 0x71, 0x5c, 0xf9, 0xaf, 0x25, 0x98, 0x10, 0x0a, 0x9f, 0x47, 0x46, - 0xfa, 0x46, 0x32, 0x23, 0x7d, 0x61, 0xc8, 0x7a, 0x2a, 0x3b, 0x03, 0xfd, 0x28, 0x5a, 0x0b, 0xab, - 0xa0, 0x58, 0x81, 0xb7, 0x67, 0xb9, 0x34, 0x5d, 0xe0, 0xb1, 0x57, 0x0c, 0xf3, 0x19, 0xf4, 0x6b, - 0x12, 0xcc, 0x6a, 0xa9, 0x9a, 0x4b, 0x98, 0xfa, 0xcb, 0xc3, 0xa9, 0x16, 0xc2, 0x44, 0xdf, 0x9d, - 0xd2, 0x33, 0xb8, 0x47, 0xa4, 0xec, 0x41, 0x0f, 0x15, 0x52, 0x60, 0x64, 0x8f, 0x52, 0x7b, 0xc8, - 0x5c, 0x99, 0x55, 0x4d, 0xd6, 0x4b, 0x7c, 0xf9, 0x3b, 0x3b, 0x0d, 0xcc, 0xa1, 0xe5, 0x1f, 0x14, - 0x42, 0x83, 0x35, 0xfd, 0x77, 0x24, 0xac, 0x77, 0xa5, 0xd3, 0xa8, 0x77, 0x27, 0xb2, 0x6a, 0x5d, - 0xf4, 0x14, 0x8a, 0x54, 0x1f, 0xf6, 0x9e, 0x4d, 0x48, 0xd8, 0xd9, 0x6a, 0x46, 0x71, 0x6a, 0x67, - 0xab, 0x89, 0x19, 0x24, 0xfa, 0x16, 0x8c, 0xb2, 0xd3, 0x04, 0x7b, 0xc5, 0x8b, 0xc3, 0x87, 0x10, - 0x66, 0xaf, 0xc8, 0xc3, 0xd8, 0x93, 0x8b, 0x7d, 0x5c, 0xf9, 0x3b, 0x30, 0x95, 0x88, 0x03, 0xe8, - 0x39, 0x4c, 0xea, 0x96, 0xa2, 0xd6, 0x15, 0x5d, 0x31, 0xdb, 0x24, 0xb8, 0xe2, 0xff, 0xb9, 0xfe, - 0x11, 0x71, 0x2b, 0xc6, 0x21, 0xe2, 0x49, 0xf8, 0xed, 0x2f, 0x3e, 0x87, 0x13, 0xd8, 0xb2, 0x02, - 0x10, 0xad, 0x1e, 0x55, 0x61, 0x94, 0xb9, 0xb0, 0x7f, 0x32, 0x28, 0xd7, 0xcb, 0x4c, 0x57, 0xe6, - 0xd9, 0x2e, 0xf6, 0xc7, 0xd1, 0x0a, 0x80, 0x4b, 0xda, 0x0e, 0xa1, 0x3c, 0xec, 0xf0, 0x4b, 0xaf, - 0x28, 0x00, 0x37, 0xc3, 0x19, 0x1c, 0xa3, 0x92, 0x7f, 0xab, 0x00, 0xc5, 0x07, 0x56, 0xeb, 0x0c, - 0x83, 0xfc, 0xd3, 0x44, 0x90, 0x1f, 0xf4, 0xfd, 0x7f, 0x60, 0xb5, 0x72, 0x03, 0xfc, 0x2f, 0xa7, - 0x02, 0xfc, 0xcd, 0x21, 0xb0, 0xfb, 0x07, 0xf7, 0xbf, 0x2f, 0xc2, 0xe4, 0x03, 0xab, 0xb5, 0x66, - 0x99, 0xaa, 0xc6, 0x4b, 0xa1, 0xf7, 0x12, 0x97, 0x04, 0x57, 0x52, 0x97, 0x04, 0xb3, 0x71, 0xda, - 0xd8, 0xf5, 0xc0, 0x93, 0x50, 0x51, 0x7f, 0x53, 0xee, 0x24, 0xc5, 0xbd, 0x3c, 0xaa, 0xf6, 0xfd, - 0x48, 0x5f, 0x0b, 0x31, 0x93, 0xea, 0xa1, 0x3d, 0xbf, 0x30, 0x6b, 0x38, 0x56, 0xcb, 0x2f, 0xcc, - 0x8a, 0x83, 0x17, 0x66, 0x97, 0x84, 0x2e, 0xbc, 0x38, 0x0b, 0x91, 0x70, 0x12, 0x18, 0x7d, 0x04, - 0x88, 0x0d, 0xec, 0x38, 0x8a, 0xe9, 0xfa, 0xab, 0x63, 0xe2, 0x46, 0x06, 0x17, 0x17, 0xde, 0x5a, - 0x6d, 0xf5, 0xc0, 0xe1, 0x0c, 0x11, 0xe8, 0x1d, 0x18, 0x73, 0x88, 0xe2, 0x5a, 0x26, 0x2f, 0xbb, - 0xca, 0xb1, 0xe3, 0x3e, 0x1f, 0xc5, 0x62, 0x16, 0x7d, 0x1e, 0xc6, 0x0d, 0xe2, 0xba, 0xac, 0x3e, - 0x1b, 0xe3, 0x84, 0xe1, 0xc9, 0x7b, 0xdb, 0x1f, 0xc6, 0xc1, 0xbc, 0xfc, 0x67, 0x12, 0x8c, 0x3f, - 0xb0, 0x5a, 0xe7, 0x91, 0xfc, 0xbe, 0x96, 0x4c, 0x7e, 0x2b, 0x83, 0x3b, 0x68, 0x4e, 0xe2, 0xfb, - 0xa3, 0x22, 0x5f, 0x03, 0x8f, 0xe1, 0xd7, 0x61, 0xc2, 0x56, 0x1c, 0x45, 0xd7, 0x89, 0xae, 0xb9, - 0x86, 0x28, 0x1d, 0xf9, 0x99, 0xa7, 0x11, 0x0d, 0xe3, 0x38, 0x0d, 0x63, 0x69, 0x5b, 0x86, 0xad, - 0x93, 0xe0, 0xcb, 0x42, 0xc8, 0xb2, 0x16, 0x0d, 0xe3, 0x38, 0x0d, 0x7a, 0x04, 0x97, 0x94, 0x36, - 0xd5, 0x0e, 0xc8, 0x3a, 0x51, 0x54, 0x5d, 0x33, 0x49, 0x70, 0x9b, 0x5b, 0xe4, 0x25, 0xe4, 0x1b, - 0xc7, 0x47, 0xd5, 0x4b, 0xab, 0x59, 0x04, 0x38, 0x9b, 0x2f, 0x71, 0x8d, 0x3e, 0x72, 0x06, 0xd7, - 0xe8, 0xef, 0xc1, 0xa4, 0xe2, 0x51, 0x2b, 0x98, 0xe1, 0xfe, 0x53, 0xaa, 0xcf, 0xb2, 0x90, 0xbb, - 0x1a, 0x1b, 0xc7, 0x09, 0xaa, 0xc4, 0xe5, 0xfb, 0xd8, 0x69, 0x7f, 0x5d, 0xfd, 0xd3, 0x22, 0x94, - 0xc3, 0xa0, 0x83, 0x2c, 0x80, 0x76, 0xf0, 0x62, 0x07, 0xd7, 0x3d, 0xb7, 0x07, 0xf7, 0x90, 0x30, - 0x38, 0x44, 0x71, 0x38, 0x1c, 0x72, 0x71, 0x4c, 0x04, 0x7a, 0x0a, 0x65, 0x97, 0x2a, 0x0e, 0x1d, - 0xf6, 0x0c, 0x37, 0x75, 0x7c, 0x54, 0x2d, 0x37, 0x03, 0x04, 0x1c, 0x81, 0xa1, 0x0e, 0x4c, 0x47, - 0xbe, 0x32, 0x6c, 0x24, 0xf2, 0x0f, 0xbd, 0x09, 0x18, 0x9c, 0x82, 0x65, 0xe1, 0xc0, 0xf7, 0x26, - 0x71, 0xb0, 0x0b, 0xc3, 0x81, 0xef, 0x7a, 0x58, 0xcc, 0xa2, 0x65, 0x28, 0xbb, 0x5e, 0xbb, 0x4d, - 0x88, 0x4a, 0x54, 0x71, 0x60, 0x9b, 0x13, 0xa4, 0xe5, 0x66, 0x30, 0x81, 0x23, 0x1a, 0x06, 0xbc, - 0xab, 0x68, 0x3a, 0x51, 0xc5, 0x57, 0x85, 0x10, 0x78, 0x83, 0x8f, 0x62, 0x31, 0xcb, 0xfb, 0x17, - 0x1e, 0x12, 0xfa, 0x91, 0xe5, 0xec, 0x37, 0x2c, 0x5d, 0x6b, 0x77, 0xcf, 0x30, 0x73, 0xb6, 0x12, - 0x99, 0xf3, 0x2b, 0x03, 0xba, 0x46, 0x42, 0xcb, 0xbc, 0x1c, 0x2a, 0xff, 0xbb, 0x04, 0x95, 0x04, - 0x65, 0xbc, 0x9c, 0x26, 0x30, 0x6a, 0x5b, 0x0e, 0x0d, 0x9c, 0xf3, 0x44, 0x1a, 0xb0, 0xb3, 0x47, - 0xec, 0x36, 0x92, 0xc1, 0x62, 0x1f, 0x9d, 0xad, 0x73, 0xd7, 0xb1, 0x0c, 0x11, 0x24, 0x4f, 0x26, - 0x85, 0x10, 0x27, 0x5a, 0xe7, 0x86, 0x63, 0x19, 0x98, 0x63, 0xcb, 0xff, 0x20, 0xc1, 0x5c, 0x82, - 0xf2, 0x3c, 0xc2, 0xbf, 0x92, 0x0c, 0xff, 0xef, 0x9f, 0x64, 0x65, 0x39, 0x89, 0xe0, 0xbf, 0xd3, - 0xeb, 0x62, 0x16, 0x40, 0x1d, 0x98, 0xb0, 0x2d, 0xb5, 0x79, 0x1a, 0x6d, 0x28, 0x7e, 0x22, 0x89, - 0xc0, 0x70, 0x1c, 0x19, 0x75, 0x61, 0xce, 0x54, 0x0c, 0xe2, 0xda, 0x4a, 0x9b, 0x34, 0x4f, 0xe3, - 0xa3, 0xe8, 0xa5, 0xe3, 0xa3, 0xea, 0xdc, 0xc3, 0x34, 0x24, 0xee, 0x95, 0x22, 0xff, 0x71, 0xcf, - 0xca, 0x2d, 0x87, 0xa2, 0xaf, 0x42, 0x89, 0xb7, 0x19, 0xb6, 0x2d, 0x5d, 0x14, 0x69, 0x37, 0xd8, - 0xe6, 0x34, 0xc4, 0xd8, 0xcb, 0xa3, 0xea, 0xcf, 0xf4, 0x2d, 0xb5, 0x02, 0x42, 0x1c, 0xc2, 0xa0, - 0x2d, 0x18, 0xb1, 0x87, 0x3f, 0x90, 0xf3, 0x13, 0x18, 0x3f, 0x85, 0x73, 0x14, 0xf9, 0x3f, 0xd3, - 0x6a, 0xf3, 0x1c, 0xbe, 0x7f, 0x7a, 0x1b, 0x16, 0xde, 0x00, 0xe4, 0x6e, 0x9a, 0x03, 0xe3, 0xe2, - 0x3c, 0x2a, 0x1c, 0xf3, 0xde, 0x49, 0x1c, 0x33, 0x7e, 0x86, 0x0a, 0x8b, 0xae, 0x60, 0x30, 0x10, - 0xc4, 0xdf, 0x3f, 0xae, 0x50, 0xdb, 0x73, 0x34, 0xda, 0x3d, 0xf3, 0xd8, 0xb9, 0x9b, 0x88, 0x9d, - 0xeb, 0x03, 0x2e, 0xb0, 0x47, 0xd3, 0xdc, 0xf8, 0xf9, 0x2f, 0x12, 0x5c, 0xea, 0xa1, 0x3e, 0x8f, - 0xd8, 0x42, 0x92, 0xb1, 0xe5, 0x2b, 0x27, 0x5d, 0x61, 0x4e, 0x7c, 0x79, 0x01, 0x19, 0xeb, 0xe3, - 0x2e, 0xbb, 0x02, 0x60, 0x3b, 0xda, 0x81, 0xa6, 0x93, 0x8e, 0x68, 0x05, 0x2b, 0x45, 0x7b, 0xd2, - 0x08, 0x67, 0x70, 0x8c, 0x0a, 0xfd, 0x0a, 0x2c, 0xa8, 0x64, 0x57, 0xf1, 0x74, 0xba, 0xaa, 0xaa, - 0x6b, 0x8a, 0xad, 0xb4, 0x34, 0x5d, 0xa3, 0x9a, 0xf8, 0x08, 0x58, 0xae, 0xdf, 0xf5, 0x5b, 0xb4, - 0xb2, 0x28, 0x5e, 0x1e, 0x55, 0x3f, 0xd7, 0xff, 0x90, 0x14, 0x10, 0x77, 0x71, 0x8e, 0x10, 0xf4, - 0xab, 0x12, 0x54, 0x1c, 0xf2, 0xa1, 0xa7, 0x39, 0x44, 0x5d, 0x77, 0x2c, 0x3b, 0xa1, 0x41, 0x91, - 0x6b, 0x70, 0xef, 0xf8, 0xa8, 0x5a, 0xc1, 0x39, 0x34, 0x83, 0xe8, 0x90, 0x2b, 0x08, 0x51, 0xb8, - 0xa8, 0xe8, 0xba, 0xf5, 0x11, 0x49, 0x5a, 0x60, 0x84, 0xcb, 0xaf, 0x1f, 0x1f, 0x55, 0x2f, 0xae, - 0xf6, 0x4e, 0x0f, 0x22, 0x3a, 0x0b, 0x1e, 0x2d, 0xc3, 0xf8, 0x81, 0xa5, 0x7b, 0x06, 0x71, 0x2b, - 0xa3, 0x5c, 0x12, 0x8b, 0xb4, 0xe3, 0x4f, 0xfc, 0xa1, 0x97, 0xac, 0xd0, 0x69, 0xf2, 0x13, 0x6b, - 0x40, 0x85, 0x6e, 0xc0, 0xc4, 0x9e, 0xe5, 0x52, 0xf1, 0xae, 0xf3, 0xb2, 0xa8, 0x14, 0x05, 0x97, - 0xfb, 0xd1, 0x14, 0x8e, 0xd3, 0x21, 0x03, 0xca, 0x7b, 0xe2, 0x46, 0xdb, 0xad, 0x8c, 0x0f, 0x95, - 0xf7, 0x12, 0x37, 0xe2, 0x51, 0xdd, 0x16, 0x0c, 0xbb, 0x38, 0x92, 0xc0, 0xce, 0x7d, 0xfc, 0x61, - 0x73, 0x9d, 0xb7, 0x68, 0x94, 0xa2, 0x10, 0x74, 0xdf, 0x1f, 0xc6, 0xc1, 0x7c, 0x40, 0xba, 0xd9, - 0x58, 0xab, 0x94, 0x7b, 0x49, 0x37, 0x1b, 0x6b, 0x38, 0x98, 0x47, 0x36, 0x8c, 0xbb, 0x64, 0x4b, - 0x33, 0xbd, 0xc3, 0x0a, 0xf0, 0x57, 0xf7, 0xee, 0xa0, 0x1f, 0xae, 0xee, 0x72, 0xee, 0xd4, 0xd7, - 0xf2, 0x48, 0xa2, 0x98, 0xc7, 0x81, 0x18, 0x74, 0x08, 0x65, 0xc7, 0x33, 0x57, 0xdd, 0xc7, 0x2e, - 0x71, 0x2a, 0x13, 0x5c, 0xe6, 0xa0, 0x51, 0x19, 0x07, 0xfc, 0x69, 0xa9, 0xa1, 0x05, 0x43, 0x0a, - 0x1c, 0x09, 0x43, 0xbf, 0x2d, 0x01, 0x72, 0x3d, 0xdb, 0xd6, 0x89, 0x41, 0x4c, 0xaa, 0xe8, 0xfc, - 0x83, 0xbd, 0x5b, 0x99, 0xe4, 0x3a, 0x34, 0x06, 0xfe, 0x60, 0x97, 0x06, 0x4a, 0x2b, 0x13, 0x5e, - 0x00, 0xf4, 0x92, 0xe2, 0x0c, 0x3d, 0xd8, 0x56, 0xec, 0xba, 0xfc, 0x77, 0x65, 0x6a, 0xa8, 0xad, - 0xc8, 0x6e, 0x5c, 0x88, 0xb6, 0x42, 0xcc, 0xe3, 0x40, 0x0c, 0x7a, 0x02, 0x0b, 0x0e, 0x51, 0xd4, - 0x47, 0xa6, 0xde, 0xc5, 0x96, 0x45, 0x37, 0x34, 0x9d, 0xb8, 0x5d, 0x97, 0x12, 0xa3, 0x32, 0xcd, - 0xdd, 0x26, 0xec, 0x25, 0xc5, 0x99, 0x54, 0x38, 0x87, 0x9b, 0x37, 0x85, 0x8a, 0xef, 0x4c, 0x67, - 0xdb, 0x2b, 0x7e, 0xb2, 0xa6, 0xd0, 0x48, 0xc5, 0x33, 0x6b, 0x0a, 0x8d, 0x89, 0xe8, 0x7f, 0xff, - 0xf6, 0x5f, 0x05, 0xb8, 0x18, 0x11, 0x47, 0xd7, 0x70, 0xb7, 0x13, 0xd7, 0x70, 0x9f, 0x4b, 0x5d, - 0xc3, 0x5d, 0xce, 0x60, 0x39, 0x87, 0xdb, 0xb8, 0xec, 0x3b, 0xb2, 0xe2, 0x79, 0xde, 0x91, 0x8d, - 0xbc, 0xee, 0x1d, 0xd9, 0xe8, 0x2b, 0xee, 0xc8, 0x7e, 0x2c, 0xc1, 0x74, 0x64, 0xc5, 0xff, 0x03, - 0xdd, 0xb8, 0x91, 0xb2, 0x39, 0x85, 0xcc, 0x9f, 0x14, 0xe2, 0x2b, 0xfa, 0xff, 0xd4, 0xf2, 0x99, - 0xd1, 0x81, 0x39, 0x32, 0x58, 0x07, 0xa6, 0xfc, 0xcf, 0x45, 0x98, 0x4d, 0xbf, 0xb4, 0x89, 0x86, - 0x42, 0xe9, 0x95, 0x0d, 0x85, 0x0d, 0x98, 0xdf, 0xf5, 0x74, 0xbd, 0xcb, 0x0d, 0x12, 0xfb, 0x40, - 0xef, 0xdf, 0x3d, 0xbe, 0x29, 0x38, 0xe7, 0x37, 0x32, 0x68, 0x70, 0x26, 0x67, 0x4e, 0x73, 0x64, - 0x71, 0xa8, 0xe6, 0xc8, 0xdb, 0x30, 0xe5, 0xf0, 0x36, 0xfe, 0x64, 0xdf, 0x40, 0x78, 0x39, 0x8e, - 0xe3, 0x93, 0x38, 0x49, 0x9b, 0xdd, 0xe8, 0x38, 0x3a, 0x44, 0xa3, 0xe3, 0x41, 0xe2, 0x46, 0x70, - 0x8c, 0xbf, 0x08, 0xf5, 0xa1, 0x5f, 0x84, 0xd7, 0xbe, 0x18, 0x94, 0xdf, 0x84, 0x45, 0xc1, 0xc6, - 0x9e, 0xd7, 0x2c, 0x93, 0x3a, 0x96, 0xae, 0x13, 0x67, 0xdd, 0x33, 0x8c, 0xae, 0x7c, 0x07, 0xa6, - 0x93, 0x7d, 0xac, 0xfe, 0xce, 0xfb, 0xad, 0xb5, 0xa2, 0xc1, 0x20, 0xb6, 0xf3, 0xfe, 0x38, 0x0e, - 0x29, 0xe4, 0x9f, 0x4a, 0x70, 0x39, 0xa7, 0xb3, 0x11, 0x3d, 0x87, 0x69, 0x43, 0x39, 0x8c, 0xb5, - 0x6e, 0x8a, 0xd0, 0x32, 0xe8, 0x29, 0x9b, 0xdf, 0x1d, 0x6e, 0x27, 0x90, 0x70, 0x0a, 0x99, 0x27, - 0x5c, 0xe5, 0xb0, 0xe9, 0x39, 0x1d, 0x32, 0xe4, 0x59, 0x9e, 0xbf, 0xbe, 0xdb, 0x02, 0x03, 0x87, - 0x68, 0xf2, 0x0f, 0x25, 0xa8, 0xe4, 0x55, 0x5f, 0xe8, 0x46, 0xa2, 0x43, 0xf2, 0xb3, 0xa9, 0x0e, - 0xc9, 0xb9, 0x1e, 0xbe, 0x73, 0xea, 0x8f, 0xfc, 0x91, 0x04, 0x0b, 0xd9, 0x55, 0x2a, 0xfa, 0xf9, - 0x84, 0xc6, 0xd5, 0x94, 0xc6, 0x33, 0x29, 0x2e, 0xa1, 0xef, 0x1e, 0x4c, 0x8b, 0x5a, 0x56, 0xc0, - 0xbc, 0xc6, 0xbf, 0xfd, 0x0e, 0xc2, 0x42, 0x39, 0xa8, 0xca, 0xf8, 0x3e, 0x26, 0xc7, 0x70, 0x0a, - 0x57, 0xfe, 0xdd, 0x02, 0x8c, 0xf2, 0xb6, 0xa1, 0x33, 0x2c, 0xa1, 0xbe, 0x9e, 0x28, 0xa1, 0x06, - 0xfd, 0xb0, 0xc8, 0xb5, 0xcb, 0xad, 0x9e, 0x5a, 0xa9, 0xea, 0xe9, 0xd6, 0x50, 0xe8, 0xfd, 0x0b, - 0xa7, 0x2f, 0x42, 0x39, 0x54, 0x62, 0xb0, 0x40, 0xcd, 0xca, 0xd4, 0x89, 0x98, 0x88, 0x01, 0xc3, - 0xfc, 0x41, 0x22, 0x53, 0x0e, 0xf3, 0xb7, 0xd4, 0x98, 0xec, 0x5a, 0x90, 0x2a, 0xfd, 0xff, 0xa7, - 0x44, 0x8d, 0x7f, 0xbd, 0x19, 0xf4, 0x0e, 0x4c, 0xfb, 0xff, 0xed, 0x0d, 0xef, 0xd0, 0x8a, 0xdc, - 0x7b, 0x17, 0x04, 0xcf, 0xf4, 0x4e, 0x62, 0x16, 0xa7, 0xa8, 0x17, 0x6f, 0xc3, 0x54, 0x42, 0xd8, - 0x40, 0x7f, 0x27, 0xf9, 0x4b, 0x09, 0xe6, 0xb3, 0x5a, 0x15, 0xd1, 0x15, 0x18, 0xd9, 0xd7, 0x44, - 0x6f, 0x45, 0xac, 0x1f, 0xe5, 0x17, 0x35, 0x53, 0xc5, 0x7c, 0x26, 0xfc, 0x37, 0x50, 0x21, 0xf7, - 0xdf, 0x40, 0x2b, 0x00, 0x8a, 0xad, 0x89, 0xff, 0x4b, 0x8b, 0x55, 0x85, 0xce, 0x1b, 0xfd, 0x93, - 0x1a, 0xc7, 0xa8, 0x78, 0x07, 0x52, 0xa4, 0x8f, 0x28, 0x0b, 0xa3, 0xd6, 0xa0, 0x98, 0xaa, 0x71, - 0x3a, 0xf9, 0xaf, 0x24, 0xf8, 0xec, 0x2b, 0x4f, 0x70, 0xa8, 0x9e, 0x08, 0x0f, 0xb5, 0x54, 0x78, - 0x58, 0xca, 0x07, 0x38, 0xc7, 0xee, 0xef, 0xef, 0x17, 0x00, 0xed, 0xec, 0x69, 0x8e, 0xda, 0x50, - 0x1c, 0xda, 0xc5, 0x62, 0x81, 0x67, 0x18, 0x30, 0x6e, 0xc0, 0x84, 0x4a, 0xdc, 0xb6, 0xa3, 0x71, - 0x23, 0x89, 0xed, 0x0c, 0x2d, 0xbe, 0x1e, 0x4d, 0xe1, 0x38, 0x1d, 0xea, 0x40, 0x49, 0xd4, 0x8a, - 0x41, 0x0b, 0xcb, 0xa0, 0x85, 0x6f, 0xe4, 0x01, 0xd1, 0xfb, 0x21, 0x06, 0x5c, 0x1c, 0x82, 0xcb, - 0x1f, 0x4b, 0xb0, 0xd0, 0x6b, 0x90, 0x75, 0xbf, 0x41, 0xe3, 0xac, 0x8c, 0xf2, 0x26, 0x8c, 0x70, - 0x54, 0x66, 0x8d, 0x49, 0xff, 0x26, 0x9c, 0x49, 0xc4, 0x7c, 0x54, 0xfe, 0x54, 0x82, 0xc5, 0x6c, - 0x95, 0xce, 0xe3, 0xbc, 0xf1, 0x3c, 0x79, 0xde, 0x18, 0xf4, 0x56, 0x21, 0x5b, 0xf1, 0x9c, 0xb3, - 0xc7, 0x4f, 0x33, 0x8d, 0x7f, 0x1e, 0xab, 0xdc, 0x4d, 0xae, 0x72, 0xf5, 0xc4, 0xab, 0xcc, 0x5e, - 0x61, 0xfd, 0xf3, 0x2f, 0x3e, 0x59, 0xba, 0xf0, 0x93, 0x4f, 0x96, 0x2e, 0xfc, 0xd3, 0x27, 0x4b, - 0x17, 0xbe, 0x77, 0xbc, 0x24, 0xbd, 0x38, 0x5e, 0x92, 0x7e, 0x72, 0xbc, 0x24, 0xfd, 0xeb, 0xf1, - 0x92, 0xf4, 0xf1, 0xbf, 0x2d, 0x5d, 0xf8, 0xfa, 0xb8, 0xc0, 0xfc, 0xdf, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xa9, 0x8a, 0xb2, 0x1c, 0x98, 0x43, 0x00, 0x00, + // 3908 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x5b, 0x5d, 0x6c, 0x24, 0xd9, + 0x55, 0x9e, 0xea, 0x76, 0xdb, 0xed, 0xd3, 0x63, 0x8f, 0xe7, 0x8e, 0xc7, 0xd3, 0xeb, 0xdd, 0x75, + 0x4f, 0x6a, 0xc5, 0x66, 0x22, 0x76, 0xdb, 0xcc, 0xb0, 0x13, 0x36, 0xbb, 0x9b, 0x4d, 0xdc, 0xf6, + 0xfc, 0x62, 0xcf, 0x74, 0x6e, 0xdb, 0x93, 0x21, 0xd9, 0x6c, 0xa8, 0xee, 0xba, 0x6e, 0xd7, 0xba, + 0xfe, 0xb6, 0xea, 0x96, 0xd7, 0x9d, 0x08, 0x25, 0x12, 0xe2, 0x35, 0xe4, 0x0d, 0x24, 0xe0, 0x81, + 0x07, 0xc4, 0x13, 0x11, 0x11, 0x48, 0x91, 0x78, 0x02, 0x04, 0x62, 0x91, 0x40, 0x04, 0x24, 0x04, + 0x0f, 0xd0, 0xcb, 0x3a, 0x42, 0x11, 0xef, 0x08, 0xa4, 0xe1, 0x05, 0xdd, 0x5b, 0xb7, 0x7e, 0xbb, + 0xaa, 0xc7, 0xd5, 0xfe, 0x91, 0x10, 0x6f, 0xdd, 0xf7, 0x9e, 0xf3, 0x9d, 0x73, 0x4f, 0x9d, 0x3a, + 0xe7, 0xdc, 0x7b, 0x4f, 0xc1, 0x17, 0xf7, 0xdf, 0x74, 0x9b, 0x9a, 0xb5, 0xba, 0xef, 0x75, 0x89, + 0x63, 0x12, 0x4a, 0xdc, 0x55, 0x7b, 0xbf, 0xbf, 0xaa, 0xd8, 0x9a, 0xbb, 0x4a, 0x0e, 0x29, 0x31, + 0x5d, 0xcd, 0x32, 0xdd, 0xd5, 0x83, 0x9b, 0x5d, 0x42, 0x95, 0x9b, 0xab, 0x7d, 0x62, 0x12, 0x47, + 0xa1, 0x44, 0x6d, 0xda, 0x8e, 0x45, 0x2d, 0xf4, 0xba, 0xcf, 0xde, 0x8c, 0xd8, 0x9b, 0xf6, 0x7e, + 0xbf, 0xc9, 0xd8, 0x9b, 0x11, 0x7b, 0x53, 0xb0, 0x2f, 0xbf, 0xde, 0xd7, 0xe8, 0x9e, 0xd7, 0x6d, + 0xf6, 0x2c, 0x63, 0xb5, 0x6f, 0xf5, 0xad, 0x55, 0x8e, 0xd2, 0xf5, 0x76, 0xf9, 0x3f, 0xfe, 0x87, + 0xff, 0xf2, 0xd1, 0x97, 0x6f, 0xe5, 0x2a, 0xb7, 0xea, 0x10, 0xd7, 0xf2, 0x9c, 0x1e, 0x49, 0x6b, + 0xb4, 0x7c, 0x3b, 0x9f, 0xc7, 0x33, 0x0f, 0x88, 0xc3, 0x14, 0x22, 0xea, 0x08, 0xdb, 0x6b, 0xf9, + 0x6c, 0x07, 0x23, 0xcb, 0x5e, 0x7e, 0x3d, 0x9b, 0xda, 0xf1, 0x4c, 0xaa, 0x19, 0xa3, 0x3a, 0xdd, + 0xcc, 0x26, 0xf7, 0xa8, 0xa6, 0xaf, 0x6a, 0x26, 0x75, 0xa9, 0x93, 0x66, 0x91, 0x9b, 0x00, 0x6b, + 0xed, 0x07, 0x4f, 0x7c, 0x7d, 0xd1, 0x75, 0x98, 0x32, 0x15, 0x83, 0xd4, 0xa5, 0xeb, 0xd2, 0x8d, + 0xd9, 0xd6, 0xc5, 0x8f, 0x87, 0x8d, 0x0b, 0x47, 0xc3, 0xc6, 0xd4, 0x23, 0xc5, 0x20, 0x98, 0xcf, + 0xc8, 0xef, 0xc1, 0xe2, 0x7a, 0x7b, 0x67, 0x5b, 0x71, 0xfa, 0x84, 0xee, 0x50, 0x4d, 0xd7, 0xbe, + 0xa5, 0x50, 0xc6, 0xb9, 0x01, 0x0b, 0x94, 0x0f, 0xb6, 0x89, 0xd3, 0x23, 0x26, 0x55, 0xfa, 0x3e, + 0x4a, 0xa5, 0x55, 0x17, 0x28, 0x0b, 0xdb, 0xa9, 0x79, 0x3c, 0xc2, 0x21, 0xff, 0x86, 0x04, 0x2f, + 0xac, 0x7b, 0x2e, 0xb5, 0x8c, 0x2d, 0x42, 0x1d, 0xad, 0xb7, 0xee, 0x39, 0x0e, 0x31, 0x69, 0x87, + 0x2a, 0xd4, 0x73, 0x9f, 0xaf, 0x1d, 0x7a, 0x0a, 0x95, 0x03, 0x45, 0xf7, 0x48, 0xbd, 0x74, 0x5d, + 0xba, 0x51, 0xbb, 0xf5, 0x5a, 0x33, 0xd7, 0x6d, 0x9a, 0xc1, 0x83, 0x6d, 0x7e, 0xc5, 0x53, 0x4c, + 0xaa, 0xd1, 0x41, 0x6b, 0x51, 0x00, 0x5e, 0x14, 0x52, 0x9f, 0x30, 0x24, 0xec, 0x03, 0xca, 0xdf, + 0x93, 0xe0, 0xe5, 0x5c, 0xcd, 0x36, 0x35, 0x97, 0x22, 0x03, 0x2a, 0x1a, 0x25, 0x86, 0x5b, 0x97, + 0xae, 0x97, 0x6f, 0xd4, 0x6e, 0xdd, 0x6f, 0x16, 0x72, 0xd9, 0x66, 0x2e, 0x78, 0x6b, 0x4e, 0xe8, + 0x55, 0x79, 0xc0, 0xe0, 0xb1, 0x2f, 0x45, 0xfe, 0x75, 0x09, 0x50, 0x9c, 0xc7, 0xb7, 0xee, 0x31, + 0x6c, 0xf4, 0xd5, 0x93, 0xd8, 0xe8, 0x8a, 0x00, 0xac, 0xf9, 0xe2, 0x12, 0x26, 0xfa, 0xae, 0x04, + 0x4b, 0xa3, 0x1a, 0x71, 0xdb, 0xec, 0x26, 0x6d, 0xb3, 0x76, 0x02, 0xdb, 0xf8, 0xa8, 0x39, 0x46, + 0xf9, 0x83, 0x12, 0xcc, 0x6e, 0x28, 0xc4, 0xb0, 0xcc, 0x0e, 0xa1, 0xe8, 0x29, 0x54, 0x0d, 0x42, + 0x15, 0x55, 0xa1, 0x0a, 0xb7, 0x47, 0xed, 0xd6, 0x8d, 0x31, 0x8b, 0x3d, 0xb8, 0xd9, 0x7c, 0xdc, + 0xfd, 0x80, 0xf4, 0xe8, 0x16, 0xa1, 0x4a, 0x0b, 0x09, 0x7c, 0x88, 0xc6, 0x70, 0x88, 0x86, 0xde, + 0x87, 0x29, 0xd7, 0x26, 0x3d, 0x61, 0xc2, 0x77, 0x0a, 0x2e, 0x27, 0xd4, 0xb0, 0x63, 0x93, 0x5e, + 0xf4, 0x8c, 0xd8, 0x3f, 0xcc, 0x71, 0xd1, 0x2e, 0x4c, 0xbb, 0xfc, 0xe1, 0xd7, 0xcb, 0x5c, 0xc2, + 0xbb, 0x13, 0x4b, 0xf0, 0x5d, 0x68, 0x5e, 0xc8, 0x98, 0xf6, 0xff, 0x63, 0x81, 0x2e, 0xff, 0xad, + 0x04, 0x73, 0x21, 0x2d, 0x7f, 0x52, 0xdf, 0x18, 0xb1, 0xd9, 0xea, 0x18, 0x9b, 0xc5, 0x22, 0x5d, + 0x93, 0xb1, 0x73, 0xd3, 0x2d, 0x08, 0x61, 0xd5, 0x60, 0x24, 0x66, 0xb8, 0x6f, 0x04, 0x8e, 0x50, + 0xe2, 0x8e, 0xf0, 0xe6, 0xa4, 0xeb, 0xca, 0x79, 0xfe, 0x7f, 0x13, 0x5f, 0x0f, 0xb3, 0x27, 0x7a, + 0x1f, 0xaa, 0x2e, 0xd1, 0x49, 0x8f, 0x5a, 0x8e, 0x58, 0xcf, 0x1b, 0xc7, 0x5d, 0x8f, 0xd2, 0x25, + 0x7a, 0x47, 0xf0, 0xb6, 0x2e, 0xb2, 0x05, 0x05, 0xff, 0x70, 0x88, 0x89, 0xbe, 0x0e, 0x55, 0x4a, + 0x0c, 0x5b, 0x57, 0x68, 0xf0, 0x42, 0xbd, 0x3e, 0xde, 0xc7, 0xda, 0x96, 0xba, 0x2d, 0x18, 0xf8, + 0xe3, 0x0f, 0xad, 0x15, 0x8c, 0xe2, 0x10, 0x50, 0xfe, 0x8b, 0x12, 0x5c, 0x4a, 0x3d, 0x4a, 0xf4, + 0x04, 0x96, 0x7a, 0x7e, 0x78, 0x78, 0xe4, 0x19, 0x5d, 0xe2, 0x74, 0x7a, 0x7b, 0x44, 0xf5, 0x74, + 0xa2, 0x8a, 0x70, 0xbb, 0x22, 0xf0, 0x96, 0xd6, 0x33, 0xa9, 0x70, 0x0e, 0x37, 0x7a, 0x08, 0xc8, + 0xe4, 0x43, 0x5b, 0x9a, 0xeb, 0x86, 0x98, 0x25, 0x8e, 0xb9, 0x2c, 0x30, 0xd1, 0xa3, 0x11, 0x0a, + 0x9c, 0xc1, 0xc5, 0x74, 0x54, 0x89, 0xab, 0x39, 0x44, 0x4d, 0xeb, 0x58, 0x4e, 0xea, 0xb8, 0x91, + 0x49, 0x85, 0x73, 0xb8, 0xd1, 0x6d, 0xa8, 0xf9, 0xd2, 0x30, 0x51, 0xd4, 0x41, 0x7d, 0x8a, 0x83, + 0x85, 0x21, 0xe9, 0x51, 0x34, 0x85, 0xe3, 0x74, 0xf2, 0x1f, 0x96, 0x00, 0x36, 0x88, 0xad, 0x5b, + 0x03, 0x83, 0x98, 0x67, 0x19, 0x16, 0xbe, 0x99, 0x08, 0x0b, 0x5f, 0x2c, 0xea, 0xdc, 0xa1, 0x8a, + 0xb9, 0x71, 0xa1, 0x9f, 0x8a, 0x0b, 0x5f, 0x9a, 0x5c, 0xc4, 0xf8, 0xc0, 0xf0, 0x93, 0x32, 0x5c, + 0x89, 0x88, 0xd7, 0x2d, 0x53, 0xd5, 0x78, 0x9a, 0x7f, 0x1b, 0xa6, 0xe8, 0xc0, 0x0e, 0xd2, 0xcb, + 0x67, 0x03, 0x15, 0xb7, 0x07, 0x36, 0x79, 0x36, 0x6c, 0x5c, 0xcb, 0x60, 0x61, 0x53, 0x98, 0x33, + 0xa1, 0x27, 0xa1, 0xf6, 0x25, 0xce, 0xfe, 0x6e, 0x52, 0xf8, 0xb3, 0x61, 0x63, 0x6c, 0x75, 0xd4, + 0x0c, 0x31, 0x93, 0xca, 0xa2, 0x57, 0x61, 0xda, 0x21, 0x8a, 0x6b, 0x99, 0xdc, 0x23, 0x66, 0xa3, + 0x45, 0x61, 0x3e, 0x8a, 0xc5, 0x2c, 0xfa, 0x1c, 0xcc, 0x18, 0xc4, 0x75, 0x59, 0x69, 0x52, 0xe1, + 0x84, 0x97, 0x04, 0xe1, 0xcc, 0x96, 0x3f, 0x8c, 0x83, 0x79, 0xb4, 0x0f, 0xf3, 0xba, 0xe2, 0xd2, + 0x1d, 0x5b, 0x55, 0x28, 0xd9, 0xd6, 0x0c, 0x52, 0x9f, 0xe6, 0x06, 0xff, 0xd9, 0x63, 0x06, 0x0f, + 0xc6, 0xd2, 0x5a, 0x12, 0xf0, 0xf3, 0x9b, 0x09, 0x28, 0x9c, 0x82, 0x46, 0x1f, 0x01, 0x62, 0x23, + 0xdb, 0x8e, 0x62, 0xba, 0xbe, 0xcd, 0x98, 0xc0, 0x99, 0xe2, 0x02, 0xc3, 0xf7, 0x74, 0x73, 0x04, + 0x0e, 0x67, 0x88, 0x90, 0xff, 0x4e, 0x82, 0xf9, 0xe8, 0x91, 0x9d, 0x47, 0xfc, 0x7f, 0x3f, 0x19, + 0xff, 0xbf, 0x30, 0xb1, 0xff, 0xe6, 0x24, 0x80, 0xdf, 0x2c, 0x03, 0x8a, 0x88, 0xb0, 0xa5, 0xeb, + 0x5d, 0xa5, 0xb7, 0x7f, 0x8c, 0xaa, 0xe8, 0xf7, 0x24, 0x40, 0x1e, 0x7f, 0x24, 0xea, 0x9a, 0x69, + 0x5a, 0x94, 0x57, 0xb5, 0x81, 0x9a, 0xbf, 0x34, 0xb1, 0x9a, 0x81, 0x06, 0xcd, 0x9d, 0x11, 0xec, + 0x3b, 0x26, 0x75, 0x06, 0xd1, 0x23, 0x1b, 0x25, 0xc0, 0x19, 0x0a, 0xa1, 0x0f, 0x01, 0x1c, 0x81, + 0xb9, 0x6d, 0x89, 0x28, 0x50, 0x34, 0xd0, 0x04, 0x4a, 0xad, 0x5b, 0xe6, 0xae, 0xd6, 0x8f, 0x62, + 0x1a, 0x0e, 0x81, 0x71, 0x4c, 0xc8, 0xf2, 0x1d, 0xb8, 0x96, 0xa3, 0x3d, 0x5a, 0x80, 0xf2, 0x3e, + 0x19, 0xf8, 0x66, 0xc5, 0xec, 0x27, 0x5a, 0x8c, 0x57, 0x97, 0xb3, 0xa2, 0x34, 0x7c, 0xab, 0xf4, + 0xa6, 0x24, 0xff, 0xb4, 0x12, 0x77, 0x36, 0x9e, 0x9c, 0x6f, 0x40, 0xd5, 0x21, 0xb6, 0xae, 0xf5, + 0x14, 0x57, 0x64, 0x2f, 0x9e, 0x66, 0xb1, 0x18, 0xc3, 0xe1, 0x6c, 0x22, 0x8d, 0x97, 0xce, 0x38, + 0x8d, 0x97, 0x4f, 0x39, 0x8d, 0x23, 0x0b, 0xaa, 0x2e, 0x65, 0x9b, 0xae, 0xbe, 0x9f, 0xb3, 0x8a, + 0x17, 0xc0, 0xf1, 0xb8, 0xed, 0x03, 0x45, 0x02, 0x83, 0x11, 0x1c, 0x0a, 0x41, 0x6b, 0x70, 0xc9, + 0xd0, 0x4c, 0x9e, 0xfc, 0x3a, 0xa4, 0x67, 0x99, 0xaa, 0xcb, 0x03, 0x5e, 0xa5, 0x75, 0x4d, 0x30, + 0x5d, 0xda, 0x4a, 0x4e, 0xe3, 0x34, 0x3d, 0xda, 0x84, 0x45, 0x87, 0x1c, 0x68, 0x4c, 0x8d, 0xfb, + 0x9a, 0x4b, 0x2d, 0x67, 0xb0, 0xa9, 0x19, 0x1a, 0xe5, 0x61, 0xb0, 0xd2, 0xaa, 0x1f, 0x0d, 0x1b, + 0x8b, 0x38, 0x63, 0x1e, 0x67, 0x72, 0xb1, 0x08, 0x6d, 0x2b, 0x9e, 0x4b, 0x54, 0x1e, 0xd5, 0xaa, + 0x51, 0x84, 0x6e, 0xf3, 0x51, 0x2c, 0x66, 0x91, 0x91, 0xf0, 0xee, 0xea, 0x69, 0x78, 0xf7, 0x7c, + 0xbe, 0x67, 0xa3, 0x1d, 0xb8, 0x66, 0x3b, 0x56, 0xdf, 0x21, 0xae, 0xbb, 0x41, 0x14, 0x55, 0xd7, + 0x4c, 0x12, 0xd8, 0x6b, 0x96, 0xaf, 0xf3, 0xc5, 0xa3, 0x61, 0xe3, 0x5a, 0x3b, 0x9b, 0x04, 0xe7, + 0xf1, 0xca, 0x9f, 0x94, 0x61, 0x21, 0x9d, 0x69, 0x59, 0x7d, 0x65, 0x75, 0x5d, 0xe2, 0x1c, 0x10, + 0xf5, 0x9e, 0xbf, 0x07, 0xd7, 0x2c, 0x93, 0x7b, 0x7d, 0x39, 0x0a, 0x02, 0x8f, 0x47, 0x28, 0x70, + 0x06, 0x17, 0x7a, 0x2d, 0xf6, 0xde, 0xf8, 0x15, 0x5a, 0xe8, 0x0d, 0x19, 0xef, 0xce, 0x1a, 0x5c, + 0x12, 0x81, 0x24, 0x98, 0x14, 0x65, 0x58, 0xe8, 0x0d, 0x3b, 0xc9, 0x69, 0x9c, 0xa6, 0x47, 0xf7, + 0xe0, 0xb2, 0x72, 0xa0, 0x68, 0xba, 0xd2, 0xd5, 0x49, 0x08, 0xe2, 0x97, 0x5f, 0x2f, 0x08, 0x90, + 0xcb, 0x6b, 0x69, 0x02, 0x3c, 0xca, 0x83, 0xb6, 0xe0, 0x8a, 0x67, 0x8e, 0x42, 0xf9, 0xde, 0xf9, + 0xa2, 0x80, 0xba, 0xb2, 0x33, 0x4a, 0x82, 0xb3, 0xf8, 0xd0, 0x01, 0x40, 0x2f, 0x28, 0x0a, 0xdc, + 0xfa, 0x34, 0x0f, 0xd6, 0xad, 0x89, 0xdf, 0xad, 0xb0, 0xbe, 0x88, 0x42, 0x62, 0x38, 0xe4, 0xe2, + 0x98, 0x24, 0xf9, 0xef, 0xa5, 0x78, 0x9a, 0x09, 0xde, 0x40, 0xf4, 0x56, 0xa2, 0x3a, 0x7a, 0x35, + 0x55, 0x1d, 0x2d, 0x8d, 0x72, 0xc4, 0x8a, 0xa3, 0xef, 0xc0, 0x1c, 0xf3, 0x4c, 0xcd, 0xec, 0xfb, + 0x4f, 0x43, 0x84, 0xb9, 0xbb, 0x13, 0x78, 0x7f, 0x88, 0x11, 0x4b, 0x97, 0x97, 0x8f, 0x86, 0x8d, + 0xb9, 0xc4, 0x24, 0x4e, 0xca, 0x93, 0xdf, 0x83, 0xb9, 0x3b, 0x87, 0xb6, 0xe5, 0xd0, 0xc7, 0xb6, + 0x9f, 0x6a, 0x5e, 0x85, 0x69, 0xc2, 0x07, 0xf8, 0x7a, 0x62, 0x2f, 0xad, 0x4f, 0x86, 0xc5, 0x2c, + 0x7a, 0x05, 0x2a, 0xe4, 0x50, 0xe9, 0x51, 0xae, 0x71, 0x35, 0x4a, 0xcc, 0x77, 0xd8, 0x20, 0xf6, + 0xe7, 0xe4, 0x1f, 0x4a, 0xb0, 0x74, 0xb7, 0x73, 0xcf, 0xb1, 0x3c, 0x3b, 0x58, 0x7c, 0x20, 0xe7, + 0x17, 0x60, 0xca, 0xf1, 0xf4, 0xc0, 0x6a, 0xaf, 0x04, 0x56, 0xc3, 0x9e, 0xce, 0xac, 0x76, 0x25, + 0xc5, 0xe5, 0x9b, 0x8c, 0x31, 0xa0, 0xf7, 0x61, 0xda, 0x51, 0xcc, 0x3e, 0x09, 0xd2, 0xf4, 0xe7, + 0x0b, 0xda, 0xea, 0xc1, 0x06, 0x66, 0xec, 0xb1, 0x7a, 0x91, 0xa3, 0x61, 0x81, 0x2a, 0xff, 0x8e, + 0x04, 0x97, 0xee, 0x6f, 0x6f, 0xb7, 0x1f, 0x98, 0xfc, 0x35, 0x6f, 0x2b, 0x74, 0x8f, 0x55, 0x12, + 0xb6, 0x42, 0xf7, 0xd2, 0x95, 0x04, 0x9b, 0xc3, 0x7c, 0x06, 0xed, 0xc1, 0x0c, 0x0b, 0x2f, 0xc4, + 0x54, 0x27, 0xdc, 0x07, 0x08, 0x71, 0x2d, 0x1f, 0x24, 0x2a, 0x52, 0xc5, 0x00, 0x0e, 0xe0, 0xe5, + 0x6f, 0xc3, 0x62, 0x4c, 0x3d, 0x66, 0x2f, 0x7e, 0x1e, 0x83, 0x7a, 0x50, 0x61, 0x9a, 0x04, 0xa7, + 0x2d, 0x45, 0x0f, 0x0f, 0x52, 0x4b, 0x8e, 0x1e, 0x28, 0xfb, 0xe7, 0x62, 0x1f, 0x5b, 0xfe, 0xa7, + 0x12, 0x5c, 0xbb, 0x6f, 0x39, 0xda, 0xb7, 0x2c, 0x93, 0x2a, 0x7a, 0xdb, 0x52, 0xd7, 0x3c, 0x6a, + 0xb9, 0x3d, 0x45, 0x27, 0xce, 0x19, 0xee, 0xb0, 0xf4, 0xc4, 0x0e, 0xeb, 0x61, 0xd1, 0x95, 0x65, + 0xeb, 0x9b, 0xbb, 0xdd, 0xa2, 0xa9, 0xed, 0xd6, 0xe6, 0x29, 0xc9, 0x1b, 0xbf, 0xf7, 0xfa, 0x0f, + 0x09, 0x5e, 0xcc, 0xe1, 0x3c, 0x8f, 0x12, 0x7d, 0x3f, 0x59, 0xa2, 0xdf, 0x3d, 0x9d, 0x35, 0xe7, + 0xd4, 0xeb, 0xff, 0x53, 0xca, 0x5d, 0x2b, 0xaf, 0x10, 0x3f, 0x84, 0x2a, 0xff, 0x87, 0xc9, 0xae, + 0x58, 0xeb, 0x7a, 0x41, 0x7d, 0x3a, 0x5e, 0x37, 0x38, 0xc6, 0xc4, 0x64, 0x97, 0x38, 0xc4, 0xec, + 0x91, 0x58, 0xf1, 0x24, 0xc0, 0x71, 0x28, 0x06, 0xdd, 0x84, 0x1a, 0x2f, 0x86, 0x12, 0xf9, 0xf5, + 0xd2, 0xd1, 0xb0, 0x51, 0xdb, 0x8a, 0x86, 0x71, 0x9c, 0x06, 0xdd, 0x86, 0x9a, 0xa1, 0x1c, 0xa6, + 0xb2, 0x6b, 0x78, 0x2e, 0xb1, 0x15, 0x4d, 0xe1, 0x38, 0x1d, 0xfa, 0x0e, 0xcc, 0xf7, 0x6c, 0x2f, + 0x76, 0x8a, 0x2e, 0xaa, 0xc3, 0xa2, 0x4b, 0xcc, 0x3a, 0x90, 0x6f, 0x21, 0xb6, 0xf1, 0x5c, 0x6f, + 0xef, 0xc4, 0xc6, 0x70, 0x4a, 0x9c, 0xfc, 0xe7, 0x65, 0x78, 0x79, 0xac, 0x8f, 0xa2, 0xbb, 0x63, + 0xaa, 0x96, 0xa5, 0x02, 0x15, 0x8b, 0x0a, 0x73, 0x6c, 0xff, 0xc9, 0xcd, 0xcd, 0x77, 0xb7, 0xa5, + 0xe2, 0xbb, 0x5b, 0x9e, 0xc2, 0x36, 0xe3, 0x28, 0x38, 0x09, 0xca, 0x2a, 0x1d, 0x71, 0xba, 0x95, + 0x57, 0xe9, 0xac, 0x27, 0xa7, 0x71, 0x9a, 0x9e, 0x41, 0x88, 0xc3, 0xa7, 0x54, 0x9d, 0x13, 0x42, + 0x6c, 0x24, 0xa7, 0x71, 0x9a, 0x1e, 0x19, 0xd0, 0x10, 0xa8, 0x49, 0xf3, 0xc7, 0x6e, 0x46, 0xfc, + 0x7a, 0xe7, 0x95, 0xa3, 0x61, 0xa3, 0xb1, 0x3e, 0x9e, 0x14, 0x3f, 0x0f, 0x4b, 0xde, 0x82, 0xb9, + 0xfb, 0x96, 0x4b, 0xdb, 0x2c, 0x25, 0xb3, 0xbc, 0x85, 0x5e, 0x86, 0xb2, 0xa1, 0x99, 0x62, 0x43, + 0x55, 0x13, 0x6a, 0x97, 0x99, 0xf3, 0xb2, 0x71, 0x3e, 0xad, 0x1c, 0x0a, 0xbf, 0x8e, 0xa6, 0x95, + 0x43, 0xcc, 0xc6, 0xe5, 0x7b, 0x30, 0x23, 0xf2, 0x62, 0x1c, 0xa8, 0x3c, 0x1e, 0xa8, 0x9c, 0x01, + 0xf4, 0xfb, 0x25, 0x98, 0x11, 0x69, 0xe4, 0x0c, 0x13, 0xc2, 0x7b, 0x89, 0x84, 0xf0, 0xd6, 0x64, + 0xa9, 0x36, 0x37, 0x01, 0xa8, 0xa9, 0x04, 0xf0, 0xce, 0x84, 0xf8, 0xe3, 0x03, 0xfe, 0x0f, 0x24, + 0x98, 0x4f, 0x26, 0x7d, 0x16, 0x51, 0xd8, 0x3b, 0xa4, 0xf5, 0xc8, 0xa3, 0xe8, 0xdc, 0x22, 0x8c, + 0x28, 0x9d, 0x68, 0x0a, 0xc7, 0xe9, 0x10, 0x09, 0xd9, 0x98, 0x3b, 0x08, 0xa3, 0x34, 0x73, 0x94, + 0xf6, 0xa8, 0xa6, 0x37, 0xfd, 0x6b, 0xc1, 0xe6, 0x03, 0x93, 0x3e, 0x76, 0x3a, 0xd4, 0xd1, 0xcc, + 0xfe, 0x88, 0x18, 0xee, 0x59, 0x71, 0x5c, 0xf9, 0xaf, 0x25, 0xa8, 0x09, 0x85, 0xcf, 0x23, 0x23, + 0x7d, 0x3d, 0x99, 0x91, 0x3e, 0x3f, 0x61, 0x3d, 0x95, 0x9d, 0x81, 0x7e, 0x14, 0xad, 0x85, 0x55, + 0x50, 0xac, 0xc0, 0xdb, 0xb3, 0x5c, 0x9a, 0x2e, 0xf0, 0xd8, 0x2b, 0x86, 0xf9, 0x0c, 0xfa, 0x35, + 0x09, 0x16, 0xb4, 0x54, 0xcd, 0x25, 0x4c, 0xfd, 0xa5, 0xc9, 0x54, 0x0b, 0x61, 0xa2, 0xcb, 0xd2, + 0xf4, 0x0c, 0x1e, 0x11, 0x29, 0x7b, 0x30, 0x42, 0x85, 0x14, 0x98, 0xda, 0xa3, 0xd4, 0x9e, 0x30, + 0x57, 0x66, 0x55, 0x93, 0xad, 0x2a, 0x5f, 0xfe, 0xf6, 0x76, 0x1b, 0x73, 0x68, 0xf9, 0x07, 0xa5, + 0xd0, 0x60, 0x1d, 0xff, 0x1d, 0x09, 0xeb, 0x5d, 0xe9, 0x34, 0xea, 0xdd, 0x5a, 0x56, 0xad, 0x8b, + 0x9e, 0x42, 0x99, 0xea, 0x93, 0x1e, 0x1b, 0x0a, 0x09, 0xdb, 0x9b, 0x9d, 0x28, 0x4e, 0x6d, 0x6f, + 0x76, 0x30, 0x83, 0x44, 0xdf, 0x84, 0x0a, 0xdb, 0x4d, 0xb0, 0x57, 0xbc, 0x3c, 0x79, 0x08, 0x61, + 0xf6, 0x8a, 0x3c, 0x8c, 0xfd, 0x73, 0xb1, 0x8f, 0x2b, 0x7f, 0x1b, 0xe6, 0x12, 0x71, 0x00, 0x7d, + 0x00, 0x17, 0x75, 0x4b, 0x51, 0x5b, 0x8a, 0xae, 0x98, 0x3d, 0x12, 0xdc, 0x4b, 0xfd, 0xdc, 0xf8, + 0x88, 0xb8, 0x19, 0xe3, 0x10, 0xf1, 0x24, 0xbc, 0xb0, 0x8e, 0xcf, 0xe1, 0x04, 0xb6, 0xac, 0x00, + 0x44, 0xab, 0x47, 0x0d, 0xa8, 0x30, 0x17, 0xf6, 0x77, 0x06, 0xb3, 0xad, 0x59, 0xa6, 0x2b, 0xf3, + 0x6c, 0x17, 0xfb, 0xe3, 0xe8, 0x16, 0x80, 0x4b, 0x7a, 0x0e, 0xa1, 0x3c, 0xec, 0xf8, 0xc7, 0xf4, + 0x61, 0x00, 0xee, 0x84, 0x33, 0x38, 0x46, 0x25, 0xff, 0x56, 0x09, 0xca, 0x0f, 0xad, 0xee, 0x19, + 0x06, 0xf9, 0xa7, 0x89, 0x20, 0x5f, 0xf4, 0xfd, 0x7f, 0x68, 0x75, 0x73, 0x03, 0xfc, 0x2f, 0xa7, + 0x02, 0xfc, 0x9b, 0x13, 0x60, 0x8f, 0x0f, 0xee, 0xff, 0x50, 0x86, 0x8b, 0x0f, 0xad, 0x6e, 0x74, + 0x85, 0xf2, 0x46, 0xe2, 0x90, 0xe0, 0x7a, 0xea, 0x90, 0x60, 0x21, 0x4e, 0x7b, 0x0e, 0x77, 0x27, + 0x7b, 0x7e, 0x61, 0xd6, 0x76, 0xac, 0xae, 0x5f, 0x98, 0x95, 0x8b, 0x17, 0x66, 0x57, 0x85, 0x2e, + 0xbc, 0x38, 0x0b, 0x91, 0x70, 0x12, 0x38, 0xe7, 0x96, 0x63, 0xea, 0xcc, 0x6f, 0x39, 0x62, 0xd7, + 0x43, 0x95, 0xe3, 0x5e, 0x0f, 0x4d, 0x8f, 0xbf, 0x1e, 0x92, 0xff, 0x4c, 0x82, 0x99, 0x87, 0x56, + 0xf7, 0x3c, 0x92, 0xdf, 0x57, 0x93, 0xc9, 0xef, 0x56, 0x71, 0x07, 0xcd, 0x49, 0x7c, 0x7f, 0x54, + 0xe6, 0x6b, 0xe0, 0x31, 0xfc, 0x26, 0xd4, 0x6c, 0xc5, 0x51, 0x74, 0x9d, 0xe8, 0x9a, 0x6b, 0x88, + 0xd2, 0x91, 0xef, 0x79, 0xda, 0xd1, 0x30, 0x8e, 0xd3, 0x30, 0x96, 0x9e, 0x65, 0xd8, 0x3a, 0x09, + 0x2e, 0x4a, 0x42, 0x96, 0xf5, 0x68, 0x18, 0xc7, 0x69, 0xd0, 0x63, 0xb8, 0xaa, 0xf4, 0xa8, 0x76, + 0x40, 0xd2, 0x87, 0xad, 0x65, 0x5e, 0x42, 0xbe, 0x70, 0x34, 0x6c, 0x5c, 0x5d, 0xcb, 0x22, 0xc0, + 0xd9, 0x7c, 0x89, 0x5b, 0x81, 0xa9, 0x33, 0xb8, 0x15, 0x78, 0x03, 0x2e, 0x2a, 0x1e, 0xb5, 0x82, + 0x19, 0xee, 0x3f, 0xd5, 0xd6, 0x02, 0x0b, 0xb9, 0x6b, 0xb1, 0x71, 0x9c, 0xa0, 0x4a, 0xdc, 0x25, + 0x4c, 0x9f, 0x76, 0x4b, 0xc0, 0x9f, 0x96, 0x61, 0x36, 0x0c, 0x3a, 0xc8, 0x4a, 0x9c, 0x7f, 0xfa, + 0xc7, 0x3d, 0x6f, 0x17, 0xf7, 0x90, 0x63, 0x1f, 0x7c, 0xa2, 0xa7, 0x30, 0xeb, 0x52, 0xc5, 0xa1, + 0x93, 0xee, 0xe1, 0xe6, 0x8e, 0x86, 0x8d, 0xd9, 0x4e, 0x80, 0x80, 0x23, 0x30, 0xd4, 0x87, 0xf9, + 0xc8, 0x57, 0x26, 0x8d, 0x44, 0xfe, 0xa6, 0x37, 0x01, 0x83, 0x53, 0xb0, 0x2c, 0x1c, 0xf8, 0xde, + 0x24, 0x36, 0x76, 0x61, 0x38, 0xf0, 0x5d, 0x0f, 0x8b, 0x59, 0xb4, 0x0a, 0xb3, 0xae, 0xd7, 0xeb, + 0x11, 0xa2, 0x12, 0x55, 0x6c, 0xd8, 0x2e, 0x0b, 0xd2, 0xd9, 0x4e, 0x30, 0x81, 0x23, 0x1a, 0x06, + 0xbc, 0xab, 0x68, 0x3a, 0x51, 0xc5, 0x25, 0x49, 0x08, 0x7c, 0x97, 0x8f, 0x62, 0x31, 0xcb, 0x9b, + 0x6e, 0x1e, 0x11, 0xfa, 0x91, 0xe5, 0xec, 0xb7, 0x2d, 0x5d, 0xeb, 0x0d, 0xce, 0x30, 0x73, 0x76, + 0x13, 0x99, 0xf3, 0xcb, 0x05, 0x5d, 0x23, 0xa1, 0x65, 0x5e, 0x0e, 0x95, 0xff, 0x5d, 0x82, 0x7a, + 0x82, 0x32, 0x5e, 0x4e, 0x13, 0xa8, 0xd8, 0x96, 0x43, 0x03, 0xe7, 0x3c, 0x91, 0x06, 0x6c, 0xef, + 0x11, 0x3b, 0x8d, 0x64, 0xb0, 0xd8, 0x47, 0x67, 0xeb, 0xdc, 0x75, 0x2c, 0x43, 0x04, 0xc9, 0x93, + 0x49, 0x21, 0xc4, 0x89, 0xd6, 0x79, 0xd7, 0xb1, 0x0c, 0xcc, 0xb1, 0xe5, 0x7f, 0x94, 0xe0, 0x72, + 0x82, 0xf2, 0x3c, 0xc2, 0xbf, 0x92, 0x0c, 0xff, 0xef, 0x9c, 0x64, 0x65, 0x39, 0x89, 0xe0, 0xbf, + 0xd3, 0xeb, 0x62, 0x16, 0x40, 0x7d, 0xa8, 0xd9, 0x96, 0xda, 0x39, 0x8d, 0xde, 0x29, 0x3f, 0x91, + 0x44, 0x60, 0x38, 0x8e, 0x8c, 0x06, 0x70, 0xd9, 0x54, 0x0c, 0xe2, 0xda, 0x4a, 0x8f, 0x74, 0x4e, + 0xe3, 0x8e, 0xf7, 0xea, 0xd1, 0xb0, 0x71, 0xf9, 0x51, 0x1a, 0x12, 0x8f, 0x4a, 0x91, 0xff, 0x78, + 0x64, 0xe5, 0x96, 0x43, 0xd1, 0x57, 0xa0, 0xca, 0x7b, 0x63, 0x7b, 0x96, 0x2e, 0x8a, 0xb4, 0xdb, + 0xec, 0xe1, 0xb4, 0xc5, 0xd8, 0xb3, 0x61, 0xe3, 0x67, 0xc6, 0x96, 0x5a, 0x01, 0x21, 0x0e, 0x61, + 0xd0, 0x26, 0x4c, 0xd9, 0x93, 0x6f, 0xc8, 0xf9, 0x0e, 0x8c, 0xef, 0xc2, 0x39, 0x8a, 0xfc, 0x9f, + 0x69, 0xb5, 0x79, 0x0e, 0xdf, 0x3f, 0xbd, 0x07, 0x16, 0x9e, 0x00, 0xe4, 0x3e, 0x34, 0x07, 0x66, + 0xc4, 0x7e, 0x54, 0x38, 0xe6, 0xbd, 0x93, 0x38, 0x66, 0x7c, 0x0f, 0x15, 0x16, 0x5d, 0xc1, 0x60, + 0x20, 0x88, 0xbf, 0x7f, 0x5c, 0xa1, 0x9e, 0xe7, 0x68, 0x74, 0x70, 0xe6, 0xb1, 0x73, 0x37, 0x11, + 0x3b, 0x37, 0x0a, 0x2e, 0x70, 0x44, 0xd3, 0xdc, 0xf8, 0xf9, 0xaf, 0x12, 0x5c, 0x1d, 0xa1, 0x3e, + 0x8f, 0xd8, 0x42, 0x92, 0xb1, 0xe5, 0xcb, 0x27, 0x5d, 0x61, 0x4e, 0x7c, 0xf9, 0x18, 0x32, 0xd6, + 0xc7, 0x5d, 0xf6, 0x16, 0x80, 0xed, 0x68, 0x07, 0x9a, 0x4e, 0xfa, 0xa2, 0x7f, 0xb1, 0x1a, 0x3d, + 0x93, 0x76, 0x38, 0x83, 0x63, 0x54, 0xe8, 0x57, 0x60, 0x49, 0x25, 0xbb, 0x8a, 0xa7, 0xd3, 0x35, + 0x55, 0x5d, 0x57, 0x6c, 0xa5, 0xab, 0xe9, 0x1a, 0xd5, 0xc4, 0x25, 0xe0, 0x6c, 0xeb, 0x8e, 0xdf, + 0x57, 0x98, 0x45, 0xf1, 0x6c, 0xd8, 0xf8, 0xec, 0xf8, 0x4d, 0x52, 0x40, 0x3c, 0xc0, 0x39, 0x42, + 0xd0, 0xaf, 0x4a, 0x50, 0x77, 0xc8, 0x87, 0x9e, 0xe6, 0x10, 0x75, 0xc3, 0xb1, 0xec, 0x84, 0x06, + 0x65, 0xae, 0xc1, 0xbd, 0xa3, 0x61, 0xa3, 0x8e, 0x73, 0x68, 0x8a, 0xe8, 0x90, 0x2b, 0x08, 0x51, + 0xb8, 0xa2, 0xe8, 0xba, 0xf5, 0x11, 0x49, 0x5a, 0x60, 0x8a, 0xcb, 0x6f, 0x1d, 0x0d, 0x1b, 0x57, + 0xd6, 0x46, 0xa7, 0x8b, 0x88, 0xce, 0x82, 0x47, 0xab, 0x30, 0x73, 0x60, 0xe9, 0x9e, 0x41, 0xdc, + 0x7a, 0x85, 0x4b, 0x62, 0x91, 0x76, 0xe6, 0x89, 0x3f, 0xf4, 0x8c, 0x15, 0x3a, 0x1d, 0xbe, 0x63, + 0x0d, 0xa8, 0xd0, 0x6d, 0xa8, 0xed, 0x59, 0x2e, 0x15, 0xef, 0x3a, 0x2f, 0x8b, 0xaa, 0x51, 0x70, + 0xb9, 0x1f, 0x4d, 0xe1, 0x38, 0x1d, 0x32, 0x60, 0x76, 0x4f, 0x9c, 0x68, 0xbb, 0xf5, 0x99, 0x89, + 0xf2, 0x5e, 0xe2, 0x44, 0x3c, 0xaa, 0xdb, 0x82, 0x61, 0x17, 0x47, 0x12, 0xd8, 0xbe, 0x8f, 0xff, + 0x79, 0xb0, 0xc1, 0x3b, 0x4e, 0xaa, 0x51, 0x08, 0xba, 0xef, 0x0f, 0xe3, 0x60, 0x3e, 0x20, 0x7d, + 0xd0, 0x5e, 0xe7, 0x0d, 0x22, 0x29, 0xd2, 0x07, 0xed, 0x75, 0x1c, 0xcc, 0x23, 0x1b, 0x66, 0x5c, + 0xb2, 0xa9, 0x99, 0xde, 0x61, 0x1d, 0xf8, 0xab, 0x7b, 0xa7, 0xe8, 0xc5, 0xd5, 0x1d, 0xce, 0x9d, + 0xba, 0x2d, 0x8f, 0x24, 0x8a, 0x79, 0x1c, 0x88, 0x41, 0x87, 0x30, 0xeb, 0x78, 0xe6, 0x9a, 0xbb, + 0xe3, 0x12, 0xa7, 0x5e, 0xe3, 0x32, 0x8b, 0x46, 0x65, 0x1c, 0xf0, 0xa7, 0xa5, 0x86, 0x16, 0x0c, + 0x29, 0x70, 0x24, 0x0c, 0xfd, 0xb6, 0x04, 0xc8, 0xf5, 0x6c, 0x5b, 0x27, 0x06, 0x31, 0xa9, 0xa2, + 0xf3, 0x0b, 0x7b, 0xb7, 0x7e, 0x91, 0xeb, 0xd0, 0x2e, 0x7c, 0x61, 0x97, 0x06, 0x4a, 0x2b, 0x13, + 0x1e, 0x00, 0x8c, 0x92, 0xe2, 0x0c, 0x3d, 0xd8, 0xa3, 0xd8, 0x75, 0xf9, 0xef, 0xfa, 0xdc, 0x44, + 0x8f, 0x22, 0xbb, 0x71, 0x21, 0x7a, 0x14, 0x62, 0x1e, 0x07, 0x62, 0xd0, 0x13, 0x58, 0x72, 0x88, + 0xa2, 0x3e, 0x36, 0xf5, 0x01, 0xb6, 0x2c, 0x7a, 0x57, 0xd3, 0x89, 0x3b, 0x70, 0x29, 0x31, 0xea, + 0xf3, 0xdc, 0x6d, 0xc2, 0x06, 0x68, 0x9c, 0x49, 0x85, 0x73, 0xb8, 0x79, 0x27, 0xb3, 0xb8, 0x67, + 0x3a, 0xdb, 0x0f, 0x1c, 0x4e, 0xd6, 0xc9, 0x1c, 0xa9, 0x78, 0x66, 0x9d, 0xcc, 0x31, 0x11, 0xe3, + 0xcf, 0xdf, 0xfe, 0xab, 0x04, 0x57, 0x22, 0xe2, 0x63, 0x77, 0x32, 0x67, 0xb0, 0x9c, 0xc3, 0x69, + 0x5c, 0xf6, 0x19, 0x59, 0xf9, 0x3c, 0xcf, 0xc8, 0x4e, 0xab, 0x85, 0x9a, 0x37, 0x17, 0x47, 0x56, + 0xfc, 0x3f, 0xd0, 0x5c, 0x1c, 0x29, 0x9b, 0x53, 0xc8, 0xfc, 0x49, 0x29, 0xbe, 0xa2, 0xff, 0x4f, + 0x1d, 0xac, 0x19, 0x0d, 0xa5, 0x53, 0xc5, 0x1a, 0x4a, 0xe5, 0x7f, 0x29, 0xc3, 0x42, 0xfa, 0xa5, + 0x4d, 0x34, 0x32, 0x4a, 0xcf, 0x6d, 0x64, 0x6c, 0xc3, 0xe2, 0xae, 0xa7, 0xeb, 0x03, 0x6e, 0x90, + 0xd8, 0x05, 0xbd, 0x7f, 0xf6, 0xf8, 0x92, 0xe0, 0x5c, 0xbc, 0x9b, 0x41, 0x83, 0x33, 0x39, 0x73, + 0x9a, 0x32, 0xcb, 0x13, 0x35, 0x65, 0xbe, 0x0d, 0x73, 0x0e, 0xff, 0xf6, 0x24, 0xd9, 0x37, 0x10, + 0x1e, 0x8e, 0xe3, 0xf8, 0x24, 0x4e, 0xd2, 0x66, 0x37, 0x58, 0x56, 0x26, 0x68, 0xb0, 0x3c, 0x8d, + 0x8e, 0xc8, 0x8c, 0xd8, 0xf7, 0xdc, 0x8e, 0xc8, 0x97, 0x60, 0x59, 0xb0, 0xb1, 0xff, 0xeb, 0x96, + 0x49, 0x1d, 0x4b, 0xd7, 0x89, 0xb3, 0xe1, 0x19, 0xc6, 0x40, 0x7e, 0x17, 0xe6, 0x93, 0x6d, 0xb9, + 0xfe, 0x93, 0xf7, 0x3b, 0x85, 0x45, 0x83, 0x41, 0xec, 0xc9, 0xfb, 0xe3, 0x38, 0xa4, 0x90, 0x3f, + 0x91, 0xe0, 0x5a, 0x4e, 0x67, 0x23, 0xfa, 0x00, 0xe6, 0x0d, 0xe5, 0x30, 0xd6, 0x32, 0x2a, 0x42, + 0x4b, 0xd1, 0x5d, 0x36, 0x3f, 0x3b, 0xdc, 0x4a, 0x20, 0xe1, 0x14, 0x32, 0x4f, 0xb8, 0xca, 0x61, + 0xc7, 0x73, 0xfa, 0x64, 0xc2, 0xbd, 0x3c, 0x7f, 0x7d, 0xb7, 0x04, 0x06, 0x0e, 0xd1, 0xe4, 0x1f, + 0x4a, 0x50, 0xcf, 0xab, 0xbe, 0xd0, 0xed, 0x44, 0x87, 0xe4, 0x67, 0x52, 0x1d, 0x92, 0x97, 0x47, + 0xf8, 0xce, 0xa9, 0x3f, 0xf2, 0x47, 0x12, 0x2c, 0x65, 0x57, 0xa9, 0xe8, 0xe7, 0x13, 0x1a, 0x37, + 0x52, 0x1a, 0x5f, 0x4a, 0x71, 0x09, 0x7d, 0xf7, 0x60, 0x5e, 0xd4, 0xb2, 0x02, 0xe6, 0x18, 0x9f, + 0xa8, 0x1e, 0x84, 0x85, 0x72, 0x50, 0x95, 0xf1, 0xe7, 0x98, 0x1c, 0xc3, 0x29, 0x5c, 0xf9, 0x77, + 0x4b, 0x50, 0xe1, 0x6d, 0x43, 0x67, 0x58, 0x42, 0x7d, 0x2d, 0x51, 0x42, 0x15, 0xbd, 0x58, 0xe4, + 0xda, 0xe5, 0x56, 0x4f, 0xdd, 0x54, 0xf5, 0xf4, 0xd6, 0x44, 0xe8, 0xe3, 0x0b, 0xa7, 0x2f, 0xc0, + 0x6c, 0xa8, 0x44, 0xb1, 0x40, 0xcd, 0xca, 0xd4, 0x5a, 0x4c, 0x44, 0xc1, 0x30, 0x7f, 0x90, 0xc8, + 0x94, 0x93, 0x7c, 0x4b, 0x1d, 0x93, 0xdd, 0x0c, 0x52, 0xa5, 0xff, 0xb9, 0x4d, 0xd4, 0xf8, 0x37, + 0x9a, 0x41, 0xdf, 0x85, 0x79, 0xff, 0x83, 0xf4, 0xf0, 0x0c, 0xad, 0xcc, 0xbd, 0x37, 0xfc, 0x8c, + 0x6b, 0x3b, 0x31, 0x8b, 0x53, 0xd4, 0xcb, 0x6f, 0xc3, 0x5c, 0x42, 0x58, 0xa1, 0xaf, 0x63, 0xfe, + 0x52, 0x82, 0xc5, 0xac, 0x56, 0x45, 0x74, 0x1d, 0xa6, 0xf6, 0x35, 0xd1, 0x5b, 0x11, 0xeb, 0x47, + 0xf9, 0x45, 0xcd, 0x54, 0x31, 0x9f, 0x09, 0x3f, 0x6e, 0x2a, 0xe5, 0x7e, 0xdc, 0x74, 0x0b, 0x40, + 0xb1, 0x35, 0xf1, 0x91, 0xbf, 0x58, 0x55, 0xe8, 0xbc, 0xd1, 0xe7, 0xff, 0x38, 0x46, 0xc5, 0x3b, + 0x90, 0x22, 0x7d, 0x44, 0x59, 0x18, 0xb5, 0x06, 0xc5, 0x54, 0x8d, 0xd3, 0xc9, 0x7f, 0x25, 0xc1, + 0x67, 0x9e, 0xbb, 0x83, 0x43, 0xad, 0x44, 0x78, 0x68, 0xa6, 0xc2, 0xc3, 0x4a, 0x3e, 0xc0, 0x39, + 0x76, 0x7f, 0x7f, 0xaf, 0x04, 0x68, 0x7b, 0x4f, 0x73, 0xd4, 0xb6, 0xe2, 0xd0, 0x01, 0x16, 0x0b, + 0x3c, 0xc3, 0x80, 0x71, 0x1b, 0x6a, 0x2a, 0x71, 0x7b, 0x8e, 0xc6, 0x8d, 0x24, 0x1e, 0x67, 0x68, + 0xf1, 0x8d, 0x68, 0x0a, 0xc7, 0xe9, 0x50, 0x1f, 0xaa, 0xa2, 0x56, 0x0c, 0x5a, 0x58, 0x8a, 0x16, + 0xbe, 0x91, 0x07, 0x44, 0xef, 0x87, 0x18, 0x70, 0x71, 0x08, 0x2e, 0x7f, 0x5f, 0x82, 0xa5, 0x51, + 0x83, 0x6c, 0xf8, 0x0d, 0x1a, 0x67, 0x65, 0x94, 0x97, 0x60, 0x8a, 0xa3, 0x32, 0x6b, 0x5c, 0xf4, + 0x4f, 0xc2, 0x99, 0x44, 0xcc, 0x47, 0xe5, 0x9f, 0x4a, 0xb0, 0x9c, 0xad, 0xd2, 0x79, 0xec, 0x37, + 0x3e, 0x48, 0xee, 0x37, 0x8a, 0x9e, 0x2a, 0x64, 0x2b, 0x9e, 0xb3, 0xf7, 0xf8, 0x24, 0xd3, 0xf8, + 0xe7, 0xb1, 0xca, 0xdd, 0xe4, 0x2a, 0xd7, 0x4e, 0xbc, 0xca, 0xec, 0x15, 0xb6, 0x3e, 0xf7, 0xf1, + 0xa7, 0x2b, 0x17, 0x7e, 0xfc, 0xe9, 0xca, 0x85, 0x7f, 0xfe, 0x74, 0xe5, 0xc2, 0x77, 0x8f, 0x56, + 0xa4, 0x8f, 0x8f, 0x56, 0xa4, 0x1f, 0x1f, 0xad, 0x48, 0xff, 0x76, 0xb4, 0x22, 0x7d, 0xff, 0x27, + 0x2b, 0x17, 0xbe, 0x36, 0x23, 0x30, 0xff, 0x37, 0x00, 0x00, 0xff, 0xff, 0x18, 0x07, 0xfd, 0xe8, + 0x4d, 0x46, 0x00, 0x00, } diff --git a/pkg/apis/extensions/v1beta1/generated.proto b/pkg/apis/extensions/v1beta1/generated.proto index 09e2275c5d9..e77401a6cfe 100644 --- a/pkg/apis/extensions/v1beta1/generated.proto +++ b/pkg/apis/extensions/v1beta1/generated.proto @@ -154,6 +154,27 @@ message Deployment { optional DeploymentStatus status = 3; } +// DeploymentCondition describes the state of a deployment at a certain point. +message DeploymentCondition { + // Type of deployment condition. + optional string type = 1; + + // Status of the condition, one of True, False, Unknown. + optional string status = 2; + + // The last time this condition was updated. + optional k8s.io.kubernetes.pkg.api.unversioned.Time lastUpdateTime = 6; + + // Last time the condition transitioned from one status to another. + optional k8s.io.kubernetes.pkg.api.unversioned.Time lastTransitionTime = 7; + + // The reason for the condition's last transition. + optional string reason = 4; + + // A human readable message indicating details about the transition. + optional string message = 5; +} + // DeploymentList is a list of Deployments. message DeploymentList { // Standard list metadata. @@ -215,6 +236,15 @@ message DeploymentSpec { // The config this deployment is rolling back to. Will be cleared after rollback is done. // +optional optional RollbackConfig rollbackTo = 8; + + // The maximum time in seconds for a deployment to make progress before it + // is considered to be failed. The deployment controller will continue to + // process failed deployments and a condition with a ProgressDeadlineExceeded + // reason will be surfaced in the deployment status. Once autoRollback is + // implemented, the deployment controller will automatically rollback failed + // deployments. Note that progress will not be estimated during the time a + // deployment is paused. This is not set by default. + optional int32 progressDeadlineSeconds = 9; } // DeploymentStatus is the most recently observed status of the Deployment. @@ -238,6 +268,9 @@ message DeploymentStatus { // Total number of unavailable pods targeted by this deployment. // +optional optional int32 unavailableReplicas = 5; + + // Represents the latest available observations of a deployment's current state. + repeated DeploymentCondition conditions = 6; } // DeploymentStrategy describes how to replace existing pods with new ones. diff --git a/pkg/apis/extensions/v1beta1/types.generated.go b/pkg/apis/extensions/v1beta1/types.generated.go index 01318d35c59..49b2fa78f79 100644 --- a/pkg/apis/extensions/v1beta1/types.generated.go +++ b/pkg/apis/extensions/v1beta1/types.generated.go @@ -5424,7 +5424,7 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep453 := !z.EncBinary() yy2arr453 := z.EncBasicHandle().StructToArray - var yyq453 [8]bool + var yyq453 [9]bool _, _, _ = yysep453, yyq453, yy2arr453 const yyr453 bool = false yyq453[0] = x.Replicas != nil @@ -5434,9 +5434,10 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { yyq453[5] = x.RevisionHistoryLimit != nil yyq453[6] = x.Paused != false yyq453[7] = x.RollbackTo != nil + yyq453[8] = x.ProgressDeadlineSeconds != nil var yynn453 int if yyr453 || yy2arr453 { - r.EncodeArrayStart(8) + r.EncodeArrayStart(9) } else { yynn453 = 1 for _, b := range yyq453 { @@ -5653,6 +5654,41 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } + if yyr453 || yy2arr453 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq453[8] { + if x.ProgressDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy481 := *x.ProgressDeadlineSeconds + yym482 := z.EncBinary() + _ = yym482 + if false { + } else { + r.EncodeInt(int64(yy481)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq453[8] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("progressDeadlineSeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.ProgressDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy483 := *x.ProgressDeadlineSeconds + yym484 := z.EncBinary() + _ = yym484 + if false { + } else { + r.EncodeInt(int64(yy483)) + } + } + } + } if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { @@ -5666,25 +5702,25 @@ func (x *DeploymentSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym480 := z.DecBinary() - _ = yym480 + yym485 := z.DecBinary() + _ = yym485 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct481 := r.ContainerType() - if yyct481 == codecSelferValueTypeMap1234 { - yyl481 := r.ReadMapStart() - if yyl481 == 0 { + yyct486 := r.ContainerType() + if yyct486 == codecSelferValueTypeMap1234 { + yyl486 := r.ReadMapStart() + if yyl486 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl481, d) + x.codecDecodeSelfFromMap(yyl486, d) } - } else if yyct481 == codecSelferValueTypeArray1234 { - yyl481 := r.ReadArrayStart() - if yyl481 == 0 { + } else if yyct486 == codecSelferValueTypeArray1234 { + yyl486 := r.ReadArrayStart() + if yyl486 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl481, d) + x.codecDecodeSelfFromArray(yyl486, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5696,12 +5732,12 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys482Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys482Slc - var yyhl482 bool = l >= 0 - for yyj482 := 0; ; yyj482++ { - if yyhl482 { - if yyj482 >= l { + var yys487Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys487Slc + var yyhl487 bool = l >= 0 + for yyj487 := 0; ; yyj487++ { + if yyhl487 { + if yyj487 >= l { break } } else { @@ -5710,10 +5746,10 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys482Slc = r.DecodeBytes(yys482Slc, true, true) - yys482 := string(yys482Slc) + yys487Slc = r.DecodeBytes(yys487Slc, true, true) + yys487 := string(yys487Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys482 { + switch yys487 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -5723,8 +5759,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym484 := z.DecBinary() - _ = yym484 + yym489 := z.DecBinary() + _ = yym489 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -5739,8 +5775,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym486 := z.DecBinary() - _ = yym486 + yym491 := z.DecBinary() + _ = yym491 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -5751,15 +5787,15 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv487 := &x.Template - yyv487.CodecDecodeSelf(d) + yyv492 := &x.Template + yyv492.CodecDecodeSelf(d) } case "strategy": if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv488 := &x.Strategy - yyv488.CodecDecodeSelf(d) + yyv493 := &x.Strategy + yyv493.CodecDecodeSelf(d) } case "minReadySeconds": if r.TryDecodeAsNil() { @@ -5776,8 +5812,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym491 := z.DecBinary() - _ = yym491 + yym496 := z.DecBinary() + _ = yym496 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) @@ -5800,10 +5836,26 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.RollbackTo.CodecDecodeSelf(d) } + case "progressDeadlineSeconds": + if r.TryDecodeAsNil() { + if x.ProgressDeadlineSeconds != nil { + x.ProgressDeadlineSeconds = nil + } + } else { + if x.ProgressDeadlineSeconds == nil { + x.ProgressDeadlineSeconds = new(int32) + } + yym500 := z.DecBinary() + _ = yym500 + if false { + } else { + *((*int32)(x.ProgressDeadlineSeconds)) = int32(r.DecodeInt(32)) + } + } default: - z.DecStructFieldNotFound(-1, yys482) - } // end switch yys482 - } // end for yyj482 + z.DecStructFieldNotFound(-1, yys487) + } // end switch yys487 + } // end for yyj487 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5811,16 +5863,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj494 int - var yyb494 bool - var yyhl494 bool = l >= 0 - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + var yyj501 int + var yyb501 bool + var yyhl501 bool = l >= 0 + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb494 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb494 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5833,20 +5885,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym496 := z.DecBinary() - _ = yym496 + yym503 := z.DecBinary() + _ = yym503 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb494 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb494 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5859,21 +5911,21 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym498 := z.DecBinary() - _ = yym498 + yym505 := z.DecBinary() + _ = yym505 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb494 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb494 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5881,16 +5933,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv499 := &x.Template - yyv499.CodecDecodeSelf(d) + yyv506 := &x.Template + yyv506.CodecDecodeSelf(d) } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb494 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb494 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5898,16 +5950,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv500 := &x.Strategy - yyv500.CodecDecodeSelf(d) + yyv507 := &x.Strategy + yyv507.CodecDecodeSelf(d) } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb494 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb494 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5917,13 +5969,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MinReadySeconds = int32(r.DecodeInt(32)) } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb494 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb494 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5936,20 +5988,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym503 := z.DecBinary() - _ = yym503 + yym510 := z.DecBinary() + _ = yym510 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) } } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb494 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb494 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5959,13 +6011,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Paused = bool(r.DecodeBool()) } - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l } else { - yyb494 = r.CheckBreak() + yyb501 = r.CheckBreak() } - if yyb494 { + if yyb501 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5980,18 +6032,44 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RollbackTo.CodecDecodeSelf(d) } - for { - yyj494++ - if yyhl494 { - yyb494 = yyj494 > l - } else { - yyb494 = r.CheckBreak() + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l + } else { + yyb501 = r.CheckBreak() + } + if yyb501 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.ProgressDeadlineSeconds != nil { + x.ProgressDeadlineSeconds = nil } - if yyb494 { + } else { + if x.ProgressDeadlineSeconds == nil { + x.ProgressDeadlineSeconds = new(int32) + } + yym514 := z.DecBinary() + _ = yym514 + if false { + } else { + *((*int32)(x.ProgressDeadlineSeconds)) = int32(r.DecodeInt(32)) + } + } + for { + yyj501++ + if yyhl501 { + yyb501 = yyj501 > l + } else { + yyb501 = r.CheckBreak() + } + if yyb501 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj494-1, "") + z.DecStructFieldNotFound(yyj501-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6003,37 +6081,37 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym506 := z.EncBinary() - _ = yym506 + yym515 := z.EncBinary() + _ = yym515 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep507 := !z.EncBinary() - yy2arr507 := z.EncBasicHandle().StructToArray - var yyq507 [5]bool - _, _, _ = yysep507, yyq507, yy2arr507 - const yyr507 bool = false - yyq507[0] = x.Kind != "" - yyq507[1] = x.APIVersion != "" - yyq507[3] = len(x.UpdatedAnnotations) != 0 - var yynn507 int - if yyr507 || yy2arr507 { + yysep516 := !z.EncBinary() + yy2arr516 := z.EncBasicHandle().StructToArray + var yyq516 [5]bool + _, _, _ = yysep516, yyq516, yy2arr516 + const yyr516 bool = false + yyq516[0] = x.Kind != "" + yyq516[1] = x.APIVersion != "" + yyq516[3] = len(x.UpdatedAnnotations) != 0 + var yynn516 int + if yyr516 || yy2arr516 { r.EncodeArrayStart(5) } else { - yynn507 = 2 - for _, b := range yyq507 { + yynn516 = 2 + for _, b := range yyq516 { if b { - yynn507++ + yynn516++ } } - r.EncodeMapStart(yynn507) - yynn507 = 0 + r.EncodeMapStart(yynn516) + yynn516 = 0 } - if yyr507 || yy2arr507 { + if yyr516 || yy2arr516 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq507[0] { - yym509 := z.EncBinary() - _ = yym509 + if yyq516[0] { + yym518 := z.EncBinary() + _ = yym518 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6042,23 +6120,23 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq507[0] { + if yyq516[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym510 := z.EncBinary() - _ = yym510 + yym519 := z.EncBinary() + _ = yym519 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr507 || yy2arr507 { + if yyr516 || yy2arr516 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq507[1] { - yym512 := z.EncBinary() - _ = yym512 + if yyq516[1] { + yym521 := z.EncBinary() + _ = yym521 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6067,22 +6145,22 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq507[1] { + if yyq516[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym513 := z.EncBinary() - _ = yym513 + yym522 := z.EncBinary() + _ = yym522 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr507 || yy2arr507 { + if yyr516 || yy2arr516 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym515 := z.EncBinary() - _ = yym515 + yym524 := z.EncBinary() + _ = yym524 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -6091,21 +6169,21 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym516 := z.EncBinary() - _ = yym516 + yym525 := z.EncBinary() + _ = yym525 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr507 || yy2arr507 { + if yyr516 || yy2arr516 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq507[3] { + if yyq516[3] { if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym518 := z.EncBinary() - _ = yym518 + yym527 := z.EncBinary() + _ = yym527 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -6115,15 +6193,15 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq507[3] { + if yyq516[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedAnnotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym519 := z.EncBinary() - _ = yym519 + yym528 := z.EncBinary() + _ = yym528 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -6131,18 +6209,18 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr507 || yy2arr507 { + if yyr516 || yy2arr516 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy521 := &x.RollbackTo - yy521.CodecEncodeSelf(e) + yy530 := &x.RollbackTo + yy530.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollbackTo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy522 := &x.RollbackTo - yy522.CodecEncodeSelf(e) + yy531 := &x.RollbackTo + yy531.CodecEncodeSelf(e) } - if yyr507 || yy2arr507 { + if yyr516 || yy2arr516 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6155,25 +6233,25 @@ func (x *DeploymentRollback) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym523 := z.DecBinary() - _ = yym523 + yym532 := z.DecBinary() + _ = yym532 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct524 := r.ContainerType() - if yyct524 == codecSelferValueTypeMap1234 { - yyl524 := r.ReadMapStart() - if yyl524 == 0 { + yyct533 := r.ContainerType() + if yyct533 == codecSelferValueTypeMap1234 { + yyl533 := r.ReadMapStart() + if yyl533 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl524, d) + x.codecDecodeSelfFromMap(yyl533, d) } - } else if yyct524 == codecSelferValueTypeArray1234 { - yyl524 := r.ReadArrayStart() - if yyl524 == 0 { + } else if yyct533 == codecSelferValueTypeArray1234 { + yyl533 := r.ReadArrayStart() + if yyl533 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl524, d) + x.codecDecodeSelfFromArray(yyl533, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6185,12 +6263,12 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys525Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys525Slc - var yyhl525 bool = l >= 0 - for yyj525 := 0; ; yyj525++ { - if yyhl525 { - if yyj525 >= l { + var yys534Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys534Slc + var yyhl534 bool = l >= 0 + for yyj534 := 0; ; yyj534++ { + if yyhl534 { + if yyj534 >= l { break } } else { @@ -6199,10 +6277,10 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys525Slc = r.DecodeBytes(yys525Slc, true, true) - yys525 := string(yys525Slc) + yys534Slc = r.DecodeBytes(yys534Slc, true, true) + yys534 := string(yys534Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys525 { + switch yys534 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6225,25 +6303,25 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv529 := &x.UpdatedAnnotations - yym530 := z.DecBinary() - _ = yym530 + yyv538 := &x.UpdatedAnnotations + yym539 := z.DecBinary() + _ = yym539 if false { } else { - z.F.DecMapStringStringX(yyv529, false, d) + z.F.DecMapStringStringX(yyv538, false, d) } } case "rollbackTo": if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv531 := &x.RollbackTo - yyv531.CodecDecodeSelf(d) + yyv540 := &x.RollbackTo + yyv540.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys525) - } // end switch yys525 - } // end for yyj525 + z.DecStructFieldNotFound(-1, yys534) + } // end switch yys534 + } // end for yyj534 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6251,16 +6329,16 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj532 int - var yyb532 bool - var yyhl532 bool = l >= 0 - yyj532++ - if yyhl532 { - yyb532 = yyj532 > l + var yyj541 int + var yyb541 bool + var yyhl541 bool = l >= 0 + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb532 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb532 { + if yyb541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6270,13 +6348,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj532++ - if yyhl532 { - yyb532 = yyj532 > l + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb532 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb532 { + if yyb541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6286,13 +6364,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - yyj532++ - if yyhl532 { - yyb532 = yyj532 > l + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb532 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb532 { + if yyb541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6302,13 +6380,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Name = string(r.DecodeString()) } - yyj532++ - if yyhl532 { - yyb532 = yyj532 > l + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb532 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb532 { + if yyb541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6316,21 +6394,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.UpdatedAnnotations = nil } else { - yyv536 := &x.UpdatedAnnotations - yym537 := z.DecBinary() - _ = yym537 + yyv545 := &x.UpdatedAnnotations + yym546 := z.DecBinary() + _ = yym546 if false { } else { - z.F.DecMapStringStringX(yyv536, false, d) + z.F.DecMapStringStringX(yyv545, false, d) } } - yyj532++ - if yyhl532 { - yyb532 = yyj532 > l + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb532 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb532 { + if yyb541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6338,21 +6416,21 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.RollbackTo = RollbackConfig{} } else { - yyv538 := &x.RollbackTo - yyv538.CodecDecodeSelf(d) + yyv547 := &x.RollbackTo + yyv547.CodecDecodeSelf(d) } for { - yyj532++ - if yyhl532 { - yyb532 = yyj532 > l + yyj541++ + if yyhl541 { + yyb541 = yyj541 > l } else { - yyb532 = r.CheckBreak() + yyb541 = r.CheckBreak() } - if yyb532 { + if yyb541 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj532-1, "") + z.DecStructFieldNotFound(yyj541-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6364,35 +6442,35 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym539 := z.EncBinary() - _ = yym539 + yym548 := z.EncBinary() + _ = yym548 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep540 := !z.EncBinary() - yy2arr540 := z.EncBasicHandle().StructToArray - var yyq540 [1]bool - _, _, _ = yysep540, yyq540, yy2arr540 - const yyr540 bool = false - yyq540[0] = x.Revision != 0 - var yynn540 int - if yyr540 || yy2arr540 { + yysep549 := !z.EncBinary() + yy2arr549 := z.EncBasicHandle().StructToArray + var yyq549 [1]bool + _, _, _ = yysep549, yyq549, yy2arr549 + const yyr549 bool = false + yyq549[0] = x.Revision != 0 + var yynn549 int + if yyr549 || yy2arr549 { r.EncodeArrayStart(1) } else { - yynn540 = 0 - for _, b := range yyq540 { + yynn549 = 0 + for _, b := range yyq549 { if b { - yynn540++ + yynn549++ } } - r.EncodeMapStart(yynn540) - yynn540 = 0 + r.EncodeMapStart(yynn549) + yynn549 = 0 } - if yyr540 || yy2arr540 { + if yyr549 || yy2arr549 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq540[0] { - yym542 := z.EncBinary() - _ = yym542 + if yyq549[0] { + yym551 := z.EncBinary() + _ = yym551 if false { } else { r.EncodeInt(int64(x.Revision)) @@ -6401,19 +6479,19 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq540[0] { + if yyq549[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym543 := z.EncBinary() - _ = yym543 + yym552 := z.EncBinary() + _ = yym552 if false { } else { r.EncodeInt(int64(x.Revision)) } } } - if yyr540 || yy2arr540 { + if yyr549 || yy2arr549 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6426,25 +6504,25 @@ func (x *RollbackConfig) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym544 := z.DecBinary() - _ = yym544 + yym553 := z.DecBinary() + _ = yym553 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct545 := r.ContainerType() - if yyct545 == codecSelferValueTypeMap1234 { - yyl545 := r.ReadMapStart() - if yyl545 == 0 { + yyct554 := r.ContainerType() + if yyct554 == codecSelferValueTypeMap1234 { + yyl554 := r.ReadMapStart() + if yyl554 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl545, d) + x.codecDecodeSelfFromMap(yyl554, d) } - } else if yyct545 == codecSelferValueTypeArray1234 { - yyl545 := r.ReadArrayStart() - if yyl545 == 0 { + } else if yyct554 == codecSelferValueTypeArray1234 { + yyl554 := r.ReadArrayStart() + if yyl554 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl545, d) + x.codecDecodeSelfFromArray(yyl554, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6456,12 +6534,12 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys546Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys546Slc - var yyhl546 bool = l >= 0 - for yyj546 := 0; ; yyj546++ { - if yyhl546 { - if yyj546 >= l { + var yys555Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys555Slc + var yyhl555 bool = l >= 0 + for yyj555 := 0; ; yyj555++ { + if yyhl555 { + if yyj555 >= l { break } } else { @@ -6470,10 +6548,10 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys546Slc = r.DecodeBytes(yys546Slc, true, true) - yys546 := string(yys546Slc) + yys555Slc = r.DecodeBytes(yys555Slc, true, true) + yys555 := string(yys555Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys546 { + switch yys555 { case "revision": if r.TryDecodeAsNil() { x.Revision = 0 @@ -6481,9 +6559,9 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys546) - } // end switch yys546 - } // end for yyj546 + z.DecStructFieldNotFound(-1, yys555) + } // end switch yys555 + } // end for yyj555 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6491,16 +6569,16 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj548 int - var yyb548 bool - var yyhl548 bool = l >= 0 - yyj548++ - if yyhl548 { - yyb548 = yyj548 > l + var yyj557 int + var yyb557 bool + var yyhl557 bool = l >= 0 + yyj557++ + if yyhl557 { + yyb557 = yyj557 > l } else { - yyb548 = r.CheckBreak() + yyb557 = r.CheckBreak() } - if yyb548 { + if yyb557 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6511,17 +6589,17 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } for { - yyj548++ - if yyhl548 { - yyb548 = yyj548 > l + yyj557++ + if yyhl557 { + yyb557 = yyj557 > l } else { - yyb548 = r.CheckBreak() + yyb557 = r.CheckBreak() } - if yyb548 { + if yyb557 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj548-1, "") + z.DecStructFieldNotFound(yyj557-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6533,49 +6611,49 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym550 := z.EncBinary() - _ = yym550 + yym559 := z.EncBinary() + _ = yym559 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep551 := !z.EncBinary() - yy2arr551 := z.EncBasicHandle().StructToArray - var yyq551 [2]bool - _, _, _ = yysep551, yyq551, yy2arr551 - const yyr551 bool = false - yyq551[0] = x.Type != "" - yyq551[1] = x.RollingUpdate != nil - var yynn551 int - if yyr551 || yy2arr551 { + yysep560 := !z.EncBinary() + yy2arr560 := z.EncBasicHandle().StructToArray + var yyq560 [2]bool + _, _, _ = yysep560, yyq560, yy2arr560 + const yyr560 bool = false + yyq560[0] = x.Type != "" + yyq560[1] = x.RollingUpdate != nil + var yynn560 int + if yyr560 || yy2arr560 { r.EncodeArrayStart(2) } else { - yynn551 = 0 - for _, b := range yyq551 { + yynn560 = 0 + for _, b := range yyq560 { if b { - yynn551++ + yynn560++ } } - r.EncodeMapStart(yynn551) - yynn551 = 0 + r.EncodeMapStart(yynn560) + yynn560 = 0 } - if yyr551 || yy2arr551 { + if yyr560 || yy2arr560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq551[0] { + if yyq560[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq551[0] { + if yyq560[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr551 || yy2arr551 { + if yyr560 || yy2arr560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq551[1] { + if yyq560[1] { if x.RollingUpdate == nil { r.EncodeNil() } else { @@ -6585,7 +6663,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq551[1] { + if yyq560[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollingUpdate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -6596,7 +6674,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr551 || yy2arr551 { + if yyr560 || yy2arr560 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6609,25 +6687,25 @@ func (x *DeploymentStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym554 := z.DecBinary() - _ = yym554 + yym563 := z.DecBinary() + _ = yym563 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct555 := r.ContainerType() - if yyct555 == codecSelferValueTypeMap1234 { - yyl555 := r.ReadMapStart() - if yyl555 == 0 { + yyct564 := r.ContainerType() + if yyct564 == codecSelferValueTypeMap1234 { + yyl564 := r.ReadMapStart() + if yyl564 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl555, d) + x.codecDecodeSelfFromMap(yyl564, d) } - } else if yyct555 == codecSelferValueTypeArray1234 { - yyl555 := r.ReadArrayStart() - if yyl555 == 0 { + } else if yyct564 == codecSelferValueTypeArray1234 { + yyl564 := r.ReadArrayStart() + if yyl564 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl555, d) + x.codecDecodeSelfFromArray(yyl564, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6639,12 +6717,12 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys556Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys556Slc - var yyhl556 bool = l >= 0 - for yyj556 := 0; ; yyj556++ { - if yyhl556 { - if yyj556 >= l { + var yys565Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys565Slc + var yyhl565 bool = l >= 0 + for yyj565 := 0; ; yyj565++ { + if yyhl565 { + if yyj565 >= l { break } } else { @@ -6653,10 +6731,10 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys556Slc = r.DecodeBytes(yys556Slc, true, true) - yys556 := string(yys556Slc) + yys565Slc = r.DecodeBytes(yys565Slc, true, true) + yys565 := string(yys565Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys556 { + switch yys565 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -6675,9 +6753,9 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.RollingUpdate.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys556) - } // end switch yys556 - } // end for yyj556 + z.DecStructFieldNotFound(-1, yys565) + } // end switch yys565 + } // end for yyj565 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6685,16 +6763,16 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj559 int - var yyb559 bool - var yyhl559 bool = l >= 0 - yyj559++ - if yyhl559 { - yyb559 = yyj559 > l + var yyj568 int + var yyb568 bool + var yyhl568 bool = l >= 0 + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l } else { - yyb559 = r.CheckBreak() + yyb568 = r.CheckBreak() } - if yyb559 { + if yyb568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6704,13 +6782,13 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = DeploymentStrategyType(r.DecodeString()) } - yyj559++ - if yyhl559 { - yyb559 = yyj559 > l + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l } else { - yyb559 = r.CheckBreak() + yyb568 = r.CheckBreak() } - if yyb559 { + if yyb568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6726,17 +6804,17 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.RollingUpdate.CodecDecodeSelf(d) } for { - yyj559++ - if yyhl559 { - yyb559 = yyj559 > l + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l } else { - yyb559 = r.CheckBreak() + yyb568 = r.CheckBreak() } - if yyb559 { + if yyb568 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj559-1, "") + z.DecStructFieldNotFound(yyj568-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6745,8 +6823,8 @@ func (x DeploymentStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym562 := z.EncBinary() - _ = yym562 + yym571 := z.EncBinary() + _ = yym571 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -6758,8 +6836,8 @@ func (x *DeploymentStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym563 := z.DecBinary() - _ = yym563 + yym572 := z.DecBinary() + _ = yym572 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -6774,42 +6852,42 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym564 := z.EncBinary() - _ = yym564 + yym573 := z.EncBinary() + _ = yym573 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep565 := !z.EncBinary() - yy2arr565 := z.EncBasicHandle().StructToArray - var yyq565 [2]bool - _, _, _ = yysep565, yyq565, yy2arr565 - const yyr565 bool = false - yyq565[0] = x.MaxUnavailable != nil - yyq565[1] = x.MaxSurge != nil - var yynn565 int - if yyr565 || yy2arr565 { + yysep574 := !z.EncBinary() + yy2arr574 := z.EncBasicHandle().StructToArray + var yyq574 [2]bool + _, _, _ = yysep574, yyq574, yy2arr574 + const yyr574 bool = false + yyq574[0] = x.MaxUnavailable != nil + yyq574[1] = x.MaxSurge != nil + var yynn574 int + if yyr574 || yy2arr574 { r.EncodeArrayStart(2) } else { - yynn565 = 0 - for _, b := range yyq565 { + yynn574 = 0 + for _, b := range yyq574 { if b { - yynn565++ + yynn574++ } } - r.EncodeMapStart(yynn565) - yynn565 = 0 + r.EncodeMapStart(yynn574) + yynn574 = 0 } - if yyr565 || yy2arr565 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq565[0] { + if yyq574[0] { if x.MaxUnavailable == nil { r.EncodeNil() } else { - yym567 := z.EncBinary() - _ = yym567 + yym576 := z.EncBinary() + _ = yym576 if false { } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym567 && z.IsJSONHandle() { + } else if !yym576 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxUnavailable) } else { z.EncFallback(x.MaxUnavailable) @@ -6819,18 +6897,18 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq565[0] { + if yyq574[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxUnavailable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MaxUnavailable == nil { r.EncodeNil() } else { - yym568 := z.EncBinary() - _ = yym568 + yym577 := z.EncBinary() + _ = yym577 if false { } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym568 && z.IsJSONHandle() { + } else if !yym577 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxUnavailable) } else { z.EncFallback(x.MaxUnavailable) @@ -6838,17 +6916,17 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr565 || yy2arr565 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq565[1] { + if yyq574[1] { if x.MaxSurge == nil { r.EncodeNil() } else { - yym570 := z.EncBinary() - _ = yym570 + yym579 := z.EncBinary() + _ = yym579 if false { } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym570 && z.IsJSONHandle() { + } else if !yym579 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxSurge) } else { z.EncFallback(x.MaxSurge) @@ -6858,18 +6936,18 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq565[1] { + if yyq574[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxSurge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MaxSurge == nil { r.EncodeNil() } else { - yym571 := z.EncBinary() - _ = yym571 + yym580 := z.EncBinary() + _ = yym580 if false { } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym571 && z.IsJSONHandle() { + } else if !yym580 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxSurge) } else { z.EncFallback(x.MaxSurge) @@ -6877,7 +6955,7 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr565 || yy2arr565 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6890,25 +6968,25 @@ func (x *RollingUpdateDeployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym572 := z.DecBinary() - _ = yym572 + yym581 := z.DecBinary() + _ = yym581 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct573 := r.ContainerType() - if yyct573 == codecSelferValueTypeMap1234 { - yyl573 := r.ReadMapStart() - if yyl573 == 0 { + yyct582 := r.ContainerType() + if yyct582 == codecSelferValueTypeMap1234 { + yyl582 := r.ReadMapStart() + if yyl582 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl573, d) + x.codecDecodeSelfFromMap(yyl582, d) } - } else if yyct573 == codecSelferValueTypeArray1234 { - yyl573 := r.ReadArrayStart() - if yyl573 == 0 { + } else if yyct582 == codecSelferValueTypeArray1234 { + yyl582 := r.ReadArrayStart() + if yyl582 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl573, d) + x.codecDecodeSelfFromArray(yyl582, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6920,12 +6998,12 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys574Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys574Slc - var yyhl574 bool = l >= 0 - for yyj574 := 0; ; yyj574++ { - if yyhl574 { - if yyj574 >= l { + var yys583Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys583Slc + var yyhl583 bool = l >= 0 + for yyj583 := 0; ; yyj583++ { + if yyhl583 { + if yyj583 >= l { break } } else { @@ -6934,10 +7012,10 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys574Slc = r.DecodeBytes(yys574Slc, true, true) - yys574 := string(yys574Slc) + yys583Slc = r.DecodeBytes(yys583Slc, true, true) + yys583 := string(yys583Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys574 { + switch yys583 { case "maxUnavailable": if r.TryDecodeAsNil() { if x.MaxUnavailable != nil { @@ -6947,11 +7025,11 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.MaxUnavailable == nil { x.MaxUnavailable = new(pkg5_intstr.IntOrString) } - yym576 := z.DecBinary() - _ = yym576 + yym585 := z.DecBinary() + _ = yym585 if false { } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym576 && z.IsJSONHandle() { + } else if !yym585 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxUnavailable) } else { z.DecFallback(x.MaxUnavailable, false) @@ -6966,20 +7044,20 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.MaxSurge == nil { x.MaxSurge = new(pkg5_intstr.IntOrString) } - yym578 := z.DecBinary() - _ = yym578 + yym587 := z.DecBinary() + _ = yym587 if false { } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym578 && z.IsJSONHandle() { + } else if !yym587 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxSurge) } else { z.DecFallback(x.MaxSurge, false) } } default: - z.DecStructFieldNotFound(-1, yys574) - } // end switch yys574 - } // end for yyj574 + z.DecStructFieldNotFound(-1, yys583) + } // end switch yys583 + } // end for yyj583 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6987,16 +7065,16 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj579 int - var yyb579 bool - var yyhl579 bool = l >= 0 - yyj579++ - if yyhl579 { - yyb579 = yyj579 > l + var yyj588 int + var yyb588 bool + var yyhl588 bool = l >= 0 + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb579 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb579 { + if yyb588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7009,23 +7087,23 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if x.MaxUnavailable == nil { x.MaxUnavailable = new(pkg5_intstr.IntOrString) } - yym581 := z.DecBinary() - _ = yym581 + yym590 := z.DecBinary() + _ = yym590 if false { } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym581 && z.IsJSONHandle() { + } else if !yym590 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxUnavailable) } else { z.DecFallback(x.MaxUnavailable, false) } } - yyj579++ - if yyhl579 { - yyb579 = yyj579 > l + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb579 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb579 { + if yyb588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7038,28 +7116,28 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if x.MaxSurge == nil { x.MaxSurge = new(pkg5_intstr.IntOrString) } - yym583 := z.DecBinary() - _ = yym583 + yym592 := z.DecBinary() + _ = yym592 if false { } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym583 && z.IsJSONHandle() { + } else if !yym592 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxSurge) } else { z.DecFallback(x.MaxSurge, false) } } for { - yyj579++ - if yyhl579 { - yyb579 = yyj579 > l + yyj588++ + if yyhl588 { + yyb588 = yyj588 > l } else { - yyb579 = r.CheckBreak() + yyb588 = r.CheckBreak() } - if yyb579 { + if yyb588 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj579-1, "") + z.DecStructFieldNotFound(yyj588-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7071,139 +7149,140 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym584 := z.EncBinary() - _ = yym584 + yym593 := z.EncBinary() + _ = yym593 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep585 := !z.EncBinary() - yy2arr585 := z.EncBasicHandle().StructToArray - var yyq585 [5]bool - _, _, _ = yysep585, yyq585, yy2arr585 - const yyr585 bool = false - yyq585[0] = x.ObservedGeneration != 0 - yyq585[1] = x.Replicas != 0 - yyq585[2] = x.UpdatedReplicas != 0 - yyq585[3] = x.AvailableReplicas != 0 - yyq585[4] = x.UnavailableReplicas != 0 - var yynn585 int - if yyr585 || yy2arr585 { - r.EncodeArrayStart(5) + yysep594 := !z.EncBinary() + yy2arr594 := z.EncBasicHandle().StructToArray + var yyq594 [6]bool + _, _, _ = yysep594, yyq594, yy2arr594 + const yyr594 bool = false + yyq594[0] = x.ObservedGeneration != 0 + yyq594[1] = x.Replicas != 0 + yyq594[2] = x.UpdatedReplicas != 0 + yyq594[3] = x.AvailableReplicas != 0 + yyq594[4] = x.UnavailableReplicas != 0 + yyq594[5] = len(x.Conditions) != 0 + var yynn594 int + if yyr594 || yy2arr594 { + r.EncodeArrayStart(6) } else { - yynn585 = 0 - for _, b := range yyq585 { + yynn594 = 0 + for _, b := range yyq594 { if b { - yynn585++ + yynn594++ } } - r.EncodeMapStart(yynn585) - yynn585 = 0 + r.EncodeMapStart(yynn594) + yynn594 = 0 } - if yyr585 || yy2arr585 { + if yyr594 || yy2arr594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq585[0] { - yym587 := z.EncBinary() - _ = yym587 - if false { - } else { - r.EncodeInt(int64(x.ObservedGeneration)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq585[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym588 := z.EncBinary() - _ = yym588 - if false { - } else { - r.EncodeInt(int64(x.ObservedGeneration)) - } - } - } - if yyr585 || yy2arr585 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq585[1] { - yym590 := z.EncBinary() - _ = yym590 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq585[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("replicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym591 := z.EncBinary() - _ = yym591 - if false { - } else { - r.EncodeInt(int64(x.Replicas)) - } - } - } - if yyr585 || yy2arr585 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq585[2] { - yym593 := z.EncBinary() - _ = yym593 - if false { - } else { - r.EncodeInt(int64(x.UpdatedReplicas)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq585[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym594 := z.EncBinary() - _ = yym594 - if false { - } else { - r.EncodeInt(int64(x.UpdatedReplicas)) - } - } - } - if yyr585 || yy2arr585 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq585[3] { + if yyq594[0] { yym596 := z.EncBinary() _ = yym596 if false { } else { - r.EncodeInt(int64(x.AvailableReplicas)) + r.EncodeInt(int64(x.ObservedGeneration)) } } else { r.EncodeInt(0) } } else { - if yyq585[3] { + if yyq594[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) + r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym597 := z.EncBinary() _ = yym597 if false { + } else { + r.EncodeInt(int64(x.ObservedGeneration)) + } + } + } + if yyr594 || yy2arr594 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq594[1] { + yym599 := z.EncBinary() + _ = yym599 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq594[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("replicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym600 := z.EncBinary() + _ = yym600 + if false { + } else { + r.EncodeInt(int64(x.Replicas)) + } + } + } + if yyr594 || yy2arr594 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq594[2] { + yym602 := z.EncBinary() + _ = yym602 + if false { + } else { + r.EncodeInt(int64(x.UpdatedReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq594[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym603 := z.EncBinary() + _ = yym603 + if false { + } else { + r.EncodeInt(int64(x.UpdatedReplicas)) + } + } + } + if yyr594 || yy2arr594 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq594[3] { + yym605 := z.EncBinary() + _ = yym605 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq594[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym606 := z.EncBinary() + _ = yym606 + if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr585 || yy2arr585 { + if yyr594 || yy2arr594 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq585[4] { - yym599 := z.EncBinary() - _ = yym599 + if yyq594[4] { + yym608 := z.EncBinary() + _ = yym608 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) @@ -7212,19 +7291,52 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq585[4] { + if yyq594[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unavailableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym600 := z.EncBinary() - _ = yym600 + yym609 := z.EncBinary() + _ = yym609 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) } } } - if yyr585 || yy2arr585 { + if yyr594 || yy2arr594 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq594[5] { + if x.Conditions == nil { + r.EncodeNil() + } else { + yym611 := z.EncBinary() + _ = yym611 + if false { + } else { + h.encSliceDeploymentCondition(([]DeploymentCondition)(x.Conditions), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq594[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("conditions")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Conditions == nil { + r.EncodeNil() + } else { + yym612 := z.EncBinary() + _ = yym612 + if false { + } else { + h.encSliceDeploymentCondition(([]DeploymentCondition)(x.Conditions), e) + } + } + } + } + if yyr594 || yy2arr594 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7237,25 +7349,25 @@ func (x *DeploymentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym601 := z.DecBinary() - _ = yym601 + yym613 := z.DecBinary() + _ = yym613 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct602 := r.ContainerType() - if yyct602 == codecSelferValueTypeMap1234 { - yyl602 := r.ReadMapStart() - if yyl602 == 0 { + yyct614 := r.ContainerType() + if yyct614 == codecSelferValueTypeMap1234 { + yyl614 := r.ReadMapStart() + if yyl614 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl602, d) + x.codecDecodeSelfFromMap(yyl614, d) } - } else if yyct602 == codecSelferValueTypeArray1234 { - yyl602 := r.ReadArrayStart() - if yyl602 == 0 { + } else if yyct614 == codecSelferValueTypeArray1234 { + yyl614 := r.ReadArrayStart() + if yyl614 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl602, d) + x.codecDecodeSelfFromArray(yyl614, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7267,12 +7379,12 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys603Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys603Slc - var yyhl603 bool = l >= 0 - for yyj603 := 0; ; yyj603++ { - if yyhl603 { - if yyj603 >= l { + var yys615Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys615Slc + var yyhl615 bool = l >= 0 + for yyj615 := 0; ; yyj615++ { + if yyhl615 { + if yyj615 >= l { break } } else { @@ -7281,10 +7393,10 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys603Slc = r.DecodeBytes(yys603Slc, true, true) - yys603 := string(yys603Slc) + yys615Slc = r.DecodeBytes(yys615Slc, true, true) + yys615 := string(yys615Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys603 { + switch yys615 { case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 @@ -7315,10 +7427,22 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.UnavailableReplicas = int32(r.DecodeInt(32)) } + case "conditions": + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv621 := &x.Conditions + yym622 := z.DecBinary() + _ = yym622 + if false { + } else { + h.decSliceDeploymentCondition((*[]DeploymentCondition)(yyv621), d) + } + } default: - z.DecStructFieldNotFound(-1, yys603) - } // end switch yys603 - } // end for yyj603 + z.DecStructFieldNotFound(-1, yys615) + } // end switch yys615 + } // end for yyj615 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7326,16 +7450,16 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj609 int - var yyb609 bool - var yyhl609 bool = l >= 0 - yyj609++ - if yyhl609 { - yyb609 = yyj609 > l + var yyj623 int + var yyb623 bool + var yyhl623 bool = l >= 0 + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb609 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb609 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7345,13 +7469,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj609++ - if yyhl609 { - yyb609 = yyj609 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb609 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb609 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7361,13 +7485,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj609++ - if yyhl609 { - yyb609 = yyj609 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb609 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb609 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7377,13 +7501,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UpdatedReplicas = int32(r.DecodeInt(32)) } - yyj609++ - if yyhl609 { - yyb609 = yyj609 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb609 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb609 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7393,13 +7517,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj609++ - if yyhl609 { - yyb609 = yyj609 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l } else { - yyb609 = r.CheckBreak() + yyb623 = r.CheckBreak() } - if yyb609 { + if yyb623 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7409,444 +7533,259 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UnavailableReplicas = int32(r.DecodeInt(32)) } - for { - yyj609++ - if yyhl609 { - yyb609 = yyj609 > l + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv629 := &x.Conditions + yym630 := z.DecBinary() + _ = yym630 + if false { } else { - yyb609 = r.CheckBreak() + h.decSliceDeploymentCondition((*[]DeploymentCondition)(yyv629), d) } - if yyb609 { + } + for { + yyj623++ + if yyhl623 { + yyb623 = yyj623 > l + } else { + yyb623 = r.CheckBreak() + } + if yyb623 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj609-1, "") + z.DecStructFieldNotFound(yyj623-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x DeploymentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - if x == nil { - r.EncodeNil() + yym631 := z.EncBinary() + _ = yym631 + if false { + } else if z.HasExtensions() && z.EncExt(x) { } else { - yym615 := z.EncBinary() - _ = yym615 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep616 := !z.EncBinary() - yy2arr616 := z.EncBasicHandle().StructToArray - var yyq616 [4]bool - _, _, _ = yysep616, yyq616, yy2arr616 - const yyr616 bool = false - yyq616[0] = x.Kind != "" - yyq616[1] = x.APIVersion != "" - yyq616[2] = true - var yynn616 int - if yyr616 || yy2arr616 { - r.EncodeArrayStart(4) - } else { - yynn616 = 1 - for _, b := range yyq616 { - if b { - yynn616++ - } - } - r.EncodeMapStart(yynn616) - yynn616 = 0 - } - if yyr616 || yy2arr616 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq616[0] { - yym618 := z.EncBinary() - _ = yym618 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq616[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym619 := z.EncBinary() - _ = yym619 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr616 || yy2arr616 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq616[1] { - yym621 := z.EncBinary() - _ = yym621 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq616[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym622 := z.EncBinary() - _ = yym622 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr616 || yy2arr616 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq616[2] { - yy624 := &x.ListMeta - yym625 := z.EncBinary() - _ = yym625 - if false { - } else if z.HasExtensions() && z.EncExt(yy624) { - } else { - z.EncFallback(yy624) - } - } else { - r.EncodeNil() - } - } else { - if yyq616[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy626 := &x.ListMeta - yym627 := z.EncBinary() - _ = yym627 - if false { - } else if z.HasExtensions() && z.EncExt(yy626) { - } else { - z.EncFallback(yy626) - } - } - } - if yyr616 || yy2arr616 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym629 := z.EncBinary() - _ = yym629 - if false { - } else { - h.encSliceDeployment(([]Deployment)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym630 := z.EncBinary() - _ = yym630 - if false { - } else { - h.encSliceDeployment(([]Deployment)(x.Items), e) - } - } - } - if yyr616 || yy2arr616 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } + r.EncodeString(codecSelferC_UTF81234, string(x)) } } -func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *DeploymentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym631 := z.DecBinary() - _ = yym631 + yym632 := z.DecBinary() + _ = yym632 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct632 := r.ContainerType() - if yyct632 == codecSelferValueTypeMap1234 { - yyl632 := r.ReadMapStart() - if yyl632 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl632, d) - } - } else if yyct632 == codecSelferValueTypeArray1234 { - yyl632 := r.ReadArrayStart() - if yyl632 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl632, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } + *((*string)(x)) = r.DecodeString() } } -func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys633Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys633Slc - var yyhl633 bool = l >= 0 - for yyj633 := 0; ; yyj633++ { - if yyhl633 { - if yyj633 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys633Slc = r.DecodeBytes(yys633Slc, true, true) - yys633 := string(yys633Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys633 { - 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 = pkg1_unversioned.ListMeta{} - } else { - yyv636 := &x.ListMeta - yym637 := z.DecBinary() - _ = yym637 - if false { - } else if z.HasExtensions() && z.DecExt(yyv636) { - } else { - z.DecFallback(yyv636, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv638 := &x.Items - yym639 := z.DecBinary() - _ = yym639 - if false { - } else { - h.decSliceDeployment((*[]Deployment)(yyv638), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys633) - } // end switch yys633 - } // end for yyj633 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj640 int - var yyb640 bool - var yyhl640 bool = l >= 0 - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l - } else { - yyb640 = r.CheckBreak() - } - if yyb640 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l - } else { - yyb640 = r.CheckBreak() - } - if yyb640 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l - } else { - yyb640 = r.CheckBreak() - } - if yyb640 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv643 := &x.ListMeta - yym644 := z.DecBinary() - _ = yym644 - if false { - } else if z.HasExtensions() && z.DecExt(yyv643) { - } else { - z.DecFallback(yyv643, false) - } - } - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l - } else { - yyb640 = r.CheckBreak() - } - if yyb640 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv645 := &x.Items - yym646 := z.DecBinary() - _ = yym646 - if false { - } else { - h.decSliceDeployment((*[]Deployment)(yyv645), d) - } - } - for { - yyj640++ - if yyhl640 { - yyb640 = yyj640 > l - } else { - yyb640 = r.CheckBreak() - } - if yyb640 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj640-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *DeploymentCondition) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym647 := z.EncBinary() - _ = yym647 + yym633 := z.EncBinary() + _ = yym633 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep648 := !z.EncBinary() - yy2arr648 := z.EncBasicHandle().StructToArray - var yyq648 [2]bool - _, _, _ = yysep648, yyq648, yy2arr648 - const yyr648 bool = false - yyq648[0] = x.Selector != nil - var yynn648 int - if yyr648 || yy2arr648 { - r.EncodeArrayStart(2) + yysep634 := !z.EncBinary() + yy2arr634 := z.EncBasicHandle().StructToArray + var yyq634 [6]bool + _, _, _ = yysep634, yyq634, yy2arr634 + const yyr634 bool = false + yyq634[2] = true + yyq634[3] = true + yyq634[4] = x.Reason != "" + yyq634[5] = x.Message != "" + var yynn634 int + if yyr634 || yy2arr634 { + r.EncodeArrayStart(6) } else { - yynn648 = 1 - for _, b := range yyq648 { + yynn634 = 2 + for _, b := range yyq634 { if b { - yynn648++ + yynn634++ } } - r.EncodeMapStart(yynn648) - yynn648 = 0 + r.EncodeMapStart(yynn634) + yynn634 = 0 } - if yyr648 || yy2arr648 { + if yyr634 || yy2arr634 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq648[0] { - if x.Selector == nil { - r.EncodeNil() + x.Type.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Type.CodecEncodeSelf(e) + } + if yyr634 || yy2arr634 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym637 := z.EncBinary() + _ = yym637 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym638 := z.EncBinary() + _ = yym638 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } + } + if yyr634 || yy2arr634 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq634[2] { + yy640 := &x.LastUpdateTime + yym641 := z.EncBinary() + _ = yym641 + if false { + } else if z.HasExtensions() && z.EncExt(yy640) { + } else if yym641 { + z.EncBinaryMarshal(yy640) + } else if !yym641 && z.IsJSONHandle() { + z.EncJSONMarshal(yy640) } else { - yym650 := z.EncBinary() - _ = yym650 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + z.EncFallback(yy640) } } else { r.EncodeNil() } } else { - if yyq648[0] { + if yyq634[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("selector")) + r.EncodeString(codecSelferC_UTF81234, string("lastUpdateTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Selector == nil { - r.EncodeNil() + yy642 := &x.LastUpdateTime + yym643 := z.EncBinary() + _ = yym643 + if false { + } else if z.HasExtensions() && z.EncExt(yy642) { + } else if yym643 { + z.EncBinaryMarshal(yy642) + } else if !yym643 && z.IsJSONHandle() { + z.EncJSONMarshal(yy642) } else { - yym651 := z.EncBinary() - _ = yym651 - if false { - } else if z.HasExtensions() && z.EncExt(x.Selector) { - } else { - z.EncFallback(x.Selector) - } + z.EncFallback(yy642) } } } - if yyr648 || yy2arr648 { + if yyr634 || yy2arr634 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy653 := &x.Template - yy653.CodecEncodeSelf(e) + if yyq634[3] { + yy645 := &x.LastTransitionTime + yym646 := z.EncBinary() + _ = yym646 + if false { + } else if z.HasExtensions() && z.EncExt(yy645) { + } else if yym646 { + z.EncBinaryMarshal(yy645) + } else if !yym646 && z.IsJSONHandle() { + z.EncJSONMarshal(yy645) + } else { + z.EncFallback(yy645) + } + } else { + r.EncodeNil() + } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("template")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy654 := &x.Template - yy654.CodecEncodeSelf(e) + if yyq634[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy647 := &x.LastTransitionTime + yym648 := z.EncBinary() + _ = yym648 + if false { + } else if z.HasExtensions() && z.EncExt(yy647) { + } else if yym648 { + z.EncBinaryMarshal(yy647) + } else if !yym648 && z.IsJSONHandle() { + z.EncJSONMarshal(yy647) + } else { + z.EncFallback(yy647) + } + } } - if yyr648 || yy2arr648 { + if yyr634 || yy2arr634 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq634[4] { + yym650 := z.EncBinary() + _ = yym650 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq634[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym651 := z.EncBinary() + _ = yym651 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr634 || yy2arr634 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq634[5] { + yym653 := z.EncBinary() + _ = yym653 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq634[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym654 := z.EncBinary() + _ = yym654 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr634 || yy2arr634 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7855,7 +7794,7 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *DeploymentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7885,7 +7824,7 @@ func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *DeploymentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -7907,6 +7846,694 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys657 := string(yys657Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys657 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = DeploymentConditionType(r.DecodeString()) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) + } + case "lastUpdateTime": + if r.TryDecodeAsNil() { + x.LastUpdateTime = pkg1_unversioned.Time{} + } else { + yyv660 := &x.LastUpdateTime + yym661 := z.DecBinary() + _ = yym661 + if false { + } else if z.HasExtensions() && z.DecExt(yyv660) { + } else if yym661 { + z.DecBinaryUnmarshal(yyv660) + } else if !yym661 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv660) + } else { + z.DecFallback(yyv660, false) + } + } + case "lastTransitionTime": + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg1_unversioned.Time{} + } else { + yyv662 := &x.LastTransitionTime + yym663 := z.DecBinary() + _ = yym663 + if false { + } else if z.HasExtensions() && z.DecExt(yyv662) { + } else if yym663 { + z.DecBinaryUnmarshal(yyv662) + } else if !yym663 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv662) + } else { + z.DecFallback(yyv662, false) + } + } + case "reason": + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + case "message": + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys657) + } // end switch yys657 + } // end for yyj657 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DeploymentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj666 int + var yyb666 bool + var yyhl666 bool = l >= 0 + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = DeploymentConditionType(r.DecodeString()) + } + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) + } + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastUpdateTime = pkg1_unversioned.Time{} + } else { + yyv669 := &x.LastUpdateTime + yym670 := z.DecBinary() + _ = yym670 + if false { + } else if z.HasExtensions() && z.DecExt(yyv669) { + } else if yym670 { + z.DecBinaryUnmarshal(yyv669) + } else if !yym670 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv669) + } else { + z.DecFallback(yyv669, false) + } + } + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg1_unversioned.Time{} + } else { + yyv671 := &x.LastTransitionTime + yym672 := z.DecBinary() + _ = yym672 + if false { + } else if z.HasExtensions() && z.DecExt(yyv671) { + } else if yym672 { + z.DecBinaryUnmarshal(yyv671) + } else if !yym672 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv671) + } else { + z.DecFallback(yyv671, false) + } + } + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + for { + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l + } else { + yyb666 = r.CheckBreak() + } + if yyb666 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj666-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym675 := z.EncBinary() + _ = yym675 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep676 := !z.EncBinary() + yy2arr676 := z.EncBasicHandle().StructToArray + var yyq676 [4]bool + _, _, _ = yysep676, yyq676, yy2arr676 + const yyr676 bool = false + yyq676[0] = x.Kind != "" + yyq676[1] = x.APIVersion != "" + yyq676[2] = true + var yynn676 int + if yyr676 || yy2arr676 { + r.EncodeArrayStart(4) + } else { + yynn676 = 1 + for _, b := range yyq676 { + if b { + yynn676++ + } + } + r.EncodeMapStart(yynn676) + yynn676 = 0 + } + if yyr676 || yy2arr676 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq676[0] { + yym678 := z.EncBinary() + _ = yym678 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq676[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym679 := z.EncBinary() + _ = yym679 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr676 || yy2arr676 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq676[1] { + yym681 := z.EncBinary() + _ = yym681 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq676[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym682 := z.EncBinary() + _ = yym682 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr676 || yy2arr676 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq676[2] { + yy684 := &x.ListMeta + yym685 := z.EncBinary() + _ = yym685 + if false { + } else if z.HasExtensions() && z.EncExt(yy684) { + } else { + z.EncFallback(yy684) + } + } else { + r.EncodeNil() + } + } else { + if yyq676[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy686 := &x.ListMeta + yym687 := z.EncBinary() + _ = yym687 + if false { + } else if z.HasExtensions() && z.EncExt(yy686) { + } else { + z.EncFallback(yy686) + } + } + } + if yyr676 || yy2arr676 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym689 := z.EncBinary() + _ = yym689 + if false { + } else { + h.encSliceDeployment(([]Deployment)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym690 := z.EncBinary() + _ = yym690 + if false { + } else { + h.encSliceDeployment(([]Deployment)(x.Items), e) + } + } + } + if yyr676 || yy2arr676 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym691 := z.DecBinary() + _ = yym691 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct692 := r.ContainerType() + if yyct692 == codecSelferValueTypeMap1234 { + yyl692 := r.ReadMapStart() + if yyl692 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl692, d) + } + } else if yyct692 == codecSelferValueTypeArray1234 { + yyl692 := r.ReadArrayStart() + if yyl692 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl692, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys693Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys693Slc + var yyhl693 bool = l >= 0 + for yyj693 := 0; ; yyj693++ { + if yyhl693 { + if yyj693 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys693Slc = r.DecodeBytes(yys693Slc, true, true) + yys693 := string(yys693Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys693 { + 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 = pkg1_unversioned.ListMeta{} + } else { + yyv696 := &x.ListMeta + yym697 := z.DecBinary() + _ = yym697 + if false { + } else if z.HasExtensions() && z.DecExt(yyv696) { + } else { + z.DecFallback(yyv696, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv698 := &x.Items + yym699 := z.DecBinary() + _ = yym699 + if false { + } else { + h.decSliceDeployment((*[]Deployment)(yyv698), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys693) + } // end switch yys693 + } // end for yyj693 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj700 int + var yyb700 bool + var yyhl700 bool = l >= 0 + yyj700++ + if yyhl700 { + yyb700 = yyj700 > l + } else { + yyb700 = r.CheckBreak() + } + if yyb700 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj700++ + if yyhl700 { + yyb700 = yyj700 > l + } else { + yyb700 = r.CheckBreak() + } + if yyb700 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj700++ + if yyhl700 { + yyb700 = yyj700 > l + } else { + yyb700 = r.CheckBreak() + } + if yyb700 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv703 := &x.ListMeta + yym704 := z.DecBinary() + _ = yym704 + if false { + } else if z.HasExtensions() && z.DecExt(yyv703) { + } else { + z.DecFallback(yyv703, false) + } + } + yyj700++ + if yyhl700 { + yyb700 = yyj700 > l + } else { + yyb700 = r.CheckBreak() + } + if yyb700 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv705 := &x.Items + yym706 := z.DecBinary() + _ = yym706 + if false { + } else { + h.decSliceDeployment((*[]Deployment)(yyv705), d) + } + } + for { + yyj700++ + if yyhl700 { + yyb700 = yyj700 > l + } else { + yyb700 = r.CheckBreak() + } + if yyb700 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj700-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym707 := z.EncBinary() + _ = yym707 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep708 := !z.EncBinary() + yy2arr708 := z.EncBasicHandle().StructToArray + var yyq708 [2]bool + _, _, _ = yysep708, yyq708, yy2arr708 + const yyr708 bool = false + yyq708[0] = x.Selector != nil + var yynn708 int + if yyr708 || yy2arr708 { + r.EncodeArrayStart(2) + } else { + yynn708 = 1 + for _, b := range yyq708 { + if b { + yynn708++ + } + } + r.EncodeMapStart(yynn708) + yynn708 = 0 + } + if yyr708 || yy2arr708 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq708[0] { + if x.Selector == nil { + r.EncodeNil() + } else { + yym710 := z.EncBinary() + _ = yym710 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq708[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("selector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Selector == nil { + r.EncodeNil() + } else { + yym711 := z.EncBinary() + _ = yym711 + if false { + } else if z.HasExtensions() && z.EncExt(x.Selector) { + } else { + z.EncFallback(x.Selector) + } + } + } + } + if yyr708 || yy2arr708 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy713 := &x.Template + yy713.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("template")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy714 := &x.Template + yy714.CodecEncodeSelf(e) + } + if yyr708 || yy2arr708 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym715 := z.DecBinary() + _ = yym715 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct716 := r.ContainerType() + if yyct716 == codecSelferValueTypeMap1234 { + yyl716 := r.ReadMapStart() + if yyl716 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl716, d) + } + } else if yyct716 == codecSelferValueTypeArray1234 { + yyl716 := r.ReadArrayStart() + if yyl716 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl716, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys717Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys717Slc + var yyhl717 bool = l >= 0 + for yyj717 := 0; ; yyj717++ { + if yyhl717 { + if yyj717 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys717Slc = r.DecodeBytes(yys717Slc, true, true) + yys717 := string(yys717Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys717 { case "selector": if r.TryDecodeAsNil() { if x.Selector != nil { @@ -7916,8 +8543,8 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym659 := z.DecBinary() - _ = yym659 + yym719 := z.DecBinary() + _ = yym719 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -7928,13 +8555,13 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv660 := &x.Template - yyv660.CodecDecodeSelf(d) + yyv720 := &x.Template + yyv720.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys657) - } // end switch yys657 - } // end for yyj657 + z.DecStructFieldNotFound(-1, yys717) + } // end switch yys717 + } // end for yyj717 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7942,16 +8569,16 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj661 int - var yyb661 bool - var yyhl661 bool = l >= 0 - yyj661++ - if yyhl661 { - yyb661 = yyj661 > l + var yyj721 int + var yyb721 bool + var yyhl721 bool = l >= 0 + yyj721++ + if yyhl721 { + yyb721 = yyj721 > l } else { - yyb661 = r.CheckBreak() + yyb721 = r.CheckBreak() } - if yyb661 { + if yyb721 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7964,21 +8591,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym663 := z.DecBinary() - _ = yym663 + yym723 := z.DecBinary() + _ = yym723 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj661++ - if yyhl661 { - yyb661 = yyj661 > l + yyj721++ + if yyhl721 { + yyb721 = yyj721 > l } else { - yyb661 = r.CheckBreak() + yyb721 = r.CheckBreak() } - if yyb661 { + if yyb721 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7986,21 +8613,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv664 := &x.Template - yyv664.CodecDecodeSelf(d) + yyv724 := &x.Template + yyv724.CodecDecodeSelf(d) } for { - yyj661++ - if yyhl661 { - yyb661 = yyj661 > l + yyj721++ + if yyhl721 { + yyb721 = yyj721 > l } else { - yyb661 = r.CheckBreak() + yyb721 = r.CheckBreak() } - if yyb661 { + if yyb721 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj661-1, "") + z.DecStructFieldNotFound(yyj721-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8012,33 +8639,33 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym665 := z.EncBinary() - _ = yym665 + yym725 := z.EncBinary() + _ = yym725 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep666 := !z.EncBinary() - yy2arr666 := z.EncBasicHandle().StructToArray - var yyq666 [4]bool - _, _, _ = yysep666, yyq666, yy2arr666 - const yyr666 bool = false - var yynn666 int - if yyr666 || yy2arr666 { + yysep726 := !z.EncBinary() + yy2arr726 := z.EncBasicHandle().StructToArray + var yyq726 [4]bool + _, _, _ = yysep726, yyq726, yy2arr726 + const yyr726 bool = false + var yynn726 int + if yyr726 || yy2arr726 { r.EncodeArrayStart(4) } else { - yynn666 = 4 - for _, b := range yyq666 { + yynn726 = 4 + for _, b := range yyq726 { if b { - yynn666++ + yynn726++ } } - r.EncodeMapStart(yynn666) - yynn666 = 0 + r.EncodeMapStart(yynn726) + yynn726 = 0 } - if yyr666 || yy2arr666 { + if yyr726 || yy2arr726 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym668 := z.EncBinary() - _ = yym668 + yym728 := z.EncBinary() + _ = yym728 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) @@ -8047,17 +8674,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym669 := z.EncBinary() - _ = yym669 + yym729 := z.EncBinary() + _ = yym729 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) } } - if yyr666 || yy2arr666 { + if yyr726 || yy2arr726 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym671 := z.EncBinary() - _ = yym671 + yym731 := z.EncBinary() + _ = yym731 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) @@ -8066,17 +8693,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberMisscheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym672 := z.EncBinary() - _ = yym672 + yym732 := z.EncBinary() + _ = yym732 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) } } - if yyr666 || yy2arr666 { + if yyr726 || yy2arr726 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym674 := z.EncBinary() - _ = yym674 + yym734 := z.EncBinary() + _ = yym734 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) @@ -8085,17 +8712,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym675 := z.EncBinary() - _ = yym675 + yym735 := z.EncBinary() + _ = yym735 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) } } - if yyr666 || yy2arr666 { + if yyr726 || yy2arr726 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym677 := z.EncBinary() - _ = yym677 + yym737 := z.EncBinary() + _ = yym737 if false { } else { r.EncodeInt(int64(x.NumberReady)) @@ -8104,14 +8731,14 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberReady")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym678 := z.EncBinary() - _ = yym678 + yym738 := z.EncBinary() + _ = yym738 if false { } else { r.EncodeInt(int64(x.NumberReady)) } } - if yyr666 || yy2arr666 { + if yyr726 || yy2arr726 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8124,25 +8751,25 @@ func (x *DaemonSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym679 := z.DecBinary() - _ = yym679 + yym739 := z.DecBinary() + _ = yym739 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct680 := r.ContainerType() - if yyct680 == codecSelferValueTypeMap1234 { - yyl680 := r.ReadMapStart() - if yyl680 == 0 { + yyct740 := r.ContainerType() + if yyct740 == codecSelferValueTypeMap1234 { + yyl740 := r.ReadMapStart() + if yyl740 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl680, d) + x.codecDecodeSelfFromMap(yyl740, d) } - } else if yyct680 == codecSelferValueTypeArray1234 { - yyl680 := r.ReadArrayStart() - if yyl680 == 0 { + } else if yyct740 == codecSelferValueTypeArray1234 { + yyl740 := r.ReadArrayStart() + if yyl740 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl680, d) + x.codecDecodeSelfFromArray(yyl740, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8154,12 +8781,12 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys681Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys681Slc - var yyhl681 bool = l >= 0 - for yyj681 := 0; ; yyj681++ { - if yyhl681 { - if yyj681 >= l { + var yys741Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys741Slc + var yyhl741 bool = l >= 0 + for yyj741 := 0; ; yyj741++ { + if yyhl741 { + if yyj741 >= l { break } } else { @@ -8168,10 +8795,10 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys681Slc = r.DecodeBytes(yys681Slc, true, true) - yys681 := string(yys681Slc) + yys741Slc = r.DecodeBytes(yys741Slc, true, true) + yys741 := string(yys741Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys681 { + switch yys741 { case "currentNumberScheduled": if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 @@ -8197,9 +8824,9 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.NumberReady = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys681) - } // end switch yys681 - } // end for yyj681 + z.DecStructFieldNotFound(-1, yys741) + } // end switch yys741 + } // end for yyj741 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8207,16 +8834,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj686 int - var yyb686 bool - var yyhl686 bool = l >= 0 - yyj686++ - if yyhl686 { - yyb686 = yyj686 > l + var yyj746 int + var yyb746 bool + var yyhl746 bool = l >= 0 + yyj746++ + if yyhl746 { + yyb746 = yyj746 > l } else { - yyb686 = r.CheckBreak() + yyb746 = r.CheckBreak() } - if yyb686 { + if yyb746 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8226,13 +8853,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.CurrentNumberScheduled = int32(r.DecodeInt(32)) } - yyj686++ - if yyhl686 { - yyb686 = yyj686 > l + yyj746++ + if yyhl746 { + yyb746 = yyj746 > l } else { - yyb686 = r.CheckBreak() + yyb746 = r.CheckBreak() } - if yyb686 { + if yyb746 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8242,13 +8869,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.NumberMisscheduled = int32(r.DecodeInt(32)) } - yyj686++ - if yyhl686 { - yyb686 = yyj686 > l + yyj746++ + if yyhl746 { + yyb746 = yyj746 > l } else { - yyb686 = r.CheckBreak() + yyb746 = r.CheckBreak() } - if yyb686 { + if yyb746 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8258,13 +8885,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } - yyj686++ - if yyhl686 { - yyb686 = yyj686 > l + yyj746++ + if yyhl746 { + yyb746 = yyj746 > l } else { - yyb686 = r.CheckBreak() + yyb746 = r.CheckBreak() } - if yyb686 { + if yyb746 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8275,17 +8902,17 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.NumberReady = int32(r.DecodeInt(32)) } for { - yyj686++ - if yyhl686 { - yyb686 = yyj686 > l + yyj746++ + if yyhl746 { + yyb746 = yyj746 > l } else { - yyb686 = r.CheckBreak() + yyb746 = r.CheckBreak() } - if yyb686 { + if yyb746 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj686-1, "") + z.DecStructFieldNotFound(yyj746-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8297,39 +8924,39 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym691 := z.EncBinary() - _ = yym691 + yym751 := z.EncBinary() + _ = yym751 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep692 := !z.EncBinary() - yy2arr692 := z.EncBasicHandle().StructToArray - var yyq692 [5]bool - _, _, _ = yysep692, yyq692, yy2arr692 - const yyr692 bool = false - yyq692[0] = x.Kind != "" - yyq692[1] = x.APIVersion != "" - yyq692[2] = true - yyq692[3] = true - yyq692[4] = true - var yynn692 int - if yyr692 || yy2arr692 { + yysep752 := !z.EncBinary() + yy2arr752 := z.EncBasicHandle().StructToArray + var yyq752 [5]bool + _, _, _ = yysep752, yyq752, yy2arr752 + const yyr752 bool = false + yyq752[0] = x.Kind != "" + yyq752[1] = x.APIVersion != "" + yyq752[2] = true + yyq752[3] = true + yyq752[4] = true + var yynn752 int + if yyr752 || yy2arr752 { r.EncodeArrayStart(5) } else { - yynn692 = 0 - for _, b := range yyq692 { + yynn752 = 0 + for _, b := range yyq752 { if b { - yynn692++ + yynn752++ } } - r.EncodeMapStart(yynn692) - yynn692 = 0 + r.EncodeMapStart(yynn752) + yynn752 = 0 } - if yyr692 || yy2arr692 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq692[0] { - yym694 := z.EncBinary() - _ = yym694 + if yyq752[0] { + yym754 := z.EncBinary() + _ = yym754 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8338,23 +8965,23 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq692[0] { + if yyq752[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym695 := z.EncBinary() - _ = yym695 + yym755 := z.EncBinary() + _ = yym755 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr692 || yy2arr692 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq692[1] { - yym697 := z.EncBinary() - _ = yym697 + if yyq752[1] { + yym757 := z.EncBinary() + _ = yym757 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8363,70 +8990,70 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq692[1] { + if yyq752[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym698 := z.EncBinary() - _ = yym698 + yym758 := z.EncBinary() + _ = yym758 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr692 || yy2arr692 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq692[2] { - yy700 := &x.ObjectMeta - yy700.CodecEncodeSelf(e) + if yyq752[2] { + yy760 := &x.ObjectMeta + yy760.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq692[2] { + if yyq752[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy701 := &x.ObjectMeta - yy701.CodecEncodeSelf(e) + yy761 := &x.ObjectMeta + yy761.CodecEncodeSelf(e) } } - if yyr692 || yy2arr692 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq692[3] { - yy703 := &x.Spec - yy703.CodecEncodeSelf(e) + if yyq752[3] { + yy763 := &x.Spec + yy763.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq692[3] { + if yyq752[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy704 := &x.Spec - yy704.CodecEncodeSelf(e) + yy764 := &x.Spec + yy764.CodecEncodeSelf(e) } } - if yyr692 || yy2arr692 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq692[4] { - yy706 := &x.Status - yy706.CodecEncodeSelf(e) + if yyq752[4] { + yy766 := &x.Status + yy766.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq692[4] { + if yyq752[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy707 := &x.Status - yy707.CodecEncodeSelf(e) + yy767 := &x.Status + yy767.CodecEncodeSelf(e) } } - if yyr692 || yy2arr692 { + if yyr752 || yy2arr752 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8439,25 +9066,25 @@ func (x *DaemonSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym708 := z.DecBinary() - _ = yym708 + yym768 := z.DecBinary() + _ = yym768 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct709 := r.ContainerType() - if yyct709 == codecSelferValueTypeMap1234 { - yyl709 := r.ReadMapStart() - if yyl709 == 0 { + yyct769 := r.ContainerType() + if yyct769 == codecSelferValueTypeMap1234 { + yyl769 := r.ReadMapStart() + if yyl769 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl709, d) + x.codecDecodeSelfFromMap(yyl769, d) } - } else if yyct709 == codecSelferValueTypeArray1234 { - yyl709 := r.ReadArrayStart() - if yyl709 == 0 { + } else if yyct769 == codecSelferValueTypeArray1234 { + yyl769 := r.ReadArrayStart() + if yyl769 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl709, d) + x.codecDecodeSelfFromArray(yyl769, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8469,12 +9096,12 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys710Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys710Slc - var yyhl710 bool = l >= 0 - for yyj710 := 0; ; yyj710++ { - if yyhl710 { - if yyj710 >= l { + var yys770Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys770Slc + var yyhl770 bool = l >= 0 + for yyj770 := 0; ; yyj770++ { + if yyhl770 { + if yyj770 >= l { break } } else { @@ -8483,10 +9110,10 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys710Slc = r.DecodeBytes(yys710Slc, true, true) - yys710 := string(yys710Slc) + yys770Slc = r.DecodeBytes(yys770Slc, true, true) + yys770 := string(yys770Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys710 { + switch yys770 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8503,27 +9130,27 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv713 := &x.ObjectMeta - yyv713.CodecDecodeSelf(d) + yyv773 := &x.ObjectMeta + yyv773.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv714 := &x.Spec - yyv714.CodecDecodeSelf(d) + yyv774 := &x.Spec + yyv774.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv715 := &x.Status - yyv715.CodecDecodeSelf(d) + yyv775 := &x.Status + yyv775.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys710) - } // end switch yys710 - } // end for yyj710 + z.DecStructFieldNotFound(-1, yys770) + } // end switch yys770 + } // end for yyj770 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8531,16 +9158,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj716 int - var yyb716 bool - var yyhl716 bool = l >= 0 - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + var yyj776 int + var yyb776 bool + var yyhl776 bool = l >= 0 + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb716 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb716 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8550,13 +9177,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb716 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb716 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8566,13 +9193,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb716 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb716 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8580,16 +9207,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv719 := &x.ObjectMeta - yyv719.CodecDecodeSelf(d) + yyv779 := &x.ObjectMeta + yyv779.CodecDecodeSelf(d) } - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb716 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb716 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8597,16 +9224,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv720 := &x.Spec - yyv720.CodecDecodeSelf(d) + yyv780 := &x.Spec + yyv780.CodecDecodeSelf(d) } - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb716 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb716 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8614,21 +9241,21 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv721 := &x.Status - yyv721.CodecDecodeSelf(d) + yyv781 := &x.Status + yyv781.CodecDecodeSelf(d) } for { - yyj716++ - if yyhl716 { - yyb716 = yyj716 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb716 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb716 { + if yyb776 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj716-1, "") + z.DecStructFieldNotFound(yyj776-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8640,37 +9267,37 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym722 := z.EncBinary() - _ = yym722 + yym782 := z.EncBinary() + _ = yym782 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep723 := !z.EncBinary() - yy2arr723 := z.EncBasicHandle().StructToArray - var yyq723 [4]bool - _, _, _ = yysep723, yyq723, yy2arr723 - const yyr723 bool = false - yyq723[0] = x.Kind != "" - yyq723[1] = x.APIVersion != "" - yyq723[2] = true - var yynn723 int - if yyr723 || yy2arr723 { + yysep783 := !z.EncBinary() + yy2arr783 := z.EncBasicHandle().StructToArray + var yyq783 [4]bool + _, _, _ = yysep783, yyq783, yy2arr783 + const yyr783 bool = false + yyq783[0] = x.Kind != "" + yyq783[1] = x.APIVersion != "" + yyq783[2] = true + var yynn783 int + if yyr783 || yy2arr783 { r.EncodeArrayStart(4) } else { - yynn723 = 1 - for _, b := range yyq723 { + yynn783 = 1 + for _, b := range yyq783 { if b { - yynn723++ + yynn783++ } } - r.EncodeMapStart(yynn723) - yynn723 = 0 + r.EncodeMapStart(yynn783) + yynn783 = 0 } - if yyr723 || yy2arr723 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq723[0] { - yym725 := z.EncBinary() - _ = yym725 + if yyq783[0] { + yym785 := z.EncBinary() + _ = yym785 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8679,23 +9306,23 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq723[0] { + if yyq783[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym726 := z.EncBinary() - _ = yym726 + yym786 := z.EncBinary() + _ = yym786 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr723 || yy2arr723 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq723[1] { - yym728 := z.EncBinary() - _ = yym728 + if yyq783[1] { + yym788 := z.EncBinary() + _ = yym788 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8704,54 +9331,54 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq723[1] { + if yyq783[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym729 := z.EncBinary() - _ = yym729 + yym789 := z.EncBinary() + _ = yym789 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr723 || yy2arr723 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq723[2] { - yy731 := &x.ListMeta - yym732 := z.EncBinary() - _ = yym732 + if yyq783[2] { + yy791 := &x.ListMeta + yym792 := z.EncBinary() + _ = yym792 if false { - } else if z.HasExtensions() && z.EncExt(yy731) { + } else if z.HasExtensions() && z.EncExt(yy791) { } else { - z.EncFallback(yy731) + z.EncFallback(yy791) } } else { r.EncodeNil() } } else { - if yyq723[2] { + if yyq783[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy733 := &x.ListMeta - yym734 := z.EncBinary() - _ = yym734 + yy793 := &x.ListMeta + yym794 := z.EncBinary() + _ = yym794 if false { - } else if z.HasExtensions() && z.EncExt(yy733) { + } else if z.HasExtensions() && z.EncExt(yy793) { } else { - z.EncFallback(yy733) + z.EncFallback(yy793) } } } - if yyr723 || yy2arr723 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym736 := z.EncBinary() - _ = yym736 + yym796 := z.EncBinary() + _ = yym796 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) @@ -8764,15 +9391,15 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym737 := z.EncBinary() - _ = yym737 + yym797 := z.EncBinary() + _ = yym797 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } - if yyr723 || yy2arr723 { + if yyr783 || yy2arr783 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8785,25 +9412,25 @@ func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym738 := z.DecBinary() - _ = yym738 + yym798 := z.DecBinary() + _ = yym798 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct739 := r.ContainerType() - if yyct739 == codecSelferValueTypeMap1234 { - yyl739 := r.ReadMapStart() - if yyl739 == 0 { + yyct799 := r.ContainerType() + if yyct799 == codecSelferValueTypeMap1234 { + yyl799 := r.ReadMapStart() + if yyl799 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl739, d) + x.codecDecodeSelfFromMap(yyl799, d) } - } else if yyct739 == codecSelferValueTypeArray1234 { - yyl739 := r.ReadArrayStart() - if yyl739 == 0 { + } else if yyct799 == codecSelferValueTypeArray1234 { + yyl799 := r.ReadArrayStart() + if yyl799 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl739, d) + x.codecDecodeSelfFromArray(yyl799, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8815,12 +9442,12 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys740Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys740Slc - var yyhl740 bool = l >= 0 - for yyj740 := 0; ; yyj740++ { - if yyhl740 { - if yyj740 >= l { + var yys800Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys800Slc + var yyhl800 bool = l >= 0 + for yyj800 := 0; ; yyj800++ { + if yyhl800 { + if yyj800 >= l { break } } else { @@ -8829,10 +9456,10 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys740Slc = r.DecodeBytes(yys740Slc, true, true) - yys740 := string(yys740Slc) + yys800Slc = r.DecodeBytes(yys800Slc, true, true) + yys800 := string(yys800Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys740 { + switch yys800 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8849,31 +9476,31 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv743 := &x.ListMeta - yym744 := z.DecBinary() - _ = yym744 + yyv803 := &x.ListMeta + yym804 := z.DecBinary() + _ = yym804 if false { - } else if z.HasExtensions() && z.DecExt(yyv743) { + } else if z.HasExtensions() && z.DecExt(yyv803) { } else { - z.DecFallback(yyv743, false) + z.DecFallback(yyv803, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv745 := &x.Items - yym746 := z.DecBinary() - _ = yym746 + yyv805 := &x.Items + yym806 := z.DecBinary() + _ = yym806 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv745), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv805), d) } } default: - z.DecStructFieldNotFound(-1, yys740) - } // end switch yys740 - } // end for yyj740 + z.DecStructFieldNotFound(-1, yys800) + } // end switch yys800 + } // end for yyj800 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8881,16 +9508,16 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj747 int - var yyb747 bool - var yyhl747 bool = l >= 0 - yyj747++ - if yyhl747 { - yyb747 = yyj747 > l + var yyj807 int + var yyb807 bool + var yyhl807 bool = l >= 0 + yyj807++ + if yyhl807 { + yyb807 = yyj807 > l } else { - yyb747 = r.CheckBreak() + yyb807 = r.CheckBreak() } - if yyb747 { + if yyb807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8900,13 +9527,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj747++ - if yyhl747 { - yyb747 = yyj747 > l + yyj807++ + if yyhl807 { + yyb807 = yyj807 > l } else { - yyb747 = r.CheckBreak() + yyb807 = r.CheckBreak() } - if yyb747 { + if yyb807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8916,13 +9543,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj747++ - if yyhl747 { - yyb747 = yyj747 > l + yyj807++ + if yyhl807 { + yyb807 = yyj807 > l } else { - yyb747 = r.CheckBreak() + yyb807 = r.CheckBreak() } - if yyb747 { + if yyb807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8930,22 +9557,22 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv750 := &x.ListMeta - yym751 := z.DecBinary() - _ = yym751 + yyv810 := &x.ListMeta + yym811 := z.DecBinary() + _ = yym811 if false { - } else if z.HasExtensions() && z.DecExt(yyv750) { + } else if z.HasExtensions() && z.DecExt(yyv810) { } else { - z.DecFallback(yyv750, false) + z.DecFallback(yyv810, false) } } - yyj747++ - if yyhl747 { - yyb747 = yyj747 > l + yyj807++ + if yyhl807 { + yyb807 = yyj807 > l } else { - yyb747 = r.CheckBreak() + yyb807 = r.CheckBreak() } - if yyb747 { + if yyb807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8953,26 +9580,26 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv752 := &x.Items - yym753 := z.DecBinary() - _ = yym753 + yyv812 := &x.Items + yym813 := z.DecBinary() + _ = yym813 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv752), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv812), d) } } for { - yyj747++ - if yyhl747 { - yyb747 = yyj747 > l + yyj807++ + if yyhl807 { + yyb807 = yyj807 > l } else { - yyb747 = r.CheckBreak() + yyb807 = r.CheckBreak() } - if yyb747 { + if yyb807 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj747-1, "") + z.DecStructFieldNotFound(yyj807-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8984,37 +9611,37 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym754 := z.EncBinary() - _ = yym754 + yym814 := z.EncBinary() + _ = yym814 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep755 := !z.EncBinary() - yy2arr755 := z.EncBasicHandle().StructToArray - var yyq755 [4]bool - _, _, _ = yysep755, yyq755, yy2arr755 - const yyr755 bool = false - yyq755[0] = x.Kind != "" - yyq755[1] = x.APIVersion != "" - yyq755[2] = true - var yynn755 int - if yyr755 || yy2arr755 { + yysep815 := !z.EncBinary() + yy2arr815 := z.EncBasicHandle().StructToArray + var yyq815 [4]bool + _, _, _ = yysep815, yyq815, yy2arr815 + const yyr815 bool = false + yyq815[0] = x.Kind != "" + yyq815[1] = x.APIVersion != "" + yyq815[2] = true + var yynn815 int + if yyr815 || yy2arr815 { r.EncodeArrayStart(4) } else { - yynn755 = 1 - for _, b := range yyq755 { + yynn815 = 1 + for _, b := range yyq815 { if b { - yynn755++ + yynn815++ } } - r.EncodeMapStart(yynn755) - yynn755 = 0 + r.EncodeMapStart(yynn815) + yynn815 = 0 } - if yyr755 || yy2arr755 { + if yyr815 || yy2arr815 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq755[0] { - yym757 := z.EncBinary() - _ = yym757 + if yyq815[0] { + yym817 := z.EncBinary() + _ = yym817 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9023,23 +9650,23 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq755[0] { + if yyq815[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym758 := z.EncBinary() - _ = yym758 + yym818 := z.EncBinary() + _ = yym818 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr755 || yy2arr755 { + if yyr815 || yy2arr815 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq755[1] { - yym760 := z.EncBinary() - _ = yym760 + if yyq815[1] { + yym820 := z.EncBinary() + _ = yym820 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9048,54 +9675,54 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq755[1] { + if yyq815[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym761 := z.EncBinary() - _ = yym761 + yym821 := z.EncBinary() + _ = yym821 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr755 || yy2arr755 { + if yyr815 || yy2arr815 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq755[2] { - yy763 := &x.ListMeta - yym764 := z.EncBinary() - _ = yym764 + if yyq815[2] { + yy823 := &x.ListMeta + yym824 := z.EncBinary() + _ = yym824 if false { - } else if z.HasExtensions() && z.EncExt(yy763) { + } else if z.HasExtensions() && z.EncExt(yy823) { } else { - z.EncFallback(yy763) + z.EncFallback(yy823) } } else { r.EncodeNil() } } else { - if yyq755[2] { + if yyq815[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy765 := &x.ListMeta - yym766 := z.EncBinary() - _ = yym766 + yy825 := &x.ListMeta + yym826 := z.EncBinary() + _ = yym826 if false { - } else if z.HasExtensions() && z.EncExt(yy765) { + } else if z.HasExtensions() && z.EncExt(yy825) { } else { - z.EncFallback(yy765) + z.EncFallback(yy825) } } } - if yyr755 || yy2arr755 { + if yyr815 || yy2arr815 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym768 := z.EncBinary() - _ = yym768 + yym828 := z.EncBinary() + _ = yym828 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) @@ -9108,15 +9735,15 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym769 := z.EncBinary() - _ = yym769 + yym829 := z.EncBinary() + _ = yym829 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) } } } - if yyr755 || yy2arr755 { + if yyr815 || yy2arr815 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9129,25 +9756,25 @@ func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym770 := z.DecBinary() - _ = yym770 + yym830 := z.DecBinary() + _ = yym830 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct771 := r.ContainerType() - if yyct771 == codecSelferValueTypeMap1234 { - yyl771 := r.ReadMapStart() - if yyl771 == 0 { + yyct831 := r.ContainerType() + if yyct831 == codecSelferValueTypeMap1234 { + yyl831 := r.ReadMapStart() + if yyl831 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl771, d) + x.codecDecodeSelfFromMap(yyl831, d) } - } else if yyct771 == codecSelferValueTypeArray1234 { - yyl771 := r.ReadArrayStart() - if yyl771 == 0 { + } else if yyct831 == codecSelferValueTypeArray1234 { + yyl831 := r.ReadArrayStart() + if yyl831 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl771, d) + x.codecDecodeSelfFromArray(yyl831, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9159,12 +9786,12 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys772Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys772Slc - var yyhl772 bool = l >= 0 - for yyj772 := 0; ; yyj772++ { - if yyhl772 { - if yyj772 >= l { + var yys832Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys832Slc + var yyhl832 bool = l >= 0 + for yyj832 := 0; ; yyj832++ { + if yyhl832 { + if yyj832 >= l { break } } else { @@ -9173,10 +9800,10 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys772Slc = r.DecodeBytes(yys772Slc, true, true) - yys772 := string(yys772Slc) + yys832Slc = r.DecodeBytes(yys832Slc, true, true) + yys832 := string(yys832Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys772 { + switch yys832 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9193,31 +9820,31 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv775 := &x.ListMeta - yym776 := z.DecBinary() - _ = yym776 + yyv835 := &x.ListMeta + yym836 := z.DecBinary() + _ = yym836 if false { - } else if z.HasExtensions() && z.DecExt(yyv775) { + } else if z.HasExtensions() && z.DecExt(yyv835) { } else { - z.DecFallback(yyv775, false) + z.DecFallback(yyv835, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv777 := &x.Items - yym778 := z.DecBinary() - _ = yym778 + yyv837 := &x.Items + yym838 := z.DecBinary() + _ = yym838 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv777), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv837), d) } } default: - z.DecStructFieldNotFound(-1, yys772) - } // end switch yys772 - } // end for yyj772 + z.DecStructFieldNotFound(-1, yys832) + } // end switch yys832 + } // end for yyj832 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9225,16 +9852,16 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj779 int - var yyb779 bool - var yyhl779 bool = l >= 0 - yyj779++ - if yyhl779 { - yyb779 = yyj779 > l + var yyj839 int + var yyb839 bool + var yyhl839 bool = l >= 0 + yyj839++ + if yyhl839 { + yyb839 = yyj839 > l } else { - yyb779 = r.CheckBreak() + yyb839 = r.CheckBreak() } - if yyb779 { + if yyb839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9244,13 +9871,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj779++ - if yyhl779 { - yyb779 = yyj779 > l + yyj839++ + if yyhl839 { + yyb839 = yyj839 > l } else { - yyb779 = r.CheckBreak() + yyb839 = r.CheckBreak() } - if yyb779 { + if yyb839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9260,13 +9887,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.APIVersion = string(r.DecodeString()) } - yyj779++ - if yyhl779 { - yyb779 = yyj779 > l + yyj839++ + if yyhl839 { + yyb839 = yyj839 > l } else { - yyb779 = r.CheckBreak() + yyb839 = r.CheckBreak() } - if yyb779 { + if yyb839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9274,22 +9901,22 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv782 := &x.ListMeta - yym783 := z.DecBinary() - _ = yym783 + yyv842 := &x.ListMeta + yym843 := z.DecBinary() + _ = yym843 if false { - } else if z.HasExtensions() && z.DecExt(yyv782) { + } else if z.HasExtensions() && z.DecExt(yyv842) { } else { - z.DecFallback(yyv782, false) + z.DecFallback(yyv842, false) } } - yyj779++ - if yyhl779 { - yyb779 = yyj779 > l + yyj839++ + if yyhl839 { + yyb839 = yyj839 > l } else { - yyb779 = r.CheckBreak() + yyb839 = r.CheckBreak() } - if yyb779 { + if yyb839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9297,26 +9924,26 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv784 := &x.Items - yym785 := z.DecBinary() - _ = yym785 + yyv844 := &x.Items + yym845 := z.DecBinary() + _ = yym845 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv784), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv844), d) } } for { - yyj779++ - if yyhl779 { - yyb779 = yyj779 > l + yyj839++ + if yyhl839 { + yyb839 = yyj839 > l } else { - yyb779 = r.CheckBreak() + yyb839 = r.CheckBreak() } - if yyb779 { + if yyb839 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj779-1, "") + z.DecStructFieldNotFound(yyj839-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9328,39 +9955,39 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym786 := z.EncBinary() - _ = yym786 + yym846 := z.EncBinary() + _ = yym846 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep787 := !z.EncBinary() - yy2arr787 := z.EncBasicHandle().StructToArray - var yyq787 [5]bool - _, _, _ = yysep787, yyq787, yy2arr787 - const yyr787 bool = false - yyq787[0] = x.Kind != "" - yyq787[1] = x.APIVersion != "" - yyq787[2] = true - yyq787[3] = true - yyq787[4] = true - var yynn787 int - if yyr787 || yy2arr787 { + yysep847 := !z.EncBinary() + yy2arr847 := z.EncBasicHandle().StructToArray + var yyq847 [5]bool + _, _, _ = yysep847, yyq847, yy2arr847 + const yyr847 bool = false + yyq847[0] = x.Kind != "" + yyq847[1] = x.APIVersion != "" + yyq847[2] = true + yyq847[3] = true + yyq847[4] = true + var yynn847 int + if yyr847 || yy2arr847 { r.EncodeArrayStart(5) } else { - yynn787 = 0 - for _, b := range yyq787 { + yynn847 = 0 + for _, b := range yyq847 { if b { - yynn787++ + yynn847++ } } - r.EncodeMapStart(yynn787) - yynn787 = 0 + r.EncodeMapStart(yynn847) + yynn847 = 0 } - if yyr787 || yy2arr787 { + if yyr847 || yy2arr847 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq787[0] { - yym789 := z.EncBinary() - _ = yym789 + if yyq847[0] { + yym849 := z.EncBinary() + _ = yym849 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9369,23 +9996,23 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq787[0] { + if yyq847[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym790 := z.EncBinary() - _ = yym790 + yym850 := z.EncBinary() + _ = yym850 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr787 || yy2arr787 { + if yyr847 || yy2arr847 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq787[1] { - yym792 := z.EncBinary() - _ = yym792 + if yyq847[1] { + yym852 := z.EncBinary() + _ = yym852 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9394,70 +10021,70 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq787[1] { + if yyq847[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym793 := z.EncBinary() - _ = yym793 + yym853 := z.EncBinary() + _ = yym853 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr787 || yy2arr787 { + if yyr847 || yy2arr847 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq787[2] { - yy795 := &x.ObjectMeta - yy795.CodecEncodeSelf(e) + if yyq847[2] { + yy855 := &x.ObjectMeta + yy855.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq787[2] { + if yyq847[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy796 := &x.ObjectMeta - yy796.CodecEncodeSelf(e) + yy856 := &x.ObjectMeta + yy856.CodecEncodeSelf(e) } } - if yyr787 || yy2arr787 { + if yyr847 || yy2arr847 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq787[3] { - yy798 := &x.Spec - yy798.CodecEncodeSelf(e) + if yyq847[3] { + yy858 := &x.Spec + yy858.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq787[3] { + if yyq847[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy799 := &x.Spec - yy799.CodecEncodeSelf(e) + yy859 := &x.Spec + yy859.CodecEncodeSelf(e) } } - if yyr787 || yy2arr787 { + if yyr847 || yy2arr847 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq787[4] { - yy801 := &x.Status - yy801.CodecEncodeSelf(e) + if yyq847[4] { + yy861 := &x.Status + yy861.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq787[4] { + if yyq847[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy802 := &x.Status - yy802.CodecEncodeSelf(e) + yy862 := &x.Status + yy862.CodecEncodeSelf(e) } } - if yyr787 || yy2arr787 { + if yyr847 || yy2arr847 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9470,25 +10097,25 @@ func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym803 := z.DecBinary() - _ = yym803 + yym863 := z.DecBinary() + _ = yym863 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct804 := r.ContainerType() - if yyct804 == codecSelferValueTypeMap1234 { - yyl804 := r.ReadMapStart() - if yyl804 == 0 { + yyct864 := r.ContainerType() + if yyct864 == codecSelferValueTypeMap1234 { + yyl864 := r.ReadMapStart() + if yyl864 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl804, d) + x.codecDecodeSelfFromMap(yyl864, d) } - } else if yyct804 == codecSelferValueTypeArray1234 { - yyl804 := r.ReadArrayStart() - if yyl804 == 0 { + } else if yyct864 == codecSelferValueTypeArray1234 { + yyl864 := r.ReadArrayStart() + if yyl864 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl804, d) + x.codecDecodeSelfFromArray(yyl864, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9500,12 +10127,12 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys805Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys805Slc - var yyhl805 bool = l >= 0 - for yyj805 := 0; ; yyj805++ { - if yyhl805 { - if yyj805 >= l { + var yys865Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys865Slc + var yyhl865 bool = l >= 0 + for yyj865 := 0; ; yyj865++ { + if yyhl865 { + if yyj865 >= l { break } } else { @@ -9514,10 +10141,10 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys805Slc = r.DecodeBytes(yys805Slc, true, true) - yys805 := string(yys805Slc) + yys865Slc = r.DecodeBytes(yys865Slc, true, true) + yys865 := string(yys865Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys805 { + switch yys865 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9534,27 +10161,27 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv808 := &x.ObjectMeta - yyv808.CodecDecodeSelf(d) + yyv868 := &x.ObjectMeta + yyv868.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv809 := &x.Spec - yyv809.CodecDecodeSelf(d) + yyv869 := &x.Spec + yyv869.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv810 := &x.Status - yyv810.CodecDecodeSelf(d) + yyv870 := &x.Status + yyv870.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys805) - } // end switch yys805 - } // end for yyj805 + z.DecStructFieldNotFound(-1, yys865) + } // end switch yys865 + } // end for yyj865 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9562,16 +10189,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj811 int - var yyb811 bool - var yyhl811 bool = l >= 0 - yyj811++ - if yyhl811 { - yyb811 = yyj811 > l + var yyj871 int + var yyb871 bool + var yyhl871 bool = l >= 0 + yyj871++ + if yyhl871 { + yyb871 = yyj871 > l } else { - yyb811 = r.CheckBreak() + yyb871 = r.CheckBreak() } - if yyb811 { + if yyb871 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9581,13 +10208,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj811++ - if yyhl811 { - yyb811 = yyj811 > l + yyj871++ + if yyhl871 { + yyb871 = yyj871 > l } else { - yyb811 = r.CheckBreak() + yyb871 = r.CheckBreak() } - if yyb811 { + if yyb871 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9597,13 +10224,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj811++ - if yyhl811 { - yyb811 = yyj811 > l + yyj871++ + if yyhl871 { + yyb871 = yyj871 > l } else { - yyb811 = r.CheckBreak() + yyb871 = r.CheckBreak() } - if yyb811 { + if yyb871 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9611,16 +10238,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv814 := &x.ObjectMeta - yyv814.CodecDecodeSelf(d) + yyv874 := &x.ObjectMeta + yyv874.CodecDecodeSelf(d) } - yyj811++ - if yyhl811 { - yyb811 = yyj811 > l + yyj871++ + if yyhl871 { + yyb871 = yyj871 > l } else { - yyb811 = r.CheckBreak() + yyb871 = r.CheckBreak() } - if yyb811 { + if yyb871 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9628,16 +10255,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv815 := &x.Spec - yyv815.CodecDecodeSelf(d) + yyv875 := &x.Spec + yyv875.CodecDecodeSelf(d) } - yyj811++ - if yyhl811 { - yyb811 = yyj811 > l + yyj871++ + if yyhl871 { + yyb871 = yyj871 > l } else { - yyb811 = r.CheckBreak() + yyb871 = r.CheckBreak() } - if yyb811 { + if yyb871 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9645,21 +10272,21 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv816 := &x.Status - yyv816.CodecDecodeSelf(d) + yyv876 := &x.Status + yyv876.CodecDecodeSelf(d) } for { - yyj811++ - if yyhl811 { - yyb811 = yyj811 > l + yyj871++ + if yyhl871 { + yyb871 = yyj871 > l } else { - yyb811 = r.CheckBreak() + yyb871 = r.CheckBreak() } - if yyb811 { + if yyb871 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj811-1, "") + z.DecStructFieldNotFound(yyj871-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9671,37 +10298,37 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym817 := z.EncBinary() - _ = yym817 + yym877 := z.EncBinary() + _ = yym877 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep818 := !z.EncBinary() - yy2arr818 := z.EncBasicHandle().StructToArray - var yyq818 [4]bool - _, _, _ = yysep818, yyq818, yy2arr818 - const yyr818 bool = false - yyq818[0] = x.Kind != "" - yyq818[1] = x.APIVersion != "" - yyq818[2] = true - var yynn818 int - if yyr818 || yy2arr818 { + yysep878 := !z.EncBinary() + yy2arr878 := z.EncBasicHandle().StructToArray + var yyq878 [4]bool + _, _, _ = yysep878, yyq878, yy2arr878 + const yyr878 bool = false + yyq878[0] = x.Kind != "" + yyq878[1] = x.APIVersion != "" + yyq878[2] = true + var yynn878 int + if yyr878 || yy2arr878 { r.EncodeArrayStart(4) } else { - yynn818 = 1 - for _, b := range yyq818 { + yynn878 = 1 + for _, b := range yyq878 { if b { - yynn818++ + yynn878++ } } - r.EncodeMapStart(yynn818) - yynn818 = 0 + r.EncodeMapStart(yynn878) + yynn878 = 0 } - if yyr818 || yy2arr818 { + if yyr878 || yy2arr878 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq818[0] { - yym820 := z.EncBinary() - _ = yym820 + if yyq878[0] { + yym880 := z.EncBinary() + _ = yym880 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9710,23 +10337,23 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq818[0] { + if yyq878[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym821 := z.EncBinary() - _ = yym821 + yym881 := z.EncBinary() + _ = yym881 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr818 || yy2arr818 { + if yyr878 || yy2arr878 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq818[1] { - yym823 := z.EncBinary() - _ = yym823 + if yyq878[1] { + yym883 := z.EncBinary() + _ = yym883 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9735,54 +10362,54 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq818[1] { + if yyq878[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym824 := z.EncBinary() - _ = yym824 + yym884 := z.EncBinary() + _ = yym884 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr818 || yy2arr818 { + if yyr878 || yy2arr878 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq818[2] { - yy826 := &x.ListMeta - yym827 := z.EncBinary() - _ = yym827 + if yyq878[2] { + yy886 := &x.ListMeta + yym887 := z.EncBinary() + _ = yym887 if false { - } else if z.HasExtensions() && z.EncExt(yy826) { + } else if z.HasExtensions() && z.EncExt(yy886) { } else { - z.EncFallback(yy826) + z.EncFallback(yy886) } } else { r.EncodeNil() } } else { - if yyq818[2] { + if yyq878[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy828 := &x.ListMeta - yym829 := z.EncBinary() - _ = yym829 + yy888 := &x.ListMeta + yym889 := z.EncBinary() + _ = yym889 if false { - } else if z.HasExtensions() && z.EncExt(yy828) { + } else if z.HasExtensions() && z.EncExt(yy888) { } else { - z.EncFallback(yy828) + z.EncFallback(yy888) } } } - if yyr818 || yy2arr818 { + if yyr878 || yy2arr878 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym831 := z.EncBinary() - _ = yym831 + yym891 := z.EncBinary() + _ = yym891 if false { } else { h.encSliceJob(([]Job)(x.Items), e) @@ -9795,15 +10422,15 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym832 := z.EncBinary() - _ = yym832 + yym892 := z.EncBinary() + _ = yym892 if false { } else { h.encSliceJob(([]Job)(x.Items), e) } } } - if yyr818 || yy2arr818 { + if yyr878 || yy2arr878 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9816,25 +10443,25 @@ func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym833 := z.DecBinary() - _ = yym833 + yym893 := z.DecBinary() + _ = yym893 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct834 := r.ContainerType() - if yyct834 == codecSelferValueTypeMap1234 { - yyl834 := r.ReadMapStart() - if yyl834 == 0 { + yyct894 := r.ContainerType() + if yyct894 == codecSelferValueTypeMap1234 { + yyl894 := r.ReadMapStart() + if yyl894 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl834, d) + x.codecDecodeSelfFromMap(yyl894, d) } - } else if yyct834 == codecSelferValueTypeArray1234 { - yyl834 := r.ReadArrayStart() - if yyl834 == 0 { + } else if yyct894 == codecSelferValueTypeArray1234 { + yyl894 := r.ReadArrayStart() + if yyl894 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl834, d) + x.codecDecodeSelfFromArray(yyl894, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9846,12 +10473,12 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys835Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys835Slc - var yyhl835 bool = l >= 0 - for yyj835 := 0; ; yyj835++ { - if yyhl835 { - if yyj835 >= l { + var yys895Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys895Slc + var yyhl895 bool = l >= 0 + for yyj895 := 0; ; yyj895++ { + if yyhl895 { + if yyj895 >= l { break } } else { @@ -9860,10 +10487,10 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys835Slc = r.DecodeBytes(yys835Slc, true, true) - yys835 := string(yys835Slc) + yys895Slc = r.DecodeBytes(yys895Slc, true, true) + yys895 := string(yys895Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys835 { + switch yys895 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9880,31 +10507,31 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv838 := &x.ListMeta - yym839 := z.DecBinary() - _ = yym839 + yyv898 := &x.ListMeta + yym899 := z.DecBinary() + _ = yym899 if false { - } else if z.HasExtensions() && z.DecExt(yyv838) { + } else if z.HasExtensions() && z.DecExt(yyv898) { } else { - z.DecFallback(yyv838, false) + z.DecFallback(yyv898, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv840 := &x.Items - yym841 := z.DecBinary() - _ = yym841 + yyv900 := &x.Items + yym901 := z.DecBinary() + _ = yym901 if false { } else { - h.decSliceJob((*[]Job)(yyv840), d) + h.decSliceJob((*[]Job)(yyv900), d) } } default: - z.DecStructFieldNotFound(-1, yys835) - } // end switch yys835 - } // end for yyj835 + z.DecStructFieldNotFound(-1, yys895) + } // end switch yys895 + } // end for yyj895 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9912,16 +10539,16 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj842 int - var yyb842 bool - var yyhl842 bool = l >= 0 - yyj842++ - if yyhl842 { - yyb842 = yyj842 > l + var yyj902 int + var yyb902 bool + var yyhl902 bool = l >= 0 + yyj902++ + if yyhl902 { + yyb902 = yyj902 > l } else { - yyb842 = r.CheckBreak() + yyb902 = r.CheckBreak() } - if yyb842 { + if yyb902 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9931,13 +10558,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj842++ - if yyhl842 { - yyb842 = yyj842 > l + yyj902++ + if yyhl902 { + yyb902 = yyj902 > l } else { - yyb842 = r.CheckBreak() + yyb902 = r.CheckBreak() } - if yyb842 { + if yyb902 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9947,13 +10574,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj842++ - if yyhl842 { - yyb842 = yyj842 > l + yyj902++ + if yyhl902 { + yyb902 = yyj902 > l } else { - yyb842 = r.CheckBreak() + yyb902 = r.CheckBreak() } - if yyb842 { + if yyb902 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9961,22 +10588,22 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv845 := &x.ListMeta - yym846 := z.DecBinary() - _ = yym846 + yyv905 := &x.ListMeta + yym906 := z.DecBinary() + _ = yym906 if false { - } else if z.HasExtensions() && z.DecExt(yyv845) { + } else if z.HasExtensions() && z.DecExt(yyv905) { } else { - z.DecFallback(yyv845, false) + z.DecFallback(yyv905, false) } } - yyj842++ - if yyhl842 { - yyb842 = yyj842 > l + yyj902++ + if yyhl902 { + yyb902 = yyj902 > l } else { - yyb842 = r.CheckBreak() + yyb902 = r.CheckBreak() } - if yyb842 { + if yyb902 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9984,26 +10611,26 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv847 := &x.Items - yym848 := z.DecBinary() - _ = yym848 + yyv907 := &x.Items + yym908 := z.DecBinary() + _ = yym908 if false { } else { - h.decSliceJob((*[]Job)(yyv847), d) + h.decSliceJob((*[]Job)(yyv907), d) } } for { - yyj842++ - if yyhl842 { - yyb842 = yyj842 > l + yyj902++ + if yyhl902 { + yyb902 = yyj902 > l } else { - yyb842 = r.CheckBreak() + yyb902 = r.CheckBreak() } - if yyb842 { + if yyb902 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj842-1, "") + z.DecStructFieldNotFound(yyj902-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10015,147 +10642,147 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym849 := z.EncBinary() - _ = yym849 + yym909 := z.EncBinary() + _ = yym909 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep850 := !z.EncBinary() - yy2arr850 := z.EncBasicHandle().StructToArray - var yyq850 [6]bool - _, _, _ = yysep850, yyq850, yy2arr850 - const yyr850 bool = false - yyq850[0] = x.Parallelism != nil - yyq850[1] = x.Completions != nil - yyq850[2] = x.ActiveDeadlineSeconds != nil - yyq850[3] = x.Selector != nil - yyq850[4] = x.AutoSelector != nil - var yynn850 int - if yyr850 || yy2arr850 { + yysep910 := !z.EncBinary() + yy2arr910 := z.EncBasicHandle().StructToArray + var yyq910 [6]bool + _, _, _ = yysep910, yyq910, yy2arr910 + const yyr910 bool = false + yyq910[0] = x.Parallelism != nil + yyq910[1] = x.Completions != nil + yyq910[2] = x.ActiveDeadlineSeconds != nil + yyq910[3] = x.Selector != nil + yyq910[4] = x.AutoSelector != nil + var yynn910 int + if yyr910 || yy2arr910 { r.EncodeArrayStart(6) } else { - yynn850 = 1 - for _, b := range yyq850 { + yynn910 = 1 + for _, b := range yyq910 { if b { - yynn850++ + yynn910++ } } - r.EncodeMapStart(yynn850) - yynn850 = 0 + r.EncodeMapStart(yynn910) + yynn910 = 0 } - if yyr850 || yy2arr850 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq850[0] { + if yyq910[0] { if x.Parallelism == nil { r.EncodeNil() } else { - yy852 := *x.Parallelism - yym853 := z.EncBinary() - _ = yym853 + yy912 := *x.Parallelism + yym913 := z.EncBinary() + _ = yym913 if false { } else { - r.EncodeInt(int64(yy852)) + r.EncodeInt(int64(yy912)) } } } else { r.EncodeNil() } } else { - if yyq850[0] { + if yyq910[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parallelism")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parallelism == nil { r.EncodeNil() } else { - yy854 := *x.Parallelism - yym855 := z.EncBinary() - _ = yym855 + yy914 := *x.Parallelism + yym915 := z.EncBinary() + _ = yym915 if false { } else { - r.EncodeInt(int64(yy854)) + r.EncodeInt(int64(yy914)) } } } } - if yyr850 || yy2arr850 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq850[1] { + if yyq910[1] { if x.Completions == nil { r.EncodeNil() } else { - yy857 := *x.Completions - yym858 := z.EncBinary() - _ = yym858 + yy917 := *x.Completions + yym918 := z.EncBinary() + _ = yym918 if false { } else { - r.EncodeInt(int64(yy857)) + r.EncodeInt(int64(yy917)) } } } else { r.EncodeNil() } } else { - if yyq850[1] { + if yyq910[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Completions == nil { r.EncodeNil() } else { - yy859 := *x.Completions - yym860 := z.EncBinary() - _ = yym860 + yy919 := *x.Completions + yym920 := z.EncBinary() + _ = yym920 if false { } else { - r.EncodeInt(int64(yy859)) + r.EncodeInt(int64(yy919)) } } } } - if yyr850 || yy2arr850 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq850[2] { + if yyq910[2] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy862 := *x.ActiveDeadlineSeconds - yym863 := z.EncBinary() - _ = yym863 + yy922 := *x.ActiveDeadlineSeconds + yym923 := z.EncBinary() + _ = yym923 if false { } else { - r.EncodeInt(int64(yy862)) + r.EncodeInt(int64(yy922)) } } } else { r.EncodeNil() } } else { - if yyq850[2] { + if yyq910[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy864 := *x.ActiveDeadlineSeconds - yym865 := z.EncBinary() - _ = yym865 + yy924 := *x.ActiveDeadlineSeconds + yym925 := z.EncBinary() + _ = yym925 if false { } else { - r.EncodeInt(int64(yy864)) + r.EncodeInt(int64(yy924)) } } } } - if yyr850 || yy2arr850 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq850[3] { + if yyq910[3] { if x.Selector == nil { r.EncodeNil() } else { - yym867 := z.EncBinary() - _ = yym867 + yym927 := z.EncBinary() + _ = yym927 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -10166,15 +10793,15 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq850[3] { + if yyq910[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym868 := z.EncBinary() - _ = yym868 + yym928 := z.EncBinary() + _ = yym928 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -10183,53 +10810,53 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr850 || yy2arr850 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq850[4] { + if yyq910[4] { if x.AutoSelector == nil { r.EncodeNil() } else { - yy870 := *x.AutoSelector - yym871 := z.EncBinary() - _ = yym871 + yy930 := *x.AutoSelector + yym931 := z.EncBinary() + _ = yym931 if false { } else { - r.EncodeBool(bool(yy870)) + r.EncodeBool(bool(yy930)) } } } else { r.EncodeNil() } } else { - if yyq850[4] { + if yyq910[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("autoSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AutoSelector == nil { r.EncodeNil() } else { - yy872 := *x.AutoSelector - yym873 := z.EncBinary() - _ = yym873 + yy932 := *x.AutoSelector + yym933 := z.EncBinary() + _ = yym933 if false { } else { - r.EncodeBool(bool(yy872)) + r.EncodeBool(bool(yy932)) } } } } - if yyr850 || yy2arr850 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy875 := &x.Template - yy875.CodecEncodeSelf(e) + yy935 := &x.Template + yy935.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy876 := &x.Template - yy876.CodecEncodeSelf(e) + yy936 := &x.Template + yy936.CodecEncodeSelf(e) } - if yyr850 || yy2arr850 { + if yyr910 || yy2arr910 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10242,25 +10869,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym877 := z.DecBinary() - _ = yym877 + yym937 := z.DecBinary() + _ = yym937 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct878 := r.ContainerType() - if yyct878 == codecSelferValueTypeMap1234 { - yyl878 := r.ReadMapStart() - if yyl878 == 0 { + yyct938 := r.ContainerType() + if yyct938 == codecSelferValueTypeMap1234 { + yyl938 := r.ReadMapStart() + if yyl938 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl878, d) + x.codecDecodeSelfFromMap(yyl938, d) } - } else if yyct878 == codecSelferValueTypeArray1234 { - yyl878 := r.ReadArrayStart() - if yyl878 == 0 { + } else if yyct938 == codecSelferValueTypeArray1234 { + yyl938 := r.ReadArrayStart() + if yyl938 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl878, d) + x.codecDecodeSelfFromArray(yyl938, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10272,12 +10899,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys879Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys879Slc - var yyhl879 bool = l >= 0 - for yyj879 := 0; ; yyj879++ { - if yyhl879 { - if yyj879 >= l { + var yys939Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys939Slc + var yyhl939 bool = l >= 0 + for yyj939 := 0; ; yyj939++ { + if yyhl939 { + if yyj939 >= l { break } } else { @@ -10286,10 +10913,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys879Slc = r.DecodeBytes(yys879Slc, true, true) - yys879 := string(yys879Slc) + yys939Slc = r.DecodeBytes(yys939Slc, true, true) + yys939 := string(yys939Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys879 { + switch yys939 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -10299,8 +10926,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym881 := z.DecBinary() - _ = yym881 + yym941 := z.DecBinary() + _ = yym941 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -10315,8 +10942,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym883 := z.DecBinary() - _ = yym883 + yym943 := z.DecBinary() + _ = yym943 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -10331,8 +10958,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym885 := z.DecBinary() - _ = yym885 + yym945 := z.DecBinary() + _ = yym945 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -10347,8 +10974,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym887 := z.DecBinary() - _ = yym887 + yym947 := z.DecBinary() + _ = yym947 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -10364,8 +10991,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.AutoSelector == nil { x.AutoSelector = new(bool) } - yym889 := z.DecBinary() - _ = yym889 + yym949 := z.DecBinary() + _ = yym949 if false { } else { *((*bool)(x.AutoSelector)) = r.DecodeBool() @@ -10375,13 +11002,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv890 := &x.Template - yyv890.CodecDecodeSelf(d) + yyv950 := &x.Template + yyv950.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys879) - } // end switch yys879 - } // end for yyj879 + z.DecStructFieldNotFound(-1, yys939) + } // end switch yys939 + } // end for yyj939 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10389,16 +11016,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj891 int - var yyb891 bool - var yyhl891 bool = l >= 0 - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + var yyj951 int + var yyb951 bool + var yyhl951 bool = l >= 0 + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb891 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb891 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10411,20 +11038,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym893 := z.DecBinary() - _ = yym893 + yym953 := z.DecBinary() + _ = yym953 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb891 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb891 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10437,20 +11064,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym895 := z.DecBinary() - _ = yym895 + yym955 := z.DecBinary() + _ = yym955 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb891 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb891 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10463,20 +11090,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym897 := z.DecBinary() - _ = yym897 + yym957 := z.DecBinary() + _ = yym957 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb891 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb891 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10489,21 +11116,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym899 := z.DecBinary() - _ = yym899 + yym959 := z.DecBinary() + _ = yym959 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb891 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb891 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10516,20 +11143,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.AutoSelector == nil { x.AutoSelector = new(bool) } - yym901 := z.DecBinary() - _ = yym901 + yym961 := z.DecBinary() + _ = yym961 if false { } else { *((*bool)(x.AutoSelector)) = r.DecodeBool() } } - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb891 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb891 { + if yyb951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10537,21 +11164,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv902 := &x.Template - yyv902.CodecDecodeSelf(d) + yyv962 := &x.Template + yyv962.CodecDecodeSelf(d) } for { - yyj891++ - if yyhl891 { - yyb891 = yyj891 > l + yyj951++ + if yyhl951 { + yyb951 = yyj951 > l } else { - yyb891 = r.CheckBreak() + yyb951 = r.CheckBreak() } - if yyb891 { + if yyb951 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj891-1, "") + z.DecStructFieldNotFound(yyj951-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10563,43 +11190,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym903 := z.EncBinary() - _ = yym903 + yym963 := z.EncBinary() + _ = yym963 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep904 := !z.EncBinary() - yy2arr904 := z.EncBasicHandle().StructToArray - var yyq904 [6]bool - _, _, _ = yysep904, yyq904, yy2arr904 - const yyr904 bool = false - yyq904[0] = len(x.Conditions) != 0 - yyq904[1] = x.StartTime != nil - yyq904[2] = x.CompletionTime != nil - yyq904[3] = x.Active != 0 - yyq904[4] = x.Succeeded != 0 - yyq904[5] = x.Failed != 0 - var yynn904 int - if yyr904 || yy2arr904 { + yysep964 := !z.EncBinary() + yy2arr964 := z.EncBasicHandle().StructToArray + var yyq964 [6]bool + _, _, _ = yysep964, yyq964, yy2arr964 + const yyr964 bool = false + yyq964[0] = len(x.Conditions) != 0 + yyq964[1] = x.StartTime != nil + yyq964[2] = x.CompletionTime != nil + yyq964[3] = x.Active != 0 + yyq964[4] = x.Succeeded != 0 + yyq964[5] = x.Failed != 0 + var yynn964 int + if yyr964 || yy2arr964 { r.EncodeArrayStart(6) } else { - yynn904 = 0 - for _, b := range yyq904 { + yynn964 = 0 + for _, b := range yyq964 { if b { - yynn904++ + yynn964++ } } - r.EncodeMapStart(yynn904) - yynn904 = 0 + r.EncodeMapStart(yynn964) + yynn964 = 0 } - if yyr904 || yy2arr904 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[0] { + if yyq964[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym906 := z.EncBinary() - _ = yym906 + yym966 := z.EncBinary() + _ = yym966 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -10609,15 +11236,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq904[0] { + if yyq964[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym907 := z.EncBinary() - _ = yym907 + yym967 := z.EncBinary() + _ = yym967 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -10625,19 +11252,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr904 || yy2arr904 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[1] { + if yyq964[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym909 := z.EncBinary() - _ = yym909 + yym969 := z.EncBinary() + _ = yym969 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym909 { + } else if yym969 { z.EncBinaryMarshal(x.StartTime) - } else if !yym909 && z.IsJSONHandle() { + } else if !yym969 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -10647,20 +11274,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq904[1] { + if yyq964[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym910 := z.EncBinary() - _ = yym910 + yym970 := z.EncBinary() + _ = yym970 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym910 { + } else if yym970 { z.EncBinaryMarshal(x.StartTime) - } else if !yym910 && z.IsJSONHandle() { + } else if !yym970 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -10668,19 +11295,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr904 || yy2arr904 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[2] { + if yyq964[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym912 := z.EncBinary() - _ = yym912 + yym972 := z.EncBinary() + _ = yym972 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym912 { + } else if yym972 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym912 && z.IsJSONHandle() { + } else if !yym972 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -10690,20 +11317,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq904[2] { + if yyq964[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym913 := z.EncBinary() - _ = yym913 + yym973 := z.EncBinary() + _ = yym973 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym913 { + } else if yym973 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym913 && z.IsJSONHandle() { + } else if !yym973 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -10711,11 +11338,11 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr904 || yy2arr904 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[3] { - yym915 := z.EncBinary() - _ = yym915 + if yyq964[3] { + yym975 := z.EncBinary() + _ = yym975 if false { } else { r.EncodeInt(int64(x.Active)) @@ -10724,23 +11351,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq904[3] { + if yyq964[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym916 := z.EncBinary() - _ = yym916 + yym976 := z.EncBinary() + _ = yym976 if false { } else { r.EncodeInt(int64(x.Active)) } } } - if yyr904 || yy2arr904 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[4] { - yym918 := z.EncBinary() - _ = yym918 + if yyq964[4] { + yym978 := z.EncBinary() + _ = yym978 if false { } else { r.EncodeInt(int64(x.Succeeded)) @@ -10749,23 +11376,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq904[4] { + if yyq964[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("succeeded")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym919 := z.EncBinary() - _ = yym919 + yym979 := z.EncBinary() + _ = yym979 if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr904 || yy2arr904 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq904[5] { - yym921 := z.EncBinary() - _ = yym921 + if yyq964[5] { + yym981 := z.EncBinary() + _ = yym981 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -10774,19 +11401,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq904[5] { + if yyq964[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym922 := z.EncBinary() - _ = yym922 + yym982 := z.EncBinary() + _ = yym982 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr904 || yy2arr904 { + if yyr964 || yy2arr964 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10799,25 +11426,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym923 := z.DecBinary() - _ = yym923 + yym983 := z.DecBinary() + _ = yym983 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct924 := r.ContainerType() - if yyct924 == codecSelferValueTypeMap1234 { - yyl924 := r.ReadMapStart() - if yyl924 == 0 { + yyct984 := r.ContainerType() + if yyct984 == codecSelferValueTypeMap1234 { + yyl984 := r.ReadMapStart() + if yyl984 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl924, d) + x.codecDecodeSelfFromMap(yyl984, d) } - } else if yyct924 == codecSelferValueTypeArray1234 { - yyl924 := r.ReadArrayStart() - if yyl924 == 0 { + } else if yyct984 == codecSelferValueTypeArray1234 { + yyl984 := r.ReadArrayStart() + if yyl984 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl924, d) + x.codecDecodeSelfFromArray(yyl984, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10829,12 +11456,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys925Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys925Slc - var yyhl925 bool = l >= 0 - for yyj925 := 0; ; yyj925++ { - if yyhl925 { - if yyj925 >= l { + var yys985Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys985Slc + var yyhl985 bool = l >= 0 + for yyj985 := 0; ; yyj985++ { + if yyhl985 { + if yyj985 >= l { break } } else { @@ -10843,20 +11470,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys925Slc = r.DecodeBytes(yys925Slc, true, true) - yys925 := string(yys925Slc) + yys985Slc = r.DecodeBytes(yys985Slc, true, true) + yys985 := string(yys985Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys925 { + switch yys985 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv926 := &x.Conditions - yym927 := z.DecBinary() - _ = yym927 + yyv986 := &x.Conditions + yym987 := z.DecBinary() + _ = yym987 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv926), d) + h.decSliceJobCondition((*[]JobCondition)(yyv986), d) } } case "startTime": @@ -10868,13 +11495,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym929 := z.DecBinary() - _ = yym929 + yym989 := z.DecBinary() + _ = yym989 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym929 { + } else if yym989 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym929 && z.IsJSONHandle() { + } else if !yym989 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -10889,13 +11516,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym931 := z.DecBinary() - _ = yym931 + yym991 := z.DecBinary() + _ = yym991 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym931 { + } else if yym991 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym931 && z.IsJSONHandle() { + } else if !yym991 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -10920,9 +11547,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys925) - } // end switch yys925 - } // end for yyj925 + z.DecStructFieldNotFound(-1, yys985) + } // end switch yys985 + } // end for yyj985 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10930,16 +11557,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj935 int - var yyb935 bool - var yyhl935 bool = l >= 0 - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + var yyj995 int + var yyb995 bool + var yyhl995 bool = l >= 0 + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb935 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb935 { + if yyb995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10947,21 +11574,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv936 := &x.Conditions - yym937 := z.DecBinary() - _ = yym937 + yyv996 := &x.Conditions + yym997 := z.DecBinary() + _ = yym997 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv936), d) + h.decSliceJobCondition((*[]JobCondition)(yyv996), d) } } - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb935 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb935 { + if yyb995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10974,25 +11601,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym939 := z.DecBinary() - _ = yym939 + yym999 := z.DecBinary() + _ = yym999 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym939 { + } else if yym999 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym939 && z.IsJSONHandle() { + } else if !yym999 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb935 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb935 { + if yyb995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11005,25 +11632,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym941 := z.DecBinary() - _ = yym941 + yym1001 := z.DecBinary() + _ = yym1001 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym941 { + } else if yym1001 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym941 && z.IsJSONHandle() { + } else if !yym1001 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb935 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb935 { + if yyb995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11033,13 +11660,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb935 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb935 { + if yyb995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11049,13 +11676,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb935 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb935 { + if yyb995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11066,17 +11693,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj935++ - if yyhl935 { - yyb935 = yyj935 > l + yyj995++ + if yyhl995 { + yyb995 = yyj995 > l } else { - yyb935 = r.CheckBreak() + yyb995 = r.CheckBreak() } - if yyb935 { + if yyb995 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj935-1, "") + z.DecStructFieldNotFound(yyj995-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11085,8 +11712,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym945 := z.EncBinary() - _ = yym945 + yym1005 := z.EncBinary() + _ = yym1005 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -11098,8 +11725,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym946 := z.DecBinary() - _ = yym946 + yym1006 := z.DecBinary() + _ = yym1006 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -11114,34 +11741,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym947 := z.EncBinary() - _ = yym947 + yym1007 := z.EncBinary() + _ = yym1007 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep948 := !z.EncBinary() - yy2arr948 := z.EncBasicHandle().StructToArray - var yyq948 [6]bool - _, _, _ = yysep948, yyq948, yy2arr948 - const yyr948 bool = false - yyq948[2] = true - yyq948[3] = true - yyq948[4] = x.Reason != "" - yyq948[5] = x.Message != "" - var yynn948 int - if yyr948 || yy2arr948 { + yysep1008 := !z.EncBinary() + yy2arr1008 := z.EncBasicHandle().StructToArray + var yyq1008 [6]bool + _, _, _ = yysep1008, yyq1008, yy2arr1008 + const yyr1008 bool = false + yyq1008[2] = true + yyq1008[3] = true + yyq1008[4] = x.Reason != "" + yyq1008[5] = x.Message != "" + var yynn1008 int + if yyr1008 || yy2arr1008 { r.EncodeArrayStart(6) } else { - yynn948 = 2 - for _, b := range yyq948 { + yynn1008 = 2 + for _, b := range yyq1008 { if b { - yynn948++ + yynn1008++ } } - r.EncodeMapStart(yynn948) - yynn948 = 0 + r.EncodeMapStart(yynn1008) + yynn1008 = 0 } - if yyr948 || yy2arr948 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -11150,10 +11777,10 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr948 || yy2arr948 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym951 := z.EncBinary() - _ = yym951 + yym1011 := z.EncBinary() + _ = yym1011 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -11163,93 +11790,93 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym952 := z.EncBinary() - _ = yym952 + yym1012 := z.EncBinary() + _ = yym1012 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr948 || yy2arr948 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq948[2] { - yy954 := &x.LastProbeTime - yym955 := z.EncBinary() - _ = yym955 + if yyq1008[2] { + yy1014 := &x.LastProbeTime + yym1015 := z.EncBinary() + _ = yym1015 if false { - } else if z.HasExtensions() && z.EncExt(yy954) { - } else if yym955 { - z.EncBinaryMarshal(yy954) - } else if !yym955 && z.IsJSONHandle() { - z.EncJSONMarshal(yy954) + } else if z.HasExtensions() && z.EncExt(yy1014) { + } else if yym1015 { + z.EncBinaryMarshal(yy1014) + } else if !yym1015 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1014) } else { - z.EncFallback(yy954) + z.EncFallback(yy1014) } } else { r.EncodeNil() } } else { - if yyq948[2] { + if yyq1008[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy956 := &x.LastProbeTime - yym957 := z.EncBinary() - _ = yym957 + yy1016 := &x.LastProbeTime + yym1017 := z.EncBinary() + _ = yym1017 if false { - } else if z.HasExtensions() && z.EncExt(yy956) { - } else if yym957 { - z.EncBinaryMarshal(yy956) - } else if !yym957 && z.IsJSONHandle() { - z.EncJSONMarshal(yy956) + } else if z.HasExtensions() && z.EncExt(yy1016) { + } else if yym1017 { + z.EncBinaryMarshal(yy1016) + } else if !yym1017 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1016) } else { - z.EncFallback(yy956) + z.EncFallback(yy1016) } } } - if yyr948 || yy2arr948 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq948[3] { - yy959 := &x.LastTransitionTime - yym960 := z.EncBinary() - _ = yym960 + if yyq1008[3] { + yy1019 := &x.LastTransitionTime + yym1020 := z.EncBinary() + _ = yym1020 if false { - } else if z.HasExtensions() && z.EncExt(yy959) { - } else if yym960 { - z.EncBinaryMarshal(yy959) - } else if !yym960 && z.IsJSONHandle() { - z.EncJSONMarshal(yy959) + } else if z.HasExtensions() && z.EncExt(yy1019) { + } else if yym1020 { + z.EncBinaryMarshal(yy1019) + } else if !yym1020 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1019) } else { - z.EncFallback(yy959) + z.EncFallback(yy1019) } } else { r.EncodeNil() } } else { - if yyq948[3] { + if yyq1008[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy961 := &x.LastTransitionTime - yym962 := z.EncBinary() - _ = yym962 + yy1021 := &x.LastTransitionTime + yym1022 := z.EncBinary() + _ = yym1022 if false { - } else if z.HasExtensions() && z.EncExt(yy961) { - } else if yym962 { - z.EncBinaryMarshal(yy961) - } else if !yym962 && z.IsJSONHandle() { - z.EncJSONMarshal(yy961) + } else if z.HasExtensions() && z.EncExt(yy1021) { + } else if yym1022 { + z.EncBinaryMarshal(yy1021) + } else if !yym1022 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1021) } else { - z.EncFallback(yy961) + z.EncFallback(yy1021) } } } - if yyr948 || yy2arr948 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq948[4] { - yym964 := z.EncBinary() - _ = yym964 + if yyq1008[4] { + yym1024 := z.EncBinary() + _ = yym1024 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -11258,23 +11885,23 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq948[4] { + if yyq1008[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym965 := z.EncBinary() - _ = yym965 + yym1025 := z.EncBinary() + _ = yym1025 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr948 || yy2arr948 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq948[5] { - yym967 := z.EncBinary() - _ = yym967 + if yyq1008[5] { + yym1027 := z.EncBinary() + _ = yym1027 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -11283,19 +11910,19 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq948[5] { + if yyq1008[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym968 := z.EncBinary() - _ = yym968 + yym1028 := z.EncBinary() + _ = yym1028 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr948 || yy2arr948 { + if yyr1008 || yy2arr1008 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11308,25 +11935,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym969 := z.DecBinary() - _ = yym969 + yym1029 := z.DecBinary() + _ = yym1029 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct970 := r.ContainerType() - if yyct970 == codecSelferValueTypeMap1234 { - yyl970 := r.ReadMapStart() - if yyl970 == 0 { + yyct1030 := r.ContainerType() + if yyct1030 == codecSelferValueTypeMap1234 { + yyl1030 := r.ReadMapStart() + if yyl1030 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl970, d) + x.codecDecodeSelfFromMap(yyl1030, d) } - } else if yyct970 == codecSelferValueTypeArray1234 { - yyl970 := r.ReadArrayStart() - if yyl970 == 0 { + } else if yyct1030 == codecSelferValueTypeArray1234 { + yyl1030 := r.ReadArrayStart() + if yyl1030 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl970, d) + x.codecDecodeSelfFromArray(yyl1030, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11338,12 +11965,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys971Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys971Slc - var yyhl971 bool = l >= 0 - for yyj971 := 0; ; yyj971++ { - if yyhl971 { - if yyj971 >= l { + var yys1031Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1031Slc + var yyhl1031 bool = l >= 0 + for yyj1031 := 0; ; yyj1031++ { + if yyhl1031 { + if yyj1031 >= l { break } } else { @@ -11352,10 +11979,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys971Slc = r.DecodeBytes(yys971Slc, true, true) - yys971 := string(yys971Slc) + yys1031Slc = r.DecodeBytes(yys1031Slc, true, true) + yys1031 := string(yys1031Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys971 { + switch yys1031 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -11372,34 +11999,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv974 := &x.LastProbeTime - yym975 := z.DecBinary() - _ = yym975 + yyv1034 := &x.LastProbeTime + yym1035 := z.DecBinary() + _ = yym1035 if false { - } else if z.HasExtensions() && z.DecExt(yyv974) { - } else if yym975 { - z.DecBinaryUnmarshal(yyv974) - } else if !yym975 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv974) + } else if z.HasExtensions() && z.DecExt(yyv1034) { + } else if yym1035 { + z.DecBinaryUnmarshal(yyv1034) + } else if !yym1035 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1034) } else { - z.DecFallback(yyv974, false) + z.DecFallback(yyv1034, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv976 := &x.LastTransitionTime - yym977 := z.DecBinary() - _ = yym977 + yyv1036 := &x.LastTransitionTime + yym1037 := z.DecBinary() + _ = yym1037 if false { - } else if z.HasExtensions() && z.DecExt(yyv976) { - } else if yym977 { - z.DecBinaryUnmarshal(yyv976) - } else if !yym977 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv976) + } else if z.HasExtensions() && z.DecExt(yyv1036) { + } else if yym1037 { + z.DecBinaryUnmarshal(yyv1036) + } else if !yym1037 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1036) } else { - z.DecFallback(yyv976, false) + z.DecFallback(yyv1036, false) } } case "reason": @@ -11415,9 +12042,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys971) - } // end switch yys971 - } // end for yyj971 + z.DecStructFieldNotFound(-1, yys1031) + } // end switch yys1031 + } // end for yyj1031 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11425,16 +12052,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj980 int - var yyb980 bool - var yyhl980 bool = l >= 0 - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + var yyj1040 int + var yyb1040 bool + var yyhl1040 bool = l >= 0 + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb980 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb980 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11444,13 +12071,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb980 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb980 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11460,13 +12087,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb980 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb980 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11474,26 +12101,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv983 := &x.LastProbeTime - yym984 := z.DecBinary() - _ = yym984 + yyv1043 := &x.LastProbeTime + yym1044 := z.DecBinary() + _ = yym1044 if false { - } else if z.HasExtensions() && z.DecExt(yyv983) { - } else if yym984 { - z.DecBinaryUnmarshal(yyv983) - } else if !yym984 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv983) + } else if z.HasExtensions() && z.DecExt(yyv1043) { + } else if yym1044 { + z.DecBinaryUnmarshal(yyv1043) + } else if !yym1044 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1043) } else { - z.DecFallback(yyv983, false) + z.DecFallback(yyv1043, false) } } - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb980 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb980 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11501,26 +12128,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv985 := &x.LastTransitionTime - yym986 := z.DecBinary() - _ = yym986 + yyv1045 := &x.LastTransitionTime + yym1046 := z.DecBinary() + _ = yym1046 if false { - } else if z.HasExtensions() && z.DecExt(yyv985) { - } else if yym986 { - z.DecBinaryUnmarshal(yyv985) - } else if !yym986 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv985) + } else if z.HasExtensions() && z.DecExt(yyv1045) { + } else if yym1046 { + z.DecBinaryUnmarshal(yyv1045) + } else if !yym1046 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1045) } else { - z.DecFallback(yyv985, false) + z.DecFallback(yyv1045, false) } } - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb980 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb980 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11530,13 +12157,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb980 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb980 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11547,17 +12174,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj980++ - if yyhl980 { - yyb980 = yyj980 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb980 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb980 { + if yyb1040 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj980-1, "") + z.DecStructFieldNotFound(yyj1040-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11569,39 +12196,39 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym989 := z.EncBinary() - _ = yym989 + yym1049 := z.EncBinary() + _ = yym1049 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep990 := !z.EncBinary() - yy2arr990 := z.EncBasicHandle().StructToArray - var yyq990 [5]bool - _, _, _ = yysep990, yyq990, yy2arr990 - const yyr990 bool = false - yyq990[0] = x.Kind != "" - yyq990[1] = x.APIVersion != "" - yyq990[2] = true - yyq990[3] = true - yyq990[4] = true - var yynn990 int - if yyr990 || yy2arr990 { + yysep1050 := !z.EncBinary() + yy2arr1050 := z.EncBasicHandle().StructToArray + var yyq1050 [5]bool + _, _, _ = yysep1050, yyq1050, yy2arr1050 + const yyr1050 bool = false + yyq1050[0] = x.Kind != "" + yyq1050[1] = x.APIVersion != "" + yyq1050[2] = true + yyq1050[3] = true + yyq1050[4] = true + var yynn1050 int + if yyr1050 || yy2arr1050 { r.EncodeArrayStart(5) } else { - yynn990 = 0 - for _, b := range yyq990 { + yynn1050 = 0 + for _, b := range yyq1050 { if b { - yynn990++ + yynn1050++ } } - r.EncodeMapStart(yynn990) - yynn990 = 0 + r.EncodeMapStart(yynn1050) + yynn1050 = 0 } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[0] { - yym992 := z.EncBinary() - _ = yym992 + if yyq1050[0] { + yym1052 := z.EncBinary() + _ = yym1052 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -11610,23 +12237,23 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq990[0] { + if yyq1050[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym993 := z.EncBinary() - _ = yym993 + yym1053 := z.EncBinary() + _ = yym1053 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[1] { - yym995 := z.EncBinary() - _ = yym995 + if yyq1050[1] { + yym1055 := z.EncBinary() + _ = yym1055 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11635,70 +12262,70 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq990[1] { + if yyq1050[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym996 := z.EncBinary() - _ = yym996 + yym1056 := z.EncBinary() + _ = yym1056 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[2] { - yy998 := &x.ObjectMeta - yy998.CodecEncodeSelf(e) + if yyq1050[2] { + yy1058 := &x.ObjectMeta + yy1058.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq990[2] { + if yyq1050[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy999 := &x.ObjectMeta - yy999.CodecEncodeSelf(e) + yy1059 := &x.ObjectMeta + yy1059.CodecEncodeSelf(e) } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[3] { - yy1001 := &x.Spec - yy1001.CodecEncodeSelf(e) + if yyq1050[3] { + yy1061 := &x.Spec + yy1061.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq990[3] { + if yyq1050[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1002 := &x.Spec - yy1002.CodecEncodeSelf(e) + yy1062 := &x.Spec + yy1062.CodecEncodeSelf(e) } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq990[4] { - yy1004 := &x.Status - yy1004.CodecEncodeSelf(e) + if yyq1050[4] { + yy1064 := &x.Status + yy1064.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq990[4] { + if yyq1050[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1005 := &x.Status - yy1005.CodecEncodeSelf(e) + yy1065 := &x.Status + yy1065.CodecEncodeSelf(e) } } - if yyr990 || yy2arr990 { + if yyr1050 || yy2arr1050 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11711,25 +12338,25 @@ func (x *Ingress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1006 := z.DecBinary() - _ = yym1006 + yym1066 := z.DecBinary() + _ = yym1066 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1007 := r.ContainerType() - if yyct1007 == codecSelferValueTypeMap1234 { - yyl1007 := r.ReadMapStart() - if yyl1007 == 0 { + yyct1067 := r.ContainerType() + if yyct1067 == codecSelferValueTypeMap1234 { + yyl1067 := r.ReadMapStart() + if yyl1067 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1007, d) + x.codecDecodeSelfFromMap(yyl1067, d) } - } else if yyct1007 == codecSelferValueTypeArray1234 { - yyl1007 := r.ReadArrayStart() - if yyl1007 == 0 { + } else if yyct1067 == codecSelferValueTypeArray1234 { + yyl1067 := r.ReadArrayStart() + if yyl1067 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1007, d) + x.codecDecodeSelfFromArray(yyl1067, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11741,12 +12368,12 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1008Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1008Slc - var yyhl1008 bool = l >= 0 - for yyj1008 := 0; ; yyj1008++ { - if yyhl1008 { - if yyj1008 >= l { + var yys1068Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1068Slc + var yyhl1068 bool = l >= 0 + for yyj1068 := 0; ; yyj1068++ { + if yyhl1068 { + if yyj1068 >= l { break } } else { @@ -11755,10 +12382,10 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1008Slc = r.DecodeBytes(yys1008Slc, true, true) - yys1008 := string(yys1008Slc) + yys1068Slc = r.DecodeBytes(yys1068Slc, true, true) + yys1068 := string(yys1068Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1008 { + switch yys1068 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -11775,27 +12402,27 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1011 := &x.ObjectMeta - yyv1011.CodecDecodeSelf(d) + yyv1071 := &x.ObjectMeta + yyv1071.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv1012 := &x.Spec - yyv1012.CodecDecodeSelf(d) + yyv1072 := &x.Spec + yyv1072.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv1013 := &x.Status - yyv1013.CodecDecodeSelf(d) + yyv1073 := &x.Status + yyv1073.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1008) - } // end switch yys1008 - } // end for yyj1008 + z.DecStructFieldNotFound(-1, yys1068) + } // end switch yys1068 + } // end for yyj1068 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11803,16 +12430,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1014 int - var yyb1014 bool - var yyhl1014 bool = l >= 0 - yyj1014++ - if yyhl1014 { - yyb1014 = yyj1014 > l + var yyj1074 int + var yyb1074 bool + var yyhl1074 bool = l >= 0 + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb1014 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb1014 { + if yyb1074 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11822,13 +12449,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1014++ - if yyhl1014 { - yyb1014 = yyj1014 > l + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb1014 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb1014 { + if yyb1074 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11838,13 +12465,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1014++ - if yyhl1014 { - yyb1014 = yyj1014 > l + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb1014 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb1014 { + if yyb1074 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11852,16 +12479,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1017 := &x.ObjectMeta - yyv1017.CodecDecodeSelf(d) + yyv1077 := &x.ObjectMeta + yyv1077.CodecDecodeSelf(d) } - yyj1014++ - if yyhl1014 { - yyb1014 = yyj1014 > l + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb1014 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb1014 { + if yyb1074 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11869,16 +12496,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv1018 := &x.Spec - yyv1018.CodecDecodeSelf(d) + yyv1078 := &x.Spec + yyv1078.CodecDecodeSelf(d) } - yyj1014++ - if yyhl1014 { - yyb1014 = yyj1014 > l + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb1014 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb1014 { + if yyb1074 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11886,21 +12513,21 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv1019 := &x.Status - yyv1019.CodecDecodeSelf(d) + yyv1079 := &x.Status + yyv1079.CodecDecodeSelf(d) } for { - yyj1014++ - if yyhl1014 { - yyb1014 = yyj1014 > l + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb1014 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb1014 { + if yyb1074 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1014-1, "") + z.DecStructFieldNotFound(yyj1074-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11912,37 +12539,37 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1020 := z.EncBinary() - _ = yym1020 + yym1080 := z.EncBinary() + _ = yym1080 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1021 := !z.EncBinary() - yy2arr1021 := z.EncBasicHandle().StructToArray - var yyq1021 [4]bool - _, _, _ = yysep1021, yyq1021, yy2arr1021 - const yyr1021 bool = false - yyq1021[0] = x.Kind != "" - yyq1021[1] = x.APIVersion != "" - yyq1021[2] = true - var yynn1021 int - if yyr1021 || yy2arr1021 { + yysep1081 := !z.EncBinary() + yy2arr1081 := z.EncBasicHandle().StructToArray + var yyq1081 [4]bool + _, _, _ = yysep1081, yyq1081, yy2arr1081 + const yyr1081 bool = false + yyq1081[0] = x.Kind != "" + yyq1081[1] = x.APIVersion != "" + yyq1081[2] = true + var yynn1081 int + if yyr1081 || yy2arr1081 { r.EncodeArrayStart(4) } else { - yynn1021 = 1 - for _, b := range yyq1021 { + yynn1081 = 1 + for _, b := range yyq1081 { if b { - yynn1021++ + yynn1081++ } } - r.EncodeMapStart(yynn1021) - yynn1021 = 0 + r.EncodeMapStart(yynn1081) + yynn1081 = 0 } - if yyr1021 || yy2arr1021 { + if yyr1081 || yy2arr1081 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1021[0] { - yym1023 := z.EncBinary() - _ = yym1023 + if yyq1081[0] { + yym1083 := z.EncBinary() + _ = yym1083 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -11951,23 +12578,23 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1021[0] { + if yyq1081[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1024 := z.EncBinary() - _ = yym1024 + yym1084 := z.EncBinary() + _ = yym1084 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1021 || yy2arr1021 { + if yyr1081 || yy2arr1081 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1021[1] { - yym1026 := z.EncBinary() - _ = yym1026 + if yyq1081[1] { + yym1086 := z.EncBinary() + _ = yym1086 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11976,54 +12603,54 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1021[1] { + if yyq1081[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1027 := z.EncBinary() - _ = yym1027 + yym1087 := z.EncBinary() + _ = yym1087 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1021 || yy2arr1021 { + if yyr1081 || yy2arr1081 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1021[2] { - yy1029 := &x.ListMeta - yym1030 := z.EncBinary() - _ = yym1030 + if yyq1081[2] { + yy1089 := &x.ListMeta + yym1090 := z.EncBinary() + _ = yym1090 if false { - } else if z.HasExtensions() && z.EncExt(yy1029) { + } else if z.HasExtensions() && z.EncExt(yy1089) { } else { - z.EncFallback(yy1029) + z.EncFallback(yy1089) } } else { r.EncodeNil() } } else { - if yyq1021[2] { + if yyq1081[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1031 := &x.ListMeta - yym1032 := z.EncBinary() - _ = yym1032 + yy1091 := &x.ListMeta + yym1092 := z.EncBinary() + _ = yym1092 if false { - } else if z.HasExtensions() && z.EncExt(yy1031) { + } else if z.HasExtensions() && z.EncExt(yy1091) { } else { - z.EncFallback(yy1031) + z.EncFallback(yy1091) } } } - if yyr1021 || yy2arr1021 { + if yyr1081 || yy2arr1081 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1034 := z.EncBinary() - _ = yym1034 + yym1094 := z.EncBinary() + _ = yym1094 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) @@ -12036,15 +12663,15 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1035 := z.EncBinary() - _ = yym1035 + yym1095 := z.EncBinary() + _ = yym1095 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) } } } - if yyr1021 || yy2arr1021 { + if yyr1081 || yy2arr1081 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12057,25 +12684,25 @@ func (x *IngressList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1036 := z.DecBinary() - _ = yym1036 + yym1096 := z.DecBinary() + _ = yym1096 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1037 := r.ContainerType() - if yyct1037 == codecSelferValueTypeMap1234 { - yyl1037 := r.ReadMapStart() - if yyl1037 == 0 { + yyct1097 := r.ContainerType() + if yyct1097 == codecSelferValueTypeMap1234 { + yyl1097 := r.ReadMapStart() + if yyl1097 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1037, d) + x.codecDecodeSelfFromMap(yyl1097, d) } - } else if yyct1037 == codecSelferValueTypeArray1234 { - yyl1037 := r.ReadArrayStart() - if yyl1037 == 0 { + } else if yyct1097 == codecSelferValueTypeArray1234 { + yyl1097 := r.ReadArrayStart() + if yyl1097 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1037, d) + x.codecDecodeSelfFromArray(yyl1097, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12087,12 +12714,12 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1038Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1038Slc - var yyhl1038 bool = l >= 0 - for yyj1038 := 0; ; yyj1038++ { - if yyhl1038 { - if yyj1038 >= l { + 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 { @@ -12101,10 +12728,10 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1038Slc = r.DecodeBytes(yys1038Slc, true, true) - yys1038 := string(yys1038Slc) + yys1098Slc = r.DecodeBytes(yys1098Slc, true, true) + yys1098 := string(yys1098Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1038 { + switch yys1098 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -12121,31 +12748,31 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1041 := &x.ListMeta - yym1042 := z.DecBinary() - _ = yym1042 + yyv1101 := &x.ListMeta + yym1102 := z.DecBinary() + _ = yym1102 if false { - } else if z.HasExtensions() && z.DecExt(yyv1041) { + } else if z.HasExtensions() && z.DecExt(yyv1101) { } else { - z.DecFallback(yyv1041, false) + z.DecFallback(yyv1101, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1043 := &x.Items - yym1044 := z.DecBinary() - _ = yym1044 + yyv1103 := &x.Items + yym1104 := z.DecBinary() + _ = yym1104 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv1043), d) + h.decSliceIngress((*[]Ingress)(yyv1103), d) } } default: - z.DecStructFieldNotFound(-1, yys1038) - } // end switch yys1038 - } // end for yyj1038 + z.DecStructFieldNotFound(-1, yys1098) + } // end switch yys1098 + } // end for yyj1098 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12153,16 +12780,16 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1045 int - var yyb1045 bool - var yyhl1045 bool = l >= 0 - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + var yyj1105 int + var yyb1105 bool + var yyhl1105 bool = l >= 0 + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1045 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1045 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12172,13 +12799,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1045 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1045 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12188,13 +12815,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1045 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1045 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12202,22 +12829,22 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1048 := &x.ListMeta - yym1049 := z.DecBinary() - _ = yym1049 + yyv1108 := &x.ListMeta + yym1109 := z.DecBinary() + _ = yym1109 if false { - } else if z.HasExtensions() && z.DecExt(yyv1048) { + } else if z.HasExtensions() && z.DecExt(yyv1108) { } else { - z.DecFallback(yyv1048, false) + z.DecFallback(yyv1108, false) } } - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1045 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1045 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12225,26 +12852,26 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1050 := &x.Items - yym1051 := z.DecBinary() - _ = yym1051 + yyv1110 := &x.Items + yym1111 := z.DecBinary() + _ = yym1111 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv1050), d) + h.decSliceIngress((*[]Ingress)(yyv1110), d) } } for { - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1045 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1045 { + if yyb1105 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1045-1, "") + z.DecStructFieldNotFound(yyj1105-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12256,35 +12883,35 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1052 := z.EncBinary() - _ = yym1052 + yym1112 := z.EncBinary() + _ = yym1112 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1053 := !z.EncBinary() - yy2arr1053 := z.EncBasicHandle().StructToArray - var yyq1053 [3]bool - _, _, _ = yysep1053, yyq1053, yy2arr1053 - const yyr1053 bool = false - yyq1053[0] = x.Backend != nil - yyq1053[1] = len(x.TLS) != 0 - yyq1053[2] = len(x.Rules) != 0 - var yynn1053 int - if yyr1053 || yy2arr1053 { + yysep1113 := !z.EncBinary() + yy2arr1113 := z.EncBasicHandle().StructToArray + var yyq1113 [3]bool + _, _, _ = yysep1113, yyq1113, yy2arr1113 + const yyr1113 bool = false + yyq1113[0] = x.Backend != nil + yyq1113[1] = len(x.TLS) != 0 + yyq1113[2] = len(x.Rules) != 0 + var yynn1113 int + if yyr1113 || yy2arr1113 { r.EncodeArrayStart(3) } else { - yynn1053 = 0 - for _, b := range yyq1053 { + yynn1113 = 0 + for _, b := range yyq1113 { if b { - yynn1053++ + yynn1113++ } } - r.EncodeMapStart(yynn1053) - yynn1053 = 0 + r.EncodeMapStart(yynn1113) + yynn1113 = 0 } - if yyr1053 || yy2arr1053 { + if yyr1113 || yy2arr1113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1053[0] { + if yyq1113[0] { if x.Backend == nil { r.EncodeNil() } else { @@ -12294,7 +12921,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1053[0] { + if yyq1113[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12305,14 +12932,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1053 || yy2arr1053 { + if yyr1113 || yy2arr1113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1053[1] { + if yyq1113[1] { if x.TLS == nil { r.EncodeNil() } else { - yym1056 := z.EncBinary() - _ = yym1056 + yym1116 := z.EncBinary() + _ = yym1116 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -12322,15 +12949,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1053[1] { + if yyq1113[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TLS == nil { r.EncodeNil() } else { - yym1057 := z.EncBinary() - _ = yym1057 + yym1117 := z.EncBinary() + _ = yym1117 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -12338,14 +12965,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1053 || yy2arr1053 { + if yyr1113 || yy2arr1113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1053[2] { + if yyq1113[2] { if x.Rules == nil { r.EncodeNil() } else { - yym1059 := z.EncBinary() - _ = yym1059 + yym1119 := z.EncBinary() + _ = yym1119 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -12355,15 +12982,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1053[2] { + if yyq1113[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rules")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Rules == nil { r.EncodeNil() } else { - yym1060 := z.EncBinary() - _ = yym1060 + yym1120 := z.EncBinary() + _ = yym1120 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -12371,7 +12998,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1053 || yy2arr1053 { + if yyr1113 || yy2arr1113 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12381,896 +13008,6 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *IngressSpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1061 := z.DecBinary() - _ = yym1061 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1062 := r.ContainerType() - if yyct1062 == codecSelferValueTypeMap1234 { - yyl1062 := r.ReadMapStart() - if yyl1062 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1062, d) - } - } else if yyct1062 == codecSelferValueTypeArray1234 { - yyl1062 := r.ReadArrayStart() - if yyl1062 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1062, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1063Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1063Slc - var yyhl1063 bool = l >= 0 - for yyj1063 := 0; ; yyj1063++ { - if yyhl1063 { - if yyj1063 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1063Slc = r.DecodeBytes(yys1063Slc, true, true) - yys1063 := string(yys1063Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1063 { - case "backend": - if r.TryDecodeAsNil() { - if x.Backend != nil { - x.Backend = nil - } - } else { - if x.Backend == nil { - x.Backend = new(IngressBackend) - } - x.Backend.CodecDecodeSelf(d) - } - case "tls": - if r.TryDecodeAsNil() { - x.TLS = nil - } else { - yyv1065 := &x.TLS - yym1066 := z.DecBinary() - _ = yym1066 - if false { - } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv1065), d) - } - } - case "rules": - if r.TryDecodeAsNil() { - x.Rules = nil - } else { - yyv1067 := &x.Rules - yym1068 := z.DecBinary() - _ = yym1068 - if false { - } else { - h.decSliceIngressRule((*[]IngressRule)(yyv1067), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1063) - } // end switch yys1063 - } // end for yyj1063 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1069 int - var yyb1069 bool - var yyhl1069 bool = l >= 0 - yyj1069++ - if yyhl1069 { - yyb1069 = yyj1069 > l - } else { - yyb1069 = r.CheckBreak() - } - if yyb1069 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.Backend != nil { - x.Backend = nil - } - } else { - if x.Backend == nil { - x.Backend = new(IngressBackend) - } - x.Backend.CodecDecodeSelf(d) - } - yyj1069++ - if yyhl1069 { - yyb1069 = yyj1069 > l - } else { - yyb1069 = r.CheckBreak() - } - if yyb1069 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TLS = nil - } else { - yyv1071 := &x.TLS - yym1072 := z.DecBinary() - _ = yym1072 - if false { - } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv1071), d) - } - } - yyj1069++ - if yyhl1069 { - yyb1069 = yyj1069 > l - } else { - yyb1069 = r.CheckBreak() - } - if yyb1069 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Rules = nil - } else { - yyv1073 := &x.Rules - yym1074 := z.DecBinary() - _ = yym1074 - if false { - } else { - h.decSliceIngressRule((*[]IngressRule)(yyv1073), d) - } - } - for { - yyj1069++ - if yyhl1069 { - yyb1069 = yyj1069 > l - } else { - yyb1069 = r.CheckBreak() - } - if yyb1069 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1069-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1075 := z.EncBinary() - _ = yym1075 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1076 := !z.EncBinary() - yy2arr1076 := z.EncBasicHandle().StructToArray - var yyq1076 [2]bool - _, _, _ = yysep1076, yyq1076, yy2arr1076 - const yyr1076 bool = false - yyq1076[0] = len(x.Hosts) != 0 - yyq1076[1] = x.SecretName != "" - var yynn1076 int - if yyr1076 || yy2arr1076 { - r.EncodeArrayStart(2) - } else { - yynn1076 = 0 - for _, b := range yyq1076 { - if b { - yynn1076++ - } - } - r.EncodeMapStart(yynn1076) - yynn1076 = 0 - } - if yyr1076 || yy2arr1076 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1076[0] { - if x.Hosts == nil { - r.EncodeNil() - } else { - yym1078 := z.EncBinary() - _ = yym1078 - if false { - } else { - z.F.EncSliceStringV(x.Hosts, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1076[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hosts")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Hosts == nil { - r.EncodeNil() - } else { - yym1079 := z.EncBinary() - _ = yym1079 - if false { - } else { - z.F.EncSliceStringV(x.Hosts, false, e) - } - } - } - } - if yyr1076 || yy2arr1076 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1076[1] { - yym1081 := z.EncBinary() - _ = yym1081 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1076[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("secretName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1082 := z.EncBinary() - _ = yym1082 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) - } - } - } - if yyr1076 || yy2arr1076 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1083 := z.DecBinary() - _ = yym1083 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1084 := r.ContainerType() - if yyct1084 == codecSelferValueTypeMap1234 { - yyl1084 := r.ReadMapStart() - if yyl1084 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1084, d) - } - } else if yyct1084 == codecSelferValueTypeArray1234 { - yyl1084 := r.ReadArrayStart() - if yyl1084 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1084, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1085Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1085Slc - var yyhl1085 bool = l >= 0 - for yyj1085 := 0; ; yyj1085++ { - if yyhl1085 { - if yyj1085 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1085Slc = r.DecodeBytes(yys1085Slc, true, true) - yys1085 := string(yys1085Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1085 { - case "hosts": - if r.TryDecodeAsNil() { - x.Hosts = nil - } else { - yyv1086 := &x.Hosts - yym1087 := z.DecBinary() - _ = yym1087 - if false { - } else { - z.F.DecSliceStringX(yyv1086, false, d) - } - } - case "secretName": - if r.TryDecodeAsNil() { - x.SecretName = "" - } else { - x.SecretName = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys1085) - } // end switch yys1085 - } // end for yyj1085 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1089 int - var yyb1089 bool - var yyhl1089 bool = l >= 0 - yyj1089++ - if yyhl1089 { - yyb1089 = yyj1089 > l - } else { - yyb1089 = r.CheckBreak() - } - if yyb1089 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Hosts = nil - } else { - yyv1090 := &x.Hosts - yym1091 := z.DecBinary() - _ = yym1091 - if false { - } else { - z.F.DecSliceStringX(yyv1090, false, d) - } - } - yyj1089++ - if yyhl1089 { - yyb1089 = yyj1089 > l - } else { - yyb1089 = r.CheckBreak() - } - if yyb1089 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SecretName = "" - } else { - x.SecretName = string(r.DecodeString()) - } - for { - yyj1089++ - if yyhl1089 { - yyb1089 = yyj1089 > l - } else { - yyb1089 = r.CheckBreak() - } - if yyb1089 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1089-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1093 := z.EncBinary() - _ = yym1093 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1094 := !z.EncBinary() - yy2arr1094 := z.EncBasicHandle().StructToArray - var yyq1094 [1]bool - _, _, _ = yysep1094, yyq1094, yy2arr1094 - const yyr1094 bool = false - yyq1094[0] = true - var yynn1094 int - if yyr1094 || yy2arr1094 { - r.EncodeArrayStart(1) - } else { - yynn1094 = 0 - for _, b := range yyq1094 { - if b { - yynn1094++ - } - } - r.EncodeMapStart(yynn1094) - yynn1094 = 0 - } - if yyr1094 || yy2arr1094 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1094[0] { - yy1096 := &x.LoadBalancer - yy1096.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq1094[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1097 := &x.LoadBalancer - yy1097.CodecEncodeSelf(e) - } - } - if yyr1094 || yy2arr1094 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1098 := z.DecBinary() - _ = yym1098 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1099 := r.ContainerType() - if yyct1099 == codecSelferValueTypeMap1234 { - yyl1099 := r.ReadMapStart() - if yyl1099 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1099, d) - } - } else if yyct1099 == codecSelferValueTypeArray1234 { - yyl1099 := r.ReadArrayStart() - if yyl1099 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1099, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1100Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1100Slc - var yyhl1100 bool = l >= 0 - for yyj1100 := 0; ; yyj1100++ { - if yyhl1100 { - if yyj1100 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1100Slc = r.DecodeBytes(yys1100Slc, true, true) - yys1100 := string(yys1100Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1100 { - case "loadBalancer": - if r.TryDecodeAsNil() { - x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} - } else { - yyv1101 := &x.LoadBalancer - yyv1101.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys1100) - } // end switch yys1100 - } // end for yyj1100 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1102 int - var yyb1102 bool - var yyhl1102 bool = l >= 0 - yyj1102++ - if yyhl1102 { - yyb1102 = yyj1102 > l - } else { - yyb1102 = r.CheckBreak() - } - if yyb1102 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} - } else { - yyv1103 := &x.LoadBalancer - yyv1103.CodecDecodeSelf(d) - } - for { - yyj1102++ - if yyhl1102 { - yyb1102 = yyj1102 > l - } else { - yyb1102 = r.CheckBreak() - } - if yyb1102 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1102-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1104 := z.EncBinary() - _ = yym1104 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1105 := !z.EncBinary() - yy2arr1105 := z.EncBasicHandle().StructToArray - var yyq1105 [2]bool - _, _, _ = yysep1105, yyq1105, yy2arr1105 - const yyr1105 bool = false - yyq1105[0] = x.Host != "" - yyq1105[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil - var yynn1105 int - if yyr1105 || yy2arr1105 { - r.EncodeArrayStart(2) - } else { - yynn1105 = 0 - for _, b := range yyq1105 { - if b { - yynn1105++ - } - } - r.EncodeMapStart(yynn1105) - yynn1105 = 0 - } - if yyr1105 || yy2arr1105 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1105[0] { - yym1107 := z.EncBinary() - _ = yym1107 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Host)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1105[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("host")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1108 := z.EncBinary() - _ = yym1108 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Host)) - } - } - } - var yyn1109 bool - if x.IngressRuleValue.HTTP == nil { - yyn1109 = true - goto LABEL1109 - } - LABEL1109: - if yyr1105 || yy2arr1105 { - if yyn1109 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1105[1] { - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq1105[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("http")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1109 { - r.EncodeNil() - } else { - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } - } - } - if yyr1105 || yy2arr1105 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1110 := z.DecBinary() - _ = yym1110 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1111 := r.ContainerType() - if yyct1111 == codecSelferValueTypeMap1234 { - yyl1111 := r.ReadMapStart() - if yyl1111 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1111, d) - } - } else if yyct1111 == codecSelferValueTypeArray1234 { - yyl1111 := r.ReadArrayStart() - if yyl1111 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1111, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1112Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1112Slc - var yyhl1112 bool = l >= 0 - for yyj1112 := 0; ; yyj1112++ { - if yyhl1112 { - if yyj1112 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1112Slc = r.DecodeBytes(yys1112Slc, true, true) - yys1112 := string(yys1112Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1112 { - case "host": - if r.TryDecodeAsNil() { - x.Host = "" - } else { - x.Host = string(r.DecodeString()) - } - case "http": - if x.IngressRuleValue.HTTP == nil { - x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) - } - if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } - } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) - } - x.HTTP.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys1112) - } // end switch yys1112 - } // end for yyj1112 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1115 int - var yyb1115 bool - var yyhl1115 bool = l >= 0 - yyj1115++ - if yyhl1115 { - yyb1115 = yyj1115 > l - } else { - yyb1115 = r.CheckBreak() - } - if yyb1115 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Host = "" - } else { - x.Host = string(r.DecodeString()) - } - if x.IngressRuleValue.HTTP == nil { - x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) - } - yyj1115++ - if yyhl1115 { - yyb1115 = yyj1115 > l - } else { - yyb1115 = r.CheckBreak() - } - if yyb1115 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.HTTP != nil { - x.HTTP = nil - } - } else { - if x.HTTP == nil { - x.HTTP = new(HTTPIngressRuleValue) - } - x.HTTP.CodecDecodeSelf(d) - } - for { - yyj1115++ - if yyhl1115 { - yyb1115 = yyj1115 > l - } else { - yyb1115 = r.CheckBreak() - } - if yyb1115 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1115-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1118 := z.EncBinary() - _ = yym1118 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1119 := !z.EncBinary() - yy2arr1119 := z.EncBasicHandle().StructToArray - var yyq1119 [1]bool - _, _, _ = yysep1119, yyq1119, yy2arr1119 - const yyr1119 bool = false - yyq1119[0] = x.HTTP != nil - var yynn1119 int - if yyr1119 || yy2arr1119 { - r.EncodeArrayStart(1) - } else { - yynn1119 = 0 - for _, b := range yyq1119 { - if b { - yynn1119++ - } - } - r.EncodeMapStart(yynn1119) - yynn1119 = 0 - } - if yyr1119 || yy2arr1119 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1119[0] { - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq1119[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("http")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.HTTP == nil { - r.EncodeNil() - } else { - x.HTTP.CodecEncodeSelf(e) - } - } - } - if yyr1119 || yy2arr1119 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -13300,7 +13037,7 @@ func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -13322,7 +13059,701 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys1123 := string(yys1123Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys1123 { + case "backend": + if r.TryDecodeAsNil() { + if x.Backend != nil { + x.Backend = nil + } + } else { + if x.Backend == nil { + x.Backend = new(IngressBackend) + } + x.Backend.CodecDecodeSelf(d) + } + case "tls": + if r.TryDecodeAsNil() { + x.TLS = nil + } else { + yyv1125 := &x.TLS + yym1126 := z.DecBinary() + _ = yym1126 + if false { + } else { + h.decSliceIngressTLS((*[]IngressTLS)(yyv1125), d) + } + } + case "rules": + if r.TryDecodeAsNil() { + x.Rules = nil + } else { + yyv1127 := &x.Rules + yym1128 := z.DecBinary() + _ = yym1128 + if false { + } else { + h.decSliceIngressRule((*[]IngressRule)(yyv1127), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1123) + } // end switch yys1123 + } // end for yyj1123 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1129 int + var yyb1129 bool + var yyhl1129 bool = l >= 0 + yyj1129++ + if yyhl1129 { + yyb1129 = yyj1129 > l + } else { + yyb1129 = r.CheckBreak() + } + if yyb1129 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.Backend != nil { + x.Backend = nil + } + } else { + if x.Backend == nil { + x.Backend = new(IngressBackend) + } + x.Backend.CodecDecodeSelf(d) + } + yyj1129++ + if yyhl1129 { + yyb1129 = yyj1129 > l + } else { + yyb1129 = r.CheckBreak() + } + if yyb1129 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TLS = nil + } else { + yyv1131 := &x.TLS + yym1132 := z.DecBinary() + _ = yym1132 + if false { + } else { + h.decSliceIngressTLS((*[]IngressTLS)(yyv1131), d) + } + } + yyj1129++ + if yyhl1129 { + yyb1129 = yyj1129 > l + } else { + yyb1129 = r.CheckBreak() + } + if yyb1129 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Rules = nil + } else { + yyv1133 := &x.Rules + yym1134 := z.DecBinary() + _ = yym1134 + if false { + } else { + h.decSliceIngressRule((*[]IngressRule)(yyv1133), d) + } + } + for { + yyj1129++ + if yyhl1129 { + yyb1129 = yyj1129 > l + } else { + yyb1129 = r.CheckBreak() + } + if yyb1129 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1129-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1135 := z.EncBinary() + _ = yym1135 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1136 := !z.EncBinary() + yy2arr1136 := z.EncBasicHandle().StructToArray + var yyq1136 [2]bool + _, _, _ = yysep1136, yyq1136, yy2arr1136 + const yyr1136 bool = false + yyq1136[0] = len(x.Hosts) != 0 + yyq1136[1] = x.SecretName != "" + var yynn1136 int + if yyr1136 || yy2arr1136 { + r.EncodeArrayStart(2) + } else { + yynn1136 = 0 + for _, b := range yyq1136 { + if b { + yynn1136++ + } + } + r.EncodeMapStart(yynn1136) + yynn1136 = 0 + } + if yyr1136 || yy2arr1136 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1136[0] { + if x.Hosts == nil { + r.EncodeNil() + } else { + yym1138 := z.EncBinary() + _ = yym1138 + if false { + } else { + z.F.EncSliceStringV(x.Hosts, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1136[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hosts")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Hosts == nil { + r.EncodeNil() + } else { + yym1139 := z.EncBinary() + _ = yym1139 + if false { + } else { + z.F.EncSliceStringV(x.Hosts, false, e) + } + } + } + } + if yyr1136 || yy2arr1136 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1136[1] { + yym1141 := z.EncBinary() + _ = yym1141 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1136[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("secretName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1142 := z.EncBinary() + _ = yym1142 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) + } + } + } + if yyr1136 || yy2arr1136 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1143 := z.DecBinary() + _ = yym1143 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1144 := r.ContainerType() + if yyct1144 == codecSelferValueTypeMap1234 { + yyl1144 := r.ReadMapStart() + if yyl1144 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1144, d) + } + } else if yyct1144 == codecSelferValueTypeArray1234 { + yyl1144 := r.ReadArrayStart() + if yyl1144 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1144, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1145Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1145Slc + var yyhl1145 bool = l >= 0 + for yyj1145 := 0; ; yyj1145++ { + if yyhl1145 { + if yyj1145 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1145Slc = r.DecodeBytes(yys1145Slc, true, true) + yys1145 := string(yys1145Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1145 { + case "hosts": + if r.TryDecodeAsNil() { + x.Hosts = nil + } else { + yyv1146 := &x.Hosts + yym1147 := z.DecBinary() + _ = yym1147 + if false { + } else { + z.F.DecSliceStringX(yyv1146, false, d) + } + } + case "secretName": + if r.TryDecodeAsNil() { + x.SecretName = "" + } else { + x.SecretName = string(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys1145) + } // end switch yys1145 + } // end for yyj1145 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1149 int + var yyb1149 bool + var yyhl1149 bool = l >= 0 + yyj1149++ + if yyhl1149 { + yyb1149 = yyj1149 > l + } else { + yyb1149 = r.CheckBreak() + } + if yyb1149 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Hosts = nil + } else { + yyv1150 := &x.Hosts + yym1151 := z.DecBinary() + _ = yym1151 + if false { + } else { + z.F.DecSliceStringX(yyv1150, false, d) + } + } + yyj1149++ + if yyhl1149 { + yyb1149 = yyj1149 > l + } else { + yyb1149 = r.CheckBreak() + } + if yyb1149 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SecretName = "" + } else { + x.SecretName = string(r.DecodeString()) + } + for { + yyj1149++ + if yyhl1149 { + yyb1149 = yyj1149 > l + } else { + yyb1149 = r.CheckBreak() + } + if yyb1149 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1149-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1153 := z.EncBinary() + _ = yym1153 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1154 := !z.EncBinary() + yy2arr1154 := z.EncBasicHandle().StructToArray + var yyq1154 [1]bool + _, _, _ = yysep1154, yyq1154, yy2arr1154 + const yyr1154 bool = false + yyq1154[0] = true + var yynn1154 int + if yyr1154 || yy2arr1154 { + r.EncodeArrayStart(1) + } else { + yynn1154 = 0 + for _, b := range yyq1154 { + if b { + yynn1154++ + } + } + r.EncodeMapStart(yynn1154) + yynn1154 = 0 + } + if yyr1154 || yy2arr1154 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1154[0] { + yy1156 := &x.LoadBalancer + yy1156.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1154[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1157 := &x.LoadBalancer + yy1157.CodecEncodeSelf(e) + } + } + if yyr1154 || yy2arr1154 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1158 := z.DecBinary() + _ = yym1158 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1159 := r.ContainerType() + if yyct1159 == codecSelferValueTypeMap1234 { + yyl1159 := r.ReadMapStart() + if yyl1159 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1159, d) + } + } else if yyct1159 == codecSelferValueTypeArray1234 { + yyl1159 := r.ReadArrayStart() + if yyl1159 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1159, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1160Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1160Slc + var yyhl1160 bool = l >= 0 + for yyj1160 := 0; ; yyj1160++ { + if yyhl1160 { + if yyj1160 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1160Slc = r.DecodeBytes(yys1160Slc, true, true) + yys1160 := string(yys1160Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1160 { + case "loadBalancer": + if r.TryDecodeAsNil() { + x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} + } else { + yyv1161 := &x.LoadBalancer + yyv1161.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys1160) + } // end switch yys1160 + } // end for yyj1160 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1162 int + var yyb1162 bool + var yyhl1162 bool = l >= 0 + yyj1162++ + if yyhl1162 { + yyb1162 = yyj1162 > l + } else { + yyb1162 = r.CheckBreak() + } + if yyb1162 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} + } else { + yyv1163 := &x.LoadBalancer + yyv1163.CodecDecodeSelf(d) + } + for { + yyj1162++ + if yyhl1162 { + yyb1162 = yyj1162 > l + } else { + yyb1162 = r.CheckBreak() + } + if yyb1162 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1162-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1164 := z.EncBinary() + _ = yym1164 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1165 := !z.EncBinary() + yy2arr1165 := z.EncBasicHandle().StructToArray + var yyq1165 [2]bool + _, _, _ = yysep1165, yyq1165, yy2arr1165 + const yyr1165 bool = false + yyq1165[0] = x.Host != "" + yyq1165[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil + var yynn1165 int + if yyr1165 || yy2arr1165 { + r.EncodeArrayStart(2) + } else { + yynn1165 = 0 + for _, b := range yyq1165 { + if b { + yynn1165++ + } + } + r.EncodeMapStart(yynn1165) + yynn1165 = 0 + } + if yyr1165 || yy2arr1165 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1165[0] { + yym1167 := z.EncBinary() + _ = yym1167 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Host)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1165[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("host")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1168 := z.EncBinary() + _ = yym1168 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Host)) + } + } + } + var yyn1169 bool + if x.IngressRuleValue.HTTP == nil { + yyn1169 = true + goto LABEL1169 + } + LABEL1169: + if yyr1165 || yy2arr1165 { + if yyn1169 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1165[1] { + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq1165[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("http")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn1169 { + r.EncodeNil() + } else { + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } + } + } + if yyr1165 || yy2arr1165 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1170 := z.DecBinary() + _ = yym1170 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1171 := r.ContainerType() + if yyct1171 == codecSelferValueTypeMap1234 { + yyl1171 := r.ReadMapStart() + if yyl1171 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1171, d) + } + } else if yyct1171 == codecSelferValueTypeArray1234 { + yyl1171 := r.ReadArrayStart() + if yyl1171 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1171, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1172Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1172Slc + var yyhl1172 bool = l >= 0 + for yyj1172 := 0; ; yyj1172++ { + if yyhl1172 { + if yyj1172 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1172Slc = r.DecodeBytes(yys1172Slc, true, true) + yys1172 := string(yys1172Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1172 { + case "host": + if r.TryDecodeAsNil() { + x.Host = "" + } else { + x.Host = string(r.DecodeString()) + } case "http": + if x.IngressRuleValue.HTTP == nil { + x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) + } if r.TryDecodeAsNil() { if x.HTTP != nil { x.HTTP = nil @@ -13334,26 +13765,45 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1123) - } // end switch yys1123 - } // end for yyj1123 + z.DecStructFieldNotFound(-1, yys1172) + } // end switch yys1172 + } // end for yyj1172 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1125 int - var yyb1125 bool - var yyhl1125 bool = l >= 0 - yyj1125++ - if yyhl1125 { - yyb1125 = yyj1125 > l + var yyj1175 int + var yyb1175 bool + var yyhl1175 bool = l >= 0 + yyj1175++ + if yyhl1175 { + yyb1175 = yyj1175 > l } else { - yyb1125 = r.CheckBreak() + yyb1175 = r.CheckBreak() } - if yyb1125 { + if yyb1175 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Host = "" + } else { + x.Host = string(r.DecodeString()) + } + if x.IngressRuleValue.HTTP == nil { + x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) + } + yyj1175++ + if yyhl1175 { + yyb1175 = yyj1175 > l + } else { + yyb1175 = r.CheckBreak() + } + if yyb1175 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13369,17 +13819,194 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.HTTP.CodecDecodeSelf(d) } for { - yyj1125++ - if yyhl1125 { - yyb1125 = yyj1125 > l + yyj1175++ + if yyhl1175 { + yyb1175 = yyj1175 > l } else { - yyb1125 = r.CheckBreak() + yyb1175 = r.CheckBreak() } - if yyb1125 { + if yyb1175 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1125-1, "") + z.DecStructFieldNotFound(yyj1175-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1178 := z.EncBinary() + _ = yym1178 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1179 := !z.EncBinary() + yy2arr1179 := z.EncBasicHandle().StructToArray + var yyq1179 [1]bool + _, _, _ = yysep1179, yyq1179, yy2arr1179 + const yyr1179 bool = false + yyq1179[0] = x.HTTP != nil + var yynn1179 int + if yyr1179 || yy2arr1179 { + r.EncodeArrayStart(1) + } else { + yynn1179 = 0 + for _, b := range yyq1179 { + if b { + yynn1179++ + } + } + r.EncodeMapStart(yynn1179) + yynn1179 = 0 + } + if yyr1179 || yy2arr1179 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1179[0] { + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq1179[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("http")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.HTTP == nil { + r.EncodeNil() + } else { + x.HTTP.CodecEncodeSelf(e) + } + } + } + if yyr1179 || yy2arr1179 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1181 := z.DecBinary() + _ = yym1181 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1182 := r.ContainerType() + if yyct1182 == codecSelferValueTypeMap1234 { + yyl1182 := r.ReadMapStart() + if yyl1182 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1182, d) + } + } else if yyct1182 == codecSelferValueTypeArray1234 { + yyl1182 := r.ReadArrayStart() + if yyl1182 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1182, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1183Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1183Slc + var yyhl1183 bool = l >= 0 + for yyj1183 := 0; ; yyj1183++ { + if yyhl1183 { + if yyj1183 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1183Slc = r.DecodeBytes(yys1183Slc, true, true) + yys1183 := string(yys1183Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1183 { + case "http": + if r.TryDecodeAsNil() { + if x.HTTP != nil { + x.HTTP = nil + } + } else { + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys1183) + } // end switch yys1183 + } // end for yyj1183 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1185 int + var yyb1185 bool + var yyhl1185 bool = l >= 0 + yyj1185++ + if yyhl1185 { + yyb1185 = yyj1185 > l + } else { + yyb1185 = r.CheckBreak() + } + if yyb1185 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.HTTP != nil { + x.HTTP = nil + } + } else { + if x.HTTP == nil { + x.HTTP = new(HTTPIngressRuleValue) + } + x.HTTP.CodecDecodeSelf(d) + } + for { + yyj1185++ + if yyhl1185 { + yyb1185 = yyj1185 > l + } else { + yyb1185 = r.CheckBreak() + } + if yyb1185 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1185-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13391,36 +14018,36 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1127 := z.EncBinary() - _ = yym1127 + yym1187 := z.EncBinary() + _ = yym1187 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1128 := !z.EncBinary() - yy2arr1128 := z.EncBasicHandle().StructToArray - var yyq1128 [1]bool - _, _, _ = yysep1128, yyq1128, yy2arr1128 - const yyr1128 bool = false - var yynn1128 int - if yyr1128 || yy2arr1128 { + yysep1188 := !z.EncBinary() + yy2arr1188 := z.EncBasicHandle().StructToArray + var yyq1188 [1]bool + _, _, _ = yysep1188, yyq1188, yy2arr1188 + const yyr1188 bool = false + var yynn1188 int + if yyr1188 || yy2arr1188 { r.EncodeArrayStart(1) } else { - yynn1128 = 1 - for _, b := range yyq1128 { + yynn1188 = 1 + for _, b := range yyq1188 { if b { - yynn1128++ + yynn1188++ } } - r.EncodeMapStart(yynn1128) - yynn1128 = 0 + r.EncodeMapStart(yynn1188) + yynn1188 = 0 } - if yyr1128 || yy2arr1128 { + if yyr1188 || yy2arr1188 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Paths == nil { r.EncodeNil() } else { - yym1130 := z.EncBinary() - _ = yym1130 + yym1190 := z.EncBinary() + _ = yym1190 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) @@ -13433,15 +14060,15 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x.Paths == nil { r.EncodeNil() } else { - yym1131 := z.EncBinary() - _ = yym1131 + yym1191 := z.EncBinary() + _ = yym1191 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) } } } - if yyr1128 || yy2arr1128 { + if yyr1188 || yy2arr1188 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13454,25 +14081,25 @@ func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1132 := z.DecBinary() - _ = yym1132 + yym1192 := z.DecBinary() + _ = yym1192 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1133 := r.ContainerType() - if yyct1133 == codecSelferValueTypeMap1234 { - yyl1133 := r.ReadMapStart() - if yyl1133 == 0 { + yyct1193 := r.ContainerType() + if yyct1193 == codecSelferValueTypeMap1234 { + yyl1193 := r.ReadMapStart() + if yyl1193 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1133, d) + x.codecDecodeSelfFromMap(yyl1193, d) } - } else if yyct1133 == codecSelferValueTypeArray1234 { - yyl1133 := r.ReadArrayStart() - if yyl1133 == 0 { + } else if yyct1193 == codecSelferValueTypeArray1234 { + yyl1193 := r.ReadArrayStart() + if yyl1193 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1133, d) + x.codecDecodeSelfFromArray(yyl1193, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13484,12 +14111,12 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1134Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1134Slc - var yyhl1134 bool = l >= 0 - for yyj1134 := 0; ; yyj1134++ { - if yyhl1134 { - if yyj1134 >= l { + var yys1194Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1194Slc + var yyhl1194 bool = l >= 0 + for yyj1194 := 0; ; yyj1194++ { + if yyhl1194 { + if yyj1194 >= l { break } } else { @@ -13498,26 +14125,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1134Slc = r.DecodeBytes(yys1134Slc, true, true) - yys1134 := string(yys1134Slc) + yys1194Slc = r.DecodeBytes(yys1194Slc, true, true) + yys1194 := string(yys1194Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1134 { + switch yys1194 { case "paths": if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv1135 := &x.Paths - yym1136 := z.DecBinary() - _ = yym1136 + yyv1195 := &x.Paths + yym1196 := z.DecBinary() + _ = yym1196 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1135), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1195), d) } } default: - z.DecStructFieldNotFound(-1, yys1134) - } // end switch yys1134 - } // end for yyj1134 + z.DecStructFieldNotFound(-1, yys1194) + } // end switch yys1194 + } // end for yyj1194 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13525,16 +14152,16 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1137 int - var yyb1137 bool - var yyhl1137 bool = l >= 0 - yyj1137++ - if yyhl1137 { - yyb1137 = yyj1137 > l + var yyj1197 int + var yyb1197 bool + var yyhl1197 bool = l >= 0 + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1137 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1137 { + if yyb1197 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13542,26 +14169,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv1138 := &x.Paths - yym1139 := z.DecBinary() - _ = yym1139 + yyv1198 := &x.Paths + yym1199 := z.DecBinary() + _ = yym1199 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1138), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1198), d) } } for { - yyj1137++ - if yyhl1137 { - yyb1137 = yyj1137 > l + yyj1197++ + if yyhl1197 { + yyb1197 = yyj1197 > l } else { - yyb1137 = r.CheckBreak() + yyb1197 = r.CheckBreak() } - if yyb1137 { + if yyb1197 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1137-1, "") + z.DecStructFieldNotFound(yyj1197-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13573,35 +14200,35 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1140 := z.EncBinary() - _ = yym1140 + yym1200 := z.EncBinary() + _ = yym1200 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1141 := !z.EncBinary() - yy2arr1141 := z.EncBasicHandle().StructToArray - var yyq1141 [2]bool - _, _, _ = yysep1141, yyq1141, yy2arr1141 - const yyr1141 bool = false - yyq1141[0] = x.Path != "" - var yynn1141 int - if yyr1141 || yy2arr1141 { + yysep1201 := !z.EncBinary() + yy2arr1201 := z.EncBasicHandle().StructToArray + var yyq1201 [2]bool + _, _, _ = yysep1201, yyq1201, yy2arr1201 + const yyr1201 bool = false + yyq1201[0] = x.Path != "" + var yynn1201 int + if yyr1201 || yy2arr1201 { r.EncodeArrayStart(2) } else { - yynn1141 = 1 - for _, b := range yyq1141 { + yynn1201 = 1 + for _, b := range yyq1201 { if b { - yynn1141++ + yynn1201++ } } - r.EncodeMapStart(yynn1141) - yynn1141 = 0 + r.EncodeMapStart(yynn1201) + yynn1201 = 0 } - if yyr1141 || yy2arr1141 { + if yyr1201 || yy2arr1201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1141[0] { - yym1143 := z.EncBinary() - _ = yym1143 + if yyq1201[0] { + yym1203 := z.EncBinary() + _ = yym1203 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -13610,30 +14237,30 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1141[0] { + if yyq1201[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1144 := z.EncBinary() - _ = yym1144 + yym1204 := z.EncBinary() + _ = yym1204 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr1141 || yy2arr1141 { + if yyr1201 || yy2arr1201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1146 := &x.Backend - yy1146.CodecEncodeSelf(e) + yy1206 := &x.Backend + yy1206.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1147 := &x.Backend - yy1147.CodecEncodeSelf(e) + yy1207 := &x.Backend + yy1207.CodecEncodeSelf(e) } - if yyr1141 || yy2arr1141 { + if yyr1201 || yy2arr1201 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13646,25 +14273,25 @@ func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1148 := z.DecBinary() - _ = yym1148 + yym1208 := z.DecBinary() + _ = yym1208 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1149 := r.ContainerType() - if yyct1149 == codecSelferValueTypeMap1234 { - yyl1149 := r.ReadMapStart() - if yyl1149 == 0 { + yyct1209 := r.ContainerType() + if yyct1209 == codecSelferValueTypeMap1234 { + yyl1209 := r.ReadMapStart() + if yyl1209 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1149, d) + x.codecDecodeSelfFromMap(yyl1209, d) } - } else if yyct1149 == codecSelferValueTypeArray1234 { - yyl1149 := r.ReadArrayStart() - if yyl1149 == 0 { + } else if yyct1209 == codecSelferValueTypeArray1234 { + yyl1209 := r.ReadArrayStart() + if yyl1209 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1149, d) + x.codecDecodeSelfFromArray(yyl1209, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13676,12 +14303,12 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1150Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1150Slc - var yyhl1150 bool = l >= 0 - for yyj1150 := 0; ; yyj1150++ { - if yyhl1150 { - if yyj1150 >= l { + var yys1210Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1210Slc + var yyhl1210 bool = l >= 0 + for yyj1210 := 0; ; yyj1210++ { + if yyhl1210 { + if yyj1210 >= l { break } } else { @@ -13690,10 +14317,10 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1150Slc = r.DecodeBytes(yys1150Slc, true, true) - yys1150 := string(yys1150Slc) + yys1210Slc = r.DecodeBytes(yys1210Slc, true, true) + yys1210 := string(yys1210Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1150 { + switch yys1210 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -13704,13 +14331,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv1152 := &x.Backend - yyv1152.CodecDecodeSelf(d) + yyv1212 := &x.Backend + yyv1212.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1150) - } // end switch yys1150 - } // end for yyj1150 + z.DecStructFieldNotFound(-1, yys1210) + } // end switch yys1210 + } // end for yyj1210 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13718,16 +14345,16 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1153 int - var yyb1153 bool - var yyhl1153 bool = l >= 0 - yyj1153++ - if yyhl1153 { - yyb1153 = yyj1153 > l + var yyj1213 int + var yyb1213 bool + var yyhl1213 bool = l >= 0 + yyj1213++ + if yyhl1213 { + yyb1213 = yyj1213 > l } else { - yyb1153 = r.CheckBreak() + yyb1213 = r.CheckBreak() } - if yyb1153 { + if yyb1213 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13737,13 +14364,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj1153++ - if yyhl1153 { - yyb1153 = yyj1153 > l + yyj1213++ + if yyhl1213 { + yyb1213 = yyj1213 > l } else { - yyb1153 = r.CheckBreak() + yyb1213 = r.CheckBreak() } - if yyb1153 { + if yyb1213 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13751,21 +14378,21 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv1155 := &x.Backend - yyv1155.CodecDecodeSelf(d) + yyv1215 := &x.Backend + yyv1215.CodecDecodeSelf(d) } for { - yyj1153++ - if yyhl1153 { - yyb1153 = yyj1153 > l + yyj1213++ + if yyhl1213 { + yyb1213 = yyj1213 > l } else { - yyb1153 = r.CheckBreak() + yyb1213 = r.CheckBreak() } - if yyb1153 { + if yyb1213 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1153-1, "") + z.DecStructFieldNotFound(yyj1213-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13777,33 +14404,33 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1156 := z.EncBinary() - _ = yym1156 + yym1216 := z.EncBinary() + _ = yym1216 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1157 := !z.EncBinary() - yy2arr1157 := z.EncBasicHandle().StructToArray - var yyq1157 [2]bool - _, _, _ = yysep1157, yyq1157, yy2arr1157 - const yyr1157 bool = false - var yynn1157 int - if yyr1157 || yy2arr1157 { + yysep1217 := !z.EncBinary() + yy2arr1217 := z.EncBasicHandle().StructToArray + var yyq1217 [2]bool + _, _, _ = yysep1217, yyq1217, yy2arr1217 + const yyr1217 bool = false + var yynn1217 int + if yyr1217 || yy2arr1217 { r.EncodeArrayStart(2) } else { - yynn1157 = 2 - for _, b := range yyq1157 { + yynn1217 = 2 + for _, b := range yyq1217 { if b { - yynn1157++ + yynn1217++ } } - r.EncodeMapStart(yynn1157) - yynn1157 = 0 + r.EncodeMapStart(yynn1217) + yynn1217 = 0 } - if yyr1157 || yy2arr1157 { + if yyr1217 || yy2arr1217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1159 := z.EncBinary() - _ = yym1159 + yym1219 := z.EncBinary() + _ = yym1219 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) @@ -13812,41 +14439,41 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1160 := z.EncBinary() - _ = yym1160 + yym1220 := z.EncBinary() + _ = yym1220 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) } } - if yyr1157 || yy2arr1157 { + if yyr1217 || yy2arr1217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1162 := &x.ServicePort - yym1163 := z.EncBinary() - _ = yym1163 + yy1222 := &x.ServicePort + yym1223 := z.EncBinary() + _ = yym1223 if false { - } else if z.HasExtensions() && z.EncExt(yy1162) { - } else if !yym1163 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1162) + } else if z.HasExtensions() && z.EncExt(yy1222) { + } else if !yym1223 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1222) } else { - z.EncFallback(yy1162) + z.EncFallback(yy1222) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("servicePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1164 := &x.ServicePort - yym1165 := z.EncBinary() - _ = yym1165 + yy1224 := &x.ServicePort + yym1225 := z.EncBinary() + _ = yym1225 if false { - } else if z.HasExtensions() && z.EncExt(yy1164) { - } else if !yym1165 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1164) + } else if z.HasExtensions() && z.EncExt(yy1224) { + } else if !yym1225 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1224) } else { - z.EncFallback(yy1164) + z.EncFallback(yy1224) } } - if yyr1157 || yy2arr1157 { + if yyr1217 || yy2arr1217 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13859,25 +14486,25 @@ func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1166 := z.DecBinary() - _ = yym1166 + yym1226 := z.DecBinary() + _ = yym1226 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1167 := r.ContainerType() - if yyct1167 == codecSelferValueTypeMap1234 { - yyl1167 := r.ReadMapStart() - if yyl1167 == 0 { + yyct1227 := r.ContainerType() + if yyct1227 == codecSelferValueTypeMap1234 { + yyl1227 := r.ReadMapStart() + if yyl1227 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1167, d) + x.codecDecodeSelfFromMap(yyl1227, d) } - } else if yyct1167 == codecSelferValueTypeArray1234 { - yyl1167 := r.ReadArrayStart() - if yyl1167 == 0 { + } else if yyct1227 == codecSelferValueTypeArray1234 { + yyl1227 := r.ReadArrayStart() + if yyl1227 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1167, d) + x.codecDecodeSelfFromArray(yyl1227, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13889,12 +14516,12 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1168Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1168Slc - var yyhl1168 bool = l >= 0 - for yyj1168 := 0; ; yyj1168++ { - if yyhl1168 { - if yyj1168 >= l { + var yys1228Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1228Slc + var yyhl1228 bool = l >= 0 + for yyj1228 := 0; ; yyj1228++ { + if yyhl1228 { + if yyj1228 >= l { break } } else { @@ -13903,10 +14530,10 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1168Slc = r.DecodeBytes(yys1168Slc, true, true) - yys1168 := string(yys1168Slc) + yys1228Slc = r.DecodeBytes(yys1228Slc, true, true) + yys1228 := string(yys1228Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1168 { + switch yys1228 { case "serviceName": if r.TryDecodeAsNil() { x.ServiceName = "" @@ -13917,21 +14544,21 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv1170 := &x.ServicePort - yym1171 := z.DecBinary() - _ = yym1171 + yyv1230 := &x.ServicePort + yym1231 := z.DecBinary() + _ = yym1231 if false { - } else if z.HasExtensions() && z.DecExt(yyv1170) { - } else if !yym1171 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1170) + } else if z.HasExtensions() && z.DecExt(yyv1230) { + } else if !yym1231 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1230) } else { - z.DecFallback(yyv1170, false) + z.DecFallback(yyv1230, false) } } default: - z.DecStructFieldNotFound(-1, yys1168) - } // end switch yys1168 - } // end for yyj1168 + z.DecStructFieldNotFound(-1, yys1228) + } // end switch yys1228 + } // end for yyj1228 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13939,16 +14566,16 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1172 int - var yyb1172 bool - var yyhl1172 bool = l >= 0 - yyj1172++ - if yyhl1172 { - yyb1172 = yyj1172 > l + var yyj1232 int + var yyb1232 bool + var yyhl1232 bool = l >= 0 + yyj1232++ + if yyhl1232 { + yyb1232 = yyj1232 > l } else { - yyb1172 = r.CheckBreak() + yyb1232 = r.CheckBreak() } - if yyb1172 { + if yyb1232 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13958,13 +14585,13 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceName = string(r.DecodeString()) } - yyj1172++ - if yyhl1172 { - yyb1172 = yyj1172 > l + yyj1232++ + if yyhl1232 { + yyb1232 = yyj1232 > l } else { - yyb1172 = r.CheckBreak() + yyb1232 = r.CheckBreak() } - if yyb1172 { + if yyb1232 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13972,29 +14599,29 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv1174 := &x.ServicePort - yym1175 := z.DecBinary() - _ = yym1175 + yyv1234 := &x.ServicePort + yym1235 := z.DecBinary() + _ = yym1235 if false { - } else if z.HasExtensions() && z.DecExt(yyv1174) { - } else if !yym1175 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1174) + } else if z.HasExtensions() && z.DecExt(yyv1234) { + } else if !yym1235 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1234) } else { - z.DecFallback(yyv1174, false) + z.DecFallback(yyv1234, false) } } for { - yyj1172++ - if yyhl1172 { - yyb1172 = yyj1172 > l + yyj1232++ + if yyhl1232 { + yyb1232 = yyj1232 > l } else { - yyb1172 = r.CheckBreak() + yyb1232 = r.CheckBreak() } - if yyb1172 { + if yyb1232 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1172-1, "") + z.DecStructFieldNotFound(yyj1232-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14006,36 +14633,36 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1176 := z.EncBinary() - _ = yym1176 + yym1236 := z.EncBinary() + _ = yym1236 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1177 := !z.EncBinary() - yy2arr1177 := z.EncBasicHandle().StructToArray - var yyq1177 [4]bool - _, _, _ = yysep1177, yyq1177, yy2arr1177 - const yyr1177 bool = false - yyq1177[0] = x.Kind != "" - yyq1177[1] = x.APIVersion != "" - var yynn1177 int - if yyr1177 || yy2arr1177 { + yysep1237 := !z.EncBinary() + yy2arr1237 := z.EncBasicHandle().StructToArray + var yyq1237 [4]bool + _, _, _ = yysep1237, yyq1237, yy2arr1237 + const yyr1237 bool = false + yyq1237[0] = x.Kind != "" + yyq1237[1] = x.APIVersion != "" + var yynn1237 int + if yyr1237 || yy2arr1237 { r.EncodeArrayStart(4) } else { - yynn1177 = 2 - for _, b := range yyq1177 { + yynn1237 = 2 + for _, b := range yyq1237 { if b { - yynn1177++ + yynn1237++ } } - r.EncodeMapStart(yynn1177) - yynn1177 = 0 + r.EncodeMapStart(yynn1237) + yynn1237 = 0 } - if yyr1177 || yy2arr1177 { + if yyr1237 || yy2arr1237 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1177[0] { - yym1179 := z.EncBinary() - _ = yym1179 + if yyq1237[0] { + yym1239 := z.EncBinary() + _ = yym1239 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -14044,23 +14671,23 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1177[0] { + if yyq1237[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1180 := z.EncBinary() - _ = yym1180 + yym1240 := z.EncBinary() + _ = yym1240 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1177 || yy2arr1177 { + if yyr1237 || yy2arr1237 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1177[1] { - yym1182 := z.EncBinary() - _ = yym1182 + if yyq1237[1] { + yym1242 := z.EncBinary() + _ = yym1242 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -14069,22 +14696,22 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1177[1] { + if yyq1237[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1183 := z.EncBinary() - _ = yym1183 + yym1243 := z.EncBinary() + _ = yym1243 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1177 || yy2arr1177 { + if yyr1237 || yy2arr1237 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1185 := z.EncBinary() - _ = yym1185 + yym1245 := z.EncBinary() + _ = yym1245 if false { } else { r.EncodeBool(bool(x.Export)) @@ -14093,17 +14720,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1186 := z.EncBinary() - _ = yym1186 + yym1246 := z.EncBinary() + _ = yym1246 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr1177 || yy2arr1177 { + if yyr1237 || yy2arr1237 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1188 := z.EncBinary() - _ = yym1188 + yym1248 := z.EncBinary() + _ = yym1248 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -14112,14 +14739,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1189 := z.EncBinary() - _ = yym1189 + yym1249 := z.EncBinary() + _ = yym1249 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr1177 || yy2arr1177 { + if yyr1237 || yy2arr1237 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14132,25 +14759,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1190 := z.DecBinary() - _ = yym1190 + yym1250 := z.DecBinary() + _ = yym1250 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1191 := r.ContainerType() - if yyct1191 == codecSelferValueTypeMap1234 { - yyl1191 := r.ReadMapStart() - if yyl1191 == 0 { + yyct1251 := r.ContainerType() + if yyct1251 == codecSelferValueTypeMap1234 { + yyl1251 := r.ReadMapStart() + if yyl1251 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1191, d) + x.codecDecodeSelfFromMap(yyl1251, d) } - } else if yyct1191 == codecSelferValueTypeArray1234 { - yyl1191 := r.ReadArrayStart() - if yyl1191 == 0 { + } else if yyct1251 == codecSelferValueTypeArray1234 { + yyl1251 := r.ReadArrayStart() + if yyl1251 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1191, d) + x.codecDecodeSelfFromArray(yyl1251, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14162,12 +14789,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1192Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1192Slc - var yyhl1192 bool = l >= 0 - for yyj1192 := 0; ; yyj1192++ { - if yyhl1192 { - if yyj1192 >= l { + var yys1252Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1252Slc + var yyhl1252 bool = l >= 0 + for yyj1252 := 0; ; yyj1252++ { + if yyhl1252 { + if yyj1252 >= l { break } } else { @@ -14176,10 +14803,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1192Slc = r.DecodeBytes(yys1192Slc, true, true) - yys1192 := string(yys1192Slc) + yys1252Slc = r.DecodeBytes(yys1252Slc, true, true) + yys1252 := string(yys1252Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1192 { + switch yys1252 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14205,9 +14832,9 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1192) - } // end switch yys1192 - } // end for yyj1192 + z.DecStructFieldNotFound(-1, yys1252) + } // end switch yys1252 + } // end for yyj1252 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14215,16 +14842,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1197 int - var yyb1197 bool - var yyhl1197 bool = l >= 0 - yyj1197++ - if yyhl1197 { - yyb1197 = yyj1197 > l + var yyj1257 int + var yyb1257 bool + var yyhl1257 bool = l >= 0 + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1197 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1197 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14234,13 +14861,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1197++ - if yyhl1197 { - yyb1197 = yyj1197 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1197 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1197 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14250,13 +14877,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1197++ - if yyhl1197 { - yyb1197 = yyj1197 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1197 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1197 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14266,13 +14893,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Export = bool(r.DecodeBool()) } - yyj1197++ - if yyhl1197 { - yyb1197 = yyj1197 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1197 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1197 { + if yyb1257 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14283,17 +14910,17 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } for { - yyj1197++ - if yyhl1197 { - yyb1197 = yyj1197 > l + yyj1257++ + if yyhl1257 { + yyb1257 = yyj1257 > l } else { - yyb1197 = r.CheckBreak() + yyb1257 = r.CheckBreak() } - if yyb1197 { + if yyb1257 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1197-1, "") + z.DecStructFieldNotFound(yyj1257-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14305,39 +14932,39 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1202 := z.EncBinary() - _ = yym1202 + yym1262 := z.EncBinary() + _ = yym1262 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1203 := !z.EncBinary() - yy2arr1203 := z.EncBasicHandle().StructToArray - var yyq1203 [5]bool - _, _, _ = yysep1203, yyq1203, yy2arr1203 - const yyr1203 bool = false - yyq1203[0] = x.Kind != "" - yyq1203[1] = x.APIVersion != "" - yyq1203[2] = true - yyq1203[3] = true - yyq1203[4] = true - var yynn1203 int - if yyr1203 || yy2arr1203 { + yysep1263 := !z.EncBinary() + yy2arr1263 := z.EncBasicHandle().StructToArray + var yyq1263 [5]bool + _, _, _ = yysep1263, yyq1263, yy2arr1263 + const yyr1263 bool = false + yyq1263[0] = x.Kind != "" + yyq1263[1] = x.APIVersion != "" + yyq1263[2] = true + yyq1263[3] = true + yyq1263[4] = true + var yynn1263 int + if yyr1263 || yy2arr1263 { r.EncodeArrayStart(5) } else { - yynn1203 = 0 - for _, b := range yyq1203 { + yynn1263 = 0 + for _, b := range yyq1263 { if b { - yynn1203++ + yynn1263++ } } - r.EncodeMapStart(yynn1203) - yynn1203 = 0 + r.EncodeMapStart(yynn1263) + yynn1263 = 0 } - if yyr1203 || yy2arr1203 { + if yyr1263 || yy2arr1263 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1203[0] { - yym1205 := z.EncBinary() - _ = yym1205 + if yyq1263[0] { + yym1265 := z.EncBinary() + _ = yym1265 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -14346,23 +14973,23 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1203[0] { + if yyq1263[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1206 := z.EncBinary() - _ = yym1206 + yym1266 := z.EncBinary() + _ = yym1266 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1203 || yy2arr1203 { + if yyr1263 || yy2arr1263 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1203[1] { - yym1208 := z.EncBinary() - _ = yym1208 + if yyq1263[1] { + yym1268 := z.EncBinary() + _ = yym1268 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -14371,70 +14998,70 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1203[1] { + if yyq1263[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1209 := z.EncBinary() - _ = yym1209 + yym1269 := z.EncBinary() + _ = yym1269 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1203 || yy2arr1203 { + if yyr1263 || yy2arr1263 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1203[2] { - yy1211 := &x.ObjectMeta - yy1211.CodecEncodeSelf(e) + if yyq1263[2] { + yy1271 := &x.ObjectMeta + yy1271.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1203[2] { + if yyq1263[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1212 := &x.ObjectMeta - yy1212.CodecEncodeSelf(e) + yy1272 := &x.ObjectMeta + yy1272.CodecEncodeSelf(e) } } - if yyr1203 || yy2arr1203 { + if yyr1263 || yy2arr1263 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1203[3] { - yy1214 := &x.Spec - yy1214.CodecEncodeSelf(e) + if yyq1263[3] { + yy1274 := &x.Spec + yy1274.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1203[3] { + if yyq1263[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1215 := &x.Spec - yy1215.CodecEncodeSelf(e) + yy1275 := &x.Spec + yy1275.CodecEncodeSelf(e) } } - if yyr1203 || yy2arr1203 { + if yyr1263 || yy2arr1263 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1203[4] { - yy1217 := &x.Status - yy1217.CodecEncodeSelf(e) + if yyq1263[4] { + yy1277 := &x.Status + yy1277.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1203[4] { + if yyq1263[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1218 := &x.Status - yy1218.CodecEncodeSelf(e) + yy1278 := &x.Status + yy1278.CodecEncodeSelf(e) } } - if yyr1203 || yy2arr1203 { + if yyr1263 || yy2arr1263 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14447,25 +15074,25 @@ func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1219 := z.DecBinary() - _ = yym1219 + yym1279 := z.DecBinary() + _ = yym1279 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1220 := r.ContainerType() - if yyct1220 == codecSelferValueTypeMap1234 { - yyl1220 := r.ReadMapStart() - if yyl1220 == 0 { + yyct1280 := r.ContainerType() + if yyct1280 == codecSelferValueTypeMap1234 { + yyl1280 := r.ReadMapStart() + if yyl1280 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1220, d) + x.codecDecodeSelfFromMap(yyl1280, d) } - } else if yyct1220 == codecSelferValueTypeArray1234 { - yyl1220 := r.ReadArrayStart() - if yyl1220 == 0 { + } else if yyct1280 == codecSelferValueTypeArray1234 { + yyl1280 := r.ReadArrayStart() + if yyl1280 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1220, d) + x.codecDecodeSelfFromArray(yyl1280, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14477,12 +15104,12 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1221Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1221Slc - var yyhl1221 bool = l >= 0 - for yyj1221 := 0; ; yyj1221++ { - if yyhl1221 { - if yyj1221 >= l { + var yys1281Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1281Slc + var yyhl1281 bool = l >= 0 + for yyj1281 := 0; ; yyj1281++ { + if yyhl1281 { + if yyj1281 >= l { break } } else { @@ -14491,10 +15118,10 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1221Slc = r.DecodeBytes(yys1221Slc, true, true) - yys1221 := string(yys1221Slc) + yys1281Slc = r.DecodeBytes(yys1281Slc, true, true) + yys1281 := string(yys1281Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1221 { + switch yys1281 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14511,27 +15138,27 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1224 := &x.ObjectMeta - yyv1224.CodecDecodeSelf(d) + yyv1284 := &x.ObjectMeta + yyv1284.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicaSetSpec{} } else { - yyv1225 := &x.Spec - yyv1225.CodecDecodeSelf(d) + yyv1285 := &x.Spec + yyv1285.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicaSetStatus{} } else { - yyv1226 := &x.Status - yyv1226.CodecDecodeSelf(d) + yyv1286 := &x.Status + yyv1286.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1221) - } // end switch yys1221 - } // end for yyj1221 + z.DecStructFieldNotFound(-1, yys1281) + } // end switch yys1281 + } // end for yyj1281 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14539,16 +15166,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1227 int - var yyb1227 bool - var yyhl1227 bool = l >= 0 - yyj1227++ - if yyhl1227 { - yyb1227 = yyj1227 > l + var yyj1287 int + var yyb1287 bool + var yyhl1287 bool = l >= 0 + yyj1287++ + if yyhl1287 { + yyb1287 = yyj1287 > l } else { - yyb1227 = r.CheckBreak() + yyb1287 = r.CheckBreak() } - if yyb1227 { + if yyb1287 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14558,13 +15185,13 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1227++ - if yyhl1227 { - yyb1227 = yyj1227 > l + yyj1287++ + if yyhl1287 { + yyb1287 = yyj1287 > l } else { - yyb1227 = r.CheckBreak() + yyb1287 = r.CheckBreak() } - if yyb1227 { + if yyb1287 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14574,13 +15201,13 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1227++ - if yyhl1227 { - yyb1227 = yyj1227 > l + yyj1287++ + if yyhl1287 { + yyb1287 = yyj1287 > l } else { - yyb1227 = r.CheckBreak() + yyb1287 = r.CheckBreak() } - if yyb1227 { + if yyb1287 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14588,16 +15215,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1230 := &x.ObjectMeta - yyv1230.CodecDecodeSelf(d) + yyv1290 := &x.ObjectMeta + yyv1290.CodecDecodeSelf(d) } - yyj1227++ - if yyhl1227 { - yyb1227 = yyj1227 > l + yyj1287++ + if yyhl1287 { + yyb1287 = yyj1287 > l } else { - yyb1227 = r.CheckBreak() + yyb1287 = r.CheckBreak() } - if yyb1227 { + if yyb1287 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14605,16 +15232,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ReplicaSetSpec{} } else { - yyv1231 := &x.Spec - yyv1231.CodecDecodeSelf(d) + yyv1291 := &x.Spec + yyv1291.CodecDecodeSelf(d) } - yyj1227++ - if yyhl1227 { - yyb1227 = yyj1227 > l + yyj1287++ + if yyhl1287 { + yyb1287 = yyj1287 > l } else { - yyb1227 = r.CheckBreak() + yyb1287 = r.CheckBreak() } - if yyb1227 { + if yyb1287 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14622,21 +15249,21 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ReplicaSetStatus{} } else { - yyv1232 := &x.Status - yyv1232.CodecDecodeSelf(d) + yyv1292 := &x.Status + yyv1292.CodecDecodeSelf(d) } for { - yyj1227++ - if yyhl1227 { - yyb1227 = yyj1227 > l + yyj1287++ + if yyhl1287 { + yyb1287 = yyj1287 > l } else { - yyb1227 = r.CheckBreak() + yyb1287 = r.CheckBreak() } - if yyb1227 { + if yyb1287 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1227-1, "") + z.DecStructFieldNotFound(yyj1287-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14648,37 +15275,37 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1233 := z.EncBinary() - _ = yym1233 + yym1293 := z.EncBinary() + _ = yym1293 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1234 := !z.EncBinary() - yy2arr1234 := z.EncBasicHandle().StructToArray - var yyq1234 [4]bool - _, _, _ = yysep1234, yyq1234, yy2arr1234 - const yyr1234 bool = false - yyq1234[0] = x.Kind != "" - yyq1234[1] = x.APIVersion != "" - yyq1234[2] = true - var yynn1234 int - if yyr1234 || yy2arr1234 { + yysep1294 := !z.EncBinary() + yy2arr1294 := z.EncBasicHandle().StructToArray + var yyq1294 [4]bool + _, _, _ = yysep1294, yyq1294, yy2arr1294 + const yyr1294 bool = false + yyq1294[0] = x.Kind != "" + yyq1294[1] = x.APIVersion != "" + yyq1294[2] = true + var yynn1294 int + if yyr1294 || yy2arr1294 { r.EncodeArrayStart(4) } else { - yynn1234 = 1 - for _, b := range yyq1234 { + yynn1294 = 1 + for _, b := range yyq1294 { if b { - yynn1234++ + yynn1294++ } } - r.EncodeMapStart(yynn1234) - yynn1234 = 0 + r.EncodeMapStart(yynn1294) + yynn1294 = 0 } - if yyr1234 || yy2arr1234 { + if yyr1294 || yy2arr1294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1234[0] { - yym1236 := z.EncBinary() - _ = yym1236 + if yyq1294[0] { + yym1296 := z.EncBinary() + _ = yym1296 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -14687,23 +15314,23 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1234[0] { + if yyq1294[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1237 := z.EncBinary() - _ = yym1237 + yym1297 := z.EncBinary() + _ = yym1297 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1234 || yy2arr1234 { + if yyr1294 || yy2arr1294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1234[1] { - yym1239 := z.EncBinary() - _ = yym1239 + if yyq1294[1] { + yym1299 := z.EncBinary() + _ = yym1299 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -14712,54 +15339,54 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1234[1] { + if yyq1294[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1240 := z.EncBinary() - _ = yym1240 + yym1300 := z.EncBinary() + _ = yym1300 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1234 || yy2arr1234 { + if yyr1294 || yy2arr1294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1234[2] { - yy1242 := &x.ListMeta - yym1243 := z.EncBinary() - _ = yym1243 + if yyq1294[2] { + yy1302 := &x.ListMeta + yym1303 := z.EncBinary() + _ = yym1303 if false { - } else if z.HasExtensions() && z.EncExt(yy1242) { + } else if z.HasExtensions() && z.EncExt(yy1302) { } else { - z.EncFallback(yy1242) + z.EncFallback(yy1302) } } else { r.EncodeNil() } } else { - if yyq1234[2] { + if yyq1294[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1244 := &x.ListMeta - yym1245 := z.EncBinary() - _ = yym1245 + yy1304 := &x.ListMeta + yym1305 := z.EncBinary() + _ = yym1305 if false { - } else if z.HasExtensions() && z.EncExt(yy1244) { + } else if z.HasExtensions() && z.EncExt(yy1304) { } else { - z.EncFallback(yy1244) + z.EncFallback(yy1304) } } } - if yyr1234 || yy2arr1234 { + if yyr1294 || yy2arr1294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1247 := z.EncBinary() - _ = yym1247 + yym1307 := z.EncBinary() + _ = yym1307 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) @@ -14772,15 +15399,15 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1248 := z.EncBinary() - _ = yym1248 + yym1308 := z.EncBinary() + _ = yym1308 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) } } } - if yyr1234 || yy2arr1234 { + if yyr1294 || yy2arr1294 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14793,25 +15420,25 @@ func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1249 := z.DecBinary() - _ = yym1249 + yym1309 := z.DecBinary() + _ = yym1309 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1250 := r.ContainerType() - if yyct1250 == codecSelferValueTypeMap1234 { - yyl1250 := r.ReadMapStart() - if yyl1250 == 0 { + yyct1310 := r.ContainerType() + if yyct1310 == codecSelferValueTypeMap1234 { + yyl1310 := r.ReadMapStart() + if yyl1310 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1250, d) + x.codecDecodeSelfFromMap(yyl1310, d) } - } else if yyct1250 == codecSelferValueTypeArray1234 { - yyl1250 := r.ReadArrayStart() - if yyl1250 == 0 { + } else if yyct1310 == codecSelferValueTypeArray1234 { + yyl1310 := r.ReadArrayStart() + if yyl1310 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1250, d) + x.codecDecodeSelfFromArray(yyl1310, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14823,12 +15450,12 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1251Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1251Slc - var yyhl1251 bool = l >= 0 - for yyj1251 := 0; ; yyj1251++ { - if yyhl1251 { - if yyj1251 >= l { + var yys1311Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1311Slc + var yyhl1311 bool = l >= 0 + for yyj1311 := 0; ; yyj1311++ { + if yyhl1311 { + if yyj1311 >= l { break } } else { @@ -14837,10 +15464,10 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1251Slc = r.DecodeBytes(yys1251Slc, true, true) - yys1251 := string(yys1251Slc) + yys1311Slc = r.DecodeBytes(yys1311Slc, true, true) + yys1311 := string(yys1311Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1251 { + switch yys1311 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14857,31 +15484,31 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1254 := &x.ListMeta - yym1255 := z.DecBinary() - _ = yym1255 + yyv1314 := &x.ListMeta + yym1315 := z.DecBinary() + _ = yym1315 if false { - } else if z.HasExtensions() && z.DecExt(yyv1254) { + } else if z.HasExtensions() && z.DecExt(yyv1314) { } else { - z.DecFallback(yyv1254, false) + z.DecFallback(yyv1314, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1256 := &x.Items - yym1257 := z.DecBinary() - _ = yym1257 + yyv1316 := &x.Items + yym1317 := z.DecBinary() + _ = yym1317 if false { } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1256), d) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1316), d) } } default: - z.DecStructFieldNotFound(-1, yys1251) - } // end switch yys1251 - } // end for yyj1251 + z.DecStructFieldNotFound(-1, yys1311) + } // end switch yys1311 + } // end for yyj1311 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14889,16 +15516,16 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1258 int - var yyb1258 bool - var yyhl1258 bool = l >= 0 - yyj1258++ - if yyhl1258 { - yyb1258 = yyj1258 > l + var yyj1318 int + var yyb1318 bool + var yyhl1318 bool = l >= 0 + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1258 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1258 { + if yyb1318 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14908,13 +15535,13 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1258++ - if yyhl1258 { - yyb1258 = yyj1258 > l + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1258 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1258 { + if yyb1318 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14924,13 +15551,13 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1258++ - if yyhl1258 { - yyb1258 = yyj1258 > l + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1258 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1258 { + if yyb1318 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14938,22 +15565,22 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1261 := &x.ListMeta - yym1262 := z.DecBinary() - _ = yym1262 + yyv1321 := &x.ListMeta + yym1322 := z.DecBinary() + _ = yym1322 if false { - } else if z.HasExtensions() && z.DecExt(yyv1261) { + } else if z.HasExtensions() && z.DecExt(yyv1321) { } else { - z.DecFallback(yyv1261, false) + z.DecFallback(yyv1321, false) } } - yyj1258++ - if yyhl1258 { - yyb1258 = yyj1258 > l + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1258 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1258 { + if yyb1318 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14961,26 +15588,26 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1263 := &x.Items - yym1264 := z.DecBinary() - _ = yym1264 + yyv1323 := &x.Items + yym1324 := z.DecBinary() + _ = yym1324 if false { } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1263), d) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1323), d) } } for { - yyj1258++ - if yyhl1258 { - yyb1258 = yyj1258 > l + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1258 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1258 { + if yyb1318 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1258-1, "") + z.DecStructFieldNotFound(yyj1318-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14992,73 +15619,73 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1265 := z.EncBinary() - _ = yym1265 + yym1325 := z.EncBinary() + _ = yym1325 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1266 := !z.EncBinary() - yy2arr1266 := z.EncBasicHandle().StructToArray - var yyq1266 [4]bool - _, _, _ = yysep1266, yyq1266, yy2arr1266 - const yyr1266 bool = false - yyq1266[0] = x.Replicas != nil - yyq1266[1] = x.MinReadySeconds != 0 - yyq1266[2] = x.Selector != nil - yyq1266[3] = true - var yynn1266 int - if yyr1266 || yy2arr1266 { + yysep1326 := !z.EncBinary() + yy2arr1326 := z.EncBasicHandle().StructToArray + var yyq1326 [4]bool + _, _, _ = yysep1326, yyq1326, yy2arr1326 + const yyr1326 bool = false + yyq1326[0] = x.Replicas != nil + yyq1326[1] = x.MinReadySeconds != 0 + yyq1326[2] = x.Selector != nil + yyq1326[3] = true + var yynn1326 int + if yyr1326 || yy2arr1326 { r.EncodeArrayStart(4) } else { - yynn1266 = 0 - for _, b := range yyq1266 { + yynn1326 = 0 + for _, b := range yyq1326 { if b { - yynn1266++ + yynn1326++ } } - r.EncodeMapStart(yynn1266) - yynn1266 = 0 + r.EncodeMapStart(yynn1326) + yynn1326 = 0 } - if yyr1266 || yy2arr1266 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1266[0] { + if yyq1326[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy1268 := *x.Replicas - yym1269 := z.EncBinary() - _ = yym1269 + yy1328 := *x.Replicas + yym1329 := z.EncBinary() + _ = yym1329 if false { } else { - r.EncodeInt(int64(yy1268)) + r.EncodeInt(int64(yy1328)) } } } else { r.EncodeNil() } } else { - if yyq1266[0] { + if yyq1326[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy1270 := *x.Replicas - yym1271 := z.EncBinary() - _ = yym1271 + yy1330 := *x.Replicas + yym1331 := z.EncBinary() + _ = yym1331 if false { } else { - r.EncodeInt(int64(yy1270)) + r.EncodeInt(int64(yy1330)) } } } } - if yyr1266 || yy2arr1266 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1266[1] { - yym1273 := z.EncBinary() - _ = yym1273 + if yyq1326[1] { + yym1333 := z.EncBinary() + _ = yym1333 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -15067,26 +15694,26 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1266[1] { + if yyq1326[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1274 := z.EncBinary() - _ = yym1274 + yym1334 := z.EncBinary() + _ = yym1334 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) } } } - if yyr1266 || yy2arr1266 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1266[2] { + if yyq1326[2] { if x.Selector == nil { r.EncodeNil() } else { - yym1276 := z.EncBinary() - _ = yym1276 + yym1336 := z.EncBinary() + _ = yym1336 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -15097,15 +15724,15 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1266[2] { + if yyq1326[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym1277 := z.EncBinary() - _ = yym1277 + yym1337 := z.EncBinary() + _ = yym1337 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -15114,24 +15741,24 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1266 || yy2arr1266 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1266[3] { - yy1279 := &x.Template - yy1279.CodecEncodeSelf(e) + if yyq1326[3] { + yy1339 := &x.Template + yy1339.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1266[3] { + if yyq1326[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1280 := &x.Template - yy1280.CodecEncodeSelf(e) + yy1340 := &x.Template + yy1340.CodecEncodeSelf(e) } } - if yyr1266 || yy2arr1266 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15144,25 +15771,25 @@ func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1281 := z.DecBinary() - _ = yym1281 + yym1341 := z.DecBinary() + _ = yym1341 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1282 := r.ContainerType() - if yyct1282 == codecSelferValueTypeMap1234 { - yyl1282 := r.ReadMapStart() - if yyl1282 == 0 { + yyct1342 := r.ContainerType() + if yyct1342 == codecSelferValueTypeMap1234 { + yyl1342 := r.ReadMapStart() + if yyl1342 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1282, d) + x.codecDecodeSelfFromMap(yyl1342, d) } - } else if yyct1282 == codecSelferValueTypeArray1234 { - yyl1282 := r.ReadArrayStart() - if yyl1282 == 0 { + } else if yyct1342 == codecSelferValueTypeArray1234 { + yyl1342 := r.ReadArrayStart() + if yyl1342 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1282, d) + x.codecDecodeSelfFromArray(yyl1342, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15174,12 +15801,12 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1283Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1283Slc - var yyhl1283 bool = l >= 0 - for yyj1283 := 0; ; yyj1283++ { - if yyhl1283 { - if yyj1283 >= l { + var yys1343Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1343Slc + var yyhl1343 bool = l >= 0 + for yyj1343 := 0; ; yyj1343++ { + if yyhl1343 { + if yyj1343 >= l { break } } else { @@ -15188,10 +15815,10 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1283Slc = r.DecodeBytes(yys1283Slc, true, true) - yys1283 := string(yys1283Slc) + yys1343Slc = r.DecodeBytes(yys1343Slc, true, true) + yys1343 := string(yys1343Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1283 { + switch yys1343 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -15201,8 +15828,8 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym1285 := z.DecBinary() - _ = yym1285 + yym1345 := z.DecBinary() + _ = yym1345 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -15223,8 +15850,8 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym1288 := z.DecBinary() - _ = yym1288 + yym1348 := z.DecBinary() + _ = yym1348 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -15235,13 +15862,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv1289 := &x.Template - yyv1289.CodecDecodeSelf(d) + yyv1349 := &x.Template + yyv1349.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1283) - } // end switch yys1283 - } // end for yyj1283 + z.DecStructFieldNotFound(-1, yys1343) + } // end switch yys1343 + } // end for yyj1343 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15249,16 +15876,16 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1290 int - var yyb1290 bool - var yyhl1290 bool = l >= 0 - yyj1290++ - if yyhl1290 { - yyb1290 = yyj1290 > l + var yyj1350 int + var yyb1350 bool + var yyhl1350 bool = l >= 0 + yyj1350++ + if yyhl1350 { + yyb1350 = yyj1350 > l } else { - yyb1290 = r.CheckBreak() + yyb1350 = r.CheckBreak() } - if yyb1290 { + if yyb1350 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15271,20 +15898,20 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym1292 := z.DecBinary() - _ = yym1292 + yym1352 := z.DecBinary() + _ = yym1352 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj1290++ - if yyhl1290 { - yyb1290 = yyj1290 > l + yyj1350++ + if yyhl1350 { + yyb1350 = yyj1350 > l } else { - yyb1290 = r.CheckBreak() + yyb1350 = r.CheckBreak() } - if yyb1290 { + if yyb1350 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15294,13 +15921,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MinReadySeconds = int32(r.DecodeInt(32)) } - yyj1290++ - if yyhl1290 { - yyb1290 = yyj1290 > l + yyj1350++ + if yyhl1350 { + yyb1350 = yyj1350 > l } else { - yyb1290 = r.CheckBreak() + yyb1350 = r.CheckBreak() } - if yyb1290 { + if yyb1350 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15313,21 +15940,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym1295 := z.DecBinary() - _ = yym1295 + yym1355 := z.DecBinary() + _ = yym1355 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj1290++ - if yyhl1290 { - yyb1290 = yyj1290 > l + yyj1350++ + if yyhl1350 { + yyb1350 = yyj1350 > l } else { - yyb1290 = r.CheckBreak() + yyb1350 = r.CheckBreak() } - if yyb1290 { + if yyb1350 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15335,21 +15962,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv1296 := &x.Template - yyv1296.CodecDecodeSelf(d) + yyv1356 := &x.Template + yyv1356.CodecDecodeSelf(d) } for { - yyj1290++ - if yyhl1290 { - yyb1290 = yyj1290 > l + yyj1350++ + if yyhl1350 { + yyb1350 = yyj1350 > l } else { - yyb1290 = r.CheckBreak() + yyb1350 = r.CheckBreak() } - if yyb1290 { + if yyb1350 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1290-1, "") + z.DecStructFieldNotFound(yyj1350-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15361,38 +15988,38 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1297 := z.EncBinary() - _ = yym1297 + yym1357 := z.EncBinary() + _ = yym1357 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1298 := !z.EncBinary() - yy2arr1298 := z.EncBasicHandle().StructToArray - var yyq1298 [6]bool - _, _, _ = yysep1298, yyq1298, yy2arr1298 - const yyr1298 bool = false - yyq1298[1] = x.FullyLabeledReplicas != 0 - yyq1298[2] = x.ReadyReplicas != 0 - yyq1298[3] = x.AvailableReplicas != 0 - yyq1298[4] = x.ObservedGeneration != 0 - yyq1298[5] = len(x.Conditions) != 0 - var yynn1298 int - if yyr1298 || yy2arr1298 { + yysep1358 := !z.EncBinary() + yy2arr1358 := z.EncBasicHandle().StructToArray + var yyq1358 [6]bool + _, _, _ = yysep1358, yyq1358, yy2arr1358 + const yyr1358 bool = false + yyq1358[1] = x.FullyLabeledReplicas != 0 + yyq1358[2] = x.ReadyReplicas != 0 + yyq1358[3] = x.AvailableReplicas != 0 + yyq1358[4] = x.ObservedGeneration != 0 + yyq1358[5] = len(x.Conditions) != 0 + var yynn1358 int + if yyr1358 || yy2arr1358 { r.EncodeArrayStart(6) } else { - yynn1298 = 1 - for _, b := range yyq1298 { + yynn1358 = 1 + for _, b := range yyq1358 { if b { - yynn1298++ + yynn1358++ } } - r.EncodeMapStart(yynn1298) - yynn1298 = 0 + r.EncodeMapStart(yynn1358) + yynn1358 = 0 } - if yyr1298 || yy2arr1298 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1300 := z.EncBinary() - _ = yym1300 + yym1360 := z.EncBinary() + _ = yym1360 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -15401,18 +16028,18 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1301 := z.EncBinary() - _ = yym1301 + yym1361 := z.EncBinary() + _ = yym1361 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr1298 || yy2arr1298 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1298[1] { - yym1303 := z.EncBinary() - _ = yym1303 + if yyq1358[1] { + yym1363 := z.EncBinary() + _ = yym1363 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -15421,23 +16048,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1298[1] { + if yyq1358[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1304 := z.EncBinary() - _ = yym1304 + yym1364 := z.EncBinary() + _ = yym1364 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr1298 || yy2arr1298 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1298[2] { - yym1306 := z.EncBinary() - _ = yym1306 + if yyq1358[2] { + yym1366 := z.EncBinary() + _ = yym1366 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) @@ -15446,23 +16073,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1298[2] { + if yyq1358[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readyReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1307 := z.EncBinary() - _ = yym1307 + yym1367 := z.EncBinary() + _ = yym1367 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) } } } - if yyr1298 || yy2arr1298 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1298[3] { - yym1309 := z.EncBinary() - _ = yym1309 + if yyq1358[3] { + yym1369 := z.EncBinary() + _ = yym1369 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) @@ -15471,23 +16098,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1298[3] { + if yyq1358[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1310 := z.EncBinary() - _ = yym1310 + yym1370 := z.EncBinary() + _ = yym1370 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr1298 || yy2arr1298 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1298[4] { - yym1312 := z.EncBinary() - _ = yym1312 + if yyq1358[4] { + yym1372 := z.EncBinary() + _ = yym1372 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -15496,26 +16123,26 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1298[4] { + if yyq1358[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1313 := z.EncBinary() - _ = yym1313 + yym1373 := z.EncBinary() + _ = yym1373 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr1298 || yy2arr1298 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1298[5] { + if yyq1358[5] { if x.Conditions == nil { r.EncodeNil() } else { - yym1315 := z.EncBinary() - _ = yym1315 + yym1375 := z.EncBinary() + _ = yym1375 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -15525,15 +16152,15 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1298[5] { + if yyq1358[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym1316 := z.EncBinary() - _ = yym1316 + yym1376 := z.EncBinary() + _ = yym1376 if false { } else { h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) @@ -15541,7 +16168,7 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1298 || yy2arr1298 { + if yyr1358 || yy2arr1358 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15554,25 +16181,25 @@ func (x *ReplicaSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1317 := z.DecBinary() - _ = yym1317 + yym1377 := z.DecBinary() + _ = yym1377 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1318 := r.ContainerType() - if yyct1318 == codecSelferValueTypeMap1234 { - yyl1318 := r.ReadMapStart() - if yyl1318 == 0 { + yyct1378 := r.ContainerType() + if yyct1378 == codecSelferValueTypeMap1234 { + yyl1378 := r.ReadMapStart() + if yyl1378 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1318, d) + x.codecDecodeSelfFromMap(yyl1378, d) } - } else if yyct1318 == codecSelferValueTypeArray1234 { - yyl1318 := r.ReadArrayStart() - if yyl1318 == 0 { + } else if yyct1378 == codecSelferValueTypeArray1234 { + yyl1378 := r.ReadArrayStart() + if yyl1378 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1318, d) + x.codecDecodeSelfFromArray(yyl1378, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15584,12 +16211,12 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1319Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1319Slc - var yyhl1319 bool = l >= 0 - for yyj1319 := 0; ; yyj1319++ { - if yyhl1319 { - if yyj1319 >= l { + var yys1379Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1379Slc + var yyhl1379 bool = l >= 0 + for yyj1379 := 0; ; yyj1379++ { + if yyhl1379 { + if yyj1379 >= l { break } } else { @@ -15598,10 +16225,10 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1319Slc = r.DecodeBytes(yys1319Slc, true, true) - yys1319 := string(yys1319Slc) + yys1379Slc = r.DecodeBytes(yys1379Slc, true, true) + yys1379 := string(yys1379Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1319 { + switch yys1379 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -15636,18 +16263,18 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1325 := &x.Conditions - yym1326 := z.DecBinary() - _ = yym1326 + yyv1385 := &x.Conditions + yym1386 := z.DecBinary() + _ = yym1386 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1325), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1385), d) } } default: - z.DecStructFieldNotFound(-1, yys1319) - } // end switch yys1319 - } // end for yyj1319 + z.DecStructFieldNotFound(-1, yys1379) + } // end switch yys1379 + } // end for yyj1379 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15655,16 +16282,16 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1327 int - var yyb1327 bool - var yyhl1327 bool = l >= 0 - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + var yyj1387 int + var yyb1387 bool + var yyhl1387 bool = l >= 0 + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1327 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1327 { + if yyb1387 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15674,13 +16301,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1327 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1327 { + if yyb1387 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15690,13 +16317,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1327 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1327 { + if yyb1387 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15706,13 +16333,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1327 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1327 { + if yyb1387 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15722,13 +16349,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1327 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1327 { + if yyb1387 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15738,13 +16365,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1327 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1327 { + if yyb1387 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15752,26 +16379,26 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv1333 := &x.Conditions - yym1334 := z.DecBinary() - _ = yym1334 + yyv1393 := &x.Conditions + yym1394 := z.DecBinary() + _ = yym1394 if false { } else { - h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1333), d) + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1393), d) } } for { - yyj1327++ - if yyhl1327 { - yyb1327 = yyj1327 > l + yyj1387++ + if yyhl1387 { + yyb1387 = yyj1387 > l } else { - yyb1327 = r.CheckBreak() + yyb1387 = r.CheckBreak() } - if yyb1327 { + if yyb1387 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1327-1, "") + z.DecStructFieldNotFound(yyj1387-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15780,8 +16407,8 @@ func (x ReplicaSetConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1335 := z.EncBinary() - _ = yym1335 + yym1395 := z.EncBinary() + _ = yym1395 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -15793,8 +16420,8 @@ func (x *ReplicaSetConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1336 := z.DecBinary() - _ = yym1336 + yym1396 := z.DecBinary() + _ = yym1396 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -15809,33 +16436,33 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1337 := z.EncBinary() - _ = yym1337 + yym1397 := z.EncBinary() + _ = yym1397 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1338 := !z.EncBinary() - yy2arr1338 := z.EncBasicHandle().StructToArray - var yyq1338 [5]bool - _, _, _ = yysep1338, yyq1338, yy2arr1338 - const yyr1338 bool = false - yyq1338[2] = true - yyq1338[3] = x.Reason != "" - yyq1338[4] = x.Message != "" - var yynn1338 int - if yyr1338 || yy2arr1338 { + yysep1398 := !z.EncBinary() + yy2arr1398 := z.EncBasicHandle().StructToArray + var yyq1398 [5]bool + _, _, _ = yysep1398, yyq1398, yy2arr1398 + const yyr1398 bool = false + yyq1398[2] = true + yyq1398[3] = x.Reason != "" + yyq1398[4] = x.Message != "" + var yynn1398 int + if yyr1398 || yy2arr1398 { r.EncodeArrayStart(5) } else { - yynn1338 = 2 - for _, b := range yyq1338 { + yynn1398 = 2 + for _, b := range yyq1398 { if b { - yynn1338++ + yynn1398++ } } - r.EncodeMapStart(yynn1338) - yynn1338 = 0 + r.EncodeMapStart(yynn1398) + yynn1398 = 0 } - if yyr1338 || yy2arr1338 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -15844,10 +16471,10 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr1338 || yy2arr1338 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1341 := z.EncBinary() - _ = yym1341 + yym1401 := z.EncBinary() + _ = yym1401 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -15857,56 +16484,56 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1342 := z.EncBinary() - _ = yym1342 + yym1402 := z.EncBinary() + _ = yym1402 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr1338 || yy2arr1338 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1338[2] { - yy1344 := &x.LastTransitionTime - yym1345 := z.EncBinary() - _ = yym1345 + if yyq1398[2] { + yy1404 := &x.LastTransitionTime + yym1405 := z.EncBinary() + _ = yym1405 if false { - } else if z.HasExtensions() && z.EncExt(yy1344) { - } else if yym1345 { - z.EncBinaryMarshal(yy1344) - } else if !yym1345 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1344) + } else if z.HasExtensions() && z.EncExt(yy1404) { + } else if yym1405 { + z.EncBinaryMarshal(yy1404) + } else if !yym1405 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1404) } else { - z.EncFallback(yy1344) + z.EncFallback(yy1404) } } else { r.EncodeNil() } } else { - if yyq1338[2] { + if yyq1398[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1346 := &x.LastTransitionTime - yym1347 := z.EncBinary() - _ = yym1347 + yy1406 := &x.LastTransitionTime + yym1407 := z.EncBinary() + _ = yym1407 if false { - } else if z.HasExtensions() && z.EncExt(yy1346) { - } else if yym1347 { - z.EncBinaryMarshal(yy1346) - } else if !yym1347 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1346) + } else if z.HasExtensions() && z.EncExt(yy1406) { + } else if yym1407 { + z.EncBinaryMarshal(yy1406) + } else if !yym1407 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1406) } else { - z.EncFallback(yy1346) + z.EncFallback(yy1406) } } } - if yyr1338 || yy2arr1338 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1338[3] { - yym1349 := z.EncBinary() - _ = yym1349 + if yyq1398[3] { + yym1409 := z.EncBinary() + _ = yym1409 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -15915,23 +16542,23 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1338[3] { + if yyq1398[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1350 := z.EncBinary() - _ = yym1350 + yym1410 := z.EncBinary() + _ = yym1410 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1338 || yy2arr1338 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1338[4] { - yym1352 := z.EncBinary() - _ = yym1352 + if yyq1398[4] { + yym1412 := z.EncBinary() + _ = yym1412 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -15940,19 +16567,19 @@ func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1338[4] { + if yyq1398[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1353 := z.EncBinary() - _ = yym1353 + yym1413 := z.EncBinary() + _ = yym1413 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1338 || yy2arr1338 { + if yyr1398 || yy2arr1398 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15965,25 +16592,25 @@ func (x *ReplicaSetCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1354 := z.DecBinary() - _ = yym1354 + yym1414 := z.DecBinary() + _ = yym1414 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1355 := r.ContainerType() - if yyct1355 == codecSelferValueTypeMap1234 { - yyl1355 := r.ReadMapStart() - if yyl1355 == 0 { + yyct1415 := r.ContainerType() + if yyct1415 == codecSelferValueTypeMap1234 { + yyl1415 := r.ReadMapStart() + if yyl1415 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1355, d) + x.codecDecodeSelfFromMap(yyl1415, d) } - } else if yyct1355 == codecSelferValueTypeArray1234 { - yyl1355 := r.ReadArrayStart() - if yyl1355 == 0 { + } else if yyct1415 == codecSelferValueTypeArray1234 { + yyl1415 := r.ReadArrayStart() + if yyl1415 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1355, d) + x.codecDecodeSelfFromArray(yyl1415, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15995,12 +16622,12 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1356Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1356Slc - var yyhl1356 bool = l >= 0 - for yyj1356 := 0; ; yyj1356++ { - if yyhl1356 { - if yyj1356 >= l { + var yys1416Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1416Slc + var yyhl1416 bool = l >= 0 + for yyj1416 := 0; ; yyj1416++ { + if yyhl1416 { + if yyj1416 >= l { break } } else { @@ -16009,10 +16636,10 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1356Slc = r.DecodeBytes(yys1356Slc, true, true) - yys1356 := string(yys1356Slc) + yys1416Slc = r.DecodeBytes(yys1416Slc, true, true) + yys1416 := string(yys1416Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1356 { + switch yys1416 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -16029,17 +16656,17 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv1359 := &x.LastTransitionTime - yym1360 := z.DecBinary() - _ = yym1360 + yyv1419 := &x.LastTransitionTime + yym1420 := z.DecBinary() + _ = yym1420 if false { - } else if z.HasExtensions() && z.DecExt(yyv1359) { - } else if yym1360 { - z.DecBinaryUnmarshal(yyv1359) - } else if !yym1360 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1359) + } else if z.HasExtensions() && z.DecExt(yyv1419) { + } else if yym1420 { + z.DecBinaryUnmarshal(yyv1419) + } else if !yym1420 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1419) } else { - z.DecFallback(yyv1359, false) + z.DecFallback(yyv1419, false) } } case "reason": @@ -16055,9 +16682,9 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1356) - } // end switch yys1356 - } // end for yyj1356 + z.DecStructFieldNotFound(-1, yys1416) + } // end switch yys1416 + } // end for yyj1416 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16065,16 +16692,16 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1363 int - var yyb1363 bool - var yyhl1363 bool = l >= 0 - yyj1363++ - if yyhl1363 { - yyb1363 = yyj1363 > l + var yyj1423 int + var yyb1423 bool + var yyhl1423 bool = l >= 0 + yyj1423++ + if yyhl1423 { + yyb1423 = yyj1423 > l } else { - yyb1363 = r.CheckBreak() + yyb1423 = r.CheckBreak() } - if yyb1363 { + if yyb1423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16084,13 +16711,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Type = ReplicaSetConditionType(r.DecodeString()) } - yyj1363++ - if yyhl1363 { - yyb1363 = yyj1363 > l + yyj1423++ + if yyhl1423 { + yyb1423 = yyj1423 > l } else { - yyb1363 = r.CheckBreak() + yyb1423 = r.CheckBreak() } - if yyb1363 { + if yyb1423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16100,13 +16727,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj1363++ - if yyhl1363 { - yyb1363 = yyj1363 > l + yyj1423++ + if yyhl1423 { + yyb1423 = yyj1423 > l } else { - yyb1363 = r.CheckBreak() + yyb1423 = r.CheckBreak() } - if yyb1363 { + if yyb1423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16114,26 +16741,26 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv1366 := &x.LastTransitionTime - yym1367 := z.DecBinary() - _ = yym1367 + yyv1426 := &x.LastTransitionTime + yym1427 := z.DecBinary() + _ = yym1427 if false { - } else if z.HasExtensions() && z.DecExt(yyv1366) { - } else if yym1367 { - z.DecBinaryUnmarshal(yyv1366) - } else if !yym1367 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1366) + } else if z.HasExtensions() && z.DecExt(yyv1426) { + } else if yym1427 { + z.DecBinaryUnmarshal(yyv1426) + } else if !yym1427 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1426) } else { - z.DecFallback(yyv1366, false) + z.DecFallback(yyv1426, false) } } - yyj1363++ - if yyhl1363 { - yyb1363 = yyj1363 > l + yyj1423++ + if yyhl1423 { + yyb1423 = yyj1423 > l } else { - yyb1363 = r.CheckBreak() + yyb1423 = r.CheckBreak() } - if yyb1363 { + if yyb1423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16143,13 +16770,13 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Reason = string(r.DecodeString()) } - yyj1363++ - if yyhl1363 { - yyb1363 = yyj1363 > l + yyj1423++ + if yyhl1423 { + yyb1423 = yyj1423 > l } else { - yyb1363 = r.CheckBreak() + yyb1423 = r.CheckBreak() } - if yyb1363 { + if yyb1423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16160,17 +16787,17 @@ func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Message = string(r.DecodeString()) } for { - yyj1363++ - if yyhl1363 { - yyb1363 = yyj1363 > l + yyj1423++ + if yyhl1423 { + yyb1423 = yyj1423 > l } else { - yyb1363 = r.CheckBreak() + yyb1423 = r.CheckBreak() } - if yyb1363 { + if yyb1423 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1363-1, "") + z.DecStructFieldNotFound(yyj1423-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16182,38 +16809,38 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1370 := z.EncBinary() - _ = yym1370 + yym1430 := z.EncBinary() + _ = yym1430 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1371 := !z.EncBinary() - yy2arr1371 := z.EncBasicHandle().StructToArray - var yyq1371 [4]bool - _, _, _ = yysep1371, yyq1371, yy2arr1371 - const yyr1371 bool = false - yyq1371[0] = x.Kind != "" - yyq1371[1] = x.APIVersion != "" - yyq1371[2] = true - yyq1371[3] = true - var yynn1371 int - if yyr1371 || yy2arr1371 { + yysep1431 := !z.EncBinary() + yy2arr1431 := z.EncBasicHandle().StructToArray + var yyq1431 [4]bool + _, _, _ = yysep1431, yyq1431, yy2arr1431 + const yyr1431 bool = false + yyq1431[0] = x.Kind != "" + yyq1431[1] = x.APIVersion != "" + yyq1431[2] = true + yyq1431[3] = true + var yynn1431 int + if yyr1431 || yy2arr1431 { r.EncodeArrayStart(4) } else { - yynn1371 = 0 - for _, b := range yyq1371 { + yynn1431 = 0 + for _, b := range yyq1431 { if b { - yynn1371++ + yynn1431++ } } - r.EncodeMapStart(yynn1371) - yynn1371 = 0 + r.EncodeMapStart(yynn1431) + yynn1431 = 0 } - if yyr1371 || yy2arr1371 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1371[0] { - yym1373 := z.EncBinary() - _ = yym1373 + if yyq1431[0] { + yym1433 := z.EncBinary() + _ = yym1433 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -16222,23 +16849,23 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1371[0] { + if yyq1431[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1374 := z.EncBinary() - _ = yym1374 + yym1434 := z.EncBinary() + _ = yym1434 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1371 || yy2arr1371 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1371[1] { - yym1376 := z.EncBinary() - _ = yym1376 + if yyq1431[1] { + yym1436 := z.EncBinary() + _ = yym1436 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -16247,53 +16874,53 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1371[1] { + if yyq1431[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1377 := z.EncBinary() - _ = yym1377 + yym1437 := z.EncBinary() + _ = yym1437 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1371 || yy2arr1371 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1371[2] { - yy1379 := &x.ObjectMeta - yy1379.CodecEncodeSelf(e) + if yyq1431[2] { + yy1439 := &x.ObjectMeta + yy1439.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1371[2] { + if yyq1431[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1380 := &x.ObjectMeta - yy1380.CodecEncodeSelf(e) + yy1440 := &x.ObjectMeta + yy1440.CodecEncodeSelf(e) } } - if yyr1371 || yy2arr1371 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1371[3] { - yy1382 := &x.Spec - yy1382.CodecEncodeSelf(e) + if yyq1431[3] { + yy1442 := &x.Spec + yy1442.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1371[3] { + if yyq1431[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1383 := &x.Spec - yy1383.CodecEncodeSelf(e) + yy1443 := &x.Spec + yy1443.CodecEncodeSelf(e) } } - if yyr1371 || yy2arr1371 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16306,25 +16933,25 @@ func (x *PodSecurityPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1384 := z.DecBinary() - _ = yym1384 + yym1444 := z.DecBinary() + _ = yym1444 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1385 := r.ContainerType() - if yyct1385 == codecSelferValueTypeMap1234 { - yyl1385 := r.ReadMapStart() - if yyl1385 == 0 { + yyct1445 := r.ContainerType() + if yyct1445 == codecSelferValueTypeMap1234 { + yyl1445 := r.ReadMapStart() + if yyl1445 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1385, d) + x.codecDecodeSelfFromMap(yyl1445, d) } - } else if yyct1385 == codecSelferValueTypeArray1234 { - yyl1385 := r.ReadArrayStart() - if yyl1385 == 0 { + } else if yyct1445 == codecSelferValueTypeArray1234 { + yyl1445 := r.ReadArrayStart() + if yyl1445 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1385, d) + x.codecDecodeSelfFromArray(yyl1445, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16336,12 +16963,12 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1386Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1386Slc - var yyhl1386 bool = l >= 0 - for yyj1386 := 0; ; yyj1386++ { - if yyhl1386 { - if yyj1386 >= l { + var yys1446Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1446Slc + var yyhl1446 bool = l >= 0 + for yyj1446 := 0; ; yyj1446++ { + if yyhl1446 { + if yyj1446 >= l { break } } else { @@ -16350,10 +16977,10 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1386Slc = r.DecodeBytes(yys1386Slc, true, true) - yys1386 := string(yys1386Slc) + yys1446Slc = r.DecodeBytes(yys1446Slc, true, true) + yys1446 := string(yys1446Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1386 { + switch yys1446 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -16370,20 +16997,20 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1389 := &x.ObjectMeta - yyv1389.CodecDecodeSelf(d) + yyv1449 := &x.ObjectMeta + yyv1449.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv1390 := &x.Spec - yyv1390.CodecDecodeSelf(d) + yyv1450 := &x.Spec + yyv1450.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1386) - } // end switch yys1386 - } // end for yyj1386 + z.DecStructFieldNotFound(-1, yys1446) + } // end switch yys1446 + } // end for yyj1446 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16391,16 +17018,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1391 int - var yyb1391 bool - var yyhl1391 bool = l >= 0 - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l + var yyj1451 int + var yyb1451 bool + var yyhl1451 bool = l >= 0 + yyj1451++ + if yyhl1451 { + yyb1451 = yyj1451 > l } else { - yyb1391 = r.CheckBreak() + yyb1451 = r.CheckBreak() } - if yyb1391 { + if yyb1451 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16410,13 +17037,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l + yyj1451++ + if yyhl1451 { + yyb1451 = yyj1451 > l } else { - yyb1391 = r.CheckBreak() + yyb1451 = r.CheckBreak() } - if yyb1391 { + if yyb1451 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16426,13 +17053,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l + yyj1451++ + if yyhl1451 { + yyb1451 = yyj1451 > l } else { - yyb1391 = r.CheckBreak() + yyb1451 = r.CheckBreak() } - if yyb1391 { + if yyb1451 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16440,16 +17067,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1394 := &x.ObjectMeta - yyv1394.CodecDecodeSelf(d) + yyv1454 := &x.ObjectMeta + yyv1454.CodecDecodeSelf(d) } - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l + yyj1451++ + if yyhl1451 { + yyb1451 = yyj1451 > l } else { - yyb1391 = r.CheckBreak() + yyb1451 = r.CheckBreak() } - if yyb1391 { + if yyb1451 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16457,21 +17084,21 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv1395 := &x.Spec - yyv1395.CodecDecodeSelf(d) + yyv1455 := &x.Spec + yyv1455.CodecDecodeSelf(d) } for { - yyj1391++ - if yyhl1391 { - yyb1391 = yyj1391 > l + yyj1451++ + if yyhl1451 { + yyb1451 = yyj1451 > l } else { - yyb1391 = r.CheckBreak() + yyb1451 = r.CheckBreak() } - if yyb1391 { + if yyb1451 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1391-1, "") + z.DecStructFieldNotFound(yyj1451-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16483,44 +17110,44 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1396 := z.EncBinary() - _ = yym1396 + yym1456 := z.EncBinary() + _ = yym1456 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1397 := !z.EncBinary() - yy2arr1397 := z.EncBasicHandle().StructToArray - var yyq1397 [14]bool - _, _, _ = yysep1397, yyq1397, yy2arr1397 - const yyr1397 bool = false - yyq1397[0] = x.Privileged != false - yyq1397[1] = len(x.DefaultAddCapabilities) != 0 - yyq1397[2] = len(x.RequiredDropCapabilities) != 0 - yyq1397[3] = len(x.AllowedCapabilities) != 0 - yyq1397[4] = len(x.Volumes) != 0 - yyq1397[5] = x.HostNetwork != false - yyq1397[6] = len(x.HostPorts) != 0 - yyq1397[7] = x.HostPID != false - yyq1397[8] = x.HostIPC != false - yyq1397[13] = x.ReadOnlyRootFilesystem != false - var yynn1397 int - if yyr1397 || yy2arr1397 { + yysep1457 := !z.EncBinary() + yy2arr1457 := z.EncBasicHandle().StructToArray + var yyq1457 [14]bool + _, _, _ = yysep1457, yyq1457, yy2arr1457 + const yyr1457 bool = false + yyq1457[0] = x.Privileged != false + yyq1457[1] = len(x.DefaultAddCapabilities) != 0 + yyq1457[2] = len(x.RequiredDropCapabilities) != 0 + yyq1457[3] = len(x.AllowedCapabilities) != 0 + yyq1457[4] = len(x.Volumes) != 0 + yyq1457[5] = x.HostNetwork != false + yyq1457[6] = len(x.HostPorts) != 0 + yyq1457[7] = x.HostPID != false + yyq1457[8] = x.HostIPC != false + yyq1457[13] = x.ReadOnlyRootFilesystem != false + var yynn1457 int + if yyr1457 || yy2arr1457 { r.EncodeArrayStart(14) } else { - yynn1397 = 4 - for _, b := range yyq1397 { + yynn1457 = 4 + for _, b := range yyq1457 { if b { - yynn1397++ + yynn1457++ } } - r.EncodeMapStart(yynn1397) - yynn1397 = 0 + r.EncodeMapStart(yynn1457) + yynn1457 = 0 } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[0] { - yym1399 := z.EncBinary() - _ = yym1399 + if yyq1457[0] { + yym1459 := z.EncBinary() + _ = yym1459 if false { } else { r.EncodeBool(bool(x.Privileged)) @@ -16529,26 +17156,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1397[0] { + if yyq1457[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1400 := z.EncBinary() - _ = yym1400 + yym1460 := z.EncBinary() + _ = yym1460 if false { } else { r.EncodeBool(bool(x.Privileged)) } } } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[1] { + if yyq1457[1] { if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1402 := z.EncBinary() - _ = yym1402 + yym1462 := z.EncBinary() + _ = yym1462 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -16558,15 +17185,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1397[1] { + if yyq1457[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultAddCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1403 := z.EncBinary() - _ = yym1403 + yym1463 := z.EncBinary() + _ = yym1463 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -16574,14 +17201,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[2] { + if yyq1457[2] { if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1405 := z.EncBinary() - _ = yym1405 + yym1465 := z.EncBinary() + _ = yym1465 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -16591,15 +17218,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1397[2] { + if yyq1457[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDropCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1406 := z.EncBinary() - _ = yym1406 + yym1466 := z.EncBinary() + _ = yym1466 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -16607,14 +17234,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[3] { + if yyq1457[3] { if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1408 := z.EncBinary() - _ = yym1408 + yym1468 := z.EncBinary() + _ = yym1468 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -16624,15 +17251,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1397[3] { + if yyq1457[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowedCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1409 := z.EncBinary() - _ = yym1409 + yym1469 := z.EncBinary() + _ = yym1469 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -16640,14 +17267,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[4] { + if yyq1457[4] { if x.Volumes == nil { r.EncodeNil() } else { - yym1411 := z.EncBinary() - _ = yym1411 + yym1471 := z.EncBinary() + _ = yym1471 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -16657,15 +17284,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1397[4] { + if yyq1457[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym1412 := z.EncBinary() - _ = yym1412 + yym1472 := z.EncBinary() + _ = yym1472 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -16673,11 +17300,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[5] { - yym1414 := z.EncBinary() - _ = yym1414 + if yyq1457[5] { + yym1474 := z.EncBinary() + _ = yym1474 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -16686,26 +17313,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1397[5] { + if yyq1457[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1415 := z.EncBinary() - _ = yym1415 + yym1475 := z.EncBinary() + _ = yym1475 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[6] { + if yyq1457[6] { if x.HostPorts == nil { r.EncodeNil() } else { - yym1417 := z.EncBinary() - _ = yym1417 + yym1477 := z.EncBinary() + _ = yym1477 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -16715,15 +17342,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1397[6] { + if yyq1457[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPorts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HostPorts == nil { r.EncodeNil() } else { - yym1418 := z.EncBinary() - _ = yym1418 + yym1478 := z.EncBinary() + _ = yym1478 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -16731,11 +17358,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[7] { - yym1420 := z.EncBinary() - _ = yym1420 + if yyq1457[7] { + yym1480 := z.EncBinary() + _ = yym1480 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -16744,23 +17371,23 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1397[7] { + if yyq1457[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1421 := z.EncBinary() - _ = yym1421 + yym1481 := z.EncBinary() + _ = yym1481 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[8] { - yym1423 := z.EncBinary() - _ = yym1423 + if yyq1457[8] { + yym1483 := z.EncBinary() + _ = yym1483 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -16769,67 +17396,67 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1397[8] { + if yyq1457[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1424 := z.EncBinary() - _ = yym1424 + yym1484 := z.EncBinary() + _ = yym1484 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1426 := &x.SELinux - yy1426.CodecEncodeSelf(e) + yy1486 := &x.SELinux + yy1486.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinux")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1427 := &x.SELinux - yy1427.CodecEncodeSelf(e) + yy1487 := &x.SELinux + yy1487.CodecEncodeSelf(e) } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1429 := &x.RunAsUser - yy1429.CodecEncodeSelf(e) + yy1489 := &x.RunAsUser + yy1489.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1430 := &x.RunAsUser - yy1430.CodecEncodeSelf(e) + yy1490 := &x.RunAsUser + yy1490.CodecEncodeSelf(e) } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1432 := &x.SupplementalGroups - yy1432.CodecEncodeSelf(e) + yy1492 := &x.SupplementalGroups + yy1492.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1433 := &x.SupplementalGroups - yy1433.CodecEncodeSelf(e) + yy1493 := &x.SupplementalGroups + yy1493.CodecEncodeSelf(e) } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1435 := &x.FSGroup - yy1435.CodecEncodeSelf(e) + yy1495 := &x.FSGroup + yy1495.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1436 := &x.FSGroup - yy1436.CodecEncodeSelf(e) + yy1496 := &x.FSGroup + yy1496.CodecEncodeSelf(e) } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1397[13] { - yym1438 := z.EncBinary() - _ = yym1438 + if yyq1457[13] { + yym1498 := z.EncBinary() + _ = yym1498 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) @@ -16838,19 +17465,19 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1397[13] { + if yyq1457[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1439 := z.EncBinary() - _ = yym1439 + yym1499 := z.EncBinary() + _ = yym1499 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) } } } - if yyr1397 || yy2arr1397 { + if yyr1457 || yy2arr1457 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16863,25 +17490,25 @@ func (x *PodSecurityPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1440 := z.DecBinary() - _ = yym1440 + yym1500 := z.DecBinary() + _ = yym1500 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1441 := r.ContainerType() - if yyct1441 == codecSelferValueTypeMap1234 { - yyl1441 := r.ReadMapStart() - if yyl1441 == 0 { + yyct1501 := r.ContainerType() + if yyct1501 == codecSelferValueTypeMap1234 { + yyl1501 := r.ReadMapStart() + if yyl1501 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1441, d) + x.codecDecodeSelfFromMap(yyl1501, d) } - } else if yyct1441 == codecSelferValueTypeArray1234 { - yyl1441 := r.ReadArrayStart() - if yyl1441 == 0 { + } else if yyct1501 == codecSelferValueTypeArray1234 { + yyl1501 := r.ReadArrayStart() + if yyl1501 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1441, d) + x.codecDecodeSelfFromArray(yyl1501, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16893,12 +17520,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1442Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1442Slc - var yyhl1442 bool = l >= 0 - for yyj1442 := 0; ; yyj1442++ { - if yyhl1442 { - if yyj1442 >= l { + var yys1502Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1502Slc + var yyhl1502 bool = l >= 0 + for yyj1502 := 0; ; yyj1502++ { + if yyhl1502 { + if yyj1502 >= l { break } } else { @@ -16907,10 +17534,10 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1442Slc = r.DecodeBytes(yys1442Slc, true, true) - yys1442 := string(yys1442Slc) + yys1502Slc = r.DecodeBytes(yys1502Slc, true, true) + yys1502 := string(yys1502Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1442 { + switch yys1502 { case "privileged": if r.TryDecodeAsNil() { x.Privileged = false @@ -16921,48 +17548,48 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1444 := &x.DefaultAddCapabilities - yym1445 := z.DecBinary() - _ = yym1445 + yyv1504 := &x.DefaultAddCapabilities + yym1505 := z.DecBinary() + _ = yym1505 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1444), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1504), d) } } case "requiredDropCapabilities": if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1446 := &x.RequiredDropCapabilities - yym1447 := z.DecBinary() - _ = yym1447 + yyv1506 := &x.RequiredDropCapabilities + yym1507 := z.DecBinary() + _ = yym1507 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1446), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1506), d) } } case "allowedCapabilities": if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1448 := &x.AllowedCapabilities - yym1449 := z.DecBinary() - _ = yym1449 + yyv1508 := &x.AllowedCapabilities + yym1509 := z.DecBinary() + _ = yym1509 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1448), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1508), d) } } case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1450 := &x.Volumes - yym1451 := z.DecBinary() - _ = yym1451 + yyv1510 := &x.Volumes + yym1511 := z.DecBinary() + _ = yym1511 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1450), d) + h.decSliceFSType((*[]FSType)(yyv1510), d) } } case "hostNetwork": @@ -16975,12 +17602,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1453 := &x.HostPorts - yym1454 := z.DecBinary() - _ = yym1454 + yyv1513 := &x.HostPorts + yym1514 := z.DecBinary() + _ = yym1514 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1453), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1513), d) } } case "hostPID": @@ -16999,29 +17626,29 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1457 := &x.SELinux - yyv1457.CodecDecodeSelf(d) + yyv1517 := &x.SELinux + yyv1517.CodecDecodeSelf(d) } case "runAsUser": if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1458 := &x.RunAsUser - yyv1458.CodecDecodeSelf(d) + yyv1518 := &x.RunAsUser + yyv1518.CodecDecodeSelf(d) } case "supplementalGroups": if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1459 := &x.SupplementalGroups - yyv1459.CodecDecodeSelf(d) + yyv1519 := &x.SupplementalGroups + yyv1519.CodecDecodeSelf(d) } case "fsGroup": if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1460 := &x.FSGroup - yyv1460.CodecDecodeSelf(d) + yyv1520 := &x.FSGroup + yyv1520.CodecDecodeSelf(d) } case "readOnlyRootFilesystem": if r.TryDecodeAsNil() { @@ -17030,9 +17657,9 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1442) - } // end switch yys1442 - } // end for yyj1442 + z.DecStructFieldNotFound(-1, yys1502) + } // end switch yys1502 + } // end for yyj1502 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17040,16 +17667,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1462 int - var yyb1462 bool - var yyhl1462 bool = l >= 0 - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + var yyj1522 int + var yyb1522 bool + var yyhl1522 bool = l >= 0 + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17059,13 +17686,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Privileged = bool(r.DecodeBool()) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17073,21 +17700,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1464 := &x.DefaultAddCapabilities - yym1465 := z.DecBinary() - _ = yym1465 + yyv1524 := &x.DefaultAddCapabilities + yym1525 := z.DecBinary() + _ = yym1525 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1464), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1524), d) } } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17095,21 +17722,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1466 := &x.RequiredDropCapabilities - yym1467 := z.DecBinary() - _ = yym1467 + yyv1526 := &x.RequiredDropCapabilities + yym1527 := z.DecBinary() + _ = yym1527 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1466), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1526), d) } } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17117,21 +17744,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1468 := &x.AllowedCapabilities - yym1469 := z.DecBinary() - _ = yym1469 + yyv1528 := &x.AllowedCapabilities + yym1529 := z.DecBinary() + _ = yym1529 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1468), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1528), d) } } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17139,21 +17766,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1470 := &x.Volumes - yym1471 := z.DecBinary() - _ = yym1471 + yyv1530 := &x.Volumes + yym1531 := z.DecBinary() + _ = yym1531 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1470), d) + h.decSliceFSType((*[]FSType)(yyv1530), d) } } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17163,13 +17790,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17177,21 +17804,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1473 := &x.HostPorts - yym1474 := z.DecBinary() - _ = yym1474 + yyv1533 := &x.HostPorts + yym1534 := z.DecBinary() + _ = yym1534 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1473), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1533), d) } } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17201,13 +17828,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostPID = bool(r.DecodeBool()) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17217,13 +17844,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostIPC = bool(r.DecodeBool()) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17231,16 +17858,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1477 := &x.SELinux - yyv1477.CodecDecodeSelf(d) + yyv1537 := &x.SELinux + yyv1537.CodecDecodeSelf(d) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17248,16 +17875,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1478 := &x.RunAsUser - yyv1478.CodecDecodeSelf(d) + yyv1538 := &x.RunAsUser + yyv1538.CodecDecodeSelf(d) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17265,16 +17892,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1479 := &x.SupplementalGroups - yyv1479.CodecDecodeSelf(d) + yyv1539 := &x.SupplementalGroups + yyv1539.CodecDecodeSelf(d) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17282,16 +17909,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1480 := &x.FSGroup - yyv1480.CodecDecodeSelf(d) + yyv1540 := &x.FSGroup + yyv1540.CodecDecodeSelf(d) } - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17302,17 +17929,17 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } for { - yyj1462++ - if yyhl1462 { - yyb1462 = yyj1462 > l + yyj1522++ + if yyhl1522 { + yyb1522 = yyj1522 > l } else { - yyb1462 = r.CheckBreak() + yyb1522 = r.CheckBreak() } - if yyb1462 { + if yyb1522 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1462-1, "") + z.DecStructFieldNotFound(yyj1522-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17321,8 +17948,8 @@ func (x FSType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1482 := z.EncBinary() - _ = yym1482 + yym1542 := z.EncBinary() + _ = yym1542 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -17334,8 +17961,8 @@ func (x *FSType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1483 := z.DecBinary() - _ = yym1483 + yym1543 := z.DecBinary() + _ = yym1543 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -17350,33 +17977,33 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1484 := z.EncBinary() - _ = yym1484 + yym1544 := z.EncBinary() + _ = yym1544 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1485 := !z.EncBinary() - yy2arr1485 := z.EncBasicHandle().StructToArray - var yyq1485 [2]bool - _, _, _ = yysep1485, yyq1485, yy2arr1485 - const yyr1485 bool = false - var yynn1485 int - if yyr1485 || yy2arr1485 { + yysep1545 := !z.EncBinary() + yy2arr1545 := z.EncBasicHandle().StructToArray + var yyq1545 [2]bool + _, _, _ = yysep1545, yyq1545, yy2arr1545 + const yyr1545 bool = false + var yynn1545 int + if yyr1545 || yy2arr1545 { r.EncodeArrayStart(2) } else { - yynn1485 = 2 - for _, b := range yyq1485 { + yynn1545 = 2 + for _, b := range yyq1545 { if b { - yynn1485++ + yynn1545++ } } - r.EncodeMapStart(yynn1485) - yynn1485 = 0 + r.EncodeMapStart(yynn1545) + yynn1545 = 0 } - if yyr1485 || yy2arr1485 { + if yyr1545 || yy2arr1545 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1487 := z.EncBinary() - _ = yym1487 + yym1547 := z.EncBinary() + _ = yym1547 if false { } else { r.EncodeInt(int64(x.Min)) @@ -17385,17 +18012,17 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1488 := z.EncBinary() - _ = yym1488 + yym1548 := z.EncBinary() + _ = yym1548 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1485 || yy2arr1485 { + if yyr1545 || yy2arr1545 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1490 := z.EncBinary() - _ = yym1490 + yym1550 := z.EncBinary() + _ = yym1550 if false { } else { r.EncodeInt(int64(x.Max)) @@ -17404,14 +18031,14 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1491 := z.EncBinary() - _ = yym1491 + yym1551 := z.EncBinary() + _ = yym1551 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1485 || yy2arr1485 { + if yyr1545 || yy2arr1545 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17424,25 +18051,25 @@ func (x *HostPortRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1492 := z.DecBinary() - _ = yym1492 + yym1552 := z.DecBinary() + _ = yym1552 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1493 := r.ContainerType() - if yyct1493 == codecSelferValueTypeMap1234 { - yyl1493 := r.ReadMapStart() - if yyl1493 == 0 { + yyct1553 := r.ContainerType() + if yyct1553 == codecSelferValueTypeMap1234 { + yyl1553 := r.ReadMapStart() + if yyl1553 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1493, d) + x.codecDecodeSelfFromMap(yyl1553, d) } - } else if yyct1493 == codecSelferValueTypeArray1234 { - yyl1493 := r.ReadArrayStart() - if yyl1493 == 0 { + } else if yyct1553 == codecSelferValueTypeArray1234 { + yyl1553 := r.ReadArrayStart() + if yyl1553 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1493, d) + x.codecDecodeSelfFromArray(yyl1553, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17454,12 +18081,12 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1494Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1494Slc - var yyhl1494 bool = l >= 0 - for yyj1494 := 0; ; yyj1494++ { - if yyhl1494 { - if yyj1494 >= l { + var yys1554Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1554Slc + var yyhl1554 bool = l >= 0 + for yyj1554 := 0; ; yyj1554++ { + if yyhl1554 { + if yyj1554 >= l { break } } else { @@ -17468,10 +18095,10 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1494Slc = r.DecodeBytes(yys1494Slc, true, true) - yys1494 := string(yys1494Slc) + yys1554Slc = r.DecodeBytes(yys1554Slc, true, true) + yys1554 := string(yys1554Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1494 { + switch yys1554 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -17485,9 +18112,9 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys1494) - } // end switch yys1494 - } // end for yyj1494 + z.DecStructFieldNotFound(-1, yys1554) + } // end switch yys1554 + } // end for yyj1554 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17495,16 +18122,16 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1497 int - var yyb1497 bool - var yyhl1497 bool = l >= 0 - yyj1497++ - if yyhl1497 { - yyb1497 = yyj1497 > l + var yyj1557 int + var yyb1557 bool + var yyhl1557 bool = l >= 0 + yyj1557++ + if yyhl1557 { + yyb1557 = yyj1557 > l } else { - yyb1497 = r.CheckBreak() + yyb1557 = r.CheckBreak() } - if yyb1497 { + if yyb1557 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17514,13 +18141,13 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int32(r.DecodeInt(32)) } - yyj1497++ - if yyhl1497 { - yyb1497 = yyj1497 > l + yyj1557++ + if yyhl1557 { + yyb1557 = yyj1557 > l } else { - yyb1497 = r.CheckBreak() + yyb1557 = r.CheckBreak() } - if yyb1497 { + if yyb1557 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17531,17 +18158,17 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int32(r.DecodeInt(32)) } for { - yyj1497++ - if yyhl1497 { - yyb1497 = yyj1497 > l + yyj1557++ + if yyhl1557 { + yyb1557 = yyj1557 > l } else { - yyb1497 = r.CheckBreak() + yyb1557 = r.CheckBreak() } - if yyb1497 { + if yyb1557 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1497-1, "") + z.DecStructFieldNotFound(yyj1557-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17553,31 +18180,31 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1500 := z.EncBinary() - _ = yym1500 + yym1560 := z.EncBinary() + _ = yym1560 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1501 := !z.EncBinary() - yy2arr1501 := z.EncBasicHandle().StructToArray - var yyq1501 [2]bool - _, _, _ = yysep1501, yyq1501, yy2arr1501 - const yyr1501 bool = false - yyq1501[1] = x.SELinuxOptions != nil - var yynn1501 int - if yyr1501 || yy2arr1501 { + yysep1561 := !z.EncBinary() + yy2arr1561 := z.EncBasicHandle().StructToArray + var yyq1561 [2]bool + _, _, _ = yysep1561, yyq1561, yy2arr1561 + const yyr1561 bool = false + yyq1561[1] = x.SELinuxOptions != nil + var yynn1561 int + if yyr1561 || yy2arr1561 { r.EncodeArrayStart(2) } else { - yynn1501 = 1 - for _, b := range yyq1501 { + yynn1561 = 1 + for _, b := range yyq1561 { if b { - yynn1501++ + yynn1561++ } } - r.EncodeMapStart(yynn1501) - yynn1501 = 0 + r.EncodeMapStart(yynn1561) + yynn1561 = 0 } - if yyr1501 || yy2arr1501 { + if yyr1561 || yy2arr1561 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -17586,9 +18213,9 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1501 || yy2arr1501 { + if yyr1561 || yy2arr1561 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1501[1] { + if yyq1561[1] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -17598,7 +18225,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1501[1] { + if yyq1561[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17609,7 +18236,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1501 || yy2arr1501 { + if yyr1561 || yy2arr1561 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17622,25 +18249,25 @@ func (x *SELinuxStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1504 := z.DecBinary() - _ = yym1504 + yym1564 := z.DecBinary() + _ = yym1564 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1505 := r.ContainerType() - if yyct1505 == codecSelferValueTypeMap1234 { - yyl1505 := r.ReadMapStart() - if yyl1505 == 0 { + yyct1565 := r.ContainerType() + if yyct1565 == codecSelferValueTypeMap1234 { + yyl1565 := r.ReadMapStart() + if yyl1565 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1505, d) + x.codecDecodeSelfFromMap(yyl1565, d) } - } else if yyct1505 == codecSelferValueTypeArray1234 { - yyl1505 := r.ReadArrayStart() - if yyl1505 == 0 { + } else if yyct1565 == codecSelferValueTypeArray1234 { + yyl1565 := r.ReadArrayStart() + if yyl1565 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1505, d) + x.codecDecodeSelfFromArray(yyl1565, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17652,12 +18279,12 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1506Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1506Slc - var yyhl1506 bool = l >= 0 - for yyj1506 := 0; ; yyj1506++ { - if yyhl1506 { - if yyj1506 >= l { + var yys1566Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1566Slc + var yyhl1566 bool = l >= 0 + for yyj1566 := 0; ; yyj1566++ { + if yyhl1566 { + if yyj1566 >= l { break } } else { @@ -17666,10 +18293,10 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1506Slc = r.DecodeBytes(yys1506Slc, true, true) - yys1506 := string(yys1506Slc) + yys1566Slc = r.DecodeBytes(yys1566Slc, true, true) + yys1566 := string(yys1566Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1506 { + switch yys1566 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -17688,9 +18315,9 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.SELinuxOptions.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1506) - } // end switch yys1506 - } // end for yyj1506 + z.DecStructFieldNotFound(-1, yys1566) + } // end switch yys1566 + } // end for yyj1566 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17698,16 +18325,16 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1509 int - var yyb1509 bool - var yyhl1509 bool = l >= 0 - yyj1509++ - if yyhl1509 { - yyb1509 = yyj1509 > l + var yyj1569 int + var yyb1569 bool + var yyhl1569 bool = l >= 0 + yyj1569++ + if yyhl1569 { + yyb1569 = yyj1569 > l } else { - yyb1509 = r.CheckBreak() + yyb1569 = r.CheckBreak() } - if yyb1509 { + if yyb1569 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17717,13 +18344,13 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = SELinuxStrategy(r.DecodeString()) } - yyj1509++ - if yyhl1509 { - yyb1509 = yyj1509 > l + yyj1569++ + if yyhl1569 { + yyb1569 = yyj1569 > l } else { - yyb1509 = r.CheckBreak() + yyb1569 = r.CheckBreak() } - if yyb1509 { + if yyb1569 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17739,17 +18366,17 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De x.SELinuxOptions.CodecDecodeSelf(d) } for { - yyj1509++ - if yyhl1509 { - yyb1509 = yyj1509 > l + yyj1569++ + if yyhl1569 { + yyb1569 = yyj1569 > l } else { - yyb1509 = r.CheckBreak() + yyb1569 = r.CheckBreak() } - if yyb1509 { + if yyb1569 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1509-1, "") + z.DecStructFieldNotFound(yyj1569-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17758,8 +18385,8 @@ func (x SELinuxStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1512 := z.EncBinary() - _ = yym1512 + yym1572 := z.EncBinary() + _ = yym1572 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -17771,8 +18398,8 @@ func (x *SELinuxStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1513 := z.DecBinary() - _ = yym1513 + yym1573 := z.DecBinary() + _ = yym1573 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -17787,31 +18414,31 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1514 := z.EncBinary() - _ = yym1514 + yym1574 := z.EncBinary() + _ = yym1574 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1515 := !z.EncBinary() - yy2arr1515 := z.EncBasicHandle().StructToArray - var yyq1515 [2]bool - _, _, _ = yysep1515, yyq1515, yy2arr1515 - const yyr1515 bool = false - yyq1515[1] = len(x.Ranges) != 0 - var yynn1515 int - if yyr1515 || yy2arr1515 { + yysep1575 := !z.EncBinary() + yy2arr1575 := z.EncBasicHandle().StructToArray + var yyq1575 [2]bool + _, _, _ = yysep1575, yyq1575, yy2arr1575 + const yyr1575 bool = false + yyq1575[1] = len(x.Ranges) != 0 + var yynn1575 int + if yyr1575 || yy2arr1575 { r.EncodeArrayStart(2) } else { - yynn1515 = 1 - for _, b := range yyq1515 { + yynn1575 = 1 + for _, b := range yyq1575 { if b { - yynn1515++ + yynn1575++ } } - r.EncodeMapStart(yynn1515) - yynn1515 = 0 + r.EncodeMapStart(yynn1575) + yynn1575 = 0 } - if yyr1515 || yy2arr1515 { + if yyr1575 || yy2arr1575 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -17820,14 +18447,14 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1515 || yy2arr1515 { + if yyr1575 || yy2arr1575 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1515[1] { + if yyq1575[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1518 := z.EncBinary() - _ = yym1518 + yym1578 := z.EncBinary() + _ = yym1578 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -17837,15 +18464,15 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1515[1] { + if yyq1575[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1519 := z.EncBinary() - _ = yym1519 + yym1579 := z.EncBinary() + _ = yym1579 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -17853,7 +18480,7 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1515 || yy2arr1515 { + if yyr1575 || yy2arr1575 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17866,25 +18493,25 @@ func (x *RunAsUserStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1520 := z.DecBinary() - _ = yym1520 + yym1580 := z.DecBinary() + _ = yym1580 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1521 := r.ContainerType() - if yyct1521 == codecSelferValueTypeMap1234 { - yyl1521 := r.ReadMapStart() - if yyl1521 == 0 { + yyct1581 := r.ContainerType() + if yyct1581 == codecSelferValueTypeMap1234 { + yyl1581 := r.ReadMapStart() + if yyl1581 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1521, d) + x.codecDecodeSelfFromMap(yyl1581, d) } - } else if yyct1521 == codecSelferValueTypeArray1234 { - yyl1521 := r.ReadArrayStart() - if yyl1521 == 0 { + } else if yyct1581 == codecSelferValueTypeArray1234 { + yyl1581 := r.ReadArrayStart() + if yyl1581 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1521, d) + x.codecDecodeSelfFromArray(yyl1581, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17896,12 +18523,12 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1522Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1522Slc - var yyhl1522 bool = l >= 0 - for yyj1522 := 0; ; yyj1522++ { - if yyhl1522 { - if yyj1522 >= l { + var yys1582Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1582Slc + var yyhl1582 bool = l >= 0 + for yyj1582 := 0; ; yyj1582++ { + if yyhl1582 { + if yyj1582 >= l { break } } else { @@ -17910,10 +18537,10 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1522Slc = r.DecodeBytes(yys1522Slc, true, true) - yys1522 := string(yys1522Slc) + yys1582Slc = r.DecodeBytes(yys1582Slc, true, true) + yys1582 := string(yys1582Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1522 { + switch yys1582 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -17924,18 +18551,18 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1524 := &x.Ranges - yym1525 := z.DecBinary() - _ = yym1525 + yyv1584 := &x.Ranges + yym1585 := z.DecBinary() + _ = yym1585 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1524), d) + h.decSliceIDRange((*[]IDRange)(yyv1584), d) } } default: - z.DecStructFieldNotFound(-1, yys1522) - } // end switch yys1522 - } // end for yyj1522 + z.DecStructFieldNotFound(-1, yys1582) + } // end switch yys1582 + } // end for yyj1582 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17943,16 +18570,16 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1526 int - var yyb1526 bool - var yyhl1526 bool = l >= 0 - yyj1526++ - if yyhl1526 { - yyb1526 = yyj1526 > l + var yyj1586 int + var yyb1586 bool + var yyhl1586 bool = l >= 0 + yyj1586++ + if yyhl1586 { + yyb1586 = yyj1586 > l } else { - yyb1526 = r.CheckBreak() + yyb1586 = r.CheckBreak() } - if yyb1526 { + if yyb1586 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17962,13 +18589,13 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Rule = RunAsUserStrategy(r.DecodeString()) } - yyj1526++ - if yyhl1526 { - yyb1526 = yyj1526 > l + yyj1586++ + if yyhl1586 { + yyb1586 = yyj1586 > l } else { - yyb1526 = r.CheckBreak() + yyb1586 = r.CheckBreak() } - if yyb1526 { + if yyb1586 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17976,26 +18603,26 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1528 := &x.Ranges - yym1529 := z.DecBinary() - _ = yym1529 + yyv1588 := &x.Ranges + yym1589 := z.DecBinary() + _ = yym1589 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1528), d) + h.decSliceIDRange((*[]IDRange)(yyv1588), d) } } for { - yyj1526++ - if yyhl1526 { - yyb1526 = yyj1526 > l + yyj1586++ + if yyhl1586 { + yyb1586 = yyj1586 > l } else { - yyb1526 = r.CheckBreak() + yyb1586 = r.CheckBreak() } - if yyb1526 { + if yyb1586 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1526-1, "") + z.DecStructFieldNotFound(yyj1586-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18007,33 +18634,33 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1530 := z.EncBinary() - _ = yym1530 + yym1590 := z.EncBinary() + _ = yym1590 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1531 := !z.EncBinary() - yy2arr1531 := z.EncBasicHandle().StructToArray - var yyq1531 [2]bool - _, _, _ = yysep1531, yyq1531, yy2arr1531 - const yyr1531 bool = false - var yynn1531 int - if yyr1531 || yy2arr1531 { + yysep1591 := !z.EncBinary() + yy2arr1591 := z.EncBasicHandle().StructToArray + var yyq1591 [2]bool + _, _, _ = yysep1591, yyq1591, yy2arr1591 + const yyr1591 bool = false + var yynn1591 int + if yyr1591 || yy2arr1591 { r.EncodeArrayStart(2) } else { - yynn1531 = 2 - for _, b := range yyq1531 { + yynn1591 = 2 + for _, b := range yyq1591 { if b { - yynn1531++ + yynn1591++ } } - r.EncodeMapStart(yynn1531) - yynn1531 = 0 + r.EncodeMapStart(yynn1591) + yynn1591 = 0 } - if yyr1531 || yy2arr1531 { + if yyr1591 || yy2arr1591 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1533 := z.EncBinary() - _ = yym1533 + yym1593 := z.EncBinary() + _ = yym1593 if false { } else { r.EncodeInt(int64(x.Min)) @@ -18042,17 +18669,17 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1534 := z.EncBinary() - _ = yym1534 + yym1594 := z.EncBinary() + _ = yym1594 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1531 || yy2arr1531 { + if yyr1591 || yy2arr1591 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1536 := z.EncBinary() - _ = yym1536 + yym1596 := z.EncBinary() + _ = yym1596 if false { } else { r.EncodeInt(int64(x.Max)) @@ -18061,14 +18688,14 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1537 := z.EncBinary() - _ = yym1537 + yym1597 := z.EncBinary() + _ = yym1597 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1531 || yy2arr1531 { + if yyr1591 || yy2arr1591 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18081,25 +18708,25 @@ func (x *IDRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1538 := z.DecBinary() - _ = yym1538 + yym1598 := z.DecBinary() + _ = yym1598 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1539 := r.ContainerType() - if yyct1539 == codecSelferValueTypeMap1234 { - yyl1539 := r.ReadMapStart() - if yyl1539 == 0 { + yyct1599 := r.ContainerType() + if yyct1599 == codecSelferValueTypeMap1234 { + yyl1599 := r.ReadMapStart() + if yyl1599 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1539, d) + x.codecDecodeSelfFromMap(yyl1599, d) } - } else if yyct1539 == codecSelferValueTypeArray1234 { - yyl1539 := r.ReadArrayStart() - if yyl1539 == 0 { + } else if yyct1599 == codecSelferValueTypeArray1234 { + yyl1599 := r.ReadArrayStart() + if yyl1599 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1539, d) + x.codecDecodeSelfFromArray(yyl1599, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18111,12 +18738,12 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1540Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1540Slc - var yyhl1540 bool = l >= 0 - for yyj1540 := 0; ; yyj1540++ { - if yyhl1540 { - if yyj1540 >= l { + var yys1600Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1600Slc + var yyhl1600 bool = l >= 0 + for yyj1600 := 0; ; yyj1600++ { + if yyhl1600 { + if yyj1600 >= l { break } } else { @@ -18125,10 +18752,10 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1540Slc = r.DecodeBytes(yys1540Slc, true, true) - yys1540 := string(yys1540Slc) + yys1600Slc = r.DecodeBytes(yys1600Slc, true, true) + yys1600 := string(yys1600Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1540 { + switch yys1600 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -18142,9 +18769,9 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys1540) - } // end switch yys1540 - } // end for yyj1540 + z.DecStructFieldNotFound(-1, yys1600) + } // end switch yys1600 + } // end for yyj1600 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18152,16 +18779,16 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1543 int - var yyb1543 bool - var yyhl1543 bool = l >= 0 - yyj1543++ - if yyhl1543 { - yyb1543 = yyj1543 > l + var yyj1603 int + var yyb1603 bool + var yyhl1603 bool = l >= 0 + yyj1603++ + if yyhl1603 { + yyb1603 = yyj1603 > l } else { - yyb1543 = r.CheckBreak() + yyb1603 = r.CheckBreak() } - if yyb1543 { + if yyb1603 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18171,13 +18798,13 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int64(r.DecodeInt(64)) } - yyj1543++ - if yyhl1543 { - yyb1543 = yyj1543 > l + yyj1603++ + if yyhl1603 { + yyb1603 = yyj1603 > l } else { - yyb1543 = r.CheckBreak() + yyb1603 = r.CheckBreak() } - if yyb1543 { + if yyb1603 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18188,17 +18815,17 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } for { - yyj1543++ - if yyhl1543 { - yyb1543 = yyj1543 > l + yyj1603++ + if yyhl1603 { + yyb1603 = yyj1603 > l } else { - yyb1543 = r.CheckBreak() + yyb1603 = r.CheckBreak() } - if yyb1543 { + if yyb1603 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1543-1, "") + z.DecStructFieldNotFound(yyj1603-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18207,8 +18834,8 @@ func (x RunAsUserStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1546 := z.EncBinary() - _ = yym1546 + yym1606 := z.EncBinary() + _ = yym1606 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18220,8 +18847,8 @@ func (x *RunAsUserStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1547 := z.DecBinary() - _ = yym1547 + yym1607 := z.DecBinary() + _ = yym1607 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18236,54 +18863,54 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1548 := z.EncBinary() - _ = yym1548 + yym1608 := z.EncBinary() + _ = yym1608 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1549 := !z.EncBinary() - yy2arr1549 := z.EncBasicHandle().StructToArray - var yyq1549 [2]bool - _, _, _ = yysep1549, yyq1549, yy2arr1549 - const yyr1549 bool = false - yyq1549[0] = x.Rule != "" - yyq1549[1] = len(x.Ranges) != 0 - var yynn1549 int - if yyr1549 || yy2arr1549 { + yysep1609 := !z.EncBinary() + yy2arr1609 := z.EncBasicHandle().StructToArray + var yyq1609 [2]bool + _, _, _ = yysep1609, yyq1609, yy2arr1609 + const yyr1609 bool = false + yyq1609[0] = x.Rule != "" + yyq1609[1] = len(x.Ranges) != 0 + var yynn1609 int + if yyr1609 || yy2arr1609 { r.EncodeArrayStart(2) } else { - yynn1549 = 0 - for _, b := range yyq1549 { + yynn1609 = 0 + for _, b := range yyq1609 { if b { - yynn1549++ + yynn1609++ } } - r.EncodeMapStart(yynn1549) - yynn1549 = 0 + r.EncodeMapStart(yynn1609) + yynn1609 = 0 } - if yyr1549 || yy2arr1549 { + if yyr1609 || yy2arr1609 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1549[0] { + if yyq1609[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1549[0] { + if yyq1609[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1549 || yy2arr1549 { + if yyr1609 || yy2arr1609 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1549[1] { + if yyq1609[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1552 := z.EncBinary() - _ = yym1552 + yym1612 := z.EncBinary() + _ = yym1612 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18293,15 +18920,15 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1549[1] { + if yyq1609[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1553 := z.EncBinary() - _ = yym1553 + yym1613 := z.EncBinary() + _ = yym1613 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18309,7 +18936,7 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1549 || yy2arr1549 { + if yyr1609 || yy2arr1609 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18322,25 +18949,25 @@ func (x *FSGroupStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1554 := z.DecBinary() - _ = yym1554 + yym1614 := z.DecBinary() + _ = yym1614 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1555 := r.ContainerType() - if yyct1555 == codecSelferValueTypeMap1234 { - yyl1555 := r.ReadMapStart() - if yyl1555 == 0 { + yyct1615 := r.ContainerType() + if yyct1615 == codecSelferValueTypeMap1234 { + yyl1615 := r.ReadMapStart() + if yyl1615 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1555, d) + x.codecDecodeSelfFromMap(yyl1615, d) } - } else if yyct1555 == codecSelferValueTypeArray1234 { - yyl1555 := r.ReadArrayStart() - if yyl1555 == 0 { + } else if yyct1615 == codecSelferValueTypeArray1234 { + yyl1615 := r.ReadArrayStart() + if yyl1615 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1555, d) + x.codecDecodeSelfFromArray(yyl1615, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18352,12 +18979,12 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1556Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1556Slc - var yyhl1556 bool = l >= 0 - for yyj1556 := 0; ; yyj1556++ { - if yyhl1556 { - if yyj1556 >= l { + var yys1616Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1616Slc + var yyhl1616 bool = l >= 0 + for yyj1616 := 0; ; yyj1616++ { + if yyhl1616 { + if yyj1616 >= l { break } } else { @@ -18366,10 +18993,10 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1556Slc = r.DecodeBytes(yys1556Slc, true, true) - yys1556 := string(yys1556Slc) + yys1616Slc = r.DecodeBytes(yys1616Slc, true, true) + yys1616 := string(yys1616Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1556 { + switch yys1616 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18380,18 +19007,18 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1558 := &x.Ranges - yym1559 := z.DecBinary() - _ = yym1559 + yyv1618 := &x.Ranges + yym1619 := z.DecBinary() + _ = yym1619 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1558), d) + h.decSliceIDRange((*[]IDRange)(yyv1618), d) } } default: - z.DecStructFieldNotFound(-1, yys1556) - } // end switch yys1556 - } // end for yyj1556 + z.DecStructFieldNotFound(-1, yys1616) + } // end switch yys1616 + } // end for yyj1616 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18399,16 +19026,16 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1560 int - var yyb1560 bool - var yyhl1560 bool = l >= 0 - yyj1560++ - if yyhl1560 { - yyb1560 = yyj1560 > l + var yyj1620 int + var yyb1620 bool + var yyhl1620 bool = l >= 0 + yyj1620++ + if yyhl1620 { + yyb1620 = yyj1620 > l } else { - yyb1560 = r.CheckBreak() + yyb1620 = r.CheckBreak() } - if yyb1560 { + if yyb1620 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18418,13 +19045,13 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = FSGroupStrategyType(r.DecodeString()) } - yyj1560++ - if yyhl1560 { - yyb1560 = yyj1560 > l + yyj1620++ + if yyhl1620 { + yyb1620 = yyj1620 > l } else { - yyb1560 = r.CheckBreak() + yyb1620 = r.CheckBreak() } - if yyb1560 { + if yyb1620 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18432,26 +19059,26 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1562 := &x.Ranges - yym1563 := z.DecBinary() - _ = yym1563 + yyv1622 := &x.Ranges + yym1623 := z.DecBinary() + _ = yym1623 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1562), d) + h.decSliceIDRange((*[]IDRange)(yyv1622), d) } } for { - yyj1560++ - if yyhl1560 { - yyb1560 = yyj1560 > l + yyj1620++ + if yyhl1620 { + yyb1620 = yyj1620 > l } else { - yyb1560 = r.CheckBreak() + yyb1620 = r.CheckBreak() } - if yyb1560 { + if yyb1620 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1560-1, "") + z.DecStructFieldNotFound(yyj1620-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18460,8 +19087,8 @@ func (x FSGroupStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1564 := z.EncBinary() - _ = yym1564 + yym1624 := z.EncBinary() + _ = yym1624 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18473,8 +19100,8 @@ func (x *FSGroupStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1565 := z.DecBinary() - _ = yym1565 + yym1625 := z.DecBinary() + _ = yym1625 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18489,54 +19116,54 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym1566 := z.EncBinary() - _ = yym1566 + yym1626 := z.EncBinary() + _ = yym1626 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1567 := !z.EncBinary() - yy2arr1567 := z.EncBasicHandle().StructToArray - var yyq1567 [2]bool - _, _, _ = yysep1567, yyq1567, yy2arr1567 - const yyr1567 bool = false - yyq1567[0] = x.Rule != "" - yyq1567[1] = len(x.Ranges) != 0 - var yynn1567 int - if yyr1567 || yy2arr1567 { + yysep1627 := !z.EncBinary() + yy2arr1627 := z.EncBasicHandle().StructToArray + var yyq1627 [2]bool + _, _, _ = yysep1627, yyq1627, yy2arr1627 + const yyr1627 bool = false + yyq1627[0] = x.Rule != "" + yyq1627[1] = len(x.Ranges) != 0 + var yynn1627 int + if yyr1627 || yy2arr1627 { r.EncodeArrayStart(2) } else { - yynn1567 = 0 - for _, b := range yyq1567 { + yynn1627 = 0 + for _, b := range yyq1627 { if b { - yynn1567++ + yynn1627++ } } - r.EncodeMapStart(yynn1567) - yynn1567 = 0 + r.EncodeMapStart(yynn1627) + yynn1627 = 0 } - if yyr1567 || yy2arr1567 { + if yyr1627 || yy2arr1627 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1567[0] { + if yyq1627[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1567[0] { + if yyq1627[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1567 || yy2arr1567 { + if yyr1627 || yy2arr1627 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1567[1] { + if yyq1627[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1570 := z.EncBinary() - _ = yym1570 + yym1630 := z.EncBinary() + _ = yym1630 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18546,15 +19173,15 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder r.EncodeNil() } } else { - if yyq1567[1] { + if yyq1627[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1571 := z.EncBinary() - _ = yym1571 + yym1631 := z.EncBinary() + _ = yym1631 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18562,7 +19189,7 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder } } } - if yyr1567 || yy2arr1567 { + if yyr1627 || yy2arr1627 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18575,25 +19202,25 @@ func (x *SupplementalGroupsStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1572 := z.DecBinary() - _ = yym1572 + yym1632 := z.DecBinary() + _ = yym1632 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1573 := r.ContainerType() - if yyct1573 == codecSelferValueTypeMap1234 { - yyl1573 := r.ReadMapStart() - if yyl1573 == 0 { + yyct1633 := r.ContainerType() + if yyct1633 == codecSelferValueTypeMap1234 { + yyl1633 := r.ReadMapStart() + if yyl1633 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1573, d) + x.codecDecodeSelfFromMap(yyl1633, d) } - } else if yyct1573 == codecSelferValueTypeArray1234 { - yyl1573 := r.ReadArrayStart() - if yyl1573 == 0 { + } else if yyct1633 == codecSelferValueTypeArray1234 { + yyl1633 := r.ReadArrayStart() + if yyl1633 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1573, d) + x.codecDecodeSelfFromArray(yyl1633, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18605,12 +19232,12 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1574Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1574Slc - var yyhl1574 bool = l >= 0 - for yyj1574 := 0; ; yyj1574++ { - if yyhl1574 { - if yyj1574 >= l { + var yys1634Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1634Slc + var yyhl1634 bool = l >= 0 + for yyj1634 := 0; ; yyj1634++ { + if yyhl1634 { + if yyj1634 >= l { break } } else { @@ -18619,10 +19246,10 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1574Slc = r.DecodeBytes(yys1574Slc, true, true) - yys1574 := string(yys1574Slc) + yys1634Slc = r.DecodeBytes(yys1634Slc, true, true) + yys1634 := string(yys1634Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1574 { + switch yys1634 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18633,18 +19260,18 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1576 := &x.Ranges - yym1577 := z.DecBinary() - _ = yym1577 + yyv1636 := &x.Ranges + yym1637 := z.DecBinary() + _ = yym1637 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1576), d) + h.decSliceIDRange((*[]IDRange)(yyv1636), d) } } default: - z.DecStructFieldNotFound(-1, yys1574) - } // end switch yys1574 - } // end for yyj1574 + z.DecStructFieldNotFound(-1, yys1634) + } // end switch yys1634 + } // end for yyj1634 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18652,16 +19279,16 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1578 int - var yyb1578 bool - var yyhl1578 bool = l >= 0 - yyj1578++ - if yyhl1578 { - yyb1578 = yyj1578 > l + var yyj1638 int + var yyb1638 bool + var yyhl1638 bool = l >= 0 + yyj1638++ + if yyhl1638 { + yyb1638 = yyj1638 > l } else { - yyb1578 = r.CheckBreak() + yyb1638 = r.CheckBreak() } - if yyb1578 { + if yyb1638 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18671,13 +19298,13 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c } else { x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) } - yyj1578++ - if yyhl1578 { - yyb1578 = yyj1578 > l + yyj1638++ + if yyhl1638 { + yyb1638 = yyj1638 > l } else { - yyb1578 = r.CheckBreak() + yyb1638 = r.CheckBreak() } - if yyb1578 { + if yyb1638 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18685,26 +19312,26 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1580 := &x.Ranges - yym1581 := z.DecBinary() - _ = yym1581 + yyv1640 := &x.Ranges + yym1641 := z.DecBinary() + _ = yym1641 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1580), d) + h.decSliceIDRange((*[]IDRange)(yyv1640), d) } } for { - yyj1578++ - if yyhl1578 { - yyb1578 = yyj1578 > l + yyj1638++ + if yyhl1638 { + yyb1638 = yyj1638 > l } else { - yyb1578 = r.CheckBreak() + yyb1638 = r.CheckBreak() } - if yyb1578 { + if yyb1638 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1578-1, "") + z.DecStructFieldNotFound(yyj1638-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18713,8 +19340,8 @@ func (x SupplementalGroupsStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1582 := z.EncBinary() - _ = yym1582 + yym1642 := z.EncBinary() + _ = yym1642 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18726,8 +19353,8 @@ func (x *SupplementalGroupsStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1583 := z.DecBinary() - _ = yym1583 + yym1643 := z.DecBinary() + _ = yym1643 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18742,37 +19369,37 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1584 := z.EncBinary() - _ = yym1584 + yym1644 := z.EncBinary() + _ = yym1644 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1585 := !z.EncBinary() - yy2arr1585 := z.EncBasicHandle().StructToArray - var yyq1585 [4]bool - _, _, _ = yysep1585, yyq1585, yy2arr1585 - const yyr1585 bool = false - yyq1585[0] = x.Kind != "" - yyq1585[1] = x.APIVersion != "" - yyq1585[2] = true - var yynn1585 int - if yyr1585 || yy2arr1585 { + yysep1645 := !z.EncBinary() + yy2arr1645 := z.EncBasicHandle().StructToArray + var yyq1645 [4]bool + _, _, _ = yysep1645, yyq1645, yy2arr1645 + const yyr1645 bool = false + yyq1645[0] = x.Kind != "" + yyq1645[1] = x.APIVersion != "" + yyq1645[2] = true + var yynn1645 int + if yyr1645 || yy2arr1645 { r.EncodeArrayStart(4) } else { - yynn1585 = 1 - for _, b := range yyq1585 { + yynn1645 = 1 + for _, b := range yyq1645 { if b { - yynn1585++ + yynn1645++ } } - r.EncodeMapStart(yynn1585) - yynn1585 = 0 + r.EncodeMapStart(yynn1645) + yynn1645 = 0 } - if yyr1585 || yy2arr1585 { + if yyr1645 || yy2arr1645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1585[0] { - yym1587 := z.EncBinary() - _ = yym1587 + if yyq1645[0] { + yym1647 := z.EncBinary() + _ = yym1647 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -18781,23 +19408,23 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1585[0] { + if yyq1645[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1588 := z.EncBinary() - _ = yym1588 + yym1648 := z.EncBinary() + _ = yym1648 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1585 || yy2arr1585 { + if yyr1645 || yy2arr1645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1585[1] { - yym1590 := z.EncBinary() - _ = yym1590 + if yyq1645[1] { + yym1650 := z.EncBinary() + _ = yym1650 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -18806,54 +19433,54 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1585[1] { + if yyq1645[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1591 := z.EncBinary() - _ = yym1591 + yym1651 := z.EncBinary() + _ = yym1651 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1585 || yy2arr1585 { + if yyr1645 || yy2arr1645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1585[2] { - yy1593 := &x.ListMeta - yym1594 := z.EncBinary() - _ = yym1594 + if yyq1645[2] { + yy1653 := &x.ListMeta + yym1654 := z.EncBinary() + _ = yym1654 if false { - } else if z.HasExtensions() && z.EncExt(yy1593) { + } else if z.HasExtensions() && z.EncExt(yy1653) { } else { - z.EncFallback(yy1593) + z.EncFallback(yy1653) } } else { r.EncodeNil() } } else { - if yyq1585[2] { + if yyq1645[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1595 := &x.ListMeta - yym1596 := z.EncBinary() - _ = yym1596 + yy1655 := &x.ListMeta + yym1656 := z.EncBinary() + _ = yym1656 if false { - } else if z.HasExtensions() && z.EncExt(yy1595) { + } else if z.HasExtensions() && z.EncExt(yy1655) { } else { - z.EncFallback(yy1595) + z.EncFallback(yy1655) } } } - if yyr1585 || yy2arr1585 { + if yyr1645 || yy2arr1645 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1598 := z.EncBinary() - _ = yym1598 + yym1658 := z.EncBinary() + _ = yym1658 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) @@ -18866,15 +19493,15 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1599 := z.EncBinary() - _ = yym1599 + yym1659 := z.EncBinary() + _ = yym1659 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) } } } - if yyr1585 || yy2arr1585 { + if yyr1645 || yy2arr1645 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18887,25 +19514,25 @@ func (x *PodSecurityPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1600 := z.DecBinary() - _ = yym1600 + yym1660 := z.DecBinary() + _ = yym1660 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1601 := r.ContainerType() - if yyct1601 == codecSelferValueTypeMap1234 { - yyl1601 := r.ReadMapStart() - if yyl1601 == 0 { + yyct1661 := r.ContainerType() + if yyct1661 == codecSelferValueTypeMap1234 { + yyl1661 := r.ReadMapStart() + if yyl1661 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1601, d) + x.codecDecodeSelfFromMap(yyl1661, d) } - } else if yyct1601 == codecSelferValueTypeArray1234 { - yyl1601 := r.ReadArrayStart() - if yyl1601 == 0 { + } else if yyct1661 == codecSelferValueTypeArray1234 { + yyl1661 := r.ReadArrayStart() + if yyl1661 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1601, d) + x.codecDecodeSelfFromArray(yyl1661, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18917,12 +19544,12 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1602Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1602Slc - var yyhl1602 bool = l >= 0 - for yyj1602 := 0; ; yyj1602++ { - if yyhl1602 { - if yyj1602 >= l { + var yys1662Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1662Slc + var yyhl1662 bool = l >= 0 + for yyj1662 := 0; ; yyj1662++ { + if yyhl1662 { + if yyj1662 >= l { break } } else { @@ -18931,10 +19558,10 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1602Slc = r.DecodeBytes(yys1602Slc, true, true) - yys1602 := string(yys1602Slc) + yys1662Slc = r.DecodeBytes(yys1662Slc, true, true) + yys1662 := string(yys1662Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1602 { + switch yys1662 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -18951,31 +19578,31 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1605 := &x.ListMeta - yym1606 := z.DecBinary() - _ = yym1606 + yyv1665 := &x.ListMeta + yym1666 := z.DecBinary() + _ = yym1666 if false { - } else if z.HasExtensions() && z.DecExt(yyv1605) { + } else if z.HasExtensions() && z.DecExt(yyv1665) { } else { - z.DecFallback(yyv1605, false) + z.DecFallback(yyv1665, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1607 := &x.Items - yym1608 := z.DecBinary() - _ = yym1608 + yyv1667 := &x.Items + yym1668 := z.DecBinary() + _ = yym1668 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1607), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1667), d) } } default: - z.DecStructFieldNotFound(-1, yys1602) - } // end switch yys1602 - } // end for yyj1602 + z.DecStructFieldNotFound(-1, yys1662) + } // end switch yys1662 + } // end for yyj1662 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18983,16 +19610,16 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1609 int - var yyb1609 bool - var yyhl1609 bool = l >= 0 - yyj1609++ - if yyhl1609 { - yyb1609 = yyj1609 > l + var yyj1669 int + var yyb1669 bool + var yyhl1669 bool = l >= 0 + yyj1669++ + if yyhl1669 { + yyb1669 = yyj1669 > l } else { - yyb1609 = r.CheckBreak() + yyb1669 = r.CheckBreak() } - if yyb1609 { + if yyb1669 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19002,13 +19629,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj1609++ - if yyhl1609 { - yyb1609 = yyj1609 > l + yyj1669++ + if yyhl1669 { + yyb1669 = yyj1669 > l } else { - yyb1609 = r.CheckBreak() + yyb1669 = r.CheckBreak() } - if yyb1609 { + if yyb1669 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19018,13 +19645,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj1609++ - if yyhl1609 { - yyb1609 = yyj1609 > l + yyj1669++ + if yyhl1669 { + yyb1669 = yyj1669 > l } else { - yyb1609 = r.CheckBreak() + yyb1669 = r.CheckBreak() } - if yyb1609 { + if yyb1669 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19032,22 +19659,22 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1612 := &x.ListMeta - yym1613 := z.DecBinary() - _ = yym1613 + yyv1672 := &x.ListMeta + yym1673 := z.DecBinary() + _ = yym1673 if false { - } else if z.HasExtensions() && z.DecExt(yyv1612) { + } else if z.HasExtensions() && z.DecExt(yyv1672) { } else { - z.DecFallback(yyv1612, false) + z.DecFallback(yyv1672, false) } } - yyj1609++ - if yyhl1609 { - yyb1609 = yyj1609 > l + yyj1669++ + if yyhl1669 { + yyb1669 = yyj1669 > l } else { - yyb1609 = r.CheckBreak() + yyb1669 = r.CheckBreak() } - if yyb1609 { + if yyb1669 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19055,26 +19682,26 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1614 := &x.Items - yym1615 := z.DecBinary() - _ = yym1615 + yyv1674 := &x.Items + yym1675 := z.DecBinary() + _ = yym1675 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1614), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1674), d) } } for { - yyj1609++ - if yyhl1609 { - yyb1609 = yyj1609 > l + yyj1669++ + if yyhl1669 { + yyb1669 = yyj1669 > l } else { - yyb1609 = r.CheckBreak() + yyb1669 = r.CheckBreak() } - if yyb1609 { + if yyb1669 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1609-1, "") + z.DecStructFieldNotFound(yyj1669-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19086,38 +19713,38 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1616 := z.EncBinary() - _ = yym1616 + yym1676 := z.EncBinary() + _ = yym1676 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1617 := !z.EncBinary() - yy2arr1617 := z.EncBasicHandle().StructToArray - var yyq1617 [4]bool - _, _, _ = yysep1617, yyq1617, yy2arr1617 - const yyr1617 bool = false - yyq1617[0] = x.Kind != "" - yyq1617[1] = x.APIVersion != "" - yyq1617[2] = true - yyq1617[3] = true - var yynn1617 int - if yyr1617 || yy2arr1617 { + yysep1677 := !z.EncBinary() + yy2arr1677 := z.EncBasicHandle().StructToArray + var yyq1677 [4]bool + _, _, _ = yysep1677, yyq1677, yy2arr1677 + const yyr1677 bool = false + yyq1677[0] = x.Kind != "" + yyq1677[1] = x.APIVersion != "" + yyq1677[2] = true + yyq1677[3] = true + var yynn1677 int + if yyr1677 || yy2arr1677 { r.EncodeArrayStart(4) } else { - yynn1617 = 0 - for _, b := range yyq1617 { + yynn1677 = 0 + for _, b := range yyq1677 { if b { - yynn1617++ + yynn1677++ } } - r.EncodeMapStart(yynn1617) - yynn1617 = 0 + r.EncodeMapStart(yynn1677) + yynn1677 = 0 } - if yyr1617 || yy2arr1617 { + if yyr1677 || yy2arr1677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1617[0] { - yym1619 := z.EncBinary() - _ = yym1619 + if yyq1677[0] { + yym1679 := z.EncBinary() + _ = yym1679 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -19126,23 +19753,23 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1617[0] { + if yyq1677[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1620 := z.EncBinary() - _ = yym1620 + yym1680 := z.EncBinary() + _ = yym1680 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1617 || yy2arr1617 { + if yyr1677 || yy2arr1677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1617[1] { - yym1622 := z.EncBinary() - _ = yym1622 + if yyq1677[1] { + yym1682 := z.EncBinary() + _ = yym1682 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -19151,53 +19778,53 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1617[1] { + if yyq1677[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1623 := z.EncBinary() - _ = yym1623 + yym1683 := z.EncBinary() + _ = yym1683 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1617 || yy2arr1617 { + if yyr1677 || yy2arr1677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1617[2] { - yy1625 := &x.ObjectMeta - yy1625.CodecEncodeSelf(e) + if yyq1677[2] { + yy1685 := &x.ObjectMeta + yy1685.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1617[2] { + if yyq1677[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1626 := &x.ObjectMeta - yy1626.CodecEncodeSelf(e) + yy1686 := &x.ObjectMeta + yy1686.CodecEncodeSelf(e) } } - if yyr1617 || yy2arr1617 { + if yyr1677 || yy2arr1677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1617[3] { - yy1628 := &x.Spec - yy1628.CodecEncodeSelf(e) + if yyq1677[3] { + yy1688 := &x.Spec + yy1688.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1617[3] { + if yyq1677[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1629 := &x.Spec - yy1629.CodecEncodeSelf(e) + yy1689 := &x.Spec + yy1689.CodecEncodeSelf(e) } } - if yyr1617 || yy2arr1617 { + if yyr1677 || yy2arr1677 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19210,25 +19837,25 @@ func (x *NetworkPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1630 := z.DecBinary() - _ = yym1630 + yym1690 := z.DecBinary() + _ = yym1690 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1631 := r.ContainerType() - if yyct1631 == codecSelferValueTypeMap1234 { - yyl1631 := r.ReadMapStart() - if yyl1631 == 0 { + yyct1691 := r.ContainerType() + if yyct1691 == codecSelferValueTypeMap1234 { + yyl1691 := r.ReadMapStart() + if yyl1691 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1631, d) + x.codecDecodeSelfFromMap(yyl1691, d) } - } else if yyct1631 == codecSelferValueTypeArray1234 { - yyl1631 := r.ReadArrayStart() - if yyl1631 == 0 { + } else if yyct1691 == codecSelferValueTypeArray1234 { + yyl1691 := r.ReadArrayStart() + if yyl1691 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1631, d) + x.codecDecodeSelfFromArray(yyl1691, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19240,12 +19867,12 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1632Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1632Slc - var yyhl1632 bool = l >= 0 - for yyj1632 := 0; ; yyj1632++ { - if yyhl1632 { - if yyj1632 >= l { + var yys1692Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1692Slc + var yyhl1692 bool = l >= 0 + for yyj1692 := 0; ; yyj1692++ { + if yyhl1692 { + if yyj1692 >= l { break } } else { @@ -19254,10 +19881,10 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1632Slc = r.DecodeBytes(yys1632Slc, true, true) - yys1632 := string(yys1632Slc) + yys1692Slc = r.DecodeBytes(yys1692Slc, true, true) + yys1692 := string(yys1692Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1632 { + switch yys1692 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -19274,20 +19901,20 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1635 := &x.ObjectMeta - yyv1635.CodecDecodeSelf(d) + yyv1695 := &x.ObjectMeta + yyv1695.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1636 := &x.Spec - yyv1636.CodecDecodeSelf(d) + yyv1696 := &x.Spec + yyv1696.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1632) - } // end switch yys1632 - } // end for yyj1632 + z.DecStructFieldNotFound(-1, yys1692) + } // end switch yys1692 + } // end for yyj1692 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19295,16 +19922,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1637 int - var yyb1637 bool - var yyhl1637 bool = l >= 0 - yyj1637++ - if yyhl1637 { - yyb1637 = yyj1637 > l + var yyj1697 int + var yyb1697 bool + var yyhl1697 bool = l >= 0 + yyj1697++ + if yyhl1697 { + yyb1697 = yyj1697 > l } else { - yyb1637 = r.CheckBreak() + yyb1697 = r.CheckBreak() } - if yyb1637 { + if yyb1697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19314,13 +19941,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1637++ - if yyhl1637 { - yyb1637 = yyj1637 > l + yyj1697++ + if yyhl1697 { + yyb1697 = yyj1697 > l } else { - yyb1637 = r.CheckBreak() + yyb1697 = r.CheckBreak() } - if yyb1637 { + if yyb1697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19330,13 +19957,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1637++ - if yyhl1637 { - yyb1637 = yyj1637 > l + yyj1697++ + if yyhl1697 { + yyb1697 = yyj1697 > l } else { - yyb1637 = r.CheckBreak() + yyb1697 = r.CheckBreak() } - if yyb1637 { + if yyb1697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19344,16 +19971,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1640 := &x.ObjectMeta - yyv1640.CodecDecodeSelf(d) + yyv1700 := &x.ObjectMeta + yyv1700.CodecDecodeSelf(d) } - yyj1637++ - if yyhl1637 { - yyb1637 = yyj1637 > l + yyj1697++ + if yyhl1697 { + yyb1697 = yyj1697 > l } else { - yyb1637 = r.CheckBreak() + yyb1697 = r.CheckBreak() } - if yyb1637 { + if yyb1697 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19361,21 +19988,21 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1641 := &x.Spec - yyv1641.CodecDecodeSelf(d) + yyv1701 := &x.Spec + yyv1701.CodecDecodeSelf(d) } for { - yyj1637++ - if yyhl1637 { - yyb1637 = yyj1637 > l + yyj1697++ + if yyhl1697 { + yyb1697 = yyj1697 > l } else { - yyb1637 = r.CheckBreak() + yyb1697 = r.CheckBreak() } - if yyb1637 { + if yyb1697 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1637-1, "") + z.DecStructFieldNotFound(yyj1697-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19387,61 +20014,61 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1642 := z.EncBinary() - _ = yym1642 + yym1702 := z.EncBinary() + _ = yym1702 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1643 := !z.EncBinary() - yy2arr1643 := z.EncBasicHandle().StructToArray - var yyq1643 [2]bool - _, _, _ = yysep1643, yyq1643, yy2arr1643 - const yyr1643 bool = false - yyq1643[1] = len(x.Ingress) != 0 - var yynn1643 int - if yyr1643 || yy2arr1643 { + yysep1703 := !z.EncBinary() + yy2arr1703 := z.EncBasicHandle().StructToArray + var yyq1703 [2]bool + _, _, _ = yysep1703, yyq1703, yy2arr1703 + const yyr1703 bool = false + yyq1703[1] = len(x.Ingress) != 0 + var yynn1703 int + if yyr1703 || yy2arr1703 { r.EncodeArrayStart(2) } else { - yynn1643 = 1 - for _, b := range yyq1643 { + yynn1703 = 1 + for _, b := range yyq1703 { if b { - yynn1643++ + yynn1703++ } } - r.EncodeMapStart(yynn1643) - yynn1643 = 0 + r.EncodeMapStart(yynn1703) + yynn1703 = 0 } - if yyr1643 || yy2arr1643 { + if yyr1703 || yy2arr1703 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1645 := &x.PodSelector - yym1646 := z.EncBinary() - _ = yym1646 + yy1705 := &x.PodSelector + yym1706 := z.EncBinary() + _ = yym1706 if false { - } else if z.HasExtensions() && z.EncExt(yy1645) { + } else if z.HasExtensions() && z.EncExt(yy1705) { } else { - z.EncFallback(yy1645) + z.EncFallback(yy1705) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1647 := &x.PodSelector - yym1648 := z.EncBinary() - _ = yym1648 + yy1707 := &x.PodSelector + yym1708 := z.EncBinary() + _ = yym1708 if false { - } else if z.HasExtensions() && z.EncExt(yy1647) { + } else if z.HasExtensions() && z.EncExt(yy1707) { } else { - z.EncFallback(yy1647) + z.EncFallback(yy1707) } } - if yyr1643 || yy2arr1643 { + if yyr1703 || yy2arr1703 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1643[1] { + if yyq1703[1] { if x.Ingress == nil { r.EncodeNil() } else { - yym1650 := z.EncBinary() - _ = yym1650 + yym1710 := z.EncBinary() + _ = yym1710 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -19451,15 +20078,15 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1643[1] { + if yyq1703[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym1651 := z.EncBinary() - _ = yym1651 + yym1711 := z.EncBinary() + _ = yym1711 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -19467,7 +20094,7 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1643 || yy2arr1643 { + if yyr1703 || yy2arr1703 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19477,805 +20104,6 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *NetworkPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1652 := z.DecBinary() - _ = yym1652 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1653 := r.ContainerType() - if yyct1653 == codecSelferValueTypeMap1234 { - yyl1653 := r.ReadMapStart() - if yyl1653 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1653, d) - } - } else if yyct1653 == codecSelferValueTypeArray1234 { - yyl1653 := r.ReadArrayStart() - if yyl1653 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1653, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1654Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1654Slc - var yyhl1654 bool = l >= 0 - for yyj1654 := 0; ; yyj1654++ { - if yyhl1654 { - if yyj1654 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1654Slc = r.DecodeBytes(yys1654Slc, true, true) - yys1654 := string(yys1654Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1654 { - case "podSelector": - if r.TryDecodeAsNil() { - x.PodSelector = pkg1_unversioned.LabelSelector{} - } else { - yyv1655 := &x.PodSelector - yym1656 := z.DecBinary() - _ = yym1656 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1655) { - } else { - z.DecFallback(yyv1655, false) - } - } - case "ingress": - if r.TryDecodeAsNil() { - x.Ingress = nil - } else { - yyv1657 := &x.Ingress - yym1658 := z.DecBinary() - _ = yym1658 - if false { - } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1657), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1654) - } // end switch yys1654 - } // end for yyj1654 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1659 int - var yyb1659 bool - var yyhl1659 bool = l >= 0 - yyj1659++ - if yyhl1659 { - yyb1659 = yyj1659 > l - } else { - yyb1659 = r.CheckBreak() - } - if yyb1659 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodSelector = pkg1_unversioned.LabelSelector{} - } else { - yyv1660 := &x.PodSelector - yym1661 := z.DecBinary() - _ = yym1661 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1660) { - } else { - z.DecFallback(yyv1660, false) - } - } - yyj1659++ - if yyhl1659 { - yyb1659 = yyj1659 > l - } else { - yyb1659 = r.CheckBreak() - } - if yyb1659 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Ingress = nil - } else { - yyv1662 := &x.Ingress - yym1663 := z.DecBinary() - _ = yym1663 - if false { - } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1662), d) - } - } - for { - yyj1659++ - if yyhl1659 { - yyb1659 = yyj1659 > l - } else { - yyb1659 = r.CheckBreak() - } - if yyb1659 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1659-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1664 := z.EncBinary() - _ = yym1664 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1665 := !z.EncBinary() - yy2arr1665 := z.EncBasicHandle().StructToArray - var yyq1665 [2]bool - _, _, _ = yysep1665, yyq1665, yy2arr1665 - const yyr1665 bool = false - yyq1665[0] = len(x.Ports) != 0 - yyq1665[1] = len(x.From) != 0 - var yynn1665 int - if yyr1665 || yy2arr1665 { - r.EncodeArrayStart(2) - } else { - yynn1665 = 0 - for _, b := range yyq1665 { - if b { - yynn1665++ - } - } - r.EncodeMapStart(yynn1665) - yynn1665 = 0 - } - if yyr1665 || yy2arr1665 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1665[0] { - if x.Ports == nil { - r.EncodeNil() - } else { - yym1667 := z.EncBinary() - _ = yym1667 - if false { - } else { - h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1665[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("ports")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Ports == nil { - r.EncodeNil() - } else { - yym1668 := z.EncBinary() - _ = yym1668 - if false { - } else { - h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) - } - } - } - } - if yyr1665 || yy2arr1665 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1665[1] { - if x.From == nil { - r.EncodeNil() - } else { - yym1670 := z.EncBinary() - _ = yym1670 - if false { - } else { - h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1665[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("from")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.From == nil { - r.EncodeNil() - } else { - yym1671 := z.EncBinary() - _ = yym1671 - if false { - } else { - h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) - } - } - } - } - if yyr1665 || yy2arr1665 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NetworkPolicyIngressRule) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1672 := z.DecBinary() - _ = yym1672 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1673 := r.ContainerType() - if yyct1673 == codecSelferValueTypeMap1234 { - yyl1673 := r.ReadMapStart() - if yyl1673 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1673, d) - } - } else if yyct1673 == codecSelferValueTypeArray1234 { - yyl1673 := r.ReadArrayStart() - if yyl1673 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1673, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1674Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1674Slc - var yyhl1674 bool = l >= 0 - for yyj1674 := 0; ; yyj1674++ { - if yyhl1674 { - if yyj1674 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1674Slc = r.DecodeBytes(yys1674Slc, true, true) - yys1674 := string(yys1674Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1674 { - case "ports": - if r.TryDecodeAsNil() { - x.Ports = nil - } else { - yyv1675 := &x.Ports - yym1676 := z.DecBinary() - _ = yym1676 - if false { - } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1675), d) - } - } - case "from": - if r.TryDecodeAsNil() { - x.From = nil - } else { - yyv1677 := &x.From - yym1678 := z.DecBinary() - _ = yym1678 - if false { - } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1677), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1674) - } // end switch yys1674 - } // end for yyj1674 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1679 int - var yyb1679 bool - var yyhl1679 bool = l >= 0 - yyj1679++ - if yyhl1679 { - yyb1679 = yyj1679 > l - } else { - yyb1679 = r.CheckBreak() - } - if yyb1679 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Ports = nil - } else { - yyv1680 := &x.Ports - yym1681 := z.DecBinary() - _ = yym1681 - if false { - } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1680), d) - } - } - yyj1679++ - if yyhl1679 { - yyb1679 = yyj1679 > l - } else { - yyb1679 = r.CheckBreak() - } - if yyb1679 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.From = nil - } else { - yyv1682 := &x.From - yym1683 := z.DecBinary() - _ = yym1683 - if false { - } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1682), d) - } - } - for { - yyj1679++ - if yyhl1679 { - yyb1679 = yyj1679 > l - } else { - yyb1679 = r.CheckBreak() - } - if yyb1679 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1679-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1684 := z.EncBinary() - _ = yym1684 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1685 := !z.EncBinary() - yy2arr1685 := z.EncBasicHandle().StructToArray - var yyq1685 [2]bool - _, _, _ = yysep1685, yyq1685, yy2arr1685 - const yyr1685 bool = false - yyq1685[0] = x.Protocol != nil - yyq1685[1] = x.Port != nil - var yynn1685 int - if yyr1685 || yy2arr1685 { - r.EncodeArrayStart(2) - } else { - yynn1685 = 0 - for _, b := range yyq1685 { - if b { - yynn1685++ - } - } - r.EncodeMapStart(yynn1685) - yynn1685 = 0 - } - if yyr1685 || yy2arr1685 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1685[0] { - if x.Protocol == nil { - r.EncodeNil() - } else { - yy1687 := *x.Protocol - yym1688 := z.EncBinary() - _ = yym1688 - if false { - } else if z.HasExtensions() && z.EncExt(yy1687) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1687)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1685[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("protocol")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Protocol == nil { - r.EncodeNil() - } else { - yy1689 := *x.Protocol - yym1690 := z.EncBinary() - _ = yym1690 - if false { - } else if z.HasExtensions() && z.EncExt(yy1689) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1689)) - } - } - } - } - if yyr1685 || yy2arr1685 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1685[1] { - if x.Port == nil { - r.EncodeNil() - } else { - yym1692 := z.EncBinary() - _ = yym1692 - if false { - } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1692 && z.IsJSONHandle() { - z.EncJSONMarshal(x.Port) - } else { - z.EncFallback(x.Port) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1685[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("port")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Port == nil { - r.EncodeNil() - } else { - yym1693 := z.EncBinary() - _ = yym1693 - if false { - } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1693 && z.IsJSONHandle() { - z.EncJSONMarshal(x.Port) - } else { - z.EncFallback(x.Port) - } - } - } - } - if yyr1685 || yy2arr1685 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NetworkPolicyPort) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1694 := z.DecBinary() - _ = yym1694 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1695 := r.ContainerType() - if yyct1695 == codecSelferValueTypeMap1234 { - yyl1695 := r.ReadMapStart() - if yyl1695 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1695, d) - } - } else if yyct1695 == codecSelferValueTypeArray1234 { - yyl1695 := r.ReadArrayStart() - if yyl1695 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1695, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1696Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1696Slc - var yyhl1696 bool = l >= 0 - for yyj1696 := 0; ; yyj1696++ { - if yyhl1696 { - if yyj1696 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1696Slc = r.DecodeBytes(yys1696Slc, true, true) - yys1696 := string(yys1696Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1696 { - case "protocol": - if r.TryDecodeAsNil() { - if x.Protocol != nil { - x.Protocol = nil - } - } else { - if x.Protocol == nil { - x.Protocol = new(pkg2_v1.Protocol) - } - x.Protocol.CodecDecodeSelf(d) - } - case "port": - if r.TryDecodeAsNil() { - if x.Port != nil { - x.Port = nil - } - } else { - if x.Port == nil { - x.Port = new(pkg5_intstr.IntOrString) - } - yym1699 := z.DecBinary() - _ = yym1699 - if false { - } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1699 && z.IsJSONHandle() { - z.DecJSONUnmarshal(x.Port) - } else { - z.DecFallback(x.Port, false) - } - } - default: - z.DecStructFieldNotFound(-1, yys1696) - } // end switch yys1696 - } // end for yyj1696 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1700 int - var yyb1700 bool - var yyhl1700 bool = l >= 0 - yyj1700++ - if yyhl1700 { - yyb1700 = yyj1700 > l - } else { - yyb1700 = r.CheckBreak() - } - if yyb1700 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.Protocol != nil { - x.Protocol = nil - } - } else { - if x.Protocol == nil { - x.Protocol = new(pkg2_v1.Protocol) - } - x.Protocol.CodecDecodeSelf(d) - } - yyj1700++ - if yyhl1700 { - yyb1700 = yyj1700 > l - } else { - yyb1700 = r.CheckBreak() - } - if yyb1700 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.Port != nil { - x.Port = nil - } - } else { - if x.Port == nil { - x.Port = new(pkg5_intstr.IntOrString) - } - yym1703 := z.DecBinary() - _ = yym1703 - if false { - } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1703 && z.IsJSONHandle() { - z.DecJSONUnmarshal(x.Port) - } else { - z.DecFallback(x.Port, false) - } - } - for { - yyj1700++ - if yyhl1700 { - yyb1700 = yyj1700 > l - } else { - yyb1700 = r.CheckBreak() - } - if yyb1700 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1700-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1704 := z.EncBinary() - _ = yym1704 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1705 := !z.EncBinary() - yy2arr1705 := z.EncBasicHandle().StructToArray - var yyq1705 [2]bool - _, _, _ = yysep1705, yyq1705, yy2arr1705 - const yyr1705 bool = false - yyq1705[0] = x.PodSelector != nil - yyq1705[1] = x.NamespaceSelector != nil - var yynn1705 int - if yyr1705 || yy2arr1705 { - r.EncodeArrayStart(2) - } else { - yynn1705 = 0 - for _, b := range yyq1705 { - if b { - yynn1705++ - } - } - r.EncodeMapStart(yynn1705) - yynn1705 = 0 - } - if yyr1705 || yy2arr1705 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1705[0] { - if x.PodSelector == nil { - r.EncodeNil() - } else { - yym1707 := z.EncBinary() - _ = yym1707 - if false { - } else if z.HasExtensions() && z.EncExt(x.PodSelector) { - } else { - z.EncFallback(x.PodSelector) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1705[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("podSelector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.PodSelector == nil { - r.EncodeNil() - } else { - yym1708 := z.EncBinary() - _ = yym1708 - if false { - } else if z.HasExtensions() && z.EncExt(x.PodSelector) { - } else { - z.EncFallback(x.PodSelector) - } - } - } - } - if yyr1705 || yy2arr1705 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1705[1] { - if x.NamespaceSelector == nil { - r.EncodeNil() - } else { - yym1710 := z.EncBinary() - _ = yym1710 - if false { - } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { - } else { - z.EncFallback(x.NamespaceSelector) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1705[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("namespaceSelector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.NamespaceSelector == nil { - r.EncodeNil() - } else { - yym1711 := z.EncBinary() - _ = yym1711 - if false { - } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { - } else { - z.EncFallback(x.NamespaceSelector) - } - } - } - } - if yyr1705 || yy2arr1705 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -20305,7 +20133,7 @@ func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -20329,36 +20157,27 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) switch yys1714 { case "podSelector": if r.TryDecodeAsNil() { - if x.PodSelector != nil { - x.PodSelector = nil - } + x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - if x.PodSelector == nil { - x.PodSelector = new(pkg1_unversioned.LabelSelector) - } + yyv1715 := &x.PodSelector yym1716 := z.DecBinary() _ = yym1716 if false { - } else if z.HasExtensions() && z.DecExt(x.PodSelector) { + } else if z.HasExtensions() && z.DecExt(yyv1715) { } else { - z.DecFallback(x.PodSelector, false) + z.DecFallback(yyv1715, false) } } - case "namespaceSelector": + case "ingress": if r.TryDecodeAsNil() { - if x.NamespaceSelector != nil { - x.NamespaceSelector = nil - } + x.Ingress = nil } else { - if x.NamespaceSelector == nil { - x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) - } + yyv1717 := &x.Ingress yym1718 := z.DecBinary() _ = yym1718 if false { - } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { } else { - z.DecFallback(x.NamespaceSelector, false) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1717), d) } } default: @@ -20368,7 +20187,7 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -20387,19 +20206,15 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.PodSelector != nil { - x.PodSelector = nil - } + x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - if x.PodSelector == nil { - x.PodSelector = new(pkg1_unversioned.LabelSelector) - } + yyv1720 := &x.PodSelector yym1721 := z.DecBinary() _ = yym1721 if false { - } else if z.HasExtensions() && z.DecExt(x.PodSelector) { + } else if z.HasExtensions() && z.DecExt(yyv1720) { } else { - z.DecFallback(x.PodSelector, false) + z.DecFallback(yyv1720, false) } } yyj1719++ @@ -20414,19 +20229,14 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.NamespaceSelector != nil { - x.NamespaceSelector = nil - } + x.Ingress = nil } else { - if x.NamespaceSelector == nil { - x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) - } + yyv1722 := &x.Ingress yym1723 := z.DecBinary() _ = yym1723 if false { - } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { } else { - z.DecFallback(x.NamespaceSelector, false) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1722), d) } } for { @@ -20445,7 +20255,7 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -20459,17 +20269,16 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep1725 := !z.EncBinary() yy2arr1725 := z.EncBasicHandle().StructToArray - var yyq1725 [4]bool + var yyq1725 [2]bool _, _, _ = yysep1725, yyq1725, yy2arr1725 const yyr1725 bool = false - yyq1725[0] = x.Kind != "" - yyq1725[1] = x.APIVersion != "" - yyq1725[2] = true + yyq1725[0] = len(x.Ports) != 0 + yyq1725[1] = len(x.From) != 0 var yynn1725 int if yyr1725 || yy2arr1725 { - r.EncodeArrayStart(4) + r.EncodeArrayStart(2) } else { - yynn1725 = 1 + yynn1725 = 0 for _, b := range yyq1725 { if b { yynn1725++ @@ -20481,106 +20290,66 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if yyr1725 || yy2arr1725 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq1725[0] { - yym1727 := z.EncBinary() - _ = yym1727 - if false { + if x.Ports == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + yym1727 := z.EncBinary() + _ = yym1727 + if false { + } else { + h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) + } } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeNil() } } else { if yyq1725[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) + r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1728 := z.EncBinary() - _ = yym1728 - if false { + if x.Ports == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + yym1728 := z.EncBinary() + _ = yym1728 + if false { + } else { + h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) + } } } } if yyr1725 || yy2arr1725 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq1725[1] { - yym1730 := z.EncBinary() - _ = yym1730 - if false { + if x.From == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + yym1730 := z.EncBinary() + _ = yym1730 + if false { + } else { + h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) + } } } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeNil() } } else { if yyq1725[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("from")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1731 := z.EncBinary() - _ = yym1731 - if false { + if x.From == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1725 || yy2arr1725 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1725[2] { - yy1733 := &x.ListMeta - yym1734 := z.EncBinary() - _ = yym1734 - if false { - } else if z.HasExtensions() && z.EncExt(yy1733) { - } else { - z.EncFallback(yy1733) - } - } else { - r.EncodeNil() - } - } else { - if yyq1725[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1735 := &x.ListMeta - yym1736 := z.EncBinary() - _ = yym1736 - if false { - } else if z.HasExtensions() && z.EncExt(yy1735) { - } else { - z.EncFallback(yy1735) - } - } - } - if yyr1725 || yy2arr1725 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym1738 := z.EncBinary() - _ = yym1738 - if false { - } else { - h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("items")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym1739 := z.EncBinary() - _ = yym1739 - if false { - } else { - h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) + yym1731 := z.EncBinary() + _ = yym1731 + if false { + } else { + h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) + } } } } @@ -20593,29 +20362,887 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { } } +func (x *NetworkPolicyIngressRule) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1732 := z.DecBinary() + _ = yym1732 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1733 := r.ContainerType() + if yyct1733 == codecSelferValueTypeMap1234 { + yyl1733 := r.ReadMapStart() + if yyl1733 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1733, d) + } + } else if yyct1733 == codecSelferValueTypeArray1234 { + yyl1733 := r.ReadArrayStart() + if yyl1733 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1733, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1734Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1734Slc + var yyhl1734 bool = l >= 0 + for yyj1734 := 0; ; yyj1734++ { + if yyhl1734 { + if yyj1734 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1734Slc = r.DecodeBytes(yys1734Slc, true, true) + yys1734 := string(yys1734Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1734 { + case "ports": + if r.TryDecodeAsNil() { + x.Ports = nil + } else { + yyv1735 := &x.Ports + yym1736 := z.DecBinary() + _ = yym1736 + if false { + } else { + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1735), d) + } + } + case "from": + if r.TryDecodeAsNil() { + x.From = nil + } else { + yyv1737 := &x.From + yym1738 := z.DecBinary() + _ = yym1738 + if false { + } else { + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1737), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1734) + } // end switch yys1734 + } // end for yyj1734 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1739 int + var yyb1739 bool + var yyhl1739 bool = l >= 0 + yyj1739++ + if yyhl1739 { + yyb1739 = yyj1739 > l + } else { + yyb1739 = r.CheckBreak() + } + if yyb1739 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Ports = nil + } else { + yyv1740 := &x.Ports + yym1741 := z.DecBinary() + _ = yym1741 + if false { + } else { + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1740), d) + } + } + yyj1739++ + if yyhl1739 { + yyb1739 = yyj1739 > l + } else { + yyb1739 = r.CheckBreak() + } + if yyb1739 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.From = nil + } else { + yyv1742 := &x.From + yym1743 := z.DecBinary() + _ = yym1743 + if false { + } else { + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1742), d) + } + } + for { + yyj1739++ + if yyhl1739 { + yyb1739 = yyj1739 > l + } else { + yyb1739 = r.CheckBreak() + } + if yyb1739 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1739-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1744 := z.EncBinary() + _ = yym1744 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1745 := !z.EncBinary() + yy2arr1745 := z.EncBasicHandle().StructToArray + var yyq1745 [2]bool + _, _, _ = yysep1745, yyq1745, yy2arr1745 + const yyr1745 bool = false + yyq1745[0] = x.Protocol != nil + yyq1745[1] = x.Port != nil + var yynn1745 int + if yyr1745 || yy2arr1745 { + r.EncodeArrayStart(2) + } else { + yynn1745 = 0 + for _, b := range yyq1745 { + if b { + yynn1745++ + } + } + r.EncodeMapStart(yynn1745) + yynn1745 = 0 + } + if yyr1745 || yy2arr1745 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1745[0] { + if x.Protocol == nil { + r.EncodeNil() + } else { + yy1747 := *x.Protocol + yym1748 := z.EncBinary() + _ = yym1748 + if false { + } else if z.HasExtensions() && z.EncExt(yy1747) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yy1747)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1745[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("protocol")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Protocol == nil { + r.EncodeNil() + } else { + yy1749 := *x.Protocol + yym1750 := z.EncBinary() + _ = yym1750 + if false { + } else if z.HasExtensions() && z.EncExt(yy1749) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yy1749)) + } + } + } + } + if yyr1745 || yy2arr1745 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1745[1] { + if x.Port == nil { + r.EncodeNil() + } else { + yym1752 := z.EncBinary() + _ = yym1752 + if false { + } else if z.HasExtensions() && z.EncExt(x.Port) { + } else if !yym1752 && z.IsJSONHandle() { + z.EncJSONMarshal(x.Port) + } else { + z.EncFallback(x.Port) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1745[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("port")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Port == nil { + r.EncodeNil() + } else { + yym1753 := z.EncBinary() + _ = yym1753 + if false { + } else if z.HasExtensions() && z.EncExt(x.Port) { + } else if !yym1753 && z.IsJSONHandle() { + z.EncJSONMarshal(x.Port) + } else { + z.EncFallback(x.Port) + } + } + } + } + if yyr1745 || yy2arr1745 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NetworkPolicyPort) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1754 := z.DecBinary() + _ = yym1754 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1755 := r.ContainerType() + if yyct1755 == codecSelferValueTypeMap1234 { + yyl1755 := r.ReadMapStart() + if yyl1755 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1755, d) + } + } else if yyct1755 == codecSelferValueTypeArray1234 { + yyl1755 := r.ReadArrayStart() + if yyl1755 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1755, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1756Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1756Slc + var yyhl1756 bool = l >= 0 + for yyj1756 := 0; ; yyj1756++ { + if yyhl1756 { + if yyj1756 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1756Slc = r.DecodeBytes(yys1756Slc, true, true) + yys1756 := string(yys1756Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1756 { + case "protocol": + if r.TryDecodeAsNil() { + if x.Protocol != nil { + x.Protocol = nil + } + } else { + if x.Protocol == nil { + x.Protocol = new(pkg2_v1.Protocol) + } + x.Protocol.CodecDecodeSelf(d) + } + case "port": + if r.TryDecodeAsNil() { + if x.Port != nil { + x.Port = nil + } + } else { + if x.Port == nil { + x.Port = new(pkg5_intstr.IntOrString) + } + yym1759 := z.DecBinary() + _ = yym1759 + if false { + } else if z.HasExtensions() && z.DecExt(x.Port) { + } else if !yym1759 && z.IsJSONHandle() { + z.DecJSONUnmarshal(x.Port) + } else { + z.DecFallback(x.Port, false) + } + } + default: + z.DecStructFieldNotFound(-1, yys1756) + } // end switch yys1756 + } // end for yyj1756 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1760 int + var yyb1760 bool + var yyhl1760 bool = l >= 0 + yyj1760++ + if yyhl1760 { + yyb1760 = yyj1760 > l + } else { + yyb1760 = r.CheckBreak() + } + if yyb1760 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.Protocol != nil { + x.Protocol = nil + } + } else { + if x.Protocol == nil { + x.Protocol = new(pkg2_v1.Protocol) + } + x.Protocol.CodecDecodeSelf(d) + } + yyj1760++ + if yyhl1760 { + yyb1760 = yyj1760 > l + } else { + yyb1760 = r.CheckBreak() + } + if yyb1760 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.Port != nil { + x.Port = nil + } + } else { + if x.Port == nil { + x.Port = new(pkg5_intstr.IntOrString) + } + yym1763 := z.DecBinary() + _ = yym1763 + if false { + } else if z.HasExtensions() && z.DecExt(x.Port) { + } else if !yym1763 && z.IsJSONHandle() { + z.DecJSONUnmarshal(x.Port) + } else { + z.DecFallback(x.Port, false) + } + } + for { + yyj1760++ + if yyhl1760 { + yyb1760 = yyj1760 > l + } else { + yyb1760 = r.CheckBreak() + } + if yyb1760 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1760-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1764 := z.EncBinary() + _ = yym1764 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1765 := !z.EncBinary() + yy2arr1765 := z.EncBasicHandle().StructToArray + var yyq1765 [2]bool + _, _, _ = yysep1765, yyq1765, yy2arr1765 + const yyr1765 bool = false + yyq1765[0] = x.PodSelector != nil + yyq1765[1] = x.NamespaceSelector != nil + var yynn1765 int + if yyr1765 || yy2arr1765 { + r.EncodeArrayStart(2) + } else { + yynn1765 = 0 + for _, b := range yyq1765 { + if b { + yynn1765++ + } + } + r.EncodeMapStart(yynn1765) + yynn1765 = 0 + } + if yyr1765 || yy2arr1765 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1765[0] { + if x.PodSelector == nil { + r.EncodeNil() + } else { + yym1767 := z.EncBinary() + _ = yym1767 + if false { + } else if z.HasExtensions() && z.EncExt(x.PodSelector) { + } else { + z.EncFallback(x.PodSelector) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1765[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("podSelector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.PodSelector == nil { + r.EncodeNil() + } else { + yym1768 := z.EncBinary() + _ = yym1768 + if false { + } else if z.HasExtensions() && z.EncExt(x.PodSelector) { + } else { + z.EncFallback(x.PodSelector) + } + } + } + } + if yyr1765 || yy2arr1765 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1765[1] { + if x.NamespaceSelector == nil { + r.EncodeNil() + } else { + yym1770 := z.EncBinary() + _ = yym1770 + if false { + } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { + } else { + z.EncFallback(x.NamespaceSelector) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1765[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("namespaceSelector")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.NamespaceSelector == nil { + r.EncodeNil() + } else { + yym1771 := z.EncBinary() + _ = yym1771 + if false { + } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { + } else { + z.EncFallback(x.NamespaceSelector) + } + } + } + } + if yyr1765 || yy2arr1765 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1772 := z.DecBinary() + _ = yym1772 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1773 := r.ContainerType() + if yyct1773 == codecSelferValueTypeMap1234 { + yyl1773 := r.ReadMapStart() + if yyl1773 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1773, d) + } + } else if yyct1773 == codecSelferValueTypeArray1234 { + yyl1773 := r.ReadArrayStart() + if yyl1773 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1773, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys1774Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1774Slc + var yyhl1774 bool = l >= 0 + for yyj1774 := 0; ; yyj1774++ { + if yyhl1774 { + if yyj1774 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1774Slc = r.DecodeBytes(yys1774Slc, true, true) + yys1774 := string(yys1774Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1774 { + case "podSelector": + if r.TryDecodeAsNil() { + if x.PodSelector != nil { + x.PodSelector = nil + } + } else { + if x.PodSelector == nil { + x.PodSelector = new(pkg1_unversioned.LabelSelector) + } + yym1776 := z.DecBinary() + _ = yym1776 + if false { + } else if z.HasExtensions() && z.DecExt(x.PodSelector) { + } else { + z.DecFallback(x.PodSelector, false) + } + } + case "namespaceSelector": + if r.TryDecodeAsNil() { + if x.NamespaceSelector != nil { + x.NamespaceSelector = nil + } + } else { + if x.NamespaceSelector == nil { + x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) + } + yym1778 := z.DecBinary() + _ = yym1778 + if false { + } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { + } else { + z.DecFallback(x.NamespaceSelector, false) + } + } + default: + z.DecStructFieldNotFound(-1, yys1774) + } // end switch yys1774 + } // end for yyj1774 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj1779 int + var yyb1779 bool + var yyhl1779 bool = l >= 0 + yyj1779++ + if yyhl1779 { + yyb1779 = yyj1779 > l + } else { + yyb1779 = r.CheckBreak() + } + if yyb1779 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.PodSelector != nil { + x.PodSelector = nil + } + } else { + if x.PodSelector == nil { + x.PodSelector = new(pkg1_unversioned.LabelSelector) + } + yym1781 := z.DecBinary() + _ = yym1781 + if false { + } else if z.HasExtensions() && z.DecExt(x.PodSelector) { + } else { + z.DecFallback(x.PodSelector, false) + } + } + yyj1779++ + if yyhl1779 { + yyb1779 = yyj1779 > l + } else { + yyb1779 = r.CheckBreak() + } + if yyb1779 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.NamespaceSelector != nil { + x.NamespaceSelector = nil + } + } else { + if x.NamespaceSelector == nil { + x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) + } + yym1783 := z.DecBinary() + _ = yym1783 + if false { + } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { + } else { + z.DecFallback(x.NamespaceSelector, false) + } + } + for { + yyj1779++ + if yyhl1779 { + yyb1779 = yyj1779 > l + } else { + yyb1779 = r.CheckBreak() + } + if yyb1779 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1779-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1784 := z.EncBinary() + _ = yym1784 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep1785 := !z.EncBinary() + yy2arr1785 := z.EncBasicHandle().StructToArray + var yyq1785 [4]bool + _, _, _ = yysep1785, yyq1785, yy2arr1785 + const yyr1785 bool = false + yyq1785[0] = x.Kind != "" + yyq1785[1] = x.APIVersion != "" + yyq1785[2] = true + var yynn1785 int + if yyr1785 || yy2arr1785 { + r.EncodeArrayStart(4) + } else { + yynn1785 = 1 + for _, b := range yyq1785 { + if b { + yynn1785++ + } + } + r.EncodeMapStart(yynn1785) + yynn1785 = 0 + } + if yyr1785 || yy2arr1785 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1785[0] { + yym1787 := z.EncBinary() + _ = yym1787 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1785[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1788 := z.EncBinary() + _ = yym1788 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1785 || yy2arr1785 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1785[1] { + yym1790 := z.EncBinary() + _ = yym1790 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1785[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1791 := z.EncBinary() + _ = yym1791 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1785 || yy2arr1785 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1785[2] { + yy1793 := &x.ListMeta + yym1794 := z.EncBinary() + _ = yym1794 + if false { + } else if z.HasExtensions() && z.EncExt(yy1793) { + } else { + z.EncFallback(yy1793) + } + } else { + r.EncodeNil() + } + } else { + if yyq1785[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1795 := &x.ListMeta + yym1796 := z.EncBinary() + _ = yym1796 + if false { + } else if z.HasExtensions() && z.EncExt(yy1795) { + } else { + z.EncFallback(yy1795) + } + } + } + if yyr1785 || yy2arr1785 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym1798 := z.EncBinary() + _ = yym1798 + if false { + } else { + h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("items")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym1799 := z.EncBinary() + _ = yym1799 + if false { + } else { + h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) + } + } + } + if yyr1785 || yy2arr1785 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + func (x *NetworkPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1740 := z.DecBinary() - _ = yym1740 + yym1800 := z.DecBinary() + _ = yym1800 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1741 := r.ContainerType() - if yyct1741 == codecSelferValueTypeMap1234 { - yyl1741 := r.ReadMapStart() - if yyl1741 == 0 { + yyct1801 := r.ContainerType() + if yyct1801 == codecSelferValueTypeMap1234 { + yyl1801 := r.ReadMapStart() + if yyl1801 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1741, d) + x.codecDecodeSelfFromMap(yyl1801, d) } - } else if yyct1741 == codecSelferValueTypeArray1234 { - yyl1741 := r.ReadArrayStart() - if yyl1741 == 0 { + } else if yyct1801 == codecSelferValueTypeArray1234 { + yyl1801 := r.ReadArrayStart() + if yyl1801 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1741, d) + x.codecDecodeSelfFromArray(yyl1801, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20627,12 +21254,12 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1742Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1742Slc - var yyhl1742 bool = l >= 0 - for yyj1742 := 0; ; yyj1742++ { - if yyhl1742 { - if yyj1742 >= l { + var yys1802Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1802Slc + var yyhl1802 bool = l >= 0 + for yyj1802 := 0; ; yyj1802++ { + if yyhl1802 { + if yyj1802 >= l { break } } else { @@ -20641,10 +21268,10 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1742Slc = r.DecodeBytes(yys1742Slc, true, true) - yys1742 := string(yys1742Slc) + yys1802Slc = r.DecodeBytes(yys1802Slc, true, true) + yys1802 := string(yys1802Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1742 { + switch yys1802 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -20661,31 +21288,31 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1745 := &x.ListMeta - yym1746 := z.DecBinary() - _ = yym1746 + yyv1805 := &x.ListMeta + yym1806 := z.DecBinary() + _ = yym1806 if false { - } else if z.HasExtensions() && z.DecExt(yyv1745) { + } else if z.HasExtensions() && z.DecExt(yyv1805) { } else { - z.DecFallback(yyv1745, false) + z.DecFallback(yyv1805, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1747 := &x.Items - yym1748 := z.DecBinary() - _ = yym1748 + yyv1807 := &x.Items + yym1808 := z.DecBinary() + _ = yym1808 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1747), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1807), d) } } default: - z.DecStructFieldNotFound(-1, yys1742) - } // end switch yys1742 - } // end for yyj1742 + z.DecStructFieldNotFound(-1, yys1802) + } // end switch yys1802 + } // end for yyj1802 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20693,16 +21320,16 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1749 int - var yyb1749 bool - var yyhl1749 bool = l >= 0 - yyj1749++ - if yyhl1749 { - yyb1749 = yyj1749 > l + var yyj1809 int + var yyb1809 bool + var yyhl1809 bool = l >= 0 + yyj1809++ + if yyhl1809 { + yyb1809 = yyj1809 > l } else { - yyb1749 = r.CheckBreak() + yyb1809 = r.CheckBreak() } - if yyb1749 { + if yyb1809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20712,13 +21339,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1749++ - if yyhl1749 { - yyb1749 = yyj1749 > l + yyj1809++ + if yyhl1809 { + yyb1809 = yyj1809 > l } else { - yyb1749 = r.CheckBreak() + yyb1809 = r.CheckBreak() } - if yyb1749 { + if yyb1809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20728,13 +21355,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1749++ - if yyhl1749 { - yyb1749 = yyj1749 > l + yyj1809++ + if yyhl1809 { + yyb1809 = yyj1809 > l } else { - yyb1749 = r.CheckBreak() + yyb1809 = r.CheckBreak() } - if yyb1749 { + if yyb1809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20742,22 +21369,22 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1752 := &x.ListMeta - yym1753 := z.DecBinary() - _ = yym1753 + yyv1812 := &x.ListMeta + yym1813 := z.DecBinary() + _ = yym1813 if false { - } else if z.HasExtensions() && z.DecExt(yyv1752) { + } else if z.HasExtensions() && z.DecExt(yyv1812) { } else { - z.DecFallback(yyv1752, false) + z.DecFallback(yyv1812, false) } } - yyj1749++ - if yyhl1749 { - yyb1749 = yyj1749 > l + yyj1809++ + if yyhl1809 { + yyb1809 = yyj1809 > l } else { - yyb1749 = r.CheckBreak() + yyb1809 = r.CheckBreak() } - if yyb1749 { + if yyb1809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20765,1191 +21392,31 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1754 := &x.Items - yym1755 := z.DecBinary() - _ = yym1755 + yyv1814 := &x.Items + yym1815 := z.DecBinary() + _ = yym1815 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1754), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1814), d) } } for { - yyj1749++ - if yyhl1749 { - yyb1749 = yyj1749 > l + yyj1809++ + if yyhl1809 { + yyb1809 = yyj1809 > l } else { - yyb1749 = r.CheckBreak() + yyb1809 = r.CheckBreak() } - if yyb1749 { + if yyb1809 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1749-1, "") + z.DecStructFieldNotFound(yyj1809-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x codecSelfer1234) encSliceCustomMetricTarget(v []CustomMetricTarget, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1756 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1757 := &yyv1756 - yy1757.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1758 := *v - yyh1758, yyl1758 := z.DecSliceHelperStart() - var yyc1758 bool - if yyl1758 == 0 { - if yyv1758 == nil { - yyv1758 = []CustomMetricTarget{} - yyc1758 = true - } else if len(yyv1758) != 0 { - yyv1758 = yyv1758[:0] - yyc1758 = true - } - } else if yyl1758 > 0 { - var yyrr1758, yyrl1758 int - var yyrt1758 bool - if yyl1758 > cap(yyv1758) { - - yyrg1758 := len(yyv1758) > 0 - yyv21758 := yyv1758 - yyrl1758, yyrt1758 = z.DecInferLen(yyl1758, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1758 { - if yyrl1758 <= cap(yyv1758) { - yyv1758 = yyv1758[:yyrl1758] - } else { - yyv1758 = make([]CustomMetricTarget, yyrl1758) - } - } else { - yyv1758 = make([]CustomMetricTarget, yyrl1758) - } - yyc1758 = true - yyrr1758 = len(yyv1758) - if yyrg1758 { - copy(yyv1758, yyv21758) - } - } else if yyl1758 != len(yyv1758) { - yyv1758 = yyv1758[:yyl1758] - yyc1758 = true - } - yyj1758 := 0 - for ; yyj1758 < yyrr1758; yyj1758++ { - yyh1758.ElemContainerState(yyj1758) - if r.TryDecodeAsNil() { - yyv1758[yyj1758] = CustomMetricTarget{} - } else { - yyv1759 := &yyv1758[yyj1758] - yyv1759.CodecDecodeSelf(d) - } - - } - if yyrt1758 { - for ; yyj1758 < yyl1758; yyj1758++ { - yyv1758 = append(yyv1758, CustomMetricTarget{}) - yyh1758.ElemContainerState(yyj1758) - if r.TryDecodeAsNil() { - yyv1758[yyj1758] = CustomMetricTarget{} - } else { - yyv1760 := &yyv1758[yyj1758] - yyv1760.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1758 := 0 - for ; !r.CheckBreak(); yyj1758++ { - - if yyj1758 >= len(yyv1758) { - yyv1758 = append(yyv1758, CustomMetricTarget{}) // var yyz1758 CustomMetricTarget - yyc1758 = true - } - yyh1758.ElemContainerState(yyj1758) - if yyj1758 < len(yyv1758) { - if r.TryDecodeAsNil() { - yyv1758[yyj1758] = CustomMetricTarget{} - } else { - yyv1761 := &yyv1758[yyj1758] - yyv1761.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1758 < len(yyv1758) { - yyv1758 = yyv1758[:yyj1758] - yyc1758 = true - } else if yyj1758 == 0 && yyv1758 == nil { - yyv1758 = []CustomMetricTarget{} - yyc1758 = true - } - } - yyh1758.End() - if yyc1758 { - *v = yyv1758 - } -} - -func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurrentStatus, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1762 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1763 := &yyv1762 - yy1763.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurrentStatus, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1764 := *v - yyh1764, yyl1764 := z.DecSliceHelperStart() - var yyc1764 bool - if yyl1764 == 0 { - if yyv1764 == nil { - yyv1764 = []CustomMetricCurrentStatus{} - yyc1764 = true - } else if len(yyv1764) != 0 { - yyv1764 = yyv1764[:0] - yyc1764 = true - } - } else if yyl1764 > 0 { - var yyrr1764, yyrl1764 int - var yyrt1764 bool - if yyl1764 > cap(yyv1764) { - - yyrg1764 := len(yyv1764) > 0 - yyv21764 := yyv1764 - yyrl1764, yyrt1764 = z.DecInferLen(yyl1764, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1764 { - if yyrl1764 <= cap(yyv1764) { - yyv1764 = yyv1764[:yyrl1764] - } else { - yyv1764 = make([]CustomMetricCurrentStatus, yyrl1764) - } - } else { - yyv1764 = make([]CustomMetricCurrentStatus, yyrl1764) - } - yyc1764 = true - yyrr1764 = len(yyv1764) - if yyrg1764 { - copy(yyv1764, yyv21764) - } - } else if yyl1764 != len(yyv1764) { - yyv1764 = yyv1764[:yyl1764] - yyc1764 = true - } - yyj1764 := 0 - for ; yyj1764 < yyrr1764; yyj1764++ { - yyh1764.ElemContainerState(yyj1764) - if r.TryDecodeAsNil() { - yyv1764[yyj1764] = CustomMetricCurrentStatus{} - } else { - yyv1765 := &yyv1764[yyj1764] - yyv1765.CodecDecodeSelf(d) - } - - } - if yyrt1764 { - for ; yyj1764 < yyl1764; yyj1764++ { - yyv1764 = append(yyv1764, CustomMetricCurrentStatus{}) - yyh1764.ElemContainerState(yyj1764) - if r.TryDecodeAsNil() { - yyv1764[yyj1764] = CustomMetricCurrentStatus{} - } else { - yyv1766 := &yyv1764[yyj1764] - yyv1766.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1764 := 0 - for ; !r.CheckBreak(); yyj1764++ { - - if yyj1764 >= len(yyv1764) { - yyv1764 = append(yyv1764, CustomMetricCurrentStatus{}) // var yyz1764 CustomMetricCurrentStatus - yyc1764 = true - } - yyh1764.ElemContainerState(yyj1764) - if yyj1764 < len(yyv1764) { - if r.TryDecodeAsNil() { - yyv1764[yyj1764] = CustomMetricCurrentStatus{} - } else { - yyv1767 := &yyv1764[yyj1764] - yyv1767.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1764 < len(yyv1764) { - yyv1764 = yyv1764[:yyj1764] - yyc1764 = true - } else if yyj1764 == 0 && yyv1764 == nil { - yyv1764 = []CustomMetricCurrentStatus{} - yyc1764 = true - } - } - yyh1764.End() - if yyc1764 { - *v = yyv1764 - } -} - -func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutoscaler, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1768 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1769 := &yyv1768 - yy1769.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutoscaler, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1770 := *v - yyh1770, yyl1770 := z.DecSliceHelperStart() - var yyc1770 bool - if yyl1770 == 0 { - if yyv1770 == nil { - yyv1770 = []HorizontalPodAutoscaler{} - yyc1770 = true - } else if len(yyv1770) != 0 { - yyv1770 = yyv1770[:0] - yyc1770 = true - } - } else if yyl1770 > 0 { - var yyrr1770, yyrl1770 int - var yyrt1770 bool - if yyl1770 > cap(yyv1770) { - - yyrg1770 := len(yyv1770) > 0 - yyv21770 := yyv1770 - yyrl1770, yyrt1770 = z.DecInferLen(yyl1770, z.DecBasicHandle().MaxInitLen, 376) - if yyrt1770 { - if yyrl1770 <= cap(yyv1770) { - yyv1770 = yyv1770[:yyrl1770] - } else { - yyv1770 = make([]HorizontalPodAutoscaler, yyrl1770) - } - } else { - yyv1770 = make([]HorizontalPodAutoscaler, yyrl1770) - } - yyc1770 = true - yyrr1770 = len(yyv1770) - if yyrg1770 { - copy(yyv1770, yyv21770) - } - } else if yyl1770 != len(yyv1770) { - yyv1770 = yyv1770[:yyl1770] - yyc1770 = true - } - yyj1770 := 0 - for ; yyj1770 < yyrr1770; yyj1770++ { - yyh1770.ElemContainerState(yyj1770) - if r.TryDecodeAsNil() { - yyv1770[yyj1770] = HorizontalPodAutoscaler{} - } else { - yyv1771 := &yyv1770[yyj1770] - yyv1771.CodecDecodeSelf(d) - } - - } - if yyrt1770 { - for ; yyj1770 < yyl1770; yyj1770++ { - yyv1770 = append(yyv1770, HorizontalPodAutoscaler{}) - yyh1770.ElemContainerState(yyj1770) - if r.TryDecodeAsNil() { - yyv1770[yyj1770] = HorizontalPodAutoscaler{} - } else { - yyv1772 := &yyv1770[yyj1770] - yyv1772.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1770 := 0 - for ; !r.CheckBreak(); yyj1770++ { - - if yyj1770 >= len(yyv1770) { - yyv1770 = append(yyv1770, HorizontalPodAutoscaler{}) // var yyz1770 HorizontalPodAutoscaler - yyc1770 = true - } - yyh1770.ElemContainerState(yyj1770) - if yyj1770 < len(yyv1770) { - if r.TryDecodeAsNil() { - yyv1770[yyj1770] = HorizontalPodAutoscaler{} - } else { - yyv1773 := &yyv1770[yyj1770] - yyv1773.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1770 < len(yyv1770) { - yyv1770 = yyv1770[:yyj1770] - yyc1770 = true - } else if yyj1770 == 0 && yyv1770 == nil { - yyv1770 = []HorizontalPodAutoscaler{} - yyc1770 = true - } - } - yyh1770.End() - if yyc1770 { - *v = yyv1770 - } -} - -func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1774 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1775 := &yyv1774 - yy1775.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1776 := *v - yyh1776, yyl1776 := z.DecSliceHelperStart() - var yyc1776 bool - if yyl1776 == 0 { - if yyv1776 == nil { - yyv1776 = []APIVersion{} - yyc1776 = true - } else if len(yyv1776) != 0 { - yyv1776 = yyv1776[:0] - yyc1776 = true - } - } else if yyl1776 > 0 { - var yyrr1776, yyrl1776 int - var yyrt1776 bool - if yyl1776 > cap(yyv1776) { - - yyrg1776 := len(yyv1776) > 0 - yyv21776 := yyv1776 - yyrl1776, yyrt1776 = z.DecInferLen(yyl1776, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1776 { - if yyrl1776 <= cap(yyv1776) { - yyv1776 = yyv1776[:yyrl1776] - } else { - yyv1776 = make([]APIVersion, yyrl1776) - } - } else { - yyv1776 = make([]APIVersion, yyrl1776) - } - yyc1776 = true - yyrr1776 = len(yyv1776) - if yyrg1776 { - copy(yyv1776, yyv21776) - } - } else if yyl1776 != len(yyv1776) { - yyv1776 = yyv1776[:yyl1776] - yyc1776 = true - } - yyj1776 := 0 - for ; yyj1776 < yyrr1776; yyj1776++ { - yyh1776.ElemContainerState(yyj1776) - if r.TryDecodeAsNil() { - yyv1776[yyj1776] = APIVersion{} - } else { - yyv1777 := &yyv1776[yyj1776] - yyv1777.CodecDecodeSelf(d) - } - - } - if yyrt1776 { - for ; yyj1776 < yyl1776; yyj1776++ { - yyv1776 = append(yyv1776, APIVersion{}) - yyh1776.ElemContainerState(yyj1776) - if r.TryDecodeAsNil() { - yyv1776[yyj1776] = APIVersion{} - } else { - yyv1778 := &yyv1776[yyj1776] - yyv1778.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1776 := 0 - for ; !r.CheckBreak(); yyj1776++ { - - if yyj1776 >= len(yyv1776) { - yyv1776 = append(yyv1776, APIVersion{}) // var yyz1776 APIVersion - yyc1776 = true - } - yyh1776.ElemContainerState(yyj1776) - if yyj1776 < len(yyv1776) { - if r.TryDecodeAsNil() { - yyv1776[yyj1776] = APIVersion{} - } else { - yyv1779 := &yyv1776[yyj1776] - yyv1779.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1776 < len(yyv1776) { - yyv1776 = yyv1776[:yyj1776] - yyc1776 = true - } else if yyj1776 == 0 && yyv1776 == nil { - yyv1776 = []APIVersion{} - yyc1776 = true - } - } - yyh1776.End() - if yyc1776 { - *v = yyv1776 - } -} - -func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1780 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1781 := &yyv1780 - yy1781.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1782 := *v - yyh1782, yyl1782 := z.DecSliceHelperStart() - var yyc1782 bool - if yyl1782 == 0 { - if yyv1782 == nil { - yyv1782 = []ThirdPartyResource{} - yyc1782 = true - } else if len(yyv1782) != 0 { - yyv1782 = yyv1782[:0] - yyc1782 = true - } - } else if yyl1782 > 0 { - var yyrr1782, yyrl1782 int - var yyrt1782 bool - if yyl1782 > cap(yyv1782) { - - yyrg1782 := len(yyv1782) > 0 - yyv21782 := yyv1782 - yyrl1782, yyrt1782 = z.DecInferLen(yyl1782, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1782 { - if yyrl1782 <= cap(yyv1782) { - yyv1782 = yyv1782[:yyrl1782] - } else { - yyv1782 = make([]ThirdPartyResource, yyrl1782) - } - } else { - yyv1782 = make([]ThirdPartyResource, yyrl1782) - } - yyc1782 = true - yyrr1782 = len(yyv1782) - if yyrg1782 { - copy(yyv1782, yyv21782) - } - } else if yyl1782 != len(yyv1782) { - yyv1782 = yyv1782[:yyl1782] - yyc1782 = true - } - yyj1782 := 0 - for ; yyj1782 < yyrr1782; yyj1782++ { - yyh1782.ElemContainerState(yyj1782) - if r.TryDecodeAsNil() { - yyv1782[yyj1782] = ThirdPartyResource{} - } else { - yyv1783 := &yyv1782[yyj1782] - yyv1783.CodecDecodeSelf(d) - } - - } - if yyrt1782 { - for ; yyj1782 < yyl1782; yyj1782++ { - yyv1782 = append(yyv1782, ThirdPartyResource{}) - yyh1782.ElemContainerState(yyj1782) - if r.TryDecodeAsNil() { - yyv1782[yyj1782] = ThirdPartyResource{} - } else { - yyv1784 := &yyv1782[yyj1782] - yyv1784.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1782 := 0 - for ; !r.CheckBreak(); yyj1782++ { - - if yyj1782 >= len(yyv1782) { - yyv1782 = append(yyv1782, ThirdPartyResource{}) // var yyz1782 ThirdPartyResource - yyc1782 = true - } - yyh1782.ElemContainerState(yyj1782) - if yyj1782 < len(yyv1782) { - if r.TryDecodeAsNil() { - yyv1782[yyj1782] = ThirdPartyResource{} - } else { - yyv1785 := &yyv1782[yyj1782] - yyv1785.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1782 < len(yyv1782) { - yyv1782 = yyv1782[:yyj1782] - yyc1782 = true - } else if yyj1782 == 0 && yyv1782 == nil { - yyv1782 = []ThirdPartyResource{} - yyc1782 = true - } - } - yyh1782.End() - if yyc1782 { - *v = yyv1782 - } -} - -func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1786 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1787 := &yyv1786 - yy1787.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1788 := *v - yyh1788, yyl1788 := z.DecSliceHelperStart() - var yyc1788 bool - if yyl1788 == 0 { - if yyv1788 == nil { - yyv1788 = []Deployment{} - yyc1788 = true - } else if len(yyv1788) != 0 { - yyv1788 = yyv1788[:0] - yyc1788 = true - } - } else if yyl1788 > 0 { - var yyrr1788, yyrl1788 int - var yyrt1788 bool - if yyl1788 > cap(yyv1788) { - - yyrg1788 := len(yyv1788) > 0 - yyv21788 := yyv1788 - yyrl1788, yyrt1788 = z.DecInferLen(yyl1788, z.DecBasicHandle().MaxInitLen, 824) - if yyrt1788 { - if yyrl1788 <= cap(yyv1788) { - yyv1788 = yyv1788[:yyrl1788] - } else { - yyv1788 = make([]Deployment, yyrl1788) - } - } else { - yyv1788 = make([]Deployment, yyrl1788) - } - yyc1788 = true - yyrr1788 = len(yyv1788) - if yyrg1788 { - copy(yyv1788, yyv21788) - } - } else if yyl1788 != len(yyv1788) { - yyv1788 = yyv1788[:yyl1788] - yyc1788 = true - } - yyj1788 := 0 - for ; yyj1788 < yyrr1788; yyj1788++ { - yyh1788.ElemContainerState(yyj1788) - if r.TryDecodeAsNil() { - yyv1788[yyj1788] = Deployment{} - } else { - yyv1789 := &yyv1788[yyj1788] - yyv1789.CodecDecodeSelf(d) - } - - } - if yyrt1788 { - for ; yyj1788 < yyl1788; yyj1788++ { - yyv1788 = append(yyv1788, Deployment{}) - yyh1788.ElemContainerState(yyj1788) - if r.TryDecodeAsNil() { - yyv1788[yyj1788] = Deployment{} - } else { - yyv1790 := &yyv1788[yyj1788] - yyv1790.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1788 := 0 - for ; !r.CheckBreak(); yyj1788++ { - - if yyj1788 >= len(yyv1788) { - yyv1788 = append(yyv1788, Deployment{}) // var yyz1788 Deployment - yyc1788 = true - } - yyh1788.ElemContainerState(yyj1788) - if yyj1788 < len(yyv1788) { - if r.TryDecodeAsNil() { - yyv1788[yyj1788] = Deployment{} - } else { - yyv1791 := &yyv1788[yyj1788] - yyv1791.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1788 < len(yyv1788) { - yyv1788 = yyv1788[:yyj1788] - yyc1788 = true - } else if yyj1788 == 0 && yyv1788 == nil { - yyv1788 = []Deployment{} - yyc1788 = true - } - } - yyh1788.End() - if yyc1788 { - *v = yyv1788 - } -} - -func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1792 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1793 := &yyv1792 - yy1793.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1794 := *v - yyh1794, yyl1794 := z.DecSliceHelperStart() - var yyc1794 bool - if yyl1794 == 0 { - if yyv1794 == nil { - yyv1794 = []DaemonSet{} - yyc1794 = true - } else if len(yyv1794) != 0 { - yyv1794 = yyv1794[:0] - yyc1794 = true - } - } else if yyl1794 > 0 { - var yyrr1794, yyrl1794 int - var yyrt1794 bool - if yyl1794 > cap(yyv1794) { - - yyrg1794 := len(yyv1794) > 0 - yyv21794 := yyv1794 - yyrl1794, yyrt1794 = z.DecInferLen(yyl1794, z.DecBasicHandle().MaxInitLen, 752) - if yyrt1794 { - if yyrl1794 <= cap(yyv1794) { - yyv1794 = yyv1794[:yyrl1794] - } else { - yyv1794 = make([]DaemonSet, yyrl1794) - } - } else { - yyv1794 = make([]DaemonSet, yyrl1794) - } - yyc1794 = true - yyrr1794 = len(yyv1794) - if yyrg1794 { - copy(yyv1794, yyv21794) - } - } else if yyl1794 != len(yyv1794) { - yyv1794 = yyv1794[:yyl1794] - yyc1794 = true - } - yyj1794 := 0 - for ; yyj1794 < yyrr1794; yyj1794++ { - yyh1794.ElemContainerState(yyj1794) - if r.TryDecodeAsNil() { - yyv1794[yyj1794] = DaemonSet{} - } else { - yyv1795 := &yyv1794[yyj1794] - yyv1795.CodecDecodeSelf(d) - } - - } - if yyrt1794 { - for ; yyj1794 < yyl1794; yyj1794++ { - yyv1794 = append(yyv1794, DaemonSet{}) - yyh1794.ElemContainerState(yyj1794) - if r.TryDecodeAsNil() { - yyv1794[yyj1794] = DaemonSet{} - } else { - yyv1796 := &yyv1794[yyj1794] - yyv1796.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1794 := 0 - for ; !r.CheckBreak(); yyj1794++ { - - if yyj1794 >= len(yyv1794) { - yyv1794 = append(yyv1794, DaemonSet{}) // var yyz1794 DaemonSet - yyc1794 = true - } - yyh1794.ElemContainerState(yyj1794) - if yyj1794 < len(yyv1794) { - if r.TryDecodeAsNil() { - yyv1794[yyj1794] = DaemonSet{} - } else { - yyv1797 := &yyv1794[yyj1794] - yyv1797.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1794 < len(yyv1794) { - yyv1794 = yyv1794[:yyj1794] - yyc1794 = true - } else if yyj1794 == 0 && yyv1794 == nil { - yyv1794 = []DaemonSet{} - yyc1794 = true - } - } - yyh1794.End() - if yyc1794 { - *v = yyv1794 - } -} - -func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceData, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1798 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1799 := &yyv1798 - yy1799.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceData, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1800 := *v - yyh1800, yyl1800 := z.DecSliceHelperStart() - var yyc1800 bool - if yyl1800 == 0 { - if yyv1800 == nil { - yyv1800 = []ThirdPartyResourceData{} - yyc1800 = true - } else if len(yyv1800) != 0 { - yyv1800 = yyv1800[:0] - yyc1800 = true - } - } else if yyl1800 > 0 { - var yyrr1800, yyrl1800 int - var yyrt1800 bool - if yyl1800 > cap(yyv1800) { - - yyrg1800 := len(yyv1800) > 0 - yyv21800 := yyv1800 - yyrl1800, yyrt1800 = z.DecInferLen(yyl1800, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1800 { - if yyrl1800 <= cap(yyv1800) { - yyv1800 = yyv1800[:yyrl1800] - } else { - yyv1800 = make([]ThirdPartyResourceData, yyrl1800) - } - } else { - yyv1800 = make([]ThirdPartyResourceData, yyrl1800) - } - yyc1800 = true - yyrr1800 = len(yyv1800) - if yyrg1800 { - copy(yyv1800, yyv21800) - } - } else if yyl1800 != len(yyv1800) { - yyv1800 = yyv1800[:yyl1800] - yyc1800 = true - } - yyj1800 := 0 - for ; yyj1800 < yyrr1800; yyj1800++ { - yyh1800.ElemContainerState(yyj1800) - if r.TryDecodeAsNil() { - yyv1800[yyj1800] = ThirdPartyResourceData{} - } else { - yyv1801 := &yyv1800[yyj1800] - yyv1801.CodecDecodeSelf(d) - } - - } - if yyrt1800 { - for ; yyj1800 < yyl1800; yyj1800++ { - yyv1800 = append(yyv1800, ThirdPartyResourceData{}) - yyh1800.ElemContainerState(yyj1800) - if r.TryDecodeAsNil() { - yyv1800[yyj1800] = ThirdPartyResourceData{} - } else { - yyv1802 := &yyv1800[yyj1800] - yyv1802.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1800 := 0 - for ; !r.CheckBreak(); yyj1800++ { - - if yyj1800 >= len(yyv1800) { - yyv1800 = append(yyv1800, ThirdPartyResourceData{}) // var yyz1800 ThirdPartyResourceData - yyc1800 = true - } - yyh1800.ElemContainerState(yyj1800) - if yyj1800 < len(yyv1800) { - if r.TryDecodeAsNil() { - yyv1800[yyj1800] = ThirdPartyResourceData{} - } else { - yyv1803 := &yyv1800[yyj1800] - yyv1803.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1800 < len(yyv1800) { - yyv1800 = yyv1800[:yyj1800] - yyc1800 = true - } else if yyj1800 == 0 && yyv1800 == nil { - yyv1800 = []ThirdPartyResourceData{} - yyc1800 = true - } - } - yyh1800.End() - if yyc1800 { - *v = yyv1800 - } -} - -func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1804 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1805 := &yyv1804 - yy1805.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1806 := *v - yyh1806, yyl1806 := z.DecSliceHelperStart() - var yyc1806 bool - if yyl1806 == 0 { - if yyv1806 == nil { - yyv1806 = []Job{} - yyc1806 = true - } else if len(yyv1806) != 0 { - yyv1806 = yyv1806[:0] - yyc1806 = true - } - } else if yyl1806 > 0 { - var yyrr1806, yyrl1806 int - var yyrt1806 bool - if yyl1806 > cap(yyv1806) { - - yyrg1806 := len(yyv1806) > 0 - yyv21806 := yyv1806 - yyrl1806, yyrt1806 = z.DecInferLen(yyl1806, z.DecBasicHandle().MaxInitLen, 824) - if yyrt1806 { - if yyrl1806 <= cap(yyv1806) { - yyv1806 = yyv1806[:yyrl1806] - } else { - yyv1806 = make([]Job, yyrl1806) - } - } else { - yyv1806 = make([]Job, yyrl1806) - } - yyc1806 = true - yyrr1806 = len(yyv1806) - if yyrg1806 { - copy(yyv1806, yyv21806) - } - } else if yyl1806 != len(yyv1806) { - yyv1806 = yyv1806[:yyl1806] - yyc1806 = true - } - yyj1806 := 0 - for ; yyj1806 < yyrr1806; yyj1806++ { - yyh1806.ElemContainerState(yyj1806) - if r.TryDecodeAsNil() { - yyv1806[yyj1806] = Job{} - } else { - yyv1807 := &yyv1806[yyj1806] - yyv1807.CodecDecodeSelf(d) - } - - } - if yyrt1806 { - for ; yyj1806 < yyl1806; yyj1806++ { - yyv1806 = append(yyv1806, Job{}) - yyh1806.ElemContainerState(yyj1806) - if r.TryDecodeAsNil() { - yyv1806[yyj1806] = Job{} - } else { - yyv1808 := &yyv1806[yyj1806] - yyv1808.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1806 := 0 - for ; !r.CheckBreak(); yyj1806++ { - - if yyj1806 >= len(yyv1806) { - yyv1806 = append(yyv1806, Job{}) // var yyz1806 Job - yyc1806 = true - } - yyh1806.ElemContainerState(yyj1806) - if yyj1806 < len(yyv1806) { - if r.TryDecodeAsNil() { - yyv1806[yyj1806] = Job{} - } else { - yyv1809 := &yyv1806[yyj1806] - yyv1809.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1806 < len(yyv1806) { - yyv1806 = yyv1806[:yyj1806] - yyc1806 = true - } else if yyj1806 == 0 && yyv1806 == nil { - yyv1806 = []Job{} - yyc1806 = true - } - } - yyh1806.End() - if yyc1806 { - *v = yyv1806 - } -} - -func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1810 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1811 := &yyv1810 - yy1811.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1812 := *v - yyh1812, yyl1812 := z.DecSliceHelperStart() - var yyc1812 bool - if yyl1812 == 0 { - if yyv1812 == nil { - yyv1812 = []JobCondition{} - yyc1812 = true - } else if len(yyv1812) != 0 { - yyv1812 = yyv1812[:0] - yyc1812 = true - } - } else if yyl1812 > 0 { - var yyrr1812, yyrl1812 int - var yyrt1812 bool - if yyl1812 > cap(yyv1812) { - - yyrg1812 := len(yyv1812) > 0 - yyv21812 := yyv1812 - yyrl1812, yyrt1812 = z.DecInferLen(yyl1812, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1812 { - if yyrl1812 <= cap(yyv1812) { - yyv1812 = yyv1812[:yyrl1812] - } else { - yyv1812 = make([]JobCondition, yyrl1812) - } - } else { - yyv1812 = make([]JobCondition, yyrl1812) - } - yyc1812 = true - yyrr1812 = len(yyv1812) - if yyrg1812 { - copy(yyv1812, yyv21812) - } - } else if yyl1812 != len(yyv1812) { - yyv1812 = yyv1812[:yyl1812] - yyc1812 = true - } - yyj1812 := 0 - for ; yyj1812 < yyrr1812; yyj1812++ { - yyh1812.ElemContainerState(yyj1812) - if r.TryDecodeAsNil() { - yyv1812[yyj1812] = JobCondition{} - } else { - yyv1813 := &yyv1812[yyj1812] - yyv1813.CodecDecodeSelf(d) - } - - } - if yyrt1812 { - for ; yyj1812 < yyl1812; yyj1812++ { - yyv1812 = append(yyv1812, JobCondition{}) - yyh1812.ElemContainerState(yyj1812) - if r.TryDecodeAsNil() { - yyv1812[yyj1812] = JobCondition{} - } else { - yyv1814 := &yyv1812[yyj1812] - yyv1814.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1812 := 0 - for ; !r.CheckBreak(); yyj1812++ { - - if yyj1812 >= len(yyv1812) { - yyv1812 = append(yyv1812, JobCondition{}) // var yyz1812 JobCondition - yyc1812 = true - } - yyh1812.ElemContainerState(yyj1812) - if yyj1812 < len(yyv1812) { - if r.TryDecodeAsNil() { - yyv1812[yyj1812] = JobCondition{} - } else { - yyv1815 := &yyv1812[yyj1812] - yyv1815.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1812 < len(yyv1812) { - yyv1812 = yyv1812[:yyj1812] - yyc1812 = true - } else if yyj1812 == 0 && yyv1812 == nil { - yyv1812 = []JobCondition{} - yyc1812 = true - } - } - yyh1812.End() - if yyc1812 { - *v = yyv1812 - } -} - -func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -21962,7 +21429,7 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -21972,7 +21439,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { var yyc1818 bool if yyl1818 == 0 { if yyv1818 == nil { - yyv1818 = []Ingress{} + yyv1818 = []CustomMetricTarget{} yyc1818 = true } else if len(yyv1818) != 0 { yyv1818 = yyv1818[:0] @@ -21985,15 +21452,15 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { yyrg1818 := len(yyv1818) > 0 yyv21818 := yyv1818 - yyrl1818, yyrt1818 = z.DecInferLen(yyl1818, z.DecBasicHandle().MaxInitLen, 336) + yyrl1818, yyrt1818 = z.DecInferLen(yyl1818, z.DecBasicHandle().MaxInitLen, 72) if yyrt1818 { if yyrl1818 <= cap(yyv1818) { yyv1818 = yyv1818[:yyrl1818] } else { - yyv1818 = make([]Ingress, yyrl1818) + yyv1818 = make([]CustomMetricTarget, yyrl1818) } } else { - yyv1818 = make([]Ingress, yyrl1818) + yyv1818 = make([]CustomMetricTarget, yyrl1818) } yyc1818 = true yyrr1818 = len(yyv1818) @@ -22008,7 +21475,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { for ; yyj1818 < yyrr1818; yyj1818++ { yyh1818.ElemContainerState(yyj1818) if r.TryDecodeAsNil() { - yyv1818[yyj1818] = Ingress{} + yyv1818[yyj1818] = CustomMetricTarget{} } else { yyv1819 := &yyv1818[yyj1818] yyv1819.CodecDecodeSelf(d) @@ -22017,10 +21484,10 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } if yyrt1818 { for ; yyj1818 < yyl1818; yyj1818++ { - yyv1818 = append(yyv1818, Ingress{}) + yyv1818 = append(yyv1818, CustomMetricTarget{}) yyh1818.ElemContainerState(yyj1818) if r.TryDecodeAsNil() { - yyv1818[yyj1818] = Ingress{} + yyv1818[yyj1818] = CustomMetricTarget{} } else { yyv1820 := &yyv1818[yyj1818] yyv1820.CodecDecodeSelf(d) @@ -22034,13 +21501,13 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj1818++ { if yyj1818 >= len(yyv1818) { - yyv1818 = append(yyv1818, Ingress{}) // var yyz1818 Ingress + yyv1818 = append(yyv1818, CustomMetricTarget{}) // var yyz1818 CustomMetricTarget yyc1818 = true } yyh1818.ElemContainerState(yyj1818) if yyj1818 < len(yyv1818) { if r.TryDecodeAsNil() { - yyv1818[yyj1818] = Ingress{} + yyv1818[yyj1818] = CustomMetricTarget{} } else { yyv1821 := &yyv1818[yyj1818] yyv1821.CodecDecodeSelf(d) @@ -22055,7 +21522,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { yyv1818 = yyv1818[:yyj1818] yyc1818 = true } else if yyj1818 == 0 && yyv1818 == nil { - yyv1818 = []Ingress{} + yyv1818 = []CustomMetricTarget{} yyc1818 = true } } @@ -22065,7 +21532,7 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } -func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurrentStatus, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22078,7 +21545,7 @@ func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurrentStatus, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22088,7 +21555,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode var yyc1824 bool if yyl1824 == 0 { if yyv1824 == nil { - yyv1824 = []IngressTLS{} + yyv1824 = []CustomMetricCurrentStatus{} yyc1824 = true } else if len(yyv1824) != 0 { yyv1824 = yyv1824[:0] @@ -22101,15 +21568,15 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode yyrg1824 := len(yyv1824) > 0 yyv21824 := yyv1824 - yyrl1824, yyrt1824 = z.DecInferLen(yyl1824, z.DecBasicHandle().MaxInitLen, 40) + yyrl1824, yyrt1824 = z.DecInferLen(yyl1824, z.DecBasicHandle().MaxInitLen, 72) if yyrt1824 { if yyrl1824 <= cap(yyv1824) { yyv1824 = yyv1824[:yyrl1824] } else { - yyv1824 = make([]IngressTLS, yyrl1824) + yyv1824 = make([]CustomMetricCurrentStatus, yyrl1824) } } else { - yyv1824 = make([]IngressTLS, yyrl1824) + yyv1824 = make([]CustomMetricCurrentStatus, yyrl1824) } yyc1824 = true yyrr1824 = len(yyv1824) @@ -22124,7 +21591,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode for ; yyj1824 < yyrr1824; yyj1824++ { yyh1824.ElemContainerState(yyj1824) if r.TryDecodeAsNil() { - yyv1824[yyj1824] = IngressTLS{} + yyv1824[yyj1824] = CustomMetricCurrentStatus{} } else { yyv1825 := &yyv1824[yyj1824] yyv1825.CodecDecodeSelf(d) @@ -22133,10 +21600,10 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } if yyrt1824 { for ; yyj1824 < yyl1824; yyj1824++ { - yyv1824 = append(yyv1824, IngressTLS{}) + yyv1824 = append(yyv1824, CustomMetricCurrentStatus{}) yyh1824.ElemContainerState(yyj1824) if r.TryDecodeAsNil() { - yyv1824[yyj1824] = IngressTLS{} + yyv1824[yyj1824] = CustomMetricCurrentStatus{} } else { yyv1826 := &yyv1824[yyj1824] yyv1826.CodecDecodeSelf(d) @@ -22150,13 +21617,13 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode for ; !r.CheckBreak(); yyj1824++ { if yyj1824 >= len(yyv1824) { - yyv1824 = append(yyv1824, IngressTLS{}) // var yyz1824 IngressTLS + yyv1824 = append(yyv1824, CustomMetricCurrentStatus{}) // var yyz1824 CustomMetricCurrentStatus yyc1824 = true } yyh1824.ElemContainerState(yyj1824) if yyj1824 < len(yyv1824) { if r.TryDecodeAsNil() { - yyv1824[yyj1824] = IngressTLS{} + yyv1824[yyj1824] = CustomMetricCurrentStatus{} } else { yyv1827 := &yyv1824[yyj1824] yyv1827.CodecDecodeSelf(d) @@ -22171,7 +21638,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode yyv1824 = yyv1824[:yyj1824] yyc1824 = true } else if yyj1824 == 0 && yyv1824 == nil { - yyv1824 = []IngressTLS{} + yyv1824 = []CustomMetricCurrentStatus{} yyc1824 = true } } @@ -22181,7 +21648,7 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutoscaler, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22194,7 +21661,7 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutoscaler, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22204,7 +21671,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco var yyc1830 bool if yyl1830 == 0 { if yyv1830 == nil { - yyv1830 = []IngressRule{} + yyv1830 = []HorizontalPodAutoscaler{} yyc1830 = true } else if len(yyv1830) != 0 { yyv1830 = yyv1830[:0] @@ -22217,15 +21684,15 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco yyrg1830 := len(yyv1830) > 0 yyv21830 := yyv1830 - yyrl1830, yyrt1830 = z.DecInferLen(yyl1830, z.DecBasicHandle().MaxInitLen, 24) + yyrl1830, yyrt1830 = z.DecInferLen(yyl1830, z.DecBasicHandle().MaxInitLen, 376) if yyrt1830 { if yyrl1830 <= cap(yyv1830) { yyv1830 = yyv1830[:yyrl1830] } else { - yyv1830 = make([]IngressRule, yyrl1830) + yyv1830 = make([]HorizontalPodAutoscaler, yyrl1830) } } else { - yyv1830 = make([]IngressRule, yyrl1830) + yyv1830 = make([]HorizontalPodAutoscaler, yyrl1830) } yyc1830 = true yyrr1830 = len(yyv1830) @@ -22240,7 +21707,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco for ; yyj1830 < yyrr1830; yyj1830++ { yyh1830.ElemContainerState(yyj1830) if r.TryDecodeAsNil() { - yyv1830[yyj1830] = IngressRule{} + yyv1830[yyj1830] = HorizontalPodAutoscaler{} } else { yyv1831 := &yyv1830[yyj1830] yyv1831.CodecDecodeSelf(d) @@ -22249,10 +21716,10 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } if yyrt1830 { for ; yyj1830 < yyl1830; yyj1830++ { - yyv1830 = append(yyv1830, IngressRule{}) + yyv1830 = append(yyv1830, HorizontalPodAutoscaler{}) yyh1830.ElemContainerState(yyj1830) if r.TryDecodeAsNil() { - yyv1830[yyj1830] = IngressRule{} + yyv1830[yyj1830] = HorizontalPodAutoscaler{} } else { yyv1832 := &yyv1830[yyj1830] yyv1832.CodecDecodeSelf(d) @@ -22266,13 +21733,13 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco for ; !r.CheckBreak(); yyj1830++ { if yyj1830 >= len(yyv1830) { - yyv1830 = append(yyv1830, IngressRule{}) // var yyz1830 IngressRule + yyv1830 = append(yyv1830, HorizontalPodAutoscaler{}) // var yyz1830 HorizontalPodAutoscaler yyc1830 = true } yyh1830.ElemContainerState(yyj1830) if yyj1830 < len(yyv1830) { if r.TryDecodeAsNil() { - yyv1830[yyj1830] = IngressRule{} + yyv1830[yyj1830] = HorizontalPodAutoscaler{} } else { yyv1833 := &yyv1830[yyj1830] yyv1833.CodecDecodeSelf(d) @@ -22287,7 +21754,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco yyv1830 = yyv1830[:yyj1830] yyc1830 = true } else if yyj1830 == 0 && yyv1830 == nil { - yyv1830 = []IngressRule{} + yyv1830 = []HorizontalPodAutoscaler{} yyc1830 = true } } @@ -22297,7 +21764,7 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } } -func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22310,7 +21777,7 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22320,7 +21787,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 var yyc1836 bool if yyl1836 == 0 { if yyv1836 == nil { - yyv1836 = []HTTPIngressPath{} + yyv1836 = []APIVersion{} yyc1836 = true } else if len(yyv1836) != 0 { yyv1836 = yyv1836[:0] @@ -22333,15 +21800,15 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 yyrg1836 := len(yyv1836) > 0 yyv21836 := yyv1836 - yyrl1836, yyrt1836 = z.DecInferLen(yyl1836, z.DecBasicHandle().MaxInitLen, 64) + yyrl1836, yyrt1836 = z.DecInferLen(yyl1836, z.DecBasicHandle().MaxInitLen, 16) if yyrt1836 { if yyrl1836 <= cap(yyv1836) { yyv1836 = yyv1836[:yyrl1836] } else { - yyv1836 = make([]HTTPIngressPath, yyrl1836) + yyv1836 = make([]APIVersion, yyrl1836) } } else { - yyv1836 = make([]HTTPIngressPath, yyrl1836) + yyv1836 = make([]APIVersion, yyrl1836) } yyc1836 = true yyrr1836 = len(yyv1836) @@ -22356,7 +21823,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 for ; yyj1836 < yyrr1836; yyj1836++ { yyh1836.ElemContainerState(yyj1836) if r.TryDecodeAsNil() { - yyv1836[yyj1836] = HTTPIngressPath{} + yyv1836[yyj1836] = APIVersion{} } else { yyv1837 := &yyv1836[yyj1836] yyv1837.CodecDecodeSelf(d) @@ -22365,10 +21832,10 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } if yyrt1836 { for ; yyj1836 < yyl1836; yyj1836++ { - yyv1836 = append(yyv1836, HTTPIngressPath{}) + yyv1836 = append(yyv1836, APIVersion{}) yyh1836.ElemContainerState(yyj1836) if r.TryDecodeAsNil() { - yyv1836[yyj1836] = HTTPIngressPath{} + yyv1836[yyj1836] = APIVersion{} } else { yyv1838 := &yyv1836[yyj1836] yyv1838.CodecDecodeSelf(d) @@ -22382,13 +21849,13 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 for ; !r.CheckBreak(); yyj1836++ { if yyj1836 >= len(yyv1836) { - yyv1836 = append(yyv1836, HTTPIngressPath{}) // var yyz1836 HTTPIngressPath + yyv1836 = append(yyv1836, APIVersion{}) // var yyz1836 APIVersion yyc1836 = true } yyh1836.ElemContainerState(yyj1836) if yyj1836 < len(yyv1836) { if r.TryDecodeAsNil() { - yyv1836[yyj1836] = HTTPIngressPath{} + yyv1836[yyj1836] = APIVersion{} } else { yyv1839 := &yyv1836[yyj1836] yyv1839.CodecDecodeSelf(d) @@ -22403,7 +21870,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 yyv1836 = yyv1836[:yyj1836] yyc1836 = true } else if yyj1836 == 0 && yyv1836 == nil { - yyv1836 = []HTTPIngressPath{} + yyv1836 = []APIVersion{} yyc1836 = true } } @@ -22413,7 +21880,7 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } } -func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22426,7 +21893,7 @@ func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22436,7 +21903,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode var yyc1842 bool if yyl1842 == 0 { if yyv1842 == nil { - yyv1842 = []ReplicaSet{} + yyv1842 = []ThirdPartyResource{} yyc1842 = true } else if len(yyv1842) != 0 { yyv1842 = yyv1842[:0] @@ -22449,15 +21916,15 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode yyrg1842 := len(yyv1842) > 0 yyv21842 := yyv1842 - yyrl1842, yyrt1842 = z.DecInferLen(yyl1842, z.DecBasicHandle().MaxInitLen, 800) + yyrl1842, yyrt1842 = z.DecInferLen(yyl1842, z.DecBasicHandle().MaxInitLen, 296) if yyrt1842 { if yyrl1842 <= cap(yyv1842) { yyv1842 = yyv1842[:yyrl1842] } else { - yyv1842 = make([]ReplicaSet, yyrl1842) + yyv1842 = make([]ThirdPartyResource, yyrl1842) } } else { - yyv1842 = make([]ReplicaSet, yyrl1842) + yyv1842 = make([]ThirdPartyResource, yyrl1842) } yyc1842 = true yyrr1842 = len(yyv1842) @@ -22472,7 +21939,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode for ; yyj1842 < yyrr1842; yyj1842++ { yyh1842.ElemContainerState(yyj1842) if r.TryDecodeAsNil() { - yyv1842[yyj1842] = ReplicaSet{} + yyv1842[yyj1842] = ThirdPartyResource{} } else { yyv1843 := &yyv1842[yyj1842] yyv1843.CodecDecodeSelf(d) @@ -22481,10 +21948,10 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } if yyrt1842 { for ; yyj1842 < yyl1842; yyj1842++ { - yyv1842 = append(yyv1842, ReplicaSet{}) + yyv1842 = append(yyv1842, ThirdPartyResource{}) yyh1842.ElemContainerState(yyj1842) if r.TryDecodeAsNil() { - yyv1842[yyj1842] = ReplicaSet{} + yyv1842[yyj1842] = ThirdPartyResource{} } else { yyv1844 := &yyv1842[yyj1842] yyv1844.CodecDecodeSelf(d) @@ -22498,13 +21965,13 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode for ; !r.CheckBreak(); yyj1842++ { if yyj1842 >= len(yyv1842) { - yyv1842 = append(yyv1842, ReplicaSet{}) // var yyz1842 ReplicaSet + yyv1842 = append(yyv1842, ThirdPartyResource{}) // var yyz1842 ThirdPartyResource yyc1842 = true } yyh1842.ElemContainerState(yyj1842) if yyj1842 < len(yyv1842) { if r.TryDecodeAsNil() { - yyv1842[yyj1842] = ReplicaSet{} + yyv1842[yyj1842] = ThirdPartyResource{} } else { yyv1845 := &yyv1842[yyj1842] yyv1845.CodecDecodeSelf(d) @@ -22519,7 +21986,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode yyv1842 = yyv1842[:yyj1842] yyc1842 = true } else if yyj1842 == 0 && yyv1842 == nil { - yyv1842 = []ReplicaSet{} + yyv1842 = []ThirdPartyResource{} yyc1842 = true } } @@ -22529,7 +21996,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceReplicaSetCondition(v []ReplicaSetCondition, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceDeploymentCondition(v []DeploymentCondition, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -22542,7 +22009,7 @@ func (x codecSelfer1234) encSliceReplicaSetCondition(v []ReplicaSetCondition, e z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceDeploymentCondition(v *[]DeploymentCondition, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22552,7 +22019,7 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d var yyc1848 bool if yyl1848 == 0 { if yyv1848 == nil { - yyv1848 = []ReplicaSetCondition{} + yyv1848 = []DeploymentCondition{} yyc1848 = true } else if len(yyv1848) != 0 { yyv1848 = yyv1848[:0] @@ -22565,15 +22032,15 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d yyrg1848 := len(yyv1848) > 0 yyv21848 := yyv1848 - yyrl1848, yyrt1848 = z.DecInferLen(yyl1848, z.DecBasicHandle().MaxInitLen, 88) + yyrl1848, yyrt1848 = z.DecInferLen(yyl1848, z.DecBasicHandle().MaxInitLen, 112) if yyrt1848 { if yyrl1848 <= cap(yyv1848) { yyv1848 = yyv1848[:yyrl1848] } else { - yyv1848 = make([]ReplicaSetCondition, yyrl1848) + yyv1848 = make([]DeploymentCondition, yyrl1848) } } else { - yyv1848 = make([]ReplicaSetCondition, yyrl1848) + yyv1848 = make([]DeploymentCondition, yyrl1848) } yyc1848 = true yyrr1848 = len(yyv1848) @@ -22588,7 +22055,7 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d for ; yyj1848 < yyrr1848; yyj1848++ { yyh1848.ElemContainerState(yyj1848) if r.TryDecodeAsNil() { - yyv1848[yyj1848] = ReplicaSetCondition{} + yyv1848[yyj1848] = DeploymentCondition{} } else { yyv1849 := &yyv1848[yyj1848] yyv1849.CodecDecodeSelf(d) @@ -22597,10 +22064,10 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d } if yyrt1848 { for ; yyj1848 < yyl1848; yyj1848++ { - yyv1848 = append(yyv1848, ReplicaSetCondition{}) + yyv1848 = append(yyv1848, DeploymentCondition{}) yyh1848.ElemContainerState(yyj1848) if r.TryDecodeAsNil() { - yyv1848[yyj1848] = ReplicaSetCondition{} + yyv1848[yyj1848] = DeploymentCondition{} } else { yyv1850 := &yyv1848[yyj1848] yyv1850.CodecDecodeSelf(d) @@ -22614,13 +22081,13 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d for ; !r.CheckBreak(); yyj1848++ { if yyj1848 >= len(yyv1848) { - yyv1848 = append(yyv1848, ReplicaSetCondition{}) // var yyz1848 ReplicaSetCondition + yyv1848 = append(yyv1848, DeploymentCondition{}) // var yyz1848 DeploymentCondition yyc1848 = true } yyh1848.ElemContainerState(yyj1848) if yyj1848 < len(yyv1848) { if r.TryDecodeAsNil() { - yyv1848[yyj1848] = ReplicaSetCondition{} + yyv1848[yyj1848] = DeploymentCondition{} } else { yyv1851 := &yyv1848[yyj1848] yyv1851.CodecDecodeSelf(d) @@ -22635,7 +22102,7 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d yyv1848 = yyv1848[:yyj1848] yyc1848 = true } else if yyj1848 == 0 && yyv1848 == nil { - yyv1848 = []ReplicaSetCondition{} + yyv1848 = []DeploymentCondition{} yyc1848 = true } } @@ -22645,25 +22112,20 @@ func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d } } -func (x codecSelfer1234) encSlicev1_Capability(v []pkg2_v1.Capability, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) for _, yyv1852 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1853 := z.EncBinary() - _ = yym1853 - if false { - } else if z.HasExtensions() && z.EncExt(yyv1852) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1852)) - } + yy1853 := &yyv1852 + yy1853.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -22673,7 +22135,7 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec var yyc1854 bool if yyl1854 == 0 { if yyv1854 == nil { - yyv1854 = []pkg2_v1.Capability{} + yyv1854 = []Deployment{} yyc1854 = true } else if len(yyv1854) != 0 { yyv1854 = yyv1854[:0] @@ -22684,18 +22146,23 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec var yyrt1854 bool if yyl1854 > cap(yyv1854) { - yyrl1854, yyrt1854 = z.DecInferLen(yyl1854, z.DecBasicHandle().MaxInitLen, 16) + yyrg1854 := len(yyv1854) > 0 + yyv21854 := yyv1854 + yyrl1854, yyrt1854 = z.DecInferLen(yyl1854, z.DecBasicHandle().MaxInitLen, 856) if yyrt1854 { if yyrl1854 <= cap(yyv1854) { yyv1854 = yyv1854[:yyrl1854] } else { - yyv1854 = make([]pkg2_v1.Capability, yyrl1854) + yyv1854 = make([]Deployment, yyrl1854) } } else { - yyv1854 = make([]pkg2_v1.Capability, yyrl1854) + yyv1854 = make([]Deployment, yyrl1854) } yyc1854 = true yyrr1854 = len(yyv1854) + if yyrg1854 { + copy(yyv1854, yyv21854) + } } else if yyl1854 != len(yyv1854) { yyv1854 = yyv1854[:yyl1854] yyc1854 = true @@ -22704,20 +22171,22 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec for ; yyj1854 < yyrr1854; yyj1854++ { yyh1854.ElemContainerState(yyj1854) if r.TryDecodeAsNil() { - yyv1854[yyj1854] = "" + yyv1854[yyj1854] = Deployment{} } else { - yyv1854[yyj1854] = pkg2_v1.Capability(r.DecodeString()) + yyv1855 := &yyv1854[yyj1854] + yyv1855.CodecDecodeSelf(d) } } if yyrt1854 { for ; yyj1854 < yyl1854; yyj1854++ { - yyv1854 = append(yyv1854, "") + yyv1854 = append(yyv1854, Deployment{}) yyh1854.ElemContainerState(yyj1854) if r.TryDecodeAsNil() { - yyv1854[yyj1854] = "" + yyv1854[yyj1854] = Deployment{} } else { - yyv1854[yyj1854] = pkg2_v1.Capability(r.DecodeString()) + yyv1856 := &yyv1854[yyj1854] + yyv1856.CodecDecodeSelf(d) } } @@ -22728,15 +22197,16 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec for ; !r.CheckBreak(); yyj1854++ { if yyj1854 >= len(yyv1854) { - yyv1854 = append(yyv1854, "") // var yyz1854 pkg2_v1.Capability + yyv1854 = append(yyv1854, Deployment{}) // var yyz1854 Deployment yyc1854 = true } yyh1854.ElemContainerState(yyj1854) if yyj1854 < len(yyv1854) { if r.TryDecodeAsNil() { - yyv1854[yyj1854] = "" + yyv1854[yyj1854] = Deployment{} } else { - yyv1854[yyj1854] = pkg2_v1.Capability(r.DecodeString()) + yyv1857 := &yyv1854[yyj1854] + yyv1857.CodecDecodeSelf(d) } } else { @@ -22748,7 +22218,7 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec yyv1854 = yyv1854[:yyj1854] yyc1854 = true } else if yyj1854 == 0 && yyv1854 == nil { - yyv1854 = []pkg2_v1.Capability{} + yyv1854 = []Deployment{} yyc1854 = true } } @@ -22758,14 +22228,1287 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec } } -func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { +func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) for _, yyv1858 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1858.CodecEncodeSelf(e) + yy1859 := &yyv1858 + yy1859.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1860 := *v + yyh1860, yyl1860 := z.DecSliceHelperStart() + var yyc1860 bool + if yyl1860 == 0 { + if yyv1860 == nil { + yyv1860 = []DaemonSet{} + yyc1860 = true + } else if len(yyv1860) != 0 { + yyv1860 = yyv1860[:0] + yyc1860 = true + } + } else if yyl1860 > 0 { + var yyrr1860, yyrl1860 int + var yyrt1860 bool + if yyl1860 > cap(yyv1860) { + + yyrg1860 := len(yyv1860) > 0 + yyv21860 := yyv1860 + yyrl1860, yyrt1860 = z.DecInferLen(yyl1860, z.DecBasicHandle().MaxInitLen, 752) + if yyrt1860 { + if yyrl1860 <= cap(yyv1860) { + yyv1860 = yyv1860[:yyrl1860] + } else { + yyv1860 = make([]DaemonSet, yyrl1860) + } + } else { + yyv1860 = make([]DaemonSet, yyrl1860) + } + yyc1860 = true + yyrr1860 = len(yyv1860) + if yyrg1860 { + copy(yyv1860, yyv21860) + } + } else if yyl1860 != len(yyv1860) { + yyv1860 = yyv1860[:yyl1860] + yyc1860 = true + } + yyj1860 := 0 + for ; yyj1860 < yyrr1860; yyj1860++ { + yyh1860.ElemContainerState(yyj1860) + if r.TryDecodeAsNil() { + yyv1860[yyj1860] = DaemonSet{} + } else { + yyv1861 := &yyv1860[yyj1860] + yyv1861.CodecDecodeSelf(d) + } + + } + if yyrt1860 { + for ; yyj1860 < yyl1860; yyj1860++ { + yyv1860 = append(yyv1860, DaemonSet{}) + yyh1860.ElemContainerState(yyj1860) + if r.TryDecodeAsNil() { + yyv1860[yyj1860] = DaemonSet{} + } else { + yyv1862 := &yyv1860[yyj1860] + yyv1862.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1860 := 0 + for ; !r.CheckBreak(); yyj1860++ { + + if yyj1860 >= len(yyv1860) { + yyv1860 = append(yyv1860, DaemonSet{}) // var yyz1860 DaemonSet + yyc1860 = true + } + yyh1860.ElemContainerState(yyj1860) + if yyj1860 < len(yyv1860) { + if r.TryDecodeAsNil() { + yyv1860[yyj1860] = DaemonSet{} + } else { + yyv1863 := &yyv1860[yyj1860] + yyv1863.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1860 < len(yyv1860) { + yyv1860 = yyv1860[:yyj1860] + yyc1860 = true + } else if yyj1860 == 0 && yyv1860 == nil { + yyv1860 = []DaemonSet{} + yyc1860 = true + } + } + yyh1860.End() + if yyc1860 { + *v = yyv1860 + } +} + +func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceData, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1864 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1865 := &yyv1864 + yy1865.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceData, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1866 := *v + yyh1866, yyl1866 := z.DecSliceHelperStart() + var yyc1866 bool + if yyl1866 == 0 { + if yyv1866 == nil { + yyv1866 = []ThirdPartyResourceData{} + yyc1866 = true + } else if len(yyv1866) != 0 { + yyv1866 = yyv1866[:0] + yyc1866 = true + } + } else if yyl1866 > 0 { + var yyrr1866, yyrl1866 int + var yyrt1866 bool + if yyl1866 > cap(yyv1866) { + + yyrg1866 := len(yyv1866) > 0 + yyv21866 := yyv1866 + yyrl1866, yyrt1866 = z.DecInferLen(yyl1866, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1866 { + if yyrl1866 <= cap(yyv1866) { + yyv1866 = yyv1866[:yyrl1866] + } else { + yyv1866 = make([]ThirdPartyResourceData, yyrl1866) + } + } else { + yyv1866 = make([]ThirdPartyResourceData, yyrl1866) + } + yyc1866 = true + yyrr1866 = len(yyv1866) + if yyrg1866 { + copy(yyv1866, yyv21866) + } + } else if yyl1866 != len(yyv1866) { + yyv1866 = yyv1866[:yyl1866] + yyc1866 = true + } + yyj1866 := 0 + for ; yyj1866 < yyrr1866; yyj1866++ { + yyh1866.ElemContainerState(yyj1866) + if r.TryDecodeAsNil() { + yyv1866[yyj1866] = ThirdPartyResourceData{} + } else { + yyv1867 := &yyv1866[yyj1866] + yyv1867.CodecDecodeSelf(d) + } + + } + if yyrt1866 { + for ; yyj1866 < yyl1866; yyj1866++ { + yyv1866 = append(yyv1866, ThirdPartyResourceData{}) + yyh1866.ElemContainerState(yyj1866) + if r.TryDecodeAsNil() { + yyv1866[yyj1866] = ThirdPartyResourceData{} + } else { + yyv1868 := &yyv1866[yyj1866] + yyv1868.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1866 := 0 + for ; !r.CheckBreak(); yyj1866++ { + + if yyj1866 >= len(yyv1866) { + yyv1866 = append(yyv1866, ThirdPartyResourceData{}) // var yyz1866 ThirdPartyResourceData + yyc1866 = true + } + yyh1866.ElemContainerState(yyj1866) + if yyj1866 < len(yyv1866) { + if r.TryDecodeAsNil() { + yyv1866[yyj1866] = ThirdPartyResourceData{} + } else { + yyv1869 := &yyv1866[yyj1866] + yyv1869.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1866 < len(yyv1866) { + yyv1866 = yyv1866[:yyj1866] + yyc1866 = true + } else if yyj1866 == 0 && yyv1866 == nil { + yyv1866 = []ThirdPartyResourceData{} + yyc1866 = true + } + } + yyh1866.End() + if yyc1866 { + *v = yyv1866 + } +} + +func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1870 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1871 := &yyv1870 + yy1871.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1872 := *v + yyh1872, yyl1872 := z.DecSliceHelperStart() + var yyc1872 bool + if yyl1872 == 0 { + if yyv1872 == nil { + yyv1872 = []Job{} + yyc1872 = true + } else if len(yyv1872) != 0 { + yyv1872 = yyv1872[:0] + yyc1872 = true + } + } else if yyl1872 > 0 { + var yyrr1872, yyrl1872 int + var yyrt1872 bool + if yyl1872 > cap(yyv1872) { + + yyrg1872 := len(yyv1872) > 0 + yyv21872 := yyv1872 + yyrl1872, yyrt1872 = z.DecInferLen(yyl1872, z.DecBasicHandle().MaxInitLen, 824) + if yyrt1872 { + if yyrl1872 <= cap(yyv1872) { + yyv1872 = yyv1872[:yyrl1872] + } else { + yyv1872 = make([]Job, yyrl1872) + } + } else { + yyv1872 = make([]Job, yyrl1872) + } + yyc1872 = true + yyrr1872 = len(yyv1872) + if yyrg1872 { + copy(yyv1872, yyv21872) + } + } else if yyl1872 != len(yyv1872) { + yyv1872 = yyv1872[:yyl1872] + yyc1872 = true + } + yyj1872 := 0 + for ; yyj1872 < yyrr1872; yyj1872++ { + yyh1872.ElemContainerState(yyj1872) + if r.TryDecodeAsNil() { + yyv1872[yyj1872] = Job{} + } else { + yyv1873 := &yyv1872[yyj1872] + yyv1873.CodecDecodeSelf(d) + } + + } + if yyrt1872 { + for ; yyj1872 < yyl1872; yyj1872++ { + yyv1872 = append(yyv1872, Job{}) + yyh1872.ElemContainerState(yyj1872) + if r.TryDecodeAsNil() { + yyv1872[yyj1872] = Job{} + } else { + yyv1874 := &yyv1872[yyj1872] + yyv1874.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1872 := 0 + for ; !r.CheckBreak(); yyj1872++ { + + if yyj1872 >= len(yyv1872) { + yyv1872 = append(yyv1872, Job{}) // var yyz1872 Job + yyc1872 = true + } + yyh1872.ElemContainerState(yyj1872) + if yyj1872 < len(yyv1872) { + if r.TryDecodeAsNil() { + yyv1872[yyj1872] = Job{} + } else { + yyv1875 := &yyv1872[yyj1872] + yyv1875.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1872 < len(yyv1872) { + yyv1872 = yyv1872[:yyj1872] + yyc1872 = true + } else if yyj1872 == 0 && yyv1872 == nil { + yyv1872 = []Job{} + yyc1872 = true + } + } + yyh1872.End() + if yyc1872 { + *v = yyv1872 + } +} + +func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1876 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1877 := &yyv1876 + yy1877.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1878 := *v + yyh1878, yyl1878 := z.DecSliceHelperStart() + var yyc1878 bool + if yyl1878 == 0 { + if yyv1878 == nil { + yyv1878 = []JobCondition{} + yyc1878 = true + } else if len(yyv1878) != 0 { + yyv1878 = yyv1878[:0] + yyc1878 = true + } + } else if yyl1878 > 0 { + var yyrr1878, yyrl1878 int + var yyrt1878 bool + if yyl1878 > cap(yyv1878) { + + yyrg1878 := len(yyv1878) > 0 + yyv21878 := yyv1878 + yyrl1878, yyrt1878 = z.DecInferLen(yyl1878, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1878 { + if yyrl1878 <= cap(yyv1878) { + yyv1878 = yyv1878[:yyrl1878] + } else { + yyv1878 = make([]JobCondition, yyrl1878) + } + } else { + yyv1878 = make([]JobCondition, yyrl1878) + } + yyc1878 = true + yyrr1878 = len(yyv1878) + if yyrg1878 { + copy(yyv1878, yyv21878) + } + } else if yyl1878 != len(yyv1878) { + yyv1878 = yyv1878[:yyl1878] + yyc1878 = true + } + yyj1878 := 0 + for ; yyj1878 < yyrr1878; yyj1878++ { + yyh1878.ElemContainerState(yyj1878) + if r.TryDecodeAsNil() { + yyv1878[yyj1878] = JobCondition{} + } else { + yyv1879 := &yyv1878[yyj1878] + yyv1879.CodecDecodeSelf(d) + } + + } + if yyrt1878 { + for ; yyj1878 < yyl1878; yyj1878++ { + yyv1878 = append(yyv1878, JobCondition{}) + yyh1878.ElemContainerState(yyj1878) + if r.TryDecodeAsNil() { + yyv1878[yyj1878] = JobCondition{} + } else { + yyv1880 := &yyv1878[yyj1878] + yyv1880.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1878 := 0 + for ; !r.CheckBreak(); yyj1878++ { + + if yyj1878 >= len(yyv1878) { + yyv1878 = append(yyv1878, JobCondition{}) // var yyz1878 JobCondition + yyc1878 = true + } + yyh1878.ElemContainerState(yyj1878) + if yyj1878 < len(yyv1878) { + if r.TryDecodeAsNil() { + yyv1878[yyj1878] = JobCondition{} + } else { + yyv1881 := &yyv1878[yyj1878] + yyv1881.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1878 < len(yyv1878) { + yyv1878 = yyv1878[:yyj1878] + yyc1878 = true + } else if yyj1878 == 0 && yyv1878 == nil { + yyv1878 = []JobCondition{} + yyc1878 = true + } + } + yyh1878.End() + if yyc1878 { + *v = yyv1878 + } +} + +func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1882 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1883 := &yyv1882 + yy1883.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1884 := *v + yyh1884, yyl1884 := z.DecSliceHelperStart() + var yyc1884 bool + if yyl1884 == 0 { + if yyv1884 == nil { + yyv1884 = []Ingress{} + yyc1884 = true + } else if len(yyv1884) != 0 { + yyv1884 = yyv1884[:0] + yyc1884 = true + } + } else if yyl1884 > 0 { + var yyrr1884, yyrl1884 int + var yyrt1884 bool + if yyl1884 > cap(yyv1884) { + + yyrg1884 := len(yyv1884) > 0 + yyv21884 := yyv1884 + yyrl1884, yyrt1884 = z.DecInferLen(yyl1884, z.DecBasicHandle().MaxInitLen, 336) + if yyrt1884 { + if yyrl1884 <= cap(yyv1884) { + yyv1884 = yyv1884[:yyrl1884] + } else { + yyv1884 = make([]Ingress, yyrl1884) + } + } else { + yyv1884 = make([]Ingress, yyrl1884) + } + yyc1884 = true + yyrr1884 = len(yyv1884) + if yyrg1884 { + copy(yyv1884, yyv21884) + } + } else if yyl1884 != len(yyv1884) { + yyv1884 = yyv1884[:yyl1884] + yyc1884 = true + } + yyj1884 := 0 + for ; yyj1884 < yyrr1884; yyj1884++ { + yyh1884.ElemContainerState(yyj1884) + if r.TryDecodeAsNil() { + yyv1884[yyj1884] = Ingress{} + } else { + yyv1885 := &yyv1884[yyj1884] + yyv1885.CodecDecodeSelf(d) + } + + } + if yyrt1884 { + for ; yyj1884 < yyl1884; yyj1884++ { + yyv1884 = append(yyv1884, Ingress{}) + yyh1884.ElemContainerState(yyj1884) + if r.TryDecodeAsNil() { + yyv1884[yyj1884] = Ingress{} + } else { + yyv1886 := &yyv1884[yyj1884] + yyv1886.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1884 := 0 + for ; !r.CheckBreak(); yyj1884++ { + + if yyj1884 >= len(yyv1884) { + yyv1884 = append(yyv1884, Ingress{}) // var yyz1884 Ingress + yyc1884 = true + } + yyh1884.ElemContainerState(yyj1884) + if yyj1884 < len(yyv1884) { + if r.TryDecodeAsNil() { + yyv1884[yyj1884] = Ingress{} + } else { + yyv1887 := &yyv1884[yyj1884] + yyv1887.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1884 < len(yyv1884) { + yyv1884 = yyv1884[:yyj1884] + yyc1884 = true + } else if yyj1884 == 0 && yyv1884 == nil { + yyv1884 = []Ingress{} + yyc1884 = true + } + } + yyh1884.End() + if yyc1884 { + *v = yyv1884 + } +} + +func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1888 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1889 := &yyv1888 + yy1889.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1890 := *v + yyh1890, yyl1890 := z.DecSliceHelperStart() + var yyc1890 bool + if yyl1890 == 0 { + if yyv1890 == nil { + yyv1890 = []IngressTLS{} + yyc1890 = true + } else if len(yyv1890) != 0 { + yyv1890 = yyv1890[:0] + yyc1890 = true + } + } else if yyl1890 > 0 { + var yyrr1890, yyrl1890 int + var yyrt1890 bool + if yyl1890 > cap(yyv1890) { + + yyrg1890 := len(yyv1890) > 0 + yyv21890 := yyv1890 + yyrl1890, yyrt1890 = z.DecInferLen(yyl1890, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1890 { + if yyrl1890 <= cap(yyv1890) { + yyv1890 = yyv1890[:yyrl1890] + } else { + yyv1890 = make([]IngressTLS, yyrl1890) + } + } else { + yyv1890 = make([]IngressTLS, yyrl1890) + } + yyc1890 = true + yyrr1890 = len(yyv1890) + if yyrg1890 { + copy(yyv1890, yyv21890) + } + } else if yyl1890 != len(yyv1890) { + yyv1890 = yyv1890[:yyl1890] + yyc1890 = true + } + yyj1890 := 0 + for ; yyj1890 < yyrr1890; yyj1890++ { + yyh1890.ElemContainerState(yyj1890) + if r.TryDecodeAsNil() { + yyv1890[yyj1890] = IngressTLS{} + } else { + yyv1891 := &yyv1890[yyj1890] + yyv1891.CodecDecodeSelf(d) + } + + } + if yyrt1890 { + for ; yyj1890 < yyl1890; yyj1890++ { + yyv1890 = append(yyv1890, IngressTLS{}) + yyh1890.ElemContainerState(yyj1890) + if r.TryDecodeAsNil() { + yyv1890[yyj1890] = IngressTLS{} + } else { + yyv1892 := &yyv1890[yyj1890] + yyv1892.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1890 := 0 + for ; !r.CheckBreak(); yyj1890++ { + + if yyj1890 >= len(yyv1890) { + yyv1890 = append(yyv1890, IngressTLS{}) // var yyz1890 IngressTLS + yyc1890 = true + } + yyh1890.ElemContainerState(yyj1890) + if yyj1890 < len(yyv1890) { + if r.TryDecodeAsNil() { + yyv1890[yyj1890] = IngressTLS{} + } else { + yyv1893 := &yyv1890[yyj1890] + yyv1893.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1890 < len(yyv1890) { + yyv1890 = yyv1890[:yyj1890] + yyc1890 = true + } else if yyj1890 == 0 && yyv1890 == nil { + yyv1890 = []IngressTLS{} + yyc1890 = true + } + } + yyh1890.End() + if yyc1890 { + *v = yyv1890 + } +} + +func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1894 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1895 := &yyv1894 + yy1895.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1896 := *v + yyh1896, yyl1896 := z.DecSliceHelperStart() + var yyc1896 bool + if yyl1896 == 0 { + if yyv1896 == nil { + yyv1896 = []IngressRule{} + yyc1896 = true + } else if len(yyv1896) != 0 { + yyv1896 = yyv1896[:0] + yyc1896 = true + } + } else if yyl1896 > 0 { + var yyrr1896, yyrl1896 int + var yyrt1896 bool + if yyl1896 > cap(yyv1896) { + + yyrg1896 := len(yyv1896) > 0 + yyv21896 := yyv1896 + yyrl1896, yyrt1896 = z.DecInferLen(yyl1896, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1896 { + if yyrl1896 <= cap(yyv1896) { + yyv1896 = yyv1896[:yyrl1896] + } else { + yyv1896 = make([]IngressRule, yyrl1896) + } + } else { + yyv1896 = make([]IngressRule, yyrl1896) + } + yyc1896 = true + yyrr1896 = len(yyv1896) + if yyrg1896 { + copy(yyv1896, yyv21896) + } + } else if yyl1896 != len(yyv1896) { + yyv1896 = yyv1896[:yyl1896] + yyc1896 = true + } + yyj1896 := 0 + for ; yyj1896 < yyrr1896; yyj1896++ { + yyh1896.ElemContainerState(yyj1896) + if r.TryDecodeAsNil() { + yyv1896[yyj1896] = IngressRule{} + } else { + yyv1897 := &yyv1896[yyj1896] + yyv1897.CodecDecodeSelf(d) + } + + } + if yyrt1896 { + for ; yyj1896 < yyl1896; yyj1896++ { + yyv1896 = append(yyv1896, IngressRule{}) + yyh1896.ElemContainerState(yyj1896) + if r.TryDecodeAsNil() { + yyv1896[yyj1896] = IngressRule{} + } else { + yyv1898 := &yyv1896[yyj1896] + yyv1898.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1896 := 0 + for ; !r.CheckBreak(); yyj1896++ { + + if yyj1896 >= len(yyv1896) { + yyv1896 = append(yyv1896, IngressRule{}) // var yyz1896 IngressRule + yyc1896 = true + } + yyh1896.ElemContainerState(yyj1896) + if yyj1896 < len(yyv1896) { + if r.TryDecodeAsNil() { + yyv1896[yyj1896] = IngressRule{} + } else { + yyv1899 := &yyv1896[yyj1896] + yyv1899.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1896 < len(yyv1896) { + yyv1896 = yyv1896[:yyj1896] + yyc1896 = true + } else if yyj1896 == 0 && yyv1896 == nil { + yyv1896 = []IngressRule{} + yyc1896 = true + } + } + yyh1896.End() + if yyc1896 { + *v = yyv1896 + } +} + +func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1900 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1901 := &yyv1900 + yy1901.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1902 := *v + yyh1902, yyl1902 := z.DecSliceHelperStart() + var yyc1902 bool + if yyl1902 == 0 { + if yyv1902 == nil { + yyv1902 = []HTTPIngressPath{} + yyc1902 = true + } else if len(yyv1902) != 0 { + yyv1902 = yyv1902[:0] + yyc1902 = true + } + } else if yyl1902 > 0 { + var yyrr1902, yyrl1902 int + var yyrt1902 bool + if yyl1902 > cap(yyv1902) { + + yyrg1902 := len(yyv1902) > 0 + yyv21902 := yyv1902 + yyrl1902, yyrt1902 = z.DecInferLen(yyl1902, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1902 { + if yyrl1902 <= cap(yyv1902) { + yyv1902 = yyv1902[:yyrl1902] + } else { + yyv1902 = make([]HTTPIngressPath, yyrl1902) + } + } else { + yyv1902 = make([]HTTPIngressPath, yyrl1902) + } + yyc1902 = true + yyrr1902 = len(yyv1902) + if yyrg1902 { + copy(yyv1902, yyv21902) + } + } else if yyl1902 != len(yyv1902) { + yyv1902 = yyv1902[:yyl1902] + yyc1902 = true + } + yyj1902 := 0 + for ; yyj1902 < yyrr1902; yyj1902++ { + yyh1902.ElemContainerState(yyj1902) + if r.TryDecodeAsNil() { + yyv1902[yyj1902] = HTTPIngressPath{} + } else { + yyv1903 := &yyv1902[yyj1902] + yyv1903.CodecDecodeSelf(d) + } + + } + if yyrt1902 { + for ; yyj1902 < yyl1902; yyj1902++ { + yyv1902 = append(yyv1902, HTTPIngressPath{}) + yyh1902.ElemContainerState(yyj1902) + if r.TryDecodeAsNil() { + yyv1902[yyj1902] = HTTPIngressPath{} + } else { + yyv1904 := &yyv1902[yyj1902] + yyv1904.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1902 := 0 + for ; !r.CheckBreak(); yyj1902++ { + + if yyj1902 >= len(yyv1902) { + yyv1902 = append(yyv1902, HTTPIngressPath{}) // var yyz1902 HTTPIngressPath + yyc1902 = true + } + yyh1902.ElemContainerState(yyj1902) + if yyj1902 < len(yyv1902) { + if r.TryDecodeAsNil() { + yyv1902[yyj1902] = HTTPIngressPath{} + } else { + yyv1905 := &yyv1902[yyj1902] + yyv1905.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1902 < len(yyv1902) { + yyv1902 = yyv1902[:yyj1902] + yyc1902 = true + } else if yyj1902 == 0 && yyv1902 == nil { + yyv1902 = []HTTPIngressPath{} + yyc1902 = true + } + } + yyh1902.End() + if yyc1902 { + *v = yyv1902 + } +} + +func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1906 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1907 := &yyv1906 + yy1907.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1908 := *v + yyh1908, yyl1908 := z.DecSliceHelperStart() + var yyc1908 bool + if yyl1908 == 0 { + if yyv1908 == nil { + yyv1908 = []ReplicaSet{} + yyc1908 = true + } else if len(yyv1908) != 0 { + yyv1908 = yyv1908[:0] + yyc1908 = true + } + } else if yyl1908 > 0 { + var yyrr1908, yyrl1908 int + var yyrt1908 bool + if yyl1908 > cap(yyv1908) { + + yyrg1908 := len(yyv1908) > 0 + yyv21908 := yyv1908 + yyrl1908, yyrt1908 = z.DecInferLen(yyl1908, z.DecBasicHandle().MaxInitLen, 800) + if yyrt1908 { + if yyrl1908 <= cap(yyv1908) { + yyv1908 = yyv1908[:yyrl1908] + } else { + yyv1908 = make([]ReplicaSet, yyrl1908) + } + } else { + yyv1908 = make([]ReplicaSet, yyrl1908) + } + yyc1908 = true + yyrr1908 = len(yyv1908) + if yyrg1908 { + copy(yyv1908, yyv21908) + } + } else if yyl1908 != len(yyv1908) { + yyv1908 = yyv1908[:yyl1908] + yyc1908 = true + } + yyj1908 := 0 + for ; yyj1908 < yyrr1908; yyj1908++ { + yyh1908.ElemContainerState(yyj1908) + if r.TryDecodeAsNil() { + yyv1908[yyj1908] = ReplicaSet{} + } else { + yyv1909 := &yyv1908[yyj1908] + yyv1909.CodecDecodeSelf(d) + } + + } + if yyrt1908 { + for ; yyj1908 < yyl1908; yyj1908++ { + yyv1908 = append(yyv1908, ReplicaSet{}) + yyh1908.ElemContainerState(yyj1908) + if r.TryDecodeAsNil() { + yyv1908[yyj1908] = ReplicaSet{} + } else { + yyv1910 := &yyv1908[yyj1908] + yyv1910.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1908 := 0 + for ; !r.CheckBreak(); yyj1908++ { + + if yyj1908 >= len(yyv1908) { + yyv1908 = append(yyv1908, ReplicaSet{}) // var yyz1908 ReplicaSet + yyc1908 = true + } + yyh1908.ElemContainerState(yyj1908) + if yyj1908 < len(yyv1908) { + if r.TryDecodeAsNil() { + yyv1908[yyj1908] = ReplicaSet{} + } else { + yyv1911 := &yyv1908[yyj1908] + yyv1911.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1908 < len(yyv1908) { + yyv1908 = yyv1908[:yyj1908] + yyc1908 = true + } else if yyj1908 == 0 && yyv1908 == nil { + yyv1908 = []ReplicaSet{} + yyc1908 = true + } + } + yyh1908.End() + if yyc1908 { + *v = yyv1908 + } +} + +func (x codecSelfer1234) encSliceReplicaSetCondition(v []ReplicaSetCondition, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1912 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1913 := &yyv1912 + yy1913.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceReplicaSetCondition(v *[]ReplicaSetCondition, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1914 := *v + yyh1914, yyl1914 := z.DecSliceHelperStart() + var yyc1914 bool + if yyl1914 == 0 { + if yyv1914 == nil { + yyv1914 = []ReplicaSetCondition{} + yyc1914 = true + } else if len(yyv1914) != 0 { + yyv1914 = yyv1914[:0] + yyc1914 = true + } + } else if yyl1914 > 0 { + var yyrr1914, yyrl1914 int + var yyrt1914 bool + if yyl1914 > cap(yyv1914) { + + yyrg1914 := len(yyv1914) > 0 + yyv21914 := yyv1914 + yyrl1914, yyrt1914 = z.DecInferLen(yyl1914, z.DecBasicHandle().MaxInitLen, 88) + if yyrt1914 { + if yyrl1914 <= cap(yyv1914) { + yyv1914 = yyv1914[:yyrl1914] + } else { + yyv1914 = make([]ReplicaSetCondition, yyrl1914) + } + } else { + yyv1914 = make([]ReplicaSetCondition, yyrl1914) + } + yyc1914 = true + yyrr1914 = len(yyv1914) + if yyrg1914 { + copy(yyv1914, yyv21914) + } + } else if yyl1914 != len(yyv1914) { + yyv1914 = yyv1914[:yyl1914] + yyc1914 = true + } + yyj1914 := 0 + for ; yyj1914 < yyrr1914; yyj1914++ { + yyh1914.ElemContainerState(yyj1914) + if r.TryDecodeAsNil() { + yyv1914[yyj1914] = ReplicaSetCondition{} + } else { + yyv1915 := &yyv1914[yyj1914] + yyv1915.CodecDecodeSelf(d) + } + + } + if yyrt1914 { + for ; yyj1914 < yyl1914; yyj1914++ { + yyv1914 = append(yyv1914, ReplicaSetCondition{}) + yyh1914.ElemContainerState(yyj1914) + if r.TryDecodeAsNil() { + yyv1914[yyj1914] = ReplicaSetCondition{} + } else { + yyv1916 := &yyv1914[yyj1914] + yyv1916.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1914 := 0 + for ; !r.CheckBreak(); yyj1914++ { + + if yyj1914 >= len(yyv1914) { + yyv1914 = append(yyv1914, ReplicaSetCondition{}) // var yyz1914 ReplicaSetCondition + yyc1914 = true + } + yyh1914.ElemContainerState(yyj1914) + if yyj1914 < len(yyv1914) { + if r.TryDecodeAsNil() { + yyv1914[yyj1914] = ReplicaSetCondition{} + } else { + yyv1917 := &yyv1914[yyj1914] + yyv1917.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1914 < len(yyv1914) { + yyv1914 = yyv1914[:yyj1914] + yyc1914 = true + } else if yyj1914 == 0 && yyv1914 == nil { + yyv1914 = []ReplicaSetCondition{} + yyc1914 = true + } + } + yyh1914.End() + if yyc1914 { + *v = yyv1914 + } +} + +func (x codecSelfer1234) encSlicev1_Capability(v []pkg2_v1.Capability, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1918 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1919 := z.EncBinary() + _ = yym1919 + if false { + } else if z.HasExtensions() && z.EncExt(yyv1918) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yyv1918)) + } + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + + yyv1920 := *v + yyh1920, yyl1920 := z.DecSliceHelperStart() + var yyc1920 bool + if yyl1920 == 0 { + if yyv1920 == nil { + yyv1920 = []pkg2_v1.Capability{} + yyc1920 = true + } else if len(yyv1920) != 0 { + yyv1920 = yyv1920[:0] + yyc1920 = true + } + } else if yyl1920 > 0 { + var yyrr1920, yyrl1920 int + var yyrt1920 bool + if yyl1920 > cap(yyv1920) { + + yyrl1920, yyrt1920 = z.DecInferLen(yyl1920, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1920 { + if yyrl1920 <= cap(yyv1920) { + yyv1920 = yyv1920[:yyrl1920] + } else { + yyv1920 = make([]pkg2_v1.Capability, yyrl1920) + } + } else { + yyv1920 = make([]pkg2_v1.Capability, yyrl1920) + } + yyc1920 = true + yyrr1920 = len(yyv1920) + } else if yyl1920 != len(yyv1920) { + yyv1920 = yyv1920[:yyl1920] + yyc1920 = true + } + yyj1920 := 0 + for ; yyj1920 < yyrr1920; yyj1920++ { + yyh1920.ElemContainerState(yyj1920) + if r.TryDecodeAsNil() { + yyv1920[yyj1920] = "" + } else { + yyv1920[yyj1920] = pkg2_v1.Capability(r.DecodeString()) + } + + } + if yyrt1920 { + for ; yyj1920 < yyl1920; yyj1920++ { + yyv1920 = append(yyv1920, "") + yyh1920.ElemContainerState(yyj1920) + if r.TryDecodeAsNil() { + yyv1920[yyj1920] = "" + } else { + yyv1920[yyj1920] = pkg2_v1.Capability(r.DecodeString()) + } + + } + } + + } else { + yyj1920 := 0 + for ; !r.CheckBreak(); yyj1920++ { + + if yyj1920 >= len(yyv1920) { + yyv1920 = append(yyv1920, "") // var yyz1920 pkg2_v1.Capability + yyc1920 = true + } + yyh1920.ElemContainerState(yyj1920) + if yyj1920 < len(yyv1920) { + if r.TryDecodeAsNil() { + yyv1920[yyj1920] = "" + } else { + yyv1920[yyj1920] = pkg2_v1.Capability(r.DecodeString()) + } + + } else { + z.DecSwallow() + } + + } + if yyj1920 < len(yyv1920) { + yyv1920 = yyv1920[:yyj1920] + yyc1920 = true + } else if yyj1920 == 0 && yyv1920 == nil { + yyv1920 = []pkg2_v1.Capability{} + yyc1920 = true + } + } + yyh1920.End() + if yyc1920 { + *v = yyv1920 + } +} + +func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1924 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yyv1924.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22775,75 +23518,75 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1859 := *v - yyh1859, yyl1859 := z.DecSliceHelperStart() - var yyc1859 bool - if yyl1859 == 0 { - if yyv1859 == nil { - yyv1859 = []FSType{} - yyc1859 = true - } else if len(yyv1859) != 0 { - yyv1859 = yyv1859[:0] - yyc1859 = true + yyv1925 := *v + yyh1925, yyl1925 := z.DecSliceHelperStart() + var yyc1925 bool + if yyl1925 == 0 { + if yyv1925 == nil { + yyv1925 = []FSType{} + yyc1925 = true + } else if len(yyv1925) != 0 { + yyv1925 = yyv1925[:0] + yyc1925 = true } - } else if yyl1859 > 0 { - var yyrr1859, yyrl1859 int - var yyrt1859 bool - if yyl1859 > cap(yyv1859) { + } else if yyl1925 > 0 { + var yyrr1925, yyrl1925 int + var yyrt1925 bool + if yyl1925 > cap(yyv1925) { - yyrl1859, yyrt1859 = z.DecInferLen(yyl1859, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1859 { - if yyrl1859 <= cap(yyv1859) { - yyv1859 = yyv1859[:yyrl1859] + yyrl1925, yyrt1925 = z.DecInferLen(yyl1925, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1925 { + if yyrl1925 <= cap(yyv1925) { + yyv1925 = yyv1925[:yyrl1925] } else { - yyv1859 = make([]FSType, yyrl1859) + yyv1925 = make([]FSType, yyrl1925) } } else { - yyv1859 = make([]FSType, yyrl1859) + yyv1925 = make([]FSType, yyrl1925) } - yyc1859 = true - yyrr1859 = len(yyv1859) - } else if yyl1859 != len(yyv1859) { - yyv1859 = yyv1859[:yyl1859] - yyc1859 = true + yyc1925 = true + yyrr1925 = len(yyv1925) + } else if yyl1925 != len(yyv1925) { + yyv1925 = yyv1925[:yyl1925] + yyc1925 = true } - yyj1859 := 0 - for ; yyj1859 < yyrr1859; yyj1859++ { - yyh1859.ElemContainerState(yyj1859) + yyj1925 := 0 + for ; yyj1925 < yyrr1925; yyj1925++ { + yyh1925.ElemContainerState(yyj1925) if r.TryDecodeAsNil() { - yyv1859[yyj1859] = "" + yyv1925[yyj1925] = "" } else { - yyv1859[yyj1859] = FSType(r.DecodeString()) + yyv1925[yyj1925] = FSType(r.DecodeString()) } } - if yyrt1859 { - for ; yyj1859 < yyl1859; yyj1859++ { - yyv1859 = append(yyv1859, "") - yyh1859.ElemContainerState(yyj1859) + if yyrt1925 { + for ; yyj1925 < yyl1925; yyj1925++ { + yyv1925 = append(yyv1925, "") + yyh1925.ElemContainerState(yyj1925) if r.TryDecodeAsNil() { - yyv1859[yyj1859] = "" + yyv1925[yyj1925] = "" } else { - yyv1859[yyj1859] = FSType(r.DecodeString()) + yyv1925[yyj1925] = FSType(r.DecodeString()) } } } } else { - yyj1859 := 0 - for ; !r.CheckBreak(); yyj1859++ { + yyj1925 := 0 + for ; !r.CheckBreak(); yyj1925++ { - if yyj1859 >= len(yyv1859) { - yyv1859 = append(yyv1859, "") // var yyz1859 FSType - yyc1859 = true + if yyj1925 >= len(yyv1925) { + yyv1925 = append(yyv1925, "") // var yyz1925 FSType + yyc1925 = true } - yyh1859.ElemContainerState(yyj1859) - if yyj1859 < len(yyv1859) { + yyh1925.ElemContainerState(yyj1925) + if yyj1925 < len(yyv1925) { if r.TryDecodeAsNil() { - yyv1859[yyj1859] = "" + yyv1925[yyj1925] = "" } else { - yyv1859[yyj1859] = FSType(r.DecodeString()) + yyv1925[yyj1925] = FSType(r.DecodeString()) } } else { @@ -22851,17 +23594,17 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { } } - if yyj1859 < len(yyv1859) { - yyv1859 = yyv1859[:yyj1859] - yyc1859 = true - } else if yyj1859 == 0 && yyv1859 == nil { - yyv1859 = []FSType{} - yyc1859 = true + if yyj1925 < len(yyv1925) { + yyv1925 = yyv1925[:yyj1925] + yyc1925 = true + } else if yyj1925 == 0 && yyv1925 == nil { + yyv1925 = []FSType{} + yyc1925 = true } } - yyh1859.End() - if yyc1859 { - *v = yyv1859 + yyh1925.End() + if yyc1925 { + *v = yyv1925 } } @@ -22870,10 +23613,10 @@ func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1863 := range v { + for _, yyv1929 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1864 := &yyv1863 - yy1864.CodecEncodeSelf(e) + yy1930 := &yyv1929 + yy1930.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22883,83 +23626,83 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1865 := *v - yyh1865, yyl1865 := z.DecSliceHelperStart() - var yyc1865 bool - if yyl1865 == 0 { - if yyv1865 == nil { - yyv1865 = []HostPortRange{} - yyc1865 = true - } else if len(yyv1865) != 0 { - yyv1865 = yyv1865[:0] - yyc1865 = true + yyv1931 := *v + yyh1931, yyl1931 := z.DecSliceHelperStart() + var yyc1931 bool + if yyl1931 == 0 { + if yyv1931 == nil { + yyv1931 = []HostPortRange{} + yyc1931 = true + } else if len(yyv1931) != 0 { + yyv1931 = yyv1931[:0] + yyc1931 = true } - } else if yyl1865 > 0 { - var yyrr1865, yyrl1865 int - var yyrt1865 bool - if yyl1865 > cap(yyv1865) { + } else if yyl1931 > 0 { + var yyrr1931, yyrl1931 int + var yyrt1931 bool + if yyl1931 > cap(yyv1931) { - yyrg1865 := len(yyv1865) > 0 - yyv21865 := yyv1865 - yyrl1865, yyrt1865 = z.DecInferLen(yyl1865, z.DecBasicHandle().MaxInitLen, 8) - if yyrt1865 { - if yyrl1865 <= cap(yyv1865) { - yyv1865 = yyv1865[:yyrl1865] + yyrg1931 := len(yyv1931) > 0 + yyv21931 := yyv1931 + yyrl1931, yyrt1931 = z.DecInferLen(yyl1931, z.DecBasicHandle().MaxInitLen, 8) + if yyrt1931 { + if yyrl1931 <= cap(yyv1931) { + yyv1931 = yyv1931[:yyrl1931] } else { - yyv1865 = make([]HostPortRange, yyrl1865) + yyv1931 = make([]HostPortRange, yyrl1931) } } else { - yyv1865 = make([]HostPortRange, yyrl1865) + yyv1931 = make([]HostPortRange, yyrl1931) } - yyc1865 = true - yyrr1865 = len(yyv1865) - if yyrg1865 { - copy(yyv1865, yyv21865) + yyc1931 = true + yyrr1931 = len(yyv1931) + if yyrg1931 { + copy(yyv1931, yyv21931) } - } else if yyl1865 != len(yyv1865) { - yyv1865 = yyv1865[:yyl1865] - yyc1865 = true + } else if yyl1931 != len(yyv1931) { + yyv1931 = yyv1931[:yyl1931] + yyc1931 = true } - yyj1865 := 0 - for ; yyj1865 < yyrr1865; yyj1865++ { - yyh1865.ElemContainerState(yyj1865) + yyj1931 := 0 + for ; yyj1931 < yyrr1931; yyj1931++ { + yyh1931.ElemContainerState(yyj1931) if r.TryDecodeAsNil() { - yyv1865[yyj1865] = HostPortRange{} + yyv1931[yyj1931] = HostPortRange{} } else { - yyv1866 := &yyv1865[yyj1865] - yyv1866.CodecDecodeSelf(d) + yyv1932 := &yyv1931[yyj1931] + yyv1932.CodecDecodeSelf(d) } } - if yyrt1865 { - for ; yyj1865 < yyl1865; yyj1865++ { - yyv1865 = append(yyv1865, HostPortRange{}) - yyh1865.ElemContainerState(yyj1865) + if yyrt1931 { + for ; yyj1931 < yyl1931; yyj1931++ { + yyv1931 = append(yyv1931, HostPortRange{}) + yyh1931.ElemContainerState(yyj1931) if r.TryDecodeAsNil() { - yyv1865[yyj1865] = HostPortRange{} + yyv1931[yyj1931] = HostPortRange{} } else { - yyv1867 := &yyv1865[yyj1865] - yyv1867.CodecDecodeSelf(d) + yyv1933 := &yyv1931[yyj1931] + yyv1933.CodecDecodeSelf(d) } } } } else { - yyj1865 := 0 - for ; !r.CheckBreak(); yyj1865++ { + yyj1931 := 0 + for ; !r.CheckBreak(); yyj1931++ { - if yyj1865 >= len(yyv1865) { - yyv1865 = append(yyv1865, HostPortRange{}) // var yyz1865 HostPortRange - yyc1865 = true + if yyj1931 >= len(yyv1931) { + yyv1931 = append(yyv1931, HostPortRange{}) // var yyz1931 HostPortRange + yyc1931 = true } - yyh1865.ElemContainerState(yyj1865) - if yyj1865 < len(yyv1865) { + yyh1931.ElemContainerState(yyj1931) + if yyj1931 < len(yyv1931) { if r.TryDecodeAsNil() { - yyv1865[yyj1865] = HostPortRange{} + yyv1931[yyj1931] = HostPortRange{} } else { - yyv1868 := &yyv1865[yyj1865] - yyv1868.CodecDecodeSelf(d) + yyv1934 := &yyv1931[yyj1931] + yyv1934.CodecDecodeSelf(d) } } else { @@ -22967,17 +23710,17 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. } } - if yyj1865 < len(yyv1865) { - yyv1865 = yyv1865[:yyj1865] - yyc1865 = true - } else if yyj1865 == 0 && yyv1865 == nil { - yyv1865 = []HostPortRange{} - yyc1865 = true + if yyj1931 < len(yyv1931) { + yyv1931 = yyv1931[:yyj1931] + yyc1931 = true + } else if yyj1931 == 0 && yyv1931 == nil { + yyv1931 = []HostPortRange{} + yyc1931 = true } } - yyh1865.End() - if yyc1865 { - *v = yyv1865 + yyh1931.End() + if yyc1931 { + *v = yyv1931 } } @@ -22986,10 +23729,10 @@ func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1869 := range v { + for _, yyv1935 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1870 := &yyv1869 - yy1870.CodecEncodeSelf(e) + yy1936 := &yyv1935 + yy1936.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22999,83 +23742,83 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1871 := *v - yyh1871, yyl1871 := z.DecSliceHelperStart() - var yyc1871 bool - if yyl1871 == 0 { - if yyv1871 == nil { - yyv1871 = []IDRange{} - yyc1871 = true - } else if len(yyv1871) != 0 { - yyv1871 = yyv1871[:0] - yyc1871 = true + yyv1937 := *v + yyh1937, yyl1937 := z.DecSliceHelperStart() + var yyc1937 bool + if yyl1937 == 0 { + if yyv1937 == nil { + yyv1937 = []IDRange{} + yyc1937 = true + } else if len(yyv1937) != 0 { + yyv1937 = yyv1937[:0] + yyc1937 = true } - } else if yyl1871 > 0 { - var yyrr1871, yyrl1871 int - var yyrt1871 bool - if yyl1871 > cap(yyv1871) { + } else if yyl1937 > 0 { + var yyrr1937, yyrl1937 int + var yyrt1937 bool + if yyl1937 > cap(yyv1937) { - yyrg1871 := len(yyv1871) > 0 - yyv21871 := yyv1871 - yyrl1871, yyrt1871 = z.DecInferLen(yyl1871, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1871 { - if yyrl1871 <= cap(yyv1871) { - yyv1871 = yyv1871[:yyrl1871] + yyrg1937 := len(yyv1937) > 0 + yyv21937 := yyv1937 + yyrl1937, yyrt1937 = z.DecInferLen(yyl1937, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1937 { + if yyrl1937 <= cap(yyv1937) { + yyv1937 = yyv1937[:yyrl1937] } else { - yyv1871 = make([]IDRange, yyrl1871) + yyv1937 = make([]IDRange, yyrl1937) } } else { - yyv1871 = make([]IDRange, yyrl1871) + yyv1937 = make([]IDRange, yyrl1937) } - yyc1871 = true - yyrr1871 = len(yyv1871) - if yyrg1871 { - copy(yyv1871, yyv21871) + yyc1937 = true + yyrr1937 = len(yyv1937) + if yyrg1937 { + copy(yyv1937, yyv21937) } - } else if yyl1871 != len(yyv1871) { - yyv1871 = yyv1871[:yyl1871] - yyc1871 = true + } else if yyl1937 != len(yyv1937) { + yyv1937 = yyv1937[:yyl1937] + yyc1937 = true } - yyj1871 := 0 - for ; yyj1871 < yyrr1871; yyj1871++ { - yyh1871.ElemContainerState(yyj1871) + yyj1937 := 0 + for ; yyj1937 < yyrr1937; yyj1937++ { + yyh1937.ElemContainerState(yyj1937) if r.TryDecodeAsNil() { - yyv1871[yyj1871] = IDRange{} + yyv1937[yyj1937] = IDRange{} } else { - yyv1872 := &yyv1871[yyj1871] - yyv1872.CodecDecodeSelf(d) + yyv1938 := &yyv1937[yyj1937] + yyv1938.CodecDecodeSelf(d) } } - if yyrt1871 { - for ; yyj1871 < yyl1871; yyj1871++ { - yyv1871 = append(yyv1871, IDRange{}) - yyh1871.ElemContainerState(yyj1871) + if yyrt1937 { + for ; yyj1937 < yyl1937; yyj1937++ { + yyv1937 = append(yyv1937, IDRange{}) + yyh1937.ElemContainerState(yyj1937) if r.TryDecodeAsNil() { - yyv1871[yyj1871] = IDRange{} + yyv1937[yyj1937] = IDRange{} } else { - yyv1873 := &yyv1871[yyj1871] - yyv1873.CodecDecodeSelf(d) + yyv1939 := &yyv1937[yyj1937] + yyv1939.CodecDecodeSelf(d) } } } } else { - yyj1871 := 0 - for ; !r.CheckBreak(); yyj1871++ { + yyj1937 := 0 + for ; !r.CheckBreak(); yyj1937++ { - if yyj1871 >= len(yyv1871) { - yyv1871 = append(yyv1871, IDRange{}) // var yyz1871 IDRange - yyc1871 = true + if yyj1937 >= len(yyv1937) { + yyv1937 = append(yyv1937, IDRange{}) // var yyz1937 IDRange + yyc1937 = true } - yyh1871.ElemContainerState(yyj1871) - if yyj1871 < len(yyv1871) { + yyh1937.ElemContainerState(yyj1937) + if yyj1937 < len(yyv1937) { if r.TryDecodeAsNil() { - yyv1871[yyj1871] = IDRange{} + yyv1937[yyj1937] = IDRange{} } else { - yyv1874 := &yyv1871[yyj1871] - yyv1874.CodecDecodeSelf(d) + yyv1940 := &yyv1937[yyj1937] + yyv1940.CodecDecodeSelf(d) } } else { @@ -23083,17 +23826,17 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { } } - if yyj1871 < len(yyv1871) { - yyv1871 = yyv1871[:yyj1871] - yyc1871 = true - } else if yyj1871 == 0 && yyv1871 == nil { - yyv1871 = []IDRange{} - yyc1871 = true + if yyj1937 < len(yyv1937) { + yyv1937 = yyv1937[:yyj1937] + yyc1937 = true + } else if yyj1937 == 0 && yyv1937 == nil { + yyv1937 = []IDRange{} + yyc1937 = true } } - yyh1871.End() - if yyc1871 { - *v = yyv1871 + yyh1937.End() + if yyc1937 { + *v = yyv1937 } } @@ -23102,10 +23845,10 @@ func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1875 := range v { + for _, yyv1941 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1876 := &yyv1875 - yy1876.CodecEncodeSelf(e) + yy1942 := &yyv1941 + yy1942.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23115,83 +23858,83 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1877 := *v - yyh1877, yyl1877 := z.DecSliceHelperStart() - var yyc1877 bool - if yyl1877 == 0 { - if yyv1877 == nil { - yyv1877 = []PodSecurityPolicy{} - yyc1877 = true - } else if len(yyv1877) != 0 { - yyv1877 = yyv1877[:0] - yyc1877 = true + yyv1943 := *v + yyh1943, yyl1943 := z.DecSliceHelperStart() + var yyc1943 bool + if yyl1943 == 0 { + if yyv1943 == nil { + yyv1943 = []PodSecurityPolicy{} + yyc1943 = true + } else if len(yyv1943) != 0 { + yyv1943 = yyv1943[:0] + yyc1943 = true } - } else if yyl1877 > 0 { - var yyrr1877, yyrl1877 int - var yyrt1877 bool - if yyl1877 > cap(yyv1877) { + } else if yyl1943 > 0 { + var yyrr1943, yyrl1943 int + var yyrt1943 bool + if yyl1943 > cap(yyv1943) { - yyrg1877 := len(yyv1877) > 0 - yyv21877 := yyv1877 - yyrl1877, yyrt1877 = z.DecInferLen(yyl1877, z.DecBasicHandle().MaxInitLen, 552) - if yyrt1877 { - if yyrl1877 <= cap(yyv1877) { - yyv1877 = yyv1877[:yyrl1877] + yyrg1943 := len(yyv1943) > 0 + yyv21943 := yyv1943 + yyrl1943, yyrt1943 = z.DecInferLen(yyl1943, z.DecBasicHandle().MaxInitLen, 552) + if yyrt1943 { + if yyrl1943 <= cap(yyv1943) { + yyv1943 = yyv1943[:yyrl1943] } else { - yyv1877 = make([]PodSecurityPolicy, yyrl1877) + yyv1943 = make([]PodSecurityPolicy, yyrl1943) } } else { - yyv1877 = make([]PodSecurityPolicy, yyrl1877) + yyv1943 = make([]PodSecurityPolicy, yyrl1943) } - yyc1877 = true - yyrr1877 = len(yyv1877) - if yyrg1877 { - copy(yyv1877, yyv21877) + yyc1943 = true + yyrr1943 = len(yyv1943) + if yyrg1943 { + copy(yyv1943, yyv21943) } - } else if yyl1877 != len(yyv1877) { - yyv1877 = yyv1877[:yyl1877] - yyc1877 = true + } else if yyl1943 != len(yyv1943) { + yyv1943 = yyv1943[:yyl1943] + yyc1943 = true } - yyj1877 := 0 - for ; yyj1877 < yyrr1877; yyj1877++ { - yyh1877.ElemContainerState(yyj1877) + yyj1943 := 0 + for ; yyj1943 < yyrr1943; yyj1943++ { + yyh1943.ElemContainerState(yyj1943) if r.TryDecodeAsNil() { - yyv1877[yyj1877] = PodSecurityPolicy{} + yyv1943[yyj1943] = PodSecurityPolicy{} } else { - yyv1878 := &yyv1877[yyj1877] - yyv1878.CodecDecodeSelf(d) + yyv1944 := &yyv1943[yyj1943] + yyv1944.CodecDecodeSelf(d) } } - if yyrt1877 { - for ; yyj1877 < yyl1877; yyj1877++ { - yyv1877 = append(yyv1877, PodSecurityPolicy{}) - yyh1877.ElemContainerState(yyj1877) + if yyrt1943 { + for ; yyj1943 < yyl1943; yyj1943++ { + yyv1943 = append(yyv1943, PodSecurityPolicy{}) + yyh1943.ElemContainerState(yyj1943) if r.TryDecodeAsNil() { - yyv1877[yyj1877] = PodSecurityPolicy{} + yyv1943[yyj1943] = PodSecurityPolicy{} } else { - yyv1879 := &yyv1877[yyj1877] - yyv1879.CodecDecodeSelf(d) + yyv1945 := &yyv1943[yyj1943] + yyv1945.CodecDecodeSelf(d) } } } } else { - yyj1877 := 0 - for ; !r.CheckBreak(); yyj1877++ { + yyj1943 := 0 + for ; !r.CheckBreak(); yyj1943++ { - if yyj1877 >= len(yyv1877) { - yyv1877 = append(yyv1877, PodSecurityPolicy{}) // var yyz1877 PodSecurityPolicy - yyc1877 = true + if yyj1943 >= len(yyv1943) { + yyv1943 = append(yyv1943, PodSecurityPolicy{}) // var yyz1943 PodSecurityPolicy + yyc1943 = true } - yyh1877.ElemContainerState(yyj1877) - if yyj1877 < len(yyv1877) { + yyh1943.ElemContainerState(yyj1943) + if yyj1943 < len(yyv1943) { if r.TryDecodeAsNil() { - yyv1877[yyj1877] = PodSecurityPolicy{} + yyv1943[yyj1943] = PodSecurityPolicy{} } else { - yyv1880 := &yyv1877[yyj1877] - yyv1880.CodecDecodeSelf(d) + yyv1946 := &yyv1943[yyj1943] + yyv1946.CodecDecodeSelf(d) } } else { @@ -23199,17 +23942,17 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co } } - if yyj1877 < len(yyv1877) { - yyv1877 = yyv1877[:yyj1877] - yyc1877 = true - } else if yyj1877 == 0 && yyv1877 == nil { - yyv1877 = []PodSecurityPolicy{} - yyc1877 = true + if yyj1943 < len(yyv1943) { + yyv1943 = yyv1943[:yyj1943] + yyc1943 = true + } else if yyj1943 == 0 && yyv1943 == nil { + yyv1943 = []PodSecurityPolicy{} + yyc1943 = true } } - yyh1877.End() - if yyc1877 { - *v = yyv1877 + yyh1943.End() + if yyc1943 { + *v = yyv1943 } } @@ -23218,10 +23961,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1881 := range v { + for _, yyv1947 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1882 := &yyv1881 - yy1882.CodecEncodeSelf(e) + yy1948 := &yyv1947 + yy1948.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23231,83 +23974,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1883 := *v - yyh1883, yyl1883 := z.DecSliceHelperStart() - var yyc1883 bool - if yyl1883 == 0 { - if yyv1883 == nil { - yyv1883 = []NetworkPolicyIngressRule{} - yyc1883 = true - } else if len(yyv1883) != 0 { - yyv1883 = yyv1883[:0] - yyc1883 = true + yyv1949 := *v + yyh1949, yyl1949 := z.DecSliceHelperStart() + var yyc1949 bool + if yyl1949 == 0 { + if yyv1949 == nil { + yyv1949 = []NetworkPolicyIngressRule{} + yyc1949 = true + } else if len(yyv1949) != 0 { + yyv1949 = yyv1949[:0] + yyc1949 = true } - } else if yyl1883 > 0 { - var yyrr1883, yyrl1883 int - var yyrt1883 bool - if yyl1883 > cap(yyv1883) { + } else if yyl1949 > 0 { + var yyrr1949, yyrl1949 int + var yyrt1949 bool + if yyl1949 > cap(yyv1949) { - yyrg1883 := len(yyv1883) > 0 - yyv21883 := yyv1883 - yyrl1883, yyrt1883 = z.DecInferLen(yyl1883, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1883 { - if yyrl1883 <= cap(yyv1883) { - yyv1883 = yyv1883[:yyrl1883] + yyrg1949 := len(yyv1949) > 0 + yyv21949 := yyv1949 + yyrl1949, yyrt1949 = z.DecInferLen(yyl1949, z.DecBasicHandle().MaxInitLen, 48) + if yyrt1949 { + if yyrl1949 <= cap(yyv1949) { + yyv1949 = yyv1949[:yyrl1949] } else { - yyv1883 = make([]NetworkPolicyIngressRule, yyrl1883) + yyv1949 = make([]NetworkPolicyIngressRule, yyrl1949) } } else { - yyv1883 = make([]NetworkPolicyIngressRule, yyrl1883) + yyv1949 = make([]NetworkPolicyIngressRule, yyrl1949) } - yyc1883 = true - yyrr1883 = len(yyv1883) - if yyrg1883 { - copy(yyv1883, yyv21883) + yyc1949 = true + yyrr1949 = len(yyv1949) + if yyrg1949 { + copy(yyv1949, yyv21949) } - } else if yyl1883 != len(yyv1883) { - yyv1883 = yyv1883[:yyl1883] - yyc1883 = true + } else if yyl1949 != len(yyv1949) { + yyv1949 = yyv1949[:yyl1949] + yyc1949 = true } - yyj1883 := 0 - for ; yyj1883 < yyrr1883; yyj1883++ { - yyh1883.ElemContainerState(yyj1883) + yyj1949 := 0 + for ; yyj1949 < yyrr1949; yyj1949++ { + yyh1949.ElemContainerState(yyj1949) if r.TryDecodeAsNil() { - yyv1883[yyj1883] = NetworkPolicyIngressRule{} + yyv1949[yyj1949] = NetworkPolicyIngressRule{} } else { - yyv1884 := &yyv1883[yyj1883] - yyv1884.CodecDecodeSelf(d) + yyv1950 := &yyv1949[yyj1949] + yyv1950.CodecDecodeSelf(d) } } - if yyrt1883 { - for ; yyj1883 < yyl1883; yyj1883++ { - yyv1883 = append(yyv1883, NetworkPolicyIngressRule{}) - yyh1883.ElemContainerState(yyj1883) + if yyrt1949 { + for ; yyj1949 < yyl1949; yyj1949++ { + yyv1949 = append(yyv1949, NetworkPolicyIngressRule{}) + yyh1949.ElemContainerState(yyj1949) if r.TryDecodeAsNil() { - yyv1883[yyj1883] = NetworkPolicyIngressRule{} + yyv1949[yyj1949] = NetworkPolicyIngressRule{} } else { - yyv1885 := &yyv1883[yyj1883] - yyv1885.CodecDecodeSelf(d) + yyv1951 := &yyv1949[yyj1949] + yyv1951.CodecDecodeSelf(d) } } } } else { - yyj1883 := 0 - for ; !r.CheckBreak(); yyj1883++ { + yyj1949 := 0 + for ; !r.CheckBreak(); yyj1949++ { - if yyj1883 >= len(yyv1883) { - yyv1883 = append(yyv1883, NetworkPolicyIngressRule{}) // var yyz1883 NetworkPolicyIngressRule - yyc1883 = true + if yyj1949 >= len(yyv1949) { + yyv1949 = append(yyv1949, NetworkPolicyIngressRule{}) // var yyz1949 NetworkPolicyIngressRule + yyc1949 = true } - yyh1883.ElemContainerState(yyj1883) - if yyj1883 < len(yyv1883) { + yyh1949.ElemContainerState(yyj1949) + if yyj1949 < len(yyv1949) { if r.TryDecodeAsNil() { - yyv1883[yyj1883] = NetworkPolicyIngressRule{} + yyv1949[yyj1949] = NetworkPolicyIngressRule{} } else { - yyv1886 := &yyv1883[yyj1883] - yyv1886.CodecDecodeSelf(d) + yyv1952 := &yyv1949[yyj1949] + yyv1952.CodecDecodeSelf(d) } } else { @@ -23315,17 +24058,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr } } - if yyj1883 < len(yyv1883) { - yyv1883 = yyv1883[:yyj1883] - yyc1883 = true - } else if yyj1883 == 0 && yyv1883 == nil { - yyv1883 = []NetworkPolicyIngressRule{} - yyc1883 = true + if yyj1949 < len(yyv1949) { + yyv1949 = yyv1949[:yyj1949] + yyc1949 = true + } else if yyj1949 == 0 && yyv1949 == nil { + yyv1949 = []NetworkPolicyIngressRule{} + yyc1949 = true } } - yyh1883.End() - if yyc1883 { - *v = yyv1883 + yyh1949.End() + if yyc1949 { + *v = yyv1949 } } @@ -23334,10 +24077,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1887 := range v { + for _, yyv1953 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1888 := &yyv1887 - yy1888.CodecEncodeSelf(e) + yy1954 := &yyv1953 + yy1954.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23347,83 +24090,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1889 := *v - yyh1889, yyl1889 := z.DecSliceHelperStart() - var yyc1889 bool - if yyl1889 == 0 { - if yyv1889 == nil { - yyv1889 = []NetworkPolicyPort{} - yyc1889 = true - } else if len(yyv1889) != 0 { - yyv1889 = yyv1889[:0] - yyc1889 = true + yyv1955 := *v + yyh1955, yyl1955 := z.DecSliceHelperStart() + var yyc1955 bool + if yyl1955 == 0 { + if yyv1955 == nil { + yyv1955 = []NetworkPolicyPort{} + yyc1955 = true + } else if len(yyv1955) != 0 { + yyv1955 = yyv1955[:0] + yyc1955 = true } - } else if yyl1889 > 0 { - var yyrr1889, yyrl1889 int - var yyrt1889 bool - if yyl1889 > cap(yyv1889) { + } else if yyl1955 > 0 { + var yyrr1955, yyrl1955 int + var yyrt1955 bool + if yyl1955 > cap(yyv1955) { - yyrg1889 := len(yyv1889) > 0 - yyv21889 := yyv1889 - yyrl1889, yyrt1889 = z.DecInferLen(yyl1889, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1889 { - if yyrl1889 <= cap(yyv1889) { - yyv1889 = yyv1889[:yyrl1889] + yyrg1955 := len(yyv1955) > 0 + yyv21955 := yyv1955 + yyrl1955, yyrt1955 = z.DecInferLen(yyl1955, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1955 { + if yyrl1955 <= cap(yyv1955) { + yyv1955 = yyv1955[:yyrl1955] } else { - yyv1889 = make([]NetworkPolicyPort, yyrl1889) + yyv1955 = make([]NetworkPolicyPort, yyrl1955) } } else { - yyv1889 = make([]NetworkPolicyPort, yyrl1889) + yyv1955 = make([]NetworkPolicyPort, yyrl1955) } - yyc1889 = true - yyrr1889 = len(yyv1889) - if yyrg1889 { - copy(yyv1889, yyv21889) + yyc1955 = true + yyrr1955 = len(yyv1955) + if yyrg1955 { + copy(yyv1955, yyv21955) } - } else if yyl1889 != len(yyv1889) { - yyv1889 = yyv1889[:yyl1889] - yyc1889 = true + } else if yyl1955 != len(yyv1955) { + yyv1955 = yyv1955[:yyl1955] + yyc1955 = true } - yyj1889 := 0 - for ; yyj1889 < yyrr1889; yyj1889++ { - yyh1889.ElemContainerState(yyj1889) + yyj1955 := 0 + for ; yyj1955 < yyrr1955; yyj1955++ { + yyh1955.ElemContainerState(yyj1955) if r.TryDecodeAsNil() { - yyv1889[yyj1889] = NetworkPolicyPort{} + yyv1955[yyj1955] = NetworkPolicyPort{} } else { - yyv1890 := &yyv1889[yyj1889] - yyv1890.CodecDecodeSelf(d) + yyv1956 := &yyv1955[yyj1955] + yyv1956.CodecDecodeSelf(d) } } - if yyrt1889 { - for ; yyj1889 < yyl1889; yyj1889++ { - yyv1889 = append(yyv1889, NetworkPolicyPort{}) - yyh1889.ElemContainerState(yyj1889) + if yyrt1955 { + for ; yyj1955 < yyl1955; yyj1955++ { + yyv1955 = append(yyv1955, NetworkPolicyPort{}) + yyh1955.ElemContainerState(yyj1955) if r.TryDecodeAsNil() { - yyv1889[yyj1889] = NetworkPolicyPort{} + yyv1955[yyj1955] = NetworkPolicyPort{} } else { - yyv1891 := &yyv1889[yyj1889] - yyv1891.CodecDecodeSelf(d) + yyv1957 := &yyv1955[yyj1955] + yyv1957.CodecDecodeSelf(d) } } } } else { - yyj1889 := 0 - for ; !r.CheckBreak(); yyj1889++ { + yyj1955 := 0 + for ; !r.CheckBreak(); yyj1955++ { - if yyj1889 >= len(yyv1889) { - yyv1889 = append(yyv1889, NetworkPolicyPort{}) // var yyz1889 NetworkPolicyPort - yyc1889 = true + if yyj1955 >= len(yyv1955) { + yyv1955 = append(yyv1955, NetworkPolicyPort{}) // var yyz1955 NetworkPolicyPort + yyc1955 = true } - yyh1889.ElemContainerState(yyj1889) - if yyj1889 < len(yyv1889) { + yyh1955.ElemContainerState(yyj1955) + if yyj1955 < len(yyv1955) { if r.TryDecodeAsNil() { - yyv1889[yyj1889] = NetworkPolicyPort{} + yyv1955[yyj1955] = NetworkPolicyPort{} } else { - yyv1892 := &yyv1889[yyj1889] - yyv1892.CodecDecodeSelf(d) + yyv1958 := &yyv1955[yyj1955] + yyv1958.CodecDecodeSelf(d) } } else { @@ -23431,17 +24174,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co } } - if yyj1889 < len(yyv1889) { - yyv1889 = yyv1889[:yyj1889] - yyc1889 = true - } else if yyj1889 == 0 && yyv1889 == nil { - yyv1889 = []NetworkPolicyPort{} - yyc1889 = true + if yyj1955 < len(yyv1955) { + yyv1955 = yyv1955[:yyj1955] + yyc1955 = true + } else if yyj1955 == 0 && yyv1955 == nil { + yyv1955 = []NetworkPolicyPort{} + yyc1955 = true } } - yyh1889.End() - if yyc1889 { - *v = yyv1889 + yyh1955.End() + if yyc1955 { + *v = yyv1955 } } @@ -23450,10 +24193,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1893 := range v { + for _, yyv1959 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1894 := &yyv1893 - yy1894.CodecEncodeSelf(e) + yy1960 := &yyv1959 + yy1960.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23463,83 +24206,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1895 := *v - yyh1895, yyl1895 := z.DecSliceHelperStart() - var yyc1895 bool - if yyl1895 == 0 { - if yyv1895 == nil { - yyv1895 = []NetworkPolicyPeer{} - yyc1895 = true - } else if len(yyv1895) != 0 { - yyv1895 = yyv1895[:0] - yyc1895 = true + yyv1961 := *v + yyh1961, yyl1961 := z.DecSliceHelperStart() + var yyc1961 bool + if yyl1961 == 0 { + if yyv1961 == nil { + yyv1961 = []NetworkPolicyPeer{} + yyc1961 = true + } else if len(yyv1961) != 0 { + yyv1961 = yyv1961[:0] + yyc1961 = true } - } else if yyl1895 > 0 { - var yyrr1895, yyrl1895 int - var yyrt1895 bool - if yyl1895 > cap(yyv1895) { + } else if yyl1961 > 0 { + var yyrr1961, yyrl1961 int + var yyrt1961 bool + if yyl1961 > cap(yyv1961) { - yyrg1895 := len(yyv1895) > 0 - yyv21895 := yyv1895 - yyrl1895, yyrt1895 = z.DecInferLen(yyl1895, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1895 { - if yyrl1895 <= cap(yyv1895) { - yyv1895 = yyv1895[:yyrl1895] + yyrg1961 := len(yyv1961) > 0 + yyv21961 := yyv1961 + yyrl1961, yyrt1961 = z.DecInferLen(yyl1961, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1961 { + if yyrl1961 <= cap(yyv1961) { + yyv1961 = yyv1961[:yyrl1961] } else { - yyv1895 = make([]NetworkPolicyPeer, yyrl1895) + yyv1961 = make([]NetworkPolicyPeer, yyrl1961) } } else { - yyv1895 = make([]NetworkPolicyPeer, yyrl1895) + yyv1961 = make([]NetworkPolicyPeer, yyrl1961) } - yyc1895 = true - yyrr1895 = len(yyv1895) - if yyrg1895 { - copy(yyv1895, yyv21895) + yyc1961 = true + yyrr1961 = len(yyv1961) + if yyrg1961 { + copy(yyv1961, yyv21961) } - } else if yyl1895 != len(yyv1895) { - yyv1895 = yyv1895[:yyl1895] - yyc1895 = true + } else if yyl1961 != len(yyv1961) { + yyv1961 = yyv1961[:yyl1961] + yyc1961 = true } - yyj1895 := 0 - for ; yyj1895 < yyrr1895; yyj1895++ { - yyh1895.ElemContainerState(yyj1895) + yyj1961 := 0 + for ; yyj1961 < yyrr1961; yyj1961++ { + yyh1961.ElemContainerState(yyj1961) if r.TryDecodeAsNil() { - yyv1895[yyj1895] = NetworkPolicyPeer{} + yyv1961[yyj1961] = NetworkPolicyPeer{} } else { - yyv1896 := &yyv1895[yyj1895] - yyv1896.CodecDecodeSelf(d) + yyv1962 := &yyv1961[yyj1961] + yyv1962.CodecDecodeSelf(d) } } - if yyrt1895 { - for ; yyj1895 < yyl1895; yyj1895++ { - yyv1895 = append(yyv1895, NetworkPolicyPeer{}) - yyh1895.ElemContainerState(yyj1895) + if yyrt1961 { + for ; yyj1961 < yyl1961; yyj1961++ { + yyv1961 = append(yyv1961, NetworkPolicyPeer{}) + yyh1961.ElemContainerState(yyj1961) if r.TryDecodeAsNil() { - yyv1895[yyj1895] = NetworkPolicyPeer{} + yyv1961[yyj1961] = NetworkPolicyPeer{} } else { - yyv1897 := &yyv1895[yyj1895] - yyv1897.CodecDecodeSelf(d) + yyv1963 := &yyv1961[yyj1961] + yyv1963.CodecDecodeSelf(d) } } } } else { - yyj1895 := 0 - for ; !r.CheckBreak(); yyj1895++ { + yyj1961 := 0 + for ; !r.CheckBreak(); yyj1961++ { - if yyj1895 >= len(yyv1895) { - yyv1895 = append(yyv1895, NetworkPolicyPeer{}) // var yyz1895 NetworkPolicyPeer - yyc1895 = true + if yyj1961 >= len(yyv1961) { + yyv1961 = append(yyv1961, NetworkPolicyPeer{}) // var yyz1961 NetworkPolicyPeer + yyc1961 = true } - yyh1895.ElemContainerState(yyj1895) - if yyj1895 < len(yyv1895) { + yyh1961.ElemContainerState(yyj1961) + if yyj1961 < len(yyv1961) { if r.TryDecodeAsNil() { - yyv1895[yyj1895] = NetworkPolicyPeer{} + yyv1961[yyj1961] = NetworkPolicyPeer{} } else { - yyv1898 := &yyv1895[yyj1895] - yyv1898.CodecDecodeSelf(d) + yyv1964 := &yyv1961[yyj1961] + yyv1964.CodecDecodeSelf(d) } } else { @@ -23547,17 +24290,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co } } - if yyj1895 < len(yyv1895) { - yyv1895 = yyv1895[:yyj1895] - yyc1895 = true - } else if yyj1895 == 0 && yyv1895 == nil { - yyv1895 = []NetworkPolicyPeer{} - yyc1895 = true + if yyj1961 < len(yyv1961) { + yyv1961 = yyv1961[:yyj1961] + yyc1961 = true + } else if yyj1961 == 0 && yyv1961 == nil { + yyv1961 = []NetworkPolicyPeer{} + yyc1961 = true } } - yyh1895.End() - if yyc1895 { - *v = yyv1895 + yyh1961.End() + if yyc1961 { + *v = yyv1961 } } @@ -23566,10 +24309,10 @@ func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1899 := range v { + for _, yyv1965 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1900 := &yyv1899 - yy1900.CodecEncodeSelf(e) + yy1966 := &yyv1965 + yy1966.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23579,83 +24322,83 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1901 := *v - yyh1901, yyl1901 := z.DecSliceHelperStart() - var yyc1901 bool - if yyl1901 == 0 { - if yyv1901 == nil { - yyv1901 = []NetworkPolicy{} - yyc1901 = true - } else if len(yyv1901) != 0 { - yyv1901 = yyv1901[:0] - yyc1901 = true + yyv1967 := *v + yyh1967, yyl1967 := z.DecSliceHelperStart() + var yyc1967 bool + if yyl1967 == 0 { + if yyv1967 == nil { + yyv1967 = []NetworkPolicy{} + yyc1967 = true + } else if len(yyv1967) != 0 { + yyv1967 = yyv1967[:0] + yyc1967 = true } - } else if yyl1901 > 0 { - var yyrr1901, yyrl1901 int - var yyrt1901 bool - if yyl1901 > cap(yyv1901) { + } else if yyl1967 > 0 { + var yyrr1967, yyrl1967 int + var yyrt1967 bool + if yyl1967 > cap(yyv1967) { - yyrg1901 := len(yyv1901) > 0 - yyv21901 := yyv1901 - yyrl1901, yyrt1901 = z.DecInferLen(yyl1901, z.DecBasicHandle().MaxInitLen, 312) - if yyrt1901 { - if yyrl1901 <= cap(yyv1901) { - yyv1901 = yyv1901[:yyrl1901] + yyrg1967 := len(yyv1967) > 0 + yyv21967 := yyv1967 + yyrl1967, yyrt1967 = z.DecInferLen(yyl1967, z.DecBasicHandle().MaxInitLen, 312) + if yyrt1967 { + if yyrl1967 <= cap(yyv1967) { + yyv1967 = yyv1967[:yyrl1967] } else { - yyv1901 = make([]NetworkPolicy, yyrl1901) + yyv1967 = make([]NetworkPolicy, yyrl1967) } } else { - yyv1901 = make([]NetworkPolicy, yyrl1901) + yyv1967 = make([]NetworkPolicy, yyrl1967) } - yyc1901 = true - yyrr1901 = len(yyv1901) - if yyrg1901 { - copy(yyv1901, yyv21901) + yyc1967 = true + yyrr1967 = len(yyv1967) + if yyrg1967 { + copy(yyv1967, yyv21967) } - } else if yyl1901 != len(yyv1901) { - yyv1901 = yyv1901[:yyl1901] - yyc1901 = true + } else if yyl1967 != len(yyv1967) { + yyv1967 = yyv1967[:yyl1967] + yyc1967 = true } - yyj1901 := 0 - for ; yyj1901 < yyrr1901; yyj1901++ { - yyh1901.ElemContainerState(yyj1901) + yyj1967 := 0 + for ; yyj1967 < yyrr1967; yyj1967++ { + yyh1967.ElemContainerState(yyj1967) if r.TryDecodeAsNil() { - yyv1901[yyj1901] = NetworkPolicy{} + yyv1967[yyj1967] = NetworkPolicy{} } else { - yyv1902 := &yyv1901[yyj1901] - yyv1902.CodecDecodeSelf(d) + yyv1968 := &yyv1967[yyj1967] + yyv1968.CodecDecodeSelf(d) } } - if yyrt1901 { - for ; yyj1901 < yyl1901; yyj1901++ { - yyv1901 = append(yyv1901, NetworkPolicy{}) - yyh1901.ElemContainerState(yyj1901) + if yyrt1967 { + for ; yyj1967 < yyl1967; yyj1967++ { + yyv1967 = append(yyv1967, NetworkPolicy{}) + yyh1967.ElemContainerState(yyj1967) if r.TryDecodeAsNil() { - yyv1901[yyj1901] = NetworkPolicy{} + yyv1967[yyj1967] = NetworkPolicy{} } else { - yyv1903 := &yyv1901[yyj1901] - yyv1903.CodecDecodeSelf(d) + yyv1969 := &yyv1967[yyj1967] + yyv1969.CodecDecodeSelf(d) } } } } else { - yyj1901 := 0 - for ; !r.CheckBreak(); yyj1901++ { + yyj1967 := 0 + for ; !r.CheckBreak(); yyj1967++ { - if yyj1901 >= len(yyv1901) { - yyv1901 = append(yyv1901, NetworkPolicy{}) // var yyz1901 NetworkPolicy - yyc1901 = true + if yyj1967 >= len(yyv1967) { + yyv1967 = append(yyv1967, NetworkPolicy{}) // var yyz1967 NetworkPolicy + yyc1967 = true } - yyh1901.ElemContainerState(yyj1901) - if yyj1901 < len(yyv1901) { + yyh1967.ElemContainerState(yyj1967) + if yyj1967 < len(yyv1967) { if r.TryDecodeAsNil() { - yyv1901[yyj1901] = NetworkPolicy{} + yyv1967[yyj1967] = NetworkPolicy{} } else { - yyv1904 := &yyv1901[yyj1901] - yyv1904.CodecDecodeSelf(d) + yyv1970 := &yyv1967[yyj1967] + yyv1970.CodecDecodeSelf(d) } } else { @@ -23663,16 +24406,16 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. } } - if yyj1901 < len(yyv1901) { - yyv1901 = yyv1901[:yyj1901] - yyc1901 = true - } else if yyj1901 == 0 && yyv1901 == nil { - yyv1901 = []NetworkPolicy{} - yyc1901 = true + if yyj1967 < len(yyv1967) { + yyv1967 = yyv1967[:yyj1967] + yyc1967 = true + } else if yyj1967 == 0 && yyv1967 == nil { + yyv1967 = []NetworkPolicy{} + yyc1967 = true } } - yyh1901.End() - if yyc1901 { - *v = yyv1901 + yyh1967.End() + if yyc1967 { + *v = yyv1967 } } diff --git a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go index 9d4adcd9533..67b16cc0029 100644 --- a/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go +++ b/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go @@ -117,6 +117,20 @@ func (Deployment) SwaggerDoc() map[string]string { return map_Deployment } +var map_DeploymentCondition = map[string]string{ + "": "DeploymentCondition describes the state of a deployment at a certain point.", + "type": "Type of deployment condition.", + "status": "Status of the condition, one of True, False, Unknown.", + "lastUpdateTime": "The last time this condition was updated.", + "lastTransitionTime": "Last time the condition transitioned from one status to another.", + "reason": "The reason for the condition's last transition.", + "message": "A human readable message indicating details about the transition.", +} + +func (DeploymentCondition) SwaggerDoc() map[string]string { + return map_DeploymentCondition +} + var map_DeploymentList = map[string]string{ "": "DeploymentList is a list of Deployments.", "metadata": "Standard list metadata.", @@ -139,15 +153,16 @@ func (DeploymentRollback) SwaggerDoc() map[string]string { } var map_DeploymentSpec = map[string]string{ - "": "DeploymentSpec is the specification of the desired behavior of the Deployment.", - "replicas": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "selector": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", - "template": "Template describes the pods that will be created.", - "strategy": "The deployment strategy to use to replace existing pods with new ones.", - "minReadySeconds": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "revisionHistoryLimit": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", - "paused": "Indicates that the deployment is paused and will not be processed by the deployment controller.", - "rollbackTo": "The config this deployment is rolling back to. Will be cleared after rollback is done.", + "": "DeploymentSpec is the specification of the desired behavior of the Deployment.", + "replicas": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", + "selector": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", + "template": "Template describes the pods that will be created.", + "strategy": "The deployment strategy to use to replace existing pods with new ones.", + "minReadySeconds": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", + "revisionHistoryLimit": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", + "paused": "Indicates that the deployment is paused and will not be processed by the deployment controller.", + "rollbackTo": "The config this deployment is rolling back to. Will be cleared after rollback is done.", + "progressDeadlineSeconds": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.", } func (DeploymentSpec) SwaggerDoc() map[string]string { @@ -161,6 +176,7 @@ var map_DeploymentStatus = map[string]string{ "updatedReplicas": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", "availableReplicas": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", "unavailableReplicas": "Total number of unavailable pods targeted by this deployment.", + "conditions": "Represents the latest available observations of a deployment's current state.", } func (DeploymentStatus) SwaggerDoc() map[string]string { diff --git a/pkg/apis/extensions/v1beta1/zz_generated.conversion.go b/pkg/apis/extensions/v1beta1/zz_generated.conversion.go index 1d2fc5f59fe..b0038580ebe 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.conversion.go @@ -58,6 +58,8 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_extensions_DaemonSetStatus_To_v1beta1_DaemonSetStatus, Convert_v1beta1_Deployment_To_extensions_Deployment, Convert_extensions_Deployment_To_v1beta1_Deployment, + Convert_v1beta1_DeploymentCondition_To_extensions_DeploymentCondition, + Convert_extensions_DeploymentCondition_To_v1beta1_DeploymentCondition, Convert_v1beta1_DeploymentList_To_extensions_DeploymentList, Convert_extensions_DeploymentList_To_v1beta1_DeploymentList, Convert_v1beta1_DeploymentRollback_To_extensions_DeploymentRollback, @@ -465,6 +467,34 @@ func Convert_extensions_Deployment_To_v1beta1_Deployment(in *extensions.Deployme return autoConvert_extensions_Deployment_To_v1beta1_Deployment(in, out, s) } +func autoConvert_v1beta1_DeploymentCondition_To_extensions_DeploymentCondition(in *DeploymentCondition, out *extensions.DeploymentCondition, s conversion.Scope) error { + out.Type = extensions.DeploymentConditionType(in.Type) + out.Status = api.ConditionStatus(in.Status) + out.LastUpdateTime = in.LastUpdateTime + out.LastTransitionTime = in.LastTransitionTime + out.Reason = in.Reason + out.Message = in.Message + return nil +} + +func Convert_v1beta1_DeploymentCondition_To_extensions_DeploymentCondition(in *DeploymentCondition, out *extensions.DeploymentCondition, s conversion.Scope) error { + return autoConvert_v1beta1_DeploymentCondition_To_extensions_DeploymentCondition(in, out, s) +} + +func autoConvert_extensions_DeploymentCondition_To_v1beta1_DeploymentCondition(in *extensions.DeploymentCondition, out *DeploymentCondition, s conversion.Scope) error { + out.Type = DeploymentConditionType(in.Type) + out.Status = v1.ConditionStatus(in.Status) + out.LastUpdateTime = in.LastUpdateTime + out.LastTransitionTime = in.LastTransitionTime + out.Reason = in.Reason + out.Message = in.Message + return nil +} + +func Convert_extensions_DeploymentCondition_To_v1beta1_DeploymentCondition(in *extensions.DeploymentCondition, out *DeploymentCondition, s conversion.Scope) error { + return autoConvert_extensions_DeploymentCondition_To_v1beta1_DeploymentCondition(in, out, s) +} + func autoConvert_v1beta1_DeploymentList_To_extensions_DeploymentList(in *DeploymentList, out *extensions.DeploymentList, s conversion.Scope) error { out.ListMeta = in.ListMeta if in.Items != nil { @@ -554,6 +584,7 @@ func autoConvert_v1beta1_DeploymentSpec_To_extensions_DeploymentSpec(in *Deploym } else { out.RollbackTo = nil } + out.ProgressDeadlineSeconds = in.ProgressDeadlineSeconds return nil } @@ -580,6 +611,7 @@ func autoConvert_extensions_DeploymentSpec_To_v1beta1_DeploymentSpec(in *extensi } else { out.RollbackTo = nil } + out.ProgressDeadlineSeconds = in.ProgressDeadlineSeconds return nil } @@ -589,6 +621,17 @@ func autoConvert_v1beta1_DeploymentStatus_To_extensions_DeploymentStatus(in *Dep out.UpdatedReplicas = in.UpdatedReplicas out.AvailableReplicas = in.AvailableReplicas out.UnavailableReplicas = in.UnavailableReplicas + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]extensions.DeploymentCondition, len(*in)) + for i := range *in { + if err := Convert_v1beta1_DeploymentCondition_To_extensions_DeploymentCondition(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } @@ -602,6 +645,17 @@ func autoConvert_extensions_DeploymentStatus_To_v1beta1_DeploymentStatus(in *ext out.UpdatedReplicas = in.UpdatedReplicas out.AvailableReplicas = in.AvailableReplicas out.UnavailableReplicas = in.UnavailableReplicas + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]DeploymentCondition, len(*in)) + for i := range *in { + if err := Convert_extensions_DeploymentCondition_To_v1beta1_DeploymentCondition(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } diff --git a/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go b/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go index 746f1ce0d3d..a5e2ecb17d5 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go @@ -48,6 +48,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DaemonSetSpec, InType: reflect.TypeOf(&DaemonSetSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DaemonSetStatus, InType: reflect.TypeOf(&DaemonSetStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Deployment, InType: reflect.TypeOf(&Deployment{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentCondition, InType: reflect.TypeOf(&DeploymentCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentList, InType: reflect.TypeOf(&DeploymentList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentRollback, InType: reflect.TypeOf(&DeploymentRollback{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentSpec, InType: reflect.TypeOf(&DeploymentSpec{})}, @@ -263,7 +264,23 @@ func DeepCopy_v1beta1_Deployment(in interface{}, out interface{}, c *conversion. if err := DeepCopy_v1beta1_DeploymentSpec(&in.Spec, &out.Spec, c); err != nil { return err } + if err := DeepCopy_v1beta1_DeploymentStatus(&in.Status, &out.Status, c); err != nil { + return err + } + return nil + } +} + +func DeepCopy_v1beta1_DeploymentCondition(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*DeploymentCondition) + out := out.(*DeploymentCondition) + out.Type = in.Type out.Status = in.Status + out.LastUpdateTime = in.LastUpdateTime.DeepCopy() + out.LastTransitionTime = in.LastTransitionTime.DeepCopy() + out.Reason = in.Reason + out.Message = in.Message return nil } } @@ -351,6 +368,13 @@ func DeepCopy_v1beta1_DeploymentSpec(in interface{}, out interface{}, c *convers } else { out.RollbackTo = nil } + if in.ProgressDeadlineSeconds != nil { + in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds + *out = new(int32) + **out = **in + } else { + out.ProgressDeadlineSeconds = nil + } return nil } } @@ -364,6 +388,17 @@ func DeepCopy_v1beta1_DeploymentStatus(in interface{}, out interface{}, c *conve out.UpdatedReplicas = in.UpdatedReplicas out.AvailableReplicas = in.AvailableReplicas out.UnavailableReplicas = in.UnavailableReplicas + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]DeploymentCondition, len(*in)) + for i := range *in { + if err := DeepCopy_v1beta1_DeploymentCondition(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } } diff --git a/pkg/apis/extensions/zz_generated.deepcopy.go b/pkg/apis/extensions/zz_generated.deepcopy.go index 5ae8a2598e6..8714d2dbe8c 100644 --- a/pkg/apis/extensions/zz_generated.deepcopy.go +++ b/pkg/apis/extensions/zz_generated.deepcopy.go @@ -47,6 +47,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSetSpec, InType: reflect.TypeOf(&DaemonSetSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSetStatus, InType: reflect.TypeOf(&DaemonSetStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_Deployment, InType: reflect.TypeOf(&Deployment{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentCondition, InType: reflect.TypeOf(&DeploymentCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentList, InType: reflect.TypeOf(&DeploymentList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentRollback, InType: reflect.TypeOf(&DeploymentRollback{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentSpec, InType: reflect.TypeOf(&DeploymentSpec{})}, @@ -242,7 +243,23 @@ func DeepCopy_extensions_Deployment(in interface{}, out interface{}, c *conversi if err := DeepCopy_extensions_DeploymentSpec(&in.Spec, &out.Spec, c); err != nil { return err } + if err := DeepCopy_extensions_DeploymentStatus(&in.Status, &out.Status, c); err != nil { + return err + } + return nil + } +} + +func DeepCopy_extensions_DeploymentCondition(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*DeploymentCondition) + out := out.(*DeploymentCondition) + out.Type = in.Type out.Status = in.Status + out.LastUpdateTime = in.LastUpdateTime.DeepCopy() + out.LastTransitionTime = in.LastTransitionTime.DeepCopy() + out.Reason = in.Reason + out.Message = in.Message return nil } } @@ -324,6 +341,13 @@ func DeepCopy_extensions_DeploymentSpec(in interface{}, out interface{}, c *conv } else { out.RollbackTo = nil } + if in.ProgressDeadlineSeconds != nil { + in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds + *out = new(int32) + **out = **in + } else { + out.ProgressDeadlineSeconds = nil + } return nil } } @@ -337,6 +361,17 @@ func DeepCopy_extensions_DeploymentStatus(in interface{}, out interface{}, c *co out.UpdatedReplicas = in.UpdatedReplicas out.AvailableReplicas = in.AvailableReplicas out.UnavailableReplicas = in.UnavailableReplicas + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]DeploymentCondition, len(*in)) + for i := range *in { + if err := DeepCopy_extensions_DeploymentCondition(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } } diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go index 0e7adb37f38..bd6345fdeff 100644 --- a/pkg/generated/openapi/zz_generated.openapi.go +++ b/pkg/generated/openapi/zz_generated.openapi.go @@ -3461,6 +3461,58 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ Dependencies: []string{ "api.ObjectMeta", "extensions.DeploymentSpec", "extensions.DeploymentStatus"}, }, + "extensions.DeploymentCondition": { + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "DeploymentCondition describes the state of a deployment at a certain point.", + Properties: map[string]spec.Schema{ + "type": { + SchemaProps: spec.SchemaProps{ + Description: "Type of deployment condition.", + Type: []string{"string"}, + Format: "", + }, + }, + "status": { + SchemaProps: spec.SchemaProps{ + Description: "Status of the condition, one of True, False, Unknown.", + Type: []string{"string"}, + Format: "", + }, + }, + "lastUpdateTime": { + SchemaProps: spec.SchemaProps{ + Description: "The last time this condition was updated.", + Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), + }, + }, + "lastTransitionTime": { + SchemaProps: spec.SchemaProps{ + Description: "Last time the condition transitioned from one status to another.", + Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), + }, + }, + "reason": { + SchemaProps: spec.SchemaProps{ + Description: "The reason for the condition's last transition.", + Type: []string{"string"}, + Format: "", + }, + }, + "message": { + SchemaProps: spec.SchemaProps{ + Description: "A human readable message indicating details about the transition.", + Type: []string{"string"}, + Format: "", + }, + }, + }, + Required: []string{"type", "status", "lastUpdateTime", "lastTransitionTime", "reason", "message"}, + }, + }, + Dependencies: []string{ + "unversioned.Time"}, + }, "extensions.DeploymentList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -3585,8 +3637,15 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ Ref: spec.MustCreateRef("#/definitions/extensions.RollbackConfig"), }, }, + "progressDeadlineSeconds": { + SchemaProps: spec.SchemaProps{ + Description: "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.", + Type: []string{"integer"}, + Format: "int32", + }, + }, }, - Required: []string{"template"}, + Required: []string{"template", "progressDeadlineSeconds"}, }, }, Dependencies: []string{ @@ -3631,10 +3690,25 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ Format: "int32", }, }, + "conditions": { + SchemaProps: spec.SchemaProps{ + Description: "Represents the latest available observations of a deployment's current state.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Ref: spec.MustCreateRef("#/definitions/extensions.DeploymentCondition"), + }, + }, + }, + }, + }, }, + Required: []string{"conditions"}, }, }, - Dependencies: []string{}, + Dependencies: []string{ + "extensions.DeploymentCondition"}, }, "extensions.DeploymentStrategy": { Schema: spec.Schema{ @@ -15765,6 +15839,58 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ Dependencies: []string{ "v1.ObjectMeta", "v1beta1.DeploymentSpec", "v1beta1.DeploymentStatus"}, }, + "v1beta1.DeploymentCondition": { + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Description: "DeploymentCondition describes the state of a deployment at a certain point.", + Properties: map[string]spec.Schema{ + "type": { + SchemaProps: spec.SchemaProps{ + Description: "Type of deployment condition.", + Type: []string{"string"}, + Format: "", + }, + }, + "status": { + SchemaProps: spec.SchemaProps{ + Description: "Status of the condition, one of True, False, Unknown.", + Type: []string{"string"}, + Format: "", + }, + }, + "lastUpdateTime": { + SchemaProps: spec.SchemaProps{ + Description: "The last time this condition was updated.", + Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), + }, + }, + "lastTransitionTime": { + SchemaProps: spec.SchemaProps{ + Description: "Last time the condition transitioned from one status to another.", + Ref: spec.MustCreateRef("#/definitions/unversioned.Time"), + }, + }, + "reason": { + SchemaProps: spec.SchemaProps{ + Description: "The reason for the condition's last transition.", + Type: []string{"string"}, + Format: "", + }, + }, + "message": { + SchemaProps: spec.SchemaProps{ + Description: "A human readable message indicating details about the transition.", + Type: []string{"string"}, + Format: "", + }, + }, + }, + Required: []string{"type", "status", "lastUpdateTime", "lastTransitionTime", "reason", "message"}, + }, + }, + Dependencies: []string{ + "unversioned.Time"}, + }, "v1beta1.DeploymentList": { Schema: spec.Schema{ SchemaProps: spec.SchemaProps{ @@ -15892,8 +16018,15 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ Ref: spec.MustCreateRef("#/definitions/v1beta1.RollbackConfig"), }, }, + "progressDeadlineSeconds": { + SchemaProps: spec.SchemaProps{ + Description: "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.", + Type: []string{"integer"}, + Format: "int32", + }, + }, }, - Required: []string{"template"}, + Required: []string{"template", "progressDeadlineSeconds"}, }, }, Dependencies: []string{ @@ -15939,10 +16072,25 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{ Format: "int32", }, }, + "conditions": { + SchemaProps: spec.SchemaProps{ + Description: "Represents the latest available observations of a deployment's current state.", + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Ref: spec.MustCreateRef("#/definitions/v1beta1.DeploymentCondition"), + }, + }, + }, + }, + }, }, + Required: []string{"conditions"}, }, }, - Dependencies: []string{}, + Dependencies: []string{ + "v1beta1.DeploymentCondition"}, }, "v1beta1.DeploymentStrategy": { Schema: spec.Schema{