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
097a1d6d
Commit
097a1d6d
authored
Feb 02, 2016
by
Mike Danese
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autogenerated
parent
7df86e1e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
148 additions
and
0 deletions
+148
-0
types.generated.go
pkg/apis/componentconfig/types.generated.go
+0
-0
conversion_generated.go
pkg/apis/componentconfig/v1alpha1/conversion_generated.go
+104
-0
deep_copy_generated.go
pkg/apis/componentconfig/v1alpha1/deep_copy_generated.go
+44
-0
types.generated.go
pkg/apis/componentconfig/v1alpha1/types.generated.go
+0
-0
No files found.
pkg/apis/componentconfig/types.generated.go
View file @
097a1d6d
This diff is collapsed.
Click to expand it.
pkg/apis/componentconfig/v1alpha1/conversion_generated.go
View file @
097a1d6d
...
...
@@ -66,6 +66,56 @@ func Convert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyConfigu
return
autoConvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyConfiguration
(
in
,
out
,
s
)
}
func
autoConvert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSchedulerConfiguration
(
in
*
componentconfig
.
KubeSchedulerConfiguration
,
out
*
KubeSchedulerConfiguration
,
s
conversion
.
Scope
)
error
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
componentconfig
.
KubeSchedulerConfiguration
))(
in
)
}
if
err
:=
api
.
Convert_unversioned_TypeMeta_To_unversioned_TypeMeta
(
&
in
.
TypeMeta
,
&
out
.
TypeMeta
,
s
);
err
!=
nil
{
return
err
}
out
.
Port
=
in
.
Port
out
.
Address
=
in
.
Address
out
.
AlgorithmProvider
=
in
.
AlgorithmProvider
out
.
PolicyConfigFile
=
in
.
PolicyConfigFile
if
err
:=
api
.
Convert_bool_To_bool_ref
(
&
in
.
EnableProfiling
,
&
out
.
EnableProfiling
,
s
);
err
!=
nil
{
return
err
}
out
.
KubeAPIQPS
=
in
.
KubeAPIQPS
out
.
KubeAPIBurst
=
in
.
KubeAPIBurst
out
.
SchedulerName
=
in
.
SchedulerName
if
err
:=
Convert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration
(
&
in
.
LeaderElection
,
&
out
.
LeaderElection
,
s
);
err
!=
nil
{
return
err
}
return
nil
}
func
Convert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSchedulerConfiguration
(
in
*
componentconfig
.
KubeSchedulerConfiguration
,
out
*
KubeSchedulerConfiguration
,
s
conversion
.
Scope
)
error
{
return
autoConvert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSchedulerConfiguration
(
in
,
out
,
s
)
}
func
autoConvert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration
(
in
*
componentconfig
.
LeaderElectionConfiguration
,
out
*
LeaderElectionConfiguration
,
s
conversion
.
Scope
)
error
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
componentconfig
.
LeaderElectionConfiguration
))(
in
)
}
if
err
:=
api
.
Convert_bool_To_bool_ref
(
&
in
.
LeaderElect
,
&
out
.
LeaderElect
,
s
);
err
!=
nil
{
return
err
}
if
err
:=
s
.
Convert
(
&
in
.
LeaseDuration
,
&
out
.
LeaseDuration
,
0
);
err
!=
nil
{
return
err
}
if
err
:=
s
.
Convert
(
&
in
.
RenewDeadline
,
&
out
.
RenewDeadline
,
0
);
err
!=
nil
{
return
err
}
if
err
:=
s
.
Convert
(
&
in
.
RetryPeriod
,
&
out
.
RetryPeriod
,
0
);
err
!=
nil
{
return
err
}
return
nil
}
func
Convert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration
(
in
*
componentconfig
.
LeaderElectionConfiguration
,
out
*
LeaderElectionConfiguration
,
s
conversion
.
Scope
)
error
{
return
autoConvert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration
(
in
,
out
,
s
)
}
func
autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyConfiguration
(
in
*
KubeProxyConfiguration
,
out
*
componentconfig
.
KubeProxyConfiguration
,
s
conversion
.
Scope
)
error
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
KubeProxyConfiguration
))(
in
)
...
...
@@ -106,10 +156,64 @@ func Convert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyConfigu
return
autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyConfiguration
(
in
,
out
,
s
)
}
func
autoConvert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSchedulerConfiguration
(
in
*
KubeSchedulerConfiguration
,
out
*
componentconfig
.
KubeSchedulerConfiguration
,
s
conversion
.
Scope
)
error
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
KubeSchedulerConfiguration
))(
in
)
}
if
err
:=
api
.
Convert_unversioned_TypeMeta_To_unversioned_TypeMeta
(
&
in
.
TypeMeta
,
&
out
.
TypeMeta
,
s
);
err
!=
nil
{
return
err
}
out
.
Port
=
in
.
Port
out
.
Address
=
in
.
Address
out
.
AlgorithmProvider
=
in
.
AlgorithmProvider
out
.
PolicyConfigFile
=
in
.
PolicyConfigFile
if
err
:=
api
.
Convert_bool_ref_To_bool
(
&
in
.
EnableProfiling
,
&
out
.
EnableProfiling
,
s
);
err
!=
nil
{
return
err
}
out
.
KubeAPIQPS
=
in
.
KubeAPIQPS
out
.
KubeAPIBurst
=
in
.
KubeAPIBurst
out
.
SchedulerName
=
in
.
SchedulerName
if
err
:=
Convert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration
(
&
in
.
LeaderElection
,
&
out
.
LeaderElection
,
s
);
err
!=
nil
{
return
err
}
return
nil
}
func
Convert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSchedulerConfiguration
(
in
*
KubeSchedulerConfiguration
,
out
*
componentconfig
.
KubeSchedulerConfiguration
,
s
conversion
.
Scope
)
error
{
return
autoConvert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSchedulerConfiguration
(
in
,
out
,
s
)
}
func
autoConvert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration
(
in
*
LeaderElectionConfiguration
,
out
*
componentconfig
.
LeaderElectionConfiguration
,
s
conversion
.
Scope
)
error
{
if
defaulting
,
found
:=
s
.
DefaultingInterface
(
reflect
.
TypeOf
(
*
in
));
found
{
defaulting
.
(
func
(
*
LeaderElectionConfiguration
))(
in
)
}
if
err
:=
api
.
Convert_bool_ref_To_bool
(
&
in
.
LeaderElect
,
&
out
.
LeaderElect
,
s
);
err
!=
nil
{
return
err
}
if
err
:=
s
.
Convert
(
&
in
.
LeaseDuration
,
&
out
.
LeaseDuration
,
0
);
err
!=
nil
{
return
err
}
if
err
:=
s
.
Convert
(
&
in
.
RenewDeadline
,
&
out
.
RenewDeadline
,
0
);
err
!=
nil
{
return
err
}
if
err
:=
s
.
Convert
(
&
in
.
RetryPeriod
,
&
out
.
RetryPeriod
,
0
);
err
!=
nil
{
return
err
}
return
nil
}
func
Convert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration
(
in
*
LeaderElectionConfiguration
,
out
*
componentconfig
.
LeaderElectionConfiguration
,
s
conversion
.
Scope
)
error
{
return
autoConvert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration
(
in
,
out
,
s
)
}
func
init
()
{
err
:=
api
.
Scheme
.
AddGeneratedConversionFuncs
(
autoConvert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyConfiguration
,
autoConvert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSchedulerConfiguration
,
autoConvert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration
,
autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyConfiguration
,
autoConvert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSchedulerConfiguration
,
autoConvert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration
,
)
if
err
!=
nil
{
// If one of the conversion functions is malformed, detect it immediately.
...
...
pkg/apis/componentconfig/v1alpha1/deep_copy_generated.go
View file @
097a1d6d
...
...
@@ -68,11 +68,55 @@ func deepCopy_v1alpha1_KubeProxyConfiguration(in KubeProxyConfiguration, out *Ku
return
nil
}
func
deepCopy_v1alpha1_KubeSchedulerConfiguration
(
in
KubeSchedulerConfiguration
,
out
*
KubeSchedulerConfiguration
,
c
*
conversion
.
Cloner
)
error
{
if
err
:=
deepCopy_unversioned_TypeMeta
(
in
.
TypeMeta
,
&
out
.
TypeMeta
,
c
);
err
!=
nil
{
return
err
}
out
.
Port
=
in
.
Port
out
.
Address
=
in
.
Address
out
.
AlgorithmProvider
=
in
.
AlgorithmProvider
out
.
PolicyConfigFile
=
in
.
PolicyConfigFile
if
in
.
EnableProfiling
!=
nil
{
out
.
EnableProfiling
=
new
(
bool
)
*
out
.
EnableProfiling
=
*
in
.
EnableProfiling
}
else
{
out
.
EnableProfiling
=
nil
}
out
.
KubeAPIQPS
=
in
.
KubeAPIQPS
out
.
KubeAPIBurst
=
in
.
KubeAPIBurst
out
.
SchedulerName
=
in
.
SchedulerName
if
err
:=
deepCopy_v1alpha1_LeaderElectionConfiguration
(
in
.
LeaderElection
,
&
out
.
LeaderElection
,
c
);
err
!=
nil
{
return
err
}
return
nil
}
func
deepCopy_v1alpha1_LeaderElectionConfiguration
(
in
LeaderElectionConfiguration
,
out
*
LeaderElectionConfiguration
,
c
*
conversion
.
Cloner
)
error
{
if
in
.
LeaderElect
!=
nil
{
out
.
LeaderElect
=
new
(
bool
)
*
out
.
LeaderElect
=
*
in
.
LeaderElect
}
else
{
out
.
LeaderElect
=
nil
}
if
err
:=
deepCopy_unversioned_Duration
(
in
.
LeaseDuration
,
&
out
.
LeaseDuration
,
c
);
err
!=
nil
{
return
err
}
if
err
:=
deepCopy_unversioned_Duration
(
in
.
RenewDeadline
,
&
out
.
RenewDeadline
,
c
);
err
!=
nil
{
return
err
}
if
err
:=
deepCopy_unversioned_Duration
(
in
.
RetryPeriod
,
&
out
.
RetryPeriod
,
c
);
err
!=
nil
{
return
err
}
return
nil
}
func
init
()
{
err
:=
api
.
Scheme
.
AddGeneratedDeepCopyFuncs
(
deepCopy_unversioned_Duration
,
deepCopy_unversioned_TypeMeta
,
deepCopy_v1alpha1_KubeProxyConfiguration
,
deepCopy_v1alpha1_KubeSchedulerConfiguration
,
deepCopy_v1alpha1_LeaderElectionConfiguration
,
)
if
err
!=
nil
{
// if one of the deep copy functions is malformed, detect it immediately.
...
...
pkg/apis/componentconfig/v1alpha1/types.generated.go
View file @
097a1d6d
This diff is collapsed.
Click to expand it.
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