|
|
|
@@ -1,42 +1,10 @@
|
|
|
|
|
package v1beta2
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
reflect "reflect"
|
|
|
|
|
|
|
|
|
|
apps_v1beta2 "k8s.io/api/apps/v1beta2"
|
|
|
|
|
conversion "k8s.io/apimachinery/pkg/conversion"
|
|
|
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
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.(*DaemonSetList).DeepCopyInto(out.(*DaemonSetList))
|
|
|
|
|
return nil
|
|
|
|
|
}, InType: reflect.TypeOf(&DaemonSetList{})},
|
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
|
in.(*DeploymentList).DeepCopyInto(out.(*DeploymentList))
|
|
|
|
|
return nil
|
|
|
|
|
}, InType: reflect.TypeOf(&DeploymentList{})},
|
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
|
in.(*ReplicaSetList).DeepCopyInto(out.(*ReplicaSetList))
|
|
|
|
|
return nil
|
|
|
|
|
}, InType: reflect.TypeOf(&ReplicaSetList{})},
|
|
|
|
|
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
|
|
|
|
in.(*StatefulSetList).DeepCopyInto(out.(*StatefulSetList))
|
|
|
|
|
return nil
|
|
|
|
|
}, InType: reflect.TypeOf(&StatefulSetList{})},
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
|
func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) {
|
|
|
|
|
*out = *in
|
|
|
|
@@ -66,9 +34,8 @@ func (in *DaemonSetList) DeepCopy() *DaemonSetList {
|
|
|
|
|
func (in *DaemonSetList) DeepCopyObject() runtime.Object {
|
|
|
|
|
if c := in.DeepCopy(); c != nil {
|
|
|
|
|
return c
|
|
|
|
|
} else {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
@@ -100,9 +67,8 @@ func (in *DeploymentList) DeepCopy() *DeploymentList {
|
|
|
|
|
func (in *DeploymentList) DeepCopyObject() runtime.Object {
|
|
|
|
|
if c := in.DeepCopy(); c != nil {
|
|
|
|
|
return c
|
|
|
|
|
} else {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
@@ -134,9 +100,8 @@ func (in *ReplicaSetList) DeepCopy() *ReplicaSetList {
|
|
|
|
|
func (in *ReplicaSetList) DeepCopyObject() runtime.Object {
|
|
|
|
|
if c := in.DeepCopy(); c != nil {
|
|
|
|
|
return c
|
|
|
|
|
} else {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
|
|
|
@@ -168,7 +133,6 @@ func (in *StatefulSetList) DeepCopy() *StatefulSetList {
|
|
|
|
|
func (in *StatefulSetList) DeepCopyObject() runtime.Object {
|
|
|
|
|
if c := in.DeepCopy(); c != nil {
|
|
|
|
|
return c
|
|
|
|
|
} else {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|