mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Generated code
This commit is contained in:
parent
1d592e4c28
commit
af7e7f146d
@ -13544,17 +13544,17 @@
|
||||
},
|
||||
"initialDelaySeconds": {
|
||||
"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"
|
||||
},
|
||||
"timeoutSeconds": {
|
||||
"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"
|
||||
},
|
||||
"periodSeconds": {
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"format": "int32",
|
||||
"description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."
|
||||
},
|
||||
"successThreshold": {
|
||||
|
@ -3784,17 +3784,17 @@
|
||||
},
|
||||
"initialDelaySeconds": {
|
||||
"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"
|
||||
},
|
||||
"timeoutSeconds": {
|
||||
"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"
|
||||
},
|
||||
"periodSeconds": {
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"format": "int32",
|
||||
"description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1."
|
||||
},
|
||||
"successThreshold": {
|
||||
|
@ -14302,19 +14302,19 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.InitialDelaySeconds = 0
|
||||
} else {
|
||||
x.InitialDelaySeconds = int64(r.DecodeInt(64))
|
||||
x.InitialDelaySeconds = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
}
|
||||
case "timeoutSeconds":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.TimeoutSeconds = 0
|
||||
} else {
|
||||
x.TimeoutSeconds = int64(r.DecodeInt(64))
|
||||
x.TimeoutSeconds = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
}
|
||||
case "periodSeconds":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.PeriodSeconds = 0
|
||||
} else {
|
||||
x.PeriodSeconds = int64(r.DecodeInt(64))
|
||||
x.PeriodSeconds = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
}
|
||||
case "successThreshold":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -14428,7 +14428,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.InitialDelaySeconds = 0
|
||||
} else {
|
||||
x.InitialDelaySeconds = int64(r.DecodeInt(64))
|
||||
x.InitialDelaySeconds = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
}
|
||||
yyj1028++
|
||||
if yyhl1028 {
|
||||
@ -14444,7 +14444,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.TimeoutSeconds = 0
|
||||
} else {
|
||||
x.TimeoutSeconds = int64(r.DecodeInt(64))
|
||||
x.TimeoutSeconds = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
}
|
||||
yyj1028++
|
||||
if yyhl1028 {
|
||||
@ -14460,7 +14460,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.PeriodSeconds = 0
|
||||
} else {
|
||||
x.PeriodSeconds = int64(r.DecodeInt(64))
|
||||
x.PeriodSeconds = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
}
|
||||
yyj1028++
|
||||
if yyhl1028 {
|
||||
|
@ -33,7 +33,7 @@ func autoconvert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStore
|
||||
}
|
||||
out.VolumeID = in.VolumeID
|
||||
out.FSType = in.FSType
|
||||
out.Partition = in.Partition
|
||||
out.Partition = int32(in.Partition)
|
||||
out.ReadOnly = in.ReadOnly
|
||||
return nil
|
||||
}
|
||||
@ -307,8 +307,8 @@ func autoconvert_api_ContainerPort_To_v1_ContainerPort(in *api.ContainerPort, ou
|
||||
defaulting.(func(*api.ContainerPort))(in)
|
||||
}
|
||||
out.Name = in.Name
|
||||
out.HostPort = in.HostPort
|
||||
out.ContainerPort = in.ContainerPort
|
||||
out.HostPort = int32(in.HostPort)
|
||||
out.ContainerPort = int32(in.ContainerPort)
|
||||
out.Protocol = Protocol(in.Protocol)
|
||||
out.HostIP = in.HostIP
|
||||
return nil
|
||||
@ -371,8 +371,8 @@ func autoconvert_api_ContainerStateTerminated_To_v1_ContainerStateTerminated(in
|
||||
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
|
||||
defaulting.(func(*api.ContainerStateTerminated))(in)
|
||||
}
|
||||
out.ExitCode = in.ExitCode
|
||||
out.Signal = in.Signal
|
||||
out.ExitCode = int32(in.ExitCode)
|
||||
out.Signal = int32(in.Signal)
|
||||
out.Reason = in.Reason
|
||||
out.Message = in.Message
|
||||
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
|
||||
}
|
||||
out.Ready = in.Ready
|
||||
out.RestartCount = in.RestartCount
|
||||
out.RestartCount = int32(in.RestartCount)
|
||||
out.Image = in.Image
|
||||
out.ImageID = in.ImageID
|
||||
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 {
|
||||
defaulting.(func(*api.DaemonEndpoint))(in)
|
||||
}
|
||||
out.Port = in.Port
|
||||
out.Port = int32(in.Port)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -530,7 +530,7 @@ func autoconvert_api_EndpointPort_To_v1_EndpointPort(in *api.EndpointPort, out *
|
||||
defaulting.(func(*api.EndpointPort))(in)
|
||||
}
|
||||
out.Name = in.Name
|
||||
out.Port = in.Port
|
||||
out.Port = int32(in.Port)
|
||||
out.Protocol = Protocol(in.Protocol)
|
||||
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 {
|
||||
return err
|
||||
}
|
||||
out.Count = in.Count
|
||||
out.Count = int32(in.Count)
|
||||
out.Type = in.Type
|
||||
return nil
|
||||
}
|
||||
@ -779,8 +779,8 @@ func autoconvert_api_FCVolumeSource_To_v1_FCVolumeSource(in *api.FCVolumeSource,
|
||||
out.TargetWWNs = nil
|
||||
}
|
||||
if in.Lun != nil {
|
||||
out.Lun = new(int)
|
||||
*out.Lun = *in.Lun
|
||||
out.Lun = new(int32)
|
||||
*out.Lun = int32(*in.Lun)
|
||||
} else {
|
||||
out.Lun = nil
|
||||
}
|
||||
@ -811,7 +811,7 @@ func autoconvert_api_GCEPersistentDiskVolumeSource_To_v1_GCEPersistentDiskVolume
|
||||
}
|
||||
out.PDName = in.PDName
|
||||
out.FSType = in.FSType
|
||||
out.Partition = in.Partition
|
||||
out.Partition = int32(in.Partition)
|
||||
out.ReadOnly = in.ReadOnly
|
||||
return nil
|
||||
}
|
||||
@ -917,7 +917,7 @@ func autoconvert_api_ISCSIVolumeSource_To_v1_ISCSIVolumeSource(in *api.ISCSIVolu
|
||||
}
|
||||
out.TargetPortal = in.TargetPortal
|
||||
out.IQN = in.IQN
|
||||
out.Lun = in.Lun
|
||||
out.Lun = int32(in.Lun)
|
||||
out.FSType = in.FSType
|
||||
out.ReadOnly = in.ReadOnly
|
||||
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 {
|
||||
return err
|
||||
}
|
||||
out.InitialDelaySeconds = in.InitialDelaySeconds
|
||||
out.TimeoutSeconds = in.TimeoutSeconds
|
||||
out.PeriodSeconds = in.PeriodSeconds
|
||||
out.SuccessThreshold = in.SuccessThreshold
|
||||
out.FailureThreshold = in.FailureThreshold
|
||||
out.InitialDelaySeconds = int32(in.InitialDelaySeconds)
|
||||
out.TimeoutSeconds = int32(in.TimeoutSeconds)
|
||||
out.PeriodSeconds = int32(in.PeriodSeconds)
|
||||
out.SuccessThreshold = int32(in.SuccessThreshold)
|
||||
out.FailureThreshold = int32(in.FailureThreshold)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -2361,7 +2361,7 @@ func autoconvert_api_ReplicationControllerStatus_To_v1_ReplicationControllerStat
|
||||
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
|
||||
defaulting.(func(*api.ReplicationControllerStatus))(in)
|
||||
}
|
||||
out.Replicas = in.Replicas
|
||||
out.Replicas = int32(in.Replicas)
|
||||
out.ObservedGeneration = in.ObservedGeneration
|
||||
return nil
|
||||
}
|
||||
@ -2779,11 +2779,11 @@ func autoconvert_api_ServicePort_To_v1_ServicePort(in *api.ServicePort, out *Ser
|
||||
}
|
||||
out.Name = in.Name
|
||||
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 {
|
||||
return err
|
||||
}
|
||||
out.NodePort = in.NodePort
|
||||
out.NodePort = int32(in.NodePort)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -3058,7 +3058,7 @@ func autoconvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStore
|
||||
}
|
||||
out.VolumeID = in.VolumeID
|
||||
out.FSType = in.FSType
|
||||
out.Partition = in.Partition
|
||||
out.Partition = int(in.Partition)
|
||||
out.ReadOnly = in.ReadOnly
|
||||
return nil
|
||||
}
|
||||
@ -3332,8 +3332,8 @@ func autoconvert_v1_ContainerPort_To_api_ContainerPort(in *ContainerPort, out *a
|
||||
defaulting.(func(*ContainerPort))(in)
|
||||
}
|
||||
out.Name = in.Name
|
||||
out.HostPort = in.HostPort
|
||||
out.ContainerPort = in.ContainerPort
|
||||
out.HostPort = int(in.HostPort)
|
||||
out.ContainerPort = int(in.ContainerPort)
|
||||
out.Protocol = api.Protocol(in.Protocol)
|
||||
out.HostIP = in.HostIP
|
||||
return nil
|
||||
@ -3396,8 +3396,8 @@ func autoconvert_v1_ContainerStateTerminated_To_api_ContainerStateTerminated(in
|
||||
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
|
||||
defaulting.(func(*ContainerStateTerminated))(in)
|
||||
}
|
||||
out.ExitCode = in.ExitCode
|
||||
out.Signal = in.Signal
|
||||
out.ExitCode = int(in.ExitCode)
|
||||
out.Signal = int(in.Signal)
|
||||
out.Reason = in.Reason
|
||||
out.Message = in.Message
|
||||
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
|
||||
}
|
||||
out.Ready = in.Ready
|
||||
out.RestartCount = in.RestartCount
|
||||
out.RestartCount = int(in.RestartCount)
|
||||
out.Image = in.Image
|
||||
out.ImageID = in.ImageID
|
||||
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 {
|
||||
defaulting.(func(*DaemonEndpoint))(in)
|
||||
}
|
||||
out.Port = in.Port
|
||||
out.Port = int(in.Port)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -3555,7 +3555,7 @@ func autoconvert_v1_EndpointPort_To_api_EndpointPort(in *EndpointPort, out *api.
|
||||
defaulting.(func(*EndpointPort))(in)
|
||||
}
|
||||
out.Name = in.Name
|
||||
out.Port = in.Port
|
||||
out.Port = int(in.Port)
|
||||
out.Protocol = api.Protocol(in.Protocol)
|
||||
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 {
|
||||
return err
|
||||
}
|
||||
out.Count = in.Count
|
||||
out.Count = int(in.Count)
|
||||
out.Type = in.Type
|
||||
return nil
|
||||
}
|
||||
@ -3805,7 +3805,7 @@ func autoconvert_v1_FCVolumeSource_To_api_FCVolumeSource(in *FCVolumeSource, out
|
||||
}
|
||||
if in.Lun != nil {
|
||||
out.Lun = new(int)
|
||||
*out.Lun = *in.Lun
|
||||
*out.Lun = int(*in.Lun)
|
||||
} else {
|
||||
out.Lun = nil
|
||||
}
|
||||
@ -3836,7 +3836,7 @@ func autoconvert_v1_GCEPersistentDiskVolumeSource_To_api_GCEPersistentDiskVolume
|
||||
}
|
||||
out.PDName = in.PDName
|
||||
out.FSType = in.FSType
|
||||
out.Partition = in.Partition
|
||||
out.Partition = int(in.Partition)
|
||||
out.ReadOnly = in.ReadOnly
|
||||
return nil
|
||||
}
|
||||
@ -3942,7 +3942,7 @@ func autoconvert_v1_ISCSIVolumeSource_To_api_ISCSIVolumeSource(in *ISCSIVolumeSo
|
||||
}
|
||||
out.TargetPortal = in.TargetPortal
|
||||
out.IQN = in.IQN
|
||||
out.Lun = in.Lun
|
||||
out.Lun = int(in.Lun)
|
||||
out.FSType = in.FSType
|
||||
out.ReadOnly = in.ReadOnly
|
||||
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 {
|
||||
return err
|
||||
}
|
||||
out.InitialDelaySeconds = in.InitialDelaySeconds
|
||||
out.TimeoutSeconds = in.TimeoutSeconds
|
||||
out.PeriodSeconds = in.PeriodSeconds
|
||||
out.SuccessThreshold = in.SuccessThreshold
|
||||
out.FailureThreshold = in.FailureThreshold
|
||||
out.InitialDelaySeconds = int(in.InitialDelaySeconds)
|
||||
out.TimeoutSeconds = int(in.TimeoutSeconds)
|
||||
out.PeriodSeconds = int(in.PeriodSeconds)
|
||||
out.SuccessThreshold = int(in.SuccessThreshold)
|
||||
out.FailureThreshold = int(in.FailureThreshold)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -5416,7 +5416,7 @@ func autoconvert_v1_ReplicationControllerStatus_To_api_ReplicationControllerStat
|
||||
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
|
||||
defaulting.(func(*ReplicationControllerStatus))(in)
|
||||
}
|
||||
out.Replicas = in.Replicas
|
||||
out.Replicas = int(in.Replicas)
|
||||
out.ObservedGeneration = in.ObservedGeneration
|
||||
return nil
|
||||
}
|
||||
@ -5834,11 +5834,11 @@ func autoconvert_v1_ServicePort_To_api_ServicePort(in *ServicePort, out *api.Ser
|
||||
}
|
||||
out.Name = in.Name
|
||||
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 {
|
||||
return err
|
||||
}
|
||||
out.NodePort = in.NodePort
|
||||
out.NodePort = int(in.NodePort)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -597,7 +597,7 @@ func deepCopy_v1_FCVolumeSource(in FCVolumeSource, out *FCVolumeSource, c *conve
|
||||
out.TargetWWNs = nil
|
||||
}
|
||||
if in.Lun != nil {
|
||||
out.Lun = new(int)
|
||||
out.Lun = new(int32)
|
||||
*out.Lun = *in.Lun
|
||||
} else {
|
||||
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 {
|
||||
if in.Replicas != nil {
|
||||
out.Replicas = new(int)
|
||||
out.Replicas = new(int32)
|
||||
*out.Replicas = *in.Replicas
|
||||
} else {
|
||||
out.Replicas = nil
|
||||
|
@ -9838,7 +9838,7 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Partition = 0
|
||||
} else {
|
||||
x.Partition = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Partition = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "readOnly":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -9906,7 +9906,7 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Partition = 0
|
||||
} else {
|
||||
x.Partition = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Partition = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj674++
|
||||
if yyhl674 {
|
||||
@ -10137,7 +10137,7 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Partition = 0
|
||||
} else {
|
||||
x.Partition = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Partition = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "readOnly":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -10205,7 +10205,7 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Partition = 0
|
||||
} else {
|
||||
x.Partition = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Partition = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj700++
|
||||
if yyhl700 {
|
||||
@ -11064,7 +11064,7 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder)
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Lun = 0
|
||||
} else {
|
||||
x.Lun = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Lun = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "fsType":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -11138,7 +11138,7 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Lun = 0
|
||||
} else {
|
||||
x.Lun = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Lun = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj778++
|
||||
if yyhl778 {
|
||||
@ -11399,13 +11399,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
}
|
||||
} else {
|
||||
if x.Lun == nil {
|
||||
x.Lun = new(int)
|
||||
x.Lun = new(int32)
|
||||
}
|
||||
yym806 := z.DecBinary()
|
||||
_ = yym806
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.Lun)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.Lun)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
case "fsType":
|
||||
@ -11473,13 +11473,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
}
|
||||
} else {
|
||||
if x.Lun == nil {
|
||||
x.Lun = new(int)
|
||||
x.Lun = new(int32)
|
||||
}
|
||||
yym813 := z.DecBinary()
|
||||
_ = yym813
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.Lun)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.Lun)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
yyj809++
|
||||
@ -11744,13 +11744,13 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.HostPort = 0
|
||||
} else {
|
||||
x.HostPort = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.HostPort = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "containerPort":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.ContainerPort = 0
|
||||
} else {
|
||||
x.ContainerPort = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.ContainerPort = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "protocol":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -11808,7 +11808,7 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.HostPort = 0
|
||||
} else {
|
||||
x.HostPort = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.HostPort = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj839++
|
||||
if yyhl839 {
|
||||
@ -11824,7 +11824,7 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.ContainerPort = 0
|
||||
} else {
|
||||
x.ContainerPort = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.ContainerPort = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj839++
|
||||
if yyhl839 {
|
||||
@ -13877,31 +13877,31 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.InitialDelaySeconds = 0
|
||||
} else {
|
||||
x.InitialDelaySeconds = int64(r.DecodeInt(64))
|
||||
x.InitialDelaySeconds = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "timeoutSeconds":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.TimeoutSeconds = 0
|
||||
} else {
|
||||
x.TimeoutSeconds = int64(r.DecodeInt(64))
|
||||
x.TimeoutSeconds = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "periodSeconds":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.PeriodSeconds = 0
|
||||
} else {
|
||||
x.PeriodSeconds = int64(r.DecodeInt(64))
|
||||
x.PeriodSeconds = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "successThreshold":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.SuccessThreshold = 0
|
||||
} else {
|
||||
x.SuccessThreshold = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.SuccessThreshold = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "failureThreshold":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.FailureThreshold = 0
|
||||
} else {
|
||||
x.FailureThreshold = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.FailureThreshold = int32(r.DecodeInt(32))
|
||||
}
|
||||
default:
|
||||
z.DecStructFieldNotFound(-1, yys990)
|
||||
@ -14003,7 +14003,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.InitialDelaySeconds = 0
|
||||
} else {
|
||||
x.InitialDelaySeconds = int64(r.DecodeInt(64))
|
||||
x.InitialDelaySeconds = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj999++
|
||||
if yyhl999 {
|
||||
@ -14019,7 +14019,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.TimeoutSeconds = 0
|
||||
} else {
|
||||
x.TimeoutSeconds = int64(r.DecodeInt(64))
|
||||
x.TimeoutSeconds = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj999++
|
||||
if yyhl999 {
|
||||
@ -14035,7 +14035,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.PeriodSeconds = 0
|
||||
} else {
|
||||
x.PeriodSeconds = int64(r.DecodeInt(64))
|
||||
x.PeriodSeconds = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj999++
|
||||
if yyhl999 {
|
||||
@ -14051,7 +14051,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.SuccessThreshold = 0
|
||||
} else {
|
||||
x.SuccessThreshold = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.SuccessThreshold = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj999++
|
||||
if yyhl999 {
|
||||
@ -14067,7 +14067,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.FailureThreshold = 0
|
||||
} else {
|
||||
x.FailureThreshold = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.FailureThreshold = int32(r.DecodeInt(32))
|
||||
}
|
||||
for {
|
||||
yyj999++
|
||||
@ -16967,13 +16967,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De
|
||||
if r.TryDecodeAsNil() {
|
||||
x.ExitCode = 0
|
||||
} else {
|
||||
x.ExitCode = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.ExitCode = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "signal":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Signal = 0
|
||||
} else {
|
||||
x.Signal = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Signal = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "reason":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -17055,7 +17055,7 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978.
|
||||
if r.TryDecodeAsNil() {
|
||||
x.ExitCode = 0
|
||||
} else {
|
||||
x.ExitCode = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.ExitCode = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj1239++
|
||||
if yyhl1239 {
|
||||
@ -17071,7 +17071,7 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978.
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Signal = 0
|
||||
} else {
|
||||
x.Signal = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Signal = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj1239++
|
||||
if yyhl1239 {
|
||||
@ -17758,7 +17758,7 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.RestartCount = 0
|
||||
} else {
|
||||
x.RestartCount = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.RestartCount = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "image":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -17872,7 +17872,7 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
|
||||
if r.TryDecodeAsNil() {
|
||||
x.RestartCount = 0
|
||||
} else {
|
||||
x.RestartCount = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.RestartCount = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj1301++
|
||||
if yyhl1301 {
|
||||
@ -22539,13 +22539,13 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D
|
||||
}
|
||||
} else {
|
||||
if x.Replicas == nil {
|
||||
x.Replicas = new(int)
|
||||
x.Replicas = new(int32)
|
||||
}
|
||||
yym1720 := z.DecBinary()
|
||||
_ = yym1720
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.Replicas)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.Replicas)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
case "selector":
|
||||
@ -22602,13 +22602,13 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978
|
||||
}
|
||||
} else {
|
||||
if x.Replicas == nil {
|
||||
x.Replicas = new(int)
|
||||
x.Replicas = new(int32)
|
||||
}
|
||||
yym1726 := z.DecBinary()
|
||||
_ = yym1726
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.Replicas)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.Replicas)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
yyj1724++
|
||||
@ -22810,7 +22810,7 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Replicas = 0
|
||||
} else {
|
||||
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Replicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "observedGeneration":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -22846,7 +22846,7 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Replicas = 0
|
||||
} else {
|
||||
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Replicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj1743++
|
||||
if yyhl1743 {
|
||||
@ -24974,7 +24974,7 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Port = 0
|
||||
} else {
|
||||
x.Port = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Port = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "targetPort":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -24995,7 +24995,7 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.NodePort = 0
|
||||
} else {
|
||||
x.NodePort = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.NodePort = int32(r.DecodeInt(32))
|
||||
}
|
||||
default:
|
||||
z.DecStructFieldNotFound(-1, yys1922)
|
||||
@ -25057,7 +25057,7 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Port = 0
|
||||
} else {
|
||||
x.Port = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Port = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj1929++
|
||||
if yyhl1929 {
|
||||
@ -25098,7 +25098,7 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.NodePort = 0
|
||||
} else {
|
||||
x.NodePort = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.NodePort = int32(r.DecodeInt(32))
|
||||
}
|
||||
for {
|
||||
yyj1929++
|
||||
@ -27567,7 +27567,7 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Port = 0
|
||||
} else {
|
||||
x.Port = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Port = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "protocol":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -27619,7 +27619,7 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Port = 0
|
||||
} else {
|
||||
x.Port = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Port = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj2150++
|
||||
if yyhl2150 {
|
||||
@ -28424,7 +28424,7 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Port = 0
|
||||
} else {
|
||||
x.Port = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Port = int32(r.DecodeInt(32))
|
||||
}
|
||||
default:
|
||||
z.DecStructFieldNotFound(-1, yys2219)
|
||||
@ -28454,7 +28454,7 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Port = 0
|
||||
} else {
|
||||
x.Port = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Port = int32(r.DecodeInt(32))
|
||||
}
|
||||
for {
|
||||
yyj2221++
|
||||
@ -36653,7 +36653,7 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Count = 0
|
||||
} else {
|
||||
x.Count = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Count = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "type":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -36858,7 +36858,7 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Count = 0
|
||||
} else {
|
||||
x.Count = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Count = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj2952++
|
||||
if yyhl2952 {
|
||||
@ -43625,7 +43625,7 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978.
|
||||
|
||||
yyrg3511 := len(yyv3511) > 0
|
||||
yyv23511 := yyv3511
|
||||
yyrl3511, yyrt3511 = z.DecInferLen(yyl3511, z.DecBasicHandle().MaxInitLen, 64)
|
||||
yyrl3511, yyrt3511 = z.DecInferLen(yyl3511, z.DecBasicHandle().MaxInitLen, 56)
|
||||
if yyrt3511 {
|
||||
if yyrl3511 <= cap(yyv3511) {
|
||||
yyv3511 = yyv3511[:yyrl3511]
|
||||
@ -44437,7 +44437,7 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1
|
||||
|
||||
yyrg3553 := len(yyv3553) > 0
|
||||
yyv23553 := yyv3553
|
||||
yyrl3553, yyrt3553 = z.DecInferLen(yyl3553, z.DecBasicHandle().MaxInitLen, 128)
|
||||
yyrl3553, yyrt3553 = z.DecInferLen(yyl3553, z.DecBasicHandle().MaxInitLen, 120)
|
||||
if yyrt3553 {
|
||||
if yyrl3553 <= cap(yyv3553) {
|
||||
yyv3553 = yyv3553[:yyrl3553]
|
||||
|
@ -36,24 +36,24 @@ func autoconvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyCon
|
||||
out.BindAddress = in.BindAddress
|
||||
out.CleanupIPTables = in.CleanupIPTables
|
||||
out.HealthzBindAddress = in.HealthzBindAddress
|
||||
out.HealthzPort = in.HealthzPort
|
||||
out.HealthzPort = int32(in.HealthzPort)
|
||||
out.HostnameOverride = in.HostnameOverride
|
||||
out.IPTablesSyncePeriodSeconds = in.IPTablesSyncePeriodSeconds
|
||||
out.KubeAPIBurst = in.KubeAPIBurst
|
||||
out.KubeAPIQPS = in.KubeAPIQPS
|
||||
out.IPTablesSyncePeriodSeconds = int32(in.IPTablesSyncePeriodSeconds)
|
||||
out.KubeAPIBurst = int32(in.KubeAPIBurst)
|
||||
out.KubeAPIQPS = int32(in.KubeAPIQPS)
|
||||
out.KubeconfigPath = in.KubeconfigPath
|
||||
out.MasqueradeAll = in.MasqueradeAll
|
||||
out.Master = in.Master
|
||||
if in.OOMScoreAdj != nil {
|
||||
out.OOMScoreAdj = new(int)
|
||||
*out.OOMScoreAdj = *in.OOMScoreAdj
|
||||
out.OOMScoreAdj = new(int32)
|
||||
*out.OOMScoreAdj = int32(*in.OOMScoreAdj)
|
||||
} else {
|
||||
out.OOMScoreAdj = nil
|
||||
}
|
||||
out.Mode = ProxyMode(in.Mode)
|
||||
out.PortRange = in.PortRange
|
||||
out.ResourceContainer = in.ResourceContainer
|
||||
out.UDPTimeoutMilliseconds = in.UDPTimeoutMilliseconds
|
||||
out.UDPTimeoutMilliseconds = int32(in.UDPTimeoutMilliseconds)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -71,24 +71,24 @@ func autoconvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyCon
|
||||
out.BindAddress = in.BindAddress
|
||||
out.CleanupIPTables = in.CleanupIPTables
|
||||
out.HealthzBindAddress = in.HealthzBindAddress
|
||||
out.HealthzPort = in.HealthzPort
|
||||
out.HealthzPort = int(in.HealthzPort)
|
||||
out.HostnameOverride = in.HostnameOverride
|
||||
out.IPTablesSyncePeriodSeconds = in.IPTablesSyncePeriodSeconds
|
||||
out.KubeAPIBurst = in.KubeAPIBurst
|
||||
out.KubeAPIQPS = in.KubeAPIQPS
|
||||
out.IPTablesSyncePeriodSeconds = int(in.IPTablesSyncePeriodSeconds)
|
||||
out.KubeAPIBurst = int(in.KubeAPIBurst)
|
||||
out.KubeAPIQPS = int(in.KubeAPIQPS)
|
||||
out.KubeconfigPath = in.KubeconfigPath
|
||||
out.MasqueradeAll = in.MasqueradeAll
|
||||
out.Master = in.Master
|
||||
if in.OOMScoreAdj != nil {
|
||||
out.OOMScoreAdj = new(int)
|
||||
*out.OOMScoreAdj = *in.OOMScoreAdj
|
||||
*out.OOMScoreAdj = int(*in.OOMScoreAdj)
|
||||
} else {
|
||||
out.OOMScoreAdj = nil
|
||||
}
|
||||
out.Mode = componentconfig.ProxyMode(in.Mode)
|
||||
out.PortRange = in.PortRange
|
||||
out.ResourceContainer = in.ResourceContainer
|
||||
out.UDPTimeoutMilliseconds = in.UDPTimeoutMilliseconds
|
||||
out.UDPTimeoutMilliseconds = int(in.UDPTimeoutMilliseconds)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ func deepCopy_v1alpha1_KubeProxyConfiguration(in KubeProxyConfiguration, out *Ku
|
||||
out.MasqueradeAll = in.MasqueradeAll
|
||||
out.Master = in.Master
|
||||
if in.OOMScoreAdj != nil {
|
||||
out.OOMScoreAdj = new(int)
|
||||
out.OOMScoreAdj = new(int32)
|
||||
*out.OOMScoreAdj = *in.OOMScoreAdj
|
||||
} else {
|
||||
out.OOMScoreAdj = nil
|
||||
|
@ -546,7 +546,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
|
||||
if r.TryDecodeAsNil() {
|
||||
x.HealthzPort = 0
|
||||
} else {
|
||||
x.HealthzPort = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.HealthzPort = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "hostnameOverride":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -558,19 +558,19 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
|
||||
if r.TryDecodeAsNil() {
|
||||
x.IPTablesSyncePeriodSeconds = 0
|
||||
} else {
|
||||
x.IPTablesSyncePeriodSeconds = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.IPTablesSyncePeriodSeconds = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "kubeAPIBurst":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.KubeAPIBurst = 0
|
||||
} else {
|
||||
x.KubeAPIBurst = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.KubeAPIBurst = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "kubeAPIQPS":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.KubeAPIQPS = 0
|
||||
} else {
|
||||
x.KubeAPIQPS = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.KubeAPIQPS = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "kubeconfigPath":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -597,13 +597,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
|
||||
}
|
||||
} else {
|
||||
if x.OOMScoreAdj == nil {
|
||||
x.OOMScoreAdj = new(int)
|
||||
x.OOMScoreAdj = new(int32)
|
||||
}
|
||||
yym74 := z.DecBinary()
|
||||
_ = yym74
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.OOMScoreAdj)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.OOMScoreAdj)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
case "mode":
|
||||
@ -628,7 +628,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
|
||||
if r.TryDecodeAsNil() {
|
||||
x.UDPTimeoutMilliseconds = 0
|
||||
} else {
|
||||
x.UDPTimeoutMilliseconds = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.UDPTimeoutMilliseconds = int32(r.DecodeInt(32))
|
||||
}
|
||||
default:
|
||||
z.DecStructFieldNotFound(-1, yys59)
|
||||
@ -738,7 +738,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
|
||||
if r.TryDecodeAsNil() {
|
||||
x.HealthzPort = 0
|
||||
} else {
|
||||
x.HealthzPort = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.HealthzPort = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj79++
|
||||
if yyhl79 {
|
||||
@ -770,7 +770,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
|
||||
if r.TryDecodeAsNil() {
|
||||
x.IPTablesSyncePeriodSeconds = 0
|
||||
} else {
|
||||
x.IPTablesSyncePeriodSeconds = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.IPTablesSyncePeriodSeconds = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj79++
|
||||
if yyhl79 {
|
||||
@ -786,7 +786,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
|
||||
if r.TryDecodeAsNil() {
|
||||
x.KubeAPIBurst = 0
|
||||
} else {
|
||||
x.KubeAPIBurst = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.KubeAPIBurst = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj79++
|
||||
if yyhl79 {
|
||||
@ -802,7 +802,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
|
||||
if r.TryDecodeAsNil() {
|
||||
x.KubeAPIQPS = 0
|
||||
} else {
|
||||
x.KubeAPIQPS = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.KubeAPIQPS = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj79++
|
||||
if yyhl79 {
|
||||
@ -869,13 +869,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
|
||||
}
|
||||
} else {
|
||||
if x.OOMScoreAdj == nil {
|
||||
x.OOMScoreAdj = new(int)
|
||||
x.OOMScoreAdj = new(int32)
|
||||
}
|
||||
yym94 := z.DecBinary()
|
||||
_ = yym94
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.OOMScoreAdj)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.OOMScoreAdj)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
yyj79++
|
||||
@ -940,7 +940,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
|
||||
if r.TryDecodeAsNil() {
|
||||
x.UDPTimeoutMilliseconds = 0
|
||||
} else {
|
||||
x.UDPTimeoutMilliseconds = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.UDPTimeoutMilliseconds = int32(r.DecodeInt(32))
|
||||
}
|
||||
for {
|
||||
yyj79++
|
||||
|
@ -34,7 +34,7 @@ func autoconvert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStore
|
||||
}
|
||||
out.VolumeID = in.VolumeID
|
||||
out.FSType = in.FSType
|
||||
out.Partition = in.Partition
|
||||
out.Partition = int32(in.Partition)
|
||||
out.ReadOnly = in.ReadOnly
|
||||
return nil
|
||||
}
|
||||
@ -219,8 +219,8 @@ func autoconvert_api_ContainerPort_To_v1_ContainerPort(in *api.ContainerPort, ou
|
||||
defaulting.(func(*api.ContainerPort))(in)
|
||||
}
|
||||
out.Name = in.Name
|
||||
out.HostPort = in.HostPort
|
||||
out.ContainerPort = in.ContainerPort
|
||||
out.HostPort = int32(in.HostPort)
|
||||
out.ContainerPort = int32(in.ContainerPort)
|
||||
out.Protocol = v1.Protocol(in.Protocol)
|
||||
out.HostIP = in.HostIP
|
||||
return nil
|
||||
@ -350,8 +350,8 @@ func autoconvert_api_FCVolumeSource_To_v1_FCVolumeSource(in *api.FCVolumeSource,
|
||||
out.TargetWWNs = nil
|
||||
}
|
||||
if in.Lun != nil {
|
||||
out.Lun = new(int)
|
||||
*out.Lun = *in.Lun
|
||||
out.Lun = new(int32)
|
||||
*out.Lun = int32(*in.Lun)
|
||||
} else {
|
||||
out.Lun = nil
|
||||
}
|
||||
@ -382,7 +382,7 @@ func autoconvert_api_GCEPersistentDiskVolumeSource_To_v1_GCEPersistentDiskVolume
|
||||
}
|
||||
out.PDName = in.PDName
|
||||
out.FSType = in.FSType
|
||||
out.Partition = in.Partition
|
||||
out.Partition = int32(in.Partition)
|
||||
out.ReadOnly = in.ReadOnly
|
||||
return nil
|
||||
}
|
||||
@ -488,7 +488,7 @@ func autoconvert_api_ISCSIVolumeSource_To_v1_ISCSIVolumeSource(in *api.ISCSIVolu
|
||||
}
|
||||
out.TargetPortal = in.TargetPortal
|
||||
out.IQN = in.IQN
|
||||
out.Lun = in.Lun
|
||||
out.Lun = int32(in.Lun)
|
||||
out.FSType = in.FSType
|
||||
out.ReadOnly = in.ReadOnly
|
||||
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 {
|
||||
return err
|
||||
}
|
||||
out.InitialDelaySeconds = in.InitialDelaySeconds
|
||||
out.TimeoutSeconds = in.TimeoutSeconds
|
||||
out.PeriodSeconds = in.PeriodSeconds
|
||||
out.SuccessThreshold = in.SuccessThreshold
|
||||
out.FailureThreshold = in.FailureThreshold
|
||||
out.InitialDelaySeconds = int32(in.InitialDelaySeconds)
|
||||
out.TimeoutSeconds = int32(in.TimeoutSeconds)
|
||||
out.PeriodSeconds = int32(in.PeriodSeconds)
|
||||
out.SuccessThreshold = int32(in.SuccessThreshold)
|
||||
out.FailureThreshold = int32(in.FailureThreshold)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -1093,7 +1093,7 @@ func autoconvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStore
|
||||
}
|
||||
out.VolumeID = in.VolumeID
|
||||
out.FSType = in.FSType
|
||||
out.Partition = in.Partition
|
||||
out.Partition = int(in.Partition)
|
||||
out.ReadOnly = in.ReadOnly
|
||||
return nil
|
||||
}
|
||||
@ -1278,8 +1278,8 @@ func autoconvert_v1_ContainerPort_To_api_ContainerPort(in *v1.ContainerPort, out
|
||||
defaulting.(func(*v1.ContainerPort))(in)
|
||||
}
|
||||
out.Name = in.Name
|
||||
out.HostPort = in.HostPort
|
||||
out.ContainerPort = in.ContainerPort
|
||||
out.HostPort = int(in.HostPort)
|
||||
out.ContainerPort = int(in.ContainerPort)
|
||||
out.Protocol = api.Protocol(in.Protocol)
|
||||
out.HostIP = in.HostIP
|
||||
return nil
|
||||
@ -1410,7 +1410,7 @@ func autoconvert_v1_FCVolumeSource_To_api_FCVolumeSource(in *v1.FCVolumeSource,
|
||||
}
|
||||
if in.Lun != nil {
|
||||
out.Lun = new(int)
|
||||
*out.Lun = *in.Lun
|
||||
*out.Lun = int(*in.Lun)
|
||||
} else {
|
||||
out.Lun = nil
|
||||
}
|
||||
@ -1441,7 +1441,7 @@ func autoconvert_v1_GCEPersistentDiskVolumeSource_To_api_GCEPersistentDiskVolume
|
||||
}
|
||||
out.PDName = in.PDName
|
||||
out.FSType = in.FSType
|
||||
out.Partition = in.Partition
|
||||
out.Partition = int(in.Partition)
|
||||
out.ReadOnly = in.ReadOnly
|
||||
return nil
|
||||
}
|
||||
@ -1547,7 +1547,7 @@ func autoconvert_v1_ISCSIVolumeSource_To_api_ISCSIVolumeSource(in *v1.ISCSIVolum
|
||||
}
|
||||
out.TargetPortal = in.TargetPortal
|
||||
out.IQN = in.IQN
|
||||
out.Lun = in.Lun
|
||||
out.Lun = int(in.Lun)
|
||||
out.FSType = in.FSType
|
||||
out.ReadOnly = in.ReadOnly
|
||||
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 {
|
||||
return err
|
||||
}
|
||||
out.InitialDelaySeconds = in.InitialDelaySeconds
|
||||
out.TimeoutSeconds = in.TimeoutSeconds
|
||||
out.PeriodSeconds = in.PeriodSeconds
|
||||
out.SuccessThreshold = in.SuccessThreshold
|
||||
out.FailureThreshold = in.FailureThreshold
|
||||
out.InitialDelaySeconds = int(in.InitialDelaySeconds)
|
||||
out.TimeoutSeconds = int(in.TimeoutSeconds)
|
||||
out.PeriodSeconds = int(in.PeriodSeconds)
|
||||
out.SuccessThreshold = int(in.SuccessThreshold)
|
||||
out.FailureThreshold = int(in.FailureThreshold)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -2167,7 +2167,7 @@ func autoconvert_extensions_CPUTargetUtilization_To_v1beta1_CPUTargetUtilization
|
||||
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
|
||||
defaulting.(func(*extensions.CPUTargetUtilization))(in)
|
||||
}
|
||||
out.TargetPercentage = in.TargetPercentage
|
||||
out.TargetPercentage = int32(in.TargetPercentage)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -2226,8 +2226,8 @@ func autoconvert_extensions_ClusterAutoscalerSpec_To_v1beta1_ClusterAutoscalerSp
|
||||
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
|
||||
defaulting.(func(*extensions.ClusterAutoscalerSpec))(in)
|
||||
}
|
||||
out.MinNodes = in.MinNodes
|
||||
out.MaxNodes = in.MaxNodes
|
||||
out.MinNodes = int32(in.MinNodes)
|
||||
out.MaxNodes = int32(in.MaxNodes)
|
||||
if in.TargetUtilization != nil {
|
||||
out.TargetUtilization = make([]NodeUtilization, len(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 {
|
||||
defaulting.(func(*extensions.DaemonSetStatus))(in)
|
||||
}
|
||||
out.CurrentNumberScheduled = in.CurrentNumberScheduled
|
||||
out.NumberMisscheduled = in.NumberMisscheduled
|
||||
out.DesiredNumberScheduled = in.DesiredNumberScheduled
|
||||
out.CurrentNumberScheduled = int32(in.CurrentNumberScheduled)
|
||||
out.NumberMisscheduled = int32(in.NumberMisscheduled)
|
||||
out.DesiredNumberScheduled = int32(in.DesiredNumberScheduled)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -2417,8 +2417,8 @@ func autoconvert_extensions_DeploymentStatus_To_v1beta1_DeploymentStatus(in *ext
|
||||
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
|
||||
defaulting.(func(*extensions.DeploymentStatus))(in)
|
||||
}
|
||||
out.Replicas = in.Replicas
|
||||
out.UpdatedReplicas = in.UpdatedReplicas
|
||||
out.Replicas = int32(in.Replicas)
|
||||
out.UpdatedReplicas = int32(in.UpdatedReplicas)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -2536,12 +2536,12 @@ func autoconvert_extensions_HorizontalPodAutoscalerSpec_To_v1beta1_HorizontalPod
|
||||
return err
|
||||
}
|
||||
if in.MinReplicas != nil {
|
||||
out.MinReplicas = new(int)
|
||||
*out.MinReplicas = *in.MinReplicas
|
||||
out.MinReplicas = new(int32)
|
||||
*out.MinReplicas = int32(*in.MinReplicas)
|
||||
} else {
|
||||
out.MinReplicas = nil
|
||||
}
|
||||
out.MaxReplicas = in.MaxReplicas
|
||||
out.MaxReplicas = int32(in.MaxReplicas)
|
||||
if in.CPUUtilization != nil {
|
||||
out.CPUUtilization = new(CPUTargetUtilization)
|
||||
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 {
|
||||
out.LastScaleTime = nil
|
||||
}
|
||||
out.CurrentReplicas = in.CurrentReplicas
|
||||
out.DesiredReplicas = in.DesiredReplicas
|
||||
out.CurrentReplicas = int32(in.CurrentReplicas)
|
||||
out.DesiredReplicas = int32(in.DesiredReplicas)
|
||||
if in.CurrentCPUUtilizationPercentage != nil {
|
||||
out.CurrentCPUUtilizationPercentage = new(int)
|
||||
*out.CurrentCPUUtilizationPercentage = *in.CurrentCPUUtilizationPercentage
|
||||
out.CurrentCPUUtilizationPercentage = new(int32)
|
||||
*out.CurrentCPUUtilizationPercentage = int32(*in.CurrentCPUUtilizationPercentage)
|
||||
} else {
|
||||
out.CurrentCPUUtilizationPercentage = nil
|
||||
}
|
||||
@ -2807,14 +2807,14 @@ func autoconvert_extensions_JobSpec_To_v1beta1_JobSpec(in *extensions.JobSpec, o
|
||||
defaulting.(func(*extensions.JobSpec))(in)
|
||||
}
|
||||
if in.Parallelism != nil {
|
||||
out.Parallelism = new(int)
|
||||
*out.Parallelism = *in.Parallelism
|
||||
out.Parallelism = new(int32)
|
||||
*out.Parallelism = int32(*in.Parallelism)
|
||||
} else {
|
||||
out.Parallelism = nil
|
||||
}
|
||||
if in.Completions != nil {
|
||||
out.Completions = new(int)
|
||||
*out.Completions = *in.Completions
|
||||
out.Completions = new(int32)
|
||||
*out.Completions = int32(*in.Completions)
|
||||
} else {
|
||||
out.Completions = nil
|
||||
}
|
||||
@ -2864,9 +2864,9 @@ func autoconvert_extensions_JobStatus_To_v1beta1_JobStatus(in *extensions.JobSta
|
||||
} else {
|
||||
out.CompletionTime = nil
|
||||
}
|
||||
out.Active = in.Active
|
||||
out.Succeeded = in.Succeeded
|
||||
out.Failed = in.Failed
|
||||
out.Active = int32(in.Active)
|
||||
out.Succeeded = int32(in.Succeeded)
|
||||
out.Failed = int32(in.Failed)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -2961,7 +2961,7 @@ func autoconvert_extensions_RollingUpdateDeployment_To_v1beta1_RollingUpdateDepl
|
||||
if err := s.Convert(&in.MaxSurge, &out.MaxSurge, 0); err != nil {
|
||||
return err
|
||||
}
|
||||
out.MinReadySeconds = in.MinReadySeconds
|
||||
out.MinReadySeconds = int32(in.MinReadySeconds)
|
||||
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 {
|
||||
defaulting.(func(*extensions.ScaleSpec))(in)
|
||||
}
|
||||
out.Replicas = in.Replicas
|
||||
out.Replicas = int32(in.Replicas)
|
||||
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 {
|
||||
defaulting.(func(*extensions.ScaleStatus))(in)
|
||||
}
|
||||
out.Replicas = in.Replicas
|
||||
out.Replicas = int32(in.Replicas)
|
||||
if in.Selector != nil {
|
||||
out.Selector = make(map[string]string)
|
||||
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 {
|
||||
defaulting.(func(*CPUTargetUtilization))(in)
|
||||
}
|
||||
out.TargetPercentage = in.TargetPercentage
|
||||
out.TargetPercentage = int(in.TargetPercentage)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -3213,8 +3213,8 @@ func autoconvert_v1beta1_ClusterAutoscalerSpec_To_extensions_ClusterAutoscalerSp
|
||||
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
|
||||
defaulting.(func(*ClusterAutoscalerSpec))(in)
|
||||
}
|
||||
out.MinNodes = in.MinNodes
|
||||
out.MaxNodes = in.MaxNodes
|
||||
out.MinNodes = int(in.MinNodes)
|
||||
out.MaxNodes = int(in.MaxNodes)
|
||||
if in.TargetUtilization != nil {
|
||||
out.TargetUtilization = make([]extensions.NodeUtilization, len(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 {
|
||||
defaulting.(func(*DaemonSetStatus))(in)
|
||||
}
|
||||
out.CurrentNumberScheduled = in.CurrentNumberScheduled
|
||||
out.NumberMisscheduled = in.NumberMisscheduled
|
||||
out.DesiredNumberScheduled = in.DesiredNumberScheduled
|
||||
out.CurrentNumberScheduled = int(in.CurrentNumberScheduled)
|
||||
out.NumberMisscheduled = int(in.NumberMisscheduled)
|
||||
out.DesiredNumberScheduled = int(in.DesiredNumberScheduled)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -3400,8 +3400,8 @@ func autoconvert_v1beta1_DeploymentStatus_To_extensions_DeploymentStatus(in *Dep
|
||||
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
|
||||
defaulting.(func(*DeploymentStatus))(in)
|
||||
}
|
||||
out.Replicas = in.Replicas
|
||||
out.UpdatedReplicas = in.UpdatedReplicas
|
||||
out.Replicas = int(in.Replicas)
|
||||
out.UpdatedReplicas = int(in.UpdatedReplicas)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -3504,11 +3504,11 @@ func autoconvert_v1beta1_HorizontalPodAutoscalerSpec_To_extensions_HorizontalPod
|
||||
}
|
||||
if in.MinReplicas != nil {
|
||||
out.MinReplicas = new(int)
|
||||
*out.MinReplicas = *in.MinReplicas
|
||||
*out.MinReplicas = int(*in.MinReplicas)
|
||||
} else {
|
||||
out.MinReplicas = nil
|
||||
}
|
||||
out.MaxReplicas = in.MaxReplicas
|
||||
out.MaxReplicas = int(in.MaxReplicas)
|
||||
if in.CPUUtilization != nil {
|
||||
out.CPUUtilization = new(extensions.CPUTargetUtilization)
|
||||
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 {
|
||||
out.LastScaleTime = nil
|
||||
}
|
||||
out.CurrentReplicas = in.CurrentReplicas
|
||||
out.DesiredReplicas = in.DesiredReplicas
|
||||
out.CurrentReplicas = int(in.CurrentReplicas)
|
||||
out.DesiredReplicas = int(in.DesiredReplicas)
|
||||
if in.CurrentCPUUtilizationPercentage != nil {
|
||||
out.CurrentCPUUtilizationPercentage = new(int)
|
||||
*out.CurrentCPUUtilizationPercentage = *in.CurrentCPUUtilizationPercentage
|
||||
*out.CurrentCPUUtilizationPercentage = int(*in.CurrentCPUUtilizationPercentage)
|
||||
} else {
|
||||
out.CurrentCPUUtilizationPercentage = nil
|
||||
}
|
||||
@ -3775,13 +3775,13 @@ func autoconvert_v1beta1_JobSpec_To_extensions_JobSpec(in *JobSpec, out *extensi
|
||||
}
|
||||
if in.Parallelism != nil {
|
||||
out.Parallelism = new(int)
|
||||
*out.Parallelism = *in.Parallelism
|
||||
*out.Parallelism = int(*in.Parallelism)
|
||||
} else {
|
||||
out.Parallelism = nil
|
||||
}
|
||||
if in.Completions != nil {
|
||||
out.Completions = new(int)
|
||||
*out.Completions = *in.Completions
|
||||
*out.Completions = int(*in.Completions)
|
||||
} else {
|
||||
out.Completions = nil
|
||||
}
|
||||
@ -3831,9 +3831,9 @@ func autoconvert_v1beta1_JobStatus_To_extensions_JobStatus(in *JobStatus, out *e
|
||||
} else {
|
||||
out.CompletionTime = nil
|
||||
}
|
||||
out.Active = in.Active
|
||||
out.Succeeded = in.Succeeded
|
||||
out.Failed = in.Failed
|
||||
out.Active = int(in.Active)
|
||||
out.Succeeded = int(in.Succeeded)
|
||||
out.Failed = int(in.Failed)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -3924,7 +3924,7 @@ func autoconvert_v1beta1_RollingUpdateDeployment_To_extensions_RollingUpdateDepl
|
||||
}
|
||||
// in.MaxUnavailable has no peer in out
|
||||
// in.MaxSurge has no peer in out
|
||||
out.MinReadySeconds = in.MinReadySeconds
|
||||
out.MinReadySeconds = int(in.MinReadySeconds)
|
||||
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 {
|
||||
defaulting.(func(*ScaleSpec))(in)
|
||||
}
|
||||
out.Replicas = in.Replicas
|
||||
out.Replicas = int(in.Replicas)
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -3967,7 +3967,7 @@ func autoconvert_v1beta1_ScaleStatus_To_extensions_ScaleStatus(in *ScaleStatus,
|
||||
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
|
||||
defaulting.(func(*ScaleStatus))(in)
|
||||
}
|
||||
out.Replicas = in.Replicas
|
||||
out.Replicas = int(in.Replicas)
|
||||
if in.Selector != nil {
|
||||
out.Selector = make(map[string]string)
|
||||
for key, val := range in.Selector {
|
||||
|
@ -300,7 +300,7 @@ func deepCopy_v1_FCVolumeSource(in v1.FCVolumeSource, out *v1.FCVolumeSource, c
|
||||
out.TargetWWNs = nil
|
||||
}
|
||||
if in.Lun != nil {
|
||||
out.Lun = new(int)
|
||||
out.Lun = new(int32)
|
||||
*out.Lun = *in.Lun
|
||||
} else {
|
||||
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 {
|
||||
if in.Replicas != nil {
|
||||
out.Replicas = new(int)
|
||||
out.Replicas = new(int32)
|
||||
*out.Replicas = *in.Replicas
|
||||
} else {
|
||||
out.Replicas = nil
|
||||
@ -1156,7 +1156,7 @@ func deepCopy_v1beta1_HorizontalPodAutoscalerSpec(in HorizontalPodAutoscalerSpec
|
||||
return err
|
||||
}
|
||||
if in.MinReplicas != nil {
|
||||
out.MinReplicas = new(int)
|
||||
out.MinReplicas = new(int32)
|
||||
*out.MinReplicas = *in.MinReplicas
|
||||
} else {
|
||||
out.MinReplicas = nil
|
||||
@ -1191,7 +1191,7 @@ func deepCopy_v1beta1_HorizontalPodAutoscalerStatus(in HorizontalPodAutoscalerSt
|
||||
out.CurrentReplicas = in.CurrentReplicas
|
||||
out.DesiredReplicas = in.DesiredReplicas
|
||||
if in.CurrentCPUUtilizationPercentage != nil {
|
||||
out.CurrentCPUUtilizationPercentage = new(int)
|
||||
out.CurrentCPUUtilizationPercentage = new(int32)
|
||||
*out.CurrentCPUUtilizationPercentage = *in.CurrentCPUUtilizationPercentage
|
||||
} else {
|
||||
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 {
|
||||
if in.Parallelism != nil {
|
||||
out.Parallelism = new(int)
|
||||
out.Parallelism = new(int32)
|
||||
*out.Parallelism = *in.Parallelism
|
||||
} else {
|
||||
out.Parallelism = nil
|
||||
}
|
||||
if in.Completions != nil {
|
||||
out.Completions = new(int)
|
||||
out.Completions = new(int32)
|
||||
*out.Completions = *in.Completions
|
||||
} else {
|
||||
out.Completions = nil
|
||||
|
@ -198,7 +198,7 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Replicas = 0
|
||||
} else {
|
||||
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Replicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
default:
|
||||
z.DecStructFieldNotFound(-1, yys8)
|
||||
@ -228,7 +228,7 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Replicas = 0
|
||||
} else {
|
||||
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Replicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
for {
|
||||
yyj10++
|
||||
@ -394,7 +394,7 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Replicas = 0
|
||||
} else {
|
||||
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Replicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "selector":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -436,7 +436,7 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Replicas = 0
|
||||
} else {
|
||||
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Replicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj26++
|
||||
if yyhl26 {
|
||||
@ -1463,7 +1463,7 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode
|
||||
if r.TryDecodeAsNil() {
|
||||
x.TargetPercentage = 0
|
||||
} else {
|
||||
x.TargetPercentage = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.TargetPercentage = int32(r.DecodeInt(32))
|
||||
}
|
||||
default:
|
||||
z.DecStructFieldNotFound(-1, yys110)
|
||||
@ -1493,7 +1493,7 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Deco
|
||||
if r.TryDecodeAsNil() {
|
||||
x.TargetPercentage = 0
|
||||
} else {
|
||||
x.TargetPercentage = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.TargetPercentage = int32(r.DecodeInt(32))
|
||||
}
|
||||
for {
|
||||
yyj112++
|
||||
@ -1706,20 +1706,20 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978
|
||||
}
|
||||
} else {
|
||||
if x.MinReplicas == nil {
|
||||
x.MinReplicas = new(int)
|
||||
x.MinReplicas = new(int32)
|
||||
}
|
||||
yym133 := z.DecBinary()
|
||||
_ = yym133
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.MinReplicas)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
case "maxReplicas":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.MaxReplicas = 0
|
||||
} else {
|
||||
x.MaxReplicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.MaxReplicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "cpuUtilization":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -1780,13 +1780,13 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19
|
||||
}
|
||||
} else {
|
||||
if x.MinReplicas == nil {
|
||||
x.MinReplicas = new(int)
|
||||
x.MinReplicas = new(int32)
|
||||
}
|
||||
yym139 := z.DecBinary()
|
||||
_ = yym139
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.MinReplicas)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
yyj136++
|
||||
@ -1803,7 +1803,7 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19
|
||||
if r.TryDecodeAsNil() {
|
||||
x.MaxReplicas = 0
|
||||
} else {
|
||||
x.MaxReplicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.MaxReplicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj136++
|
||||
if yyhl136 {
|
||||
@ -2128,13 +2128,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19
|
||||
if r.TryDecodeAsNil() {
|
||||
x.CurrentReplicas = 0
|
||||
} else {
|
||||
x.CurrentReplicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.CurrentReplicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "desiredReplicas":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.DesiredReplicas = 0
|
||||
} else {
|
||||
x.DesiredReplicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.DesiredReplicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "currentCPUUtilizationPercentage":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -2143,13 +2143,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19
|
||||
}
|
||||
} else {
|
||||
if x.CurrentCPUUtilizationPercentage == nil {
|
||||
x.CurrentCPUUtilizationPercentage = new(int)
|
||||
x.CurrentCPUUtilizationPercentage = new(int32)
|
||||
}
|
||||
yym173 := z.DecBinary()
|
||||
_ = yym173
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.CurrentCPUUtilizationPercentage)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
default:
|
||||
@ -2237,7 +2237,7 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec
|
||||
if r.TryDecodeAsNil() {
|
||||
x.CurrentReplicas = 0
|
||||
} else {
|
||||
x.CurrentReplicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.CurrentReplicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj174++
|
||||
if yyhl174 {
|
||||
@ -2253,7 +2253,7 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec
|
||||
if r.TryDecodeAsNil() {
|
||||
x.DesiredReplicas = 0
|
||||
} else {
|
||||
x.DesiredReplicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.DesiredReplicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj174++
|
||||
if yyhl174 {
|
||||
@ -2272,13 +2272,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec
|
||||
}
|
||||
} else {
|
||||
if x.CurrentCPUUtilizationPercentage == nil {
|
||||
x.CurrentCPUUtilizationPercentage = new(int)
|
||||
x.CurrentCPUUtilizationPercentage = new(int32)
|
||||
}
|
||||
yym182 := z.DecBinary()
|
||||
_ = yym182
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.CurrentCPUUtilizationPercentage)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
for {
|
||||
@ -4823,13 +4823,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
}
|
||||
} else {
|
||||
if x.Replicas == nil {
|
||||
x.Replicas = new(int)
|
||||
x.Replicas = new(int32)
|
||||
}
|
||||
yym411 := z.DecBinary()
|
||||
_ = yym411
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.Replicas)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.Replicas)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
case "selector":
|
||||
@ -4905,13 +4905,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
}
|
||||
} else {
|
||||
if x.Replicas == nil {
|
||||
x.Replicas = new(int)
|
||||
x.Replicas = new(int32)
|
||||
}
|
||||
yym420 := z.DecBinary()
|
||||
_ = yym420
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.Replicas)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.Replicas)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
yyj418++
|
||||
@ -5492,7 +5492,7 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec
|
||||
if r.TryDecodeAsNil() {
|
||||
x.MinReadySeconds = 0
|
||||
} else {
|
||||
x.MinReadySeconds = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.MinReadySeconds = int32(r.DecodeInt(32))
|
||||
}
|
||||
default:
|
||||
z.DecStructFieldNotFound(-1, yys454)
|
||||
@ -5580,7 +5580,7 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D
|
||||
if r.TryDecodeAsNil() {
|
||||
x.MinReadySeconds = 0
|
||||
} else {
|
||||
x.MinReadySeconds = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.MinReadySeconds = int32(r.DecodeInt(32))
|
||||
}
|
||||
for {
|
||||
yyj460++
|
||||
@ -5745,13 +5745,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Replicas = 0
|
||||
} else {
|
||||
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Replicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "updatedReplicas":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.UpdatedReplicas = 0
|
||||
} else {
|
||||
x.UpdatedReplicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.UpdatedReplicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
default:
|
||||
z.DecStructFieldNotFound(-1, yys476)
|
||||
@ -5781,7 +5781,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Replicas = 0
|
||||
} else {
|
||||
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Replicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj479++
|
||||
if yyhl479 {
|
||||
@ -5797,7 +5797,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
|
||||
if r.TryDecodeAsNil() {
|
||||
x.UpdatedReplicas = 0
|
||||
} else {
|
||||
x.UpdatedReplicas = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.UpdatedReplicas = int32(r.DecodeInt(32))
|
||||
}
|
||||
for {
|
||||
yyj479++
|
||||
@ -6544,19 +6544,19 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.CurrentNumberScheduled = 0
|
||||
} else {
|
||||
x.CurrentNumberScheduled = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.CurrentNumberScheduled = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "numberMisscheduled":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.NumberMisscheduled = 0
|
||||
} else {
|
||||
x.NumberMisscheduled = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.NumberMisscheduled = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "desiredNumberScheduled":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.DesiredNumberScheduled = 0
|
||||
} else {
|
||||
x.DesiredNumberScheduled = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.DesiredNumberScheduled = int32(r.DecodeInt(32))
|
||||
}
|
||||
default:
|
||||
z.DecStructFieldNotFound(-1, yys539)
|
||||
@ -6586,7 +6586,7 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
|
||||
if r.TryDecodeAsNil() {
|
||||
x.CurrentNumberScheduled = 0
|
||||
} else {
|
||||
x.CurrentNumberScheduled = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.CurrentNumberScheduled = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj543++
|
||||
if yyhl543 {
|
||||
@ -6602,7 +6602,7 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
|
||||
if r.TryDecodeAsNil() {
|
||||
x.NumberMisscheduled = 0
|
||||
} else {
|
||||
x.NumberMisscheduled = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.NumberMisscheduled = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj543++
|
||||
if yyhl543 {
|
||||
@ -6618,7 +6618,7 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
|
||||
if r.TryDecodeAsNil() {
|
||||
x.DesiredNumberScheduled = 0
|
||||
} else {
|
||||
x.DesiredNumberScheduled = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.DesiredNumberScheduled = int32(r.DecodeInt(32))
|
||||
}
|
||||
for {
|
||||
yyj543++
|
||||
@ -8559,13 +8559,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
}
|
||||
} else {
|
||||
if x.Parallelism == nil {
|
||||
x.Parallelism = new(int)
|
||||
x.Parallelism = new(int32)
|
||||
}
|
||||
yym725 := z.DecBinary()
|
||||
_ = yym725
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.Parallelism)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.Parallelism)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
case "completions":
|
||||
@ -8575,13 +8575,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
}
|
||||
} else {
|
||||
if x.Completions == nil {
|
||||
x.Completions = new(int)
|
||||
x.Completions = new(int32)
|
||||
}
|
||||
yym727 := z.DecBinary()
|
||||
_ = yym727
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.Completions)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.Completions)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
case "selector":
|
||||
@ -8633,13 +8633,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
}
|
||||
} else {
|
||||
if x.Parallelism == nil {
|
||||
x.Parallelism = new(int)
|
||||
x.Parallelism = new(int32)
|
||||
}
|
||||
yym732 := z.DecBinary()
|
||||
_ = yym732
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.Parallelism)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.Parallelism)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
yyj730++
|
||||
@ -8659,13 +8659,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
}
|
||||
} else {
|
||||
if x.Completions == nil {
|
||||
x.Completions = new(int)
|
||||
x.Completions = new(int32)
|
||||
}
|
||||
yym734 := z.DecBinary()
|
||||
_ = yym734
|
||||
if false {
|
||||
} else {
|
||||
*((*int)(x.Completions)) = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
*((*int32)(x.Completions)) = int32(r.DecodeInt(32))
|
||||
}
|
||||
}
|
||||
yyj730++
|
||||
@ -9071,19 +9071,19 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Active = 0
|
||||
} else {
|
||||
x.Active = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Active = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "succeeded":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Succeeded = 0
|
||||
} else {
|
||||
x.Succeeded = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Succeeded = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "failed":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Failed = 0
|
||||
} else {
|
||||
x.Failed = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Failed = int32(r.DecodeInt(32))
|
||||
}
|
||||
default:
|
||||
z.DecStructFieldNotFound(-1, yys759)
|
||||
@ -9197,7 +9197,7 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Active = 0
|
||||
} else {
|
||||
x.Active = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Active = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj769++
|
||||
if yyhl769 {
|
||||
@ -9213,7 +9213,7 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Succeeded = 0
|
||||
} else {
|
||||
x.Succeeded = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Succeeded = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj769++
|
||||
if yyhl769 {
|
||||
@ -9229,7 +9229,7 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
|
||||
if r.TryDecodeAsNil() {
|
||||
x.Failed = 0
|
||||
} else {
|
||||
x.Failed = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.Failed = int32(r.DecodeInt(32))
|
||||
}
|
||||
for {
|
||||
yyj769++
|
||||
@ -12239,13 +12239,13 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod
|
||||
if r.TryDecodeAsNil() {
|
||||
x.MinNodes = 0
|
||||
} else {
|
||||
x.MinNodes = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.MinNodes = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "maxNodes":
|
||||
if r.TryDecodeAsNil() {
|
||||
x.MaxNodes = 0
|
||||
} else {
|
||||
x.MaxNodes = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.MaxNodes = int32(r.DecodeInt(32))
|
||||
}
|
||||
case "target":
|
||||
if r.TryDecodeAsNil() {
|
||||
@ -12287,7 +12287,7 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec
|
||||
if r.TryDecodeAsNil() {
|
||||
x.MinNodes = 0
|
||||
} else {
|
||||
x.MinNodes = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.MinNodes = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj1019++
|
||||
if yyhl1019 {
|
||||
@ -12303,7 +12303,7 @@ func (x *ClusterAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec
|
||||
if r.TryDecodeAsNil() {
|
||||
x.MaxNodes = 0
|
||||
} else {
|
||||
x.MaxNodes = int(r.DecodeInt(codecSelferBitsize1234))
|
||||
x.MaxNodes = int32(r.DecodeInt(32))
|
||||
}
|
||||
yyj1019++
|
||||
if yyhl1019 {
|
||||
@ -13568,7 +13568,7 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos
|
||||
|
||||
yyrg1127 := len(yyv1127) > 0
|
||||
yyv21127 := yyv1127
|
||||
yyrl1127, yyrt1127 = z.DecInferLen(yyl1127, z.DecBasicHandle().MaxInitLen, 320)
|
||||
yyrl1127, yyrt1127 = z.DecInferLen(yyl1127, z.DecBasicHandle().MaxInitLen, 312)
|
||||
if yyrt1127 {
|
||||
if yyrl1127 <= cap(yyv1127) {
|
||||
yyv1127 = yyv1127[:yyrl1127]
|
||||
@ -13916,7 +13916,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode
|
||||
|
||||
yyrg1145 := len(yyv1145) > 0
|
||||
yyv21145 := yyv1145
|
||||
yyrl1145, yyrt1145 = z.DecInferLen(yyl1145, z.DecBasicHandle().MaxInitLen, 608)
|
||||
yyrl1145, yyrt1145 = z.DecInferLen(yyl1145, z.DecBasicHandle().MaxInitLen, 600)
|
||||
if yyrt1145 {
|
||||
if yyrl1145 <= cap(yyv1145) {
|
||||
yyv1145 = yyv1145[:yyrl1145]
|
||||
@ -14032,7 +14032,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder)
|
||||
|
||||
yyrg1151 := len(yyv1151) > 0
|
||||
yyv21151 := yyv1151
|
||||
yyrl1151, yyrt1151 = z.DecInferLen(yyl1151, z.DecBasicHandle().MaxInitLen, 232)
|
||||
yyrl1151, yyrt1151 = z.DecInferLen(yyl1151, z.DecBasicHandle().MaxInitLen, 224)
|
||||
if yyrt1151 {
|
||||
if yyrl1151 <= cap(yyv1151) {
|
||||
yyv1151 = yyv1151[:yyrl1151]
|
||||
@ -14264,7 +14264,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) {
|
||||
|
||||
yyrg1163 := len(yyv1163) > 0
|
||||
yyv21163 := yyv1163
|
||||
yyrl1163, yyrt1163 = z.DecInferLen(yyl1163, z.DecBasicHandle().MaxInitLen, 632)
|
||||
yyrl1163, yyrt1163 = z.DecInferLen(yyl1163, z.DecBasicHandle().MaxInitLen, 624)
|
||||
if yyrt1163 {
|
||||
if yyrl1163 <= cap(yyv1163) {
|
||||
yyv1163 = yyv1163[:yyrl1163]
|
||||
@ -14960,7 +14960,7 @@ func (x codecSelfer1234) decSliceClusterAutoscaler(v *[]ClusterAutoscaler, d *co
|
||||
|
||||
yyrg1199 := len(yyv1199) > 0
|
||||
yyv21199 := yyv1199
|
||||
yyrl1199, yyrt1199 = z.DecInferLen(yyl1199, z.DecBasicHandle().MaxInitLen, 232)
|
||||
yyrl1199, yyrt1199 = z.DecInferLen(yyl1199, z.DecBasicHandle().MaxInitLen, 224)
|
||||
if yyrt1199 {
|
||||
if yyrl1199 <= cap(yyv1199) {
|
||||
yyv1199 = yyv1199[:yyrl1199]
|
||||
|
Loading…
Reference in New Issue
Block a user