Generated code

This commit is contained in:
Clayton Coleman 2015-11-18 13:22:54 -05:00
parent 1d592e4c28
commit af7e7f146d
12 changed files with 265 additions and 265 deletions

View File

@ -13544,17 +13544,17 @@
}, },
"initialDelaySeconds": { "initialDelaySeconds": {
"type": "integer", "type": "integer",
"format": "int64", "format": "int32",
"description": "Number of seconds after the container has started before liveness probes are initiated. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes" "description": "Number of seconds after the container has started before liveness probes are initiated. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes"
}, },
"timeoutSeconds": { "timeoutSeconds": {
"type": "integer", "type": "integer",
"format": "int64", "format": "int32",
"description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes" "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes"
}, },
"periodSeconds": { "periodSeconds": {
"type": "integer", "type": "integer",
"format": "int64", "format": "int32",
"description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."
}, },
"successThreshold": { "successThreshold": {

View File

@ -3784,17 +3784,17 @@
}, },
"initialDelaySeconds": { "initialDelaySeconds": {
"type": "integer", "type": "integer",
"format": "int64", "format": "int32",
"description": "Number of seconds after the container has started before liveness probes are initiated. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes" "description": "Number of seconds after the container has started before liveness probes are initiated. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes"
}, },
"timeoutSeconds": { "timeoutSeconds": {
"type": "integer", "type": "integer",
"format": "int64", "format": "int32",
"description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes" "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes"
}, },
"periodSeconds": { "periodSeconds": {
"type": "integer", "type": "integer",
"format": "int64", "format": "int32",
"description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1." "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."
}, },
"successThreshold": { "successThreshold": {

View File

@ -14302,19 +14302,19 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.InitialDelaySeconds = 0 x.InitialDelaySeconds = 0
} else { } else {
x.InitialDelaySeconds = int64(r.DecodeInt(64)) x.InitialDelaySeconds = int(r.DecodeInt(codecSelferBitsize1234))
} }
case "timeoutSeconds": case "timeoutSeconds":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.TimeoutSeconds = 0 x.TimeoutSeconds = 0
} else { } else {
x.TimeoutSeconds = int64(r.DecodeInt(64)) x.TimeoutSeconds = int(r.DecodeInt(codecSelferBitsize1234))
} }
case "periodSeconds": case "periodSeconds":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.PeriodSeconds = 0 x.PeriodSeconds = 0
} else { } else {
x.PeriodSeconds = int64(r.DecodeInt(64)) x.PeriodSeconds = int(r.DecodeInt(codecSelferBitsize1234))
} }
case "successThreshold": case "successThreshold":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -14428,7 +14428,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.InitialDelaySeconds = 0 x.InitialDelaySeconds = 0
} else { } else {
x.InitialDelaySeconds = int64(r.DecodeInt(64)) x.InitialDelaySeconds = int(r.DecodeInt(codecSelferBitsize1234))
} }
yyj1028++ yyj1028++
if yyhl1028 { if yyhl1028 {
@ -14444,7 +14444,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.TimeoutSeconds = 0 x.TimeoutSeconds = 0
} else { } else {
x.TimeoutSeconds = int64(r.DecodeInt(64)) x.TimeoutSeconds = int(r.DecodeInt(codecSelferBitsize1234))
} }
yyj1028++ yyj1028++
if yyhl1028 { if yyhl1028 {
@ -14460,7 +14460,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.PeriodSeconds = 0 x.PeriodSeconds = 0
} else { } else {
x.PeriodSeconds = int64(r.DecodeInt(64)) x.PeriodSeconds = int(r.DecodeInt(codecSelferBitsize1234))
} }
yyj1028++ yyj1028++
if yyhl1028 { if yyhl1028 {

View File

@ -33,7 +33,7 @@ func autoconvert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStore
} }
out.VolumeID = in.VolumeID out.VolumeID = in.VolumeID
out.FSType = in.FSType out.FSType = in.FSType
out.Partition = in.Partition out.Partition = int32(in.Partition)
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
return nil return nil
} }
@ -307,8 +307,8 @@ func autoconvert_api_ContainerPort_To_v1_ContainerPort(in *api.ContainerPort, ou
defaulting.(func(*api.ContainerPort))(in) defaulting.(func(*api.ContainerPort))(in)
} }
out.Name = in.Name out.Name = in.Name
out.HostPort = in.HostPort out.HostPort = int32(in.HostPort)
out.ContainerPort = in.ContainerPort out.ContainerPort = int32(in.ContainerPort)
out.Protocol = Protocol(in.Protocol) out.Protocol = Protocol(in.Protocol)
out.HostIP = in.HostIP out.HostIP = in.HostIP
return nil return nil
@ -371,8 +371,8 @@ func autoconvert_api_ContainerStateTerminated_To_v1_ContainerStateTerminated(in
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*api.ContainerStateTerminated))(in) defaulting.(func(*api.ContainerStateTerminated))(in)
} }
out.ExitCode = in.ExitCode out.ExitCode = int32(in.ExitCode)
out.Signal = in.Signal out.Signal = int32(in.Signal)
out.Reason = in.Reason out.Reason = in.Reason
out.Message = in.Message out.Message = in.Message
if err := s.Convert(&in.StartedAt, &out.StartedAt, 0); err != nil { if err := s.Convert(&in.StartedAt, &out.StartedAt, 0); err != nil {
@ -414,7 +414,7 @@ func autoconvert_api_ContainerStatus_To_v1_ContainerStatus(in *api.ContainerStat
return err return err
} }
out.Ready = in.Ready out.Ready = in.Ready
out.RestartCount = in.RestartCount out.RestartCount = int32(in.RestartCount)
out.Image = in.Image out.Image = in.Image
out.ImageID = in.ImageID out.ImageID = in.ImageID
out.ContainerID = in.ContainerID out.ContainerID = in.ContainerID
@ -429,7 +429,7 @@ func autoconvert_api_DaemonEndpoint_To_v1_DaemonEndpoint(in *api.DaemonEndpoint,
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*api.DaemonEndpoint))(in) defaulting.(func(*api.DaemonEndpoint))(in)
} }
out.Port = in.Port out.Port = int32(in.Port)
return nil return nil
} }
@ -530,7 +530,7 @@ func autoconvert_api_EndpointPort_To_v1_EndpointPort(in *api.EndpointPort, out *
defaulting.(func(*api.EndpointPort))(in) defaulting.(func(*api.EndpointPort))(in)
} }
out.Name = in.Name out.Name = in.Name
out.Port = in.Port out.Port = int32(in.Port)
out.Protocol = Protocol(in.Protocol) out.Protocol = Protocol(in.Protocol)
return nil return nil
} }
@ -698,7 +698,7 @@ func autoconvert_api_Event_To_v1_Event(in *api.Event, out *Event, s conversion.S
if err := s.Convert(&in.LastTimestamp, &out.LastTimestamp, 0); err != nil { if err := s.Convert(&in.LastTimestamp, &out.LastTimestamp, 0); err != nil {
return err return err
} }
out.Count = in.Count out.Count = int32(in.Count)
out.Type = in.Type out.Type = in.Type
return nil return nil
} }
@ -779,8 +779,8 @@ func autoconvert_api_FCVolumeSource_To_v1_FCVolumeSource(in *api.FCVolumeSource,
out.TargetWWNs = nil out.TargetWWNs = nil
} }
if in.Lun != nil { if in.Lun != nil {
out.Lun = new(int) out.Lun = new(int32)
*out.Lun = *in.Lun *out.Lun = int32(*in.Lun)
} else { } else {
out.Lun = nil out.Lun = nil
} }
@ -811,7 +811,7 @@ func autoconvert_api_GCEPersistentDiskVolumeSource_To_v1_GCEPersistentDiskVolume
} }
out.PDName = in.PDName out.PDName = in.PDName
out.FSType = in.FSType out.FSType = in.FSType
out.Partition = in.Partition out.Partition = int32(in.Partition)
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
return nil return nil
} }
@ -917,7 +917,7 @@ func autoconvert_api_ISCSIVolumeSource_To_v1_ISCSIVolumeSource(in *api.ISCSIVolu
} }
out.TargetPortal = in.TargetPortal out.TargetPortal = in.TargetPortal
out.IQN = in.IQN out.IQN = in.IQN
out.Lun = in.Lun out.Lun = int32(in.Lun)
out.FSType = in.FSType out.FSType = in.FSType
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
return nil return nil
@ -2215,11 +2215,11 @@ func autoconvert_api_Probe_To_v1_Probe(in *api.Probe, out *Probe, s conversion.S
if err := convert_api_Handler_To_v1_Handler(&in.Handler, &out.Handler, s); err != nil { if err := convert_api_Handler_To_v1_Handler(&in.Handler, &out.Handler, s); err != nil {
return err return err
} }
out.InitialDelaySeconds = in.InitialDelaySeconds out.InitialDelaySeconds = int32(in.InitialDelaySeconds)
out.TimeoutSeconds = in.TimeoutSeconds out.TimeoutSeconds = int32(in.TimeoutSeconds)
out.PeriodSeconds = in.PeriodSeconds out.PeriodSeconds = int32(in.PeriodSeconds)
out.SuccessThreshold = in.SuccessThreshold out.SuccessThreshold = int32(in.SuccessThreshold)
out.FailureThreshold = in.FailureThreshold out.FailureThreshold = int32(in.FailureThreshold)
return nil return nil
} }
@ -2361,7 +2361,7 @@ func autoconvert_api_ReplicationControllerStatus_To_v1_ReplicationControllerStat
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*api.ReplicationControllerStatus))(in) defaulting.(func(*api.ReplicationControllerStatus))(in)
} }
out.Replicas = in.Replicas out.Replicas = int32(in.Replicas)
out.ObservedGeneration = in.ObservedGeneration out.ObservedGeneration = in.ObservedGeneration
return nil return nil
} }
@ -2779,11 +2779,11 @@ func autoconvert_api_ServicePort_To_v1_ServicePort(in *api.ServicePort, out *Ser
} }
out.Name = in.Name out.Name = in.Name
out.Protocol = Protocol(in.Protocol) out.Protocol = Protocol(in.Protocol)
out.Port = in.Port out.Port = int32(in.Port)
if err := s.Convert(&in.TargetPort, &out.TargetPort, 0); err != nil { if err := s.Convert(&in.TargetPort, &out.TargetPort, 0); err != nil {
return err return err
} }
out.NodePort = in.NodePort out.NodePort = int32(in.NodePort)
return nil return nil
} }
@ -3058,7 +3058,7 @@ func autoconvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStore
} }
out.VolumeID = in.VolumeID out.VolumeID = in.VolumeID
out.FSType = in.FSType out.FSType = in.FSType
out.Partition = in.Partition out.Partition = int(in.Partition)
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
return nil return nil
} }
@ -3332,8 +3332,8 @@ func autoconvert_v1_ContainerPort_To_api_ContainerPort(in *ContainerPort, out *a
defaulting.(func(*ContainerPort))(in) defaulting.(func(*ContainerPort))(in)
} }
out.Name = in.Name out.Name = in.Name
out.HostPort = in.HostPort out.HostPort = int(in.HostPort)
out.ContainerPort = in.ContainerPort out.ContainerPort = int(in.ContainerPort)
out.Protocol = api.Protocol(in.Protocol) out.Protocol = api.Protocol(in.Protocol)
out.HostIP = in.HostIP out.HostIP = in.HostIP
return nil return nil
@ -3396,8 +3396,8 @@ func autoconvert_v1_ContainerStateTerminated_To_api_ContainerStateTerminated(in
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*ContainerStateTerminated))(in) defaulting.(func(*ContainerStateTerminated))(in)
} }
out.ExitCode = in.ExitCode out.ExitCode = int(in.ExitCode)
out.Signal = in.Signal out.Signal = int(in.Signal)
out.Reason = in.Reason out.Reason = in.Reason
out.Message = in.Message out.Message = in.Message
if err := s.Convert(&in.StartedAt, &out.StartedAt, 0); err != nil { if err := s.Convert(&in.StartedAt, &out.StartedAt, 0); err != nil {
@ -3439,7 +3439,7 @@ func autoconvert_v1_ContainerStatus_To_api_ContainerStatus(in *ContainerStatus,
return err return err
} }
out.Ready = in.Ready out.Ready = in.Ready
out.RestartCount = in.RestartCount out.RestartCount = int(in.RestartCount)
out.Image = in.Image out.Image = in.Image
out.ImageID = in.ImageID out.ImageID = in.ImageID
out.ContainerID = in.ContainerID out.ContainerID = in.ContainerID
@ -3454,7 +3454,7 @@ func autoconvert_v1_DaemonEndpoint_To_api_DaemonEndpoint(in *DaemonEndpoint, out
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*DaemonEndpoint))(in) defaulting.(func(*DaemonEndpoint))(in)
} }
out.Port = in.Port out.Port = int(in.Port)
return nil return nil
} }
@ -3555,7 +3555,7 @@ func autoconvert_v1_EndpointPort_To_api_EndpointPort(in *EndpointPort, out *api.
defaulting.(func(*EndpointPort))(in) defaulting.(func(*EndpointPort))(in)
} }
out.Name = in.Name out.Name = in.Name
out.Port = in.Port out.Port = int(in.Port)
out.Protocol = api.Protocol(in.Protocol) out.Protocol = api.Protocol(in.Protocol)
return nil return nil
} }
@ -3723,7 +3723,7 @@ func autoconvert_v1_Event_To_api_Event(in *Event, out *api.Event, s conversion.S
if err := s.Convert(&in.LastTimestamp, &out.LastTimestamp, 0); err != nil { if err := s.Convert(&in.LastTimestamp, &out.LastTimestamp, 0); err != nil {
return err return err
} }
out.Count = in.Count out.Count = int(in.Count)
out.Type = in.Type out.Type = in.Type
return nil return nil
} }
@ -3805,7 +3805,7 @@ func autoconvert_v1_FCVolumeSource_To_api_FCVolumeSource(in *FCVolumeSource, out
} }
if in.Lun != nil { if in.Lun != nil {
out.Lun = new(int) out.Lun = new(int)
*out.Lun = *in.Lun *out.Lun = int(*in.Lun)
} else { } else {
out.Lun = nil out.Lun = nil
} }
@ -3836,7 +3836,7 @@ func autoconvert_v1_GCEPersistentDiskVolumeSource_To_api_GCEPersistentDiskVolume
} }
out.PDName = in.PDName out.PDName = in.PDName
out.FSType = in.FSType out.FSType = in.FSType
out.Partition = in.Partition out.Partition = int(in.Partition)
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
return nil return nil
} }
@ -3942,7 +3942,7 @@ func autoconvert_v1_ISCSIVolumeSource_To_api_ISCSIVolumeSource(in *ISCSIVolumeSo
} }
out.TargetPortal = in.TargetPortal out.TargetPortal = in.TargetPortal
out.IQN = in.IQN out.IQN = in.IQN
out.Lun = in.Lun out.Lun = int(in.Lun)
out.FSType = in.FSType out.FSType = in.FSType
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
return nil return nil
@ -5272,11 +5272,11 @@ func autoconvert_v1_Probe_To_api_Probe(in *Probe, out *api.Probe, s conversion.S
if err := convert_v1_Handler_To_api_Handler(&in.Handler, &out.Handler, s); err != nil { if err := convert_v1_Handler_To_api_Handler(&in.Handler, &out.Handler, s); err != nil {
return err return err
} }
out.InitialDelaySeconds = in.InitialDelaySeconds out.InitialDelaySeconds = int(in.InitialDelaySeconds)
out.TimeoutSeconds = in.TimeoutSeconds out.TimeoutSeconds = int(in.TimeoutSeconds)
out.PeriodSeconds = in.PeriodSeconds out.PeriodSeconds = int(in.PeriodSeconds)
out.SuccessThreshold = in.SuccessThreshold out.SuccessThreshold = int(in.SuccessThreshold)
out.FailureThreshold = in.FailureThreshold out.FailureThreshold = int(in.FailureThreshold)
return nil return nil
} }
@ -5416,7 +5416,7 @@ func autoconvert_v1_ReplicationControllerStatus_To_api_ReplicationControllerStat
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*ReplicationControllerStatus))(in) defaulting.(func(*ReplicationControllerStatus))(in)
} }
out.Replicas = in.Replicas out.Replicas = int(in.Replicas)
out.ObservedGeneration = in.ObservedGeneration out.ObservedGeneration = in.ObservedGeneration
return nil return nil
} }
@ -5834,11 +5834,11 @@ func autoconvert_v1_ServicePort_To_api_ServicePort(in *ServicePort, out *api.Ser
} }
out.Name = in.Name out.Name = in.Name
out.Protocol = api.Protocol(in.Protocol) out.Protocol = api.Protocol(in.Protocol)
out.Port = in.Port out.Port = int(in.Port)
if err := s.Convert(&in.TargetPort, &out.TargetPort, 0); err != nil { if err := s.Convert(&in.TargetPort, &out.TargetPort, 0); err != nil {
return err return err
} }
out.NodePort = in.NodePort out.NodePort = int(in.NodePort)
return nil return nil
} }

View File

@ -597,7 +597,7 @@ func deepCopy_v1_FCVolumeSource(in FCVolumeSource, out *FCVolumeSource, c *conve
out.TargetWWNs = nil out.TargetWWNs = nil
} }
if in.Lun != nil { if in.Lun != nil {
out.Lun = new(int) out.Lun = new(int32)
*out.Lun = *in.Lun *out.Lun = *in.Lun
} else { } else {
out.Lun = nil out.Lun = nil
@ -1803,7 +1803,7 @@ func deepCopy_v1_ReplicationControllerList(in ReplicationControllerList, out *Re
func deepCopy_v1_ReplicationControllerSpec(in ReplicationControllerSpec, out *ReplicationControllerSpec, c *conversion.Cloner) error { func deepCopy_v1_ReplicationControllerSpec(in ReplicationControllerSpec, out *ReplicationControllerSpec, c *conversion.Cloner) error {
if in.Replicas != nil { if in.Replicas != nil {
out.Replicas = new(int) out.Replicas = new(int32)
*out.Replicas = *in.Replicas *out.Replicas = *in.Replicas
} else { } else {
out.Replicas = nil out.Replicas = nil

View File

@ -9838,7 +9838,7 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Partition = 0 x.Partition = 0
} else { } else {
x.Partition = int(r.DecodeInt(codecSelferBitsize1234)) x.Partition = int32(r.DecodeInt(32))
} }
case "readOnly": case "readOnly":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -9906,7 +9906,7 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Partition = 0 x.Partition = 0
} else { } else {
x.Partition = int(r.DecodeInt(codecSelferBitsize1234)) x.Partition = int32(r.DecodeInt(32))
} }
yyj674++ yyj674++
if yyhl674 { if yyhl674 {
@ -10137,7 +10137,7 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Partition = 0 x.Partition = 0
} else { } else {
x.Partition = int(r.DecodeInt(codecSelferBitsize1234)) x.Partition = int32(r.DecodeInt(32))
} }
case "readOnly": case "readOnly":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -10205,7 +10205,7 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Partition = 0 x.Partition = 0
} else { } else {
x.Partition = int(r.DecodeInt(codecSelferBitsize1234)) x.Partition = int32(r.DecodeInt(32))
} }
yyj700++ yyj700++
if yyhl700 { if yyhl700 {
@ -11064,7 +11064,7 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder)
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Lun = 0 x.Lun = 0
} else { } else {
x.Lun = int(r.DecodeInt(codecSelferBitsize1234)) x.Lun = int32(r.DecodeInt(32))
} }
case "fsType": case "fsType":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -11138,7 +11138,7 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Lun = 0 x.Lun = 0
} else { } else {
x.Lun = int(r.DecodeInt(codecSelferBitsize1234)) x.Lun = int32(r.DecodeInt(32))
} }
yyj778++ yyj778++
if yyhl778 { if yyhl778 {
@ -11399,13 +11399,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
} }
} else { } else {
if x.Lun == nil { if x.Lun == nil {
x.Lun = new(int) x.Lun = new(int32)
} }
yym806 := z.DecBinary() yym806 := z.DecBinary()
_ = yym806 _ = yym806
if false { if false {
} else { } else {
*((*int)(x.Lun)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.Lun)) = int32(r.DecodeInt(32))
} }
} }
case "fsType": case "fsType":
@ -11473,13 +11473,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
} }
} else { } else {
if x.Lun == nil { if x.Lun == nil {
x.Lun = new(int) x.Lun = new(int32)
} }
yym813 := z.DecBinary() yym813 := z.DecBinary()
_ = yym813 _ = yym813
if false { if false {
} else { } else {
*((*int)(x.Lun)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.Lun)) = int32(r.DecodeInt(32))
} }
} }
yyj809++ yyj809++
@ -11744,13 +11744,13 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.HostPort = 0 x.HostPort = 0
} else { } else {
x.HostPort = int(r.DecodeInt(codecSelferBitsize1234)) x.HostPort = int32(r.DecodeInt(32))
} }
case "containerPort": case "containerPort":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.ContainerPort = 0 x.ContainerPort = 0
} else { } else {
x.ContainerPort = int(r.DecodeInt(codecSelferBitsize1234)) x.ContainerPort = int32(r.DecodeInt(32))
} }
case "protocol": case "protocol":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -11808,7 +11808,7 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.HostPort = 0 x.HostPort = 0
} else { } else {
x.HostPort = int(r.DecodeInt(codecSelferBitsize1234)) x.HostPort = int32(r.DecodeInt(32))
} }
yyj839++ yyj839++
if yyhl839 { if yyhl839 {
@ -11824,7 +11824,7 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.ContainerPort = 0 x.ContainerPort = 0
} else { } else {
x.ContainerPort = int(r.DecodeInt(codecSelferBitsize1234)) x.ContainerPort = int32(r.DecodeInt(32))
} }
yyj839++ yyj839++
if yyhl839 { if yyhl839 {
@ -13877,31 +13877,31 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.InitialDelaySeconds = 0 x.InitialDelaySeconds = 0
} else { } else {
x.InitialDelaySeconds = int64(r.DecodeInt(64)) x.InitialDelaySeconds = int32(r.DecodeInt(32))
} }
case "timeoutSeconds": case "timeoutSeconds":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.TimeoutSeconds = 0 x.TimeoutSeconds = 0
} else { } else {
x.TimeoutSeconds = int64(r.DecodeInt(64)) x.TimeoutSeconds = int32(r.DecodeInt(32))
} }
case "periodSeconds": case "periodSeconds":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.PeriodSeconds = 0 x.PeriodSeconds = 0
} else { } else {
x.PeriodSeconds = int64(r.DecodeInt(64)) x.PeriodSeconds = int32(r.DecodeInt(32))
} }
case "successThreshold": case "successThreshold":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.SuccessThreshold = 0 x.SuccessThreshold = 0
} else { } else {
x.SuccessThreshold = int(r.DecodeInt(codecSelferBitsize1234)) x.SuccessThreshold = int32(r.DecodeInt(32))
} }
case "failureThreshold": case "failureThreshold":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.FailureThreshold = 0 x.FailureThreshold = 0
} else { } else {
x.FailureThreshold = int(r.DecodeInt(codecSelferBitsize1234)) x.FailureThreshold = int32(r.DecodeInt(32))
} }
default: default:
z.DecStructFieldNotFound(-1, yys990) z.DecStructFieldNotFound(-1, yys990)
@ -14003,7 +14003,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.InitialDelaySeconds = 0 x.InitialDelaySeconds = 0
} else { } else {
x.InitialDelaySeconds = int64(r.DecodeInt(64)) x.InitialDelaySeconds = int32(r.DecodeInt(32))
} }
yyj999++ yyj999++
if yyhl999 { if yyhl999 {
@ -14019,7 +14019,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.TimeoutSeconds = 0 x.TimeoutSeconds = 0
} else { } else {
x.TimeoutSeconds = int64(r.DecodeInt(64)) x.TimeoutSeconds = int32(r.DecodeInt(32))
} }
yyj999++ yyj999++
if yyhl999 { if yyhl999 {
@ -14035,7 +14035,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.PeriodSeconds = 0 x.PeriodSeconds = 0
} else { } else {
x.PeriodSeconds = int64(r.DecodeInt(64)) x.PeriodSeconds = int32(r.DecodeInt(32))
} }
yyj999++ yyj999++
if yyhl999 { if yyhl999 {
@ -14051,7 +14051,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.SuccessThreshold = 0 x.SuccessThreshold = 0
} else { } else {
x.SuccessThreshold = int(r.DecodeInt(codecSelferBitsize1234)) x.SuccessThreshold = int32(r.DecodeInt(32))
} }
yyj999++ yyj999++
if yyhl999 { if yyhl999 {
@ -14067,7 +14067,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.FailureThreshold = 0 x.FailureThreshold = 0
} else { } else {
x.FailureThreshold = int(r.DecodeInt(codecSelferBitsize1234)) x.FailureThreshold = int32(r.DecodeInt(32))
} }
for { for {
yyj999++ yyj999++
@ -16967,13 +16967,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.ExitCode = 0 x.ExitCode = 0
} else { } else {
x.ExitCode = int(r.DecodeInt(codecSelferBitsize1234)) x.ExitCode = int32(r.DecodeInt(32))
} }
case "signal": case "signal":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Signal = 0 x.Signal = 0
} else { } else {
x.Signal = int(r.DecodeInt(codecSelferBitsize1234)) x.Signal = int32(r.DecodeInt(32))
} }
case "reason": case "reason":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -17055,7 +17055,7 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978.
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.ExitCode = 0 x.ExitCode = 0
} else { } else {
x.ExitCode = int(r.DecodeInt(codecSelferBitsize1234)) x.ExitCode = int32(r.DecodeInt(32))
} }
yyj1239++ yyj1239++
if yyhl1239 { if yyhl1239 {
@ -17071,7 +17071,7 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978.
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Signal = 0 x.Signal = 0
} else { } else {
x.Signal = int(r.DecodeInt(codecSelferBitsize1234)) x.Signal = int32(r.DecodeInt(32))
} }
yyj1239++ yyj1239++
if yyhl1239 { if yyhl1239 {
@ -17758,7 +17758,7 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.RestartCount = 0 x.RestartCount = 0
} else { } else {
x.RestartCount = int(r.DecodeInt(codecSelferBitsize1234)) x.RestartCount = int32(r.DecodeInt(32))
} }
case "image": case "image":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -17872,7 +17872,7 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.RestartCount = 0 x.RestartCount = 0
} else { } else {
x.RestartCount = int(r.DecodeInt(codecSelferBitsize1234)) x.RestartCount = int32(r.DecodeInt(32))
} }
yyj1301++ yyj1301++
if yyhl1301 { if yyhl1301 {
@ -22539,13 +22539,13 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D
} }
} else { } else {
if x.Replicas == nil { if x.Replicas == nil {
x.Replicas = new(int) x.Replicas = new(int32)
} }
yym1720 := z.DecBinary() yym1720 := z.DecBinary()
_ = yym1720 _ = yym1720
if false { if false {
} else { } else {
*((*int)(x.Replicas)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.Replicas)) = int32(r.DecodeInt(32))
} }
} }
case "selector": case "selector":
@ -22602,13 +22602,13 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978
} }
} else { } else {
if x.Replicas == nil { if x.Replicas == nil {
x.Replicas = new(int) x.Replicas = new(int32)
} }
yym1726 := z.DecBinary() yym1726 := z.DecBinary()
_ = yym1726 _ = yym1726
if false { if false {
} else { } else {
*((*int)(x.Replicas)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.Replicas)) = int32(r.DecodeInt(32))
} }
} }
yyj1724++ yyj1724++
@ -22810,7 +22810,7 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Replicas = 0 x.Replicas = 0
} else { } else {
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) x.Replicas = int32(r.DecodeInt(32))
} }
case "observedGeneration": case "observedGeneration":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -22846,7 +22846,7 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Replicas = 0 x.Replicas = 0
} else { } else {
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) x.Replicas = int32(r.DecodeInt(32))
} }
yyj1743++ yyj1743++
if yyhl1743 { if yyhl1743 {
@ -24974,7 +24974,7 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Port = 0 x.Port = 0
} else { } else {
x.Port = int(r.DecodeInt(codecSelferBitsize1234)) x.Port = int32(r.DecodeInt(32))
} }
case "targetPort": case "targetPort":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -24995,7 +24995,7 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.NodePort = 0 x.NodePort = 0
} else { } else {
x.NodePort = int(r.DecodeInt(codecSelferBitsize1234)) x.NodePort = int32(r.DecodeInt(32))
} }
default: default:
z.DecStructFieldNotFound(-1, yys1922) z.DecStructFieldNotFound(-1, yys1922)
@ -25057,7 +25057,7 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Port = 0 x.Port = 0
} else { } else {
x.Port = int(r.DecodeInt(codecSelferBitsize1234)) x.Port = int32(r.DecodeInt(32))
} }
yyj1929++ yyj1929++
if yyhl1929 { if yyhl1929 {
@ -25098,7 +25098,7 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.NodePort = 0 x.NodePort = 0
} else { } else {
x.NodePort = int(r.DecodeInt(codecSelferBitsize1234)) x.NodePort = int32(r.DecodeInt(32))
} }
for { for {
yyj1929++ yyj1929++
@ -27567,7 +27567,7 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Port = 0 x.Port = 0
} else { } else {
x.Port = int(r.DecodeInt(codecSelferBitsize1234)) x.Port = int32(r.DecodeInt(32))
} }
case "protocol": case "protocol":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -27619,7 +27619,7 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Port = 0 x.Port = 0
} else { } else {
x.Port = int(r.DecodeInt(codecSelferBitsize1234)) x.Port = int32(r.DecodeInt(32))
} }
yyj2150++ yyj2150++
if yyhl2150 { if yyhl2150 {
@ -28424,7 +28424,7 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Port = 0 x.Port = 0
} else { } else {
x.Port = int(r.DecodeInt(codecSelferBitsize1234)) x.Port = int32(r.DecodeInt(32))
} }
default: default:
z.DecStructFieldNotFound(-1, yys2219) z.DecStructFieldNotFound(-1, yys2219)
@ -28454,7 +28454,7 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Port = 0 x.Port = 0
} else { } else {
x.Port = int(r.DecodeInt(codecSelferBitsize1234)) x.Port = int32(r.DecodeInt(32))
} }
for { for {
yyj2221++ yyj2221++
@ -36653,7 +36653,7 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Count = 0 x.Count = 0
} else { } else {
x.Count = int(r.DecodeInt(codecSelferBitsize1234)) x.Count = int32(r.DecodeInt(32))
} }
case "type": case "type":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -36858,7 +36858,7 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Count = 0 x.Count = 0
} else { } else {
x.Count = int(r.DecodeInt(codecSelferBitsize1234)) x.Count = int32(r.DecodeInt(32))
} }
yyj2952++ yyj2952++
if yyhl2952 { if yyhl2952 {
@ -43625,7 +43625,7 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978.
yyrg3511 := len(yyv3511) > 0 yyrg3511 := len(yyv3511) > 0
yyv23511 := yyv3511 yyv23511 := yyv3511
yyrl3511, yyrt3511 = z.DecInferLen(yyl3511, z.DecBasicHandle().MaxInitLen, 64) yyrl3511, yyrt3511 = z.DecInferLen(yyl3511, z.DecBasicHandle().MaxInitLen, 56)
if yyrt3511 { if yyrt3511 {
if yyrl3511 <= cap(yyv3511) { if yyrl3511 <= cap(yyv3511) {
yyv3511 = yyv3511[:yyrl3511] yyv3511 = yyv3511[:yyrl3511]
@ -44437,7 +44437,7 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1
yyrg3553 := len(yyv3553) > 0 yyrg3553 := len(yyv3553) > 0
yyv23553 := yyv3553 yyv23553 := yyv3553
yyrl3553, yyrt3553 = z.DecInferLen(yyl3553, z.DecBasicHandle().MaxInitLen, 128) yyrl3553, yyrt3553 = z.DecInferLen(yyl3553, z.DecBasicHandle().MaxInitLen, 120)
if yyrt3553 { if yyrt3553 {
if yyrl3553 <= cap(yyv3553) { if yyrl3553 <= cap(yyv3553) {
yyv3553 = yyv3553[:yyrl3553] yyv3553 = yyv3553[:yyrl3553]

View File

@ -36,24 +36,24 @@ func autoconvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyCon
out.BindAddress = in.BindAddress out.BindAddress = in.BindAddress
out.CleanupIPTables = in.CleanupIPTables out.CleanupIPTables = in.CleanupIPTables
out.HealthzBindAddress = in.HealthzBindAddress out.HealthzBindAddress = in.HealthzBindAddress
out.HealthzPort = in.HealthzPort out.HealthzPort = int32(in.HealthzPort)
out.HostnameOverride = in.HostnameOverride out.HostnameOverride = in.HostnameOverride
out.IPTablesSyncePeriodSeconds = in.IPTablesSyncePeriodSeconds out.IPTablesSyncePeriodSeconds = int32(in.IPTablesSyncePeriodSeconds)
out.KubeAPIBurst = in.KubeAPIBurst out.KubeAPIBurst = int32(in.KubeAPIBurst)
out.KubeAPIQPS = in.KubeAPIQPS out.KubeAPIQPS = int32(in.KubeAPIQPS)
out.KubeconfigPath = in.KubeconfigPath out.KubeconfigPath = in.KubeconfigPath
out.MasqueradeAll = in.MasqueradeAll out.MasqueradeAll = in.MasqueradeAll
out.Master = in.Master out.Master = in.Master
if in.OOMScoreAdj != nil { if in.OOMScoreAdj != nil {
out.OOMScoreAdj = new(int) out.OOMScoreAdj = new(int32)
*out.OOMScoreAdj = *in.OOMScoreAdj *out.OOMScoreAdj = int32(*in.OOMScoreAdj)
} else { } else {
out.OOMScoreAdj = nil out.OOMScoreAdj = nil
} }
out.Mode = ProxyMode(in.Mode) out.Mode = ProxyMode(in.Mode)
out.PortRange = in.PortRange out.PortRange = in.PortRange
out.ResourceContainer = in.ResourceContainer out.ResourceContainer = in.ResourceContainer
out.UDPTimeoutMilliseconds = in.UDPTimeoutMilliseconds out.UDPTimeoutMilliseconds = int32(in.UDPTimeoutMilliseconds)
return nil return nil
} }
@ -71,24 +71,24 @@ func autoconvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyCon
out.BindAddress = in.BindAddress out.BindAddress = in.BindAddress
out.CleanupIPTables = in.CleanupIPTables out.CleanupIPTables = in.CleanupIPTables
out.HealthzBindAddress = in.HealthzBindAddress out.HealthzBindAddress = in.HealthzBindAddress
out.HealthzPort = in.HealthzPort out.HealthzPort = int(in.HealthzPort)
out.HostnameOverride = in.HostnameOverride out.HostnameOverride = in.HostnameOverride
out.IPTablesSyncePeriodSeconds = in.IPTablesSyncePeriodSeconds out.IPTablesSyncePeriodSeconds = int(in.IPTablesSyncePeriodSeconds)
out.KubeAPIBurst = in.KubeAPIBurst out.KubeAPIBurst = int(in.KubeAPIBurst)
out.KubeAPIQPS = in.KubeAPIQPS out.KubeAPIQPS = int(in.KubeAPIQPS)
out.KubeconfigPath = in.KubeconfigPath out.KubeconfigPath = in.KubeconfigPath
out.MasqueradeAll = in.MasqueradeAll out.MasqueradeAll = in.MasqueradeAll
out.Master = in.Master out.Master = in.Master
if in.OOMScoreAdj != nil { if in.OOMScoreAdj != nil {
out.OOMScoreAdj = new(int) out.OOMScoreAdj = new(int)
*out.OOMScoreAdj = *in.OOMScoreAdj *out.OOMScoreAdj = int(*in.OOMScoreAdj)
} else { } else {
out.OOMScoreAdj = nil out.OOMScoreAdj = nil
} }
out.Mode = componentconfig.ProxyMode(in.Mode) out.Mode = componentconfig.ProxyMode(in.Mode)
out.PortRange = in.PortRange out.PortRange = in.PortRange
out.ResourceContainer = in.ResourceContainer out.ResourceContainer = in.ResourceContainer
out.UDPTimeoutMilliseconds = in.UDPTimeoutMilliseconds out.UDPTimeoutMilliseconds = int(in.UDPTimeoutMilliseconds)
return nil return nil
} }

View File

@ -46,7 +46,7 @@ func deepCopy_v1alpha1_KubeProxyConfiguration(in KubeProxyConfiguration, out *Ku
out.MasqueradeAll = in.MasqueradeAll out.MasqueradeAll = in.MasqueradeAll
out.Master = in.Master out.Master = in.Master
if in.OOMScoreAdj != nil { if in.OOMScoreAdj != nil {
out.OOMScoreAdj = new(int) out.OOMScoreAdj = new(int32)
*out.OOMScoreAdj = *in.OOMScoreAdj *out.OOMScoreAdj = *in.OOMScoreAdj
} else { } else {
out.OOMScoreAdj = nil out.OOMScoreAdj = nil

View File

@ -546,7 +546,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.HealthzPort = 0 x.HealthzPort = 0
} else { } else {
x.HealthzPort = int(r.DecodeInt(codecSelferBitsize1234)) x.HealthzPort = int32(r.DecodeInt(32))
} }
case "hostnameOverride": case "hostnameOverride":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -558,19 +558,19 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.IPTablesSyncePeriodSeconds = 0 x.IPTablesSyncePeriodSeconds = 0
} else { } else {
x.IPTablesSyncePeriodSeconds = int(r.DecodeInt(codecSelferBitsize1234)) x.IPTablesSyncePeriodSeconds = int32(r.DecodeInt(32))
} }
case "kubeAPIBurst": case "kubeAPIBurst":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.KubeAPIBurst = 0 x.KubeAPIBurst = 0
} else { } else {
x.KubeAPIBurst = int(r.DecodeInt(codecSelferBitsize1234)) x.KubeAPIBurst = int32(r.DecodeInt(32))
} }
case "kubeAPIQPS": case "kubeAPIQPS":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.KubeAPIQPS = 0 x.KubeAPIQPS = 0
} else { } else {
x.KubeAPIQPS = int(r.DecodeInt(codecSelferBitsize1234)) x.KubeAPIQPS = int32(r.DecodeInt(32))
} }
case "kubeconfigPath": case "kubeconfigPath":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -597,13 +597,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
} }
} else { } else {
if x.OOMScoreAdj == nil { if x.OOMScoreAdj == nil {
x.OOMScoreAdj = new(int) x.OOMScoreAdj = new(int32)
} }
yym74 := z.DecBinary() yym74 := z.DecBinary()
_ = yym74 _ = yym74
if false { if false {
} else { } else {
*((*int)(x.OOMScoreAdj)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.OOMScoreAdj)) = int32(r.DecodeInt(32))
} }
} }
case "mode": case "mode":
@ -628,7 +628,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.UDPTimeoutMilliseconds = 0 x.UDPTimeoutMilliseconds = 0
} else { } else {
x.UDPTimeoutMilliseconds = int(r.DecodeInt(codecSelferBitsize1234)) x.UDPTimeoutMilliseconds = int32(r.DecodeInt(32))
} }
default: default:
z.DecStructFieldNotFound(-1, yys59) z.DecStructFieldNotFound(-1, yys59)
@ -738,7 +738,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.HealthzPort = 0 x.HealthzPort = 0
} else { } else {
x.HealthzPort = int(r.DecodeInt(codecSelferBitsize1234)) x.HealthzPort = int32(r.DecodeInt(32))
} }
yyj79++ yyj79++
if yyhl79 { if yyhl79 {
@ -770,7 +770,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.IPTablesSyncePeriodSeconds = 0 x.IPTablesSyncePeriodSeconds = 0
} else { } else {
x.IPTablesSyncePeriodSeconds = int(r.DecodeInt(codecSelferBitsize1234)) x.IPTablesSyncePeriodSeconds = int32(r.DecodeInt(32))
} }
yyj79++ yyj79++
if yyhl79 { if yyhl79 {
@ -786,7 +786,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.KubeAPIBurst = 0 x.KubeAPIBurst = 0
} else { } else {
x.KubeAPIBurst = int(r.DecodeInt(codecSelferBitsize1234)) x.KubeAPIBurst = int32(r.DecodeInt(32))
} }
yyj79++ yyj79++
if yyhl79 { if yyhl79 {
@ -802,7 +802,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.KubeAPIQPS = 0 x.KubeAPIQPS = 0
} else { } else {
x.KubeAPIQPS = int(r.DecodeInt(codecSelferBitsize1234)) x.KubeAPIQPS = int32(r.DecodeInt(32))
} }
yyj79++ yyj79++
if yyhl79 { if yyhl79 {
@ -869,13 +869,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
} }
} else { } else {
if x.OOMScoreAdj == nil { if x.OOMScoreAdj == nil {
x.OOMScoreAdj = new(int) x.OOMScoreAdj = new(int32)
} }
yym94 := z.DecBinary() yym94 := z.DecBinary()
_ = yym94 _ = yym94
if false { if false {
} else { } else {
*((*int)(x.OOMScoreAdj)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.OOMScoreAdj)) = int32(r.DecodeInt(32))
} }
} }
yyj79++ yyj79++
@ -940,7 +940,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.UDPTimeoutMilliseconds = 0 x.UDPTimeoutMilliseconds = 0
} else { } else {
x.UDPTimeoutMilliseconds = int(r.DecodeInt(codecSelferBitsize1234)) x.UDPTimeoutMilliseconds = int32(r.DecodeInt(32))
} }
for { for {
yyj79++ yyj79++

View File

@ -34,7 +34,7 @@ func autoconvert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStore
} }
out.VolumeID = in.VolumeID out.VolumeID = in.VolumeID
out.FSType = in.FSType out.FSType = in.FSType
out.Partition = in.Partition out.Partition = int32(in.Partition)
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
return nil return nil
} }
@ -219,8 +219,8 @@ func autoconvert_api_ContainerPort_To_v1_ContainerPort(in *api.ContainerPort, ou
defaulting.(func(*api.ContainerPort))(in) defaulting.(func(*api.ContainerPort))(in)
} }
out.Name = in.Name out.Name = in.Name
out.HostPort = in.HostPort out.HostPort = int32(in.HostPort)
out.ContainerPort = in.ContainerPort out.ContainerPort = int32(in.ContainerPort)
out.Protocol = v1.Protocol(in.Protocol) out.Protocol = v1.Protocol(in.Protocol)
out.HostIP = in.HostIP out.HostIP = in.HostIP
return nil return nil
@ -350,8 +350,8 @@ func autoconvert_api_FCVolumeSource_To_v1_FCVolumeSource(in *api.FCVolumeSource,
out.TargetWWNs = nil out.TargetWWNs = nil
} }
if in.Lun != nil { if in.Lun != nil {
out.Lun = new(int) out.Lun = new(int32)
*out.Lun = *in.Lun *out.Lun = int32(*in.Lun)
} else { } else {
out.Lun = nil out.Lun = nil
} }
@ -382,7 +382,7 @@ func autoconvert_api_GCEPersistentDiskVolumeSource_To_v1_GCEPersistentDiskVolume
} }
out.PDName = in.PDName out.PDName = in.PDName
out.FSType = in.FSType out.FSType = in.FSType
out.Partition = in.Partition out.Partition = int32(in.Partition)
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
return nil return nil
} }
@ -488,7 +488,7 @@ func autoconvert_api_ISCSIVolumeSource_To_v1_ISCSIVolumeSource(in *api.ISCSIVolu
} }
out.TargetPortal = in.TargetPortal out.TargetPortal = in.TargetPortal
out.IQN = in.IQN out.IQN = in.IQN
out.Lun = in.Lun out.Lun = int32(in.Lun)
out.FSType = in.FSType out.FSType = in.FSType
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
return nil return nil
@ -753,11 +753,11 @@ func autoconvert_api_Probe_To_v1_Probe(in *api.Probe, out *v1.Probe, s conversio
if err := convert_api_Handler_To_v1_Handler(&in.Handler, &out.Handler, s); err != nil { if err := convert_api_Handler_To_v1_Handler(&in.Handler, &out.Handler, s); err != nil {
return err return err
} }
out.InitialDelaySeconds = in.InitialDelaySeconds out.InitialDelaySeconds = int32(in.InitialDelaySeconds)
out.TimeoutSeconds = in.TimeoutSeconds out.TimeoutSeconds = int32(in.TimeoutSeconds)
out.PeriodSeconds = in.PeriodSeconds out.PeriodSeconds = int32(in.PeriodSeconds)
out.SuccessThreshold = in.SuccessThreshold out.SuccessThreshold = int32(in.SuccessThreshold)
out.FailureThreshold = in.FailureThreshold out.FailureThreshold = int32(in.FailureThreshold)
return nil return nil
} }
@ -1093,7 +1093,7 @@ func autoconvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStore
} }
out.VolumeID = in.VolumeID out.VolumeID = in.VolumeID
out.FSType = in.FSType out.FSType = in.FSType
out.Partition = in.Partition out.Partition = int(in.Partition)
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
return nil return nil
} }
@ -1278,8 +1278,8 @@ func autoconvert_v1_ContainerPort_To_api_ContainerPort(in *v1.ContainerPort, out
defaulting.(func(*v1.ContainerPort))(in) defaulting.(func(*v1.ContainerPort))(in)
} }
out.Name = in.Name out.Name = in.Name
out.HostPort = in.HostPort out.HostPort = int(in.HostPort)
out.ContainerPort = in.ContainerPort out.ContainerPort = int(in.ContainerPort)
out.Protocol = api.Protocol(in.Protocol) out.Protocol = api.Protocol(in.Protocol)
out.HostIP = in.HostIP out.HostIP = in.HostIP
return nil return nil
@ -1410,7 +1410,7 @@ func autoconvert_v1_FCVolumeSource_To_api_FCVolumeSource(in *v1.FCVolumeSource,
} }
if in.Lun != nil { if in.Lun != nil {
out.Lun = new(int) out.Lun = new(int)
*out.Lun = *in.Lun *out.Lun = int(*in.Lun)
} else { } else {
out.Lun = nil out.Lun = nil
} }
@ -1441,7 +1441,7 @@ func autoconvert_v1_GCEPersistentDiskVolumeSource_To_api_GCEPersistentDiskVolume
} }
out.PDName = in.PDName out.PDName = in.PDName
out.FSType = in.FSType out.FSType = in.FSType
out.Partition = in.Partition out.Partition = int(in.Partition)
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
return nil return nil
} }
@ -1547,7 +1547,7 @@ func autoconvert_v1_ISCSIVolumeSource_To_api_ISCSIVolumeSource(in *v1.ISCSIVolum
} }
out.TargetPortal = in.TargetPortal out.TargetPortal = in.TargetPortal
out.IQN = in.IQN out.IQN = in.IQN
out.Lun = in.Lun out.Lun = int(in.Lun)
out.FSType = in.FSType out.FSType = in.FSType
out.ReadOnly = in.ReadOnly out.ReadOnly = in.ReadOnly
return nil return nil
@ -1816,11 +1816,11 @@ func autoconvert_v1_Probe_To_api_Probe(in *v1.Probe, out *api.Probe, s conversio
if err := convert_v1_Handler_To_api_Handler(&in.Handler, &out.Handler, s); err != nil { if err := convert_v1_Handler_To_api_Handler(&in.Handler, &out.Handler, s); err != nil {
return err return err
} }
out.InitialDelaySeconds = in.InitialDelaySeconds out.InitialDelaySeconds = int(in.InitialDelaySeconds)
out.TimeoutSeconds = in.TimeoutSeconds out.TimeoutSeconds = int(in.TimeoutSeconds)
out.PeriodSeconds = in.PeriodSeconds out.PeriodSeconds = int(in.PeriodSeconds)
out.SuccessThreshold = in.SuccessThreshold out.SuccessThreshold = int(in.SuccessThreshold)
out.FailureThreshold = in.FailureThreshold out.FailureThreshold = int(in.FailureThreshold)
return nil return nil
} }
@ -2167,7 +2167,7 @@ func autoconvert_extensions_CPUTargetUtilization_To_v1beta1_CPUTargetUtilization
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*extensions.CPUTargetUtilization))(in) defaulting.(func(*extensions.CPUTargetUtilization))(in)
} }
out.TargetPercentage = in.TargetPercentage out.TargetPercentage = int32(in.TargetPercentage)
return nil return nil
} }
@ -2226,8 +2226,8 @@ func autoconvert_extensions_ClusterAutoscalerSpec_To_v1beta1_ClusterAutoscalerSp
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*extensions.ClusterAutoscalerSpec))(in) defaulting.(func(*extensions.ClusterAutoscalerSpec))(in)
} }
out.MinNodes = in.MinNodes out.MinNodes = int32(in.MinNodes)
out.MaxNodes = in.MaxNodes out.MaxNodes = int32(in.MaxNodes)
if in.TargetUtilization != nil { if in.TargetUtilization != nil {
out.TargetUtilization = make([]NodeUtilization, len(in.TargetUtilization)) out.TargetUtilization = make([]NodeUtilization, len(in.TargetUtilization))
for i := range in.TargetUtilization { for i := range in.TargetUtilization {
@ -2326,9 +2326,9 @@ func autoconvert_extensions_DaemonSetStatus_To_v1beta1_DaemonSetStatus(in *exten
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*extensions.DaemonSetStatus))(in) defaulting.(func(*extensions.DaemonSetStatus))(in)
} }
out.CurrentNumberScheduled = in.CurrentNumberScheduled out.CurrentNumberScheduled = int32(in.CurrentNumberScheduled)
out.NumberMisscheduled = in.NumberMisscheduled out.NumberMisscheduled = int32(in.NumberMisscheduled)
out.DesiredNumberScheduled = in.DesiredNumberScheduled out.DesiredNumberScheduled = int32(in.DesiredNumberScheduled)
return nil return nil
} }
@ -2417,8 +2417,8 @@ func autoconvert_extensions_DeploymentStatus_To_v1beta1_DeploymentStatus(in *ext
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*extensions.DeploymentStatus))(in) defaulting.(func(*extensions.DeploymentStatus))(in)
} }
out.Replicas = in.Replicas out.Replicas = int32(in.Replicas)
out.UpdatedReplicas = in.UpdatedReplicas out.UpdatedReplicas = int32(in.UpdatedReplicas)
return nil return nil
} }
@ -2536,12 +2536,12 @@ func autoconvert_extensions_HorizontalPodAutoscalerSpec_To_v1beta1_HorizontalPod
return err return err
} }
if in.MinReplicas != nil { if in.MinReplicas != nil {
out.MinReplicas = new(int) out.MinReplicas = new(int32)
*out.MinReplicas = *in.MinReplicas *out.MinReplicas = int32(*in.MinReplicas)
} else { } else {
out.MinReplicas = nil out.MinReplicas = nil
} }
out.MaxReplicas = in.MaxReplicas out.MaxReplicas = int32(in.MaxReplicas)
if in.CPUUtilization != nil { if in.CPUUtilization != nil {
out.CPUUtilization = new(CPUTargetUtilization) out.CPUUtilization = new(CPUTargetUtilization)
if err := convert_extensions_CPUTargetUtilization_To_v1beta1_CPUTargetUtilization(in.CPUUtilization, out.CPUUtilization, s); err != nil { if err := convert_extensions_CPUTargetUtilization_To_v1beta1_CPUTargetUtilization(in.CPUUtilization, out.CPUUtilization, s); err != nil {
@ -2574,11 +2574,11 @@ func autoconvert_extensions_HorizontalPodAutoscalerStatus_To_v1beta1_HorizontalP
} else { } else {
out.LastScaleTime = nil out.LastScaleTime = nil
} }
out.CurrentReplicas = in.CurrentReplicas out.CurrentReplicas = int32(in.CurrentReplicas)
out.DesiredReplicas = in.DesiredReplicas out.DesiredReplicas = int32(in.DesiredReplicas)
if in.CurrentCPUUtilizationPercentage != nil { if in.CurrentCPUUtilizationPercentage != nil {
out.CurrentCPUUtilizationPercentage = new(int) out.CurrentCPUUtilizationPercentage = new(int32)
*out.CurrentCPUUtilizationPercentage = *in.CurrentCPUUtilizationPercentage *out.CurrentCPUUtilizationPercentage = int32(*in.CurrentCPUUtilizationPercentage)
} else { } else {
out.CurrentCPUUtilizationPercentage = nil out.CurrentCPUUtilizationPercentage = nil
} }
@ -2807,14 +2807,14 @@ func autoconvert_extensions_JobSpec_To_v1beta1_JobSpec(in *extensions.JobSpec, o
defaulting.(func(*extensions.JobSpec))(in) defaulting.(func(*extensions.JobSpec))(in)
} }
if in.Parallelism != nil { if in.Parallelism != nil {
out.Parallelism = new(int) out.Parallelism = new(int32)
*out.Parallelism = *in.Parallelism *out.Parallelism = int32(*in.Parallelism)
} else { } else {
out.Parallelism = nil out.Parallelism = nil
} }
if in.Completions != nil { if in.Completions != nil {
out.Completions = new(int) out.Completions = new(int32)
*out.Completions = *in.Completions *out.Completions = int32(*in.Completions)
} else { } else {
out.Completions = nil out.Completions = nil
} }
@ -2864,9 +2864,9 @@ func autoconvert_extensions_JobStatus_To_v1beta1_JobStatus(in *extensions.JobSta
} else { } else {
out.CompletionTime = nil out.CompletionTime = nil
} }
out.Active = in.Active out.Active = int32(in.Active)
out.Succeeded = in.Succeeded out.Succeeded = int32(in.Succeeded)
out.Failed = in.Failed out.Failed = int32(in.Failed)
return nil return nil
} }
@ -2961,7 +2961,7 @@ func autoconvert_extensions_RollingUpdateDeployment_To_v1beta1_RollingUpdateDepl
if err := s.Convert(&in.MaxSurge, &out.MaxSurge, 0); err != nil { if err := s.Convert(&in.MaxSurge, &out.MaxSurge, 0); err != nil {
return err return err
} }
out.MinReadySeconds = in.MinReadySeconds out.MinReadySeconds = int32(in.MinReadySeconds)
return nil return nil
} }
@ -2992,7 +2992,7 @@ func autoconvert_extensions_ScaleSpec_To_v1beta1_ScaleSpec(in *extensions.ScaleS
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*extensions.ScaleSpec))(in) defaulting.(func(*extensions.ScaleSpec))(in)
} }
out.Replicas = in.Replicas out.Replicas = int32(in.Replicas)
return nil return nil
} }
@ -3004,7 +3004,7 @@ func autoconvert_extensions_ScaleStatus_To_v1beta1_ScaleStatus(in *extensions.Sc
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*extensions.ScaleStatus))(in) defaulting.(func(*extensions.ScaleStatus))(in)
} }
out.Replicas = in.Replicas out.Replicas = int32(in.Replicas)
if in.Selector != nil { if in.Selector != nil {
out.Selector = make(map[string]string) out.Selector = make(map[string]string)
for key, val := range in.Selector { for key, val := range in.Selector {
@ -3154,7 +3154,7 @@ func autoconvert_v1beta1_CPUTargetUtilization_To_extensions_CPUTargetUtilization
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*CPUTargetUtilization))(in) defaulting.(func(*CPUTargetUtilization))(in)
} }
out.TargetPercentage = in.TargetPercentage out.TargetPercentage = int(in.TargetPercentage)
return nil return nil
} }
@ -3213,8 +3213,8 @@ func autoconvert_v1beta1_ClusterAutoscalerSpec_To_extensions_ClusterAutoscalerSp
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*ClusterAutoscalerSpec))(in) defaulting.(func(*ClusterAutoscalerSpec))(in)
} }
out.MinNodes = in.MinNodes out.MinNodes = int(in.MinNodes)
out.MaxNodes = in.MaxNodes out.MaxNodes = int(in.MaxNodes)
if in.TargetUtilization != nil { if in.TargetUtilization != nil {
out.TargetUtilization = make([]extensions.NodeUtilization, len(in.TargetUtilization)) out.TargetUtilization = make([]extensions.NodeUtilization, len(in.TargetUtilization))
for i := range in.TargetUtilization { for i := range in.TargetUtilization {
@ -3313,9 +3313,9 @@ func autoconvert_v1beta1_DaemonSetStatus_To_extensions_DaemonSetStatus(in *Daemo
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*DaemonSetStatus))(in) defaulting.(func(*DaemonSetStatus))(in)
} }
out.CurrentNumberScheduled = in.CurrentNumberScheduled out.CurrentNumberScheduled = int(in.CurrentNumberScheduled)
out.NumberMisscheduled = in.NumberMisscheduled out.NumberMisscheduled = int(in.NumberMisscheduled)
out.DesiredNumberScheduled = in.DesiredNumberScheduled out.DesiredNumberScheduled = int(in.DesiredNumberScheduled)
return nil return nil
} }
@ -3400,8 +3400,8 @@ func autoconvert_v1beta1_DeploymentStatus_To_extensions_DeploymentStatus(in *Dep
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*DeploymentStatus))(in) defaulting.(func(*DeploymentStatus))(in)
} }
out.Replicas = in.Replicas out.Replicas = int(in.Replicas)
out.UpdatedReplicas = in.UpdatedReplicas out.UpdatedReplicas = int(in.UpdatedReplicas)
return nil return nil
} }
@ -3504,11 +3504,11 @@ func autoconvert_v1beta1_HorizontalPodAutoscalerSpec_To_extensions_HorizontalPod
} }
if in.MinReplicas != nil { if in.MinReplicas != nil {
out.MinReplicas = new(int) out.MinReplicas = new(int)
*out.MinReplicas = *in.MinReplicas *out.MinReplicas = int(*in.MinReplicas)
} else { } else {
out.MinReplicas = nil out.MinReplicas = nil
} }
out.MaxReplicas = in.MaxReplicas out.MaxReplicas = int(in.MaxReplicas)
if in.CPUUtilization != nil { if in.CPUUtilization != nil {
out.CPUUtilization = new(extensions.CPUTargetUtilization) out.CPUUtilization = new(extensions.CPUTargetUtilization)
if err := convert_v1beta1_CPUTargetUtilization_To_extensions_CPUTargetUtilization(in.CPUUtilization, out.CPUUtilization, s); err != nil { if err := convert_v1beta1_CPUTargetUtilization_To_extensions_CPUTargetUtilization(in.CPUUtilization, out.CPUUtilization, s); err != nil {
@ -3541,11 +3541,11 @@ func autoconvert_v1beta1_HorizontalPodAutoscalerStatus_To_extensions_HorizontalP
} else { } else {
out.LastScaleTime = nil out.LastScaleTime = nil
} }
out.CurrentReplicas = in.CurrentReplicas out.CurrentReplicas = int(in.CurrentReplicas)
out.DesiredReplicas = in.DesiredReplicas out.DesiredReplicas = int(in.DesiredReplicas)
if in.CurrentCPUUtilizationPercentage != nil { if in.CurrentCPUUtilizationPercentage != nil {
out.CurrentCPUUtilizationPercentage = new(int) out.CurrentCPUUtilizationPercentage = new(int)
*out.CurrentCPUUtilizationPercentage = *in.CurrentCPUUtilizationPercentage *out.CurrentCPUUtilizationPercentage = int(*in.CurrentCPUUtilizationPercentage)
} else { } else {
out.CurrentCPUUtilizationPercentage = nil out.CurrentCPUUtilizationPercentage = nil
} }
@ -3775,13 +3775,13 @@ func autoconvert_v1beta1_JobSpec_To_extensions_JobSpec(in *JobSpec, out *extensi
} }
if in.Parallelism != nil { if in.Parallelism != nil {
out.Parallelism = new(int) out.Parallelism = new(int)
*out.Parallelism = *in.Parallelism *out.Parallelism = int(*in.Parallelism)
} else { } else {
out.Parallelism = nil out.Parallelism = nil
} }
if in.Completions != nil { if in.Completions != nil {
out.Completions = new(int) out.Completions = new(int)
*out.Completions = *in.Completions *out.Completions = int(*in.Completions)
} else { } else {
out.Completions = nil out.Completions = nil
} }
@ -3831,9 +3831,9 @@ func autoconvert_v1beta1_JobStatus_To_extensions_JobStatus(in *JobStatus, out *e
} else { } else {
out.CompletionTime = nil out.CompletionTime = nil
} }
out.Active = in.Active out.Active = int(in.Active)
out.Succeeded = in.Succeeded out.Succeeded = int(in.Succeeded)
out.Failed = in.Failed out.Failed = int(in.Failed)
return nil return nil
} }
@ -3924,7 +3924,7 @@ func autoconvert_v1beta1_RollingUpdateDeployment_To_extensions_RollingUpdateDepl
} }
// in.MaxUnavailable has no peer in out // in.MaxUnavailable has no peer in out
// in.MaxSurge has no peer in out // in.MaxSurge has no peer in out
out.MinReadySeconds = in.MinReadySeconds out.MinReadySeconds = int(in.MinReadySeconds)
return nil return nil
} }
@ -3955,7 +3955,7 @@ func autoconvert_v1beta1_ScaleSpec_To_extensions_ScaleSpec(in *ScaleSpec, out *e
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*ScaleSpec))(in) defaulting.(func(*ScaleSpec))(in)
} }
out.Replicas = in.Replicas out.Replicas = int(in.Replicas)
return nil return nil
} }
@ -3967,7 +3967,7 @@ func autoconvert_v1beta1_ScaleStatus_To_extensions_ScaleStatus(in *ScaleStatus,
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found { if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*ScaleStatus))(in) defaulting.(func(*ScaleStatus))(in)
} }
out.Replicas = in.Replicas out.Replicas = int(in.Replicas)
if in.Selector != nil { if in.Selector != nil {
out.Selector = make(map[string]string) out.Selector = make(map[string]string)
for key, val := range in.Selector { for key, val := range in.Selector {

View File

@ -300,7 +300,7 @@ func deepCopy_v1_FCVolumeSource(in v1.FCVolumeSource, out *v1.FCVolumeSource, c
out.TargetWWNs = nil out.TargetWWNs = nil
} }
if in.Lun != nil { if in.Lun != nil {
out.Lun = new(int) out.Lun = new(int32)
*out.Lun = *in.Lun *out.Lun = *in.Lun
} else { } else {
out.Lun = nil out.Lun = nil
@ -1046,7 +1046,7 @@ func deepCopy_v1beta1_DeploymentList(in DeploymentList, out *DeploymentList, c *
func deepCopy_v1beta1_DeploymentSpec(in DeploymentSpec, out *DeploymentSpec, c *conversion.Cloner) error { func deepCopy_v1beta1_DeploymentSpec(in DeploymentSpec, out *DeploymentSpec, c *conversion.Cloner) error {
if in.Replicas != nil { if in.Replicas != nil {
out.Replicas = new(int) out.Replicas = new(int32)
*out.Replicas = *in.Replicas *out.Replicas = *in.Replicas
} else { } else {
out.Replicas = nil out.Replicas = nil
@ -1156,7 +1156,7 @@ func deepCopy_v1beta1_HorizontalPodAutoscalerSpec(in HorizontalPodAutoscalerSpec
return err return err
} }
if in.MinReplicas != nil { if in.MinReplicas != nil {
out.MinReplicas = new(int) out.MinReplicas = new(int32)
*out.MinReplicas = *in.MinReplicas *out.MinReplicas = *in.MinReplicas
} else { } else {
out.MinReplicas = nil out.MinReplicas = nil
@ -1191,7 +1191,7 @@ func deepCopy_v1beta1_HorizontalPodAutoscalerStatus(in HorizontalPodAutoscalerSt
out.CurrentReplicas = in.CurrentReplicas out.CurrentReplicas = in.CurrentReplicas
out.DesiredReplicas = in.DesiredReplicas out.DesiredReplicas = in.DesiredReplicas
if in.CurrentCPUUtilizationPercentage != nil { if in.CurrentCPUUtilizationPercentage != nil {
out.CurrentCPUUtilizationPercentage = new(int) out.CurrentCPUUtilizationPercentage = new(int32)
*out.CurrentCPUUtilizationPercentage = *in.CurrentCPUUtilizationPercentage *out.CurrentCPUUtilizationPercentage = *in.CurrentCPUUtilizationPercentage
} else { } else {
out.CurrentCPUUtilizationPercentage = nil out.CurrentCPUUtilizationPercentage = nil
@ -1344,13 +1344,13 @@ func deepCopy_v1beta1_JobList(in JobList, out *JobList, c *conversion.Cloner) er
func deepCopy_v1beta1_JobSpec(in JobSpec, out *JobSpec, c *conversion.Cloner) error { func deepCopy_v1beta1_JobSpec(in JobSpec, out *JobSpec, c *conversion.Cloner) error {
if in.Parallelism != nil { if in.Parallelism != nil {
out.Parallelism = new(int) out.Parallelism = new(int32)
*out.Parallelism = *in.Parallelism *out.Parallelism = *in.Parallelism
} else { } else {
out.Parallelism = nil out.Parallelism = nil
} }
if in.Completions != nil { if in.Completions != nil {
out.Completions = new(int) out.Completions = new(int32)
*out.Completions = *in.Completions *out.Completions = *in.Completions
} else { } else {
out.Completions = nil out.Completions = nil

View File

@ -198,7 +198,7 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Replicas = 0 x.Replicas = 0
} else { } else {
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) x.Replicas = int32(r.DecodeInt(32))
} }
default: default:
z.DecStructFieldNotFound(-1, yys8) z.DecStructFieldNotFound(-1, yys8)
@ -228,7 +228,7 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Replicas = 0 x.Replicas = 0
} else { } else {
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) x.Replicas = int32(r.DecodeInt(32))
} }
for { for {
yyj10++ yyj10++
@ -394,7 +394,7 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Replicas = 0 x.Replicas = 0
} else { } else {
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) x.Replicas = int32(r.DecodeInt(32))
} }
case "selector": case "selector":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -436,7 +436,7 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Replicas = 0 x.Replicas = 0
} else { } else {
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) x.Replicas = int32(r.DecodeInt(32))
} }
yyj26++ yyj26++
if yyhl26 { if yyhl26 {
@ -1463,7 +1463,7 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.TargetPercentage = 0 x.TargetPercentage = 0
} else { } else {
x.TargetPercentage = int(r.DecodeInt(codecSelferBitsize1234)) x.TargetPercentage = int32(r.DecodeInt(32))
} }
default: default:
z.DecStructFieldNotFound(-1, yys110) z.DecStructFieldNotFound(-1, yys110)
@ -1493,7 +1493,7 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.TargetPercentage = 0 x.TargetPercentage = 0
} else { } else {
x.TargetPercentage = int(r.DecodeInt(codecSelferBitsize1234)) x.TargetPercentage = int32(r.DecodeInt(32))
} }
for { for {
yyj112++ yyj112++
@ -1706,20 +1706,20 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978
} }
} else { } else {
if x.MinReplicas == nil { if x.MinReplicas == nil {
x.MinReplicas = new(int) x.MinReplicas = new(int32)
} }
yym133 := z.DecBinary() yym133 := z.DecBinary()
_ = yym133 _ = yym133
if false { if false {
} else { } else {
*((*int)(x.MinReplicas)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32))
} }
} }
case "maxReplicas": case "maxReplicas":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.MaxReplicas = 0 x.MaxReplicas = 0
} else { } else {
x.MaxReplicas = int(r.DecodeInt(codecSelferBitsize1234)) x.MaxReplicas = int32(r.DecodeInt(32))
} }
case "cpuUtilization": case "cpuUtilization":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -1780,13 +1780,13 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19
} }
} else { } else {
if x.MinReplicas == nil { if x.MinReplicas == nil {
x.MinReplicas = new(int) x.MinReplicas = new(int32)
} }
yym139 := z.DecBinary() yym139 := z.DecBinary()
_ = yym139 _ = yym139
if false { if false {
} else { } else {
*((*int)(x.MinReplicas)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32))
} }
} }
yyj136++ yyj136++
@ -1803,7 +1803,7 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.MaxReplicas = 0 x.MaxReplicas = 0
} else { } else {
x.MaxReplicas = int(r.DecodeInt(codecSelferBitsize1234)) x.MaxReplicas = int32(r.DecodeInt(32))
} }
yyj136++ yyj136++
if yyhl136 { if yyhl136 {
@ -2128,13 +2128,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.CurrentReplicas = 0 x.CurrentReplicas = 0
} else { } else {
x.CurrentReplicas = int(r.DecodeInt(codecSelferBitsize1234)) x.CurrentReplicas = int32(r.DecodeInt(32))
} }
case "desiredReplicas": case "desiredReplicas":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.DesiredReplicas = 0 x.DesiredReplicas = 0
} else { } else {
x.DesiredReplicas = int(r.DecodeInt(codecSelferBitsize1234)) x.DesiredReplicas = int32(r.DecodeInt(32))
} }
case "currentCPUUtilizationPercentage": case "currentCPUUtilizationPercentage":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -2143,13 +2143,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19
} }
} else { } else {
if x.CurrentCPUUtilizationPercentage == nil { if x.CurrentCPUUtilizationPercentage == nil {
x.CurrentCPUUtilizationPercentage = new(int) x.CurrentCPUUtilizationPercentage = new(int32)
} }
yym173 := z.DecBinary() yym173 := z.DecBinary()
_ = yym173 _ = yym173
if false { if false {
} else { } else {
*((*int)(x.CurrentCPUUtilizationPercentage)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32))
} }
} }
default: default:
@ -2237,7 +2237,7 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.CurrentReplicas = 0 x.CurrentReplicas = 0
} else { } else {
x.CurrentReplicas = int(r.DecodeInt(codecSelferBitsize1234)) x.CurrentReplicas = int32(r.DecodeInt(32))
} }
yyj174++ yyj174++
if yyhl174 { if yyhl174 {
@ -2253,7 +2253,7 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.DesiredReplicas = 0 x.DesiredReplicas = 0
} else { } else {
x.DesiredReplicas = int(r.DecodeInt(codecSelferBitsize1234)) x.DesiredReplicas = int32(r.DecodeInt(32))
} }
yyj174++ yyj174++
if yyhl174 { if yyhl174 {
@ -2272,13 +2272,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec
} }
} else { } else {
if x.CurrentCPUUtilizationPercentage == nil { if x.CurrentCPUUtilizationPercentage == nil {
x.CurrentCPUUtilizationPercentage = new(int) x.CurrentCPUUtilizationPercentage = new(int32)
} }
yym182 := z.DecBinary() yym182 := z.DecBinary()
_ = yym182 _ = yym182
if false { if false {
} else { } else {
*((*int)(x.CurrentCPUUtilizationPercentage)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32))
} }
} }
for { for {
@ -4823,13 +4823,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
} }
} else { } else {
if x.Replicas == nil { if x.Replicas == nil {
x.Replicas = new(int) x.Replicas = new(int32)
} }
yym411 := z.DecBinary() yym411 := z.DecBinary()
_ = yym411 _ = yym411
if false { if false {
} else { } else {
*((*int)(x.Replicas)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.Replicas)) = int32(r.DecodeInt(32))
} }
} }
case "selector": case "selector":
@ -4905,13 +4905,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
} }
} else { } else {
if x.Replicas == nil { if x.Replicas == nil {
x.Replicas = new(int) x.Replicas = new(int32)
} }
yym420 := z.DecBinary() yym420 := z.DecBinary()
_ = yym420 _ = yym420
if false { if false {
} else { } else {
*((*int)(x.Replicas)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.Replicas)) = int32(r.DecodeInt(32))
} }
} }
yyj418++ yyj418++
@ -5492,7 +5492,7 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.MinReadySeconds = 0 x.MinReadySeconds = 0
} else { } else {
x.MinReadySeconds = int(r.DecodeInt(codecSelferBitsize1234)) x.MinReadySeconds = int32(r.DecodeInt(32))
} }
default: default:
z.DecStructFieldNotFound(-1, yys454) z.DecStructFieldNotFound(-1, yys454)
@ -5580,7 +5580,7 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.MinReadySeconds = 0 x.MinReadySeconds = 0
} else { } else {
x.MinReadySeconds = int(r.DecodeInt(codecSelferBitsize1234)) x.MinReadySeconds = int32(r.DecodeInt(32))
} }
for { for {
yyj460++ yyj460++
@ -5745,13 +5745,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Replicas = 0 x.Replicas = 0
} else { } else {
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) x.Replicas = int32(r.DecodeInt(32))
} }
case "updatedReplicas": case "updatedReplicas":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.UpdatedReplicas = 0 x.UpdatedReplicas = 0
} else { } else {
x.UpdatedReplicas = int(r.DecodeInt(codecSelferBitsize1234)) x.UpdatedReplicas = int32(r.DecodeInt(32))
} }
default: default:
z.DecStructFieldNotFound(-1, yys476) z.DecStructFieldNotFound(-1, yys476)
@ -5781,7 +5781,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Replicas = 0 x.Replicas = 0
} else { } else {
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) x.Replicas = int32(r.DecodeInt(32))
} }
yyj479++ yyj479++
if yyhl479 { if yyhl479 {
@ -5797,7 +5797,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.UpdatedReplicas = 0 x.UpdatedReplicas = 0
} else { } else {
x.UpdatedReplicas = int(r.DecodeInt(codecSelferBitsize1234)) x.UpdatedReplicas = int32(r.DecodeInt(32))
} }
for { for {
yyj479++ yyj479++
@ -6544,19 +6544,19 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.CurrentNumberScheduled = 0 x.CurrentNumberScheduled = 0
} else { } else {
x.CurrentNumberScheduled = int(r.DecodeInt(codecSelferBitsize1234)) x.CurrentNumberScheduled = int32(r.DecodeInt(32))
} }
case "numberMisscheduled": case "numberMisscheduled":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.NumberMisscheduled = 0 x.NumberMisscheduled = 0
} else { } else {
x.NumberMisscheduled = int(r.DecodeInt(codecSelferBitsize1234)) x.NumberMisscheduled = int32(r.DecodeInt(32))
} }
case "desiredNumberScheduled": case "desiredNumberScheduled":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.DesiredNumberScheduled = 0 x.DesiredNumberScheduled = 0
} else { } else {
x.DesiredNumberScheduled = int(r.DecodeInt(codecSelferBitsize1234)) x.DesiredNumberScheduled = int32(r.DecodeInt(32))
} }
default: default:
z.DecStructFieldNotFound(-1, yys539) z.DecStructFieldNotFound(-1, yys539)
@ -6586,7 +6586,7 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.CurrentNumberScheduled = 0 x.CurrentNumberScheduled = 0
} else { } else {
x.CurrentNumberScheduled = int(r.DecodeInt(codecSelferBitsize1234)) x.CurrentNumberScheduled = int32(r.DecodeInt(32))
} }
yyj543++ yyj543++
if yyhl543 { if yyhl543 {
@ -6602,7 +6602,7 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.NumberMisscheduled = 0 x.NumberMisscheduled = 0
} else { } else {
x.NumberMisscheduled = int(r.DecodeInt(codecSelferBitsize1234)) x.NumberMisscheduled = int32(r.DecodeInt(32))
} }
yyj543++ yyj543++
if yyhl543 { if yyhl543 {
@ -6618,7 +6618,7 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.DesiredNumberScheduled = 0 x.DesiredNumberScheduled = 0
} else { } else {
x.DesiredNumberScheduled = int(r.DecodeInt(codecSelferBitsize1234)) x.DesiredNumberScheduled = int32(r.DecodeInt(32))
} }
for { for {
yyj543++ yyj543++
@ -8559,13 +8559,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
} }
} else { } else {
if x.Parallelism == nil { if x.Parallelism == nil {
x.Parallelism = new(int) x.Parallelism = new(int32)
} }
yym725 := z.DecBinary() yym725 := z.DecBinary()
_ = yym725 _ = yym725
if false { if false {
} else { } else {
*((*int)(x.Parallelism)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32))
} }
} }
case "completions": case "completions":
@ -8575,13 +8575,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
} }
} else { } else {
if x.Completions == nil { if x.Completions == nil {
x.Completions = new(int) x.Completions = new(int32)
} }
yym727 := z.DecBinary() yym727 := z.DecBinary()
_ = yym727 _ = yym727
if false { if false {
} else { } else {
*((*int)(x.Completions)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.Completions)) = int32(r.DecodeInt(32))
} }
} }
case "selector": case "selector":
@ -8633,13 +8633,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
} }
} else { } else {
if x.Parallelism == nil { if x.Parallelism == nil {
x.Parallelism = new(int) x.Parallelism = new(int32)
} }
yym732 := z.DecBinary() yym732 := z.DecBinary()
_ = yym732 _ = yym732
if false { if false {
} else { } else {
*((*int)(x.Parallelism)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32))
} }
} }
yyj730++ yyj730++
@ -8659,13 +8659,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
} }
} else { } else {
if x.Completions == nil { if x.Completions == nil {
x.Completions = new(int) x.Completions = new(int32)
} }
yym734 := z.DecBinary() yym734 := z.DecBinary()
_ = yym734 _ = yym734
if false { if false {
} else { } else {
*((*int)(x.Completions)) = int(r.DecodeInt(codecSelferBitsize1234)) *((*int32)(x.Completions)) = int32(r.DecodeInt(32))
} }
} }
yyj730++ yyj730++
@ -9071,19 +9071,19 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Active = 0 x.Active = 0
} else { } else {
x.Active = int(r.DecodeInt(codecSelferBitsize1234)) x.Active = int32(r.DecodeInt(32))
} }
case "succeeded": case "succeeded":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Succeeded = 0 x.Succeeded = 0
} else { } else {
x.Succeeded = int(r.DecodeInt(codecSelferBitsize1234)) x.Succeeded = int32(r.DecodeInt(32))
} }
case "failed": case "failed":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Failed = 0 x.Failed = 0
} else { } else {
x.Failed = int(r.DecodeInt(codecSelferBitsize1234)) x.Failed = int32(r.DecodeInt(32))
} }
default: default:
z.DecStructFieldNotFound(-1, yys759) z.DecStructFieldNotFound(-1, yys759)
@ -9197,7 +9197,7 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Active = 0 x.Active = 0
} else { } else {
x.Active = int(r.DecodeInt(codecSelferBitsize1234)) x.Active = int32(r.DecodeInt(32))
} }
yyj769++ yyj769++
if yyhl769 { if yyhl769 {
@ -9213,7 +9213,7 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Succeeded = 0 x.Succeeded = 0
} else { } else {
x.Succeeded = int(r.DecodeInt(codecSelferBitsize1234)) x.Succeeded = int32(r.DecodeInt(32))
} }
yyj769++ yyj769++
if yyhl769 { if yyhl769 {
@ -9229,7 +9229,7 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.Failed = 0 x.Failed = 0
} else { } else {
x.Failed = int(r.DecodeInt(codecSelferBitsize1234)) x.Failed = int32(r.DecodeInt(32))
} }
for { for {
yyj769++ yyj769++
@ -12239,13 +12239,13 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.MinNodes = 0 x.MinNodes = 0
} else { } else {
x.MinNodes = int(r.DecodeInt(codecSelferBitsize1234)) x.MinNodes = int32(r.DecodeInt(32))
} }
case "maxNodes": case "maxNodes":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.MaxNodes = 0 x.MaxNodes = 0
} else { } else {
x.MaxNodes = int(r.DecodeInt(codecSelferBitsize1234)) x.MaxNodes = int32(r.DecodeInt(32))
} }
case "target": case "target":
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
@ -12287,7 +12287,7 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.MinNodes = 0 x.MinNodes = 0
} else { } else {
x.MinNodes = int(r.DecodeInt(codecSelferBitsize1234)) x.MinNodes = int32(r.DecodeInt(32))
} }
yyj1019++ yyj1019++
if yyhl1019 { if yyhl1019 {
@ -12303,7 +12303,7 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec
if r.TryDecodeAsNil() { if r.TryDecodeAsNil() {
x.MaxNodes = 0 x.MaxNodes = 0
} else { } else {
x.MaxNodes = int(r.DecodeInt(codecSelferBitsize1234)) x.MaxNodes = int32(r.DecodeInt(32))
} }
yyj1019++ yyj1019++
if yyhl1019 { if yyhl1019 {
@ -13568,7 +13568,7 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos
yyrg1127 := len(yyv1127) > 0 yyrg1127 := len(yyv1127) > 0
yyv21127 := yyv1127 yyv21127 := yyv1127
yyrl1127, yyrt1127 = z.DecInferLen(yyl1127, z.DecBasicHandle().MaxInitLen, 320) yyrl1127, yyrt1127 = z.DecInferLen(yyl1127, z.DecBasicHandle().MaxInitLen, 312)
if yyrt1127 { if yyrt1127 {
if yyrl1127 <= cap(yyv1127) { if yyrl1127 <= cap(yyv1127) {
yyv1127 = yyv1127[:yyrl1127] yyv1127 = yyv1127[:yyrl1127]
@ -13916,7 +13916,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode
yyrg1145 := len(yyv1145) > 0 yyrg1145 := len(yyv1145) > 0
yyv21145 := yyv1145 yyv21145 := yyv1145
yyrl1145, yyrt1145 = z.DecInferLen(yyl1145, z.DecBasicHandle().MaxInitLen, 608) yyrl1145, yyrt1145 = z.DecInferLen(yyl1145, z.DecBasicHandle().MaxInitLen, 600)
if yyrt1145 { if yyrt1145 {
if yyrl1145 <= cap(yyv1145) { if yyrl1145 <= cap(yyv1145) {
yyv1145 = yyv1145[:yyrl1145] yyv1145 = yyv1145[:yyrl1145]
@ -14032,7 +14032,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder)
yyrg1151 := len(yyv1151) > 0 yyrg1151 := len(yyv1151) > 0
yyv21151 := yyv1151 yyv21151 := yyv1151
yyrl1151, yyrt1151 = z.DecInferLen(yyl1151, z.DecBasicHandle().MaxInitLen, 232) yyrl1151, yyrt1151 = z.DecInferLen(yyl1151, z.DecBasicHandle().MaxInitLen, 224)
if yyrt1151 { if yyrt1151 {
if yyrl1151 <= cap(yyv1151) { if yyrl1151 <= cap(yyv1151) {
yyv1151 = yyv1151[:yyrl1151] yyv1151 = yyv1151[:yyrl1151]
@ -14264,7 +14264,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) {
yyrg1163 := len(yyv1163) > 0 yyrg1163 := len(yyv1163) > 0
yyv21163 := yyv1163 yyv21163 := yyv1163
yyrl1163, yyrt1163 = z.DecInferLen(yyl1163, z.DecBasicHandle().MaxInitLen, 632) yyrl1163, yyrt1163 = z.DecInferLen(yyl1163, z.DecBasicHandle().MaxInitLen, 624)
if yyrt1163 { if yyrt1163 {
if yyrl1163 <= cap(yyv1163) { if yyrl1163 <= cap(yyv1163) {
yyv1163 = yyv1163[:yyrl1163] yyv1163 = yyv1163[:yyrl1163]
@ -14960,7 +14960,7 @@ func (x codecSelfer1234) decSliceClusterAutoscaler(v *[]ClusterAutoscaler, d *co
yyrg1199 := len(yyv1199) > 0 yyrg1199 := len(yyv1199) > 0
yyv21199 := yyv1199 yyv21199 := yyv1199
yyrl1199, yyrt1199 = z.DecInferLen(yyl1199, z.DecBasicHandle().MaxInitLen, 232) yyrl1199, yyrt1199 = z.DecInferLen(yyl1199, z.DecBasicHandle().MaxInitLen, 224)
if yyrt1199 { if yyrt1199 {
if yyrl1199 <= cap(yyv1199) { if yyrl1199 <= cap(yyv1199) {
yyv1199 = yyv1199[:yyrl1199] yyv1199 = yyv1199[:yyrl1199]