-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
4,482 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
// +build !ignore_autogenerated_openshift | ||
|
||
// This file was autogenerated by deepcopy-gen. Do not edit it manually! | ||
|
||
package testing | ||
|
||
import ( | ||
conversion "k8s.io/apimachinery/pkg/conversion" | ||
reflect "reflect" | ||
) | ||
|
||
// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. | ||
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { | ||
return []conversion.GeneratedDeepCopyFunc{ | ||
{Fn: DeepCopy_testing_OtherTestConfig2, InType: reflect.TypeOf(&OtherTestConfig2{})}, | ||
{Fn: DeepCopy_testing_OtherTestConfig2V2, InType: reflect.TypeOf(&OtherTestConfig2V2{})}, | ||
{Fn: DeepCopy_testing_TestConfig, InType: reflect.TypeOf(&TestConfig{})}, | ||
{Fn: DeepCopy_testing_TestConfigV1, InType: reflect.TypeOf(&TestConfigV1{})}, | ||
} | ||
} | ||
|
||
// DeepCopy_testing_OtherTestConfig2 is an autogenerated deepcopy function. | ||
func DeepCopy_testing_OtherTestConfig2(in interface{}, out interface{}, c *conversion.Cloner) error { | ||
{ | ||
in := in.(*OtherTestConfig2) | ||
out := out.(*OtherTestConfig2) | ||
*out = *in | ||
return nil | ||
} | ||
} | ||
|
||
// DeepCopy_testing_OtherTestConfig2V2 is an autogenerated deepcopy function. | ||
func DeepCopy_testing_OtherTestConfig2V2(in interface{}, out interface{}, c *conversion.Cloner) error { | ||
{ | ||
in := in.(*OtherTestConfig2V2) | ||
out := out.(*OtherTestConfig2V2) | ||
*out = *in | ||
return nil | ||
} | ||
} | ||
|
||
// DeepCopy_testing_TestConfig is an autogenerated deepcopy function. | ||
func DeepCopy_testing_TestConfig(in interface{}, out interface{}, c *conversion.Cloner) error { | ||
{ | ||
in := in.(*TestConfig) | ||
out := out.(*TestConfig) | ||
*out = *in | ||
if in.Item2 != nil { | ||
in, out := &in.Item2, &out.Item2 | ||
*out = make([]string, len(*in)) | ||
copy(*out, *in) | ||
} | ||
return nil | ||
} | ||
} | ||
|
||
// DeepCopy_testing_TestConfigV1 is an autogenerated deepcopy function. | ||
func DeepCopy_testing_TestConfigV1(in interface{}, out interface{}, c *conversion.Cloner) error { | ||
{ | ||
in := in.(*TestConfigV1) | ||
out := out.(*TestConfigV1) | ||
*out = *in | ||
if in.Item2 != nil { | ||
in, out := &in.Item2, &out.Item2 | ||
*out = make([]string, len(*in)) | ||
copy(*out, *in) | ||
} | ||
return nil | ||
} | ||
} |
89 changes: 89 additions & 0 deletions
89
pkg/build/controller/build/defaults/api/v1/zz_generated.deepcopy.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
// +build !ignore_autogenerated_openshift | ||
|
||
// This file was autogenerated by deepcopy-gen. Do not edit it manually! | ||
|
||
package v1 | ||
|
||
import ( | ||
build_v1 "github.com/openshift/origin/pkg/build/apis/build/v1" | ||
conversion "k8s.io/apimachinery/pkg/conversion" | ||
runtime "k8s.io/apimachinery/pkg/runtime" | ||
api_v1 "k8s.io/kubernetes/pkg/api/v1" | ||
reflect "reflect" | ||
) | ||
|
||
func init() { | ||
SchemeBuilder.Register(RegisterDeepCopies) | ||
} | ||
|
||
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public | ||
// to allow building arbitrary schemes. | ||
func RegisterDeepCopies(scheme *runtime.Scheme) error { | ||
return scheme.AddGeneratedDeepCopyFuncs( | ||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_BuildDefaultsConfig, InType: reflect.TypeOf(&BuildDefaultsConfig{})}, | ||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SourceStrategyDefaultsConfig, InType: reflect.TypeOf(&SourceStrategyDefaultsConfig{})}, | ||
) | ||
} | ||
|
||
// DeepCopy_v1_BuildDefaultsConfig is an autogenerated deepcopy function. | ||
func DeepCopy_v1_BuildDefaultsConfig(in interface{}, out interface{}, c *conversion.Cloner) error { | ||
{ | ||
in := in.(*BuildDefaultsConfig) | ||
out := out.(*BuildDefaultsConfig) | ||
*out = *in | ||
if in.Env != nil { | ||
in, out := &in.Env, &out.Env | ||
*out = make([]api_v1.EnvVar, len(*in)) | ||
for i := range *in { | ||
if err := api_v1.DeepCopy_v1_EnvVar(&(*in)[i], &(*out)[i], c); err != nil { | ||
return err | ||
} | ||
} | ||
} | ||
if in.SourceStrategyDefaults != nil { | ||
in, out := &in.SourceStrategyDefaults, &out.SourceStrategyDefaults | ||
*out = new(SourceStrategyDefaultsConfig) | ||
if err := DeepCopy_v1_SourceStrategyDefaultsConfig(*in, *out, c); err != nil { | ||
return err | ||
} | ||
} | ||
if in.ImageLabels != nil { | ||
in, out := &in.ImageLabels, &out.ImageLabels | ||
*out = make([]build_v1.ImageLabel, len(*in)) | ||
copy(*out, *in) | ||
} | ||
if in.NodeSelector != nil { | ||
in, out := &in.NodeSelector, &out.NodeSelector | ||
*out = make(map[string]string) | ||
for key, val := range *in { | ||
(*out)[key] = val | ||
} | ||
} | ||
if in.Annotations != nil { | ||
in, out := &in.Annotations, &out.Annotations | ||
*out = make(map[string]string) | ||
for key, val := range *in { | ||
(*out)[key] = val | ||
} | ||
} | ||
if err := api_v1.DeepCopy_v1_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil { | ||
return err | ||
} | ||
return nil | ||
} | ||
} | ||
|
||
// DeepCopy_v1_SourceStrategyDefaultsConfig is an autogenerated deepcopy function. | ||
func DeepCopy_v1_SourceStrategyDefaultsConfig(in interface{}, out interface{}, c *conversion.Cloner) error { | ||
{ | ||
in := in.(*SourceStrategyDefaultsConfig) | ||
out := out.(*SourceStrategyDefaultsConfig) | ||
*out = *in | ||
if in.Incremental != nil { | ||
in, out := &in.Incremental, &out.Incremental | ||
*out = new(bool) | ||
**out = **in | ||
} | ||
return nil | ||
} | ||
} |
89 changes: 89 additions & 0 deletions
89
pkg/build/controller/build/defaults/api/zz_generated.deepcopy.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
// +build !ignore_autogenerated_openshift | ||
|
||
// This file was autogenerated by deepcopy-gen. Do not edit it manually! | ||
|
||
package api | ||
|
||
import ( | ||
build "github.com/openshift/origin/pkg/build/apis/build" | ||
conversion "k8s.io/apimachinery/pkg/conversion" | ||
runtime "k8s.io/apimachinery/pkg/runtime" | ||
pkg_api "k8s.io/kubernetes/pkg/api" | ||
reflect "reflect" | ||
) | ||
|
||
func init() { | ||
SchemeBuilder.Register(RegisterDeepCopies) | ||
} | ||
|
||
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public | ||
// to allow building arbitrary schemes. | ||
func RegisterDeepCopies(scheme *runtime.Scheme) error { | ||
return scheme.AddGeneratedDeepCopyFuncs( | ||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_BuildDefaultsConfig, InType: reflect.TypeOf(&BuildDefaultsConfig{})}, | ||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SourceStrategyDefaultsConfig, InType: reflect.TypeOf(&SourceStrategyDefaultsConfig{})}, | ||
) | ||
} | ||
|
||
// DeepCopy_api_BuildDefaultsConfig is an autogenerated deepcopy function. | ||
func DeepCopy_api_BuildDefaultsConfig(in interface{}, out interface{}, c *conversion.Cloner) error { | ||
{ | ||
in := in.(*BuildDefaultsConfig) | ||
out := out.(*BuildDefaultsConfig) | ||
*out = *in | ||
if in.Env != nil { | ||
in, out := &in.Env, &out.Env | ||
*out = make([]pkg_api.EnvVar, len(*in)) | ||
for i := range *in { | ||
if err := pkg_api.DeepCopy_api_EnvVar(&(*in)[i], &(*out)[i], c); err != nil { | ||
return err | ||
} | ||
} | ||
} | ||
if in.SourceStrategyDefaults != nil { | ||
in, out := &in.SourceStrategyDefaults, &out.SourceStrategyDefaults | ||
*out = new(SourceStrategyDefaultsConfig) | ||
if err := DeepCopy_api_SourceStrategyDefaultsConfig(*in, *out, c); err != nil { | ||
return err | ||
} | ||
} | ||
if in.ImageLabels != nil { | ||
in, out := &in.ImageLabels, &out.ImageLabels | ||
*out = make([]build.ImageLabel, len(*in)) | ||
copy(*out, *in) | ||
} | ||
if in.NodeSelector != nil { | ||
in, out := &in.NodeSelector, &out.NodeSelector | ||
*out = make(map[string]string) | ||
for key, val := range *in { | ||
(*out)[key] = val | ||
} | ||
} | ||
if in.Annotations != nil { | ||
in, out := &in.Annotations, &out.Annotations | ||
*out = make(map[string]string) | ||
for key, val := range *in { | ||
(*out)[key] = val | ||
} | ||
} | ||
if err := pkg_api.DeepCopy_api_ResourceRequirements(&in.Resources, &out.Resources, c); err != nil { | ||
return err | ||
} | ||
return nil | ||
} | ||
} | ||
|
||
// DeepCopy_api_SourceStrategyDefaultsConfig is an autogenerated deepcopy function. | ||
func DeepCopy_api_SourceStrategyDefaultsConfig(in interface{}, out interface{}, c *conversion.Cloner) error { | ||
{ | ||
in := in.(*SourceStrategyDefaultsConfig) | ||
out := out.(*SourceStrategyDefaultsConfig) | ||
*out = *in | ||
if in.Incremental != nil { | ||
in, out := &in.Incremental, &out.Incremental | ||
*out = new(bool) | ||
**out = **in | ||
} | ||
return nil | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
pkg/build/controller/build/overrides/api/v1/zz_generated.deepcopy.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// +build !ignore_autogenerated_openshift | ||
|
||
// This file was autogenerated by deepcopy-gen. Do not edit it manually! | ||
|
||
package v1 | ||
|
||
import ( | ||
build_v1 "github.com/openshift/origin/pkg/build/apis/build/v1" | ||
conversion "k8s.io/apimachinery/pkg/conversion" | ||
runtime "k8s.io/apimachinery/pkg/runtime" | ||
reflect "reflect" | ||
) | ||
|
||
func init() { | ||
SchemeBuilder.Register(RegisterDeepCopies) | ||
} | ||
|
||
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public | ||
// to allow building arbitrary schemes. | ||
func RegisterDeepCopies(scheme *runtime.Scheme) error { | ||
return scheme.AddGeneratedDeepCopyFuncs( | ||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_BuildOverridesConfig, InType: reflect.TypeOf(&BuildOverridesConfig{})}, | ||
) | ||
} | ||
|
||
// DeepCopy_v1_BuildOverridesConfig is an autogenerated deepcopy function. | ||
func DeepCopy_v1_BuildOverridesConfig(in interface{}, out interface{}, c *conversion.Cloner) error { | ||
{ | ||
in := in.(*BuildOverridesConfig) | ||
out := out.(*BuildOverridesConfig) | ||
*out = *in | ||
if in.ImageLabels != nil { | ||
in, out := &in.ImageLabels, &out.ImageLabels | ||
*out = make([]build_v1.ImageLabel, len(*in)) | ||
copy(*out, *in) | ||
} | ||
if in.NodeSelector != nil { | ||
in, out := &in.NodeSelector, &out.NodeSelector | ||
*out = make(map[string]string) | ||
for key, val := range *in { | ||
(*out)[key] = val | ||
} | ||
} | ||
if in.Annotations != nil { | ||
in, out := &in.Annotations, &out.Annotations | ||
*out = make(map[string]string) | ||
for key, val := range *in { | ||
(*out)[key] = val | ||
} | ||
} | ||
return nil | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
pkg/build/controller/build/overrides/api/zz_generated.deepcopy.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// +build !ignore_autogenerated_openshift | ||
|
||
// This file was autogenerated by deepcopy-gen. Do not edit it manually! | ||
|
||
package api | ||
|
||
import ( | ||
build "github.com/openshift/origin/pkg/build/apis/build" | ||
conversion "k8s.io/apimachinery/pkg/conversion" | ||
runtime "k8s.io/apimachinery/pkg/runtime" | ||
reflect "reflect" | ||
) | ||
|
||
func init() { | ||
SchemeBuilder.Register(RegisterDeepCopies) | ||
} | ||
|
||
// RegisterDeepCopies adds deep-copy functions to the given scheme. Public | ||
// to allow building arbitrary schemes. | ||
func RegisterDeepCopies(scheme *runtime.Scheme) error { | ||
return scheme.AddGeneratedDeepCopyFuncs( | ||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_BuildOverridesConfig, InType: reflect.TypeOf(&BuildOverridesConfig{})}, | ||
) | ||
} | ||
|
||
// DeepCopy_api_BuildOverridesConfig is an autogenerated deepcopy function. | ||
func DeepCopy_api_BuildOverridesConfig(in interface{}, out interface{}, c *conversion.Cloner) error { | ||
{ | ||
in := in.(*BuildOverridesConfig) | ||
out := out.(*BuildOverridesConfig) | ||
*out = *in | ||
if in.ImageLabels != nil { | ||
in, out := &in.ImageLabels, &out.ImageLabels | ||
*out = make([]build.ImageLabel, len(*in)) | ||
copy(*out, *in) | ||
} | ||
if in.NodeSelector != nil { | ||
in, out := &in.NodeSelector, &out.NodeSelector | ||
*out = make(map[string]string) | ||
for key, val := range *in { | ||
(*out)[key] = val | ||
} | ||
} | ||
if in.Annotations != nil { | ||
in, out := &in.Annotations, &out.Annotations | ||
*out = make(map[string]string) | ||
for key, val := range *in { | ||
(*out)[key] = val | ||
} | ||
} | ||
return nil | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// +build !ignore_autogenerated_openshift | ||
|
||
// This file was autogenerated by deepcopy-gen. Do not edit it manually! | ||
|
||
package testing | ||
|
||
import ( | ||
conversion "k8s.io/apimachinery/pkg/conversion" | ||
reflect "reflect" | ||
) | ||
|
||
// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. | ||
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc { | ||
return []conversion.GeneratedDeepCopyFunc{ | ||
{Fn: DeepCopy_testing_AdmissionPluginTestConfig, InType: reflect.TypeOf(&AdmissionPluginTestConfig{})}, | ||
} | ||
} | ||
|
||
// DeepCopy_testing_AdmissionPluginTestConfig is an autogenerated deepcopy function. | ||
func DeepCopy_testing_AdmissionPluginTestConfig(in interface{}, out interface{}, c *conversion.Cloner) error { | ||
{ | ||
in := in.(*AdmissionPluginTestConfig) | ||
out := out.(*AdmissionPluginTestConfig) | ||
*out = *in | ||
return nil | ||
} | ||
} |
Oops, something went wrong.