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
17c8feee
Commit
17c8feee
authored
Jul 13, 2016
by
Maciej Szulik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ScheduledJob suspend being pointer leftovers - generated changes
parent
df124fed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
40 deletions
+54
-40
types.generated.go
pkg/apis/batch/types.generated.go
+27
-20
types.generated.go
pkg/apis/batch/v2alpha1/types.generated.go
+27
-20
No files found.
pkg/apis/batch/types.generated.go
View file @
17c8feee
...
@@ -3518,11 +3518,12 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
...
@@ -3518,11 +3518,12 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
const
yyr2
bool
=
false
const
yyr2
bool
=
false
yyq2
[
1
]
=
x
.
StartingDeadlineSeconds
!=
nil
yyq2
[
1
]
=
x
.
StartingDeadlineSeconds
!=
nil
yyq2
[
2
]
=
x
.
ConcurrencyPolicy
!=
""
yyq2
[
2
]
=
x
.
ConcurrencyPolicy
!=
""
yyq2
[
3
]
=
x
.
Suspend
!=
nil
var
yynn2
int
var
yynn2
int
if
yyr2
||
yy2arr2
{
if
yyr2
||
yy2arr2
{
r
.
EncodeArrayStart
(
5
)
r
.
EncodeArrayStart
(
5
)
}
else
{
}
else
{
yynn2
=
3
yynn2
=
2
for
_
,
b
:=
range
yyq2
{
for
_
,
b
:=
range
yyq2
{
if
b
{
if
b
{
yynn2
++
yynn2
++
...
@@ -3602,30 +3603,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
...
@@ -3602,30 +3603,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
}
}
if
yyr2
||
yy2arr2
{
if
yyr2
||
yy2arr2
{
z
.
EncSendContainerState
(
codecSelfer_containerArrayElem1234
)
z
.
EncSendContainerState
(
codecSelfer_containerArrayElem1234
)
if
x
.
Suspend
==
nil
{
if
yyq2
[
3
]
{
r
.
EncodeNil
()
if
x
.
Suspend
==
nil
{
}
else
{
r
.
EncodeNil
()
yy15
:=
*
x
.
Suspend
yym16
:=
z
.
EncBinary
()
_
=
yym16
if
false
{
}
else
{
}
else
{
r
.
EncodeBool
(
bool
(
yy15
))
yy15
:=
*
x
.
Suspend
yym16
:=
z
.
EncBinary
()
_
=
yym16
if
false
{
}
else
{
r
.
EncodeBool
(
bool
(
yy15
))
}
}
}
}
else
{
r
.
EncodeNil
()
}
}
}
else
{
}
else
{
z
.
EncSendContainerState
(
codecSelfer_containerMapKey1234
)
if
yyq2
[
3
]
{
r
.
EncodeString
(
codecSelferC_UTF81234
,
string
(
"suspend"
))
z
.
EncSendContainerState
(
codecSelfer_containerMapKey1234
)
z
.
EncSendContainerState
(
codecSelfer_containerMapValue1234
)
r
.
EncodeString
(
codecSelferC_UTF81234
,
string
(
"suspend"
))
if
x
.
Suspend
==
nil
{
z
.
EncSendContainerState
(
codecSelfer_containerMapValue1234
)
r
.
EncodeNil
()
if
x
.
Suspend
==
nil
{
}
else
{
r
.
EncodeNil
()
yy17
:=
*
x
.
Suspend
yym18
:=
z
.
EncBinary
()
_
=
yym18
if
false
{
}
else
{
}
else
{
r
.
EncodeBool
(
bool
(
yy17
))
yy17
:=
*
x
.
Suspend
yym18
:=
z
.
EncBinary
()
_
=
yym18
if
false
{
}
else
{
r
.
EncodeBool
(
bool
(
yy17
))
}
}
}
}
}
}
}
...
...
pkg/apis/batch/v2alpha1/types.generated.go
View file @
17c8feee
...
@@ -3494,11 +3494,12 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
...
@@ -3494,11 +3494,12 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
const
yyr2
bool
=
false
const
yyr2
bool
=
false
yyq2
[
1
]
=
x
.
StartingDeadlineSeconds
!=
nil
yyq2
[
1
]
=
x
.
StartingDeadlineSeconds
!=
nil
yyq2
[
2
]
=
x
.
ConcurrencyPolicy
!=
""
yyq2
[
2
]
=
x
.
ConcurrencyPolicy
!=
""
yyq2
[
3
]
=
x
.
Suspend
!=
nil
var
yynn2
int
var
yynn2
int
if
yyr2
||
yy2arr2
{
if
yyr2
||
yy2arr2
{
r
.
EncodeArrayStart
(
5
)
r
.
EncodeArrayStart
(
5
)
}
else
{
}
else
{
yynn2
=
3
yynn2
=
2
for
_
,
b
:=
range
yyq2
{
for
_
,
b
:=
range
yyq2
{
if
b
{
if
b
{
yynn2
++
yynn2
++
...
@@ -3578,30 +3579,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
...
@@ -3578,30 +3579,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) {
}
}
if
yyr2
||
yy2arr2
{
if
yyr2
||
yy2arr2
{
z
.
EncSendContainerState
(
codecSelfer_containerArrayElem1234
)
z
.
EncSendContainerState
(
codecSelfer_containerArrayElem1234
)
if
x
.
Suspend
==
nil
{
if
yyq2
[
3
]
{
r
.
EncodeNil
()
if
x
.
Suspend
==
nil
{
}
else
{
r
.
EncodeNil
()
yy15
:=
*
x
.
Suspend
yym16
:=
z
.
EncBinary
()
_
=
yym16
if
false
{
}
else
{
}
else
{
r
.
EncodeBool
(
bool
(
yy15
))
yy15
:=
*
x
.
Suspend
yym16
:=
z
.
EncBinary
()
_
=
yym16
if
false
{
}
else
{
r
.
EncodeBool
(
bool
(
yy15
))
}
}
}
}
else
{
r
.
EncodeNil
()
}
}
}
else
{
}
else
{
z
.
EncSendContainerState
(
codecSelfer_containerMapKey1234
)
if
yyq2
[
3
]
{
r
.
EncodeString
(
codecSelferC_UTF81234
,
string
(
"suspend"
))
z
.
EncSendContainerState
(
codecSelfer_containerMapKey1234
)
z
.
EncSendContainerState
(
codecSelfer_containerMapValue1234
)
r
.
EncodeString
(
codecSelferC_UTF81234
,
string
(
"suspend"
))
if
x
.
Suspend
==
nil
{
z
.
EncSendContainerState
(
codecSelfer_containerMapValue1234
)
r
.
EncodeNil
()
if
x
.
Suspend
==
nil
{
}
else
{
r
.
EncodeNil
()
yy17
:=
*
x
.
Suspend
yym18
:=
z
.
EncBinary
()
_
=
yym18
if
false
{
}
else
{
}
else
{
r
.
EncodeBool
(
bool
(
yy17
))
yy17
:=
*
x
.
Suspend
yym18
:=
z
.
EncBinary
()
_
=
yym18
if
false
{
}
else
{
r
.
EncodeBool
(
bool
(
yy17
))
}
}
}
}
}
}
}
...
...
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