update generated deepcopy code

This commit is contained in:
supereagle
2017-07-31 22:33:00 +08:00
parent 61e81e9ab8
commit a1c880ece3
97 changed files with 5279 additions and 5161 deletions

View File

@@ -28,13 +28,14 @@ import (
reflect "reflect"
)
// Deprecated: register deep-copy functions.
func init() {
SchemeBuilder.Register(RegisterDeepCopies)
}
// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public
// 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 {
@@ -85,19 +86,19 @@ func (in *ControllerRevision) DeepCopyInto(out *ControllerRevision) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
func (x *ControllerRevision) DeepCopy() *ControllerRevision {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
func (in *ControllerRevision) DeepCopy() *ControllerRevision {
if in == nil {
return nil
}
out := new(ControllerRevision)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ControllerRevision) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil {
func (in *ControllerRevision) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
@@ -119,19 +120,19 @@ func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList.
func (x *ControllerRevisionList) DeepCopy() *ControllerRevisionList {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList.
func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList {
if in == nil {
return nil
}
out := new(ControllerRevisionList)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ControllerRevisionList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil {
func (in *ControllerRevisionList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
@@ -144,13 +145,13 @@ func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateState
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
func (x *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
if in == nil {
return nil
}
out := new(RollingUpdateStatefulSetStrategy)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@@ -164,19 +165,19 @@ func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
func (x *StatefulSet) DeepCopy() *StatefulSet {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
func (in *StatefulSet) DeepCopy() *StatefulSet {
if in == nil {
return nil
}
out := new(StatefulSet)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StatefulSet) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil {
func (in *StatefulSet) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
@@ -198,19 +199,19 @@ func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
func (x *StatefulSetList) DeepCopy() *StatefulSetList {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
func (in *StatefulSetList) DeepCopy() *StatefulSetList {
if in == nil {
return nil
}
out := new(StatefulSetList)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StatefulSetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil {
func (in *StatefulSetList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
} else {
return nil
@@ -250,13 +251,13 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
func (x *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
if in == nil {
return nil
}
out := new(StatefulSetSpec)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@@ -275,13 +276,13 @@ func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
func (x *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
if in == nil {
return nil
}
out := new(StatefulSetStatus)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}
@@ -300,12 +301,12 @@ func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy
return
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
func (x *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
if x == nil {
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
if in == nil {
return nil
}
out := new(StatefulSetUpdateStrategy)
x.DeepCopyInto(out)
in.DeepCopyInto(out)
return out
}