Skip to content

Commit a69e134

Browse files
committed
Update generated files
1 parent 09cd3a0 commit a69e134

File tree

26 files changed

+4488
-0
lines changed

26 files changed

+4488
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
// +build !ignore_autogenerated_openshift
2+
3+
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
4+
5+
package testing
6+
7+
import (
8+
conversion "k8s.io/apimachinery/pkg/conversion"
9+
reflect "reflect"
10+
)
11+
12+
// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
13+
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
14+
return []conversion.GeneratedDeepCopyFunc{
15+
{Fn: DeepCopy_testing_OtherTestConfig2, InType: reflect.TypeOf(&OtherTestConfig2{})},
16+
{Fn: DeepCopy_testing_OtherTestConfig2V2, InType: reflect.TypeOf(&OtherTestConfig2V2{})},
17+
{Fn: DeepCopy_testing_TestConfig, InType: reflect.TypeOf(&TestConfig{})},
18+
{Fn: DeepCopy_testing_TestConfigV1, InType: reflect.TypeOf(&TestConfigV1{})},
19+
}
20+
}
21+
22+
// DeepCopy_testing_OtherTestConfig2 is an autogenerated deepcopy function.
23+
func DeepCopy_testing_OtherTestConfig2(in interface{}, out interface{}, c *conversion.Cloner) error {
24+
{
25+
in := in.(*OtherTestConfig2)
26+
out := out.(*OtherTestConfig2)
27+
*out = *in
28+
return nil
29+
}
30+
}
31+
32+
// DeepCopy_testing_OtherTestConfig2V2 is an autogenerated deepcopy function.
33+
func DeepCopy_testing_OtherTestConfig2V2(in interface{}, out interface{}, c *conversion.Cloner) error {
34+
{
35+
in := in.(*OtherTestConfig2V2)
36+
out := out.(*OtherTestConfig2V2)
37+
*out = *in
38+
return nil
39+
}
40+
}
41+
42+
// DeepCopy_testing_TestConfig is an autogenerated deepcopy function.
43+
func DeepCopy_testing_TestConfig(in interface{}, out interface{}, c *conversion.Cloner) error {
44+
{
45+
in := in.(*TestConfig)
46+
out := out.(*TestConfig)
47+
*out = *in
48+
if in.Item2 != nil {
49+
in, out := &in.Item2, &out.Item2
50+
*out = make([]string, len(*in))
51+
copy(*out, *in)
52+
}
53+
return nil
54+
}
55+
}
56+
57+
// DeepCopy_testing_TestConfigV1 is an autogenerated deepcopy function.
58+
func DeepCopy_testing_TestConfigV1(in interface{}, out interface{}, c *conversion.Cloner) error {
59+
{
60+
in := in.(*TestConfigV1)
61+
out := out.(*TestConfigV1)
62+
*out = *in
63+
if in.Item2 != nil {
64+
in, out := &in.Item2, &out.Item2
65+
*out = make([]string, len(*in))
66+
copy(*out, *in)
67+
}
68+
return nil
69+
}
70+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
// +build !ignore_autogenerated_openshift
2+
3+
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
4+
5+
package v1
6+
7+
import (
8+
build_v1 "github.com/openshift/origin/pkg/build/apis/build/v1"
9+
conversion "k8s.io/apimachinery/pkg/conversion"
10+
runtime "k8s.io/apimachinery/pkg/runtime"
11+
api_v1 "k8s.io/kubernetes/pkg/api/v1"
12+
reflect "reflect"
13+
)
14+
15+
func init() {
16+
SchemeBuilder.Register(RegisterDeepCopies)
17+
}
18+
19+
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
20+
// to allow building arbitrary schemes.
21+
func RegisterDeepCopies(scheme *runtime.Scheme) error {
22+
return scheme.AddGeneratedDeepCopyFuncs(
23+
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_BuildDefaultsConfig, InType: reflect.TypeOf(&BuildDefaultsConfig{})},
24+
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SourceStrategyDefaultsConfig, InType: reflect.TypeOf(&SourceStrategyDefaultsConfig{})},
25+
)
26+
}
27+
28+
// DeepCopy_v1_BuildDefaultsConfig is an autogenerated deepcopy function.
29+
func DeepCopy_v1_BuildDefaultsConfig(in interface{}, out interface{}, c *conversion.Cloner) error {
30+
{
31+
in := in.(*BuildDefaultsConfig)
32+
out := out.(*BuildDefaultsConfig)
33+
*out = *in
34+
if in.Env != nil {
35+
in, out := &in.Env, &out.Env
36+
*out = make([]api_v1.EnvVar, len(*in))
37+
for i := range *in {
38+
if err := api_v1.DeepCopy_v1_EnvVar(&(*in)[i], &(*out)[i], c); err != nil {
39+
return err
40+
}
41+
}
42+
}
43+
if in.SourceStrategyDefaults != nil {
44+
in, out := &in.SourceStrategyDefaults, &out.SourceStrategyDefaults
45+
*out = new(SourceStrategyDefaultsConfig)
46+
if err := DeepCopy_v1_SourceStrategyDefaultsConfig(*in, *out, c); err != nil {
47+
return err
48+
}
49+
}
50+
if in.ImageLabels != nil {
51+
in, out := &in.ImageLabels, &out.ImageLabels
52+
*out = make([]build_v1.ImageLabel, len(*in))
53+
copy(*out, *in)
54+
}
55+
if in.NodeSelector != nil {
56+
in, out := &in.NodeSelector, &out.NodeSelector
57+
*out = make(map[string]string)
58+
for key, val := range *in {
59+
(*out)[key] = val
60+
}
61+
}
62+
if in.Annotations != nil {
63+
in, out := &in.Annotations, &out.Annotations
64+
*out = make(map[string]string)
65+
for key, val := range *in {
66+
(*out)[key] = val
67+
}
68+
}
69+
if err := api_v1.DeepCopy_v1_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil {
70+
return err
71+
}
72+
return nil
73+
}
74+
}
75+
76+
// DeepCopy_v1_SourceStrategyDefaultsConfig is an autogenerated deepcopy function.
77+
func DeepCopy_v1_SourceStrategyDefaultsConfig(in interface{}, out interface{}, c *conversion.Cloner) error {
78+
{
79+
in := in.(*SourceStrategyDefaultsConfig)
80+
out := out.(*SourceStrategyDefaultsConfig)
81+
*out = *in
82+
if in.Incremental != nil {
83+
in, out := &in.Incremental, &out.Incremental
84+
*out = new(bool)
85+
**out = **in
86+
}
87+
return nil
88+
}
89+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
// +build !ignore_autogenerated_openshift
2+
3+
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
4+
5+
package api
6+
7+
import (
8+
build "github.com/openshift/origin/pkg/build/apis/build"
9+
conversion "k8s.io/apimachinery/pkg/conversion"
10+
runtime "k8s.io/apimachinery/pkg/runtime"
11+
pkg_api "k8s.io/kubernetes/pkg/api"
12+
reflect "reflect"
13+
)
14+
15+
func init() {
16+
SchemeBuilder.Register(RegisterDeepCopies)
17+
}
18+
19+
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
20+
// to allow building arbitrary schemes.
21+
func RegisterDeepCopies(scheme *runtime.Scheme) error {
22+
return scheme.AddGeneratedDeepCopyFuncs(
23+
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_BuildDefaultsConfig, InType: reflect.TypeOf(&BuildDefaultsConfig{})},
24+
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SourceStrategyDefaultsConfig, InType: reflect.TypeOf(&SourceStrategyDefaultsConfig{})},
25+
)
26+
}
27+
28+
// DeepCopy_api_BuildDefaultsConfig is an autogenerated deepcopy function.
29+
func DeepCopy_api_BuildDefaultsConfig(in interface{}, out interface{}, c *conversion.Cloner) error {
30+
{
31+
in := in.(*BuildDefaultsConfig)
32+
out := out.(*BuildDefaultsConfig)
33+
*out = *in
34+
if in.Env != nil {
35+
in, out := &in.Env, &out.Env
36+
*out = make([]pkg_api.EnvVar, len(*in))
37+
for i := range *in {
38+
if err := pkg_api.DeepCopy_api_EnvVar(&(*in)[i], &(*out)[i], c); err != nil {
39+
return err
40+
}
41+
}
42+
}
43+
if in.SourceStrategyDefaults != nil {
44+
in, out := &in.SourceStrategyDefaults, &out.SourceStrategyDefaults
45+
*out = new(SourceStrategyDefaultsConfig)
46+
if err := DeepCopy_api_SourceStrategyDefaultsConfig(*in, *out, c); err != nil {
47+
return err
48+
}
49+
}
50+
if in.ImageLabels != nil {
51+
in, out := &in.ImageLabels, &out.ImageLabels
52+
*out = make([]build.ImageLabel, len(*in))
53+
copy(*out, *in)
54+
}
55+
if in.NodeSelector != nil {
56+
in, out := &in.NodeSelector, &out.NodeSelector
57+
*out = make(map[string]string)
58+
for key, val := range *in {
59+
(*out)[key] = val
60+
}
61+
}
62+
if in.Annotations != nil {
63+
in, out := &in.Annotations, &out.Annotations
64+
*out = make(map[string]string)
65+
for key, val := range *in {
66+
(*out)[key] = val
67+
}
68+
}
69+
if err := pkg_api.DeepCopy_api_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil {
70+
return err
71+
}
72+
return nil
73+
}
74+
}
75+
76+
// DeepCopy_api_SourceStrategyDefaultsConfig is an autogenerated deepcopy function.
77+
func DeepCopy_api_SourceStrategyDefaultsConfig(in interface{}, out interface{}, c *conversion.Cloner) error {
78+
{
79+
in := in.(*SourceStrategyDefaultsConfig)
80+
out := out.(*SourceStrategyDefaultsConfig)
81+
*out = *in
82+
if in.Incremental != nil {
83+
in, out := &in.Incremental, &out.Incremental
84+
*out = new(bool)
85+
**out = **in
86+
}
87+
return nil
88+
}
89+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// +build !ignore_autogenerated_openshift
2+
3+
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
4+
5+
package v1
6+
7+
import (
8+
build_v1 "github.com/openshift/origin/pkg/build/apis/build/v1"
9+
conversion "k8s.io/apimachinery/pkg/conversion"
10+
runtime "k8s.io/apimachinery/pkg/runtime"
11+
reflect "reflect"
12+
)
13+
14+
func init() {
15+
SchemeBuilder.Register(RegisterDeepCopies)
16+
}
17+
18+
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
19+
// to allow building arbitrary schemes.
20+
func RegisterDeepCopies(scheme *runtime.Scheme) error {
21+
return scheme.AddGeneratedDeepCopyFuncs(
22+
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_BuildOverridesConfig, InType: reflect.TypeOf(&BuildOverridesConfig{})},
23+
)
24+
}
25+
26+
// DeepCopy_v1_BuildOverridesConfig is an autogenerated deepcopy function.
27+
func DeepCopy_v1_BuildOverridesConfig(in interface{}, out interface{}, c *conversion.Cloner) error {
28+
{
29+
in := in.(*BuildOverridesConfig)
30+
out := out.(*BuildOverridesConfig)
31+
*out = *in
32+
if in.ImageLabels != nil {
33+
in, out := &in.ImageLabels, &out.ImageLabels
34+
*out = make([]build_v1.ImageLabel, len(*in))
35+
copy(*out, *in)
36+
}
37+
if in.NodeSelector != nil {
38+
in, out := &in.NodeSelector, &out.NodeSelector
39+
*out = make(map[string]string)
40+
for key, val := range *in {
41+
(*out)[key] = val
42+
}
43+
}
44+
if in.Annotations != nil {
45+
in, out := &in.Annotations, &out.Annotations
46+
*out = make(map[string]string)
47+
for key, val := range *in {
48+
(*out)[key] = val
49+
}
50+
}
51+
return nil
52+
}
53+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// +build !ignore_autogenerated_openshift
2+
3+
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
4+
5+
package api
6+
7+
import (
8+
build "github.com/openshift/origin/pkg/build/apis/build"
9+
conversion "k8s.io/apimachinery/pkg/conversion"
10+
runtime "k8s.io/apimachinery/pkg/runtime"
11+
reflect "reflect"
12+
)
13+
14+
func init() {
15+
SchemeBuilder.Register(RegisterDeepCopies)
16+
}
17+
18+
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public
19+
// to allow building arbitrary schemes.
20+
func RegisterDeepCopies(scheme *runtime.Scheme) error {
21+
return scheme.AddGeneratedDeepCopyFuncs(
22+
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_BuildOverridesConfig, InType: reflect.TypeOf(&BuildOverridesConfig{})},
23+
)
24+
}
25+
26+
// DeepCopy_api_BuildOverridesConfig is an autogenerated deepcopy function.
27+
func DeepCopy_api_BuildOverridesConfig(in interface{}, out interface{}, c *conversion.Cloner) error {
28+
{
29+
in := in.(*BuildOverridesConfig)
30+
out := out.(*BuildOverridesConfig)
31+
*out = *in
32+
if in.ImageLabels != nil {
33+
in, out := &in.ImageLabels, &out.ImageLabels
34+
*out = make([]build.ImageLabel, len(*in))
35+
copy(*out, *in)
36+
}
37+
if in.NodeSelector != nil {
38+
in, out := &in.NodeSelector, &out.NodeSelector
39+
*out = make(map[string]string)
40+
for key, val := range *in {
41+
(*out)[key] = val
42+
}
43+
}
44+
if in.Annotations != nil {
45+
in, out := &in.Annotations, &out.Annotations
46+
*out = make(map[string]string)
47+
for key, val := range *in {
48+
(*out)[key] = val
49+
}
50+
}
51+
return nil
52+
}
53+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// +build !ignore_autogenerated_openshift
2+
3+
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
4+
5+
package testing
6+
7+
import (
8+
conversion "k8s.io/apimachinery/pkg/conversion"
9+
reflect "reflect"
10+
)
11+
12+
// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
13+
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
14+
return []conversion.GeneratedDeepCopyFunc{
15+
{Fn: DeepCopy_testing_AdmissionPluginTestConfig, InType: reflect.TypeOf(&AdmissionPluginTestConfig{})},
16+
}
17+
}
18+
19+
// DeepCopy_testing_AdmissionPluginTestConfig is an autogenerated deepcopy function.
20+
func DeepCopy_testing_AdmissionPluginTestConfig(in interface{}, out interface{}, c *conversion.Cloner) error {
21+
{
22+
in := in.(*AdmissionPluginTestConfig)
23+
out := out.(*AdmissionPluginTestConfig)
24+
*out = *in
25+
return nil
26+
}
27+
}

0 commit comments

Comments
 (0)