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
251abaa7
Commit
251abaa7
authored
Apr 05, 2017
by
Haoran Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generated
parent
fcc73d35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
zz_generated.conversion.go
pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go
+4
-0
zz_generated.openapi.go
pkg/generated/openapi/zz_generated.openapi.go
+15
-1
No files found.
pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go
View file @
251abaa7
...
...
@@ -137,6 +137,8 @@ func autoConvert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSche
if
err
:=
Convert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration
(
&
in
.
LeaderElection
,
&
out
.
LeaderElection
,
s
);
err
!=
nil
{
return
err
}
out
.
LockObjectNamespace
=
in
.
LockObjectNamespace
out
.
LockObjectName
=
in
.
LockObjectName
return
nil
}
...
...
@@ -162,6 +164,8 @@ func autoConvert_componentconfig_KubeSchedulerConfiguration_To_v1alpha1_KubeSche
if
err
:=
Convert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration
(
&
in
.
LeaderElection
,
&
out
.
LeaderElection
,
s
);
err
!=
nil
{
return
err
}
out
.
LockObjectNamespace
=
in
.
LockObjectNamespace
out
.
LockObjectName
=
in
.
LockObjectName
return
nil
}
...
...
pkg/generated/openapi/zz_generated.openapi.go
View file @
251abaa7
...
...
@@ -12878,8 +12878,22 @@ func GetOpenAPIDefinitions(ref openapi.ReferenceCallback) map[string]openapi.Ope
Ref
:
ref
(
"k8s.io/kubernetes/pkg/apis/componentconfig/v1alpha1.LeaderElectionConfiguration"
),
},
},
"lockObjectNamespace"
:
{
SchemaProps
:
spec
.
SchemaProps
{
Description
:
"LockObjectNamespace defines the namespace of the lock object"
,
Type
:
[]
string
{
"string"
},
Format
:
""
,
},
},
"lockObjectName"
:
{
SchemaProps
:
spec
.
SchemaProps
{
Description
:
"LockObjectName defines the lock object name"
,
Type
:
[]
string
{
"string"
},
Format
:
""
,
},
},
},
Required
:
[]
string
{
"port"
,
"address"
,
"algorithmProvider"
,
"policyConfigFile"
,
"enableProfiling"
,
"enableContentionProfiling"
,
"contentType"
,
"kubeAPIQPS"
,
"kubeAPIBurst"
,
"schedulerName"
,
"hardPodAffinitySymmetricWeight"
,
"failureDomains"
,
"leaderElection"
},
Required
:
[]
string
{
"port"
,
"address"
,
"algorithmProvider"
,
"policyConfigFile"
,
"enableProfiling"
,
"enableContentionProfiling"
,
"contentType"
,
"kubeAPIQPS"
,
"kubeAPIBurst"
,
"schedulerName"
,
"hardPodAffinitySymmetricWeight"
,
"failureDomains"
,
"leaderElection"
,
"lockObjectNamespace"
,
"lockObjectName"
},
},
},
Dependencies
:
[]
string
{
...
...
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