Skip to content

Commit

Permalink
Update generated code
Browse files Browse the repository at this point in the history
Kubernetes-commit: 1e79dfb959896f2e51be87ecef491452bd17724c
  • Loading branch information
sttts authored and k8s-publish-robot committed Nov 9, 2017
1 parent 04e0ebc commit e46caf4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
1 change: 0 additions & 1 deletion pkg/apis/samplecontroller/v1alpha1/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1: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/sample-controller/pkg/apis/samplecontroller:go_default_library",
Expand Down
31 changes: 0 additions & 31 deletions pkg/apis/samplecontroller/v1alpha1/zz_generated.deepcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,40 +21,9 @@ limitations under the License.
package v1alpha1

import (
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.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*Foo).DeepCopyInto(out.(*Foo))
return nil
}, InType: reflect.TypeOf(&Foo{})},
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*FooList).DeepCopyInto(out.(*FooList))
return nil
}, InType: reflect.TypeOf(&FooList{})},
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*FooSpec).DeepCopyInto(out.(*FooSpec))
return nil
}, InType: reflect.TypeOf(&FooSpec{})},
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*FooStatus).DeepCopyInto(out.(*FooStatus))
return nil
}, InType: reflect.TypeOf(&FooStatus{})},
)
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Foo) DeepCopyInto(out *Foo) {
*out = *in
Expand Down

0 comments on commit e46caf4

Please sign in to comment.