Update generated code

This commit is contained in:
Dr. Stefan Schimanski
2017-11-09 12:27:20 +01:00
parent ec44425964
commit 1e79dfb959
202 changed files with 25 additions and 6506 deletions

View File

@@ -30,7 +30,6 @@ go_library(
"//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
"//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library",

View File

@@ -21,43 +21,9 @@ limitations under the License.
package testing
import (
conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime"
reflect "reflect"
)
// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*ExternalNamespacedType).DeepCopyInto(out.(*ExternalNamespacedType))
return nil
}, InType: reflect.TypeOf(&ExternalNamespacedType{})},
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*ExternalNamespacedType2).DeepCopyInto(out.(*ExternalNamespacedType2))
return nil
}, InType: reflect.TypeOf(&ExternalNamespacedType2{})},
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*ExternalType).DeepCopyInto(out.(*ExternalType))
return nil
}, InType: reflect.TypeOf(&ExternalType{})},
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*ExternalType2).DeepCopyInto(out.(*ExternalType2))
return nil
}, InType: reflect.TypeOf(&ExternalType2{})},
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*InternalNamespacedType).DeepCopyInto(out.(*InternalNamespacedType))
return nil
}, InType: reflect.TypeOf(&InternalNamespacedType{})},
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*InternalType).DeepCopyInto(out.(*InternalType))
return nil
}, InType: reflect.TypeOf(&InternalType{})},
}
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExternalNamespacedType) DeepCopyInto(out *ExternalNamespacedType) {
*out = *in