Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
8d0187ad
Unverified
Commit
8d0187ad
authored
Apr 27, 2016
by
Clayton Coleman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Generation changes
parent
cf133ee0
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
332 additions
and
332 deletions
+332
-332
deep_copy_generated.go
pkg/api/deep_copy_generated.go
+1
-1
types.generated.go
pkg/api/types.generated.go
+51
-51
conversion_generated.go
pkg/api/v1/conversion_generated.go
+45
-45
types.generated.go
pkg/apis/autoscaling/types.generated.go
+4
-4
conversion_generated.go
pkg/apis/autoscaling/v1/conversion_generated.go
+11
-11
deep_copy_generated.go
pkg/apis/batch/deep_copy_generated.go
+2
-2
types.generated.go
pkg/apis/batch/types.generated.go
+15
-15
conversion_generated.go
pkg/apis/batch/v1/conversion_generated.go
+12
-12
deep_copy_generated.go
pkg/apis/componentconfig/deep_copy_generated.go
+2
-2
types.generated.go
pkg/apis/componentconfig/types.generated.go
+80
-80
conversion_generated.go
pkg/apis/componentconfig/v1alpha1/conversion_generated.go
+14
-14
deep_copy_generated.go
pkg/apis/extensions/deep_copy_generated.go
+3
-3
types.generated.go
pkg/apis/extensions/types.generated.go
+52
-52
conversion_generated.go
pkg/apis/extensions/v1beta1/conversion_generated.go
+40
-40
No files found.
pkg/api/deep_copy_generated.go
View file @
8d0187ad
...
@@ -889,7 +889,7 @@ func DeepCopy_api_FCVolumeSource(in FCVolumeSource, out *FCVolumeSource, c *conv
...
@@ -889,7 +889,7 @@ func DeepCopy_api_FCVolumeSource(in FCVolumeSource, out *FCVolumeSource, c *conv
}
}
if
in
.
Lun
!=
nil
{
if
in
.
Lun
!=
nil
{
in
,
out
:=
in
.
Lun
,
&
out
.
Lun
in
,
out
:=
in
.
Lun
,
&
out
.
Lun
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
*
in
**
out
=
*
in
}
else
{
}
else
{
out
.
Lun
=
nil
out
.
Lun
=
nil
...
...
pkg/api/types.generated.go
View file @
8d0187ad
...
@@ -8958,7 +8958,7 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19
...
@@ -8958,7 +8958,7 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Partition
=
0
x
.
Partition
=
0
}
else
{
}
else
{
x
.
Partition
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Partition
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"readOnly"
:
case
"readOnly"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -9026,7 +9026,7 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec
...
@@ -9026,7 +9026,7 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Partition
=
0
x
.
Partition
=
0
}
else
{
}
else
{
x
.
Partition
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Partition
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj8
++
yyj8
++
if
yyhl8
{
if
yyhl8
{
...
@@ -9323,7 +9323,7 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder)
...
@@ -9323,7 +9323,7 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder)
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Lun
=
0
x
.
Lun
=
0
}
else
{
}
else
{
x
.
Lun
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Lun
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"iscsiInterface"
:
case
"iscsiInterface"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -9403,7 +9403,7 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder
...
@@ -9403,7 +9403,7 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Lun
=
0
x
.
Lun
=
0
}
else
{
}
else
{
x
.
Lun
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Lun
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj10
++
yyj10
++
if
yyhl10
{
if
yyhl10
{
...
@@ -9687,13 +9687,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -9687,13 +9687,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
}
}
}
else
{
}
else
{
if
x
.
Lun
==
nil
{
if
x
.
Lun
==
nil
{
x
.
Lun
=
new
(
int
)
x
.
Lun
=
new
(
int
32
)
}
}
yym7
:=
z
.
DecBinary
()
yym7
:=
z
.
DecBinary
()
_
=
yym7
_
=
yym7
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
Lun
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
Lun
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
case
"fsType"
:
case
"fsType"
:
...
@@ -9761,13 +9761,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -9761,13 +9761,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
}
}
}
else
{
}
else
{
if
x
.
Lun
==
nil
{
if
x
.
Lun
==
nil
{
x
.
Lun
=
new
(
int
)
x
.
Lun
=
new
(
int
32
)
}
}
yym14
:=
z
.
DecBinary
()
yym14
:=
z
.
DecBinary
()
_
=
yym14
_
=
yym14
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
Lun
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
Lun
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
yyj10
++
yyj10
++
...
@@ -10404,7 +10404,7 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code
...
@@ -10404,7 +10404,7 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Partition
=
0
x
.
Partition
=
0
}
else
{
}
else
{
x
.
Partition
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Partition
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"readOnly"
:
case
"readOnly"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -10472,7 +10472,7 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co
...
@@ -10472,7 +10472,7 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Partition
=
0
x
.
Partition
=
0
}
else
{
}
else
{
x
.
Partition
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Partition
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj8
++
yyj8
++
if
yyhl8
{
if
yyhl8
{
...
@@ -14060,13 +14060,13 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -14060,13 +14060,13 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
HostPort
=
0
x
.
HostPort
=
0
}
else
{
}
else
{
x
.
HostPort
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
HostPort
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"containerPort"
:
case
"containerPort"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ContainerPort
=
0
x
.
ContainerPort
=
0
}
else
{
}
else
{
x
.
ContainerPort
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ContainerPort
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"protocol"
:
case
"protocol"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -14124,7 +14124,7 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -14124,7 +14124,7 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
HostPort
=
0
x
.
HostPort
=
0
}
else
{
}
else
{
x
.
HostPort
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
HostPort
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj9
++
yyj9
++
if
yyhl9
{
if
yyhl9
{
...
@@ -14140,7 +14140,7 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -14140,7 +14140,7 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ContainerPort
=
0
x
.
ContainerPort
=
0
}
else
{
}
else
{
x
.
ContainerPort
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ContainerPort
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj9
++
yyj9
++
if
yyhl9
{
if
yyhl9
{
...
@@ -16954,31 +16954,31 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -16954,31 +16954,31 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
InitialDelaySeconds
=
0
x
.
InitialDelaySeconds
=
0
}
else
{
}
else
{
x
.
InitialDelaySeconds
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
InitialDelaySeconds
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"timeoutSeconds"
:
case
"timeoutSeconds"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
TimeoutSeconds
=
0
x
.
TimeoutSeconds
=
0
}
else
{
}
else
{
x
.
TimeoutSeconds
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
TimeoutSeconds
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"periodSeconds"
:
case
"periodSeconds"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
PeriodSeconds
=
0
x
.
PeriodSeconds
=
0
}
else
{
}
else
{
x
.
PeriodSeconds
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
PeriodSeconds
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"successThreshold"
:
case
"successThreshold"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
SuccessThreshold
=
0
x
.
SuccessThreshold
=
0
}
else
{
}
else
{
x
.
SuccessThreshold
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
SuccessThreshold
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"failureThreshold"
:
case
"failureThreshold"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
FailureThreshold
=
0
x
.
FailureThreshold
=
0
}
else
{
}
else
{
x
.
FailureThreshold
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
FailureThreshold
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"exec"
:
case
"exec"
:
if
x
.
Handler
.
Exec
==
nil
{
if
x
.
Handler
.
Exec
==
nil
{
...
@@ -17050,7 +17050,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -17050,7 +17050,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
InitialDelaySeconds
=
0
x
.
InitialDelaySeconds
=
0
}
else
{
}
else
{
x
.
InitialDelaySeconds
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
InitialDelaySeconds
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj12
++
yyj12
++
if
yyhl12
{
if
yyhl12
{
...
@@ -17066,7 +17066,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -17066,7 +17066,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
TimeoutSeconds
=
0
x
.
TimeoutSeconds
=
0
}
else
{
}
else
{
x
.
TimeoutSeconds
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
TimeoutSeconds
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj12
++
yyj12
++
if
yyhl12
{
if
yyhl12
{
...
@@ -17082,7 +17082,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -17082,7 +17082,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
PeriodSeconds
=
0
x
.
PeriodSeconds
=
0
}
else
{
}
else
{
x
.
PeriodSeconds
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
PeriodSeconds
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj12
++
yyj12
++
if
yyhl12
{
if
yyhl12
{
...
@@ -17098,7 +17098,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -17098,7 +17098,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
SuccessThreshold
=
0
x
.
SuccessThreshold
=
0
}
else
{
}
else
{
x
.
SuccessThreshold
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
SuccessThreshold
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj12
++
yyj12
++
if
yyhl12
{
if
yyhl12
{
...
@@ -17114,7 +17114,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -17114,7 +17114,7 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
FailureThreshold
=
0
x
.
FailureThreshold
=
0
}
else
{
}
else
{
x
.
FailureThreshold
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
FailureThreshold
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
if
x
.
Handler
.
Exec
==
nil
{
if
x
.
Handler
.
Exec
==
nil
{
x
.
Handler
.
Exec
=
new
(
ExecAction
)
x
.
Handler
.
Exec
=
new
(
ExecAction
)
...
@@ -20072,13 +20072,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De
...
@@ -20072,13 +20072,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ExitCode
=
0
x
.
ExitCode
=
0
}
else
{
}
else
{
x
.
ExitCode
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ExitCode
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"signal"
:
case
"signal"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Signal
=
0
x
.
Signal
=
0
}
else
{
}
else
{
x
.
Signal
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Signal
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"reason"
:
case
"reason"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -20160,7 +20160,7 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978.
...
@@ -20160,7 +20160,7 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978.
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ExitCode
=
0
x
.
ExitCode
=
0
}
else
{
}
else
{
x
.
ExitCode
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ExitCode
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj13
++
yyj13
++
if
yyhl13
{
if
yyhl13
{
...
@@ -20176,7 +20176,7 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978.
...
@@ -20176,7 +20176,7 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978.
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Signal
=
0
x
.
Signal
=
0
}
else
{
}
else
{
x
.
Signal
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Signal
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj13
++
yyj13
++
if
yyhl13
{
if
yyhl13
{
...
@@ -20863,7 +20863,7 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -20863,7 +20863,7 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
RestartCount
=
0
x
.
RestartCount
=
0
}
else
{
}
else
{
x
.
RestartCount
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
RestartCount
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"image"
:
case
"image"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -20977,7 +20977,7 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
...
@@ -20977,7 +20977,7 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
RestartCount
=
0
x
.
RestartCount
=
0
}
else
{
}
else
{
x
.
RestartCount
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
RestartCount
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj12
++
yyj12
++
if
yyhl12
{
if
yyhl12
{
...
@@ -23132,7 +23132,7 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec
...
@@ -23132,7 +23132,7 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Weight
=
0
x
.
Weight
=
0
}
else
{
}
else
{
x
.
Weight
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Weight
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"preference"
:
case
"preference"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -23169,7 +23169,7 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D
...
@@ -23169,7 +23169,7 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Weight
=
0
x
.
Weight
=
0
}
else
{
}
else
{
x
.
Weight
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Weight
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj6
++
yyj6
++
if
yyhl6
{
if
yyhl6
{
...
@@ -26921,7 +26921,7 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D
...
@@ -26921,7 +26921,7 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"selector"
:
case
"selector"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -26974,7 +26974,7 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978
...
@@ -26974,7 +26974,7 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj8
++
yyj8
++
if
yyhl8
{
if
yyhl8
{
...
@@ -27201,13 +27201,13 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978
...
@@ -27201,13 +27201,13 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"fullyLabeledReplicas"
:
case
"fullyLabeledReplicas"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
FullyLabeledReplicas
=
0
x
.
FullyLabeledReplicas
=
0
}
else
{
}
else
{
x
.
FullyLabeledReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
FullyLabeledReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"observedGeneration"
:
case
"observedGeneration"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -27243,7 +27243,7 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19
...
@@ -27243,7 +27243,7 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj7
++
yyj7
++
if
yyhl7
{
if
yyhl7
{
...
@@ -27259,7 +27259,7 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19
...
@@ -27259,7 +27259,7 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
FullyLabeledReplicas
=
0
x
.
FullyLabeledReplicas
=
0
}
else
{
}
else
{
x
.
FullyLabeledReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
FullyLabeledReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj7
++
yyj7
++
if
yyhl7
{
if
yyhl7
{
...
@@ -29628,7 +29628,7 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -29628,7 +29628,7 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Port
=
0
x
.
Port
=
0
}
else
{
}
else
{
x
.
Port
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Port
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"targetPort"
:
case
"targetPort"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -29649,7 +29649,7 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -29649,7 +29649,7 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
NodePort
=
0
x
.
NodePort
=
0
}
else
{
}
else
{
x
.
NodePort
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
NodePort
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
default
:
default
:
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
...
@@ -29711,7 +29711,7 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -29711,7 +29711,7 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Port
=
0
x
.
Port
=
0
}
else
{
}
else
{
x
.
Port
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Port
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj10
++
yyj10
++
if
yyhl10
{
if
yyhl10
{
...
@@ -29752,7 +29752,7 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -29752,7 +29752,7 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
NodePort
=
0
x
.
NodePort
=
0
}
else
{
}
else
{
x
.
NodePort
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
NodePort
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
for
{
for
{
yyj10
++
yyj10
++
...
@@ -31876,7 +31876,7 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -31876,7 +31876,7 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Port
=
0
x
.
Port
=
0
}
else
{
}
else
{
x
.
Port
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Port
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"Protocol"
:
case
"Protocol"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -31928,7 +31928,7 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -31928,7 +31928,7 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Port
=
0
x
.
Port
=
0
}
else
{
}
else
{
x
.
Port
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Port
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj7
++
yyj7
++
if
yyhl7
{
if
yyhl7
{
...
@@ -32733,7 +32733,7 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -32733,7 +32733,7 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Port
=
0
x
.
Port
=
0
}
else
{
}
else
{
x
.
Port
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Port
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
default
:
default
:
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
...
@@ -32763,7 +32763,7 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -32763,7 +32763,7 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Port
=
0
x
.
Port
=
0
}
else
{
}
else
{
x
.
Port
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Port
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
for
{
for
{
yyj5
++
yyj5
++
...
@@ -42461,7 +42461,7 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -42461,7 +42461,7 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Count
=
0
x
.
Count
=
0
}
else
{
}
else
{
x
.
Count
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Count
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"type"
:
case
"type"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -42646,7 +42646,7 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -42646,7 +42646,7 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Count
=
0
x
.
Count
=
0
}
else
{
}
else
{
x
.
Count
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Count
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj17
++
yyj17
++
if
yyhl17
{
if
yyhl17
{
...
@@ -50300,7 +50300,7 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978.
...
@@ -50300,7 +50300,7 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978.
yyrg1
:=
len
(
yyv1
)
>
0
yyrg1
:=
len
(
yyv1
)
>
0
yyv21
:=
yyv1
yyv21
:=
yyv1
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
64
)
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
56
)
if
yyrt1
{
if
yyrt1
{
if
yyrl1
<=
cap
(
yyv1
)
{
if
yyrl1
<=
cap
(
yyv1
)
{
yyv1
=
yyv1
[
:
yyrl1
]
yyv1
=
yyv1
[
:
yyrl1
]
...
@@ -51609,7 +51609,7 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1
...
@@ -51609,7 +51609,7 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1
yyrg1
:=
len
(
yyv1
)
>
0
yyrg1
:=
len
(
yyv1
)
>
0
yyv21
:=
yyv1
yyv21
:=
yyv1
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
12
8
)
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
12
0
)
if
yyrt1
{
if
yyrt1
{
if
yyrl1
<=
cap
(
yyv1
)
{
if
yyrl1
<=
cap
(
yyv1
)
{
yyv1
=
yyv1
[
:
yyrl1
]
yyv1
=
yyv1
[
:
yyrl1
]
...
@@ -51847,7 +51847,7 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle
...
@@ -51847,7 +51847,7 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle
yyrg1
:=
len
(
yyv1
)
>
0
yyrg1
:=
len
(
yyv1
)
>
0
yyv21
:=
yyv1
yyv21
:=
yyv1
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
2
40
)
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
2
32
)
if
yyrt1
{
if
yyrt1
{
if
yyrl1
<=
cap
(
yyv1
)
{
if
yyrl1
<=
cap
(
yyv1
)
{
yyv1
=
yyv1
[
:
yyrl1
]
yyv1
=
yyv1
[
:
yyrl1
]
pkg/api/v1/conversion_generated.go
View file @
8d0187ad
...
@@ -322,7 +322,7 @@ func autoConvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStore
...
@@ -322,7 +322,7 @@ func autoConvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStore
}
}
out
.
VolumeID
=
in
.
VolumeID
out
.
VolumeID
=
in
.
VolumeID
out
.
FSType
=
in
.
FSType
out
.
FSType
=
in
.
FSType
out
.
Partition
=
in
t
(
in
.
Partition
)
out
.
Partition
=
in
.
Partition
out
.
ReadOnly
=
in
.
ReadOnly
out
.
ReadOnly
=
in
.
ReadOnly
return
nil
return
nil
}
}
...
@@ -337,7 +337,7 @@ func autoConvert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStore
...
@@ -337,7 +337,7 @@ func autoConvert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStore
}
}
out
.
VolumeID
=
in
.
VolumeID
out
.
VolumeID
=
in
.
VolumeID
out
.
FSType
=
in
.
FSType
out
.
FSType
=
in
.
FSType
out
.
Partition
=
in
t32
(
in
.
Partition
)
out
.
Partition
=
in
.
Partition
out
.
ReadOnly
=
in
.
ReadOnly
out
.
ReadOnly
=
in
.
ReadOnly
return
nil
return
nil
}
}
...
@@ -1185,8 +1185,8 @@ func autoConvert_v1_ContainerPort_To_api_ContainerPort(in *ContainerPort, out *a
...
@@ -1185,8 +1185,8 @@ func autoConvert_v1_ContainerPort_To_api_ContainerPort(in *ContainerPort, out *a
defaulting
.
(
func
(
*
ContainerPort
))(
in
)
defaulting
.
(
func
(
*
ContainerPort
))(
in
)
}
}
out
.
Name
=
in
.
Name
out
.
Name
=
in
.
Name
out
.
HostPort
=
in
t
(
in
.
HostPort
)
out
.
HostPort
=
in
.
HostPort
out
.
ContainerPort
=
in
t
(
in
.
ContainerPort
)
out
.
ContainerPort
=
in
.
ContainerPort
out
.
Protocol
=
api
.
Protocol
(
in
.
Protocol
)
out
.
Protocol
=
api
.
Protocol
(
in
.
Protocol
)
out
.
HostIP
=
in
.
HostIP
out
.
HostIP
=
in
.
HostIP
return
nil
return
nil
...
@@ -1201,8 +1201,8 @@ func autoConvert_api_ContainerPort_To_v1_ContainerPort(in *api.ContainerPort, ou
...
@@ -1201,8 +1201,8 @@ func autoConvert_api_ContainerPort_To_v1_ContainerPort(in *api.ContainerPort, ou
defaulting
.
(
func
(
*
api
.
ContainerPort
))(
in
)
defaulting
.
(
func
(
*
api
.
ContainerPort
))(
in
)
}
}
out
.
Name
=
in
.
Name
out
.
Name
=
in
.
Name
out
.
HostPort
=
in
t32
(
in
.
HostPort
)
out
.
HostPort
=
in
.
HostPort
out
.
ContainerPort
=
in
t32
(
in
.
ContainerPort
)
out
.
ContainerPort
=
in
.
ContainerPort
out
.
Protocol
=
Protocol
(
in
.
Protocol
)
out
.
Protocol
=
Protocol
(
in
.
Protocol
)
out
.
HostIP
=
in
.
HostIP
out
.
HostIP
=
in
.
HostIP
return
nil
return
nil
...
@@ -1320,8 +1320,8 @@ func autoConvert_v1_ContainerStateTerminated_To_api_ContainerStateTerminated(in
...
@@ -1320,8 +1320,8 @@ func autoConvert_v1_ContainerStateTerminated_To_api_ContainerStateTerminated(in
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
ContainerStateTerminated
))(
in
)
defaulting
.
(
func
(
*
ContainerStateTerminated
))(
in
)
}
}
out
.
ExitCode
=
in
t
(
in
.
ExitCode
)
out
.
ExitCode
=
in
.
ExitCode
out
.
Signal
=
in
t
(
in
.
Signal
)
out
.
Signal
=
in
.
Signal
out
.
Reason
=
in
.
Reason
out
.
Reason
=
in
.
Reason
out
.
Message
=
in
.
Message
out
.
Message
=
in
.
Message
if
err
:=
api
.
Convert_unversioned_Time_To_unversioned_Time
(
&
in
.
StartedAt
,
&
out
.
StartedAt
,
s
);
err
!=
nil
{
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
...
@@ -1342,8 +1342,8 @@ func autoConvert_api_ContainerStateTerminated_To_v1_ContainerStateTerminated(in
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
api
.
ContainerStateTerminated
))(
in
)
defaulting
.
(
func
(
*
api
.
ContainerStateTerminated
))(
in
)
}
}
out
.
ExitCode
=
in
t32
(
in
.
ExitCode
)
out
.
ExitCode
=
in
.
ExitCode
out
.
Signal
=
in
t32
(
in
.
Signal
)
out
.
Signal
=
in
.
Signal
out
.
Reason
=
in
.
Reason
out
.
Reason
=
in
.
Reason
out
.
Message
=
in
.
Message
out
.
Message
=
in
.
Message
if
err
:=
api
.
Convert_unversioned_Time_To_unversioned_Time
(
&
in
.
StartedAt
,
&
out
.
StartedAt
,
s
);
err
!=
nil
{
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,
...
@@ -1398,7 +1398,7 @@ func autoConvert_v1_ContainerStatus_To_api_ContainerStatus(in *ContainerStatus,
return
err
return
err
}
}
out
.
Ready
=
in
.
Ready
out
.
Ready
=
in
.
Ready
out
.
RestartCount
=
in
t
(
in
.
RestartCount
)
out
.
RestartCount
=
in
.
RestartCount
out
.
Image
=
in
.
Image
out
.
Image
=
in
.
Image
out
.
ImageID
=
in
.
ImageID
out
.
ImageID
=
in
.
ImageID
out
.
ContainerID
=
in
.
ContainerID
out
.
ContainerID
=
in
.
ContainerID
...
@@ -1421,7 +1421,7 @@ func autoConvert_api_ContainerStatus_To_v1_ContainerStatus(in *api.ContainerStat
...
@@ -1421,7 +1421,7 @@ func autoConvert_api_ContainerStatus_To_v1_ContainerStatus(in *api.ContainerStat
return
err
return
err
}
}
out
.
Ready
=
in
.
Ready
out
.
Ready
=
in
.
Ready
out
.
RestartCount
=
in
t32
(
in
.
RestartCount
)
out
.
RestartCount
=
in
.
RestartCount
out
.
Image
=
in
.
Image
out
.
Image
=
in
.
Image
out
.
ImageID
=
in
.
ImageID
out
.
ImageID
=
in
.
ImageID
out
.
ContainerID
=
in
.
ContainerID
out
.
ContainerID
=
in
.
ContainerID
...
@@ -1436,7 +1436,7 @@ func autoConvert_v1_DaemonEndpoint_To_api_DaemonEndpoint(in *DaemonEndpoint, out
...
@@ -1436,7 +1436,7 @@ func autoConvert_v1_DaemonEndpoint_To_api_DaemonEndpoint(in *DaemonEndpoint, out
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
DaemonEndpoint
))(
in
)
defaulting
.
(
func
(
*
DaemonEndpoint
))(
in
)
}
}
out
.
Port
=
in
t
(
in
.
Port
)
out
.
Port
=
in
.
Port
return
nil
return
nil
}
}
...
@@ -1448,7 +1448,7 @@ func autoConvert_api_DaemonEndpoint_To_v1_DaemonEndpoint(in *api.DaemonEndpoint,
...
@@ -1448,7 +1448,7 @@ func autoConvert_api_DaemonEndpoint_To_v1_DaemonEndpoint(in *api.DaemonEndpoint,
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
api
.
DaemonEndpoint
))(
in
)
defaulting
.
(
func
(
*
api
.
DaemonEndpoint
))(
in
)
}
}
out
.
Port
=
in
t32
(
in
.
Port
)
out
.
Port
=
in
.
Port
return
nil
return
nil
}
}
...
@@ -1663,7 +1663,7 @@ func autoConvert_v1_EndpointPort_To_api_EndpointPort(in *EndpointPort, out *api.
...
@@ -1663,7 +1663,7 @@ func autoConvert_v1_EndpointPort_To_api_EndpointPort(in *EndpointPort, out *api.
defaulting
.
(
func
(
*
EndpointPort
))(
in
)
defaulting
.
(
func
(
*
EndpointPort
))(
in
)
}
}
out
.
Name
=
in
.
Name
out
.
Name
=
in
.
Name
out
.
Port
=
in
t
(
in
.
Port
)
out
.
Port
=
in
.
Port
out
.
Protocol
=
api
.
Protocol
(
in
.
Protocol
)
out
.
Protocol
=
api
.
Protocol
(
in
.
Protocol
)
return
nil
return
nil
}
}
...
@@ -1677,7 +1677,7 @@ func autoConvert_api_EndpointPort_To_v1_EndpointPort(in *api.EndpointPort, out *
...
@@ -1677,7 +1677,7 @@ func autoConvert_api_EndpointPort_To_v1_EndpointPort(in *api.EndpointPort, out *
defaulting
.
(
func
(
*
api
.
EndpointPort
))(
in
)
defaulting
.
(
func
(
*
api
.
EndpointPort
))(
in
)
}
}
out
.
Name
=
in
.
Name
out
.
Name
=
in
.
Name
out
.
Port
=
in
t32
(
in
.
Port
)
out
.
Port
=
in
.
Port
out
.
Protocol
=
Protocol
(
in
.
Protocol
)
out
.
Protocol
=
Protocol
(
in
.
Protocol
)
return
nil
return
nil
}
}
...
@@ -2030,7 +2030,7 @@ func autoConvert_v1_Event_To_api_Event(in *Event, out *api.Event, s conversion.S
...
@@ -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
{
if
err
:=
api
.
Convert_unversioned_Time_To_unversioned_Time
(
&
in
.
LastTimestamp
,
&
out
.
LastTimestamp
,
s
);
err
!=
nil
{
return
err
return
err
}
}
out
.
Count
=
in
t
(
in
.
Count
)
out
.
Count
=
in
.
Count
out
.
Type
=
in
.
Type
out
.
Type
=
in
.
Type
return
nil
return
nil
}
}
...
@@ -2063,7 +2063,7 @@ func autoConvert_api_Event_To_v1_Event(in *api.Event, out *Event, s conversion.S
...
@@ -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
{
if
err
:=
api
.
Convert_unversioned_Time_To_unversioned_Time
(
&
in
.
LastTimestamp
,
&
out
.
LastTimestamp
,
s
);
err
!=
nil
{
return
err
return
err
}
}
out
.
Count
=
in
t32
(
in
.
Count
)
out
.
Count
=
in
.
Count
out
.
Type
=
in
.
Type
out
.
Type
=
in
.
Type
return
nil
return
nil
}
}
...
@@ -2235,8 +2235,8 @@ func autoConvert_v1_FCVolumeSource_To_api_FCVolumeSource(in *FCVolumeSource, out
...
@@ -2235,8 +2235,8 @@ func autoConvert_v1_FCVolumeSource_To_api_FCVolumeSource(in *FCVolumeSource, out
}
}
if
in
.
Lun
!=
nil
{
if
in
.
Lun
!=
nil
{
in
,
out
:=
&
in
.
Lun
,
&
out
.
Lun
in
,
out
:=
&
in
.
Lun
,
&
out
.
Lun
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
int
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
Lun
=
nil
out
.
Lun
=
nil
}
}
...
@@ -2263,7 +2263,7 @@ func autoConvert_api_FCVolumeSource_To_v1_FCVolumeSource(in *api.FCVolumeSource,
...
@@ -2263,7 +2263,7 @@ func autoConvert_api_FCVolumeSource_To_v1_FCVolumeSource(in *api.FCVolumeSource,
if
in
.
Lun
!=
nil
{
if
in
.
Lun
!=
nil
{
in
,
out
:=
&
in
.
Lun
,
&
out
.
Lun
in
,
out
:=
&
in
.
Lun
,
&
out
.
Lun
*
out
=
new
(
int32
)
*
out
=
new
(
int32
)
**
out
=
int32
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
Lun
=
nil
out
.
Lun
=
nil
}
}
...
@@ -2370,7 +2370,7 @@ func autoConvert_v1_GCEPersistentDiskVolumeSource_To_api_GCEPersistentDiskVolume
...
@@ -2370,7 +2370,7 @@ func autoConvert_v1_GCEPersistentDiskVolumeSource_To_api_GCEPersistentDiskVolume
}
}
out
.
PDName
=
in
.
PDName
out
.
PDName
=
in
.
PDName
out
.
FSType
=
in
.
FSType
out
.
FSType
=
in
.
FSType
out
.
Partition
=
in
t
(
in
.
Partition
)
out
.
Partition
=
in
.
Partition
out
.
ReadOnly
=
in
.
ReadOnly
out
.
ReadOnly
=
in
.
ReadOnly
return
nil
return
nil
}
}
...
@@ -2385,7 +2385,7 @@ func autoConvert_api_GCEPersistentDiskVolumeSource_To_v1_GCEPersistentDiskVolume
...
@@ -2385,7 +2385,7 @@ func autoConvert_api_GCEPersistentDiskVolumeSource_To_v1_GCEPersistentDiskVolume
}
}
out
.
PDName
=
in
.
PDName
out
.
PDName
=
in
.
PDName
out
.
FSType
=
in
.
FSType
out
.
FSType
=
in
.
FSType
out
.
Partition
=
in
t32
(
in
.
Partition
)
out
.
Partition
=
in
.
Partition
out
.
ReadOnly
=
in
.
ReadOnly
out
.
ReadOnly
=
in
.
ReadOnly
return
nil
return
nil
}
}
...
@@ -2638,7 +2638,7 @@ func autoConvert_v1_ISCSIVolumeSource_To_api_ISCSIVolumeSource(in *ISCSIVolumeSo
...
@@ -2638,7 +2638,7 @@ func autoConvert_v1_ISCSIVolumeSource_To_api_ISCSIVolumeSource(in *ISCSIVolumeSo
}
}
out
.
TargetPortal
=
in
.
TargetPortal
out
.
TargetPortal
=
in
.
TargetPortal
out
.
IQN
=
in
.
IQN
out
.
IQN
=
in
.
IQN
out
.
Lun
=
in
t
(
in
.
Lun
)
out
.
Lun
=
in
.
Lun
out
.
ISCSIInterface
=
in
.
ISCSIInterface
out
.
ISCSIInterface
=
in
.
ISCSIInterface
out
.
FSType
=
in
.
FSType
out
.
FSType
=
in
.
FSType
out
.
ReadOnly
=
in
.
ReadOnly
out
.
ReadOnly
=
in
.
ReadOnly
...
@@ -2655,7 +2655,7 @@ func autoConvert_api_ISCSIVolumeSource_To_v1_ISCSIVolumeSource(in *api.ISCSIVolu
...
@@ -2655,7 +2655,7 @@ func autoConvert_api_ISCSIVolumeSource_To_v1_ISCSIVolumeSource(in *api.ISCSIVolu
}
}
out
.
TargetPortal
=
in
.
TargetPortal
out
.
TargetPortal
=
in
.
TargetPortal
out
.
IQN
=
in
.
IQN
out
.
IQN
=
in
.
IQN
out
.
Lun
=
in
t32
(
in
.
Lun
)
out
.
Lun
=
in
.
Lun
out
.
ISCSIInterface
=
in
.
ISCSIInterface
out
.
ISCSIInterface
=
in
.
ISCSIInterface
out
.
FSType
=
in
.
FSType
out
.
FSType
=
in
.
FSType
out
.
ReadOnly
=
in
.
ReadOnly
out
.
ReadOnly
=
in
.
ReadOnly
...
@@ -5668,7 +5668,7 @@ func autoConvert_v1_PreferredSchedulingTerm_To_api_PreferredSchedulingTerm(in *P
...
@@ -5668,7 +5668,7 @@ func autoConvert_v1_PreferredSchedulingTerm_To_api_PreferredSchedulingTerm(in *P
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
PreferredSchedulingTerm
))(
in
)
defaulting
.
(
func
(
*
PreferredSchedulingTerm
))(
in
)
}
}
out
.
Weight
=
in
t
(
in
.
Weight
)
out
.
Weight
=
in
.
Weight
if
err
:=
Convert_v1_NodeSelectorTerm_To_api_NodeSelectorTerm
(
&
in
.
Preference
,
&
out
.
Preference
,
s
);
err
!=
nil
{
if
err
:=
Convert_v1_NodeSelectorTerm_To_api_NodeSelectorTerm
(
&
in
.
Preference
,
&
out
.
Preference
,
s
);
err
!=
nil
{
return
err
return
err
}
}
...
@@ -5683,7 +5683,7 @@ func autoConvert_api_PreferredSchedulingTerm_To_v1_PreferredSchedulingTerm(in *a
...
@@ -5683,7 +5683,7 @@ func autoConvert_api_PreferredSchedulingTerm_To_v1_PreferredSchedulingTerm(in *a
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
api
.
PreferredSchedulingTerm
))(
in
)
defaulting
.
(
func
(
*
api
.
PreferredSchedulingTerm
))(
in
)
}
}
out
.
Weight
=
in
t32
(
in
.
Weight
)
out
.
Weight
=
in
.
Weight
if
err
:=
Convert_api_NodeSelectorTerm_To_v1_NodeSelectorTerm
(
&
in
.
Preference
,
&
out
.
Preference
,
s
);
err
!=
nil
{
if
err
:=
Convert_api_NodeSelectorTerm_To_v1_NodeSelectorTerm
(
&
in
.
Preference
,
&
out
.
Preference
,
s
);
err
!=
nil
{
return
err
return
err
}
}
...
@@ -5701,11 +5701,11 @@ func autoConvert_v1_Probe_To_api_Probe(in *Probe, out *api.Probe, s conversion.S
...
@@ -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
{
if
err
:=
Convert_v1_Handler_To_api_Handler
(
&
in
.
Handler
,
&
out
.
Handler
,
s
);
err
!=
nil
{
return
err
return
err
}
}
out
.
InitialDelaySeconds
=
in
t
(
in
.
InitialDelaySeconds
)
out
.
InitialDelaySeconds
=
in
.
InitialDelaySeconds
out
.
TimeoutSeconds
=
in
t
(
in
.
TimeoutSeconds
)
out
.
TimeoutSeconds
=
in
.
TimeoutSeconds
out
.
PeriodSeconds
=
in
t
(
in
.
PeriodSeconds
)
out
.
PeriodSeconds
=
in
.
PeriodSeconds
out
.
SuccessThreshold
=
in
t
(
in
.
SuccessThreshold
)
out
.
SuccessThreshold
=
in
.
SuccessThreshold
out
.
FailureThreshold
=
in
t
(
in
.
FailureThreshold
)
out
.
FailureThreshold
=
in
.
FailureThreshold
return
nil
return
nil
}
}
...
@@ -5720,11 +5720,11 @@ func autoConvert_api_Probe_To_v1_Probe(in *api.Probe, out *Probe, s conversion.S
...
@@ -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
{
if
err
:=
Convert_api_Handler_To_v1_Handler
(
&
in
.
Handler
,
&
out
.
Handler
,
s
);
err
!=
nil
{
return
err
return
err
}
}
out
.
InitialDelaySeconds
=
in
t32
(
in
.
InitialDelaySeconds
)
out
.
InitialDelaySeconds
=
in
.
InitialDelaySeconds
out
.
TimeoutSeconds
=
in
t32
(
in
.
TimeoutSeconds
)
out
.
TimeoutSeconds
=
in
.
TimeoutSeconds
out
.
PeriodSeconds
=
in
t32
(
in
.
PeriodSeconds
)
out
.
PeriodSeconds
=
in
.
PeriodSeconds
out
.
SuccessThreshold
=
in
t32
(
in
.
SuccessThreshold
)
out
.
SuccessThreshold
=
in
.
SuccessThreshold
out
.
FailureThreshold
=
in
t32
(
in
.
FailureThreshold
)
out
.
FailureThreshold
=
in
.
FailureThreshold
return
nil
return
nil
}
}
...
@@ -5946,8 +5946,8 @@ func autoConvert_v1_ReplicationControllerStatus_To_api_ReplicationControllerStat
...
@@ -5946,8 +5946,8 @@ func autoConvert_v1_ReplicationControllerStatus_To_api_ReplicationControllerStat
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
ReplicationControllerStatus
))(
in
)
defaulting
.
(
func
(
*
ReplicationControllerStatus
))(
in
)
}
}
out
.
Replicas
=
in
t
(
in
.
Replicas
)
out
.
Replicas
=
in
.
Replicas
out
.
FullyLabeledReplicas
=
in
t
(
in
.
FullyLabeledReplicas
)
out
.
FullyLabeledReplicas
=
in
.
FullyLabeledReplicas
out
.
ObservedGeneration
=
in
.
ObservedGeneration
out
.
ObservedGeneration
=
in
.
ObservedGeneration
return
nil
return
nil
}
}
...
@@ -5960,8 +5960,8 @@ func autoConvert_api_ReplicationControllerStatus_To_v1_ReplicationControllerStat
...
@@ -5960,8 +5960,8 @@ func autoConvert_api_ReplicationControllerStatus_To_v1_ReplicationControllerStat
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
api
.
ReplicationControllerStatus
))(
in
)
defaulting
.
(
func
(
*
api
.
ReplicationControllerStatus
))(
in
)
}
}
out
.
Replicas
=
in
t32
(
in
.
Replicas
)
out
.
Replicas
=
in
.
Replicas
out
.
FullyLabeledReplicas
=
in
t32
(
in
.
FullyLabeledReplicas
)
out
.
FullyLabeledReplicas
=
in
.
FullyLabeledReplicas
out
.
ObservedGeneration
=
in
.
ObservedGeneration
out
.
ObservedGeneration
=
in
.
ObservedGeneration
return
nil
return
nil
}
}
...
@@ -6828,11 +6828,11 @@ func autoConvert_v1_ServicePort_To_api_ServicePort(in *ServicePort, out *api.Ser
...
@@ -6828,11 +6828,11 @@ func autoConvert_v1_ServicePort_To_api_ServicePort(in *ServicePort, out *api.Ser
}
}
out
.
Name
=
in
.
Name
out
.
Name
=
in
.
Name
out
.
Protocol
=
api
.
Protocol
(
in
.
Protocol
)
out
.
Protocol
=
api
.
Protocol
(
in
.
Protocol
)
out
.
Port
=
in
t
(
in
.
Port
)
out
.
Port
=
in
.
Port
if
err
:=
api
.
Convert_intstr_IntOrString_To_intstr_IntOrString
(
&
in
.
TargetPort
,
&
out
.
TargetPort
,
s
);
err
!=
nil
{
if
err
:=
api
.
Convert_intstr_IntOrString_To_intstr_IntOrString
(
&
in
.
TargetPort
,
&
out
.
TargetPort
,
s
);
err
!=
nil
{
return
err
return
err
}
}
out
.
NodePort
=
in
t
(
in
.
NodePort
)
out
.
NodePort
=
in
.
NodePort
return
nil
return
nil
}
}
...
@@ -6846,11 +6846,11 @@ func autoConvert_api_ServicePort_To_v1_ServicePort(in *api.ServicePort, out *Ser
...
@@ -6846,11 +6846,11 @@ func autoConvert_api_ServicePort_To_v1_ServicePort(in *api.ServicePort, out *Ser
}
}
out
.
Name
=
in
.
Name
out
.
Name
=
in
.
Name
out
.
Protocol
=
Protocol
(
in
.
Protocol
)
out
.
Protocol
=
Protocol
(
in
.
Protocol
)
out
.
Port
=
in
t32
(
in
.
Port
)
out
.
Port
=
in
.
Port
if
err
:=
api
.
Convert_intstr_IntOrString_To_intstr_IntOrString
(
&
in
.
TargetPort
,
&
out
.
TargetPort
,
s
);
err
!=
nil
{
if
err
:=
api
.
Convert_intstr_IntOrString_To_intstr_IntOrString
(
&
in
.
TargetPort
,
&
out
.
TargetPort
,
s
);
err
!=
nil
{
return
err
return
err
}
}
out
.
NodePort
=
in
t32
(
in
.
NodePort
)
out
.
NodePort
=
in
.
NodePort
return
nil
return
nil
}
}
...
...
pkg/apis/autoscaling/types.generated.go
View file @
8d0187ad
...
@@ -535,7 +535,7 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -535,7 +535,7 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
default
:
default
:
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
...
@@ -565,7 +565,7 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -565,7 +565,7 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
for
{
for
{
yyj5
++
yyj5
++
...
@@ -723,7 +723,7 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -723,7 +723,7 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"selector"
:
case
"selector"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -759,7 +759,7 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -759,7 +759,7 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj6
++
yyj6
++
if
yyhl6
{
if
yyhl6
{
...
...
pkg/apis/autoscaling/v1/conversion_generated.go
View file @
8d0187ad
...
@@ -175,12 +175,12 @@ func autoConvert_v1_HorizontalPodAutoscalerStatus_To_extensions_HorizontalPodAut
...
@@ -175,12 +175,12 @@ func autoConvert_v1_HorizontalPodAutoscalerStatus_To_extensions_HorizontalPodAut
}
else
{
}
else
{
out
.
LastScaleTime
=
nil
out
.
LastScaleTime
=
nil
}
}
out
.
CurrentReplicas
=
in
t
(
in
.
CurrentReplicas
)
out
.
CurrentReplicas
=
in
.
CurrentReplicas
out
.
DesiredReplicas
=
in
t
(
in
.
DesiredReplicas
)
out
.
DesiredReplicas
=
in
.
DesiredReplicas
if
in
.
CurrentCPUUtilizationPercentage
!=
nil
{
if
in
.
CurrentCPUUtilizationPercentage
!=
nil
{
in
,
out
:=
&
in
.
CurrentCPUUtilizationPercentage
,
&
out
.
CurrentCPUUtilizationPercentage
in
,
out
:=
&
in
.
CurrentCPUUtilizationPercentage
,
&
out
.
CurrentCPUUtilizationPercentage
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
int
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
CurrentCPUUtilizationPercentage
=
nil
out
.
CurrentCPUUtilizationPercentage
=
nil
}
}
...
@@ -211,12 +211,12 @@ func autoConvert_extensions_HorizontalPodAutoscalerStatus_To_v1_HorizontalPodAut
...
@@ -211,12 +211,12 @@ func autoConvert_extensions_HorizontalPodAutoscalerStatus_To_v1_HorizontalPodAut
}
else
{
}
else
{
out
.
LastScaleTime
=
nil
out
.
LastScaleTime
=
nil
}
}
out
.
CurrentReplicas
=
in
t32
(
in
.
CurrentReplicas
)
out
.
CurrentReplicas
=
in
.
CurrentReplicas
out
.
DesiredReplicas
=
in
t32
(
in
.
DesiredReplicas
)
out
.
DesiredReplicas
=
in
.
DesiredReplicas
if
in
.
CurrentCPUUtilizationPercentage
!=
nil
{
if
in
.
CurrentCPUUtilizationPercentage
!=
nil
{
in
,
out
:=
&
in
.
CurrentCPUUtilizationPercentage
,
&
out
.
CurrentCPUUtilizationPercentage
in
,
out
:=
&
in
.
CurrentCPUUtilizationPercentage
,
&
out
.
CurrentCPUUtilizationPercentage
*
out
=
new
(
int32
)
*
out
=
new
(
int32
)
**
out
=
int32
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
CurrentCPUUtilizationPercentage
=
nil
out
.
CurrentCPUUtilizationPercentage
=
nil
}
}
...
@@ -279,7 +279,7 @@ func autoConvert_v1_ScaleSpec_To_autoscaling_ScaleSpec(in *ScaleSpec, out *autos
...
@@ -279,7 +279,7 @@ func autoConvert_v1_ScaleSpec_To_autoscaling_ScaleSpec(in *ScaleSpec, out *autos
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
ScaleSpec
))(
in
)
defaulting
.
(
func
(
*
ScaleSpec
))(
in
)
}
}
out
.
Replicas
=
in
t
(
in
.
Replicas
)
out
.
Replicas
=
in
.
Replicas
return
nil
return
nil
}
}
...
@@ -291,7 +291,7 @@ func autoConvert_autoscaling_ScaleSpec_To_v1_ScaleSpec(in *autoscaling.ScaleSpec
...
@@ -291,7 +291,7 @@ func autoConvert_autoscaling_ScaleSpec_To_v1_ScaleSpec(in *autoscaling.ScaleSpec
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
autoscaling
.
ScaleSpec
))(
in
)
defaulting
.
(
func
(
*
autoscaling
.
ScaleSpec
))(
in
)
}
}
out
.
Replicas
=
in
t32
(
in
.
Replicas
)
out
.
Replicas
=
in
.
Replicas
return
nil
return
nil
}
}
...
@@ -303,7 +303,7 @@ func autoConvert_v1_ScaleStatus_To_autoscaling_ScaleStatus(in *ScaleStatus, out
...
@@ -303,7 +303,7 @@ func autoConvert_v1_ScaleStatus_To_autoscaling_ScaleStatus(in *ScaleStatus, out
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
ScaleStatus
))(
in
)
defaulting
.
(
func
(
*
ScaleStatus
))(
in
)
}
}
out
.
Replicas
=
in
t
(
in
.
Replicas
)
out
.
Replicas
=
in
.
Replicas
out
.
Selector
=
in
.
Selector
out
.
Selector
=
in
.
Selector
return
nil
return
nil
}
}
...
@@ -316,7 +316,7 @@ func autoConvert_autoscaling_ScaleStatus_To_v1_ScaleStatus(in *autoscaling.Scale
...
@@ -316,7 +316,7 @@ func autoConvert_autoscaling_ScaleStatus_To_v1_ScaleStatus(in *autoscaling.Scale
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
autoscaling
.
ScaleStatus
))(
in
)
defaulting
.
(
func
(
*
autoscaling
.
ScaleStatus
))(
in
)
}
}
out
.
Replicas
=
in
t32
(
in
.
Replicas
)
out
.
Replicas
=
in
.
Replicas
out
.
Selector
=
in
.
Selector
out
.
Selector
=
in
.
Selector
return
nil
return
nil
}
}
...
...
pkg/apis/batch/deep_copy_generated.go
View file @
8d0187ad
...
@@ -93,14 +93,14 @@ func DeepCopy_batch_JobList(in JobList, out *JobList, c *conversion.Cloner) erro
...
@@ -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
{
func
DeepCopy_batch_JobSpec
(
in
JobSpec
,
out
*
JobSpec
,
c
*
conversion
.
Cloner
)
error
{
if
in
.
Parallelism
!=
nil
{
if
in
.
Parallelism
!=
nil
{
in
,
out
:=
in
.
Parallelism
,
&
out
.
Parallelism
in
,
out
:=
in
.
Parallelism
,
&
out
.
Parallelism
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
*
in
**
out
=
*
in
}
else
{
}
else
{
out
.
Parallelism
=
nil
out
.
Parallelism
=
nil
}
}
if
in
.
Completions
!=
nil
{
if
in
.
Completions
!=
nil
{
in
,
out
:=
in
.
Completions
,
&
out
.
Completions
in
,
out
:=
in
.
Completions
,
&
out
.
Completions
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
*
in
**
out
=
*
in
}
else
{
}
else
{
out
.
Completions
=
nil
out
.
Completions
=
nil
...
...
pkg/apis/batch/types.generated.go
View file @
8d0187ad
...
@@ -1053,13 +1053,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -1053,13 +1053,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
}
}
}
else
{
}
else
{
if
x
.
Parallelism
==
nil
{
if
x
.
Parallelism
==
nil
{
x
.
Parallelism
=
new
(
int
)
x
.
Parallelism
=
new
(
int
32
)
}
}
yym5
:=
z
.
DecBinary
()
yym5
:=
z
.
DecBinary
()
_
=
yym5
_
=
yym5
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
Parallelism
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
Parallelism
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
case
"completions"
:
case
"completions"
:
...
@@ -1069,13 +1069,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -1069,13 +1069,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
}
}
}
else
{
}
else
{
if
x
.
Completions
==
nil
{
if
x
.
Completions
==
nil
{
x
.
Completions
=
new
(
int
)
x
.
Completions
=
new
(
int
32
)
}
}
yym7
:=
z
.
DecBinary
()
yym7
:=
z
.
DecBinary
()
_
=
yym7
_
=
yym7
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
Completions
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
Completions
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
case
"activeDeadlineSeconds"
:
case
"activeDeadlineSeconds"
:
...
@@ -1165,13 +1165,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -1165,13 +1165,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
}
}
}
else
{
}
else
{
if
x
.
Parallelism
==
nil
{
if
x
.
Parallelism
==
nil
{
x
.
Parallelism
=
new
(
int
)
x
.
Parallelism
=
new
(
int
32
)
}
}
yym17
:=
z
.
DecBinary
()
yym17
:=
z
.
DecBinary
()
_
=
yym17
_
=
yym17
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
Parallelism
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
Parallelism
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
yyj15
++
yyj15
++
...
@@ -1191,13 +1191,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -1191,13 +1191,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
}
}
}
else
{
}
else
{
if
x
.
Completions
==
nil
{
if
x
.
Completions
==
nil
{
x
.
Completions
=
new
(
int
)
x
.
Completions
=
new
(
int
32
)
}
}
yym19
:=
z
.
DecBinary
()
yym19
:=
z
.
DecBinary
()
_
=
yym19
_
=
yym19
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
Completions
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
Completions
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
yyj15
++
yyj15
++
...
@@ -1661,19 +1661,19 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -1661,19 +1661,19 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Active
=
0
x
.
Active
=
0
}
else
{
}
else
{
x
.
Active
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Active
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"succeeded"
:
case
"succeeded"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Succeeded
=
0
x
.
Succeeded
=
0
}
else
{
}
else
{
x
.
Succeeded
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Succeeded
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"failed"
:
case
"failed"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Failed
=
0
x
.
Failed
=
0
}
else
{
}
else
{
x
.
Failed
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Failed
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
default
:
default
:
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
...
@@ -1787,7 +1787,7 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -1787,7 +1787,7 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Active
=
0
x
.
Active
=
0
}
else
{
}
else
{
x
.
Active
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Active
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj13
++
yyj13
++
if
yyhl13
{
if
yyhl13
{
...
@@ -1803,7 +1803,7 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -1803,7 +1803,7 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Succeeded
=
0
x
.
Succeeded
=
0
}
else
{
}
else
{
x
.
Succeeded
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Succeeded
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj13
++
yyj13
++
if
yyhl13
{
if
yyhl13
{
...
@@ -1819,7 +1819,7 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -1819,7 +1819,7 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Failed
=
0
x
.
Failed
=
0
}
else
{
}
else
{
x
.
Failed
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Failed
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
for
{
for
{
yyj13
++
yyj13
++
...
@@ -2347,7 +2347,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) {
...
@@ -2347,7 +2347,7 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) {
yyrg1
:=
len
(
yyv1
)
>
0
yyrg1
:=
len
(
yyv1
)
>
0
yyv21
:=
yyv1
yyv21
:=
yyv1
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
6
56
)
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
6
48
)
if
yyrt1
{
if
yyrt1
{
if
yyrl1
<=
cap
(
yyv1
)
{
if
yyrl1
<=
cap
(
yyv1
)
{
yyv1
=
yyv1
[
:
yyrl1
]
yyv1
=
yyv1
[
:
yyrl1
]
...
...
pkg/apis/batch/v1/conversion_generated.go
View file @
8d0187ad
...
@@ -203,15 +203,15 @@ func autoConvert_v1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpec, s
...
@@ -203,15 +203,15 @@ func autoConvert_v1_JobSpec_To_batch_JobSpec(in *JobSpec, out *batch.JobSpec, s
}
}
if
in
.
Parallelism
!=
nil
{
if
in
.
Parallelism
!=
nil
{
in
,
out
:=
&
in
.
Parallelism
,
&
out
.
Parallelism
in
,
out
:=
&
in
.
Parallelism
,
&
out
.
Parallelism
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
int
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
Parallelism
=
nil
out
.
Parallelism
=
nil
}
}
if
in
.
Completions
!=
nil
{
if
in
.
Completions
!=
nil
{
in
,
out
:=
&
in
.
Completions
,
&
out
.
Completions
in
,
out
:=
&
in
.
Completions
,
&
out
.
Completions
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
int
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
Completions
=
nil
out
.
Completions
=
nil
}
}
...
@@ -252,14 +252,14 @@ func autoConvert_batch_JobSpec_To_v1_JobSpec(in *batch.JobSpec, out *JobSpec, s
...
@@ -252,14 +252,14 @@ func autoConvert_batch_JobSpec_To_v1_JobSpec(in *batch.JobSpec, out *JobSpec, s
if
in
.
Parallelism
!=
nil
{
if
in
.
Parallelism
!=
nil
{
in
,
out
:=
&
in
.
Parallelism
,
&
out
.
Parallelism
in
,
out
:=
&
in
.
Parallelism
,
&
out
.
Parallelism
*
out
=
new
(
int32
)
*
out
=
new
(
int32
)
**
out
=
int32
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
Parallelism
=
nil
out
.
Parallelism
=
nil
}
}
if
in
.
Completions
!=
nil
{
if
in
.
Completions
!=
nil
{
in
,
out
:=
&
in
.
Completions
,
&
out
.
Completions
in
,
out
:=
&
in
.
Completions
,
&
out
.
Completions
*
out
=
new
(
int32
)
*
out
=
new
(
int32
)
**
out
=
int32
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
Completions
=
nil
out
.
Completions
=
nil
}
}
...
@@ -326,9 +326,9 @@ func autoConvert_v1_JobStatus_To_batch_JobStatus(in *JobStatus, out *batch.JobSt
...
@@ -326,9 +326,9 @@ func autoConvert_v1_JobStatus_To_batch_JobStatus(in *JobStatus, out *batch.JobSt
}
else
{
}
else
{
out
.
CompletionTime
=
nil
out
.
CompletionTime
=
nil
}
}
out
.
Active
=
in
t
(
in
.
Active
)
out
.
Active
=
in
.
Active
out
.
Succeeded
=
in
t
(
in
.
Succeeded
)
out
.
Succeeded
=
in
.
Succeeded
out
.
Failed
=
in
t
(
in
.
Failed
)
out
.
Failed
=
in
.
Failed
return
nil
return
nil
}
}
...
@@ -369,9 +369,9 @@ func autoConvert_batch_JobStatus_To_v1_JobStatus(in *batch.JobStatus, out *JobSt
...
@@ -369,9 +369,9 @@ func autoConvert_batch_JobStatus_To_v1_JobStatus(in *batch.JobStatus, out *JobSt
}
else
{
}
else
{
out
.
CompletionTime
=
nil
out
.
CompletionTime
=
nil
}
}
out
.
Active
=
in
t32
(
in
.
Active
)
out
.
Active
=
in
.
Active
out
.
Succeeded
=
in
t32
(
in
.
Succeeded
)
out
.
Succeeded
=
in
.
Succeeded
out
.
Failed
=
in
t32
(
in
.
Failed
)
out
.
Failed
=
in
.
Failed
return
nil
return
nil
}
}
...
...
pkg/apis/componentconfig/deep_copy_generated.go
View file @
8d0187ad
...
@@ -145,7 +145,7 @@ func DeepCopy_componentconfig_KubeProxyConfiguration(in KubeProxyConfiguration,
...
@@ -145,7 +145,7 @@ func DeepCopy_componentconfig_KubeProxyConfiguration(in KubeProxyConfiguration,
out
.
HostnameOverride
=
in
.
HostnameOverride
out
.
HostnameOverride
=
in
.
HostnameOverride
if
in
.
IPTablesMasqueradeBit
!=
nil
{
if
in
.
IPTablesMasqueradeBit
!=
nil
{
in
,
out
:=
in
.
IPTablesMasqueradeBit
,
&
out
.
IPTablesMasqueradeBit
in
,
out
:=
in
.
IPTablesMasqueradeBit
,
&
out
.
IPTablesMasqueradeBit
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
*
in
**
out
=
*
in
}
else
{
}
else
{
out
.
IPTablesMasqueradeBit
=
nil
out
.
IPTablesMasqueradeBit
=
nil
...
@@ -158,7 +158,7 @@ func DeepCopy_componentconfig_KubeProxyConfiguration(in KubeProxyConfiguration,
...
@@ -158,7 +158,7 @@ func DeepCopy_componentconfig_KubeProxyConfiguration(in KubeProxyConfiguration,
out
.
Master
=
in
.
Master
out
.
Master
=
in
.
Master
if
in
.
OOMScoreAdj
!=
nil
{
if
in
.
OOMScoreAdj
!=
nil
{
in
,
out
:=
in
.
OOMScoreAdj
,
&
out
.
OOMScoreAdj
in
,
out
:=
in
.
OOMScoreAdj
,
&
out
.
OOMScoreAdj
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
*
in
**
out
=
*
in
}
else
{
}
else
{
out
.
OOMScoreAdj
=
nil
out
.
OOMScoreAdj
=
nil
...
...
pkg/apis/componentconfig/types.generated.go
View file @
8d0187ad
...
@@ -589,7 +589,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
...
@@ -589,7 +589,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
HealthzPort
=
0
x
.
HealthzPort
=
0
}
else
{
}
else
{
x
.
HealthzPort
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
HealthzPort
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"hostnameOverride"
:
case
"hostnameOverride"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -604,13 +604,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
...
@@ -604,13 +604,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
}
}
}
else
{
}
else
{
if
x
.
IPTablesMasqueradeBit
==
nil
{
if
x
.
IPTablesMasqueradeBit
==
nil
{
x
.
IPTablesMasqueradeBit
=
new
(
int
)
x
.
IPTablesMasqueradeBit
=
new
(
int
32
)
}
}
yym10
:=
z
.
DecBinary
()
yym10
:=
z
.
DecBinary
()
_
=
yym10
_
=
yym10
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
IPTablesMasqueradeBit
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
IPTablesMasqueradeBit
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
case
"iptablesSyncPeriodSeconds"
:
case
"iptablesSyncPeriodSeconds"
:
...
@@ -653,13 +653,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
...
@@ -653,13 +653,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
}
}
}
else
{
}
else
{
if
x
.
OOMScoreAdj
==
nil
{
if
x
.
OOMScoreAdj
==
nil
{
x
.
OOMScoreAdj
=
new
(
int
)
x
.
OOMScoreAdj
=
new
(
int
32
)
}
}
yym17
:=
z
.
DecBinary
()
yym17
:=
z
.
DecBinary
()
_
=
yym17
_
=
yym17
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
OOMScoreAdj
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
OOMScoreAdj
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
case
"mode"
:
case
"mode"
:
...
@@ -699,7 +699,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
...
@@ -699,7 +699,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConntrackMax
=
0
x
.
ConntrackMax
=
0
}
else
{
}
else
{
x
.
ConntrackMax
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConntrackMax
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"conntrackTCPEstablishedTimeout"
:
case
"conntrackTCPEstablishedTimeout"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -804,7 +804,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
...
@@ -804,7 +804,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
HealthzPort
=
0
x
.
HealthzPort
=
0
}
else
{
}
else
{
x
.
HealthzPort
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
HealthzPort
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj28
++
yyj28
++
if
yyhl28
{
if
yyhl28
{
...
@@ -839,13 +839,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
...
@@ -839,13 +839,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
}
}
}
else
{
}
else
{
if
x
.
IPTablesMasqueradeBit
==
nil
{
if
x
.
IPTablesMasqueradeBit
==
nil
{
x
.
IPTablesMasqueradeBit
=
new
(
int
)
x
.
IPTablesMasqueradeBit
=
new
(
int
32
)
}
}
yym35
:=
z
.
DecBinary
()
yym35
:=
z
.
DecBinary
()
_
=
yym35
_
=
yym35
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
IPTablesMasqueradeBit
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
IPTablesMasqueradeBit
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
yyj28
++
yyj28
++
...
@@ -938,13 +938,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
...
@@ -938,13 +938,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
}
}
}
else
{
}
else
{
if
x
.
OOMScoreAdj
==
nil
{
if
x
.
OOMScoreAdj
==
nil
{
x
.
OOMScoreAdj
=
new
(
int
)
x
.
OOMScoreAdj
=
new
(
int
32
)
}
}
yym42
:=
z
.
DecBinary
()
yym42
:=
z
.
DecBinary
()
_
=
yym42
_
=
yym42
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
OOMScoreAdj
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
OOMScoreAdj
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
yyj28
++
yyj28
++
...
@@ -1034,7 +1034,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
...
@@ -1034,7 +1034,7 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConntrackMax
=
0
x
.
ConntrackMax
=
0
}
else
{
}
else
{
x
.
ConntrackMax
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConntrackMax
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj28
++
yyj28
++
if
yyhl28
{
if
yyhl28
{
...
@@ -3170,7 +3170,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
...
@@ -3170,7 +3170,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
RegistryBurst
=
0
x
.
RegistryBurst
=
0
}
else
{
}
else
{
x
.
RegistryBurst
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
RegistryBurst
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"eventRecordQPS"
:
case
"eventRecordQPS"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -3182,7 +3182,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
...
@@ -3182,7 +3182,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
EventBurst
=
0
x
.
EventBurst
=
0
}
else
{
}
else
{
x
.
EventBurst
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
EventBurst
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"enableDebuggingHandlers"
:
case
"enableDebuggingHandlers"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -3209,13 +3209,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
...
@@ -3209,13 +3209,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MaxPerPodContainerCount
=
0
x
.
MaxPerPodContainerCount
=
0
}
else
{
}
else
{
x
.
MaxPerPodContainerCount
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MaxPerPodContainerCount
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"maxContainerCount"
:
case
"maxContainerCount"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MaxContainerCount
=
0
x
.
MaxContainerCount
=
0
}
else
{
}
else
{
x
.
MaxContainerCount
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MaxContainerCount
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"cAdvisorPort"
:
case
"cAdvisorPort"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -3227,7 +3227,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
...
@@ -3227,7 +3227,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
HealthzPort
=
0
x
.
HealthzPort
=
0
}
else
{
}
else
{
x
.
HealthzPort
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
HealthzPort
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"healthzBindAddress"
:
case
"healthzBindAddress"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -3239,7 +3239,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
...
@@ -3239,7 +3239,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
OOMScoreAdj
=
0
x
.
OOMScoreAdj
=
0
}
else
{
}
else
{
x
.
OOMScoreAdj
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
OOMScoreAdj
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"registerNode"
:
case
"registerNode"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -3314,19 +3314,19 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
...
@@ -3314,19 +3314,19 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ImageGCHighThresholdPercent
=
0
x
.
ImageGCHighThresholdPercent
=
0
}
else
{
}
else
{
x
.
ImageGCHighThresholdPercent
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ImageGCHighThresholdPercent
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"imageGCLowThresholdPercent"
:
case
"imageGCLowThresholdPercent"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ImageGCLowThresholdPercent
=
0
x
.
ImageGCLowThresholdPercent
=
0
}
else
{
}
else
{
x
.
ImageGCLowThresholdPercent
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ImageGCLowThresholdPercent
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"lowDiskSpaceThresholdMB"
:
case
"lowDiskSpaceThresholdMB"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
LowDiskSpaceThresholdMB
=
0
x
.
LowDiskSpaceThresholdMB
=
0
}
else
{
}
else
{
x
.
LowDiskSpaceThresholdMB
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
LowDiskSpaceThresholdMB
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"volumeStatsAggPeriod"
:
case
"volumeStatsAggPeriod"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -3449,7 +3449,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
...
@@ -3449,7 +3449,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MaxPods
=
0
x
.
MaxPods
=
0
}
else
{
}
else
{
x
.
MaxPods
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MaxPods
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"dockerExecHandlerName"
:
case
"dockerExecHandlerName"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -3515,7 +3515,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
...
@@ -3515,7 +3515,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
KubeAPIBurst
=
0
x
.
KubeAPIBurst
=
0
}
else
{
}
else
{
x
.
KubeAPIBurst
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
KubeAPIBurst
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"serializeImagePulls"
:
case
"serializeImagePulls"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -3999,7 +3999,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
...
@@ -3999,7 +3999,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
RegistryBurst
=
0
x
.
RegistryBurst
=
0
}
else
{
}
else
{
x
.
RegistryBurst
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
RegistryBurst
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj97
++
yyj97
++
if
yyhl97
{
if
yyhl97
{
...
@@ -4031,7 +4031,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
...
@@ -4031,7 +4031,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
EventBurst
=
0
x
.
EventBurst
=
0
}
else
{
}
else
{
x
.
EventBurst
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
EventBurst
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj97
++
yyj97
++
if
yyhl97
{
if
yyhl97
{
...
@@ -4088,7 +4088,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
...
@@ -4088,7 +4088,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MaxPerPodContainerCount
=
0
x
.
MaxPerPodContainerCount
=
0
}
else
{
}
else
{
x
.
MaxPerPodContainerCount
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MaxPerPodContainerCount
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj97
++
yyj97
++
if
yyhl97
{
if
yyhl97
{
...
@@ -4104,7 +4104,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
...
@@ -4104,7 +4104,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MaxContainerCount
=
0
x
.
MaxContainerCount
=
0
}
else
{
}
else
{
x
.
MaxContainerCount
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MaxContainerCount
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj97
++
yyj97
++
if
yyhl97
{
if
yyhl97
{
...
@@ -4136,7 +4136,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
...
@@ -4136,7 +4136,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
HealthzPort
=
0
x
.
HealthzPort
=
0
}
else
{
}
else
{
x
.
HealthzPort
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
HealthzPort
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj97
++
yyj97
++
if
yyhl97
{
if
yyhl97
{
...
@@ -4168,7 +4168,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
...
@@ -4168,7 +4168,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
OOMScoreAdj
=
0
x
.
OOMScoreAdj
=
0
}
else
{
}
else
{
x
.
OOMScoreAdj
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
OOMScoreAdj
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj97
++
yyj97
++
if
yyhl97
{
if
yyhl97
{
...
@@ -4323,7 +4323,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
...
@@ -4323,7 +4323,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ImageGCHighThresholdPercent
=
0
x
.
ImageGCHighThresholdPercent
=
0
}
else
{
}
else
{
x
.
ImageGCHighThresholdPercent
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ImageGCHighThresholdPercent
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj97
++
yyj97
++
if
yyhl97
{
if
yyhl97
{
...
@@ -4339,7 +4339,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
...
@@ -4339,7 +4339,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ImageGCLowThresholdPercent
=
0
x
.
ImageGCLowThresholdPercent
=
0
}
else
{
}
else
{
x
.
ImageGCLowThresholdPercent
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ImageGCLowThresholdPercent
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj97
++
yyj97
++
if
yyhl97
{
if
yyhl97
{
...
@@ -4355,7 +4355,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
...
@@ -4355,7 +4355,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
LowDiskSpaceThresholdMB
=
0
x
.
LowDiskSpaceThresholdMB
=
0
}
else
{
}
else
{
x
.
LowDiskSpaceThresholdMB
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
LowDiskSpaceThresholdMB
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj97
++
yyj97
++
if
yyhl97
{
if
yyhl97
{
...
@@ -4668,7 +4668,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
...
@@ -4668,7 +4668,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MaxPods
=
0
x
.
MaxPods
=
0
}
else
{
}
else
{
x
.
MaxPods
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MaxPods
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj97
++
yyj97
++
if
yyhl97
{
if
yyhl97
{
...
@@ -4844,7 +4844,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
...
@@ -4844,7 +4844,7 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
KubeAPIBurst
=
0
x
.
KubeAPIBurst
=
0
}
else
{
}
else
{
x
.
KubeAPIBurst
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
KubeAPIBurst
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj97
++
yyj97
++
if
yyhl97
{
if
yyhl97
{
...
@@ -5366,7 +5366,7 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.
...
@@ -5366,7 +5366,7 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Port
=
0
x
.
Port
=
0
}
else
{
}
else
{
x
.
Port
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Port
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"address"
:
case
"address"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -5408,7 +5408,7 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.
...
@@ -5408,7 +5408,7 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
KubeAPIBurst
=
0
x
.
KubeAPIBurst
=
0
}
else
{
}
else
{
x
.
KubeAPIBurst
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
KubeAPIBurst
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"schedulerName"
:
case
"schedulerName"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -5463,7 +5463,7 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197
...
@@ -5463,7 +5463,7 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Port
=
0
x
.
Port
=
0
}
else
{
}
else
{
x
.
Port
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Port
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj16
++
yyj16
++
if
yyhl16
{
if
yyhl16
{
...
@@ -5575,7 +5575,7 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197
...
@@ -5575,7 +5575,7 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
KubeAPIBurst
=
0
x
.
KubeAPIBurst
=
0
}
else
{
}
else
{
x
.
KubeAPIBurst
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
KubeAPIBurst
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj16
++
yyj16
++
if
yyhl16
{
if
yyhl16
{
...
@@ -7073,7 +7073,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
...
@@ -7073,7 +7073,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Port
=
0
x
.
Port
=
0
}
else
{
}
else
{
x
.
Port
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Port
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"address"
:
case
"address"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -7097,67 +7097,67 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
...
@@ -7097,67 +7097,67 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentEndpointSyncs
=
0
x
.
ConcurrentEndpointSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentEndpointSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentEndpointSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"concurrentRSSyncs"
:
case
"concurrentRSSyncs"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentRSSyncs
=
0
x
.
ConcurrentRSSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentRSSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentRSSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"concurrentRCSyncs"
:
case
"concurrentRCSyncs"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentRCSyncs
=
0
x
.
ConcurrentRCSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentRCSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentRCSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"concurrentResourceQuotaSyncs"
:
case
"concurrentResourceQuotaSyncs"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentResourceQuotaSyncs
=
0
x
.
ConcurrentResourceQuotaSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentResourceQuotaSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentResourceQuotaSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"concurrentDeploymentSyncs"
:
case
"concurrentDeploymentSyncs"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentDeploymentSyncs
=
0
x
.
ConcurrentDeploymentSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentDeploymentSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentDeploymentSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"concurrentDaemonSetSyncs"
:
case
"concurrentDaemonSetSyncs"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentDaemonSetSyncs
=
0
x
.
ConcurrentDaemonSetSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentDaemonSetSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentDaemonSetSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"concurrentJobSyncs"
:
case
"concurrentJobSyncs"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentJobSyncs
=
0
x
.
ConcurrentJobSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentJobSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentJobSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"concurrentNamespaceSyncs"
:
case
"concurrentNamespaceSyncs"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentNamespaceSyncs
=
0
x
.
ConcurrentNamespaceSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentNamespaceSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentNamespaceSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"lookupCacheSizeForRC"
:
case
"lookupCacheSizeForRC"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
LookupCacheSizeForRC
=
0
x
.
LookupCacheSizeForRC
=
0
}
else
{
}
else
{
x
.
LookupCacheSizeForRC
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
LookupCacheSizeForRC
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"lookupCacheSizeForRS"
:
case
"lookupCacheSizeForRS"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
LookupCacheSizeForRS
=
0
x
.
LookupCacheSizeForRS
=
0
}
else
{
}
else
{
x
.
LookupCacheSizeForRS
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
LookupCacheSizeForRS
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"lookupCacheSizeForDaemonSet"
:
case
"lookupCacheSizeForDaemonSet"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
LookupCacheSizeForDaemonSet
=
0
x
.
LookupCacheSizeForDaemonSet
=
0
}
else
{
}
else
{
x
.
LookupCacheSizeForDaemonSet
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
LookupCacheSizeForDaemonSet
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"serviceSyncPeriod"
:
case
"serviceSyncPeriod"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -7253,7 +7253,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
...
@@ -7253,7 +7253,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
TerminatedPodGCThreshold
=
0
x
.
TerminatedPodGCThreshold
=
0
}
else
{
}
else
{
x
.
TerminatedPodGCThreshold
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
TerminatedPodGCThreshold
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"horizontalPodAutoscalerSyncPeriod"
:
case
"horizontalPodAutoscalerSyncPeriod"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -7310,7 +7310,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
...
@@ -7310,7 +7310,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
DeletingPodsBurst
=
0
x
.
DeletingPodsBurst
=
0
}
else
{
}
else
{
x
.
DeletingPodsBurst
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
DeletingPodsBurst
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"nodeMonitorGracePeriod"
:
case
"nodeMonitorGracePeriod"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -7331,7 +7331,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
...
@@ -7331,7 +7331,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
RegisterRetryCount
=
0
x
.
RegisterRetryCount
=
0
}
else
{
}
else
{
x
.
RegisterRetryCount
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
RegisterRetryCount
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"nodeStartupGracePeriod"
:
case
"nodeStartupGracePeriod"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -7415,7 +7415,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
...
@@ -7415,7 +7415,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
KubeAPIBurst
=
0
x
.
KubeAPIBurst
=
0
}
else
{
}
else
{
x
.
KubeAPIBurst
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
KubeAPIBurst
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"leaderElection"
:
case
"leaderElection"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -7486,7 +7486,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7486,7 +7486,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Port
=
0
x
.
Port
=
0
}
else
{
}
else
{
x
.
Port
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Port
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -7550,7 +7550,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7550,7 +7550,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentEndpointSyncs
=
0
x
.
ConcurrentEndpointSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentEndpointSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentEndpointSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -7566,7 +7566,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7566,7 +7566,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentRSSyncs
=
0
x
.
ConcurrentRSSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentRSSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentRSSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -7582,7 +7582,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7582,7 +7582,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentRCSyncs
=
0
x
.
ConcurrentRCSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentRCSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentRCSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -7598,7 +7598,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7598,7 +7598,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentResourceQuotaSyncs
=
0
x
.
ConcurrentResourceQuotaSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentResourceQuotaSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentResourceQuotaSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -7614,7 +7614,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7614,7 +7614,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentDeploymentSyncs
=
0
x
.
ConcurrentDeploymentSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentDeploymentSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentDeploymentSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -7630,7 +7630,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7630,7 +7630,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentDaemonSetSyncs
=
0
x
.
ConcurrentDaemonSetSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentDaemonSetSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentDaemonSetSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -7646,7 +7646,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7646,7 +7646,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentJobSyncs
=
0
x
.
ConcurrentJobSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentJobSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentJobSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -7662,7 +7662,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7662,7 +7662,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
ConcurrentNamespaceSyncs
=
0
x
.
ConcurrentNamespaceSyncs
=
0
}
else
{
}
else
{
x
.
ConcurrentNamespaceSyncs
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
ConcurrentNamespaceSyncs
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -7678,7 +7678,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7678,7 +7678,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
LookupCacheSizeForRC
=
0
x
.
LookupCacheSizeForRC
=
0
}
else
{
}
else
{
x
.
LookupCacheSizeForRC
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
LookupCacheSizeForRC
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -7694,7 +7694,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7694,7 +7694,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
LookupCacheSizeForRS
=
0
x
.
LookupCacheSizeForRS
=
0
}
else
{
}
else
{
x
.
LookupCacheSizeForRS
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
LookupCacheSizeForRS
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -7710,7 +7710,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7710,7 +7710,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
LookupCacheSizeForDaemonSet
=
0
x
.
LookupCacheSizeForDaemonSet
=
0
}
else
{
}
else
{
x
.
LookupCacheSizeForDaemonSet
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
LookupCacheSizeForDaemonSet
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -7876,7 +7876,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7876,7 +7876,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
TerminatedPodGCThreshold
=
0
x
.
TerminatedPodGCThreshold
=
0
}
else
{
}
else
{
x
.
TerminatedPodGCThreshold
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
TerminatedPodGCThreshold
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -7983,7 +7983,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -7983,7 +7983,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
DeletingPodsBurst
=
0
x
.
DeletingPodsBurst
=
0
}
else
{
}
else
{
x
.
DeletingPodsBurst
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
DeletingPodsBurst
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -8024,7 +8024,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -8024,7 +8024,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
RegisterRetryCount
=
0
x
.
RegisterRetryCount
=
0
}
else
{
}
else
{
x
.
RegisterRetryCount
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
RegisterRetryCount
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -8218,7 +8218,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
...
@@ -8218,7 +8218,7 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d *
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
KubeAPIBurst
=
0
x
.
KubeAPIBurst
=
0
}
else
{
}
else
{
x
.
KubeAPIBurst
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
KubeAPIBurst
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj62
++
yyj62
++
if
yyhl62
{
if
yyhl62
{
...
@@ -8752,13 +8752,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d
...
@@ -8752,13 +8752,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MaximumRetry
=
0
x
.
MaximumRetry
=
0
}
else
{
}
else
{
x
.
MaximumRetry
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MaximumRetry
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"minimumTimeoutNFS"
:
case
"minimumTimeoutNFS"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MinimumTimeoutNFS
=
0
x
.
MinimumTimeoutNFS
=
0
}
else
{
}
else
{
x
.
MinimumTimeoutNFS
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MinimumTimeoutNFS
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"podTemplateFilePathNFS"
:
case
"podTemplateFilePathNFS"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -8770,7 +8770,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d
...
@@ -8770,7 +8770,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
IncrementTimeoutNFS
=
0
x
.
IncrementTimeoutNFS
=
0
}
else
{
}
else
{
x
.
IncrementTimeoutNFS
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
IncrementTimeoutNFS
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"podTemplateFilePathHostPath"
:
case
"podTemplateFilePathHostPath"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -8782,13 +8782,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d
...
@@ -8782,13 +8782,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MinimumTimeoutHostPath
=
0
x
.
MinimumTimeoutHostPath
=
0
}
else
{
}
else
{
x
.
MinimumTimeoutHostPath
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MinimumTimeoutHostPath
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"incrementTimeoutHostPath"
:
case
"incrementTimeoutHostPath"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
IncrementTimeoutHostPath
=
0
x
.
IncrementTimeoutHostPath
=
0
}
else
{
}
else
{
x
.
IncrementTimeoutHostPath
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
IncrementTimeoutHostPath
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
default
:
default
:
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
...
@@ -8818,7 +8818,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
...
@@ -8818,7 +8818,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MaximumRetry
=
0
x
.
MaximumRetry
=
0
}
else
{
}
else
{
x
.
MaximumRetry
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MaximumRetry
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj11
++
yyj11
++
if
yyhl11
{
if
yyhl11
{
...
@@ -8834,7 +8834,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
...
@@ -8834,7 +8834,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MinimumTimeoutNFS
=
0
x
.
MinimumTimeoutNFS
=
0
}
else
{
}
else
{
x
.
MinimumTimeoutNFS
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MinimumTimeoutNFS
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj11
++
yyj11
++
if
yyhl11
{
if
yyhl11
{
...
@@ -8866,7 +8866,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
...
@@ -8866,7 +8866,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
IncrementTimeoutNFS
=
0
x
.
IncrementTimeoutNFS
=
0
}
else
{
}
else
{
x
.
IncrementTimeoutNFS
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
IncrementTimeoutNFS
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj11
++
yyj11
++
if
yyhl11
{
if
yyhl11
{
...
@@ -8898,7 +8898,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
...
@@ -8898,7 +8898,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MinimumTimeoutHostPath
=
0
x
.
MinimumTimeoutHostPath
=
0
}
else
{
}
else
{
x
.
MinimumTimeoutHostPath
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MinimumTimeoutHostPath
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj11
++
yyj11
++
if
yyhl11
{
if
yyhl11
{
...
@@ -8914,7 +8914,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
...
@@ -8914,7 +8914,7 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int,
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
IncrementTimeoutHostPath
=
0
x
.
IncrementTimeoutHostPath
=
0
}
else
{
}
else
{
x
.
IncrementTimeoutHostPath
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
IncrementTimeoutHostPath
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
for
{
for
{
yyj11
++
yyj11
++
...
...
pkg/apis/componentconfig/v1alpha1/conversion_generated.go
View file @
8d0187ad
...
@@ -51,12 +51,12 @@ func autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyCon
...
@@ -51,12 +51,12 @@ func autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyCon
out
.
BindAddress
=
in
.
BindAddress
out
.
BindAddress
=
in
.
BindAddress
out
.
ClusterCIDR
=
in
.
ClusterCIDR
out
.
ClusterCIDR
=
in
.
ClusterCIDR
out
.
HealthzBindAddress
=
in
.
HealthzBindAddress
out
.
HealthzBindAddress
=
in
.
HealthzBindAddress
out
.
HealthzPort
=
in
t
(
in
.
HealthzPort
)
out
.
HealthzPort
=
in
.
HealthzPort
out
.
HostnameOverride
=
in
.
HostnameOverride
out
.
HostnameOverride
=
in
.
HostnameOverride
if
in
.
IPTablesMasqueradeBit
!=
nil
{
if
in
.
IPTablesMasqueradeBit
!=
nil
{
in
,
out
:=
&
in
.
IPTablesMasqueradeBit
,
&
out
.
IPTablesMasqueradeBit
in
,
out
:=
&
in
.
IPTablesMasqueradeBit
,
&
out
.
IPTablesMasqueradeBit
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
int
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
IPTablesMasqueradeBit
=
nil
out
.
IPTablesMasqueradeBit
=
nil
}
}
...
@@ -69,8 +69,8 @@ func autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyCon
...
@@ -69,8 +69,8 @@ func autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyCon
out
.
Master
=
in
.
Master
out
.
Master
=
in
.
Master
if
in
.
OOMScoreAdj
!=
nil
{
if
in
.
OOMScoreAdj
!=
nil
{
in
,
out
:=
&
in
.
OOMScoreAdj
,
&
out
.
OOMScoreAdj
in
,
out
:=
&
in
.
OOMScoreAdj
,
&
out
.
OOMScoreAdj
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
int
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
OOMScoreAdj
=
nil
out
.
OOMScoreAdj
=
nil
}
}
...
@@ -81,7 +81,7 @@ func autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyCon
...
@@ -81,7 +81,7 @@ func autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyCon
if
err
:=
s
.
Convert
(
&
in
.
UDPIdleTimeout
,
&
out
.
UDPIdleTimeout
,
0
);
err
!=
nil
{
if
err
:=
s
.
Convert
(
&
in
.
UDPIdleTimeout
,
&
out
.
UDPIdleTimeout
,
0
);
err
!=
nil
{
return
err
return
err
}
}
out
.
ConntrackMax
=
in
t
(
in
.
ConntrackMax
)
out
.
ConntrackMax
=
in
.
ConntrackMax
// TODO: Inefficient conversion - can we improve it?
// TODO: Inefficient conversion - can we improve it?
if
err
:=
s
.
Convert
(
&
in
.
ConntrackTCPEstablishedTimeout
,
&
out
.
ConntrackTCPEstablishedTimeout
,
0
);
err
!=
nil
{
if
err
:=
s
.
Convert
(
&
in
.
ConntrackTCPEstablishedTimeout
,
&
out
.
ConntrackTCPEstablishedTimeout
,
0
);
err
!=
nil
{
return
err
return
err
...
@@ -103,12 +103,12 @@ func autoConvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyCon
...
@@ -103,12 +103,12 @@ func autoConvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyCon
out
.
BindAddress
=
in
.
BindAddress
out
.
BindAddress
=
in
.
BindAddress
out
.
ClusterCIDR
=
in
.
ClusterCIDR
out
.
ClusterCIDR
=
in
.
ClusterCIDR
out
.
HealthzBindAddress
=
in
.
HealthzBindAddress
out
.
HealthzBindAddress
=
in
.
HealthzBindAddress
out
.
HealthzPort
=
in
t32
(
in
.
HealthzPort
)
out
.
HealthzPort
=
in
.
HealthzPort
out
.
HostnameOverride
=
in
.
HostnameOverride
out
.
HostnameOverride
=
in
.
HostnameOverride
if
in
.
IPTablesMasqueradeBit
!=
nil
{
if
in
.
IPTablesMasqueradeBit
!=
nil
{
in
,
out
:=
&
in
.
IPTablesMasqueradeBit
,
&
out
.
IPTablesMasqueradeBit
in
,
out
:=
&
in
.
IPTablesMasqueradeBit
,
&
out
.
IPTablesMasqueradeBit
*
out
=
new
(
int32
)
*
out
=
new
(
int32
)
**
out
=
int32
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
IPTablesMasqueradeBit
=
nil
out
.
IPTablesMasqueradeBit
=
nil
}
}
...
@@ -122,7 +122,7 @@ func autoConvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyCon
...
@@ -122,7 +122,7 @@ func autoConvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyCon
if
in
.
OOMScoreAdj
!=
nil
{
if
in
.
OOMScoreAdj
!=
nil
{
in
,
out
:=
&
in
.
OOMScoreAdj
,
&
out
.
OOMScoreAdj
in
,
out
:=
&
in
.
OOMScoreAdj
,
&
out
.
OOMScoreAdj
*
out
=
new
(
int32
)
*
out
=
new
(
int32
)
**
out
=
int32
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
OOMScoreAdj
=
nil
out
.
OOMScoreAdj
=
nil
}
}
...
@@ -133,7 +133,7 @@ func autoConvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyCon
...
@@ -133,7 +133,7 @@ func autoConvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyCon
if
err
:=
s
.
Convert
(
&
in
.
UDPIdleTimeout
,
&
out
.
UDPIdleTimeout
,
0
);
err
!=
nil
{
if
err
:=
s
.
Convert
(
&
in
.
UDPIdleTimeout
,
&
out
.
UDPIdleTimeout
,
0
);
err
!=
nil
{
return
err
return
err
}
}
out
.
ConntrackMax
=
in
t32
(
in
.
ConntrackMax
)
out
.
ConntrackMax
=
in
.
ConntrackMax
// TODO: Inefficient conversion - can we improve it?
// TODO: Inefficient conversion - can we improve it?
if
err
:=
s
.
Convert
(
&
in
.
ConntrackTCPEstablishedTimeout
,
&
out
.
ConntrackTCPEstablishedTimeout
,
0
);
err
!=
nil
{
if
err
:=
s
.
Convert
(
&
in
.
ConntrackTCPEstablishedTimeout
,
&
out
.
ConntrackTCPEstablishedTimeout
,
0
);
err
!=
nil
{
return
err
return
err
...
@@ -152,7 +152,7 @@ func autoConvert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSche
...
@@ -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
{
if
err
:=
api
.
Convert_unversioned_TypeMeta_To_unversioned_TypeMeta
(
&
in
.
TypeMeta
,
&
out
.
TypeMeta
,
s
);
err
!=
nil
{
return
err
return
err
}
}
out
.
Port
=
in
.
Port
out
.
Port
=
in
t32
(
in
.
Port
)
out
.
Address
=
in
.
Address
out
.
Address
=
in
.
Address
out
.
AlgorithmProvider
=
in
.
AlgorithmProvider
out
.
AlgorithmProvider
=
in
.
AlgorithmProvider
out
.
PolicyConfigFile
=
in
.
PolicyConfigFile
out
.
PolicyConfigFile
=
in
.
PolicyConfigFile
...
@@ -161,7 +161,7 @@ func autoConvert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSche
...
@@ -161,7 +161,7 @@ func autoConvert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSche
}
}
out
.
ContentType
=
in
.
ContentType
out
.
ContentType
=
in
.
ContentType
out
.
KubeAPIQPS
=
in
.
KubeAPIQPS
out
.
KubeAPIQPS
=
in
.
KubeAPIQPS
out
.
KubeAPIBurst
=
in
.
KubeAPIBurst
out
.
KubeAPIBurst
=
in
t32
(
in
.
KubeAPIBurst
)
out
.
SchedulerName
=
in
.
SchedulerName
out
.
SchedulerName
=
in
.
SchedulerName
if
err
:=
Convert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration
(
&
in
.
LeaderElection
,
&
out
.
LeaderElection
,
s
);
err
!=
nil
{
if
err
:=
Convert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration
(
&
in
.
LeaderElection
,
&
out
.
LeaderElection
,
s
);
err
!=
nil
{
return
err
return
err
...
@@ -180,7 +180,7 @@ func autoConvert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSche
...
@@ -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
{
if
err
:=
api
.
Convert_unversioned_TypeMeta_To_unversioned_TypeMeta
(
&
in
.
TypeMeta
,
&
out
.
TypeMeta
,
s
);
err
!=
nil
{
return
err
return
err
}
}
out
.
Port
=
in
.
Port
out
.
Port
=
in
t
(
in
.
Port
)
out
.
Address
=
in
.
Address
out
.
Address
=
in
.
Address
out
.
AlgorithmProvider
=
in
.
AlgorithmProvider
out
.
AlgorithmProvider
=
in
.
AlgorithmProvider
out
.
PolicyConfigFile
=
in
.
PolicyConfigFile
out
.
PolicyConfigFile
=
in
.
PolicyConfigFile
...
@@ -189,7 +189,7 @@ func autoConvert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSche
...
@@ -189,7 +189,7 @@ func autoConvert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSche
}
}
out
.
ContentType
=
in
.
ContentType
out
.
ContentType
=
in
.
ContentType
out
.
KubeAPIQPS
=
in
.
KubeAPIQPS
out
.
KubeAPIQPS
=
in
.
KubeAPIQPS
out
.
KubeAPIBurst
=
in
.
KubeAPIBurst
out
.
KubeAPIBurst
=
in
t
(
in
.
KubeAPIBurst
)
out
.
SchedulerName
=
in
.
SchedulerName
out
.
SchedulerName
=
in
.
SchedulerName
if
err
:=
Convert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration
(
&
in
.
LeaderElection
,
&
out
.
LeaderElection
,
s
);
err
!=
nil
{
if
err
:=
Convert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration
(
&
in
.
LeaderElection
,
&
out
.
LeaderElection
,
s
);
err
!=
nil
{
return
err
return
err
...
...
pkg/apis/extensions/deep_copy_generated.go
View file @
8d0187ad
...
@@ -281,7 +281,7 @@ func DeepCopy_extensions_DeploymentSpec(in DeploymentSpec, out *DeploymentSpec,
...
@@ -281,7 +281,7 @@ func DeepCopy_extensions_DeploymentSpec(in DeploymentSpec, out *DeploymentSpec,
out
.
MinReadySeconds
=
in
.
MinReadySeconds
out
.
MinReadySeconds
=
in
.
MinReadySeconds
if
in
.
RevisionHistoryLimit
!=
nil
{
if
in
.
RevisionHistoryLimit
!=
nil
{
in
,
out
:=
in
.
RevisionHistoryLimit
,
&
out
.
RevisionHistoryLimit
in
,
out
:=
in
.
RevisionHistoryLimit
,
&
out
.
RevisionHistoryLimit
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
*
in
**
out
=
*
in
}
else
{
}
else
{
out
.
RevisionHistoryLimit
=
nil
out
.
RevisionHistoryLimit
=
nil
...
@@ -388,7 +388,7 @@ func DeepCopy_extensions_HorizontalPodAutoscalerSpec(in HorizontalPodAutoscalerS
...
@@ -388,7 +388,7 @@ func DeepCopy_extensions_HorizontalPodAutoscalerSpec(in HorizontalPodAutoscalerS
}
}
if
in
.
MinReplicas
!=
nil
{
if
in
.
MinReplicas
!=
nil
{
in
,
out
:=
in
.
MinReplicas
,
&
out
.
MinReplicas
in
,
out
:=
in
.
MinReplicas
,
&
out
.
MinReplicas
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
*
in
**
out
=
*
in
}
else
{
}
else
{
out
.
MinReplicas
=
nil
out
.
MinReplicas
=
nil
...
@@ -427,7 +427,7 @@ func DeepCopy_extensions_HorizontalPodAutoscalerStatus(in HorizontalPodAutoscale
...
@@ -427,7 +427,7 @@ func DeepCopy_extensions_HorizontalPodAutoscalerStatus(in HorizontalPodAutoscale
out
.
DesiredReplicas
=
in
.
DesiredReplicas
out
.
DesiredReplicas
=
in
.
DesiredReplicas
if
in
.
CurrentCPUUtilizationPercentage
!=
nil
{
if
in
.
CurrentCPUUtilizationPercentage
!=
nil
{
in
,
out
:=
in
.
CurrentCPUUtilizationPercentage
,
&
out
.
CurrentCPUUtilizationPercentage
in
,
out
:=
in
.
CurrentCPUUtilizationPercentage
,
&
out
.
CurrentCPUUtilizationPercentage
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
*
in
**
out
=
*
in
}
else
{
}
else
{
out
.
CurrentCPUUtilizationPercentage
=
nil
out
.
CurrentCPUUtilizationPercentage
=
nil
...
...
pkg/apis/extensions/types.generated.go
View file @
8d0187ad
...
@@ -198,7 +198,7 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -198,7 +198,7 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
default
:
default
:
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
...
@@ -228,7 +228,7 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -228,7 +228,7 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
for
{
for
{
yyj5
++
yyj5
++
...
@@ -396,7 +396,7 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -396,7 +396,7 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"selector"
:
case
"selector"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -443,7 +443,7 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -443,7 +443,7 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj7
++
yyj7
++
if
yyhl7
{
if
yyhl7
{
...
@@ -1475,7 +1475,7 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode
...
@@ -1475,7 +1475,7 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
TargetPercentage
=
0
x
.
TargetPercentage
=
0
}
else
{
}
else
{
x
.
TargetPercentage
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
TargetPercentage
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
default
:
default
:
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
...
@@ -1505,7 +1505,7 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Deco
...
@@ -1505,7 +1505,7 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Deco
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
TargetPercentage
=
0
x
.
TargetPercentage
=
0
}
else
{
}
else
{
x
.
TargetPercentage
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
TargetPercentage
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
for
{
for
{
yyj5
++
yyj5
++
...
@@ -2540,20 +2540,20 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978
...
@@ -2540,20 +2540,20 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978
}
}
}
else
{
}
else
{
if
x
.
MinReplicas
==
nil
{
if
x
.
MinReplicas
==
nil
{
x
.
MinReplicas
=
new
(
int
)
x
.
MinReplicas
=
new
(
int
32
)
}
}
yym6
:=
z
.
DecBinary
()
yym6
:=
z
.
DecBinary
()
_
=
yym6
_
=
yym6
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
MinReplicas
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
MinReplicas
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
case
"maxReplicas"
:
case
"maxReplicas"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MaxReplicas
=
0
x
.
MaxReplicas
=
0
}
else
{
}
else
{
x
.
MaxReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MaxReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"cpuUtilization"
:
case
"cpuUtilization"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -2614,13 +2614,13 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19
...
@@ -2614,13 +2614,13 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19
}
}
}
else
{
}
else
{
if
x
.
MinReplicas
==
nil
{
if
x
.
MinReplicas
==
nil
{
x
.
MinReplicas
=
new
(
int
)
x
.
MinReplicas
=
new
(
int
32
)
}
}
yym12
:=
z
.
DecBinary
()
yym12
:=
z
.
DecBinary
()
_
=
yym12
_
=
yym12
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
MinReplicas
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
MinReplicas
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
yyj9
++
yyj9
++
...
@@ -2637,7 +2637,7 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19
...
@@ -2637,7 +2637,7 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MaxReplicas
=
0
x
.
MaxReplicas
=
0
}
else
{
}
else
{
x
.
MaxReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MaxReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj9
++
yyj9
++
if
yyhl9
{
if
yyhl9
{
...
@@ -2962,13 +2962,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19
...
@@ -2962,13 +2962,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
CurrentReplicas
=
0
x
.
CurrentReplicas
=
0
}
else
{
}
else
{
x
.
CurrentReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
CurrentReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"desiredReplicas"
:
case
"desiredReplicas"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
DesiredReplicas
=
0
x
.
DesiredReplicas
=
0
}
else
{
}
else
{
x
.
DesiredReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
DesiredReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"currentCPUUtilizationPercentage"
:
case
"currentCPUUtilizationPercentage"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -2977,13 +2977,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19
...
@@ -2977,13 +2977,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19
}
}
}
else
{
}
else
{
if
x
.
CurrentCPUUtilizationPercentage
==
nil
{
if
x
.
CurrentCPUUtilizationPercentage
==
nil
{
x
.
CurrentCPUUtilizationPercentage
=
new
(
int
)
x
.
CurrentCPUUtilizationPercentage
=
new
(
int
32
)
}
}
yym11
:=
z
.
DecBinary
()
yym11
:=
z
.
DecBinary
()
_
=
yym11
_
=
yym11
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
CurrentCPUUtilizationPercentage
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
CurrentCPUUtilizationPercentage
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
default
:
default
:
...
@@ -3071,7 +3071,7 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec
...
@@ -3071,7 +3071,7 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
CurrentReplicas
=
0
x
.
CurrentReplicas
=
0
}
else
{
}
else
{
x
.
CurrentReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
CurrentReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj12
++
yyj12
++
if
yyhl12
{
if
yyhl12
{
...
@@ -3087,7 +3087,7 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec
...
@@ -3087,7 +3087,7 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
DesiredReplicas
=
0
x
.
DesiredReplicas
=
0
}
else
{
}
else
{
x
.
DesiredReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
DesiredReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj12
++
yyj12
++
if
yyhl12
{
if
yyhl12
{
...
@@ -3106,13 +3106,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec
...
@@ -3106,13 +3106,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec
}
}
}
else
{
}
else
{
if
x
.
CurrentCPUUtilizationPercentage
==
nil
{
if
x
.
CurrentCPUUtilizationPercentage
==
nil
{
x
.
CurrentCPUUtilizationPercentage
=
new
(
int
)
x
.
CurrentCPUUtilizationPercentage
=
new
(
int
32
)
}
}
yym20
:=
z
.
DecBinary
()
yym20
:=
z
.
DecBinary
()
_
=
yym20
_
=
yym20
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
CurrentCPUUtilizationPercentage
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
CurrentCPUUtilizationPercentage
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
for
{
for
{
...
@@ -5674,7 +5674,7 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -5674,7 +5674,7 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"selector"
:
case
"selector"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -5711,7 +5711,7 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -5711,7 +5711,7 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MinReadySeconds
=
0
x
.
MinReadySeconds
=
0
}
else
{
}
else
{
x
.
MinReadySeconds
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MinReadySeconds
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"revisionHistoryLimit"
:
case
"revisionHistoryLimit"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -5720,13 +5720,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -5720,13 +5720,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
}
}
}
else
{
}
else
{
if
x
.
RevisionHistoryLimit
==
nil
{
if
x
.
RevisionHistoryLimit
==
nil
{
x
.
RevisionHistoryLimit
=
new
(
int
)
x
.
RevisionHistoryLimit
=
new
(
int
32
)
}
}
yym11
:=
z
.
DecBinary
()
yym11
:=
z
.
DecBinary
()
_
=
yym11
_
=
yym11
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
RevisionHistoryLimit
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
RevisionHistoryLimit
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
case
"paused"
:
case
"paused"
:
...
@@ -5774,7 +5774,7 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -5774,7 +5774,7 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj14
++
yyj14
++
if
yyhl14
{
if
yyhl14
{
...
@@ -5851,7 +5851,7 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -5851,7 +5851,7 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
MinReadySeconds
=
0
x
.
MinReadySeconds
=
0
}
else
{
}
else
{
x
.
MinReadySeconds
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
MinReadySeconds
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj14
++
yyj14
++
if
yyhl14
{
if
yyhl14
{
...
@@ -5870,13 +5870,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -5870,13 +5870,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
}
}
}
else
{
}
else
{
if
x
.
RevisionHistoryLimit
==
nil
{
if
x
.
RevisionHistoryLimit
==
nil
{
x
.
RevisionHistoryLimit
=
new
(
int
)
x
.
RevisionHistoryLimit
=
new
(
int
32
)
}
}
yym22
:=
z
.
DecBinary
()
yym22
:=
z
.
DecBinary
()
_
=
yym22
_
=
yym22
if
false
{
if
false
{
}
else
{
}
else
{
*
((
*
int
)(
x
.
RevisionHistoryLimit
))
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
*
((
*
int
32
)(
x
.
RevisionHistoryLimit
))
=
int32
(
r
.
DecodeInt
(
32
))
}
}
}
}
yyj14
++
yyj14
++
...
@@ -7203,25 +7203,25 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -7203,25 +7203,25 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"updatedReplicas"
:
case
"updatedReplicas"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
UpdatedReplicas
=
0
x
.
UpdatedReplicas
=
0
}
else
{
}
else
{
x
.
UpdatedReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
UpdatedReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"availableReplicas"
:
case
"availableReplicas"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
AvailableReplicas
=
0
x
.
AvailableReplicas
=
0
}
else
{
}
else
{
x
.
AvailableReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
AvailableReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"unavailableReplicas"
:
case
"unavailableReplicas"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
UnavailableReplicas
=
0
x
.
UnavailableReplicas
=
0
}
else
{
}
else
{
x
.
UnavailableReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
UnavailableReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
default
:
default
:
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
...
@@ -7267,7 +7267,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
...
@@ -7267,7 +7267,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj9
++
yyj9
++
if
yyhl9
{
if
yyhl9
{
...
@@ -7283,7 +7283,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
...
@@ -7283,7 +7283,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
UpdatedReplicas
=
0
x
.
UpdatedReplicas
=
0
}
else
{
}
else
{
x
.
UpdatedReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
UpdatedReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj9
++
yyj9
++
if
yyhl9
{
if
yyhl9
{
...
@@ -7299,7 +7299,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
...
@@ -7299,7 +7299,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
AvailableReplicas
=
0
x
.
AvailableReplicas
=
0
}
else
{
}
else
{
x
.
AvailableReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
AvailableReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj9
++
yyj9
++
if
yyhl9
{
if
yyhl9
{
...
@@ -7315,7 +7315,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
...
@@ -7315,7 +7315,7 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
UnavailableReplicas
=
0
x
.
UnavailableReplicas
=
0
}
else
{
}
else
{
x
.
UnavailableReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
UnavailableReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
for
{
for
{
yyj9
++
yyj9
++
...
@@ -8065,19 +8065,19 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -8065,19 +8065,19 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
CurrentNumberScheduled
=
0
x
.
CurrentNumberScheduled
=
0
}
else
{
}
else
{
x
.
CurrentNumberScheduled
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
CurrentNumberScheduled
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"numberMisscheduled"
:
case
"numberMisscheduled"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
NumberMisscheduled
=
0
x
.
NumberMisscheduled
=
0
}
else
{
}
else
{
x
.
NumberMisscheduled
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
NumberMisscheduled
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"desiredNumberScheduled"
:
case
"desiredNumberScheduled"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
DesiredNumberScheduled
=
0
x
.
DesiredNumberScheduled
=
0
}
else
{
}
else
{
x
.
DesiredNumberScheduled
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
DesiredNumberScheduled
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
default
:
default
:
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
z
.
DecStructFieldNotFound
(
-
1
,
yys3
)
...
@@ -8107,7 +8107,7 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
...
@@ -8107,7 +8107,7 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
CurrentNumberScheduled
=
0
x
.
CurrentNumberScheduled
=
0
}
else
{
}
else
{
x
.
CurrentNumberScheduled
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
CurrentNumberScheduled
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj7
++
yyj7
++
if
yyhl7
{
if
yyhl7
{
...
@@ -8123,7 +8123,7 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
...
@@ -8123,7 +8123,7 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
NumberMisscheduled
=
0
x
.
NumberMisscheduled
=
0
}
else
{
}
else
{
x
.
NumberMisscheduled
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
NumberMisscheduled
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj7
++
yyj7
++
if
yyhl7
{
if
yyhl7
{
...
@@ -8139,7 +8139,7 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
...
@@ -8139,7 +8139,7 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
DesiredNumberScheduled
=
0
x
.
DesiredNumberScheduled
=
0
}
else
{
}
else
{
x
.
DesiredNumberScheduled
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
DesiredNumberScheduled
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
for
{
for
{
yyj7
++
yyj7
++
...
@@ -12480,7 +12480,7 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -12480,7 +12480,7 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"selector"
:
case
"selector"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -12534,7 +12534,7 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
...
@@ -12534,7 +12534,7 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj8
++
yyj8
++
if
yyhl8
{
if
yyhl8
{
...
@@ -12762,13 +12762,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
...
@@ -12762,13 +12762,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"fullyLabeledReplicas"
:
case
"fullyLabeledReplicas"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
FullyLabeledReplicas
=
0
x
.
FullyLabeledReplicas
=
0
}
else
{
}
else
{
x
.
FullyLabeledReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
FullyLabeledReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
case
"observedGeneration"
:
case
"observedGeneration"
:
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
...
@@ -12804,7 +12804,7 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
...
@@ -12804,7 +12804,7 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
Replicas
=
0
x
.
Replicas
=
0
}
else
{
}
else
{
x
.
Replicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
Replicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj7
++
yyj7
++
if
yyhl7
{
if
yyhl7
{
...
@@ -12820,7 +12820,7 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
...
@@ -12820,7 +12820,7 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder)
if
r
.
TryDecodeAsNil
()
{
if
r
.
TryDecodeAsNil
()
{
x
.
FullyLabeledReplicas
=
0
x
.
FullyLabeledReplicas
=
0
}
else
{
}
else
{
x
.
FullyLabeledReplicas
=
int
(
r
.
DecodeInt
(
codecSelferBitsize1234
))
x
.
FullyLabeledReplicas
=
int
32
(
r
.
DecodeInt
(
32
))
}
}
yyj7
++
yyj7
++
if
yyhl7
{
if
yyhl7
{
...
@@ -15289,7 +15289,7 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos
...
@@ -15289,7 +15289,7 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos
yyrg1
:=
len
(
yyv1
)
>
0
yyrg1
:=
len
(
yyv1
)
>
0
yyv21
:=
yyv1
yyv21
:=
yyv1
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
3
20
)
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
3
12
)
if
yyrt1
{
if
yyrt1
{
if
yyrl1
<=
cap
(
yyv1
)
{
if
yyrl1
<=
cap
(
yyv1
)
{
yyv1
=
yyv1
[
:
yyrl1
]
yyv1
=
yyv1
[
:
yyrl1
]
...
@@ -15646,7 +15646,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode
...
@@ -15646,7 +15646,7 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode
yyrg1
:=
len
(
yyv1
)
>
0
yyrg1
:=
len
(
yyv1
)
>
0
yyv21
:=
yyv1
yyv21
:=
yyv1
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
6
64
)
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
6
48
)
if
yyrt1
{
if
yyrt1
{
if
yyrl1
<=
cap
(
yyv1
)
{
if
yyrl1
<=
cap
(
yyv1
)
{
yyv1
=
yyv1
[
:
yyrl1
]
yyv1
=
yyv1
[
:
yyrl1
]
...
@@ -15765,7 +15765,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder)
...
@@ -15765,7 +15765,7 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder)
yyrg1
:=
len
(
yyv1
)
>
0
yyrg1
:=
len
(
yyv1
)
>
0
yyv21
:=
yyv1
yyv21
:=
yyv1
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
5
84
)
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
5
76
)
if
yyrt1
{
if
yyrt1
{
if
yyrl1
<=
cap
(
yyv1
)
{
if
yyrl1
<=
cap
(
yyv1
)
{
yyv1
=
yyv1
[
:
yyrl1
]
yyv1
=
yyv1
[
:
yyrl1
]
...
@@ -16479,7 +16479,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode
...
@@ -16479,7 +16479,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode
yyrg1
:=
len
(
yyv1
)
>
0
yyrg1
:=
len
(
yyv1
)
>
0
yyv21
:=
yyv1
yyv21
:=
yyv1
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
5
92
)
yyrl1
,
yyrt1
=
z
.
DecInferLen
(
yyl1
,
z
.
DecBasicHandle
()
.
MaxInitLen
,
5
84
)
if
yyrt1
{
if
yyrt1
{
if
yyrl1
<=
cap
(
yyv1
)
{
if
yyrl1
<=
cap
(
yyv1
)
{
yyv1
=
yyv1
[
:
yyrl1
]
yyv1
=
yyv1
[
:
yyrl1
]
...
...
pkg/apis/extensions/v1beta1/conversion_generated.go
View file @
8d0187ad
...
@@ -184,7 +184,7 @@ func autoConvert_v1beta1_CPUTargetUtilization_To_extensions_CPUTargetUtilization
...
@@ -184,7 +184,7 @@ func autoConvert_v1beta1_CPUTargetUtilization_To_extensions_CPUTargetUtilization
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
CPUTargetUtilization
))(
in
)
defaulting
.
(
func
(
*
CPUTargetUtilization
))(
in
)
}
}
out
.
TargetPercentage
=
in
t
(
in
.
TargetPercentage
)
out
.
TargetPercentage
=
in
.
TargetPercentage
return
nil
return
nil
}
}
...
@@ -196,7 +196,7 @@ func autoConvert_extensions_CPUTargetUtilization_To_v1beta1_CPUTargetUtilization
...
@@ -196,7 +196,7 @@ func autoConvert_extensions_CPUTargetUtilization_To_v1beta1_CPUTargetUtilization
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
extensions
.
CPUTargetUtilization
))(
in
)
defaulting
.
(
func
(
*
extensions
.
CPUTargetUtilization
))(
in
)
}
}
out
.
TargetPercentage
=
in
t32
(
in
.
TargetPercentage
)
out
.
TargetPercentage
=
in
.
TargetPercentage
return
nil
return
nil
}
}
...
@@ -508,9 +508,9 @@ func autoConvert_v1beta1_DaemonSetStatus_To_extensions_DaemonSetStatus(in *Daemo
...
@@ -508,9 +508,9 @@ func autoConvert_v1beta1_DaemonSetStatus_To_extensions_DaemonSetStatus(in *Daemo
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
DaemonSetStatus
))(
in
)
defaulting
.
(
func
(
*
DaemonSetStatus
))(
in
)
}
}
out
.
CurrentNumberScheduled
=
in
t
(
in
.
CurrentNumberScheduled
)
out
.
CurrentNumberScheduled
=
in
.
CurrentNumberScheduled
out
.
NumberMisscheduled
=
in
t
(
in
.
NumberMisscheduled
)
out
.
NumberMisscheduled
=
in
.
NumberMisscheduled
out
.
DesiredNumberScheduled
=
in
t
(
in
.
DesiredNumberScheduled
)
out
.
DesiredNumberScheduled
=
in
.
DesiredNumberScheduled
return
nil
return
nil
}
}
...
@@ -522,9 +522,9 @@ func autoConvert_extensions_DaemonSetStatus_To_v1beta1_DaemonSetStatus(in *exten
...
@@ -522,9 +522,9 @@ func autoConvert_extensions_DaemonSetStatus_To_v1beta1_DaemonSetStatus(in *exten
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
extensions
.
DaemonSetStatus
))(
in
)
defaulting
.
(
func
(
*
extensions
.
DaemonSetStatus
))(
in
)
}
}
out
.
CurrentNumberScheduled
=
in
t32
(
in
.
CurrentNumberScheduled
)
out
.
CurrentNumberScheduled
=
in
.
CurrentNumberScheduled
out
.
NumberMisscheduled
=
in
t32
(
in
.
NumberMisscheduled
)
out
.
NumberMisscheduled
=
in
.
NumberMisscheduled
out
.
DesiredNumberScheduled
=
in
t32
(
in
.
DesiredNumberScheduled
)
out
.
DesiredNumberScheduled
=
in
.
DesiredNumberScheduled
return
nil
return
nil
}
}
...
@@ -695,10 +695,10 @@ func autoConvert_v1beta1_DeploymentStatus_To_extensions_DeploymentStatus(in *Dep
...
@@ -695,10 +695,10 @@ func autoConvert_v1beta1_DeploymentStatus_To_extensions_DeploymentStatus(in *Dep
defaulting
.
(
func
(
*
DeploymentStatus
))(
in
)
defaulting
.
(
func
(
*
DeploymentStatus
))(
in
)
}
}
out
.
ObservedGeneration
=
in
.
ObservedGeneration
out
.
ObservedGeneration
=
in
.
ObservedGeneration
out
.
Replicas
=
in
t
(
in
.
Replicas
)
out
.
Replicas
=
in
.
Replicas
out
.
UpdatedReplicas
=
in
t
(
in
.
UpdatedReplicas
)
out
.
UpdatedReplicas
=
in
.
UpdatedReplicas
out
.
AvailableReplicas
=
in
t
(
in
.
AvailableReplicas
)
out
.
AvailableReplicas
=
in
.
AvailableReplicas
out
.
UnavailableReplicas
=
in
t
(
in
.
UnavailableReplicas
)
out
.
UnavailableReplicas
=
in
.
UnavailableReplicas
return
nil
return
nil
}
}
...
@@ -711,10 +711,10 @@ func autoConvert_extensions_DeploymentStatus_To_v1beta1_DeploymentStatus(in *ext
...
@@ -711,10 +711,10 @@ func autoConvert_extensions_DeploymentStatus_To_v1beta1_DeploymentStatus(in *ext
defaulting
.
(
func
(
*
extensions
.
DeploymentStatus
))(
in
)
defaulting
.
(
func
(
*
extensions
.
DeploymentStatus
))(
in
)
}
}
out
.
ObservedGeneration
=
in
.
ObservedGeneration
out
.
ObservedGeneration
=
in
.
ObservedGeneration
out
.
Replicas
=
in
t32
(
in
.
Replicas
)
out
.
Replicas
=
in
.
Replicas
out
.
UpdatedReplicas
=
in
t32
(
in
.
UpdatedReplicas
)
out
.
UpdatedReplicas
=
in
.
UpdatedReplicas
out
.
AvailableReplicas
=
in
t32
(
in
.
AvailableReplicas
)
out
.
AvailableReplicas
=
in
.
AvailableReplicas
out
.
UnavailableReplicas
=
in
t32
(
in
.
UnavailableReplicas
)
out
.
UnavailableReplicas
=
in
.
UnavailableReplicas
return
nil
return
nil
}
}
...
@@ -943,12 +943,12 @@ func autoConvert_v1beta1_HorizontalPodAutoscalerSpec_To_extensions_HorizontalPod
...
@@ -943,12 +943,12 @@ func autoConvert_v1beta1_HorizontalPodAutoscalerSpec_To_extensions_HorizontalPod
}
}
if
in
.
MinReplicas
!=
nil
{
if
in
.
MinReplicas
!=
nil
{
in
,
out
:=
&
in
.
MinReplicas
,
&
out
.
MinReplicas
in
,
out
:=
&
in
.
MinReplicas
,
&
out
.
MinReplicas
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
int
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
MinReplicas
=
nil
out
.
MinReplicas
=
nil
}
}
out
.
MaxReplicas
=
in
t
(
in
.
MaxReplicas
)
out
.
MaxReplicas
=
in
.
MaxReplicas
if
in
.
CPUUtilization
!=
nil
{
if
in
.
CPUUtilization
!=
nil
{
in
,
out
:=
&
in
.
CPUUtilization
,
&
out
.
CPUUtilization
in
,
out
:=
&
in
.
CPUUtilization
,
&
out
.
CPUUtilization
*
out
=
new
(
extensions
.
CPUTargetUtilization
)
*
out
=
new
(
extensions
.
CPUTargetUtilization
)
...
@@ -975,11 +975,11 @@ func autoConvert_extensions_HorizontalPodAutoscalerSpec_To_v1beta1_HorizontalPod
...
@@ -975,11 +975,11 @@ func autoConvert_extensions_HorizontalPodAutoscalerSpec_To_v1beta1_HorizontalPod
if
in
.
MinReplicas
!=
nil
{
if
in
.
MinReplicas
!=
nil
{
in
,
out
:=
&
in
.
MinReplicas
,
&
out
.
MinReplicas
in
,
out
:=
&
in
.
MinReplicas
,
&
out
.
MinReplicas
*
out
=
new
(
int32
)
*
out
=
new
(
int32
)
**
out
=
int32
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
MinReplicas
=
nil
out
.
MinReplicas
=
nil
}
}
out
.
MaxReplicas
=
in
t32
(
in
.
MaxReplicas
)
out
.
MaxReplicas
=
in
.
MaxReplicas
if
in
.
CPUUtilization
!=
nil
{
if
in
.
CPUUtilization
!=
nil
{
in
,
out
:=
&
in
.
CPUUtilization
,
&
out
.
CPUUtilization
in
,
out
:=
&
in
.
CPUUtilization
,
&
out
.
CPUUtilization
*
out
=
new
(
CPUTargetUtilization
)
*
out
=
new
(
CPUTargetUtilization
)
...
@@ -1016,12 +1016,12 @@ func autoConvert_v1beta1_HorizontalPodAutoscalerStatus_To_extensions_HorizontalP
...
@@ -1016,12 +1016,12 @@ func autoConvert_v1beta1_HorizontalPodAutoscalerStatus_To_extensions_HorizontalP
}
else
{
}
else
{
out
.
LastScaleTime
=
nil
out
.
LastScaleTime
=
nil
}
}
out
.
CurrentReplicas
=
in
t
(
in
.
CurrentReplicas
)
out
.
CurrentReplicas
=
in
.
CurrentReplicas
out
.
DesiredReplicas
=
in
t
(
in
.
DesiredReplicas
)
out
.
DesiredReplicas
=
in
.
DesiredReplicas
if
in
.
CurrentCPUUtilizationPercentage
!=
nil
{
if
in
.
CurrentCPUUtilizationPercentage
!=
nil
{
in
,
out
:=
&
in
.
CurrentCPUUtilizationPercentage
,
&
out
.
CurrentCPUUtilizationPercentage
in
,
out
:=
&
in
.
CurrentCPUUtilizationPercentage
,
&
out
.
CurrentCPUUtilizationPercentage
*
out
=
new
(
int
)
*
out
=
new
(
int
32
)
**
out
=
int
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
CurrentCPUUtilizationPercentage
=
nil
out
.
CurrentCPUUtilizationPercentage
=
nil
}
}
...
@@ -1052,12 +1052,12 @@ func autoConvert_extensions_HorizontalPodAutoscalerStatus_To_v1beta1_HorizontalP
...
@@ -1052,12 +1052,12 @@ func autoConvert_extensions_HorizontalPodAutoscalerStatus_To_v1beta1_HorizontalP
}
else
{
}
else
{
out
.
LastScaleTime
=
nil
out
.
LastScaleTime
=
nil
}
}
out
.
CurrentReplicas
=
in
t32
(
in
.
CurrentReplicas
)
out
.
CurrentReplicas
=
in
.
CurrentReplicas
out
.
DesiredReplicas
=
in
t32
(
in
.
DesiredReplicas
)
out
.
DesiredReplicas
=
in
.
DesiredReplicas
if
in
.
CurrentCPUUtilizationPercentage
!=
nil
{
if
in
.
CurrentCPUUtilizationPercentage
!=
nil
{
in
,
out
:=
&
in
.
CurrentCPUUtilizationPercentage
,
&
out
.
CurrentCPUUtilizationPercentage
in
,
out
:=
&
in
.
CurrentCPUUtilizationPercentage
,
&
out
.
CurrentCPUUtilizationPercentage
*
out
=
new
(
int32
)
*
out
=
new
(
int32
)
**
out
=
int32
(
**
in
)
**
out
=
**
in
}
else
{
}
else
{
out
.
CurrentCPUUtilizationPercentage
=
nil
out
.
CurrentCPUUtilizationPercentage
=
nil
}
}
...
@@ -1655,9 +1655,9 @@ func autoConvert_v1beta1_JobStatus_To_batch_JobStatus(in *JobStatus, out *batch.
...
@@ -1655,9 +1655,9 @@ func autoConvert_v1beta1_JobStatus_To_batch_JobStatus(in *JobStatus, out *batch.
}
else
{
}
else
{
out
.
CompletionTime
=
nil
out
.
CompletionTime
=
nil
}
}
out
.
Active
=
in
t
(
in
.
Active
)
out
.
Active
=
in
.
Active
out
.
Succeeded
=
in
t
(
in
.
Succeeded
)
out
.
Succeeded
=
in
.
Succeeded
out
.
Failed
=
in
t
(
in
.
Failed
)
out
.
Failed
=
in
.
Failed
return
nil
return
nil
}
}
...
@@ -1698,9 +1698,9 @@ func autoConvert_batch_JobStatus_To_v1beta1_JobStatus(in *batch.JobStatus, out *
...
@@ -1698,9 +1698,9 @@ func autoConvert_batch_JobStatus_To_v1beta1_JobStatus(in *batch.JobStatus, out *
}
else
{
}
else
{
out
.
CompletionTime
=
nil
out
.
CompletionTime
=
nil
}
}
out
.
Active
=
in
t32
(
in
.
Active
)
out
.
Active
=
in
.
Active
out
.
Succeeded
=
in
t32
(
in
.
Succeeded
)
out
.
Succeeded
=
in
.
Succeeded
out
.
Failed
=
in
t32
(
in
.
Failed
)
out
.
Failed
=
in
.
Failed
return
nil
return
nil
}
}
...
@@ -2116,8 +2116,8 @@ func autoConvert_v1beta1_ReplicaSetStatus_To_extensions_ReplicaSetStatus(in *Rep
...
@@ -2116,8 +2116,8 @@ func autoConvert_v1beta1_ReplicaSetStatus_To_extensions_ReplicaSetStatus(in *Rep
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
ReplicaSetStatus
))(
in
)
defaulting
.
(
func
(
*
ReplicaSetStatus
))(
in
)
}
}
out
.
Replicas
=
in
t
(
in
.
Replicas
)
out
.
Replicas
=
in
.
Replicas
out
.
FullyLabeledReplicas
=
in
t
(
in
.
FullyLabeledReplicas
)
out
.
FullyLabeledReplicas
=
in
.
FullyLabeledReplicas
out
.
ObservedGeneration
=
in
.
ObservedGeneration
out
.
ObservedGeneration
=
in
.
ObservedGeneration
return
nil
return
nil
}
}
...
@@ -2130,8 +2130,8 @@ func autoConvert_extensions_ReplicaSetStatus_To_v1beta1_ReplicaSetStatus(in *ext
...
@@ -2130,8 +2130,8 @@ func autoConvert_extensions_ReplicaSetStatus_To_v1beta1_ReplicaSetStatus(in *ext
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
extensions
.
ReplicaSetStatus
))(
in
)
defaulting
.
(
func
(
*
extensions
.
ReplicaSetStatus
))(
in
)
}
}
out
.
Replicas
=
in
t32
(
in
.
Replicas
)
out
.
Replicas
=
in
.
Replicas
out
.
FullyLabeledReplicas
=
in
t32
(
in
.
FullyLabeledReplicas
)
out
.
FullyLabeledReplicas
=
in
.
FullyLabeledReplicas
out
.
ObservedGeneration
=
in
.
ObservedGeneration
out
.
ObservedGeneration
=
in
.
ObservedGeneration
return
nil
return
nil
}
}
...
@@ -2334,7 +2334,7 @@ func autoConvert_v1beta1_ScaleSpec_To_extensions_ScaleSpec(in *ScaleSpec, out *e
...
@@ -2334,7 +2334,7 @@ func autoConvert_v1beta1_ScaleSpec_To_extensions_ScaleSpec(in *ScaleSpec, out *e
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
ScaleSpec
))(
in
)
defaulting
.
(
func
(
*
ScaleSpec
))(
in
)
}
}
out
.
Replicas
=
in
t
(
in
.
Replicas
)
out
.
Replicas
=
in
.
Replicas
return
nil
return
nil
}
}
...
@@ -2346,7 +2346,7 @@ func autoConvert_extensions_ScaleSpec_To_v1beta1_ScaleSpec(in *extensions.ScaleS
...
@@ -2346,7 +2346,7 @@ func autoConvert_extensions_ScaleSpec_To_v1beta1_ScaleSpec(in *extensions.ScaleS
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
extensions
.
ScaleSpec
))(
in
)
defaulting
.
(
func
(
*
extensions
.
ScaleSpec
))(
in
)
}
}
out
.
Replicas
=
in
t32
(
in
.
Replicas
)
out
.
Replicas
=
in
.
Replicas
return
nil
return
nil
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment