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
20ce4022
Commit
20ce4022
authored
May 02, 2019
by
Jordan Liggitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generated
parent
38fbcb76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
77 deletions
+21
-77
zz_generated.conversion.go
pkg/apis/core/v1/zz_generated.conversion.go
+21
-77
No files found.
pkg/apis/core/v1/zz_generated.conversion.go
View file @
20ce4022
...
...
@@ -2025,11 +2025,6 @@ func RegisterConversions(s *runtime.Scheme) error {
});
err
!=
nil
{
return
err
}
if
err
:=
s
.
AddConversionFunc
((
*
core
.
PodSecurityContext
)(
nil
),
(
*
v1
.
PodSecurityContext
)(
nil
),
func
(
a
,
b
interface
{},
scope
conversion
.
Scope
)
error
{
return
Convert_core_PodSecurityContext_To_v1_PodSecurityContext
(
a
.
(
*
core
.
PodSecurityContext
),
b
.
(
*
v1
.
PodSecurityContext
),
scope
)
});
err
!=
nil
{
return
err
}
if
err
:=
s
.
AddConversionFunc
((
*
core
.
PodSpec
)(
nil
),
(
*
v1
.
PodSpec
)(
nil
),
func
(
a
,
b
interface
{},
scope
conversion
.
Scope
)
error
{
return
Convert_core_PodSpec_To_v1_PodSpec
(
a
.
(
*
core
.
PodSpec
),
b
.
(
*
v1
.
PodSpec
),
scope
)
});
err
!=
nil
{
...
...
@@ -2050,16 +2045,6 @@ func RegisterConversions(s *runtime.Scheme) error {
});
err
!=
nil
{
return
err
}
if
err
:=
s
.
AddConversionFunc
((
*
core
.
SecurityContext
)(
nil
),
(
*
v1
.
SecurityContext
)(
nil
),
func
(
a
,
b
interface
{},
scope
conversion
.
Scope
)
error
{
return
Convert_core_SecurityContext_To_v1_SecurityContext
(
a
.
(
*
core
.
SecurityContext
),
b
.
(
*
v1
.
SecurityContext
),
scope
)
});
err
!=
nil
{
return
err
}
if
err
:=
s
.
AddConversionFunc
((
*
v1
.
PodSecurityContext
)(
nil
),
(
*
core
.
PodSecurityContext
)(
nil
),
func
(
a
,
b
interface
{},
scope
conversion
.
Scope
)
error
{
return
Convert_v1_PodSecurityContext_To_core_PodSecurityContext
(
a
.
(
*
v1
.
PodSecurityContext
),
b
.
(
*
core
.
PodSecurityContext
),
scope
)
});
err
!=
nil
{
return
err
}
if
err
:=
s
.
AddConversionFunc
((
*
v1
.
PodSpec
)(
nil
),
(
*
core
.
PodSpec
)(
nil
),
func
(
a
,
b
interface
{},
scope
conversion
.
Scope
)
error
{
return
Convert_v1_PodSpec_To_core_PodSpec
(
a
.
(
*
v1
.
PodSpec
),
b
.
(
*
core
.
PodSpec
),
scope
)
});
err
!=
nil
{
...
...
@@ -2798,15 +2783,7 @@ func autoConvert_v1_Container_To_core_Container(in *v1.Container, out *core.Cont
out
.
TerminationMessagePath
=
in
.
TerminationMessagePath
out
.
TerminationMessagePolicy
=
core
.
TerminationMessagePolicy
(
in
.
TerminationMessagePolicy
)
out
.
ImagePullPolicy
=
core
.
PullPolicy
(
in
.
ImagePullPolicy
)
if
in
.
SecurityContext
!=
nil
{
in
,
out
:=
&
in
.
SecurityContext
,
&
out
.
SecurityContext
*
out
=
new
(
core
.
SecurityContext
)
if
err
:=
Convert_v1_SecurityContext_To_core_SecurityContext
(
*
in
,
*
out
,
s
);
err
!=
nil
{
return
err
}
}
else
{
out
.
SecurityContext
=
nil
}
out
.
SecurityContext
=
(
*
core
.
SecurityContext
)(
unsafe
.
Pointer
(
in
.
SecurityContext
))
out
.
Stdin
=
in
.
Stdin
out
.
StdinOnce
=
in
.
StdinOnce
out
.
TTY
=
in
.
TTY
...
...
@@ -2838,15 +2815,7 @@ func autoConvert_core_Container_To_v1_Container(in *core.Container, out *v1.Cont
out
.
TerminationMessagePath
=
in
.
TerminationMessagePath
out
.
TerminationMessagePolicy
=
v1
.
TerminationMessagePolicy
(
in
.
TerminationMessagePolicy
)
out
.
ImagePullPolicy
=
v1
.
PullPolicy
(
in
.
ImagePullPolicy
)
if
in
.
SecurityContext
!=
nil
{
in
,
out
:=
&
in
.
SecurityContext
,
&
out
.
SecurityContext
*
out
=
new
(
v1
.
SecurityContext
)
if
err
:=
Convert_core_SecurityContext_To_v1_SecurityContext
(
*
in
,
*
out
,
s
);
err
!=
nil
{
return
err
}
}
else
{
out
.
SecurityContext
=
nil
}
out
.
SecurityContext
=
(
*
v1
.
SecurityContext
)(
unsafe
.
Pointer
(
in
.
SecurityContext
))
out
.
Stdin
=
in
.
Stdin
out
.
StdinOnce
=
in
.
StdinOnce
out
.
TTY
=
in
.
TTY
...
...
@@ -5521,6 +5490,11 @@ func autoConvert_v1_PodSecurityContext_To_core_PodSecurityContext(in *v1.PodSecu
return
nil
}
// Convert_v1_PodSecurityContext_To_core_PodSecurityContext is an autogenerated conversion function.
func
Convert_v1_PodSecurityContext_To_core_PodSecurityContext
(
in
*
v1
.
PodSecurityContext
,
out
*
core
.
PodSecurityContext
,
s
conversion
.
Scope
)
error
{
return
autoConvert_v1_PodSecurityContext_To_core_PodSecurityContext
(
in
,
out
,
s
)
}
func
autoConvert_core_PodSecurityContext_To_v1_PodSecurityContext
(
in
*
core
.
PodSecurityContext
,
out
*
v1
.
PodSecurityContext
,
s
conversion
.
Scope
)
error
{
// INFO: in.HostNetwork opted out of conversion generation
// INFO: in.HostPID opted out of conversion generation
...
...
@@ -5536,6 +5510,11 @@ func autoConvert_core_PodSecurityContext_To_v1_PodSecurityContext(in *core.PodSe
return
nil
}
// Convert_core_PodSecurityContext_To_v1_PodSecurityContext is an autogenerated conversion function.
func
Convert_core_PodSecurityContext_To_v1_PodSecurityContext
(
in
*
core
.
PodSecurityContext
,
out
*
v1
.
PodSecurityContext
,
s
conversion
.
Scope
)
error
{
return
autoConvert_core_PodSecurityContext_To_v1_PodSecurityContext
(
in
,
out
,
s
)
}
func
autoConvert_v1_PodSignature_To_core_PodSignature
(
in
*
v1
.
PodSignature
,
out
*
core
.
PodSignature
,
s
conversion
.
Scope
)
error
{
out
.
PodController
=
(
*
metav1
.
OwnerReference
)(
unsafe
.
Pointer
(
in
.
PodController
))
return
nil
...
...
@@ -5568,28 +5547,8 @@ func autoConvert_v1_PodSpec_To_core_PodSpec(in *v1.PodSpec, out *core.PodSpec, s
}
else
{
out
.
Volumes
=
nil
}
if
in
.
InitContainers
!=
nil
{
in
,
out
:=
&
in
.
InitContainers
,
&
out
.
InitContainers
*
out
=
make
([]
core
.
Container
,
len
(
*
in
))
for
i
:=
range
*
in
{
if
err
:=
Convert_v1_Container_To_core_Container
(
&
(
*
in
)[
i
],
&
(
*
out
)[
i
],
s
);
err
!=
nil
{
return
err
}
}
}
else
{
out
.
InitContainers
=
nil
}
if
in
.
Containers
!=
nil
{
in
,
out
:=
&
in
.
Containers
,
&
out
.
Containers
*
out
=
make
([]
core
.
Container
,
len
(
*
in
))
for
i
:=
range
*
in
{
if
err
:=
Convert_v1_Container_To_core_Container
(
&
(
*
in
)[
i
],
&
(
*
out
)[
i
],
s
);
err
!=
nil
{
return
err
}
}
}
else
{
out
.
Containers
=
nil
}
out
.
InitContainers
=
*
(
*
[]
core
.
Container
)(
unsafe
.
Pointer
(
&
in
.
InitContainers
))
out
.
Containers
=
*
(
*
[]
core
.
Container
)(
unsafe
.
Pointer
(
&
in
.
Containers
))
out
.
RestartPolicy
=
core
.
RestartPolicy
(
in
.
RestartPolicy
)
out
.
TerminationGracePeriodSeconds
=
(
*
int64
)(
unsafe
.
Pointer
(
in
.
TerminationGracePeriodSeconds
))
out
.
ActiveDeadlineSeconds
=
(
*
int64
)(
unsafe
.
Pointer
(
in
.
ActiveDeadlineSeconds
))
...
...
@@ -5640,28 +5599,8 @@ func autoConvert_core_PodSpec_To_v1_PodSpec(in *core.PodSpec, out *v1.PodSpec, s
}
else
{
out
.
Volumes
=
nil
}
if
in
.
InitContainers
!=
nil
{
in
,
out
:=
&
in
.
InitContainers
,
&
out
.
InitContainers
*
out
=
make
([]
v1
.
Container
,
len
(
*
in
))
for
i
:=
range
*
in
{
if
err
:=
Convert_core_Container_To_v1_Container
(
&
(
*
in
)[
i
],
&
(
*
out
)[
i
],
s
);
err
!=
nil
{
return
err
}
}
}
else
{
out
.
InitContainers
=
nil
}
if
in
.
Containers
!=
nil
{
in
,
out
:=
&
in
.
Containers
,
&
out
.
Containers
*
out
=
make
([]
v1
.
Container
,
len
(
*
in
))
for
i
:=
range
*
in
{
if
err
:=
Convert_core_Container_To_v1_Container
(
&
(
*
in
)[
i
],
&
(
*
out
)[
i
],
s
);
err
!=
nil
{
return
err
}
}
}
else
{
out
.
Containers
=
nil
}
out
.
InitContainers
=
*
(
*
[]
v1
.
Container
)(
unsafe
.
Pointer
(
&
in
.
InitContainers
))
out
.
Containers
=
*
(
*
[]
v1
.
Container
)(
unsafe
.
Pointer
(
&
in
.
Containers
))
out
.
RestartPolicy
=
v1
.
RestartPolicy
(
in
.
RestartPolicy
)
out
.
TerminationGracePeriodSeconds
=
(
*
int64
)(
unsafe
.
Pointer
(
in
.
TerminationGracePeriodSeconds
))
out
.
ActiveDeadlineSeconds
=
(
*
int64
)(
unsafe
.
Pointer
(
in
.
ActiveDeadlineSeconds
))
...
...
@@ -6826,6 +6765,11 @@ func autoConvert_core_SecurityContext_To_v1_SecurityContext(in *core.SecurityCon
return
nil
}
// Convert_core_SecurityContext_To_v1_SecurityContext is an autogenerated conversion function.
func
Convert_core_SecurityContext_To_v1_SecurityContext
(
in
*
core
.
SecurityContext
,
out
*
v1
.
SecurityContext
,
s
conversion
.
Scope
)
error
{
return
autoConvert_core_SecurityContext_To_v1_SecurityContext
(
in
,
out
,
s
)
}
func
autoConvert_v1_SerializedReference_To_core_SerializedReference
(
in
*
v1
.
SerializedReference
,
out
*
core
.
SerializedReference
,
s
conversion
.
Scope
)
error
{
if
err
:=
Convert_v1_ObjectReference_To_core_ObjectReference
(
&
in
.
Reference
,
&
out
.
Reference
,
s
);
err
!=
nil
{
return
err
...
...
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