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
b7ce1f82
Commit
b7ce1f82
authored
Jul 12, 2018
by
hangaoshuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add generated code files
parent
ad1f3e65
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
242 additions
and
0 deletions
+242
-0
.golint_failures
hack/.golint_failures
+1
-0
BUILD
staging/src/BUILD
+1
-0
BUILD
staging/src/k8s.io/apimachinery/pkg/apis/config/BUILD
+30
-0
BUILD
...ng/src/k8s.io/apimachinery/pkg/apis/config/v1alpha1/BUILD
+36
-0
zz_generated.conversion.go
...inery/pkg/apis/config/v1alpha1/zz_generated.conversion.go
+68
-0
zz_generated.deepcopy.go
...chinery/pkg/apis/config/v1alpha1/zz_generated.deepcopy.go
+37
-0
zz_generated.defaults.go
...chinery/pkg/apis/config/v1alpha1/zz_generated.defaults.go
+32
-0
zz_generated.deepcopy.go
....io/apimachinery/pkg/apis/config/zz_generated.deepcopy.go
+37
-0
No files found.
hack/.golint_failures
View file @
b7ce1f82
...
@@ -474,6 +474,7 @@ staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip
...
@@ -474,6 +474,7 @@ staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip
staging/src/k8s.io/apimachinery/pkg/api/meta
staging/src/k8s.io/apimachinery/pkg/api/meta
staging/src/k8s.io/apimachinery/pkg/api/validation
staging/src/k8s.io/apimachinery/pkg/api/validation
staging/src/k8s.io/apimachinery/pkg/api/validation/path
staging/src/k8s.io/apimachinery/pkg/api/validation/path
staging/src/k8s.io/apimachinery/pkg/apis/config/v1alpha1
staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer
staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer
staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion
staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured
...
...
staging/src/BUILD
View file @
b7ce1f82
...
@@ -23,6 +23,7 @@ filegroup(
...
@@ -23,6 +23,7 @@ filegroup(
"//staging/src/k8s.io/apimachinery/pkg/api/meta:all-srcs",
"//staging/src/k8s.io/apimachinery/pkg/api/meta:all-srcs",
"//staging/src/k8s.io/apimachinery/pkg/api/resource:all-srcs",
"//staging/src/k8s.io/apimachinery/pkg/api/resource:all-srcs",
"//staging/src/k8s.io/apimachinery/pkg/api/validation:all-srcs",
"//staging/src/k8s.io/apimachinery/pkg/api/validation:all-srcs",
"//staging/src/k8s.io/apimachinery/pkg/apis/config:all-srcs",
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer:all-srcs",
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer:all-srcs",
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion:all-srcs",
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion:all-srcs",
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:all-srcs",
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:all-srcs",
...
...
staging/src/k8s.io/apimachinery/pkg/apis/config/BUILD
0 → 100644
View file @
b7ce1f82
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"doc.go",
"types.go",
"zz_generated.deepcopy.go",
],
importmap = "k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/config",
importpath = "k8s.io/apimachinery/pkg/apis/config",
visibility = ["//visibility:public"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//staging/src/k8s.io/apimachinery/pkg/apis/config/v1alpha1:all-srcs",
],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)
staging/src/k8s.io/apimachinery/pkg/apis/config/v1alpha1/BUILD
0 → 100644
View file @
b7ce1f82
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"defaults.go",
"doc.go",
"register.go",
"types.go",
"zz_generated.conversion.go",
"zz_generated.deepcopy.go",
"zz_generated.defaults.go",
],
importmap = "k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/config/v1alpha1",
importpath = "k8s.io/apimachinery/pkg/apis/config/v1alpha1",
visibility = ["//visibility:public"],
deps = [
"//staging/src/k8s.io/apimachinery/pkg/apis/config:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/conversion:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)
staging/src/k8s.io/apimachinery/pkg/apis/config/v1alpha1/zz_generated.conversion.go
0 → 100644
View file @
b7ce1f82
// +build !ignore_autogenerated
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by conversion-gen. DO NOT EDIT.
package
v1alpha1
import
(
config
"k8s.io/apimachinery/pkg/apis/config"
conversion
"k8s.io/apimachinery/pkg/conversion"
runtime
"k8s.io/apimachinery/pkg/runtime"
)
func
init
()
{
localSchemeBuilder
.
Register
(
RegisterConversions
)
}
// RegisterConversions adds conversion functions to the given scheme.
// Public to allow building arbitrary schemes.
func
RegisterConversions
(
scheme
*
runtime
.
Scheme
)
error
{
return
scheme
.
AddGeneratedConversionFuncs
(
Convert_v1alpha1_ClientConnectionConfiguration_To_config_ClientConnectionConfiguration
,
Convert_config_ClientConnectionConfiguration_To_v1alpha1_ClientConnectionConfiguration
,
)
}
func
autoConvert_v1alpha1_ClientConnectionConfiguration_To_config_ClientConnectionConfiguration
(
in
*
ClientConnectionConfiguration
,
out
*
config
.
ClientConnectionConfiguration
,
s
conversion
.
Scope
)
error
{
out
.
KubeConfigFile
=
in
.
KubeConfigFile
out
.
AcceptContentTypes
=
in
.
AcceptContentTypes
out
.
ContentType
=
in
.
ContentType
out
.
QPS
=
in
.
QPS
out
.
Burst
=
in
.
Burst
return
nil
}
// Convert_v1alpha1_ClientConnectionConfiguration_To_config_ClientConnectionConfiguration is an autogenerated conversion function.
func
Convert_v1alpha1_ClientConnectionConfiguration_To_config_ClientConnectionConfiguration
(
in
*
ClientConnectionConfiguration
,
out
*
config
.
ClientConnectionConfiguration
,
s
conversion
.
Scope
)
error
{
return
autoConvert_v1alpha1_ClientConnectionConfiguration_To_config_ClientConnectionConfiguration
(
in
,
out
,
s
)
}
func
autoConvert_config_ClientConnectionConfiguration_To_v1alpha1_ClientConnectionConfiguration
(
in
*
config
.
ClientConnectionConfiguration
,
out
*
ClientConnectionConfiguration
,
s
conversion
.
Scope
)
error
{
out
.
KubeConfigFile
=
in
.
KubeConfigFile
out
.
AcceptContentTypes
=
in
.
AcceptContentTypes
out
.
ContentType
=
in
.
ContentType
out
.
QPS
=
in
.
QPS
out
.
Burst
=
in
.
Burst
return
nil
}
// Convert_config_ClientConnectionConfiguration_To_v1alpha1_ClientConnectionConfiguration is an autogenerated conversion function.
func
Convert_config_ClientConnectionConfiguration_To_v1alpha1_ClientConnectionConfiguration
(
in
*
config
.
ClientConnectionConfiguration
,
out
*
ClientConnectionConfiguration
,
s
conversion
.
Scope
)
error
{
return
autoConvert_config_ClientConnectionConfiguration_To_v1alpha1_ClientConnectionConfiguration
(
in
,
out
,
s
)
}
staging/src/k8s.io/apimachinery/pkg/apis/config/v1alpha1/zz_generated.deepcopy.go
0 → 100644
View file @
b7ce1f82
// +build !ignore_autogenerated
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by deepcopy-gen. DO NOT EDIT.
package
v1alpha1
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func
(
in
*
ClientConnectionConfiguration
)
DeepCopyInto
(
out
*
ClientConnectionConfiguration
)
{
*
out
=
*
in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfiguration.
func
(
in
*
ClientConnectionConfiguration
)
DeepCopy
()
*
ClientConnectionConfiguration
{
if
in
==
nil
{
return
nil
}
out
:=
new
(
ClientConnectionConfiguration
)
in
.
DeepCopyInto
(
out
)
return
out
}
staging/src/k8s.io/apimachinery/pkg/apis/config/v1alpha1/zz_generated.defaults.go
0 → 100644
View file @
b7ce1f82
// +build !ignore_autogenerated
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by defaulter-gen. DO NOT EDIT.
package
v1alpha1
import
(
runtime
"k8s.io/apimachinery/pkg/runtime"
)
// RegisterDefaults adds defaulters functions to the given scheme.
// Public to allow building arbitrary schemes.
// All generated defaulters are covering - they call all nested defaulters.
func
RegisterDefaults
(
scheme
*
runtime
.
Scheme
)
error
{
return
nil
}
staging/src/k8s.io/apimachinery/pkg/apis/config/zz_generated.deepcopy.go
0 → 100644
View file @
b7ce1f82
// +build !ignore_autogenerated
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by deepcopy-gen. DO NOT EDIT.
package
config
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func
(
in
*
ClientConnectionConfiguration
)
DeepCopyInto
(
out
*
ClientConnectionConfiguration
)
{
*
out
=
*
in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfiguration.
func
(
in
*
ClientConnectionConfiguration
)
DeepCopy
()
*
ClientConnectionConfiguration
{
if
in
==
nil
{
return
nil
}
out
:=
new
(
ClientConnectionConfiguration
)
in
.
DeepCopyInto
(
out
)
return
out
}
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