Generation changes

This commit is contained in:
Clayton Coleman 2016-04-27 13:18:27 -04:00
parent cf133ee03a
commit 8d0187add2
No known key found for this signature in database
GPG Key ID: 3D16906B4F1C5CB3
14 changed files with 332 additions and 332 deletions

View File

@ -889,7 +889,7 @@ func DeepCopy_api_FCVolumeSource(in FCVolumeSource, out *FCVolumeSource, c *conv
}
if in.Lun != nil {
in, out := in.Lun, &out.Lun
*out = new(int)
*out = new(int32)
**out = *in
} else {
out.Lun = nil

View File

@ -8958,7 +8958,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() {
@ -9026,7 +9026,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))
}
yyj8++
if yyhl8 {
@ -9323,7 +9323,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 "iscsiInterface":
if r.TryDecodeAsNil() {
@ -9403,7 +9403,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))
}
yyj10++
if yyhl10 {
@ -9687,13 +9687,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
}
} else {
if x.Lun == nil {
x.Lun = new(int)
x.Lun = new(int32)
}
yym7 := z.DecBinary()
_ = yym7
if false {
} else {
*((*int)(x.Lun)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.Lun)) = int32(r.DecodeInt(32))
}
}
case "fsType":
@ -9761,13 +9761,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
}
} else {
if x.Lun == nil {
x.Lun = new(int)
x.Lun = new(int32)
}
yym14 := z.DecBinary()
_ = yym14
if false {
} else {
*((*int)(x.Lun)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.Lun)) = int32(r.DecodeInt(32))
}
}
yyj10++
@ -10404,7 +10404,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() {
@ -10472,7 +10472,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))
}
yyj8++
if yyhl8 {
@ -14060,13 +14060,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() {
@ -14124,7 +14124,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))
}
yyj9++
if yyhl9 {
@ -14140,7 +14140,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))
}
yyj9++
if yyhl9 {
@ -16954,31 +16954,31 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() {
x.InitialDelaySeconds = 0
} else {
x.InitialDelaySeconds = int(r.DecodeInt(codecSelferBitsize1234))
x.InitialDelaySeconds = int32(r.DecodeInt(32))
}
case "timeoutSeconds":
if r.TryDecodeAsNil() {
x.TimeoutSeconds = 0
} else {
x.TimeoutSeconds = int(r.DecodeInt(codecSelferBitsize1234))
x.TimeoutSeconds = int32(r.DecodeInt(32))
}
case "periodSeconds":
if r.TryDecodeAsNil() {
x.PeriodSeconds = 0
} else {
x.PeriodSeconds = int(r.DecodeInt(codecSelferBitsize1234))
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))
}
case "exec":
if x.Handler.Exec == nil {
@ -17050,7 +17050,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() {
x.InitialDelaySeconds = 0
} else {
x.InitialDelaySeconds = int(r.DecodeInt(codecSelferBitsize1234))
x.InitialDelaySeconds = int32(r.DecodeInt(32))
}
yyj12++
if yyhl12 {
@ -17066,7 +17066,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() {
x.TimeoutSeconds = 0
} else {
x.TimeoutSeconds = int(r.DecodeInt(codecSelferBitsize1234))
x.TimeoutSeconds = int32(r.DecodeInt(32))
}
yyj12++
if yyhl12 {
@ -17082,7 +17082,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() {
x.PeriodSeconds = 0
} else {
x.PeriodSeconds = int(r.DecodeInt(codecSelferBitsize1234))
x.PeriodSeconds = int32(r.DecodeInt(32))
}
yyj12++
if yyhl12 {
@ -17098,7 +17098,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))
}
yyj12++
if yyhl12 {
@ -17114,7 +17114,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))
}
if x.Handler.Exec == nil {
x.Handler.Exec = new(ExecAction)
@ -20072,13 +20072,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() {
@ -20160,7 +20160,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))
}
yyj13++
if yyhl13 {
@ -20176,7 +20176,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))
}
yyj13++
if yyhl13 {
@ -20863,7 +20863,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() {
@ -20977,7 +20977,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))
}
yyj12++
if yyhl12 {
@ -23132,7 +23132,7 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec
if r.TryDecodeAsNil() {
x.Weight = 0
} else {
x.Weight = int(r.DecodeInt(codecSelferBitsize1234))
x.Weight = int32(r.DecodeInt(32))
}
case "preference":
if r.TryDecodeAsNil() {
@ -23169,7 +23169,7 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D
if r.TryDecodeAsNil() {
x.Weight = 0
} else {
x.Weight = int(r.DecodeInt(codecSelferBitsize1234))
x.Weight = int32(r.DecodeInt(32))
}
yyj6++
if yyhl6 {
@ -26921,7 +26921,7 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D
if r.TryDecodeAsNil() {
x.Replicas = 0
} else {
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234))
x.Replicas = int32(r.DecodeInt(32))
}
case "selector":
if r.TryDecodeAsNil() {
@ -26974,7 +26974,7 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978
if r.TryDecodeAsNil() {
x.Replicas = 0
} else {
x.Replicas = int(r.DecodeInt(codecSelferBitsize1234))
x.Replicas = int32(r.DecodeInt(32))
}
yyj8++
if yyhl8 {
@ -27201,13 +27201,13 @@ 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 "fullyLabeledReplicas":
if r.TryDecodeAsNil() {
x.FullyLabeledReplicas = 0
} else {
x.FullyLabeledReplicas = int(r.DecodeInt(codecSelferBitsize1234))
x.FullyLabeledReplicas = int32(r.DecodeInt(32))
}
case "observedGeneration":
if r.TryDecodeAsNil() {
@ -27243,7 +27243,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))
}
yyj7++
if yyhl7 {
@ -27259,7 +27259,7 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19
if r.TryDecodeAsNil() {
x.FullyLabeledReplicas = 0
} else {
x.FullyLabeledReplicas = int(r.DecodeInt(codecSelferBitsize1234))
x.FullyLabeledReplicas = int32(r.DecodeInt(32))
}
yyj7++
if yyhl7 {
@ -29628,7 +29628,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() {
@ -29649,7 +29649,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, yys3)
@ -29711,7 +29711,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))
}
yyj10++
if yyhl10 {
@ -29752,7 +29752,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 {
yyj10++
@ -31876,7 +31876,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() {
@ -31928,7 +31928,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))
}
yyj7++
if yyhl7 {
@ -32733,7 +32733,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, yys3)
@ -32763,7 +32763,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 {
yyj5++
@ -42461,7 +42461,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() {
@ -42646,7 +42646,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))
}
yyj17++
if yyhl17 {
@ -50300,7 +50300,7 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978.
yyrg1 := len(yyv1) > 0
yyv21 := yyv1
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 64)
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56)
if yyrt1 {
if yyrl1 <= cap(yyv1) {
yyv1 = yyv1[:yyrl1]
@ -51609,7 +51609,7 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1
yyrg1 := len(yyv1) > 0
yyv21 := yyv1
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 128)
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 120)
if yyrt1 {
if yyrl1 <= cap(yyv1) {
yyv1 = yyv1[:yyrl1]
@ -51847,7 +51847,7 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle
yyrg1 := len(yyv1) > 0
yyv21 := yyv1
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 240)
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 232)
if yyrt1 {
if yyrl1 <= cap(yyv1) {
yyv1 = yyv1[:yyrl1]

View File

@ -322,7 +322,7 @@ func autoConvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStore
}
out.VolumeID = in.VolumeID
out.FSType = in.FSType
out.Partition = int(in.Partition)
out.Partition = in.Partition
out.ReadOnly = in.ReadOnly
return nil
}
@ -337,7 +337,7 @@ func autoConvert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStore
}
out.VolumeID = in.VolumeID
out.FSType = in.FSType
out.Partition = int32(in.Partition)
out.Partition = in.Partition
out.ReadOnly = in.ReadOnly
return nil
}
@ -1185,8 +1185,8 @@ func autoConvert_v1_ContainerPort_To_api_ContainerPort(in *ContainerPort, out *a
defaulting.(func(*ContainerPort))(in)
}
out.Name = in.Name
out.HostPort = int(in.HostPort)
out.ContainerPort = int(in.ContainerPort)
out.HostPort = in.HostPort
out.ContainerPort = in.ContainerPort
out.Protocol = api.Protocol(in.Protocol)
out.HostIP = in.HostIP
return nil
@ -1201,8 +1201,8 @@ func autoConvert_api_ContainerPort_To_v1_ContainerPort(in *api.ContainerPort, ou
defaulting.(func(*api.ContainerPort))(in)
}
out.Name = in.Name
out.HostPort = int32(in.HostPort)
out.ContainerPort = int32(in.ContainerPort)
out.HostPort = in.HostPort
out.ContainerPort = in.ContainerPort
out.Protocol = Protocol(in.Protocol)
out.HostIP = in.HostIP
return nil
@ -1320,8 +1320,8 @@ func autoConvert_v1_ContainerStateTerminated_To_api_ContainerStateTerminated(in
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*ContainerStateTerminated))(in)
}
out.ExitCode = int(in.ExitCode)
out.Signal = int(in.Signal)
out.ExitCode = in.ExitCode
out.Signal = in.Signal
out.Reason = in.Reason
out.Message = in.Message
if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.StartedAt, &out.StartedAt, s); err != nil {
@ -1342,8 +1342,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 = int32(in.ExitCode)
out.Signal = int32(in.Signal)
out.ExitCode = in.ExitCode
out.Signal = in.Signal
out.Reason = in.Reason
out.Message = in.Message
if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.StartedAt, &out.StartedAt, s); err != nil {
@ -1398,7 +1398,7 @@ func autoConvert_v1_ContainerStatus_To_api_ContainerStatus(in *ContainerStatus,
return err
}
out.Ready = in.Ready
out.RestartCount = int(in.RestartCount)
out.RestartCount = in.RestartCount
out.Image = in.Image
out.ImageID = in.ImageID
out.ContainerID = in.ContainerID
@ -1421,7 +1421,7 @@ func autoConvert_api_ContainerStatus_To_v1_ContainerStatus(in *api.ContainerStat
return err
}
out.Ready = in.Ready
out.RestartCount = int32(in.RestartCount)
out.RestartCount = in.RestartCount
out.Image = in.Image
out.ImageID = in.ImageID
out.ContainerID = in.ContainerID
@ -1436,7 +1436,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 = int(in.Port)
out.Port = in.Port
return nil
}
@ -1448,7 +1448,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 = int32(in.Port)
out.Port = in.Port
return nil
}
@ -1663,7 +1663,7 @@ func autoConvert_v1_EndpointPort_To_api_EndpointPort(in *EndpointPort, out *api.
defaulting.(func(*EndpointPort))(in)
}
out.Name = in.Name
out.Port = int(in.Port)
out.Port = in.Port
out.Protocol = api.Protocol(in.Protocol)
return nil
}
@ -1677,7 +1677,7 @@ func autoConvert_api_EndpointPort_To_v1_EndpointPort(in *api.EndpointPort, out *
defaulting.(func(*api.EndpointPort))(in)
}
out.Name = in.Name
out.Port = int32(in.Port)
out.Port = in.Port
out.Protocol = Protocol(in.Protocol)
return nil
}
@ -2030,7 +2030,7 @@ func autoConvert_v1_Event_To_api_Event(in *Event, out *api.Event, s conversion.S
if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTimestamp, &out.LastTimestamp, s); err != nil {
return err
}
out.Count = int(in.Count)
out.Count = in.Count
out.Type = in.Type
return nil
}
@ -2063,7 +2063,7 @@ func autoConvert_api_Event_To_v1_Event(in *api.Event, out *Event, s conversion.S
if err := api.Convert_unversioned_Time_To_unversioned_Time(&in.LastTimestamp, &out.LastTimestamp, s); err != nil {
return err
}
out.Count = int32(in.Count)
out.Count = in.Count
out.Type = in.Type
return nil
}
@ -2235,8 +2235,8 @@ func autoConvert_v1_FCVolumeSource_To_api_FCVolumeSource(in *FCVolumeSource, out
}
if in.Lun != nil {
in, out := &in.Lun, &out.Lun
*out = new(int)
**out = int(**in)
*out = new(int32)
**out = **in
} else {
out.Lun = nil
}
@ -2263,7 +2263,7 @@ func autoConvert_api_FCVolumeSource_To_v1_FCVolumeSource(in *api.FCVolumeSource,
if in.Lun != nil {
in, out := &in.Lun, &out.Lun
*out = new(int32)
**out = int32(**in)
**out = **in
} else {
out.Lun = nil
}
@ -2370,7 +2370,7 @@ func autoConvert_v1_GCEPersistentDiskVolumeSource_To_api_GCEPersistentDiskVolume
}
out.PDName = in.PDName
out.FSType = in.FSType
out.Partition = int(in.Partition)
out.Partition = in.Partition
out.ReadOnly = in.ReadOnly
return nil
}
@ -2385,7 +2385,7 @@ func autoConvert_api_GCEPersistentDiskVolumeSource_To_v1_GCEPersistentDiskVolume
}
out.PDName = in.PDName
out.FSType = in.FSType
out.Partition = int32(in.Partition)
out.Partition = in.Partition
out.ReadOnly = in.ReadOnly
return nil
}
@ -2638,7 +2638,7 @@ func autoConvert_v1_ISCSIVolumeSource_To_api_ISCSIVolumeSource(in *ISCSIVolumeSo
}
out.TargetPortal = in.TargetPortal
out.IQN = in.IQN
out.Lun = int(in.Lun)
out.Lun = in.Lun
out.ISCSIInterface = in.ISCSIInterface
out.FSType = in.FSType
out.ReadOnly = in.ReadOnly
@ -2655,7 +2655,7 @@ func autoConvert_api_ISCSIVolumeSource_To_v1_ISCSIVolumeSource(in *api.ISCSIVolu
}
out.TargetPortal = in.TargetPortal
out.IQN = in.IQN
out.Lun = int32(in.Lun)
out.Lun = in.Lun
out.ISCSIInterface = in.ISCSIInterface
out.FSType = in.FSType
out.ReadOnly = in.ReadOnly
@ -5668,7 +5668,7 @@ func autoConvert_v1_PreferredSchedulingTerm_To_api_PreferredSchedulingTerm(in *P
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*PreferredSchedulingTerm))(in)
}
out.Weight = int(in.Weight)
out.Weight = in.Weight
if err := Convert_v1_NodeSelectorTerm_To_api_NodeSelectorTerm(&in.Preference, &out.Preference, s); err != nil {
return err
}
@ -5683,7 +5683,7 @@ func autoConvert_api_PreferredSchedulingTerm_To_v1_PreferredSchedulingTerm(in *a
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*api.PreferredSchedulingTerm))(in)
}
out.Weight = int32(in.Weight)
out.Weight = in.Weight
if err := Convert_api_NodeSelectorTerm_To_v1_NodeSelectorTerm(&in.Preference, &out.Preference, s); err != nil {
return err
}
@ -5701,11 +5701,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 = int(in.InitialDelaySeconds)
out.TimeoutSeconds = int(in.TimeoutSeconds)
out.PeriodSeconds = int(in.PeriodSeconds)
out.SuccessThreshold = int(in.SuccessThreshold)
out.FailureThreshold = int(in.FailureThreshold)
out.InitialDelaySeconds = in.InitialDelaySeconds
out.TimeoutSeconds = in.TimeoutSeconds
out.PeriodSeconds = in.PeriodSeconds
out.SuccessThreshold = in.SuccessThreshold
out.FailureThreshold = in.FailureThreshold
return nil
}
@ -5720,11 +5720,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 = int32(in.InitialDelaySeconds)
out.TimeoutSeconds = int32(in.TimeoutSeconds)
out.PeriodSeconds = int32(in.PeriodSeconds)
out.SuccessThreshold = int32(in.SuccessThreshold)
out.FailureThreshold = int32(in.FailureThreshold)
out.InitialDelaySeconds = in.InitialDelaySeconds
out.TimeoutSeconds = in.TimeoutSeconds
out.PeriodSeconds = in.PeriodSeconds
out.SuccessThreshold = in.SuccessThreshold
out.FailureThreshold = in.FailureThreshold
return nil
}
@ -5946,8 +5946,8 @@ func autoConvert_v1_ReplicationControllerStatus_To_api_ReplicationControllerStat
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*ReplicationControllerStatus))(in)
}
out.Replicas = int(in.Replicas)
out.FullyLabeledReplicas = int(in.FullyLabeledReplicas)
out.Replicas = in.Replicas
out.FullyLabeledReplicas = in.FullyLabeledReplicas
out.ObservedGeneration = in.ObservedGeneration
return nil
}
@ -5960,8 +5960,8 @@ func autoConvert_api_ReplicationControllerStatus_To_v1_ReplicationControllerStat
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*api.ReplicationControllerStatus))(in)
}
out.Replicas = int32(in.Replicas)
out.FullyLabeledReplicas = int32(in.FullyLabeledReplicas)
out.Replicas = in.Replicas
out.FullyLabeledReplicas = in.FullyLabeledReplicas
out.ObservedGeneration = in.ObservedGeneration
return nil
}
@ -6828,11 +6828,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 = int(in.Port)
out.Port = in.Port
if err := api.Convert_intstr_IntOrString_To_intstr_IntOrString(&in.TargetPort, &out.TargetPort, s); err != nil {
return err
}
out.NodePort = int(in.NodePort)
out.NodePort = in.NodePort
return nil
}
@ -6846,11 +6846,11 @@ func autoConvert_api_ServicePort_To_v1_ServicePort(in *api.ServicePort, out *Ser
}
out.Name = in.Name
out.Protocol = Protocol(in.Protocol)
out.Port = int32(in.Port)
out.Port = in.Port
if err := api.Convert_intstr_IntOrString_To_intstr_IntOrString(&in.TargetPort, &out.TargetPort, s); err != nil {
return err
}
out.NodePort = int32(in.NodePort)
out.NodePort = in.NodePort
return nil
}

View File

@ -535,7 +535,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, yys3)
@ -565,7 +565,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 {
yyj5++
@ -723,7 +723,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() {
@ -759,7 +759,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))
}
yyj6++
if yyhl6 {

View File

@ -175,12 +175,12 @@ func autoConvert_v1_HorizontalPodAutoscalerStatus_To_extensions_HorizontalPodAut
} else {
out.LastScaleTime = nil
}
out.CurrentReplicas = int(in.CurrentReplicas)
out.DesiredReplicas = int(in.DesiredReplicas)
out.CurrentReplicas = in.CurrentReplicas
out.DesiredReplicas = in.DesiredReplicas
if in.CurrentCPUUtilizationPercentage != nil {
in, out := &in.CurrentCPUUtilizationPercentage, &out.CurrentCPUUtilizationPercentage
*out = new(int)
**out = int(**in)
*out = new(int32)
**out = **in
} else {
out.CurrentCPUUtilizationPercentage = nil
}
@ -211,12 +211,12 @@ func autoConvert_extensions_HorizontalPodAutoscalerStatus_To_v1_HorizontalPodAut
} else {
out.LastScaleTime = nil
}
out.CurrentReplicas = int32(in.CurrentReplicas)
out.DesiredReplicas = int32(in.DesiredReplicas)
out.CurrentReplicas = in.CurrentReplicas
out.DesiredReplicas = in.DesiredReplicas
if in.CurrentCPUUtilizationPercentage != nil {
in, out := &in.CurrentCPUUtilizationPercentage, &out.CurrentCPUUtilizationPercentage
*out = new(int32)
**out = int32(**in)
**out = **in
} else {
out.CurrentCPUUtilizationPercentage = nil
}
@ -279,7 +279,7 @@ func autoConvert_v1_ScaleSpec_To_autoscaling_ScaleSpec(in *ScaleSpec, out *autos
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*ScaleSpec))(in)
}
out.Replicas = int(in.Replicas)
out.Replicas = in.Replicas
return nil
}
@ -291,7 +291,7 @@ func autoConvert_autoscaling_ScaleSpec_To_v1_ScaleSpec(in *autoscaling.ScaleSpec
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*autoscaling.ScaleSpec))(in)
}
out.Replicas = int32(in.Replicas)
out.Replicas = in.Replicas
return nil
}
@ -303,7 +303,7 @@ func autoConvert_v1_ScaleStatus_To_autoscaling_ScaleStatus(in *ScaleStatus, out
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*ScaleStatus))(in)
}
out.Replicas = int(in.Replicas)
out.Replicas = in.Replicas
out.Selector = in.Selector
return nil
}
@ -316,7 +316,7 @@ func autoConvert_autoscaling_ScaleStatus_To_v1_ScaleStatus(in *autoscaling.Scale
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*autoscaling.ScaleStatus))(in)
}
out.Replicas = int32(in.Replicas)
out.Replicas = in.Replicas
out.Selector = in.Selector
return nil
}

View File

@ -93,14 +93,14 @@ func DeepCopy_batch_JobList(in JobList, out *JobList, c *conversion.Cloner) erro
func DeepCopy_batch_JobSpec(in JobSpec, out *JobSpec, c *conversion.Cloner) error {
if in.Parallelism != nil {
in, out := in.Parallelism, &out.Parallelism
*out = new(int)
*out = new(int32)
**out = *in
} else {
out.Parallelism = nil
}
if in.Completions != nil {
in, out := in.Completions, &out.Completions
*out = new(int)
*out = new(int32)
**out = *in
} else {
out.Completions = nil

View File

@ -1053,13 +1053,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
}
} else {
if x.Parallelism == nil {
x.Parallelism = new(int)
x.Parallelism = new(int32)
}
yym5 := z.DecBinary()
_ = yym5
if false {
} else {
*((*int)(x.Parallelism)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.Parallelism)) = int32(r.DecodeInt(32))
}
}
case "completions":
@ -1069,13 +1069,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
}
} else {
if x.Completions == nil {
x.Completions = new(int)
x.Completions = new(int32)
}
yym7 := z.DecBinary()
_ = yym7
if false {
} else {
*((*int)(x.Completions)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.Completions)) = int32(r.DecodeInt(32))
}
}
case "activeDeadlineSeconds":
@ -1165,13 +1165,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
}
} else {
if x.Parallelism == nil {
x.Parallelism = new(int)
x.Parallelism = new(int32)
}
yym17 := z.DecBinary()
_ = yym17
if false {
} else {
*((*int)(x.Parallelism)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.Parallelism)) = int32(r.DecodeInt(32))
}
}
yyj15++
@ -1191,13 +1191,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
}
} else {
if x.Completions == nil {
x.Completions = new(int)
x.Completions = new(int32)
}
yym19 := z.DecBinary()
_ = yym19
if false {
} else {
*((*int)(x.Completions)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.Completions)) = int32(r.DecodeInt(32))
}
}
yyj15++
@ -1661,19 +1661,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, yys3)
@ -1787,7 +1787,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))
}
yyj13++
if yyhl13 {
@ -1803,7 +1803,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))
}
yyj13++
if yyhl13 {
@ -1819,7 +1819,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 {
yyj13++
@ -2347,7 +2347,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) {
yyrg1 := len(yyv1) > 0
yyv21 := yyv1
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 656)
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 648)
if yyrt1 {
if yyrl1 <= cap(yyv1) {
yyv1 = yyv1[:yyrl1]

View File

@ -203,15 +203,15 @@ func autoConvert_v1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpec, s
}
if in.Parallelism != nil {
in, out := &in.Parallelism, &out.Parallelism
*out = new(int)
**out = int(**in)
*out = new(int32)
**out = **in
} else {
out.Parallelism = nil
}
if in.Completions != nil {
in, out := &in.Completions, &out.Completions
*out = new(int)
**out = int(**in)
*out = new(int32)
**out = **in
} else {
out.Completions = nil
}
@ -252,14 +252,14 @@ func autoConvert_batch_JobSpec_To_v1_JobSpec(in *batch.JobSpec, out *JobSpec, s
if in.Parallelism != nil {
in, out := &in.Parallelism, &out.Parallelism
*out = new(int32)
**out = int32(**in)
**out = **in
} else {
out.Parallelism = nil
}
if in.Completions != nil {
in, out := &in.Completions, &out.Completions
*out = new(int32)
**out = int32(**in)
**out = **in
} else {
out.Completions = nil
}
@ -326,9 +326,9 @@ func autoConvert_v1_JobStatus_To_batch_JobStatus(in *JobStatus, out *batch.JobSt
} else {
out.CompletionTime = nil
}
out.Active = int(in.Active)
out.Succeeded = int(in.Succeeded)
out.Failed = int(in.Failed)
out.Active = in.Active
out.Succeeded = in.Succeeded
out.Failed = in.Failed
return nil
}
@ -369,9 +369,9 @@ func autoConvert_batch_JobStatus_To_v1_JobStatus(in *batch.JobStatus, out *JobSt
} else {
out.CompletionTime = nil
}
out.Active = int32(in.Active)
out.Succeeded = int32(in.Succeeded)
out.Failed = int32(in.Failed)
out.Active = in.Active
out.Succeeded = in.Succeeded
out.Failed = in.Failed
return nil
}

View File

@ -145,7 +145,7 @@ func DeepCopy_componentconfig_KubeProxyConfiguration(in KubeProxyConfiguration,
out.HostnameOverride = in.HostnameOverride
if in.IPTablesMasqueradeBit != nil {
in, out := in.IPTablesMasqueradeBit, &out.IPTablesMasqueradeBit
*out = new(int)
*out = new(int32)
**out = *in
} else {
out.IPTablesMasqueradeBit = nil
@ -158,7 +158,7 @@ func DeepCopy_componentconfig_KubeProxyConfiguration(in KubeProxyConfiguration,
out.Master = in.Master
if in.OOMScoreAdj != nil {
in, out := in.OOMScoreAdj, &out.OOMScoreAdj
*out = new(int)
*out = new(int32)
**out = *in
} else {
out.OOMScoreAdj = nil

View File

@ -589,7 +589,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() {
@ -604,13 +604,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
}
} else {
if x.IPTablesMasqueradeBit == nil {
x.IPTablesMasqueradeBit = new(int)
x.IPTablesMasqueradeBit = new(int32)
}
yym10 := z.DecBinary()
_ = yym10
if false {
} else {
*((*int)(x.IPTablesMasqueradeBit)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.IPTablesMasqueradeBit)) = int32(r.DecodeInt(32))
}
}
case "iptablesSyncPeriodSeconds":
@ -653,13 +653,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
}
} else {
if x.OOMScoreAdj == nil {
x.OOMScoreAdj = new(int)
x.OOMScoreAdj = new(int32)
}
yym17 := z.DecBinary()
_ = yym17
if false {
} else {
*((*int)(x.OOMScoreAdj)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.OOMScoreAdj)) = int32(r.DecodeInt(32))
}
}
case "mode":
@ -699,7 +699,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
if r.TryDecodeAsNil() {
x.ConntrackMax = 0
} else {
x.ConntrackMax = int(r.DecodeInt(codecSelferBitsize1234))
x.ConntrackMax = int32(r.DecodeInt(32))
}
case "conntrackTCPEstablishedTimeout":
if r.TryDecodeAsNil() {
@ -804,7 +804,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))
}
yyj28++
if yyhl28 {
@ -839,13 +839,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
}
} else {
if x.IPTablesMasqueradeBit == nil {
x.IPTablesMasqueradeBit = new(int)
x.IPTablesMasqueradeBit = new(int32)
}
yym35 := z.DecBinary()
_ = yym35
if false {
} else {
*((*int)(x.IPTablesMasqueradeBit)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.IPTablesMasqueradeBit)) = int32(r.DecodeInt(32))
}
}
yyj28++
@ -938,13 +938,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
}
} else {
if x.OOMScoreAdj == nil {
x.OOMScoreAdj = new(int)
x.OOMScoreAdj = new(int32)
}
yym42 := z.DecBinary()
_ = yym42
if false {
} else {
*((*int)(x.OOMScoreAdj)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.OOMScoreAdj)) = int32(r.DecodeInt(32))
}
}
yyj28++
@ -1034,7 +1034,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
if r.TryDecodeAsNil() {
x.ConntrackMax = 0
} else {
x.ConntrackMax = int(r.DecodeInt(codecSelferBitsize1234))
x.ConntrackMax = int32(r.DecodeInt(32))
}
yyj28++
if yyhl28 {
@ -3170,7 +3170,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if r.TryDecodeAsNil() {
x.RegistryBurst = 0
} else {
x.RegistryBurst = int(r.DecodeInt(codecSelferBitsize1234))
x.RegistryBurst = int32(r.DecodeInt(32))
}
case "eventRecordQPS":
if r.TryDecodeAsNil() {
@ -3182,7 +3182,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if r.TryDecodeAsNil() {
x.EventBurst = 0
} else {
x.EventBurst = int(r.DecodeInt(codecSelferBitsize1234))
x.EventBurst = int32(r.DecodeInt(32))
}
case "enableDebuggingHandlers":
if r.TryDecodeAsNil() {
@ -3209,13 +3209,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if r.TryDecodeAsNil() {
x.MaxPerPodContainerCount = 0
} else {
x.MaxPerPodContainerCount = int(r.DecodeInt(codecSelferBitsize1234))
x.MaxPerPodContainerCount = int32(r.DecodeInt(32))
}
case "maxContainerCount":
if r.TryDecodeAsNil() {
x.MaxContainerCount = 0
} else {
x.MaxContainerCount = int(r.DecodeInt(codecSelferBitsize1234))
x.MaxContainerCount = int32(r.DecodeInt(32))
}
case "cAdvisorPort":
if r.TryDecodeAsNil() {
@ -3227,7 +3227,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if r.TryDecodeAsNil() {
x.HealthzPort = 0
} else {
x.HealthzPort = int(r.DecodeInt(codecSelferBitsize1234))
x.HealthzPort = int32(r.DecodeInt(32))
}
case "healthzBindAddress":
if r.TryDecodeAsNil() {
@ -3239,7 +3239,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if r.TryDecodeAsNil() {
x.OOMScoreAdj = 0
} else {
x.OOMScoreAdj = int(r.DecodeInt(codecSelferBitsize1234))
x.OOMScoreAdj = int32(r.DecodeInt(32))
}
case "registerNode":
if r.TryDecodeAsNil() {
@ -3314,19 +3314,19 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if r.TryDecodeAsNil() {
x.ImageGCHighThresholdPercent = 0
} else {
x.ImageGCHighThresholdPercent = int(r.DecodeInt(codecSelferBitsize1234))
x.ImageGCHighThresholdPercent = int32(r.DecodeInt(32))
}
case "imageGCLowThresholdPercent":
if r.TryDecodeAsNil() {
x.ImageGCLowThresholdPercent = 0
} else {
x.ImageGCLowThresholdPercent = int(r.DecodeInt(codecSelferBitsize1234))
x.ImageGCLowThresholdPercent = int32(r.DecodeInt(32))
}
case "lowDiskSpaceThresholdMB":
if r.TryDecodeAsNil() {
x.LowDiskSpaceThresholdMB = 0
} else {
x.LowDiskSpaceThresholdMB = int(r.DecodeInt(codecSelferBitsize1234))
x.LowDiskSpaceThresholdMB = int32(r.DecodeInt(32))
}
case "volumeStatsAggPeriod":
if r.TryDecodeAsNil() {
@ -3449,7 +3449,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if r.TryDecodeAsNil() {
x.MaxPods = 0
} else {
x.MaxPods = int(r.DecodeInt(codecSelferBitsize1234))
x.MaxPods = int32(r.DecodeInt(32))
}
case "dockerExecHandlerName":
if r.TryDecodeAsNil() {
@ -3515,7 +3515,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if r.TryDecodeAsNil() {
x.KubeAPIBurst = 0
} else {
x.KubeAPIBurst = int(r.DecodeInt(codecSelferBitsize1234))
x.KubeAPIBurst = int32(r.DecodeInt(32))
}
case "serializeImagePulls":
if r.TryDecodeAsNil() {
@ -3999,7 +3999,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if r.TryDecodeAsNil() {
x.RegistryBurst = 0
} else {
x.RegistryBurst = int(r.DecodeInt(codecSelferBitsize1234))
x.RegistryBurst = int32(r.DecodeInt(32))
}
yyj97++
if yyhl97 {
@ -4031,7 +4031,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if r.TryDecodeAsNil() {
x.EventBurst = 0
} else {
x.EventBurst = int(r.DecodeInt(codecSelferBitsize1234))
x.EventBurst = int32(r.DecodeInt(32))
}
yyj97++
if yyhl97 {
@ -4088,7 +4088,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if r.TryDecodeAsNil() {
x.MaxPerPodContainerCount = 0
} else {
x.MaxPerPodContainerCount = int(r.DecodeInt(codecSelferBitsize1234))
x.MaxPerPodContainerCount = int32(r.DecodeInt(32))
}
yyj97++
if yyhl97 {
@ -4104,7 +4104,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if r.TryDecodeAsNil() {
x.MaxContainerCount = 0
} else {
x.MaxContainerCount = int(r.DecodeInt(codecSelferBitsize1234))
x.MaxContainerCount = int32(r.DecodeInt(32))
}
yyj97++
if yyhl97 {
@ -4136,7 +4136,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if r.TryDecodeAsNil() {
x.HealthzPort = 0
} else {
x.HealthzPort = int(r.DecodeInt(codecSelferBitsize1234))
x.HealthzPort = int32(r.DecodeInt(32))
}
yyj97++
if yyhl97 {
@ -4168,7 +4168,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if r.TryDecodeAsNil() {
x.OOMScoreAdj = 0
} else {
x.OOMScoreAdj = int(r.DecodeInt(codecSelferBitsize1234))
x.OOMScoreAdj = int32(r.DecodeInt(32))
}
yyj97++
if yyhl97 {
@ -4323,7 +4323,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if r.TryDecodeAsNil() {
x.ImageGCHighThresholdPercent = 0
} else {
x.ImageGCHighThresholdPercent = int(r.DecodeInt(codecSelferBitsize1234))
x.ImageGCHighThresholdPercent = int32(r.DecodeInt(32))
}
yyj97++
if yyhl97 {
@ -4339,7 +4339,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if r.TryDecodeAsNil() {
x.ImageGCLowThresholdPercent = 0
} else {
x.ImageGCLowThresholdPercent = int(r.DecodeInt(codecSelferBitsize1234))
x.ImageGCLowThresholdPercent = int32(r.DecodeInt(32))
}
yyj97++
if yyhl97 {
@ -4355,7 +4355,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if r.TryDecodeAsNil() {
x.LowDiskSpaceThresholdMB = 0
} else {
x.LowDiskSpaceThresholdMB = int(r.DecodeInt(codecSelferBitsize1234))
x.LowDiskSpaceThresholdMB = int32(r.DecodeInt(32))
}
yyj97++
if yyhl97 {
@ -4668,7 +4668,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if r.TryDecodeAsNil() {
x.MaxPods = 0
} else {
x.MaxPods = int(r.DecodeInt(codecSelferBitsize1234))
x.MaxPods = int32(r.DecodeInt(32))
}
yyj97++
if yyhl97 {
@ -4844,7 +4844,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if r.TryDecodeAsNil() {
x.KubeAPIBurst = 0
} else {
x.KubeAPIBurst = int(r.DecodeInt(codecSelferBitsize1234))
x.KubeAPIBurst = int32(r.DecodeInt(32))
}
yyj97++
if yyhl97 {
@ -5366,7 +5366,7 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.
if r.TryDecodeAsNil() {
x.Port = 0
} else {
x.Port = int(r.DecodeInt(codecSelferBitsize1234))
x.Port = int32(r.DecodeInt(32))
}
case "address":
if r.TryDecodeAsNil() {
@ -5408,7 +5408,7 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.
if r.TryDecodeAsNil() {
x.KubeAPIBurst = 0
} else {
x.KubeAPIBurst = int(r.DecodeInt(codecSelferBitsize1234))
x.KubeAPIBurst = int32(r.DecodeInt(32))
}
case "schedulerName":
if r.TryDecodeAsNil() {
@ -5463,7 +5463,7 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197
if r.TryDecodeAsNil() {
x.Port = 0
} else {
x.Port = int(r.DecodeInt(codecSelferBitsize1234))
x.Port = int32(r.DecodeInt(32))
}
yyj16++
if yyhl16 {
@ -5575,7 +5575,7 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197
if r.TryDecodeAsNil() {
x.KubeAPIBurst = 0
} else {
x.KubeAPIBurst = int(r.DecodeInt(codecSelferBitsize1234))
x.KubeAPIBurst = int32(r.DecodeInt(32))
}
yyj16++
if yyhl16 {
@ -7073,7 +7073,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
if r.TryDecodeAsNil() {
x.Port = 0
} else {
x.Port = int(r.DecodeInt(codecSelferBitsize1234))
x.Port = int32(r.DecodeInt(32))
}
case "address":
if r.TryDecodeAsNil() {
@ -7097,67 +7097,67 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
if r.TryDecodeAsNil() {
x.ConcurrentEndpointSyncs = 0
} else {
x.ConcurrentEndpointSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentEndpointSyncs = int32(r.DecodeInt(32))
}
case "concurrentRSSyncs":
if r.TryDecodeAsNil() {
x.ConcurrentRSSyncs = 0
} else {
x.ConcurrentRSSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentRSSyncs = int32(r.DecodeInt(32))
}
case "concurrentRCSyncs":
if r.TryDecodeAsNil() {
x.ConcurrentRCSyncs = 0
} else {
x.ConcurrentRCSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentRCSyncs = int32(r.DecodeInt(32))
}
case "concurrentResourceQuotaSyncs":
if r.TryDecodeAsNil() {
x.ConcurrentResourceQuotaSyncs = 0
} else {
x.ConcurrentResourceQuotaSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentResourceQuotaSyncs = int32(r.DecodeInt(32))
}
case "concurrentDeploymentSyncs":
if r.TryDecodeAsNil() {
x.ConcurrentDeploymentSyncs = 0
} else {
x.ConcurrentDeploymentSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentDeploymentSyncs = int32(r.DecodeInt(32))
}
case "concurrentDaemonSetSyncs":
if r.TryDecodeAsNil() {
x.ConcurrentDaemonSetSyncs = 0
} else {
x.ConcurrentDaemonSetSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentDaemonSetSyncs = int32(r.DecodeInt(32))
}
case "concurrentJobSyncs":
if r.TryDecodeAsNil() {
x.ConcurrentJobSyncs = 0
} else {
x.ConcurrentJobSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentJobSyncs = int32(r.DecodeInt(32))
}
case "concurrentNamespaceSyncs":
if r.TryDecodeAsNil() {
x.ConcurrentNamespaceSyncs = 0
} else {
x.ConcurrentNamespaceSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentNamespaceSyncs = int32(r.DecodeInt(32))
}
case "lookupCacheSizeForRC":
if r.TryDecodeAsNil() {
x.LookupCacheSizeForRC = 0
} else {
x.LookupCacheSizeForRC = int(r.DecodeInt(codecSelferBitsize1234))
x.LookupCacheSizeForRC = int32(r.DecodeInt(32))
}
case "lookupCacheSizeForRS":
if r.TryDecodeAsNil() {
x.LookupCacheSizeForRS = 0
} else {
x.LookupCacheSizeForRS = int(r.DecodeInt(codecSelferBitsize1234))
x.LookupCacheSizeForRS = int32(r.DecodeInt(32))
}
case "lookupCacheSizeForDaemonSet":
if r.TryDecodeAsNil() {
x.LookupCacheSizeForDaemonSet = 0
} else {
x.LookupCacheSizeForDaemonSet = int(r.DecodeInt(codecSelferBitsize1234))
x.LookupCacheSizeForDaemonSet = int32(r.DecodeInt(32))
}
case "serviceSyncPeriod":
if r.TryDecodeAsNil() {
@ -7253,7 +7253,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
if r.TryDecodeAsNil() {
x.TerminatedPodGCThreshold = 0
} else {
x.TerminatedPodGCThreshold = int(r.DecodeInt(codecSelferBitsize1234))
x.TerminatedPodGCThreshold = int32(r.DecodeInt(32))
}
case "horizontalPodAutoscalerSyncPeriod":
if r.TryDecodeAsNil() {
@ -7310,7 +7310,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
if r.TryDecodeAsNil() {
x.DeletingPodsBurst = 0
} else {
x.DeletingPodsBurst = int(r.DecodeInt(codecSelferBitsize1234))
x.DeletingPodsBurst = int32(r.DecodeInt(32))
}
case "nodeMonitorGracePeriod":
if r.TryDecodeAsNil() {
@ -7331,7 +7331,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
if r.TryDecodeAsNil() {
x.RegisterRetryCount = 0
} else {
x.RegisterRetryCount = int(r.DecodeInt(codecSelferBitsize1234))
x.RegisterRetryCount = int32(r.DecodeInt(32))
}
case "nodeStartupGracePeriod":
if r.TryDecodeAsNil() {
@ -7415,7 +7415,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
if r.TryDecodeAsNil() {
x.KubeAPIBurst = 0
} else {
x.KubeAPIBurst = int(r.DecodeInt(codecSelferBitsize1234))
x.KubeAPIBurst = int32(r.DecodeInt(32))
}
case "leaderElection":
if r.TryDecodeAsNil() {
@ -7486,7 +7486,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.Port = 0
} else {
x.Port = int(r.DecodeInt(codecSelferBitsize1234))
x.Port = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -7550,7 +7550,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.ConcurrentEndpointSyncs = 0
} else {
x.ConcurrentEndpointSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentEndpointSyncs = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -7566,7 +7566,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.ConcurrentRSSyncs = 0
} else {
x.ConcurrentRSSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentRSSyncs = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -7582,7 +7582,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.ConcurrentRCSyncs = 0
} else {
x.ConcurrentRCSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentRCSyncs = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -7598,7 +7598,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.ConcurrentResourceQuotaSyncs = 0
} else {
x.ConcurrentResourceQuotaSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentResourceQuotaSyncs = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -7614,7 +7614,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.ConcurrentDeploymentSyncs = 0
} else {
x.ConcurrentDeploymentSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentDeploymentSyncs = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -7630,7 +7630,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.ConcurrentDaemonSetSyncs = 0
} else {
x.ConcurrentDaemonSetSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentDaemonSetSyncs = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -7646,7 +7646,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.ConcurrentJobSyncs = 0
} else {
x.ConcurrentJobSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentJobSyncs = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -7662,7 +7662,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.ConcurrentNamespaceSyncs = 0
} else {
x.ConcurrentNamespaceSyncs = int(r.DecodeInt(codecSelferBitsize1234))
x.ConcurrentNamespaceSyncs = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -7678,7 +7678,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.LookupCacheSizeForRC = 0
} else {
x.LookupCacheSizeForRC = int(r.DecodeInt(codecSelferBitsize1234))
x.LookupCacheSizeForRC = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -7694,7 +7694,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.LookupCacheSizeForRS = 0
} else {
x.LookupCacheSizeForRS = int(r.DecodeInt(codecSelferBitsize1234))
x.LookupCacheSizeForRS = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -7710,7 +7710,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.LookupCacheSizeForDaemonSet = 0
} else {
x.LookupCacheSizeForDaemonSet = int(r.DecodeInt(codecSelferBitsize1234))
x.LookupCacheSizeForDaemonSet = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -7876,7 +7876,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.TerminatedPodGCThreshold = 0
} else {
x.TerminatedPodGCThreshold = int(r.DecodeInt(codecSelferBitsize1234))
x.TerminatedPodGCThreshold = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -7983,7 +7983,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.DeletingPodsBurst = 0
} else {
x.DeletingPodsBurst = int(r.DecodeInt(codecSelferBitsize1234))
x.DeletingPodsBurst = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -8024,7 +8024,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.RegisterRetryCount = 0
} else {
x.RegisterRetryCount = int(r.DecodeInt(codecSelferBitsize1234))
x.RegisterRetryCount = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -8218,7 +8218,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if r.TryDecodeAsNil() {
x.KubeAPIBurst = 0
} else {
x.KubeAPIBurst = int(r.DecodeInt(codecSelferBitsize1234))
x.KubeAPIBurst = int32(r.DecodeInt(32))
}
yyj62++
if yyhl62 {
@ -8752,13 +8752,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d
if r.TryDecodeAsNil() {
x.MaximumRetry = 0
} else {
x.MaximumRetry = int(r.DecodeInt(codecSelferBitsize1234))
x.MaximumRetry = int32(r.DecodeInt(32))
}
case "minimumTimeoutNFS":
if r.TryDecodeAsNil() {
x.MinimumTimeoutNFS = 0
} else {
x.MinimumTimeoutNFS = int(r.DecodeInt(codecSelferBitsize1234))
x.MinimumTimeoutNFS = int32(r.DecodeInt(32))
}
case "podTemplateFilePathNFS":
if r.TryDecodeAsNil() {
@ -8770,7 +8770,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d
if r.TryDecodeAsNil() {
x.IncrementTimeoutNFS = 0
} else {
x.IncrementTimeoutNFS = int(r.DecodeInt(codecSelferBitsize1234))
x.IncrementTimeoutNFS = int32(r.DecodeInt(32))
}
case "podTemplateFilePathHostPath":
if r.TryDecodeAsNil() {
@ -8782,13 +8782,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d
if r.TryDecodeAsNil() {
x.MinimumTimeoutHostPath = 0
} else {
x.MinimumTimeoutHostPath = int(r.DecodeInt(codecSelferBitsize1234))
x.MinimumTimeoutHostPath = int32(r.DecodeInt(32))
}
case "incrementTimeoutHostPath":
if r.TryDecodeAsNil() {
x.IncrementTimeoutHostPath = 0
} else {
x.IncrementTimeoutHostPath = int(r.DecodeInt(codecSelferBitsize1234))
x.IncrementTimeoutHostPath = int32(r.DecodeInt(32))
}
default:
z.DecStructFieldNotFound(-1, yys3)
@ -8818,7 +8818,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
if r.TryDecodeAsNil() {
x.MaximumRetry = 0
} else {
x.MaximumRetry = int(r.DecodeInt(codecSelferBitsize1234))
x.MaximumRetry = int32(r.DecodeInt(32))
}
yyj11++
if yyhl11 {
@ -8834,7 +8834,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
if r.TryDecodeAsNil() {
x.MinimumTimeoutNFS = 0
} else {
x.MinimumTimeoutNFS = int(r.DecodeInt(codecSelferBitsize1234))
x.MinimumTimeoutNFS = int32(r.DecodeInt(32))
}
yyj11++
if yyhl11 {
@ -8866,7 +8866,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
if r.TryDecodeAsNil() {
x.IncrementTimeoutNFS = 0
} else {
x.IncrementTimeoutNFS = int(r.DecodeInt(codecSelferBitsize1234))
x.IncrementTimeoutNFS = int32(r.DecodeInt(32))
}
yyj11++
if yyhl11 {
@ -8898,7 +8898,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
if r.TryDecodeAsNil() {
x.MinimumTimeoutHostPath = 0
} else {
x.MinimumTimeoutHostPath = int(r.DecodeInt(codecSelferBitsize1234))
x.MinimumTimeoutHostPath = int32(r.DecodeInt(32))
}
yyj11++
if yyhl11 {
@ -8914,7 +8914,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
if r.TryDecodeAsNil() {
x.IncrementTimeoutHostPath = 0
} else {
x.IncrementTimeoutHostPath = int(r.DecodeInt(codecSelferBitsize1234))
x.IncrementTimeoutHostPath = int32(r.DecodeInt(32))
}
for {
yyj11++

View File

@ -51,12 +51,12 @@ func autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyCon
out.BindAddress = in.BindAddress
out.ClusterCIDR = in.ClusterCIDR
out.HealthzBindAddress = in.HealthzBindAddress
out.HealthzPort = int(in.HealthzPort)
out.HealthzPort = in.HealthzPort
out.HostnameOverride = in.HostnameOverride
if in.IPTablesMasqueradeBit != nil {
in, out := &in.IPTablesMasqueradeBit, &out.IPTablesMasqueradeBit
*out = new(int)
**out = int(**in)
*out = new(int32)
**out = **in
} else {
out.IPTablesMasqueradeBit = nil
}
@ -69,8 +69,8 @@ func autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyCon
out.Master = in.Master
if in.OOMScoreAdj != nil {
in, out := &in.OOMScoreAdj, &out.OOMScoreAdj
*out = new(int)
**out = int(**in)
*out = new(int32)
**out = **in
} else {
out.OOMScoreAdj = nil
}
@ -81,7 +81,7 @@ func autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyCon
if err := s.Convert(&in.UDPIdleTimeout, &out.UDPIdleTimeout, 0); err != nil {
return err
}
out.ConntrackMax = int(in.ConntrackMax)
out.ConntrackMax = in.ConntrackMax
// TODO: Inefficient conversion - can we improve it?
if err := s.Convert(&in.ConntrackTCPEstablishedTimeout, &out.ConntrackTCPEstablishedTimeout, 0); err != nil {
return err
@ -103,12 +103,12 @@ func autoConvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyCon
out.BindAddress = in.BindAddress
out.ClusterCIDR = in.ClusterCIDR
out.HealthzBindAddress = in.HealthzBindAddress
out.HealthzPort = int32(in.HealthzPort)
out.HealthzPort = in.HealthzPort
out.HostnameOverride = in.HostnameOverride
if in.IPTablesMasqueradeBit != nil {
in, out := &in.IPTablesMasqueradeBit, &out.IPTablesMasqueradeBit
*out = new(int32)
**out = int32(**in)
**out = **in
} else {
out.IPTablesMasqueradeBit = nil
}
@ -122,7 +122,7 @@ func autoConvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyCon
if in.OOMScoreAdj != nil {
in, out := &in.OOMScoreAdj, &out.OOMScoreAdj
*out = new(int32)
**out = int32(**in)
**out = **in
} else {
out.OOMScoreAdj = nil
}
@ -133,7 +133,7 @@ func autoConvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyCon
if err := s.Convert(&in.UDPIdleTimeout, &out.UDPIdleTimeout, 0); err != nil {
return err
}
out.ConntrackMax = int32(in.ConntrackMax)
out.ConntrackMax = in.ConntrackMax
// TODO: Inefficient conversion - can we improve it?
if err := s.Convert(&in.ConntrackTCPEstablishedTimeout, &out.ConntrackTCPEstablishedTimeout, 0); err != nil {
return err
@ -152,7 +152,7 @@ func autoConvert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSche
if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil {
return err
}
out.Port = in.Port
out.Port = int32(in.Port)
out.Address = in.Address
out.AlgorithmProvider = in.AlgorithmProvider
out.PolicyConfigFile = in.PolicyConfigFile
@ -161,7 +161,7 @@ func autoConvert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSche
}
out.ContentType = in.ContentType
out.KubeAPIQPS = in.KubeAPIQPS
out.KubeAPIBurst = in.KubeAPIBurst
out.KubeAPIBurst = int32(in.KubeAPIBurst)
out.SchedulerName = in.SchedulerName
if err := Convert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration(&in.LeaderElection, &out.LeaderElection, s); err != nil {
return err
@ -180,7 +180,7 @@ func autoConvert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSche
if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil {
return err
}
out.Port = in.Port
out.Port = int(in.Port)
out.Address = in.Address
out.AlgorithmProvider = in.AlgorithmProvider
out.PolicyConfigFile = in.PolicyConfigFile
@ -189,7 +189,7 @@ func autoConvert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSche
}
out.ContentType = in.ContentType
out.KubeAPIQPS = in.KubeAPIQPS
out.KubeAPIBurst = in.KubeAPIBurst
out.KubeAPIBurst = int(in.KubeAPIBurst)
out.SchedulerName = in.SchedulerName
if err := Convert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration(&in.LeaderElection, &out.LeaderElection, s); err != nil {
return err

View File

@ -281,7 +281,7 @@ func DeepCopy_extensions_DeploymentSpec(in DeploymentSpec, out *DeploymentSpec,
out.MinReadySeconds = in.MinReadySeconds
if in.RevisionHistoryLimit != nil {
in, out := in.RevisionHistoryLimit, &out.RevisionHistoryLimit
*out = new(int)
*out = new(int32)
**out = *in
} else {
out.RevisionHistoryLimit = nil
@ -388,7 +388,7 @@ func DeepCopy_extensions_HorizontalPodAutoscalerSpec(in HorizontalPodAutoscalerS
}
if in.MinReplicas != nil {
in, out := in.MinReplicas, &out.MinReplicas
*out = new(int)
*out = new(int32)
**out = *in
} else {
out.MinReplicas = nil
@ -427,7 +427,7 @@ func DeepCopy_extensions_HorizontalPodAutoscalerStatus(in HorizontalPodAutoscale
out.DesiredReplicas = in.DesiredReplicas
if in.CurrentCPUUtilizationPercentage != nil {
in, out := in.CurrentCPUUtilizationPercentage, &out.CurrentCPUUtilizationPercentage
*out = new(int)
*out = new(int32)
**out = *in
} else {
out.CurrentCPUUtilizationPercentage = nil

View File

@ -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, yys3)
@ -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 {
yyj5++
@ -396,7 +396,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() {
@ -443,7 +443,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))
}
yyj7++
if yyhl7 {
@ -1475,7 +1475,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, yys3)
@ -1505,7 +1505,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 {
yyj5++
@ -2540,20 +2540,20 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978
}
} else {
if x.MinReplicas == nil {
x.MinReplicas = new(int)
x.MinReplicas = new(int32)
}
yym6 := z.DecBinary()
_ = yym6
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() {
@ -2614,13 +2614,13 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19
}
} else {
if x.MinReplicas == nil {
x.MinReplicas = new(int)
x.MinReplicas = new(int32)
}
yym12 := z.DecBinary()
_ = yym12
if false {
} else {
*((*int)(x.MinReplicas)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32))
}
}
yyj9++
@ -2637,7 +2637,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))
}
yyj9++
if yyhl9 {
@ -2962,13 +2962,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() {
@ -2977,13 +2977,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19
}
} else {
if x.CurrentCPUUtilizationPercentage == nil {
x.CurrentCPUUtilizationPercentage = new(int)
x.CurrentCPUUtilizationPercentage = new(int32)
}
yym11 := z.DecBinary()
_ = yym11
if false {
} else {
*((*int)(x.CurrentCPUUtilizationPercentage)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32))
}
}
default:
@ -3071,7 +3071,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))
}
yyj12++
if yyhl12 {
@ -3087,7 +3087,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))
}
yyj12++
if yyhl12 {
@ -3106,13 +3106,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec
}
} else {
if x.CurrentCPUUtilizationPercentage == nil {
x.CurrentCPUUtilizationPercentage = new(int)
x.CurrentCPUUtilizationPercentage = new(int32)
}
yym20 := z.DecBinary()
_ = yym20
if false {
} else {
*((*int)(x.CurrentCPUUtilizationPercentage)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32))
}
}
for {
@ -5674,7 +5674,7 @@ func (x *DeploymentSpec) 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() {
@ -5711,7 +5711,7 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() {
x.MinReadySeconds = 0
} else {
x.MinReadySeconds = int(r.DecodeInt(codecSelferBitsize1234))
x.MinReadySeconds = int32(r.DecodeInt(32))
}
case "revisionHistoryLimit":
if r.TryDecodeAsNil() {
@ -5720,13 +5720,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
}
} else {
if x.RevisionHistoryLimit == nil {
x.RevisionHistoryLimit = new(int)
x.RevisionHistoryLimit = new(int32)
}
yym11 := z.DecBinary()
_ = yym11
if false {
} else {
*((*int)(x.RevisionHistoryLimit)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32))
}
}
case "paused":
@ -5774,7 +5774,7 @@ func (x *DeploymentSpec) 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))
}
yyj14++
if yyhl14 {
@ -5851,7 +5851,7 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if r.TryDecodeAsNil() {
x.MinReadySeconds = 0
} else {
x.MinReadySeconds = int(r.DecodeInt(codecSelferBitsize1234))
x.MinReadySeconds = int32(r.DecodeInt(32))
}
yyj14++
if yyhl14 {
@ -5870,13 +5870,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
}
} else {
if x.RevisionHistoryLimit == nil {
x.RevisionHistoryLimit = new(int)
x.RevisionHistoryLimit = new(int32)
}
yym22 := z.DecBinary()
_ = yym22
if false {
} else {
*((*int)(x.RevisionHistoryLimit)) = int(r.DecodeInt(codecSelferBitsize1234))
*((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32))
}
}
yyj14++
@ -7203,25 +7203,25 @@ 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))
}
case "availableReplicas":
if r.TryDecodeAsNil() {
x.AvailableReplicas = 0
} else {
x.AvailableReplicas = int(r.DecodeInt(codecSelferBitsize1234))
x.AvailableReplicas = int32(r.DecodeInt(32))
}
case "unavailableReplicas":
if r.TryDecodeAsNil() {
x.UnavailableReplicas = 0
} else {
x.UnavailableReplicas = int(r.DecodeInt(codecSelferBitsize1234))
x.UnavailableReplicas = int32(r.DecodeInt(32))
}
default:
z.DecStructFieldNotFound(-1, yys3)
@ -7267,7 +7267,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))
}
yyj9++
if yyhl9 {
@ -7283,7 +7283,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))
}
yyj9++
if yyhl9 {
@ -7299,7 +7299,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if r.TryDecodeAsNil() {
x.AvailableReplicas = 0
} else {
x.AvailableReplicas = int(r.DecodeInt(codecSelferBitsize1234))
x.AvailableReplicas = int32(r.DecodeInt(32))
}
yyj9++
if yyhl9 {
@ -7315,7 +7315,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if r.TryDecodeAsNil() {
x.UnavailableReplicas = 0
} else {
x.UnavailableReplicas = int(r.DecodeInt(codecSelferBitsize1234))
x.UnavailableReplicas = int32(r.DecodeInt(32))
}
for {
yyj9++
@ -8065,19 +8065,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, yys3)
@ -8107,7 +8107,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))
}
yyj7++
if yyhl7 {
@ -8123,7 +8123,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))
}
yyj7++
if yyhl7 {
@ -8139,7 +8139,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 {
yyj7++
@ -12480,7 +12480,7 @@ func (x *ReplicaSetSpec) 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() {
@ -12534,7 +12534,7 @@ func (x *ReplicaSetSpec) 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))
}
yyj8++
if yyhl8 {
@ -12762,13 +12762,13 @@ func (x *ReplicaSetStatus) 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 "fullyLabeledReplicas":
if r.TryDecodeAsNil() {
x.FullyLabeledReplicas = 0
} else {
x.FullyLabeledReplicas = int(r.DecodeInt(codecSelferBitsize1234))
x.FullyLabeledReplicas = int32(r.DecodeInt(32))
}
case "observedGeneration":
if r.TryDecodeAsNil() {
@ -12804,7 +12804,7 @@ func (x *ReplicaSetStatus) 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))
}
yyj7++
if yyhl7 {
@ -12820,7 +12820,7 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if r.TryDecodeAsNil() {
x.FullyLabeledReplicas = 0
} else {
x.FullyLabeledReplicas = int(r.DecodeInt(codecSelferBitsize1234))
x.FullyLabeledReplicas = int32(r.DecodeInt(32))
}
yyj7++
if yyhl7 {
@ -15289,7 +15289,7 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos
yyrg1 := len(yyv1) > 0
yyv21 := yyv1
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 320)
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 312)
if yyrt1 {
if yyrl1 <= cap(yyv1) {
yyv1 = yyv1[:yyrl1]
@ -15646,7 +15646,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode
yyrg1 := len(yyv1) > 0
yyv21 := yyv1
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 664)
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 648)
if yyrt1 {
if yyrl1 <= cap(yyv1) {
yyv1 = yyv1[:yyrl1]
@ -15765,7 +15765,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder)
yyrg1 := len(yyv1) > 0
yyv21 := yyv1
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 584)
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 576)
if yyrt1 {
if yyrl1 <= cap(yyv1) {
yyv1 = yyv1[:yyrl1]
@ -16479,7 +16479,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode
yyrg1 := len(yyv1) > 0
yyv21 := yyv1
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 592)
yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 584)
if yyrt1 {
if yyrl1 <= cap(yyv1) {
yyv1 = yyv1[:yyrl1]

View File

@ -184,7 +184,7 @@ func autoConvert_v1beta1_CPUTargetUtilization_To_extensions_CPUTargetUtilization
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*CPUTargetUtilization))(in)
}
out.TargetPercentage = int(in.TargetPercentage)
out.TargetPercentage = in.TargetPercentage
return nil
}
@ -196,7 +196,7 @@ func autoConvert_extensions_CPUTargetUtilization_To_v1beta1_CPUTargetUtilization
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*extensions.CPUTargetUtilization))(in)
}
out.TargetPercentage = int32(in.TargetPercentage)
out.TargetPercentage = in.TargetPercentage
return nil
}
@ -508,9 +508,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 = int(in.CurrentNumberScheduled)
out.NumberMisscheduled = int(in.NumberMisscheduled)
out.DesiredNumberScheduled = int(in.DesiredNumberScheduled)
out.CurrentNumberScheduled = in.CurrentNumberScheduled
out.NumberMisscheduled = in.NumberMisscheduled
out.DesiredNumberScheduled = in.DesiredNumberScheduled
return nil
}
@ -522,9 +522,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 = int32(in.CurrentNumberScheduled)
out.NumberMisscheduled = int32(in.NumberMisscheduled)
out.DesiredNumberScheduled = int32(in.DesiredNumberScheduled)
out.CurrentNumberScheduled = in.CurrentNumberScheduled
out.NumberMisscheduled = in.NumberMisscheduled
out.DesiredNumberScheduled = in.DesiredNumberScheduled
return nil
}
@ -695,10 +695,10 @@ func autoConvert_v1beta1_DeploymentStatus_To_extensions_DeploymentStatus(in *Dep
defaulting.(func(*DeploymentStatus))(in)
}
out.ObservedGeneration = in.ObservedGeneration
out.Replicas = int(in.Replicas)
out.UpdatedReplicas = int(in.UpdatedReplicas)
out.AvailableReplicas = int(in.AvailableReplicas)
out.UnavailableReplicas = int(in.UnavailableReplicas)
out.Replicas = in.Replicas
out.UpdatedReplicas = in.UpdatedReplicas
out.AvailableReplicas = in.AvailableReplicas
out.UnavailableReplicas = in.UnavailableReplicas
return nil
}
@ -711,10 +711,10 @@ func autoConvert_extensions_DeploymentStatus_To_v1beta1_DeploymentStatus(in *ext
defaulting.(func(*extensions.DeploymentStatus))(in)
}
out.ObservedGeneration = in.ObservedGeneration
out.Replicas = int32(in.Replicas)
out.UpdatedReplicas = int32(in.UpdatedReplicas)
out.AvailableReplicas = int32(in.AvailableReplicas)
out.UnavailableReplicas = int32(in.UnavailableReplicas)
out.Replicas = in.Replicas
out.UpdatedReplicas = in.UpdatedReplicas
out.AvailableReplicas = in.AvailableReplicas
out.UnavailableReplicas = in.UnavailableReplicas
return nil
}
@ -943,12 +943,12 @@ func autoConvert_v1beta1_HorizontalPodAutoscalerSpec_To_extensions_HorizontalPod
}
if in.MinReplicas != nil {
in, out := &in.MinReplicas, &out.MinReplicas
*out = new(int)
**out = int(**in)
*out = new(int32)
**out = **in
} else {
out.MinReplicas = nil
}
out.MaxReplicas = int(in.MaxReplicas)
out.MaxReplicas = in.MaxReplicas
if in.CPUUtilization != nil {
in, out := &in.CPUUtilization, &out.CPUUtilization
*out = new(extensions.CPUTargetUtilization)
@ -975,11 +975,11 @@ func autoConvert_extensions_HorizontalPodAutoscalerSpec_To_v1beta1_HorizontalPod
if in.MinReplicas != nil {
in, out := &in.MinReplicas, &out.MinReplicas
*out = new(int32)
**out = int32(**in)
**out = **in
} else {
out.MinReplicas = nil
}
out.MaxReplicas = int32(in.MaxReplicas)
out.MaxReplicas = in.MaxReplicas
if in.CPUUtilization != nil {
in, out := &in.CPUUtilization, &out.CPUUtilization
*out = new(CPUTargetUtilization)
@ -1016,12 +1016,12 @@ func autoConvert_v1beta1_HorizontalPodAutoscalerStatus_To_extensions_HorizontalP
} else {
out.LastScaleTime = nil
}
out.CurrentReplicas = int(in.CurrentReplicas)
out.DesiredReplicas = int(in.DesiredReplicas)
out.CurrentReplicas = in.CurrentReplicas
out.DesiredReplicas = in.DesiredReplicas
if in.CurrentCPUUtilizationPercentage != nil {
in, out := &in.CurrentCPUUtilizationPercentage, &out.CurrentCPUUtilizationPercentage
*out = new(int)
**out = int(**in)
*out = new(int32)
**out = **in
} else {
out.CurrentCPUUtilizationPercentage = nil
}
@ -1052,12 +1052,12 @@ func autoConvert_extensions_HorizontalPodAutoscalerStatus_To_v1beta1_HorizontalP
} else {
out.LastScaleTime = nil
}
out.CurrentReplicas = int32(in.CurrentReplicas)
out.DesiredReplicas = int32(in.DesiredReplicas)
out.CurrentReplicas = in.CurrentReplicas
out.DesiredReplicas = in.DesiredReplicas
if in.CurrentCPUUtilizationPercentage != nil {
in, out := &in.CurrentCPUUtilizationPercentage, &out.CurrentCPUUtilizationPercentage
*out = new(int32)
**out = int32(**in)
**out = **in
} else {
out.CurrentCPUUtilizationPercentage = nil
}
@ -1655,9 +1655,9 @@ func autoConvert_v1beta1_JobStatus_To_batch_JobStatus(in *JobStatus, out *batch.
} else {
out.CompletionTime = nil
}
out.Active = int(in.Active)
out.Succeeded = int(in.Succeeded)
out.Failed = int(in.Failed)
out.Active = in.Active
out.Succeeded = in.Succeeded
out.Failed = in.Failed
return nil
}
@ -1698,9 +1698,9 @@ func autoConvert_batch_JobStatus_To_v1beta1_JobStatus(in *batch.JobStatus, out *
} else {
out.CompletionTime = nil
}
out.Active = int32(in.Active)
out.Succeeded = int32(in.Succeeded)
out.Failed = int32(in.Failed)
out.Active = in.Active
out.Succeeded = in.Succeeded
out.Failed = in.Failed
return nil
}
@ -2116,8 +2116,8 @@ func autoConvert_v1beta1_ReplicaSetStatus_To_extensions_ReplicaSetStatus(in *Rep
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*ReplicaSetStatus))(in)
}
out.Replicas = int(in.Replicas)
out.FullyLabeledReplicas = int(in.FullyLabeledReplicas)
out.Replicas = in.Replicas
out.FullyLabeledReplicas = in.FullyLabeledReplicas
out.ObservedGeneration = in.ObservedGeneration
return nil
}
@ -2130,8 +2130,8 @@ func autoConvert_extensions_ReplicaSetStatus_To_v1beta1_ReplicaSetStatus(in *ext
if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
defaulting.(func(*extensions.ReplicaSetStatus))(in)
}
out.Replicas = int32(in.Replicas)
out.FullyLabeledReplicas = int32(in.FullyLabeledReplicas)
out.Replicas = in.Replicas
out.FullyLabeledReplicas = in.FullyLabeledReplicas
out.ObservedGeneration = in.ObservedGeneration
return nil
}
@ -2334,7 +2334,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 = int(in.Replicas)
out.Replicas = in.Replicas
return nil
}
@ -2346,7 +2346,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 = int32(in.Replicas)
out.Replicas = in.Replicas
return nil
}