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
6daba6a2
Unverified
Commit
6daba6a2
authored
Oct 28, 2017
by
Andrew Rynhard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add generated files
parent
3f599889
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
102 additions
and
0 deletions
+102
-0
zz_generated.conversion.go
...eadm/app/apis/kubeadm/v1alpha1/zz_generated.conversion.go
+32
-0
zz_generated.deepcopy.go
...ubeadm/app/apis/kubeadm/v1alpha1/zz_generated.deepcopy.go
+35
-0
zz_generated.deepcopy.go
cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go
+35
-0
No files found.
cmd/kubeadm/app/apis/kubeadm/v1alpha1/zz_generated.conversion.go
View file @
6daba6a2
...
@@ -39,6 +39,8 @@ func RegisterConversions(scheme *runtime.Scheme) error {
...
@@ -39,6 +39,8 @@ func RegisterConversions(scheme *runtime.Scheme) error {
Convert_kubeadm_API_To_v1alpha1_API
,
Convert_kubeadm_API_To_v1alpha1_API
,
Convert_v1alpha1_Etcd_To_kubeadm_Etcd
,
Convert_v1alpha1_Etcd_To_kubeadm_Etcd
,
Convert_kubeadm_Etcd_To_v1alpha1_Etcd
,
Convert_kubeadm_Etcd_To_v1alpha1_Etcd
,
Convert_v1alpha1_HostPathMount_To_kubeadm_HostPathMount
,
Convert_kubeadm_HostPathMount_To_v1alpha1_HostPathMount
,
Convert_v1alpha1_MasterConfiguration_To_kubeadm_MasterConfiguration
,
Convert_v1alpha1_MasterConfiguration_To_kubeadm_MasterConfiguration
,
Convert_kubeadm_MasterConfiguration_To_v1alpha1_MasterConfiguration
,
Convert_kubeadm_MasterConfiguration_To_v1alpha1_MasterConfiguration
,
Convert_v1alpha1_Networking_To_kubeadm_Networking
,
Convert_v1alpha1_Networking_To_kubeadm_Networking
,
...
@@ -104,6 +106,30 @@ func Convert_kubeadm_Etcd_To_v1alpha1_Etcd(in *kubeadm.Etcd, out *Etcd, s conver
...
@@ -104,6 +106,30 @@ func Convert_kubeadm_Etcd_To_v1alpha1_Etcd(in *kubeadm.Etcd, out *Etcd, s conver
return
autoConvert_kubeadm_Etcd_To_v1alpha1_Etcd
(
in
,
out
,
s
)
return
autoConvert_kubeadm_Etcd_To_v1alpha1_Etcd
(
in
,
out
,
s
)
}
}
func
autoConvert_v1alpha1_HostPathMount_To_kubeadm_HostPathMount
(
in
*
HostPathMount
,
out
*
kubeadm
.
HostPathMount
,
s
conversion
.
Scope
)
error
{
out
.
Name
=
in
.
Name
out
.
HostPath
=
in
.
HostPath
out
.
MountPath
=
in
.
MountPath
return
nil
}
// Convert_v1alpha1_HostPathMount_To_kubeadm_HostPathMount is an autogenerated conversion function.
func
Convert_v1alpha1_HostPathMount_To_kubeadm_HostPathMount
(
in
*
HostPathMount
,
out
*
kubeadm
.
HostPathMount
,
s
conversion
.
Scope
)
error
{
return
autoConvert_v1alpha1_HostPathMount_To_kubeadm_HostPathMount
(
in
,
out
,
s
)
}
func
autoConvert_kubeadm_HostPathMount_To_v1alpha1_HostPathMount
(
in
*
kubeadm
.
HostPathMount
,
out
*
HostPathMount
,
s
conversion
.
Scope
)
error
{
out
.
Name
=
in
.
Name
out
.
HostPath
=
in
.
HostPath
out
.
MountPath
=
in
.
MountPath
return
nil
}
// Convert_kubeadm_HostPathMount_To_v1alpha1_HostPathMount is an autogenerated conversion function.
func
Convert_kubeadm_HostPathMount_To_v1alpha1_HostPathMount
(
in
*
kubeadm
.
HostPathMount
,
out
*
HostPathMount
,
s
conversion
.
Scope
)
error
{
return
autoConvert_kubeadm_HostPathMount_To_v1alpha1_HostPathMount
(
in
,
out
,
s
)
}
func
autoConvert_v1alpha1_MasterConfiguration_To_kubeadm_MasterConfiguration
(
in
*
MasterConfiguration
,
out
*
kubeadm
.
MasterConfiguration
,
s
conversion
.
Scope
)
error
{
func
autoConvert_v1alpha1_MasterConfiguration_To_kubeadm_MasterConfiguration
(
in
*
MasterConfiguration
,
out
*
kubeadm
.
MasterConfiguration
,
s
conversion
.
Scope
)
error
{
if
err
:=
Convert_v1alpha1_API_To_kubeadm_API
(
&
in
.
API
,
&
out
.
API
,
s
);
err
!=
nil
{
if
err
:=
Convert_v1alpha1_API_To_kubeadm_API
(
&
in
.
API
,
&
out
.
API
,
s
);
err
!=
nil
{
return
err
return
err
...
@@ -123,6 +149,9 @@ func autoConvert_v1alpha1_MasterConfiguration_To_kubeadm_MasterConfiguration(in
...
@@ -123,6 +149,9 @@ func autoConvert_v1alpha1_MasterConfiguration_To_kubeadm_MasterConfiguration(in
out
.
APIServerExtraArgs
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
APIServerExtraArgs
))
out
.
APIServerExtraArgs
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
APIServerExtraArgs
))
out
.
ControllerManagerExtraArgs
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
ControllerManagerExtraArgs
))
out
.
ControllerManagerExtraArgs
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
ControllerManagerExtraArgs
))
out
.
SchedulerExtraArgs
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
SchedulerExtraArgs
))
out
.
SchedulerExtraArgs
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
SchedulerExtraArgs
))
out
.
APIServerExtraVolumes
=
*
(
*
[]
kubeadm
.
HostPathMount
)(
unsafe
.
Pointer
(
&
in
.
APIServerExtraVolumes
))
out
.
ControllerManagerExtraVolumes
=
*
(
*
[]
kubeadm
.
HostPathMount
)(
unsafe
.
Pointer
(
&
in
.
ControllerManagerExtraVolumes
))
out
.
SchedulerExtraVolumes
=
*
(
*
[]
kubeadm
.
HostPathMount
)(
unsafe
.
Pointer
(
&
in
.
SchedulerExtraVolumes
))
out
.
APIServerCertSANs
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
APIServerCertSANs
))
out
.
APIServerCertSANs
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
APIServerCertSANs
))
out
.
CertificatesDir
=
in
.
CertificatesDir
out
.
CertificatesDir
=
in
.
CertificatesDir
out
.
ImageRepository
=
in
.
ImageRepository
out
.
ImageRepository
=
in
.
ImageRepository
...
@@ -155,6 +184,9 @@ func autoConvert_kubeadm_MasterConfiguration_To_v1alpha1_MasterConfiguration(in
...
@@ -155,6 +184,9 @@ func autoConvert_kubeadm_MasterConfiguration_To_v1alpha1_MasterConfiguration(in
out
.
APIServerExtraArgs
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
APIServerExtraArgs
))
out
.
APIServerExtraArgs
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
APIServerExtraArgs
))
out
.
ControllerManagerExtraArgs
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
ControllerManagerExtraArgs
))
out
.
ControllerManagerExtraArgs
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
ControllerManagerExtraArgs
))
out
.
SchedulerExtraArgs
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
SchedulerExtraArgs
))
out
.
SchedulerExtraArgs
=
*
(
*
map
[
string
]
string
)(
unsafe
.
Pointer
(
&
in
.
SchedulerExtraArgs
))
out
.
APIServerExtraVolumes
=
*
(
*
[]
HostPathMount
)(
unsafe
.
Pointer
(
&
in
.
APIServerExtraVolumes
))
out
.
ControllerManagerExtraVolumes
=
*
(
*
[]
HostPathMount
)(
unsafe
.
Pointer
(
&
in
.
ControllerManagerExtraVolumes
))
out
.
SchedulerExtraVolumes
=
*
(
*
[]
HostPathMount
)(
unsafe
.
Pointer
(
&
in
.
SchedulerExtraVolumes
))
out
.
APIServerCertSANs
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
APIServerCertSANs
))
out
.
APIServerCertSANs
=
*
(
*
[]
string
)(
unsafe
.
Pointer
(
&
in
.
APIServerCertSANs
))
out
.
CertificatesDir
=
in
.
CertificatesDir
out
.
CertificatesDir
=
in
.
CertificatesDir
out
.
ImageRepository
=
in
.
ImageRepository
out
.
ImageRepository
=
in
.
ImageRepository
...
...
cmd/kubeadm/app/apis/kubeadm/v1alpha1/zz_generated.deepcopy.go
View file @
6daba6a2
...
@@ -40,6 +40,10 @@ func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
...
@@ -40,6 +40,10 @@ func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return
nil
return
nil
},
InType
:
reflect
.
TypeOf
(
&
Etcd
{})},
},
InType
:
reflect
.
TypeOf
(
&
Etcd
{})},
{
Fn
:
func
(
in
interface
{},
out
interface
{},
c
*
conversion
.
Cloner
)
error
{
{
Fn
:
func
(
in
interface
{},
out
interface
{},
c
*
conversion
.
Cloner
)
error
{
in
.
(
*
HostPathMount
)
.
DeepCopyInto
(
out
.
(
*
HostPathMount
))
return
nil
},
InType
:
reflect
.
TypeOf
(
&
HostPathMount
{})},
{
Fn
:
func
(
in
interface
{},
out
interface
{},
c
*
conversion
.
Cloner
)
error
{
in
.
(
*
MasterConfiguration
)
.
DeepCopyInto
(
out
.
(
*
MasterConfiguration
))
in
.
(
*
MasterConfiguration
)
.
DeepCopyInto
(
out
.
(
*
MasterConfiguration
))
return
nil
return
nil
},
InType
:
reflect
.
TypeOf
(
&
MasterConfiguration
{})},
},
InType
:
reflect
.
TypeOf
(
&
MasterConfiguration
{})},
...
@@ -103,6 +107,22 @@ func (in *Etcd) DeepCopy() *Etcd {
...
@@ -103,6 +107,22 @@ func (in *Etcd) DeepCopy() *Etcd {
}
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func
(
in
*
HostPathMount
)
DeepCopyInto
(
out
*
HostPathMount
)
{
*
out
=
*
in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathMount.
func
(
in
*
HostPathMount
)
DeepCopy
()
*
HostPathMount
{
if
in
==
nil
{
return
nil
}
out
:=
new
(
HostPathMount
)
in
.
DeepCopyInto
(
out
)
return
out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func
(
in
*
MasterConfiguration
)
DeepCopyInto
(
out
*
MasterConfiguration
)
{
func
(
in
*
MasterConfiguration
)
DeepCopyInto
(
out
*
MasterConfiguration
)
{
*
out
=
*
in
*
out
=
*
in
out
.
TypeMeta
=
in
.
TypeMeta
out
.
TypeMeta
=
in
.
TypeMeta
...
@@ -136,6 +156,21 @@ func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) {
...
@@ -136,6 +156,21 @@ func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) {
(
*
out
)[
key
]
=
val
(
*
out
)[
key
]
=
val
}
}
}
}
if
in
.
APIServerExtraVolumes
!=
nil
{
in
,
out
:=
&
in
.
APIServerExtraVolumes
,
&
out
.
APIServerExtraVolumes
*
out
=
make
([]
HostPathMount
,
len
(
*
in
))
copy
(
*
out
,
*
in
)
}
if
in
.
ControllerManagerExtraVolumes
!=
nil
{
in
,
out
:=
&
in
.
ControllerManagerExtraVolumes
,
&
out
.
ControllerManagerExtraVolumes
*
out
=
make
([]
HostPathMount
,
len
(
*
in
))
copy
(
*
out
,
*
in
)
}
if
in
.
SchedulerExtraVolumes
!=
nil
{
in
,
out
:=
&
in
.
SchedulerExtraVolumes
,
&
out
.
SchedulerExtraVolumes
*
out
=
make
([]
HostPathMount
,
len
(
*
in
))
copy
(
*
out
,
*
in
)
}
if
in
.
APIServerCertSANs
!=
nil
{
if
in
.
APIServerCertSANs
!=
nil
{
in
,
out
:=
&
in
.
APIServerCertSANs
,
&
out
.
APIServerCertSANs
in
,
out
:=
&
in
.
APIServerCertSANs
,
&
out
.
APIServerCertSANs
*
out
=
make
([]
string
,
len
(
*
in
))
*
out
=
make
([]
string
,
len
(
*
in
))
...
...
cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go
View file @
6daba6a2
...
@@ -45,6 +45,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
...
@@ -45,6 +45,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
return
nil
return
nil
},
InType
:
reflect
.
TypeOf
(
&
Etcd
{})},
},
InType
:
reflect
.
TypeOf
(
&
Etcd
{})},
conversion
.
GeneratedDeepCopyFunc
{
Fn
:
func
(
in
interface
{},
out
interface
{},
c
*
conversion
.
Cloner
)
error
{
conversion
.
GeneratedDeepCopyFunc
{
Fn
:
func
(
in
interface
{},
out
interface
{},
c
*
conversion
.
Cloner
)
error
{
in
.
(
*
HostPathMount
)
.
DeepCopyInto
(
out
.
(
*
HostPathMount
))
return
nil
},
InType
:
reflect
.
TypeOf
(
&
HostPathMount
{})},
conversion
.
GeneratedDeepCopyFunc
{
Fn
:
func
(
in
interface
{},
out
interface
{},
c
*
conversion
.
Cloner
)
error
{
in
.
(
*
MasterConfiguration
)
.
DeepCopyInto
(
out
.
(
*
MasterConfiguration
))
in
.
(
*
MasterConfiguration
)
.
DeepCopyInto
(
out
.
(
*
MasterConfiguration
))
return
nil
return
nil
},
InType
:
reflect
.
TypeOf
(
&
MasterConfiguration
{})},
},
InType
:
reflect
.
TypeOf
(
&
MasterConfiguration
{})},
...
@@ -108,6 +112,22 @@ func (in *Etcd) DeepCopy() *Etcd {
...
@@ -108,6 +112,22 @@ func (in *Etcd) DeepCopy() *Etcd {
}
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func
(
in
*
HostPathMount
)
DeepCopyInto
(
out
*
HostPathMount
)
{
*
out
=
*
in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathMount.
func
(
in
*
HostPathMount
)
DeepCopy
()
*
HostPathMount
{
if
in
==
nil
{
return
nil
}
out
:=
new
(
HostPathMount
)
in
.
DeepCopyInto
(
out
)
return
out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func
(
in
*
MasterConfiguration
)
DeepCopyInto
(
out
*
MasterConfiguration
)
{
func
(
in
*
MasterConfiguration
)
DeepCopyInto
(
out
*
MasterConfiguration
)
{
*
out
=
*
in
*
out
=
*
in
out
.
TypeMeta
=
in
.
TypeMeta
out
.
TypeMeta
=
in
.
TypeMeta
...
@@ -141,6 +161,21 @@ func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) {
...
@@ -141,6 +161,21 @@ func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) {
(
*
out
)[
key
]
=
val
(
*
out
)[
key
]
=
val
}
}
}
}
if
in
.
APIServerExtraVolumes
!=
nil
{
in
,
out
:=
&
in
.
APIServerExtraVolumes
,
&
out
.
APIServerExtraVolumes
*
out
=
make
([]
HostPathMount
,
len
(
*
in
))
copy
(
*
out
,
*
in
)
}
if
in
.
ControllerManagerExtraVolumes
!=
nil
{
in
,
out
:=
&
in
.
ControllerManagerExtraVolumes
,
&
out
.
ControllerManagerExtraVolumes
*
out
=
make
([]
HostPathMount
,
len
(
*
in
))
copy
(
*
out
,
*
in
)
}
if
in
.
SchedulerExtraVolumes
!=
nil
{
in
,
out
:=
&
in
.
SchedulerExtraVolumes
,
&
out
.
SchedulerExtraVolumes
*
out
=
make
([]
HostPathMount
,
len
(
*
in
))
copy
(
*
out
,
*
in
)
}
if
in
.
APIServerCertSANs
!=
nil
{
if
in
.
APIServerCertSANs
!=
nil
{
in
,
out
:=
&
in
.
APIServerCertSANs
,
&
out
.
APIServerCertSANs
in
,
out
:=
&
in
.
APIServerCertSANs
,
&
out
.
APIServerCertSANs
*
out
=
make
([]
string
,
len
(
*
in
))
*
out
=
make
([]
string
,
len
(
*
in
))
...
...
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