Skip to content

Commit d358cb1

Browse files
committed
Update generated files
1 parent 205cd90 commit d358cb1

File tree

16 files changed

+1307
-4
lines changed

16 files changed

+1307
-4
lines changed

staging/src/k8s.io/apiextensions-apiserver/examples/client-go/apis/cr/v1/BUILD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,15 @@ go_test(
2525
go_library(
2626
name = "go_default_library",
2727
srcs = [
28+
"doc.go",
2829
"register.go",
2930
"types.go",
31+
"zz_generated.deepcopy.go",
3032
],
3133
tags = ["automanaged"],
3234
deps = [
3335
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
36+
"//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library",
3437
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
3538
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
3639
],
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
// +build !ignore_autogenerated
2+
3+
/*
4+
Copyright 2017 The Kubernetes Authors.
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
*/
18+
19+
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
20+
21+
package v1
22+
23+
import (
24+
meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
25+
conversion "k8s.io/apimachinery/pkg/conversion"
26+
reflect "reflect"
27+
)
28+
29+
// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
30+
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
31+
return []conversion.GeneratedDeepCopyFunc{
32+
{Fn: DeepCopy_v1_Example, InType: reflect.TypeOf(&Example{})},
33+
{Fn: DeepCopy_v1_ExampleList, InType: reflect.TypeOf(&ExampleList{})},
34+
{Fn: DeepCopy_v1_ExampleSpec, InType: reflect.TypeOf(&ExampleSpec{})},
35+
{Fn: DeepCopy_v1_ExampleStatus, InType: reflect.TypeOf(&ExampleStatus{})},
36+
}
37+
}
38+
39+
// DeepCopy_v1_Example is an autogenerated deepcopy function.
40+
func DeepCopy_v1_Example(in interface{}, out interface{}, c *conversion.Cloner) error {
41+
{
42+
in := in.(*Example)
43+
out := out.(*Example)
44+
*out = *in
45+
if newVal, err := c.DeepCopy(&in.ObjectMeta); err != nil {
46+
return err
47+
} else {
48+
out.ObjectMeta = *newVal.(*meta_v1.ObjectMeta)
49+
}
50+
return nil
51+
}
52+
}
53+
54+
// DeepCopy_v1_ExampleList is an autogenerated deepcopy function.
55+
func DeepCopy_v1_ExampleList(in interface{}, out interface{}, c *conversion.Cloner) error {
56+
{
57+
in := in.(*ExampleList)
58+
out := out.(*ExampleList)
59+
*out = *in
60+
if in.Items != nil {
61+
in, out := &in.Items, &out.Items
62+
*out = make([]Example, len(*in))
63+
for i := range *in {
64+
if newVal, err := c.DeepCopy(&(*in)[i]); err != nil {
65+
return err
66+
} else {
67+
(*out)[i] = *newVal.(*Example)
68+
}
69+
}
70+
}
71+
return nil
72+
}
73+
}
74+
75+
// DeepCopy_v1_ExampleSpec is an autogenerated deepcopy function.
76+
func DeepCopy_v1_ExampleSpec(in interface{}, out interface{}, c *conversion.Cloner) error {
77+
{
78+
in := in.(*ExampleSpec)
79+
out := out.(*ExampleSpec)
80+
*out = *in
81+
return nil
82+
}
83+
}
84+
85+
// DeepCopy_v1_ExampleStatus is an autogenerated deepcopy function.
86+
func DeepCopy_v1_ExampleStatus(in interface{}, out interface{}, c *conversion.Cloner) error {
87+
{
88+
in := in.(*ExampleStatus)
89+
out := out.(*ExampleStatus)
90+
*out = *in
91+
return nil
92+
}
93+
}

staging/src/k8s.io/apimachinery/pkg/runtime/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ go_test(
6363
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
6464
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
6565
"//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library",
66+
"//vendor/k8s.io/apimachinery/pkg/runtime/testing:go_default_library",
6667
"//vendor/k8s.io/apimachinery/pkg/util/diff:go_default_library",
6768
],
6869
)

staging/src/k8s.io/apimachinery/pkg/runtime/serializer/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ go_test(
2121
"//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library",
2222
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
2323
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
24+
"//vendor/k8s.io/apimachinery/pkg/runtime/serializer/testing:go_default_library",
2425
"//vendor/k8s.io/apimachinery/pkg/util/diff:go_default_library",
2526
],
2627
)
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package(default_visibility = ["//visibility:public"])
2+
3+
licenses(["notice"])
4+
5+
load(
6+
"@io_bazel_rules_go//go:def.bzl",
7+
"go_library",
8+
)
9+
10+
go_library(
11+
name = "go_default_library",
12+
srcs = [
13+
"doc.go",
14+
"types.go",
15+
"zz_generated.deepcopy.go",
16+
],
17+
tags = ["automanaged"],
18+
deps = [
19+
"//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library",
20+
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
21+
],
22+
)
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
// +build !ignore_autogenerated
2+
3+
/*
4+
Copyright 2017 The Kubernetes Authors.
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
*/
18+
19+
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
20+
21+
package testing
22+
23+
import (
24+
conversion "k8s.io/apimachinery/pkg/conversion"
25+
reflect "reflect"
26+
)
27+
28+
// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
29+
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
30+
return []conversion.GeneratedDeepCopyFunc{
31+
{Fn: DeepCopy_testing_ExternalInternalSame, InType: reflect.TypeOf(&ExternalInternalSame{})},
32+
{Fn: DeepCopy_testing_ExternalTestType1, InType: reflect.TypeOf(&ExternalTestType1{})},
33+
{Fn: DeepCopy_testing_ExternalTestType2, InType: reflect.TypeOf(&ExternalTestType2{})},
34+
{Fn: DeepCopy_testing_TestType1, InType: reflect.TypeOf(&TestType1{})},
35+
{Fn: DeepCopy_testing_TestType2, InType: reflect.TypeOf(&TestType2{})},
36+
}
37+
}
38+
39+
// DeepCopy_testing_ExternalInternalSame is an autogenerated deepcopy function.
40+
func DeepCopy_testing_ExternalInternalSame(in interface{}, out interface{}, c *conversion.Cloner) error {
41+
{
42+
in := in.(*ExternalInternalSame)
43+
out := out.(*ExternalInternalSame)
44+
*out = *in
45+
return nil
46+
}
47+
}
48+
49+
// DeepCopy_testing_ExternalTestType1 is an autogenerated deepcopy function.
50+
func DeepCopy_testing_ExternalTestType1(in interface{}, out interface{}, c *conversion.Cloner) error {
51+
{
52+
in := in.(*ExternalTestType1)
53+
out := out.(*ExternalTestType1)
54+
*out = *in
55+
if in.M != nil {
56+
in, out := &in.M, &out.M
57+
*out = make(map[string]int)
58+
for key, val := range *in {
59+
(*out)[key] = val
60+
}
61+
}
62+
if in.N != nil {
63+
in, out := &in.N, &out.N
64+
*out = make(map[string]ExternalTestType2)
65+
for key, val := range *in {
66+
(*out)[key] = val
67+
}
68+
}
69+
if in.O != nil {
70+
in, out := &in.O, &out.O
71+
*out = new(ExternalTestType2)
72+
**out = **in
73+
}
74+
if in.P != nil {
75+
in, out := &in.P, &out.P
76+
*out = make([]ExternalTestType2, len(*in))
77+
copy(*out, *in)
78+
}
79+
return nil
80+
}
81+
}
82+
83+
// DeepCopy_testing_ExternalTestType2 is an autogenerated deepcopy function.
84+
func DeepCopy_testing_ExternalTestType2(in interface{}, out interface{}, c *conversion.Cloner) error {
85+
{
86+
in := in.(*ExternalTestType2)
87+
out := out.(*ExternalTestType2)
88+
*out = *in
89+
return nil
90+
}
91+
}
92+
93+
// DeepCopy_testing_TestType1 is an autogenerated deepcopy function.
94+
func DeepCopy_testing_TestType1(in interface{}, out interface{}, c *conversion.Cloner) error {
95+
{
96+
in := in.(*TestType1)
97+
out := out.(*TestType1)
98+
*out = *in
99+
if in.M != nil {
100+
in, out := &in.M, &out.M
101+
*out = make(map[string]int)
102+
for key, val := range *in {
103+
(*out)[key] = val
104+
}
105+
}
106+
if in.N != nil {
107+
in, out := &in.N, &out.N
108+
*out = make(map[string]TestType2)
109+
for key, val := range *in {
110+
(*out)[key] = val
111+
}
112+
}
113+
if in.O != nil {
114+
in, out := &in.O, &out.O
115+
*out = new(TestType2)
116+
**out = **in
117+
}
118+
if in.P != nil {
119+
in, out := &in.P, &out.P
120+
*out = make([]TestType2, len(*in))
121+
copy(*out, *in)
122+
}
123+
return nil
124+
}
125+
}
126+
127+
// DeepCopy_testing_TestType2 is an autogenerated deepcopy function.
128+
func DeepCopy_testing_TestType2(in interface{}, out interface{}, c *conversion.Cloner) error {
129+
{
130+
in := in.(*TestType2)
131+
out := out.(*TestType2)
132+
*out = *in
133+
return nil
134+
}
135+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package(default_visibility = ["//visibility:public"])
2+
3+
licenses(["notice"])
4+
5+
load(
6+
"@io_bazel_rules_go//go:def.bzl",
7+
"go_library",
8+
)
9+
10+
go_library(
11+
name = "go_default_library",
12+
srcs = [
13+
"doc.go",
14+
"types.go",
15+
"zz_generated.deepcopy.go",
16+
],
17+
tags = ["automanaged"],
18+
deps = [
19+
"//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library",
20+
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
21+
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
22+
],
23+
)

0 commit comments

Comments
 (0)