diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 60a454718fd..17b9d33a3fe 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -838,12 +838,12 @@ }, { "ImportPath": "github.com/docker/distribution/digest", - "Comment": "v2.4.0-rc.1-38-gcd27f179", + "Comment": "v2.4.0-rc.1-38-gcd27f17", "Rev": "cd27f179f2c10c5d300e6d09025b538c475b0d51" }, { "ImportPath": "github.com/docker/distribution/reference", - "Comment": "v2.4.0-rc.1-38-gcd27f179", + "Comment": "v2.4.0-rc.1-38-gcd27f17", "Rev": "cd27f179f2c10c5d300e6d09025b538c475b0d51" }, { @@ -1171,127 +1171,127 @@ }, { "ImportPath": "github.com/gogo/protobuf/gogoproto", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/compare", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/defaultcheck", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/description", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/embedcheck", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/enumstringer", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/equal", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/face", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/gostring", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/marshalto", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/oneofcheck", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/populate", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/size", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/stringer", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/testgen", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/union", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/plugin/unmarshal", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/proto", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/descriptor", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/generator", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/grpc", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/protoc-gen-gogo/plugin", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/sortkeys", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/vanity", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { "ImportPath": "github.com/gogo/protobuf/vanity/command", - "Comment": "v0.4-3-gc0656edd", + "Comment": "v0.4-3-gc0656ed", "Rev": "c0656edd0d9eab7c66d1eb0c568f9039345796f7" }, { @@ -2147,82 +2147,82 @@ }, { "ImportPath": "github.com/opencontainers/runc/libcontainer", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/apparmor", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/cgroups", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/cgroups/fs", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/cgroups/systemd", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/configs", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/configs/validate", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/criurpc", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/keys", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/label", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/seccomp", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/selinux", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/stacktrace", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/system", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/user", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/utils", - "Comment": "v1.0.0-rc2-49-gd223e2ad", + "Comment": "v1.0.0-rc2-49-gd223e2a", "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { @@ -2293,107 +2293,107 @@ }, { "ImportPath": "github.com/rackspace/gophercloud", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/openstack", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/openstack/blockstorage/v1/volumes", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/extensions/bootfromvolume", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/extensions/diskconfig", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/extensions/volumeattach", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/flavors", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/images", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/openstack/compute/v2/servers", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/openstack/identity/v2/tenants", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/openstack/identity/v2/tokens", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/openstack/identity/v3/tokens", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/openstack/utils", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/pagination", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/rackspace", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/rackspace/blockstorage/v1/volumes", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/rackspace/compute/v2/servers", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/rackspace/compute/v2/volumeattach", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/rackspace/identity/v2/tokens", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/testhelper", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { "ImportPath": "github.com/rackspace/gophercloud/testhelper/client", - "Comment": "v1.0.0-1012-ge00690e8", + "Comment": "v1.0.0-1012-ge00690e", "Rev": "e00690e87603abe613e9f02c816c7c4bef82e063" }, { @@ -2640,6 +2640,7 @@ }, { "ImportPath": "github.com/xiang90/probing", + "Comment": "0.0.1", "Rev": "07dd2e8dfe18522e9c447ba95f2fe95262f63bb2" }, { @@ -2989,43 +2990,43 @@ }, { "ImportPath": "k8s.io/gengo/args", - "Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" + "Rev": "9e661e9308f078838e266cca1c673922088c0ea4" }, { "ImportPath": "k8s.io/gengo/examples/deepcopy-gen/generators", - "Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" + "Rev": "9e661e9308f078838e266cca1c673922088c0ea4" }, { "ImportPath": "k8s.io/gengo/examples/defaulter-gen/generators", - "Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" + "Rev": "9e661e9308f078838e266cca1c673922088c0ea4" }, { "ImportPath": "k8s.io/gengo/examples/import-boss/generators", - "Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" + "Rev": "9e661e9308f078838e266cca1c673922088c0ea4" }, { "ImportPath": "k8s.io/gengo/examples/set-gen/generators", - "Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" + "Rev": "9e661e9308f078838e266cca1c673922088c0ea4" }, { "ImportPath": "k8s.io/gengo/examples/set-gen/sets", - "Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" + "Rev": "9e661e9308f078838e266cca1c673922088c0ea4" }, { "ImportPath": "k8s.io/gengo/generator", - "Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" + "Rev": "9e661e9308f078838e266cca1c673922088c0ea4" }, { "ImportPath": "k8s.io/gengo/namer", - "Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" + "Rev": "9e661e9308f078838e266cca1c673922088c0ea4" }, { "ImportPath": "k8s.io/gengo/parser", - "Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" + "Rev": "9e661e9308f078838e266cca1c673922088c0ea4" }, { "ImportPath": "k8s.io/gengo/types", - "Rev": "712a17394a0980fabbcf3d968972e185d80c0fa4" + "Rev": "9e661e9308f078838e266cca1c673922088c0ea4" }, { "ImportPath": "k8s.io/heapster/metrics/api/v1/types", diff --git a/cmd/kubeadm/app/apis/kubeadm/v1alpha1/zz_generated.deepcopy.go b/cmd/kubeadm/app/apis/kubeadm/v1alpha1/zz_generated.deepcopy.go index 64666a265a8..a0729a9a613 100644 --- a/cmd/kubeadm/app/apis/kubeadm/v1alpha1/zz_generated.deepcopy.go +++ b/cmd/kubeadm/app/apis/kubeadm/v1alpha1/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -62,13 +64,13 @@ func (in *API) DeepCopyInto(out *API) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new API. -func (x *API) DeepCopy() *API { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new API. +func (in *API) DeepCopy() *API { + if in == nil { return nil } out := new(API) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -90,13 +92,13 @@ func (in *Etcd) DeepCopyInto(out *Etcd) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Etcd. -func (x *Etcd) DeepCopy() *Etcd { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Etcd. +func (in *Etcd) DeepCopy() *Etcd { + if in == nil { return nil } out := new(Etcd) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -141,19 +143,19 @@ func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MasterConfiguration. -func (x *MasterConfiguration) DeepCopy() *MasterConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterConfiguration. +func (in *MasterConfiguration) DeepCopy() *MasterConfiguration { + if in == nil { return nil } out := new(MasterConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *MasterConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *MasterConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -166,13 +168,13 @@ func (in *Networking) DeepCopyInto(out *Networking) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Networking. -func (x *Networking) DeepCopy() *Networking { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networking. +func (in *Networking) DeepCopy() *Networking { + if in == nil { return nil } out := new(Networking) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -188,19 +190,19 @@ func (in *NodeConfiguration) DeepCopyInto(out *NodeConfiguration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration. -func (x *NodeConfiguration) DeepCopy() *NodeConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration. +func (in *NodeConfiguration) DeepCopy() *NodeConfiguration { + if in == nil { return nil } out := new(NodeConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NodeConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NodeConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -218,12 +220,12 @@ func (in *TokenDiscovery) DeepCopyInto(out *TokenDiscovery) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenDiscovery. -func (x *TokenDiscovery) DeepCopy() *TokenDiscovery { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenDiscovery. +func (in *TokenDiscovery) DeepCopy() *TokenDiscovery { + if in == nil { return nil } out := new(TokenDiscovery) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go b/cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go index 68eef052fd3..f65dc4e354c 100644 --- a/cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go +++ b/cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -68,13 +69,13 @@ func (in *API) DeepCopyInto(out *API) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new API. -func (x *API) DeepCopy() *API { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new API. +func (in *API) DeepCopy() *API { + if in == nil { return nil } out := new(API) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -96,13 +97,13 @@ func (in *Etcd) DeepCopyInto(out *Etcd) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Etcd. -func (x *Etcd) DeepCopy() *Etcd { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Etcd. +func (in *Etcd) DeepCopy() *Etcd { + if in == nil { return nil } out := new(Etcd) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -147,19 +148,19 @@ func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MasterConfiguration. -func (x *MasterConfiguration) DeepCopy() *MasterConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterConfiguration. +func (in *MasterConfiguration) DeepCopy() *MasterConfiguration { + if in == nil { return nil } out := new(MasterConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *MasterConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *MasterConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -172,13 +173,13 @@ func (in *Networking) DeepCopyInto(out *Networking) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Networking. -func (x *Networking) DeepCopy() *Networking { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networking. +func (in *Networking) DeepCopy() *Networking { + if in == nil { return nil } out := new(Networking) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -194,19 +195,19 @@ func (in *NodeConfiguration) DeepCopyInto(out *NodeConfiguration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration. -func (x *NodeConfiguration) DeepCopy() *NodeConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration. +func (in *NodeConfiguration) DeepCopy() *NodeConfiguration { + if in == nil { return nil } out := new(NodeConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NodeConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NodeConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -224,12 +225,12 @@ func (in *TokenDiscovery) DeepCopyInto(out *TokenDiscovery) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenDiscovery. -func (x *TokenDiscovery) DeepCopy() *TokenDiscovery { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenDiscovery. +func (in *TokenDiscovery) DeepCopy() *TokenDiscovery { + if in == nil { return nil } out := new(TokenDiscovery) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/federation/apis/federation/v1beta1/zz_generated.deepcopy.go b/federation/apis/federation/v1beta1/zz_generated.deepcopy.go index 0a2a2484ffd..716b3af29f2 100644 --- a/federation/apis/federation/v1beta1/zz_generated.deepcopy.go +++ b/federation/apis/federation/v1beta1/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -77,19 +78,19 @@ func (in *Cluster) DeepCopyInto(out *Cluster) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. -func (x *Cluster) DeepCopy() *Cluster { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. +func (in *Cluster) DeepCopy() *Cluster { + if in == nil { return nil } out := new(Cluster) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Cluster) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Cluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -104,13 +105,13 @@ func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition. -func (x *ClusterCondition) DeepCopy() *ClusterCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition. +func (in *ClusterCondition) DeepCopy() *ClusterCondition { + if in == nil { return nil } out := new(ClusterCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -129,19 +130,19 @@ func (in *ClusterList) DeepCopyInto(out *ClusterList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. -func (x *ClusterList) DeepCopy() *ClusterList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. +func (in *ClusterList) DeepCopy() *ClusterList { + if in == nil { return nil } out := new(ClusterList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -159,13 +160,13 @@ func (in *ClusterSelectorRequirement) DeepCopyInto(out *ClusterSelectorRequireme return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSelectorRequirement. -func (x *ClusterSelectorRequirement) DeepCopy() *ClusterSelectorRequirement { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSelectorRequirement. +func (in *ClusterSelectorRequirement) DeepCopy() *ClusterSelectorRequirement { + if in == nil { return nil } out := new(ClusterSelectorRequirement) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -189,13 +190,13 @@ func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. -func (x *ClusterSpec) DeepCopy() *ClusterSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. +func (in *ClusterSpec) DeepCopy() *ClusterSpec { + if in == nil { return nil } out := new(ClusterSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -217,13 +218,13 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. -func (x *ClusterStatus) DeepCopy() *ClusterStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. +func (in *ClusterStatus) DeepCopy() *ClusterStatus { + if in == nil { return nil } out := new(ClusterStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -233,12 +234,12 @@ func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR. -func (x *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR. +func (in *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR { + if in == nil { return nil } out := new(ServerAddressByClientCIDR) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/federation/apis/federation/zz_generated.deepcopy.go b/federation/apis/federation/zz_generated.deepcopy.go index b03f039509c..a944361d962 100644 --- a/federation/apis/federation/zz_generated.deepcopy.go +++ b/federation/apis/federation/zz_generated.deepcopy.go @@ -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 { @@ -90,19 +91,19 @@ func (in *Cluster) DeepCopyInto(out *Cluster) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. -func (x *Cluster) DeepCopy() *Cluster { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. +func (in *Cluster) DeepCopy() *Cluster { + if in == nil { return nil } out := new(Cluster) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Cluster) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Cluster) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -117,13 +118,13 @@ func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition. -func (x *ClusterCondition) DeepCopy() *ClusterCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition. +func (in *ClusterCondition) DeepCopy() *ClusterCondition { + if in == nil { return nil } out := new(ClusterCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -142,19 +143,19 @@ func (in *ClusterList) DeepCopyInto(out *ClusterList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. -func (x *ClusterList) DeepCopy() *ClusterList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. +func (in *ClusterList) DeepCopy() *ClusterList { + if in == nil { return nil } out := new(ClusterList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -176,13 +177,13 @@ func (in *ClusterPreferences) DeepCopyInto(out *ClusterPreferences) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPreferences. -func (x *ClusterPreferences) DeepCopy() *ClusterPreferences { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPreferences. +func (in *ClusterPreferences) DeepCopy() *ClusterPreferences { + if in == nil { return nil } out := new(ClusterPreferences) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -197,13 +198,13 @@ func (in *ClusterServiceIngress) DeepCopyInto(out *ClusterServiceIngress) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceIngress. -func (x *ClusterServiceIngress) DeepCopy() *ClusterServiceIngress { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceIngress. +func (in *ClusterServiceIngress) DeepCopy() *ClusterServiceIngress { + if in == nil { return nil } out := new(ClusterServiceIngress) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -227,13 +228,13 @@ func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. -func (x *ClusterSpec) DeepCopy() *ClusterSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. +func (in *ClusterSpec) DeepCopy() *ClusterSpec { + if in == nil { return nil } out := new(ClusterSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -255,13 +256,13 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. -func (x *ClusterStatus) DeepCopy() *ClusterStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. +func (in *ClusterStatus) DeepCopy() *ClusterStatus { + if in == nil { return nil } out := new(ClusterStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -278,13 +279,13 @@ func (in *FederatedServiceIngress) DeepCopyInto(out *FederatedServiceIngress) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServiceIngress. -func (x *FederatedServiceIngress) DeepCopy() *FederatedServiceIngress { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServiceIngress. +func (in *FederatedServiceIngress) DeepCopy() *FederatedServiceIngress { + if in == nil { return nil } out := new(FederatedServiceIngress) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -303,13 +304,13 @@ func (in *ReplicaAllocationPreferences) DeepCopyInto(out *ReplicaAllocationPrefe return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaAllocationPreferences. -func (x *ReplicaAllocationPreferences) DeepCopy() *ReplicaAllocationPreferences { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaAllocationPreferences. +func (in *ReplicaAllocationPreferences) DeepCopy() *ReplicaAllocationPreferences { + if in == nil { return nil } out := new(ReplicaAllocationPreferences) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -319,12 +320,12 @@ func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR. -func (x *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR. +func (in *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR { + if in == nil { return nil } out := new(ServerAddressByClientCIDR) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/api/zz_generated.deepcopy.go b/pkg/api/zz_generated.deepcopy.go index c1ab6631d7b..1463f72fdeb 100644 --- a/pkg/api/zz_generated.deepcopy.go +++ b/pkg/api/zz_generated.deepcopy.go @@ -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 { @@ -730,13 +731,13 @@ func (in *AWSElasticBlockStoreVolumeSource) DeepCopyInto(out *AWSElasticBlockSto return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSource. -func (x *AWSElasticBlockStoreVolumeSource) DeepCopy() *AWSElasticBlockStoreVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSource. +func (in *AWSElasticBlockStoreVolumeSource) DeepCopy() *AWSElasticBlockStoreVolumeSource { + if in == nil { return nil } out := new(AWSElasticBlockStoreVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -773,13 +774,13 @@ func (in *Affinity) DeepCopyInto(out *Affinity) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Affinity. -func (x *Affinity) DeepCopy() *Affinity { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Affinity. +func (in *Affinity) DeepCopy() *Affinity { + if in == nil { return nil } out := new(Affinity) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -789,13 +790,13 @@ func (in *AttachedVolume) DeepCopyInto(out *AttachedVolume) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AttachedVolume. -func (x *AttachedVolume) DeepCopy() *AttachedVolume { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedVolume. +func (in *AttachedVolume) DeepCopy() *AttachedVolume { + if in == nil { return nil } out := new(AttachedVolume) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -812,13 +813,13 @@ func (in *AvoidPods) DeepCopyInto(out *AvoidPods) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AvoidPods. -func (x *AvoidPods) DeepCopy() *AvoidPods { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvoidPods. +func (in *AvoidPods) DeepCopy() *AvoidPods { + if in == nil { return nil } out := new(AvoidPods) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -864,13 +865,13 @@ func (in *AzureDiskVolumeSource) DeepCopyInto(out *AzureDiskVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AzureDiskVolumeSource. -func (x *AzureDiskVolumeSource) DeepCopy() *AzureDiskVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureDiskVolumeSource. +func (in *AzureDiskVolumeSource) DeepCopy() *AzureDiskVolumeSource { + if in == nil { return nil } out := new(AzureDiskVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -880,13 +881,13 @@ func (in *AzureFileVolumeSource) DeepCopyInto(out *AzureFileVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AzureFileVolumeSource. -func (x *AzureFileVolumeSource) DeepCopy() *AzureFileVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFileVolumeSource. +func (in *AzureFileVolumeSource) DeepCopy() *AzureFileVolumeSource { + if in == nil { return nil } out := new(AzureFileVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -899,19 +900,19 @@ func (in *Binding) DeepCopyInto(out *Binding) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Binding. -func (x *Binding) DeepCopy() *Binding { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding. +func (in *Binding) DeepCopy() *Binding { + if in == nil { return nil } out := new(Binding) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Binding) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Binding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -934,13 +935,13 @@ func (in *Capabilities) DeepCopyInto(out *Capabilities) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Capabilities. -func (x *Capabilities) DeepCopy() *Capabilities { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capabilities. +func (in *Capabilities) DeepCopy() *Capabilities { + if in == nil { return nil } out := new(Capabilities) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -964,13 +965,13 @@ func (in *CephFSVolumeSource) DeepCopyInto(out *CephFSVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CephFSVolumeSource. -func (x *CephFSVolumeSource) DeepCopy() *CephFSVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSVolumeSource. +func (in *CephFSVolumeSource) DeepCopy() *CephFSVolumeSource { + if in == nil { return nil } out := new(CephFSVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -980,13 +981,13 @@ func (in *CinderVolumeSource) DeepCopyInto(out *CinderVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CinderVolumeSource. -func (x *CinderVolumeSource) DeepCopy() *CinderVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderVolumeSource. +func (in *CinderVolumeSource) DeepCopy() *CinderVolumeSource { + if in == nil { return nil } out := new(CinderVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -996,13 +997,13 @@ func (in *ComponentCondition) DeepCopyInto(out *ComponentCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ComponentCondition. -func (x *ComponentCondition) DeepCopy() *ComponentCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentCondition. +func (in *ComponentCondition) DeepCopy() *ComponentCondition { + if in == nil { return nil } out := new(ComponentCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1019,19 +1020,19 @@ func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus. -func (x *ComponentStatus) DeepCopy() *ComponentStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus. +func (in *ComponentStatus) DeepCopy() *ComponentStatus { + if in == nil { return nil } out := new(ComponentStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ComponentStatus) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ComponentStatus) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1053,19 +1054,19 @@ func (in *ComponentStatusList) DeepCopyInto(out *ComponentStatusList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatusList. -func (x *ComponentStatusList) DeepCopy() *ComponentStatusList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatusList. +func (in *ComponentStatusList) DeepCopy() *ComponentStatusList { + if in == nil { return nil } out := new(ComponentStatusList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ComponentStatusList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ComponentStatusList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1087,19 +1088,19 @@ func (in *ConfigMap) DeepCopyInto(out *ConfigMap) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap. -func (x *ConfigMap) DeepCopy() *ConfigMap { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap. +func (in *ConfigMap) DeepCopy() *ConfigMap { + if in == nil { return nil } out := new(ConfigMap) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ConfigMap) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ConfigMap) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1122,13 +1123,13 @@ func (in *ConfigMapEnvSource) DeepCopyInto(out *ConfigMapEnvSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapEnvSource. -func (x *ConfigMapEnvSource) DeepCopy() *ConfigMapEnvSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapEnvSource. +func (in *ConfigMapEnvSource) DeepCopy() *ConfigMapEnvSource { + if in == nil { return nil } out := new(ConfigMapEnvSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1148,13 +1149,13 @@ func (in *ConfigMapKeySelector) DeepCopyInto(out *ConfigMapKeySelector) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeySelector. -func (x *ConfigMapKeySelector) DeepCopy() *ConfigMapKeySelector { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeySelector. +func (in *ConfigMapKeySelector) DeepCopy() *ConfigMapKeySelector { + if in == nil { return nil } out := new(ConfigMapKeySelector) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1173,19 +1174,19 @@ func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList. -func (x *ConfigMapList) DeepCopy() *ConfigMapList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList. +func (in *ConfigMapList) DeepCopy() *ConfigMapList { + if in == nil { return nil } out := new(ConfigMapList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ConfigMapList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ConfigMapList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1215,13 +1216,13 @@ func (in *ConfigMapProjection) DeepCopyInto(out *ConfigMapProjection) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapProjection. -func (x *ConfigMapProjection) DeepCopy() *ConfigMapProjection { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapProjection. +func (in *ConfigMapProjection) DeepCopy() *ConfigMapProjection { + if in == nil { return nil } out := new(ConfigMapProjection) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1257,13 +1258,13 @@ func (in *ConfigMapVolumeSource) DeepCopyInto(out *ConfigMapVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapVolumeSource. -func (x *ConfigMapVolumeSource) DeepCopy() *ConfigMapVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapVolumeSource. +func (in *ConfigMapVolumeSource) DeepCopy() *ConfigMapVolumeSource { + if in == nil { return nil } out := new(ConfigMapVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1344,13 +1345,13 @@ func (in *Container) DeepCopyInto(out *Container) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Container. -func (x *Container) DeepCopy() *Container { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container. +func (in *Container) DeepCopy() *Container { + if in == nil { return nil } out := new(Container) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1365,13 +1366,13 @@ func (in *ContainerImage) DeepCopyInto(out *ContainerImage) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage. -func (x *ContainerImage) DeepCopy() *ContainerImage { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage. +func (in *ContainerImage) DeepCopy() *ContainerImage { + if in == nil { return nil } out := new(ContainerImage) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1381,13 +1382,13 @@ func (in *ContainerPort) DeepCopyInto(out *ContainerPort) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPort. -func (x *ContainerPort) DeepCopy() *ContainerPort { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPort. +func (in *ContainerPort) DeepCopy() *ContainerPort { + if in == nil { return nil } out := new(ContainerPort) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1424,13 +1425,13 @@ func (in *ContainerState) DeepCopyInto(out *ContainerState) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerState. -func (x *ContainerState) DeepCopy() *ContainerState { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerState. +func (in *ContainerState) DeepCopy() *ContainerState { + if in == nil { return nil } out := new(ContainerState) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1441,13 +1442,13 @@ func (in *ContainerStateRunning) DeepCopyInto(out *ContainerStateRunning) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning. -func (x *ContainerStateRunning) DeepCopy() *ContainerStateRunning { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning. +func (in *ContainerStateRunning) DeepCopy() *ContainerStateRunning { + if in == nil { return nil } out := new(ContainerStateRunning) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1459,13 +1460,13 @@ func (in *ContainerStateTerminated) DeepCopyInto(out *ContainerStateTerminated) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateTerminated. -func (x *ContainerStateTerminated) DeepCopy() *ContainerStateTerminated { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateTerminated. +func (in *ContainerStateTerminated) DeepCopy() *ContainerStateTerminated { + if in == nil { return nil } out := new(ContainerStateTerminated) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1475,13 +1476,13 @@ func (in *ContainerStateWaiting) DeepCopyInto(out *ContainerStateWaiting) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateWaiting. -func (x *ContainerStateWaiting) DeepCopy() *ContainerStateWaiting { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateWaiting. +func (in *ContainerStateWaiting) DeepCopy() *ContainerStateWaiting { + if in == nil { return nil } out := new(ContainerStateWaiting) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1493,13 +1494,13 @@ func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus. -func (x *ContainerStatus) DeepCopy() *ContainerStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus. +func (in *ContainerStatus) DeepCopy() *ContainerStatus { + if in == nil { return nil } out := new(ContainerStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1509,13 +1510,13 @@ func (in *DaemonEndpoint) DeepCopyInto(out *DaemonEndpoint) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonEndpoint. -func (x *DaemonEndpoint) DeepCopy() *DaemonEndpoint { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonEndpoint. +func (in *DaemonEndpoint) DeepCopy() *DaemonEndpoint { + if in == nil { return nil } out := new(DaemonEndpoint) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1562,19 +1563,19 @@ func (in *DeleteOptions) DeepCopyInto(out *DeleteOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeleteOptions. -func (x *DeleteOptions) DeepCopy() *DeleteOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteOptions. +func (in *DeleteOptions) DeepCopy() *DeleteOptions { + if in == nil { return nil } out := new(DeleteOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DeleteOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DeleteOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1594,13 +1595,13 @@ func (in *DownwardAPIProjection) DeepCopyInto(out *DownwardAPIProjection) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIProjection. -func (x *DownwardAPIProjection) DeepCopy() *DownwardAPIProjection { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIProjection. +func (in *DownwardAPIProjection) DeepCopy() *DownwardAPIProjection { + if in == nil { return nil } out := new(DownwardAPIProjection) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1637,13 +1638,13 @@ func (in *DownwardAPIVolumeFile) DeepCopyInto(out *DownwardAPIVolumeFile) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeFile. -func (x *DownwardAPIVolumeFile) DeepCopy() *DownwardAPIVolumeFile { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeFile. +func (in *DownwardAPIVolumeFile) DeepCopy() *DownwardAPIVolumeFile { + if in == nil { return nil } out := new(DownwardAPIVolumeFile) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1669,13 +1670,13 @@ func (in *DownwardAPIVolumeSource) DeepCopyInto(out *DownwardAPIVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeSource. -func (x *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeSource. +func (in *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource { + if in == nil { return nil } out := new(DownwardAPIVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1686,13 +1687,13 @@ func (in *EmptyDirVolumeSource) DeepCopyInto(out *EmptyDirVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDirVolumeSource. -func (x *EmptyDirVolumeSource) DeepCopy() *EmptyDirVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDirVolumeSource. +func (in *EmptyDirVolumeSource) DeepCopy() *EmptyDirVolumeSource { + if in == nil { return nil } out := new(EmptyDirVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1720,13 +1721,13 @@ func (in *EndpointAddress) DeepCopyInto(out *EndpointAddress) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAddress. -func (x *EndpointAddress) DeepCopy() *EndpointAddress { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAddress. +func (in *EndpointAddress) DeepCopy() *EndpointAddress { + if in == nil { return nil } out := new(EndpointAddress) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1736,13 +1737,13 @@ func (in *EndpointPort) DeepCopyInto(out *EndpointPort) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort. -func (x *EndpointPort) DeepCopy() *EndpointPort { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort. +func (in *EndpointPort) DeepCopy() *EndpointPort { + if in == nil { return nil } out := new(EndpointPort) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1771,13 +1772,13 @@ func (in *EndpointSubset) DeepCopyInto(out *EndpointSubset) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubset. -func (x *EndpointSubset) DeepCopy() *EndpointSubset { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubset. +func (in *EndpointSubset) DeepCopy() *EndpointSubset { + if in == nil { return nil } out := new(EndpointSubset) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1796,19 +1797,19 @@ func (in *Endpoints) DeepCopyInto(out *Endpoints) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Endpoints. -func (x *Endpoints) DeepCopy() *Endpoints { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoints. +func (in *Endpoints) DeepCopy() *Endpoints { + if in == nil { return nil } out := new(Endpoints) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Endpoints) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Endpoints) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1830,19 +1831,19 @@ func (in *EndpointsList) DeepCopyInto(out *EndpointsList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EndpointsList. -func (x *EndpointsList) DeepCopy() *EndpointsList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointsList. +func (in *EndpointsList) DeepCopy() *EndpointsList { + if in == nil { return nil } out := new(EndpointsList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *EndpointsList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *EndpointsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1873,13 +1874,13 @@ func (in *EnvFromSource) DeepCopyInto(out *EnvFromSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EnvFromSource. -func (x *EnvFromSource) DeepCopy() *EnvFromSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvFromSource. +func (in *EnvFromSource) DeepCopy() *EnvFromSource { + if in == nil { return nil } out := new(EnvFromSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1898,13 +1899,13 @@ func (in *EnvVar) DeepCopyInto(out *EnvVar) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar. -func (x *EnvVar) DeepCopy() *EnvVar { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar. +func (in *EnvVar) DeepCopy() *EnvVar { + if in == nil { return nil } out := new(EnvVar) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1950,13 +1951,13 @@ func (in *EnvVarSource) DeepCopyInto(out *EnvVarSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarSource. -func (x *EnvVarSource) DeepCopy() *EnvVarSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarSource. +func (in *EnvVarSource) DeepCopy() *EnvVarSource { + if in == nil { return nil } out := new(EnvVarSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1972,19 +1973,19 @@ func (in *Event) DeepCopyInto(out *Event) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Event. -func (x *Event) DeepCopy() *Event { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event. +func (in *Event) DeepCopy() *Event { + if in == nil { return nil } out := new(Event) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Event) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Event) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2006,19 +2007,19 @@ func (in *EventList) DeepCopyInto(out *EventList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EventList. -func (x *EventList) DeepCopy() *EventList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList. +func (in *EventList) DeepCopy() *EventList { + if in == nil { return nil } out := new(EventList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *EventList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *EventList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2031,13 +2032,13 @@ func (in *EventSource) DeepCopyInto(out *EventSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EventSource. -func (x *EventSource) DeepCopy() *EventSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSource. +func (in *EventSource) DeepCopy() *EventSource { + if in == nil { return nil } out := new(EventSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2052,13 +2053,13 @@ func (in *ExecAction) DeepCopyInto(out *ExecAction) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction. -func (x *ExecAction) DeepCopy() *ExecAction { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction. +func (in *ExecAction) DeepCopy() *ExecAction { + if in == nil { return nil } out := new(ExecAction) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2082,13 +2083,13 @@ func (in *FCVolumeSource) DeepCopyInto(out *FCVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FCVolumeSource. -func (x *FCVolumeSource) DeepCopy() *FCVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FCVolumeSource. +func (in *FCVolumeSource) DeepCopy() *FCVolumeSource { + if in == nil { return nil } out := new(FCVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2114,13 +2115,13 @@ func (in *FlexVolumeSource) DeepCopyInto(out *FlexVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlexVolumeSource. -func (x *FlexVolumeSource) DeepCopy() *FlexVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexVolumeSource. +func (in *FlexVolumeSource) DeepCopy() *FlexVolumeSource { + if in == nil { return nil } out := new(FlexVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2130,13 +2131,13 @@ func (in *FlockerVolumeSource) DeepCopyInto(out *FlockerVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlockerVolumeSource. -func (x *FlockerVolumeSource) DeepCopy() *FlockerVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlockerVolumeSource. +func (in *FlockerVolumeSource) DeepCopy() *FlockerVolumeSource { + if in == nil { return nil } out := new(FlockerVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2146,13 +2147,13 @@ func (in *GCEPersistentDiskVolumeSource) DeepCopyInto(out *GCEPersistentDiskVolu return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GCEPersistentDiskVolumeSource. -func (x *GCEPersistentDiskVolumeSource) DeepCopy() *GCEPersistentDiskVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCEPersistentDiskVolumeSource. +func (in *GCEPersistentDiskVolumeSource) DeepCopy() *GCEPersistentDiskVolumeSource { + if in == nil { return nil } out := new(GCEPersistentDiskVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2162,13 +2163,13 @@ func (in *GitRepoVolumeSource) DeepCopyInto(out *GitRepoVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoVolumeSource. -func (x *GitRepoVolumeSource) DeepCopy() *GitRepoVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoVolumeSource. +func (in *GitRepoVolumeSource) DeepCopy() *GitRepoVolumeSource { + if in == nil { return nil } out := new(GitRepoVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2178,13 +2179,13 @@ func (in *GlusterfsVolumeSource) DeepCopyInto(out *GlusterfsVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GlusterfsVolumeSource. -func (x *GlusterfsVolumeSource) DeepCopy() *GlusterfsVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlusterfsVolumeSource. +func (in *GlusterfsVolumeSource) DeepCopy() *GlusterfsVolumeSource { + if in == nil { return nil } out := new(GlusterfsVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2200,13 +2201,13 @@ func (in *HTTPGetAction) DeepCopyInto(out *HTTPGetAction) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HTTPGetAction. -func (x *HTTPGetAction) DeepCopy() *HTTPGetAction { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPGetAction. +func (in *HTTPGetAction) DeepCopy() *HTTPGetAction { + if in == nil { return nil } out := new(HTTPGetAction) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2216,13 +2217,13 @@ func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader. -func (x *HTTPHeader) DeepCopy() *HTTPHeader { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader. +func (in *HTTPHeader) DeepCopy() *HTTPHeader { + if in == nil { return nil } out := new(HTTPHeader) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2259,13 +2260,13 @@ func (in *Handler) DeepCopyInto(out *Handler) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Handler. -func (x *Handler) DeepCopy() *Handler { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Handler. +func (in *Handler) DeepCopy() *Handler { + if in == nil { return nil } out := new(Handler) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2280,13 +2281,13 @@ func (in *HostAlias) DeepCopyInto(out *HostAlias) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HostAlias. -func (x *HostAlias) DeepCopy() *HostAlias { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAlias. +func (in *HostAlias) DeepCopy() *HostAlias { + if in == nil { return nil } out := new(HostAlias) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2296,13 +2297,13 @@ func (in *HostPathVolumeSource) DeepCopyInto(out *HostPathVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HostPathVolumeSource. -func (x *HostPathVolumeSource) DeepCopy() *HostPathVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathVolumeSource. +func (in *HostPathVolumeSource) DeepCopy() *HostPathVolumeSource { + if in == nil { return nil } out := new(HostPathVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2326,13 +2327,13 @@ func (in *ISCSIVolumeSource) DeepCopyInto(out *ISCSIVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIVolumeSource. -func (x *ISCSIVolumeSource) DeepCopy() *ISCSIVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIVolumeSource. +func (in *ISCSIVolumeSource) DeepCopy() *ISCSIVolumeSource { + if in == nil { return nil } out := new(ISCSIVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2351,13 +2352,13 @@ func (in *KeyToPath) DeepCopyInto(out *KeyToPath) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KeyToPath. -func (x *KeyToPath) DeepCopy() *KeyToPath { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyToPath. +func (in *KeyToPath) DeepCopy() *KeyToPath { + if in == nil { return nil } out := new(KeyToPath) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2385,13 +2386,13 @@ func (in *Lifecycle) DeepCopyInto(out *Lifecycle) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle. -func (x *Lifecycle) DeepCopy() *Lifecycle { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle. +func (in *Lifecycle) DeepCopy() *Lifecycle { + if in == nil { return nil } out := new(Lifecycle) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2404,19 +2405,19 @@ func (in *LimitRange) DeepCopyInto(out *LimitRange) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitRange. -func (x *LimitRange) DeepCopy() *LimitRange { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRange. +func (in *LimitRange) DeepCopy() *LimitRange { + if in == nil { return nil } out := new(LimitRange) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *LimitRange) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *LimitRange) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2464,13 +2465,13 @@ func (in *LimitRangeItem) DeepCopyInto(out *LimitRangeItem) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeItem. -func (x *LimitRangeItem) DeepCopy() *LimitRangeItem { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeItem. +func (in *LimitRangeItem) DeepCopy() *LimitRangeItem { + if in == nil { return nil } out := new(LimitRangeItem) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2489,19 +2490,19 @@ func (in *LimitRangeList) DeepCopyInto(out *LimitRangeList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeList. -func (x *LimitRangeList) DeepCopy() *LimitRangeList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeList. +func (in *LimitRangeList) DeepCopy() *LimitRangeList { + if in == nil { return nil } out := new(LimitRangeList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *LimitRangeList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *LimitRangeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2521,13 +2522,13 @@ func (in *LimitRangeSpec) DeepCopyInto(out *LimitRangeSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeSpec. -func (x *LimitRangeSpec) DeepCopy() *LimitRangeSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeSpec. +func (in *LimitRangeSpec) DeepCopy() *LimitRangeSpec { + if in == nil { return nil } out := new(LimitRangeSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2550,19 +2551,19 @@ func (in *List) DeepCopyInto(out *List) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new List. -func (x *List) DeepCopy() *List { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List. +func (in *List) DeepCopy() *List { + if in == nil { return nil } out := new(List) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *List) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *List) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2595,19 +2596,19 @@ func (in *ListOptions) DeepCopyInto(out *ListOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions. -func (x *ListOptions) DeepCopy() *ListOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions. +func (in *ListOptions) DeepCopy() *ListOptions { + if in == nil { return nil } out := new(ListOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ListOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ListOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2620,13 +2621,13 @@ func (in *LoadBalancerIngress) DeepCopyInto(out *LoadBalancerIngress) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerIngress. -func (x *LoadBalancerIngress) DeepCopy() *LoadBalancerIngress { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerIngress. +func (in *LoadBalancerIngress) DeepCopy() *LoadBalancerIngress { + if in == nil { return nil } out := new(LoadBalancerIngress) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2641,13 +2642,13 @@ func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus. -func (x *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus. +func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus { + if in == nil { return nil } out := new(LoadBalancerStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2657,13 +2658,13 @@ func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference. -func (x *LocalObjectReference) DeepCopy() *LocalObjectReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference. +func (in *LocalObjectReference) DeepCopy() *LocalObjectReference { + if in == nil { return nil } out := new(LocalObjectReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2673,13 +2674,13 @@ func (in *LocalVolumeSource) DeepCopyInto(out *LocalVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LocalVolumeSource. -func (x *LocalVolumeSource) DeepCopy() *LocalVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalVolumeSource. +func (in *LocalVolumeSource) DeepCopy() *LocalVolumeSource { + if in == nil { return nil } out := new(LocalVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2689,13 +2690,13 @@ func (in *NFSVolumeSource) DeepCopyInto(out *NFSVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NFSVolumeSource. -func (x *NFSVolumeSource) DeepCopy() *NFSVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSVolumeSource. +func (in *NFSVolumeSource) DeepCopy() *NFSVolumeSource { + if in == nil { return nil } out := new(NFSVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2709,19 +2710,19 @@ func (in *Namespace) DeepCopyInto(out *Namespace) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. -func (x *Namespace) DeepCopy() *Namespace { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. +func (in *Namespace) DeepCopy() *Namespace { + if in == nil { return nil } out := new(Namespace) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Namespace) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Namespace) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2743,19 +2744,19 @@ func (in *NamespaceList) DeepCopyInto(out *NamespaceList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList. -func (x *NamespaceList) DeepCopy() *NamespaceList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList. +func (in *NamespaceList) DeepCopy() *NamespaceList { + if in == nil { return nil } out := new(NamespaceList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NamespaceList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NamespaceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2773,13 +2774,13 @@ func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec. -func (x *NamespaceSpec) DeepCopy() *NamespaceSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec. +func (in *NamespaceSpec) DeepCopy() *NamespaceSpec { + if in == nil { return nil } out := new(NamespaceSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2789,13 +2790,13 @@ func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus. -func (x *NamespaceStatus) DeepCopy() *NamespaceStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus. +func (in *NamespaceStatus) DeepCopy() *NamespaceStatus { + if in == nil { return nil } out := new(NamespaceStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2809,19 +2810,19 @@ func (in *Node) DeepCopyInto(out *Node) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Node. -func (x *Node) DeepCopy() *Node { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node. +func (in *Node) DeepCopy() *Node { + if in == nil { return nil } out := new(Node) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Node) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Node) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2834,13 +2835,13 @@ func (in *NodeAddress) DeepCopyInto(out *NodeAddress) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress. -func (x *NodeAddress) DeepCopy() *NodeAddress { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress. +func (in *NodeAddress) DeepCopy() *NodeAddress { + if in == nil { return nil } out := new(NodeAddress) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2866,13 +2867,13 @@ func (in *NodeAffinity) DeepCopyInto(out *NodeAffinity) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeAffinity. -func (x *NodeAffinity) DeepCopy() *NodeAffinity { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAffinity. +func (in *NodeAffinity) DeepCopy() *NodeAffinity { + if in == nil { return nil } out := new(NodeAffinity) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2884,13 +2885,13 @@ func (in *NodeCondition) DeepCopyInto(out *NodeCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeCondition. -func (x *NodeCondition) DeepCopy() *NodeCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCondition. +func (in *NodeCondition) DeepCopy() *NodeCondition { + if in == nil { return nil } out := new(NodeCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2901,13 +2902,13 @@ func (in *NodeDaemonEndpoints) DeepCopyInto(out *NodeDaemonEndpoints) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeDaemonEndpoints. -func (x *NodeDaemonEndpoints) DeepCopy() *NodeDaemonEndpoints { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeDaemonEndpoints. +func (in *NodeDaemonEndpoints) DeepCopy() *NodeDaemonEndpoints { + if in == nil { return nil } out := new(NodeDaemonEndpoints) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2926,19 +2927,19 @@ func (in *NodeList) DeepCopyInto(out *NodeList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeList. -func (x *NodeList) DeepCopy() *NodeList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList. +func (in *NodeList) DeepCopy() *NodeList { + if in == nil { return nil } out := new(NodeList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NodeList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NodeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2952,19 +2953,19 @@ func (in *NodeProxyOptions) DeepCopyInto(out *NodeProxyOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeProxyOptions. -func (x *NodeProxyOptions) DeepCopy() *NodeProxyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeProxyOptions. +func (in *NodeProxyOptions) DeepCopy() *NodeProxyOptions { + if in == nil { return nil } out := new(NodeProxyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NodeProxyOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NodeProxyOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2984,13 +2985,13 @@ func (in *NodeResources) DeepCopyInto(out *NodeResources) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeResources. -func (x *NodeResources) DeepCopy() *NodeResources { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResources. +func (in *NodeResources) DeepCopy() *NodeResources { + if in == nil { return nil } out := new(NodeResources) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3007,13 +3008,13 @@ func (in *NodeSelector) DeepCopyInto(out *NodeSelector) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelector. -func (x *NodeSelector) DeepCopy() *NodeSelector { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelector. +func (in *NodeSelector) DeepCopy() *NodeSelector { + if in == nil { return nil } out := new(NodeSelector) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3028,13 +3029,13 @@ func (in *NodeSelectorRequirement) DeepCopyInto(out *NodeSelectorRequirement) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorRequirement. -func (x *NodeSelectorRequirement) DeepCopy() *NodeSelectorRequirement { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorRequirement. +func (in *NodeSelectorRequirement) DeepCopy() *NodeSelectorRequirement { + if in == nil { return nil } out := new(NodeSelectorRequirement) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3051,13 +3052,13 @@ func (in *NodeSelectorTerm) DeepCopyInto(out *NodeSelectorTerm) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorTerm. -func (x *NodeSelectorTerm) DeepCopy() *NodeSelectorTerm { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorTerm. +func (in *NodeSelectorTerm) DeepCopy() *NodeSelectorTerm { + if in == nil { return nil } out := new(NodeSelectorTerm) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3074,13 +3075,13 @@ func (in *NodeSpec) DeepCopyInto(out *NodeSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec. -func (x *NodeSpec) DeepCopy() *NodeSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec. +func (in *NodeSpec) DeepCopy() *NodeSpec { + if in == nil { return nil } out := new(NodeSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3135,13 +3136,13 @@ func (in *NodeStatus) DeepCopyInto(out *NodeStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus. -func (x *NodeStatus) DeepCopy() *NodeStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus. +func (in *NodeStatus) DeepCopy() *NodeStatus { + if in == nil { return nil } out := new(NodeStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3151,13 +3152,13 @@ func (in *NodeSystemInfo) DeepCopyInto(out *NodeSystemInfo) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeSystemInfo. -func (x *NodeSystemInfo) DeepCopy() *NodeSystemInfo { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSystemInfo. +func (in *NodeSystemInfo) DeepCopy() *NodeSystemInfo { + if in == nil { return nil } out := new(NodeSystemInfo) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3167,13 +3168,13 @@ func (in *ObjectFieldSelector) DeepCopyInto(out *ObjectFieldSelector) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectFieldSelector. -func (x *ObjectFieldSelector) DeepCopy() *ObjectFieldSelector { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectFieldSelector. +func (in *ObjectFieldSelector) DeepCopy() *ObjectFieldSelector { + if in == nil { return nil } out := new(ObjectFieldSelector) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3237,13 +3238,13 @@ func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta. -func (x *ObjectMeta) DeepCopy() *ObjectMeta { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta. +func (in *ObjectMeta) DeepCopy() *ObjectMeta { + if in == nil { return nil } out := new(ObjectMeta) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3253,19 +3254,19 @@ func (in *ObjectReference) DeepCopyInto(out *ObjectReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. -func (x *ObjectReference) DeepCopy() *ObjectReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. +func (in *ObjectReference) DeepCopy() *ObjectReference { + if in == nil { return nil } out := new(ObjectReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ObjectReference) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ObjectReference) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3282,19 +3283,19 @@ func (in *PersistentVolume) DeepCopyInto(out *PersistentVolume) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolume. -func (x *PersistentVolume) DeepCopy() *PersistentVolume { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolume. +func (in *PersistentVolume) DeepCopy() *PersistentVolume { + if in == nil { return nil } out := new(PersistentVolume) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PersistentVolume) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PersistentVolume) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3311,19 +3312,19 @@ func (in *PersistentVolumeClaim) DeepCopyInto(out *PersistentVolumeClaim) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaim. -func (x *PersistentVolumeClaim) DeepCopy() *PersistentVolumeClaim { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaim. +func (in *PersistentVolumeClaim) DeepCopy() *PersistentVolumeClaim { + if in == nil { return nil } out := new(PersistentVolumeClaim) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PersistentVolumeClaim) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PersistentVolumeClaim) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3345,19 +3346,19 @@ func (in *PersistentVolumeClaimList) DeepCopyInto(out *PersistentVolumeClaimList return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimList. -func (x *PersistentVolumeClaimList) DeepCopy() *PersistentVolumeClaimList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimList. +func (in *PersistentVolumeClaimList) DeepCopy() *PersistentVolumeClaimList { + if in == nil { return nil } out := new(PersistentVolumeClaimList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PersistentVolumeClaimList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PersistentVolumeClaimList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3394,13 +3395,13 @@ func (in *PersistentVolumeClaimSpec) DeepCopyInto(out *PersistentVolumeClaimSpec return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimSpec. -func (x *PersistentVolumeClaimSpec) DeepCopy() *PersistentVolumeClaimSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimSpec. +func (in *PersistentVolumeClaimSpec) DeepCopy() *PersistentVolumeClaimSpec { + if in == nil { return nil } out := new(PersistentVolumeClaimSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3422,13 +3423,13 @@ func (in *PersistentVolumeClaimStatus) DeepCopyInto(out *PersistentVolumeClaimSt return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimStatus. -func (x *PersistentVolumeClaimStatus) DeepCopy() *PersistentVolumeClaimStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimStatus. +func (in *PersistentVolumeClaimStatus) DeepCopy() *PersistentVolumeClaimStatus { + if in == nil { return nil } out := new(PersistentVolumeClaimStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3438,13 +3439,13 @@ func (in *PersistentVolumeClaimVolumeSource) DeepCopyInto(out *PersistentVolumeC return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimVolumeSource. -func (x *PersistentVolumeClaimVolumeSource) DeepCopy() *PersistentVolumeClaimVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimVolumeSource. +func (in *PersistentVolumeClaimVolumeSource) DeepCopy() *PersistentVolumeClaimVolumeSource { + if in == nil { return nil } out := new(PersistentVolumeClaimVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3463,19 +3464,19 @@ func (in *PersistentVolumeList) DeepCopyInto(out *PersistentVolumeList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeList. -func (x *PersistentVolumeList) DeepCopy() *PersistentVolumeList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeList. +func (in *PersistentVolumeList) DeepCopy() *PersistentVolumeList { + if in == nil { return nil } out := new(PersistentVolumeList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PersistentVolumeList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PersistentVolumeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3677,13 +3678,13 @@ func (in *PersistentVolumeSource) DeepCopyInto(out *PersistentVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSource. -func (x *PersistentVolumeSource) DeepCopy() *PersistentVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSource. +func (in *PersistentVolumeSource) DeepCopy() *PersistentVolumeSource { + if in == nil { return nil } out := new(PersistentVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3715,13 +3716,13 @@ func (in *PersistentVolumeSpec) DeepCopyInto(out *PersistentVolumeSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSpec. -func (x *PersistentVolumeSpec) DeepCopy() *PersistentVolumeSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSpec. +func (in *PersistentVolumeSpec) DeepCopy() *PersistentVolumeSpec { + if in == nil { return nil } out := new(PersistentVolumeSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3731,13 +3732,13 @@ func (in *PersistentVolumeStatus) DeepCopyInto(out *PersistentVolumeStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeStatus. -func (x *PersistentVolumeStatus) DeepCopy() *PersistentVolumeStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeStatus. +func (in *PersistentVolumeStatus) DeepCopy() *PersistentVolumeStatus { + if in == nil { return nil } out := new(PersistentVolumeStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3747,13 +3748,13 @@ func (in *PhotonPersistentDiskVolumeSource) DeepCopyInto(out *PhotonPersistentDi return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PhotonPersistentDiskVolumeSource. -func (x *PhotonPersistentDiskVolumeSource) DeepCopy() *PhotonPersistentDiskVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhotonPersistentDiskVolumeSource. +func (in *PhotonPersistentDiskVolumeSource) DeepCopy() *PhotonPersistentDiskVolumeSource { + if in == nil { return nil } out := new(PhotonPersistentDiskVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3767,19 +3768,19 @@ func (in *Pod) DeepCopyInto(out *Pod) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Pod. -func (x *Pod) DeepCopy() *Pod { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod. +func (in *Pod) DeepCopy() *Pod { + if in == nil { return nil } out := new(Pod) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Pod) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Pod) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3806,13 +3807,13 @@ func (in *PodAffinity) DeepCopyInto(out *PodAffinity) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinity. -func (x *PodAffinity) DeepCopy() *PodAffinity { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinity. +func (in *PodAffinity) DeepCopy() *PodAffinity { + if in == nil { return nil } out := new(PodAffinity) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3836,13 +3837,13 @@ func (in *PodAffinityTerm) DeepCopyInto(out *PodAffinityTerm) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinityTerm. -func (x *PodAffinityTerm) DeepCopy() *PodAffinityTerm { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinityTerm. +func (in *PodAffinityTerm) DeepCopy() *PodAffinityTerm { + if in == nil { return nil } out := new(PodAffinityTerm) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3866,13 +3867,13 @@ func (in *PodAntiAffinity) DeepCopyInto(out *PodAntiAffinity) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodAntiAffinity. -func (x *PodAntiAffinity) DeepCopy() *PodAntiAffinity { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAntiAffinity. +func (in *PodAntiAffinity) DeepCopy() *PodAntiAffinity { + if in == nil { return nil } out := new(PodAntiAffinity) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3883,19 +3884,19 @@ func (in *PodAttachOptions) DeepCopyInto(out *PodAttachOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodAttachOptions. -func (x *PodAttachOptions) DeepCopy() *PodAttachOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAttachOptions. +func (in *PodAttachOptions) DeepCopy() *PodAttachOptions { + if in == nil { return nil } out := new(PodAttachOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodAttachOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodAttachOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3910,13 +3911,13 @@ func (in *PodCondition) DeepCopyInto(out *PodCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. -func (x *PodCondition) DeepCopy() *PodCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. +func (in *PodCondition) DeepCopy() *PodCondition { + if in == nil { return nil } out := new(PodCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3932,19 +3933,19 @@ func (in *PodExecOptions) DeepCopyInto(out *PodExecOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodExecOptions. -func (x *PodExecOptions) DeepCopy() *PodExecOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodExecOptions. +func (in *PodExecOptions) DeepCopy() *PodExecOptions { + if in == nil { return nil } out := new(PodExecOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodExecOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodExecOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3966,19 +3967,19 @@ func (in *PodList) DeepCopyInto(out *PodList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodList. -func (x *PodList) DeepCopy() *PodList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList. +func (in *PodList) DeepCopy() *PodList { + if in == nil { return nil } out := new(PodList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4028,19 +4029,19 @@ func (in *PodLogOptions) DeepCopyInto(out *PodLogOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodLogOptions. -func (x *PodLogOptions) DeepCopy() *PodLogOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogOptions. +func (in *PodLogOptions) DeepCopy() *PodLogOptions { + if in == nil { return nil } out := new(PodLogOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodLogOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodLogOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4059,19 +4060,19 @@ func (in *PodPortForwardOptions) DeepCopyInto(out *PodPortForwardOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPortForwardOptions. -func (x *PodPortForwardOptions) DeepCopy() *PodPortForwardOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPortForwardOptions. +func (in *PodPortForwardOptions) DeepCopy() *PodPortForwardOptions { + if in == nil { return nil } out := new(PodPortForwardOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodPortForwardOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodPortForwardOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4085,19 +4086,19 @@ func (in *PodProxyOptions) DeepCopyInto(out *PodProxyOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodProxyOptions. -func (x *PodProxyOptions) DeepCopy() *PodProxyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodProxyOptions. +func (in *PodProxyOptions) DeepCopy() *PodProxyOptions { + if in == nil { return nil } out := new(PodProxyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodProxyOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodProxyOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4151,13 +4152,13 @@ func (in *PodSecurityContext) DeepCopyInto(out *PodSecurityContext) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityContext. -func (x *PodSecurityContext) DeepCopy() *PodSecurityContext { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityContext. +func (in *PodSecurityContext) DeepCopy() *PodSecurityContext { + if in == nil { return nil } out := new(PodSecurityContext) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4176,13 +4177,13 @@ func (in *PodSignature) DeepCopyInto(out *PodSignature) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSignature. -func (x *PodSignature) DeepCopy() *PodSignature { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSignature. +func (in *PodSignature) DeepCopy() *PodSignature { + if in == nil { return nil } out := new(PodSignature) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4293,13 +4294,13 @@ func (in *PodSpec) DeepCopyInto(out *PodSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. -func (x *PodSpec) DeepCopy() *PodSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. +func (in *PodSpec) DeepCopy() *PodSpec { + if in == nil { return nil } out := new(PodSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4339,13 +4340,13 @@ func (in *PodStatus) DeepCopyInto(out *PodStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. -func (x *PodStatus) DeepCopy() *PodStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. +func (in *PodStatus) DeepCopy() *PodStatus { + if in == nil { return nil } out := new(PodStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4358,19 +4359,19 @@ func (in *PodStatusResult) DeepCopyInto(out *PodStatusResult) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodStatusResult. -func (x *PodStatusResult) DeepCopy() *PodStatusResult { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatusResult. +func (in *PodStatusResult) DeepCopy() *PodStatusResult { + if in == nil { return nil } out := new(PodStatusResult) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodStatusResult) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodStatusResult) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4386,19 +4387,19 @@ func (in *PodTemplate) DeepCopyInto(out *PodTemplate) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplate. -func (x *PodTemplate) DeepCopy() *PodTemplate { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplate. +func (in *PodTemplate) DeepCopy() *PodTemplate { + if in == nil { return nil } out := new(PodTemplate) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodTemplate) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodTemplate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4420,19 +4421,19 @@ func (in *PodTemplateList) DeepCopyInto(out *PodTemplateList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateList. -func (x *PodTemplateList) DeepCopy() *PodTemplateList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateList. +func (in *PodTemplateList) DeepCopy() *PodTemplateList { + if in == nil { return nil } out := new(PodTemplateList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodTemplateList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodTemplateList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4447,13 +4448,13 @@ func (in *PodTemplateSpec) DeepCopyInto(out *PodTemplateSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateSpec. -func (x *PodTemplateSpec) DeepCopy() *PodTemplateSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateSpec. +func (in *PodTemplateSpec) DeepCopy() *PodTemplateSpec { + if in == nil { return nil } out := new(PodTemplateSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4463,13 +4464,13 @@ func (in *PortworxVolumeSource) DeepCopyInto(out *PortworxVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PortworxVolumeSource. -func (x *PortworxVolumeSource) DeepCopy() *PortworxVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortworxVolumeSource. +func (in *PortworxVolumeSource) DeepCopy() *PortworxVolumeSource { + if in == nil { return nil } out := new(PortworxVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4488,13 +4489,13 @@ func (in *Preconditions) DeepCopyInto(out *Preconditions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions. -func (x *Preconditions) DeepCopy() *Preconditions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions. +func (in *Preconditions) DeepCopy() *Preconditions { + if in == nil { return nil } out := new(Preconditions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4506,13 +4507,13 @@ func (in *PreferAvoidPodsEntry) DeepCopyInto(out *PreferAvoidPodsEntry) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PreferAvoidPodsEntry. -func (x *PreferAvoidPodsEntry) DeepCopy() *PreferAvoidPodsEntry { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferAvoidPodsEntry. +func (in *PreferAvoidPodsEntry) DeepCopy() *PreferAvoidPodsEntry { + if in == nil { return nil } out := new(PreferAvoidPodsEntry) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4523,13 +4524,13 @@ func (in *PreferredSchedulingTerm) DeepCopyInto(out *PreferredSchedulingTerm) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PreferredSchedulingTerm. -func (x *PreferredSchedulingTerm) DeepCopy() *PreferredSchedulingTerm { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferredSchedulingTerm. +func (in *PreferredSchedulingTerm) DeepCopy() *PreferredSchedulingTerm { + if in == nil { return nil } out := new(PreferredSchedulingTerm) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4540,13 +4541,13 @@ func (in *Probe) DeepCopyInto(out *Probe) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Probe. -func (x *Probe) DeepCopy() *Probe { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe. +func (in *Probe) DeepCopy() *Probe { + if in == nil { return nil } out := new(Probe) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4572,13 +4573,13 @@ func (in *ProjectedVolumeSource) DeepCopyInto(out *ProjectedVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ProjectedVolumeSource. -func (x *ProjectedVolumeSource) DeepCopy() *ProjectedVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectedVolumeSource. +func (in *ProjectedVolumeSource) DeepCopy() *ProjectedVolumeSource { + if in == nil { return nil } out := new(ProjectedVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4588,13 +4589,13 @@ func (in *QuobyteVolumeSource) DeepCopyInto(out *QuobyteVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new QuobyteVolumeSource. -func (x *QuobyteVolumeSource) DeepCopy() *QuobyteVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuobyteVolumeSource. +func (in *QuobyteVolumeSource) DeepCopy() *QuobyteVolumeSource { + if in == nil { return nil } out := new(QuobyteVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4618,13 +4619,13 @@ func (in *RBDVolumeSource) DeepCopyInto(out *RBDVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RBDVolumeSource. -func (x *RBDVolumeSource) DeepCopy() *RBDVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBDVolumeSource. +func (in *RBDVolumeSource) DeepCopy() *RBDVolumeSource { + if in == nil { return nil } out := new(RBDVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4641,19 +4642,19 @@ func (in *RangeAllocation) DeepCopyInto(out *RangeAllocation) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RangeAllocation. -func (x *RangeAllocation) DeepCopy() *RangeAllocation { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangeAllocation. +func (in *RangeAllocation) DeepCopy() *RangeAllocation { + if in == nil { return nil } out := new(RangeAllocation) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *RangeAllocation) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *RangeAllocation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4670,19 +4671,19 @@ func (in *ReplicationController) DeepCopyInto(out *ReplicationController) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationController. -func (x *ReplicationController) DeepCopy() *ReplicationController { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationController. +func (in *ReplicationController) DeepCopy() *ReplicationController { + if in == nil { return nil } out := new(ReplicationController) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ReplicationController) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ReplicationController) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4696,13 +4697,13 @@ func (in *ReplicationControllerCondition) DeepCopyInto(out *ReplicationControlle return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerCondition. -func (x *ReplicationControllerCondition) DeepCopy() *ReplicationControllerCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerCondition. +func (in *ReplicationControllerCondition) DeepCopy() *ReplicationControllerCondition { + if in == nil { return nil } out := new(ReplicationControllerCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4721,19 +4722,19 @@ func (in *ReplicationControllerList) DeepCopyInto(out *ReplicationControllerList return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerList. -func (x *ReplicationControllerList) DeepCopy() *ReplicationControllerList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerList. +func (in *ReplicationControllerList) DeepCopy() *ReplicationControllerList { + if in == nil { return nil } out := new(ReplicationControllerList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ReplicationControllerList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ReplicationControllerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4762,13 +4763,13 @@ func (in *ReplicationControllerSpec) DeepCopyInto(out *ReplicationControllerSpec return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerSpec. -func (x *ReplicationControllerSpec) DeepCopy() *ReplicationControllerSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerSpec. +func (in *ReplicationControllerSpec) DeepCopy() *ReplicationControllerSpec { + if in == nil { return nil } out := new(ReplicationControllerSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4785,13 +4786,13 @@ func (in *ReplicationControllerStatus) DeepCopyInto(out *ReplicationControllerSt return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerStatus. -func (x *ReplicationControllerStatus) DeepCopy() *ReplicationControllerStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerStatus. +func (in *ReplicationControllerStatus) DeepCopy() *ReplicationControllerStatus { + if in == nil { return nil } out := new(ReplicationControllerStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4802,13 +4803,13 @@ func (in *ResourceFieldSelector) DeepCopyInto(out *ResourceFieldSelector) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFieldSelector. -func (x *ResourceFieldSelector) DeepCopy() *ResourceFieldSelector { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFieldSelector. +func (in *ResourceFieldSelector) DeepCopy() *ResourceFieldSelector { + if in == nil { return nil } out := new(ResourceFieldSelector) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4822,19 +4823,19 @@ func (in *ResourceQuota) DeepCopyInto(out *ResourceQuota) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuota. -func (x *ResourceQuota) DeepCopy() *ResourceQuota { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuota. +func (in *ResourceQuota) DeepCopy() *ResourceQuota { + if in == nil { return nil } out := new(ResourceQuota) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ResourceQuota) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ResourceQuota) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4856,19 +4857,19 @@ func (in *ResourceQuotaList) DeepCopyInto(out *ResourceQuotaList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaList. -func (x *ResourceQuotaList) DeepCopy() *ResourceQuotaList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaList. +func (in *ResourceQuotaList) DeepCopy() *ResourceQuotaList { + if in == nil { return nil } out := new(ResourceQuotaList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ResourceQuotaList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ResourceQuotaList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4893,13 +4894,13 @@ func (in *ResourceQuotaSpec) DeepCopyInto(out *ResourceQuotaSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec. -func (x *ResourceQuotaSpec) DeepCopy() *ResourceQuotaSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec. +func (in *ResourceQuotaSpec) DeepCopy() *ResourceQuotaSpec { + if in == nil { return nil } out := new(ResourceQuotaSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4923,13 +4924,13 @@ func (in *ResourceQuotaStatus) DeepCopyInto(out *ResourceQuotaStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaStatus. -func (x *ResourceQuotaStatus) DeepCopy() *ResourceQuotaStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaStatus. +func (in *ResourceQuotaStatus) DeepCopy() *ResourceQuotaStatus { + if in == nil { return nil } out := new(ResourceQuotaStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4953,13 +4954,13 @@ func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements. -func (x *ResourceRequirements) DeepCopy() *ResourceRequirements { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements. +func (in *ResourceRequirements) DeepCopy() *ResourceRequirements { + if in == nil { return nil } out := new(ResourceRequirements) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4969,13 +4970,13 @@ func (in *SELinuxOptions) DeepCopyInto(out *SELinuxOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxOptions. -func (x *SELinuxOptions) DeepCopy() *SELinuxOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxOptions. +func (in *SELinuxOptions) DeepCopy() *SELinuxOptions { + if in == nil { return nil } out := new(SELinuxOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4994,13 +4995,13 @@ func (in *ScaleIOVolumeSource) DeepCopyInto(out *ScaleIOVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOVolumeSource. -func (x *ScaleIOVolumeSource) DeepCopy() *ScaleIOVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOVolumeSource. +func (in *ScaleIOVolumeSource) DeepCopy() *ScaleIOVolumeSource { + if in == nil { return nil } out := new(ScaleIOVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5024,19 +5025,19 @@ func (in *Secret) DeepCopyInto(out *Secret) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Secret. -func (x *Secret) DeepCopy() *Secret { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret. +func (in *Secret) DeepCopy() *Secret { + if in == nil { return nil } out := new(Secret) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Secret) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Secret) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5059,13 +5060,13 @@ func (in *SecretEnvSource) DeepCopyInto(out *SecretEnvSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SecretEnvSource. -func (x *SecretEnvSource) DeepCopy() *SecretEnvSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretEnvSource. +func (in *SecretEnvSource) DeepCopy() *SecretEnvSource { + if in == nil { return nil } out := new(SecretEnvSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5085,13 +5086,13 @@ func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector. -func (x *SecretKeySelector) DeepCopy() *SecretKeySelector { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector. +func (in *SecretKeySelector) DeepCopy() *SecretKeySelector { + if in == nil { return nil } out := new(SecretKeySelector) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5110,19 +5111,19 @@ func (in *SecretList) DeepCopyInto(out *SecretList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SecretList. -func (x *SecretList) DeepCopy() *SecretList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList. +func (in *SecretList) DeepCopy() *SecretList { + if in == nil { return nil } out := new(SecretList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SecretList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SecretList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5152,13 +5153,13 @@ func (in *SecretProjection) DeepCopyInto(out *SecretProjection) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SecretProjection. -func (x *SecretProjection) DeepCopy() *SecretProjection { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProjection. +func (in *SecretProjection) DeepCopy() *SecretProjection { + if in == nil { return nil } out := new(SecretProjection) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5193,13 +5194,13 @@ func (in *SecretVolumeSource) DeepCopyInto(out *SecretVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SecretVolumeSource. -func (x *SecretVolumeSource) DeepCopy() *SecretVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVolumeSource. +func (in *SecretVolumeSource) DeepCopy() *SecretVolumeSource { + if in == nil { return nil } out := new(SecretVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5272,13 +5273,13 @@ func (in *SecurityContext) DeepCopyInto(out *SecurityContext) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContext. -func (x *SecurityContext) DeepCopy() *SecurityContext { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContext. +func (in *SecurityContext) DeepCopy() *SecurityContext { + if in == nil { return nil } out := new(SecurityContext) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5290,19 +5291,19 @@ func (in *SerializedReference) DeepCopyInto(out *SerializedReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SerializedReference. -func (x *SerializedReference) DeepCopy() *SerializedReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerializedReference. +func (in *SerializedReference) DeepCopy() *SerializedReference { + if in == nil { return nil } out := new(SerializedReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SerializedReference) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SerializedReference) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5319,19 +5320,19 @@ func (in *Service) DeepCopyInto(out *Service) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Service. -func (x *Service) DeepCopy() *Service { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service. +func (in *Service) DeepCopy() *Service { + if in == nil { return nil } out := new(Service) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Service) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Service) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5365,19 +5366,19 @@ func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount. -func (x *ServiceAccount) DeepCopy() *ServiceAccount { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount. +func (in *ServiceAccount) DeepCopy() *ServiceAccount { + if in == nil { return nil } out := new(ServiceAccount) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ServiceAccount) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ServiceAccount) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5399,19 +5400,19 @@ func (in *ServiceAccountList) DeepCopyInto(out *ServiceAccountList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountList. -func (x *ServiceAccountList) DeepCopy() *ServiceAccountList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountList. +func (in *ServiceAccountList) DeepCopy() *ServiceAccountList { + if in == nil { return nil } out := new(ServiceAccountList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ServiceAccountList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ServiceAccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5433,19 +5434,19 @@ func (in *ServiceList) DeepCopyInto(out *ServiceList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList. -func (x *ServiceList) DeepCopy() *ServiceList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList. +func (in *ServiceList) DeepCopy() *ServiceList { + if in == nil { return nil } out := new(ServiceList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ServiceList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5459,13 +5460,13 @@ func (in *ServicePort) DeepCopyInto(out *ServicePort) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort. -func (x *ServicePort) DeepCopy() *ServicePort { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort. +func (in *ServicePort) DeepCopy() *ServicePort { + if in == nil { return nil } out := new(ServicePort) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5476,19 +5477,19 @@ func (in *ServiceProxyOptions) DeepCopyInto(out *ServiceProxyOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProxyOptions. -func (x *ServiceProxyOptions) DeepCopy() *ServiceProxyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProxyOptions. +func (in *ServiceProxyOptions) DeepCopy() *ServiceProxyOptions { + if in == nil { return nil } out := new(ServiceProxyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ServiceProxyOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ServiceProxyOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5523,13 +5524,13 @@ func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec. -func (x *ServiceSpec) DeepCopy() *ServiceSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec. +func (in *ServiceSpec) DeepCopy() *ServiceSpec { + if in == nil { return nil } out := new(ServiceSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5540,13 +5541,13 @@ func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus. -func (x *ServiceStatus) DeepCopy() *ServiceStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus. +func (in *ServiceStatus) DeepCopy() *ServiceStatus { + if in == nil { return nil } out := new(ServiceStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5565,13 +5566,13 @@ func (in *StorageOSPersistentVolumeSource) DeepCopyInto(out *StorageOSPersistent return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSPersistentVolumeSource. -func (x *StorageOSPersistentVolumeSource) DeepCopy() *StorageOSPersistentVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSPersistentVolumeSource. +func (in *StorageOSPersistentVolumeSource) DeepCopy() *StorageOSPersistentVolumeSource { + if in == nil { return nil } out := new(StorageOSPersistentVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5590,13 +5591,13 @@ func (in *StorageOSVolumeSource) DeepCopyInto(out *StorageOSVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSVolumeSource. -func (x *StorageOSVolumeSource) DeepCopy() *StorageOSVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSVolumeSource. +func (in *StorageOSVolumeSource) DeepCopy() *StorageOSVolumeSource { + if in == nil { return nil } out := new(StorageOSVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5606,13 +5607,13 @@ func (in *Sysctl) DeepCopyInto(out *Sysctl) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Sysctl. -func (x *Sysctl) DeepCopy() *Sysctl { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sysctl. +func (in *Sysctl) DeepCopy() *Sysctl { + if in == nil { return nil } out := new(Sysctl) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5623,13 +5624,13 @@ func (in *TCPSocketAction) DeepCopyInto(out *TCPSocketAction) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TCPSocketAction. -func (x *TCPSocketAction) DeepCopy() *TCPSocketAction { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPSocketAction. +func (in *TCPSocketAction) DeepCopy() *TCPSocketAction { + if in == nil { return nil } out := new(TCPSocketAction) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5640,13 +5641,13 @@ func (in *Taint) DeepCopyInto(out *Taint) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Taint. -func (x *Taint) DeepCopy() *Taint { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint. +func (in *Taint) DeepCopy() *Taint { + if in == nil { return nil } out := new(Taint) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5665,13 +5666,13 @@ func (in *Toleration) DeepCopyInto(out *Toleration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Toleration. -func (x *Toleration) DeepCopy() *Toleration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Toleration. +func (in *Toleration) DeepCopy() *Toleration { + if in == nil { return nil } out := new(Toleration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5682,13 +5683,13 @@ func (in *Volume) DeepCopyInto(out *Volume) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Volume. -func (x *Volume) DeepCopy() *Volume { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume. +func (in *Volume) DeepCopy() *Volume { + if in == nil { return nil } out := new(Volume) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5698,13 +5699,13 @@ func (in *VolumeMount) DeepCopyInto(out *VolumeMount) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMount. -func (x *VolumeMount) DeepCopy() *VolumeMount { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMount. +func (in *VolumeMount) DeepCopy() *VolumeMount { + if in == nil { return nil } out := new(VolumeMount) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5741,13 +5742,13 @@ func (in *VolumeProjection) DeepCopyInto(out *VolumeProjection) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new VolumeProjection. -func (x *VolumeProjection) DeepCopy() *VolumeProjection { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeProjection. +func (in *VolumeProjection) DeepCopy() *VolumeProjection { + if in == nil { return nil } out := new(VolumeProjection) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -6000,13 +6001,13 @@ func (in *VolumeSource) DeepCopyInto(out *VolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSource. -func (x *VolumeSource) DeepCopy() *VolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSource. +func (in *VolumeSource) DeepCopy() *VolumeSource { + if in == nil { return nil } out := new(VolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -6016,13 +6017,13 @@ func (in *VsphereVirtualDiskVolumeSource) DeepCopyInto(out *VsphereVirtualDiskVo return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new VsphereVirtualDiskVolumeSource. -func (x *VsphereVirtualDiskVolumeSource) DeepCopy() *VsphereVirtualDiskVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereVirtualDiskVolumeSource. +func (in *VsphereVirtualDiskVolumeSource) DeepCopy() *VsphereVirtualDiskVolumeSource { + if in == nil { return nil } out := new(VsphereVirtualDiskVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -6033,12 +6034,12 @@ func (in *WeightedPodAffinityTerm) DeepCopyInto(out *WeightedPodAffinityTerm) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new WeightedPodAffinityTerm. -func (x *WeightedPodAffinityTerm) DeepCopy() *WeightedPodAffinityTerm { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedPodAffinityTerm. +func (in *WeightedPodAffinityTerm) DeepCopy() *WeightedPodAffinityTerm { + if in == nil { return nil } out := new(WeightedPodAffinityTerm) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/abac/v0/zz_generated.deepcopy.go b/pkg/apis/abac/v0/zz_generated.deepcopy.go index 80e764885fa..f2b9974b00b 100644 --- a/pkg/apis/abac/v0/zz_generated.deepcopy.go +++ b/pkg/apis/abac/v0/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -49,19 +50,19 @@ func (in *Policy) DeepCopyInto(out *Policy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. -func (x *Policy) DeepCopy() *Policy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. +func (in *Policy) DeepCopy() *Policy { + if in == nil { return nil } out := new(Policy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Policy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Policy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/pkg/apis/abac/v1beta1/zz_generated.deepcopy.go b/pkg/apis/abac/v1beta1/zz_generated.deepcopy.go index 6701dca2973..84b36e013ee 100644 --- a/pkg/apis/abac/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/abac/v1beta1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -54,19 +55,19 @@ func (in *Policy) DeepCopyInto(out *Policy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. -func (x *Policy) DeepCopy() *Policy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. +func (in *Policy) DeepCopy() *Policy { + if in == nil { return nil } out := new(Policy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Policy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Policy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -79,12 +80,12 @@ func (in *PolicySpec) DeepCopyInto(out *PolicySpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec. -func (x *PolicySpec) DeepCopy() *PolicySpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec. +func (in *PolicySpec) DeepCopy() *PolicySpec { + if in == nil { return nil } out := new(PolicySpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/abac/zz_generated.deepcopy.go b/pkg/apis/abac/zz_generated.deepcopy.go index d135cc63a93..799c0272320 100644 --- a/pkg/apis/abac/zz_generated.deepcopy.go +++ b/pkg/apis/abac/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -48,19 +50,19 @@ func (in *Policy) DeepCopyInto(out *Policy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. -func (x *Policy) DeepCopy() *Policy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. +func (in *Policy) DeepCopy() *Policy { + if in == nil { return nil } out := new(Policy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Policy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Policy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -73,12 +75,12 @@ func (in *PolicySpec) DeepCopyInto(out *PolicySpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec. -func (x *PolicySpec) DeepCopy() *PolicySpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec. +func (in *PolicySpec) DeepCopy() *PolicySpec { + if in == nil { return nil } out := new(PolicySpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/admission/zz_generated.deepcopy.go b/pkg/apis/admission/zz_generated.deepcopy.go index aa71ecb4031..22cd49d5e47 100644 --- a/pkg/apis/admission/zz_generated.deepcopy.go +++ b/pkg/apis/admission/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -60,19 +61,19 @@ func (in *AdmissionReview) DeepCopyInto(out *AdmissionReview) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview. -func (x *AdmissionReview) DeepCopy() *AdmissionReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview. +func (in *AdmissionReview) DeepCopy() *AdmissionReview { + if in == nil { return nil } out := new(AdmissionReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *AdmissionReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *AdmissionReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -98,13 +99,13 @@ func (in *AdmissionReviewSpec) DeepCopyInto(out *AdmissionReviewSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewSpec. -func (x *AdmissionReviewSpec) DeepCopy() *AdmissionReviewSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewSpec. +func (in *AdmissionReviewSpec) DeepCopy() *AdmissionReviewSpec { + if in == nil { return nil } out := new(AdmissionReviewSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -123,12 +124,12 @@ func (in *AdmissionReviewStatus) DeepCopyInto(out *AdmissionReviewStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewStatus. -func (x *AdmissionReviewStatus) DeepCopy() *AdmissionReviewStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewStatus. +func (in *AdmissionReviewStatus) DeepCopy() *AdmissionReviewStatus { + if in == nil { return nil } out := new(AdmissionReviewStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/admissionregistration/zz_generated.deepcopy.go b/pkg/apis/admissionregistration/zz_generated.deepcopy.go index 5f93d0a0948..edb368a311f 100644 --- a/pkg/apis/admissionregistration/zz_generated.deepcopy.go +++ b/pkg/apis/admissionregistration/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -90,13 +91,13 @@ func (in *AdmissionHookClientConfig) DeepCopyInto(out *AdmissionHookClientConfig return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionHookClientConfig. -func (x *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionHookClientConfig. +func (in *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig { + if in == nil { return nil } out := new(AdmissionHookClientConfig) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -123,13 +124,13 @@ func (in *ExternalAdmissionHook) DeepCopyInto(out *ExternalAdmissionHook) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHook. -func (x *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHook. +func (in *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook { + if in == nil { return nil } out := new(ExternalAdmissionHook) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -148,19 +149,19 @@ func (in *ExternalAdmissionHookConfiguration) DeepCopyInto(out *ExternalAdmissio return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfiguration. -func (x *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfiguration. +func (in *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration { + if in == nil { return nil } out := new(ExternalAdmissionHookConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -182,19 +183,19 @@ func (in *ExternalAdmissionHookConfigurationList) DeepCopyInto(out *ExternalAdmi return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfigurationList. -func (x *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfigurationList. +func (in *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList { + if in == nil { return nil } out := new(ExternalAdmissionHookConfigurationList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -223,13 +224,13 @@ func (in *Initializer) DeepCopyInto(out *Initializer) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Initializer. -func (x *Initializer) DeepCopy() *Initializer { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializer. +func (in *Initializer) DeepCopy() *Initializer { + if in == nil { return nil } out := new(Initializer) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -248,19 +249,19 @@ func (in *InitializerConfiguration) DeepCopyInto(out *InitializerConfiguration) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration. -func (x *InitializerConfiguration) DeepCopy() *InitializerConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration. +func (in *InitializerConfiguration) DeepCopy() *InitializerConfiguration { + if in == nil { return nil } out := new(InitializerConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *InitializerConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *InitializerConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -282,19 +283,19 @@ func (in *InitializerConfigurationList) DeepCopyInto(out *InitializerConfigurati return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList. -func (x *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList. +func (in *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList { + if in == nil { return nil } out := new(InitializerConfigurationList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *InitializerConfigurationList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *InitializerConfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -322,13 +323,13 @@ func (in *Rule) DeepCopyInto(out *Rule) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Rule. -func (x *Rule) DeepCopy() *Rule { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule. +func (in *Rule) DeepCopy() *Rule { + if in == nil { return nil } out := new(Rule) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -344,13 +345,13 @@ func (in *RuleWithOperations) DeepCopyInto(out *RuleWithOperations) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations. -func (x *RuleWithOperations) DeepCopy() *RuleWithOperations { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations. +func (in *RuleWithOperations) DeepCopy() *RuleWithOperations { + if in == nil { return nil } out := new(RuleWithOperations) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -360,12 +361,12 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. -func (x *ServiceReference) DeepCopy() *ServiceReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. +func (in *ServiceReference) DeepCopy() *ServiceReference { + if in == nil { return nil } out := new(ServiceReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/apps/zz_generated.deepcopy.go b/pkg/apis/apps/zz_generated.deepcopy.go index 44d6121223f..5ac521976c7 100644 --- a/pkg/apis/apps/zz_generated.deepcopy.go +++ b/pkg/apis/apps/zz_generated.deepcopy.go @@ -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 } diff --git a/pkg/apis/authentication/zz_generated.deepcopy.go b/pkg/apis/authentication/zz_generated.deepcopy.go index 7dbcdce1da6..0efa1497af5 100644 --- a/pkg/apis/authentication/zz_generated.deepcopy.go +++ b/pkg/apis/authentication/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -64,19 +65,19 @@ func (in *TokenReview) DeepCopyInto(out *TokenReview) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview. -func (x *TokenReview) DeepCopy() *TokenReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview. +func (in *TokenReview) DeepCopy() *TokenReview { + if in == nil { return nil } out := new(TokenReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TokenReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TokenReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -89,13 +90,13 @@ func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec. -func (x *TokenReviewSpec) DeepCopy() *TokenReviewSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec. +func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec { + if in == nil { return nil } out := new(TokenReviewSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -106,13 +107,13 @@ func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus. -func (x *TokenReviewStatus) DeepCopy() *TokenReviewStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus. +func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus { + if in == nil { return nil } out := new(TokenReviewStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -135,12 +136,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. -func (x *UserInfo) DeepCopy() *UserInfo { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. +func (in *UserInfo) DeepCopy() *UserInfo { + if in == nil { return nil } out := new(UserInfo) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/authorization/zz_generated.deepcopy.go b/pkg/apis/authorization/zz_generated.deepcopy.go index 9e35f0b15dd..311dbe8b9fd 100644 --- a/pkg/apis/authorization/zz_generated.deepcopy.go +++ b/pkg/apis/authorization/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -80,19 +81,19 @@ func (in *LocalSubjectAccessReview) DeepCopyInto(out *LocalSubjectAccessReview) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview. -func (x *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview. +func (in *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview { + if in == nil { return nil } out := new(LocalSubjectAccessReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *LocalSubjectAccessReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *LocalSubjectAccessReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -105,13 +106,13 @@ func (in *NonResourceAttributes) DeepCopyInto(out *NonResourceAttributes) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes. -func (x *NonResourceAttributes) DeepCopy() *NonResourceAttributes { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes. +func (in *NonResourceAttributes) DeepCopy() *NonResourceAttributes { + if in == nil { return nil } out := new(NonResourceAttributes) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -121,13 +122,13 @@ func (in *ResourceAttributes) DeepCopyInto(out *ResourceAttributes) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes. -func (x *ResourceAttributes) DeepCopy() *ResourceAttributes { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes. +func (in *ResourceAttributes) DeepCopy() *ResourceAttributes { + if in == nil { return nil } out := new(ResourceAttributes) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -141,19 +142,19 @@ func (in *SelfSubjectAccessReview) DeepCopyInto(out *SelfSubjectAccessReview) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview. -func (x *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview. +func (in *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview { + if in == nil { return nil } out := new(SelfSubjectAccessReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SelfSubjectAccessReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SelfSubjectAccessReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -184,13 +185,13 @@ func (in *SelfSubjectAccessReviewSpec) DeepCopyInto(out *SelfSubjectAccessReview return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec. -func (x *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec. +func (in *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec { + if in == nil { return nil } out := new(SelfSubjectAccessReviewSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -204,19 +205,19 @@ func (in *SubjectAccessReview) DeepCopyInto(out *SubjectAccessReview) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview. -func (x *SubjectAccessReview) DeepCopy() *SubjectAccessReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview. +func (in *SubjectAccessReview) DeepCopy() *SubjectAccessReview { + if in == nil { return nil } out := new(SubjectAccessReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SubjectAccessReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SubjectAccessReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -260,13 +261,13 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec. -func (x *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec. +func (in *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec { + if in == nil { return nil } out := new(SubjectAccessReviewSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -276,12 +277,12 @@ func (in *SubjectAccessReviewStatus) DeepCopyInto(out *SubjectAccessReviewStatus return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus. -func (x *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus. +func (in *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus { + if in == nil { return nil } out := new(SubjectAccessReviewStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/autoscaling/zz_generated.deepcopy.go b/pkg/apis/autoscaling/zz_generated.deepcopy.go index 52772dc539e..ec833882e6b 100644 --- a/pkg/apis/autoscaling/zz_generated.deepcopy.go +++ b/pkg/apis/autoscaling/zz_generated.deepcopy.go @@ -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 { @@ -114,13 +115,13 @@ func (in *CrossVersionObjectReference) DeepCopyInto(out *CrossVersionObjectRefer return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference. -func (x *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference. +func (in *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference { + if in == nil { return nil } out := new(CrossVersionObjectReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -134,19 +135,19 @@ func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler. -func (x *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler. +func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler { + if in == nil { return nil } out := new(HorizontalPodAutoscaler) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -160,13 +161,13 @@ func (in *HorizontalPodAutoscalerCondition) DeepCopyInto(out *HorizontalPodAutos return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition. -func (x *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition. +func (in *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition { + if in == nil { return nil } out := new(HorizontalPodAutoscalerCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -185,19 +186,19 @@ func (in *HorizontalPodAutoscalerList) DeepCopyInto(out *HorizontalPodAutoscaler return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList. -func (x *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList. +func (in *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList { + if in == nil { return nil } out := new(HorizontalPodAutoscalerList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -227,13 +228,13 @@ func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscaler return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec. -func (x *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec. +func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec { + if in == nil { return nil } out := new(HorizontalPodAutoscalerSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -275,13 +276,13 @@ func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscal return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus. -func (x *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus. +func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus { + if in == nil { return nil } out := new(HorizontalPodAutoscalerStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -318,13 +319,13 @@ func (in *MetricSpec) DeepCopyInto(out *MetricSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec. -func (x *MetricSpec) DeepCopy() *MetricSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec. +func (in *MetricSpec) DeepCopy() *MetricSpec { + if in == nil { return nil } out := new(MetricSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -361,13 +362,13 @@ func (in *MetricStatus) DeepCopyInto(out *MetricStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus. -func (x *MetricStatus) DeepCopy() *MetricStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus. +func (in *MetricStatus) DeepCopy() *MetricStatus { + if in == nil { return nil } out := new(MetricStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -379,13 +380,13 @@ func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource. -func (x *ObjectMetricSource) DeepCopy() *ObjectMetricSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource. +func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource { + if in == nil { return nil } out := new(ObjectMetricSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -397,13 +398,13 @@ func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus. -func (x *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus. +func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus { + if in == nil { return nil } out := new(ObjectMetricStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -414,13 +415,13 @@ func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource. -func (x *PodsMetricSource) DeepCopy() *PodsMetricSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource. +func (in *PodsMetricSource) DeepCopy() *PodsMetricSource { + if in == nil { return nil } out := new(PodsMetricSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -431,13 +432,13 @@ func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus. -func (x *PodsMetricStatus) DeepCopy() *PodsMetricStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus. +func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus { + if in == nil { return nil } out := new(PodsMetricStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -465,13 +466,13 @@ func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource. -func (x *ResourceMetricSource) DeepCopy() *ResourceMetricSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource. +func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource { + if in == nil { return nil } out := new(ResourceMetricSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -491,13 +492,13 @@ func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus. -func (x *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus. +func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus { + if in == nil { return nil } out := new(ResourceMetricStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -511,19 +512,19 @@ func (in *Scale) DeepCopyInto(out *Scale) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Scale. -func (x *Scale) DeepCopy() *Scale { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale. +func (in *Scale) DeepCopy() *Scale { + if in == nil { return nil } out := new(Scale) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Scale) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Scale) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -536,13 +537,13 @@ func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. -func (x *ScaleSpec) DeepCopy() *ScaleSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. +func (in *ScaleSpec) DeepCopy() *ScaleSpec { + if in == nil { return nil } out := new(ScaleSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -552,12 +553,12 @@ func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. -func (x *ScaleStatus) DeepCopy() *ScaleStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. +func (in *ScaleStatus) DeepCopy() *ScaleStatus { + if in == nil { return nil } out := new(ScaleStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/batch/zz_generated.deepcopy.go b/pkg/apis/batch/zz_generated.deepcopy.go index a42e361ce2c..10d4b5f15de 100644 --- a/pkg/apis/batch/zz_generated.deepcopy.go +++ b/pkg/apis/batch/zz_generated.deepcopy.go @@ -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 { @@ -94,19 +95,19 @@ func (in *CronJob) DeepCopyInto(out *CronJob) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJob. -func (x *CronJob) DeepCopy() *CronJob { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob. +func (in *CronJob) DeepCopy() *CronJob { + if in == nil { return nil } out := new(CronJob) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CronJob) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CronJob) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -128,19 +129,19 @@ func (in *CronJobList) DeepCopyInto(out *CronJobList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList. -func (x *CronJobList) DeepCopy() *CronJobList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList. +func (in *CronJobList) DeepCopy() *CronJobList { + if in == nil { return nil } out := new(CronJobList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CronJobList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CronJobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -190,13 +191,13 @@ func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec. -func (x *CronJobSpec) DeepCopy() *CronJobSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec. +func (in *CronJobSpec) DeepCopy() *CronJobSpec { + if in == nil { return nil } out := new(CronJobSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -220,13 +221,13 @@ func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus. -func (x *CronJobStatus) DeepCopy() *CronJobStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus. +func (in *CronJobStatus) DeepCopy() *CronJobStatus { + if in == nil { return nil } out := new(CronJobStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -240,19 +241,19 @@ func (in *Job) DeepCopyInto(out *Job) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Job. -func (x *Job) DeepCopy() *Job { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job. +func (in *Job) DeepCopy() *Job { + if in == nil { return nil } out := new(Job) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Job) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Job) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -267,13 +268,13 @@ func (in *JobCondition) DeepCopyInto(out *JobCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition. -func (x *JobCondition) DeepCopy() *JobCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition. +func (in *JobCondition) DeepCopy() *JobCondition { + if in == nil { return nil } out := new(JobCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -292,19 +293,19 @@ func (in *JobList) DeepCopyInto(out *JobList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobList. -func (x *JobList) DeepCopy() *JobList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList. +func (in *JobList) DeepCopy() *JobList { + if in == nil { return nil } out := new(JobList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *JobList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *JobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -363,13 +364,13 @@ func (in *JobSpec) DeepCopyInto(out *JobSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec. -func (x *JobSpec) DeepCopy() *JobSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec. +func (in *JobSpec) DeepCopy() *JobSpec { + if in == nil { return nil } out := new(JobSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -404,13 +405,13 @@ func (in *JobStatus) DeepCopyInto(out *JobStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus. -func (x *JobStatus) DeepCopy() *JobStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus. +func (in *JobStatus) DeepCopy() *JobStatus { + if in == nil { return nil } out := new(JobStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -423,19 +424,19 @@ func (in *JobTemplate) DeepCopyInto(out *JobTemplate) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate. -func (x *JobTemplate) DeepCopy() *JobTemplate { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate. +func (in *JobTemplate) DeepCopy() *JobTemplate { + if in == nil { return nil } out := new(JobTemplate) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *JobTemplate) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *JobTemplate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -450,12 +451,12 @@ func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec. -func (x *JobTemplateSpec) DeepCopy() *JobTemplateSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec. +func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec { + if in == nil { return nil } out := new(JobTemplateSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/certificates/zz_generated.deepcopy.go b/pkg/apis/certificates/zz_generated.deepcopy.go index 95e87e51e6e..c1f76f53fae 100644 --- a/pkg/apis/certificates/zz_generated.deepcopy.go +++ b/pkg/apis/certificates/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -68,19 +69,19 @@ func (in *CertificateSigningRequest) DeepCopyInto(out *CertificateSigningRequest return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest. -func (x *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest. +func (in *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest { + if in == nil { return nil } out := new(CertificateSigningRequest) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CertificateSigningRequest) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CertificateSigningRequest) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -94,13 +95,13 @@ func (in *CertificateSigningRequestCondition) DeepCopyInto(out *CertificateSigni return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition. -func (x *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition. +func (in *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition { + if in == nil { return nil } out := new(CertificateSigningRequestCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -119,19 +120,19 @@ func (in *CertificateSigningRequestList) DeepCopyInto(out *CertificateSigningReq return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList. -func (x *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList. +func (in *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList { + if in == nil { return nil } out := new(CertificateSigningRequestList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CertificateSigningRequestList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CertificateSigningRequestList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -167,13 +168,13 @@ func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningReq return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec. -func (x *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec. +func (in *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec { + if in == nil { return nil } out := new(CertificateSigningRequestSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -195,12 +196,12 @@ func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningR return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus. -func (x *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus. +func (in *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus { + if in == nil { return nil } out := new(CertificateSigningRequestStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go index c7039500000..ddb972745f7 100644 --- a/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -97,13 +98,13 @@ func (in *ClientConnectionConfiguration) DeepCopyInto(out *ClientConnectionConfi return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfiguration. -func (x *ClientConnectionConfiguration) DeepCopy() *ClientConnectionConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfiguration. +func (in *ClientConnectionConfiguration) DeepCopy() *ClientConnectionConfiguration { + if in == nil { return nil } out := new(ClientConnectionConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -128,19 +129,19 @@ func (in *KubeProxyConfiguration) DeepCopyInto(out *KubeProxyConfiguration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConfiguration. -func (x *KubeProxyConfiguration) DeepCopy() *KubeProxyConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConfiguration. +func (in *KubeProxyConfiguration) DeepCopy() *KubeProxyConfiguration { + if in == nil { return nil } out := new(KubeProxyConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *KubeProxyConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *KubeProxyConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -155,13 +156,13 @@ func (in *KubeProxyConntrackConfiguration) DeepCopyInto(out *KubeProxyConntrackC return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConntrackConfiguration. -func (x *KubeProxyConntrackConfiguration) DeepCopy() *KubeProxyConntrackConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConntrackConfiguration. +func (in *KubeProxyConntrackConfiguration) DeepCopy() *KubeProxyConntrackConfiguration { + if in == nil { return nil } out := new(KubeProxyConntrackConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -182,13 +183,13 @@ func (in *KubeProxyIPTablesConfiguration) DeepCopyInto(out *KubeProxyIPTablesCon return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyIPTablesConfiguration. -func (x *KubeProxyIPTablesConfiguration) DeepCopy() *KubeProxyIPTablesConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyIPTablesConfiguration. +func (in *KubeProxyIPTablesConfiguration) DeepCopy() *KubeProxyIPTablesConfiguration { + if in == nil { return nil } out := new(KubeProxyIPTablesConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -209,19 +210,19 @@ func (in *KubeSchedulerConfiguration) DeepCopyInto(out *KubeSchedulerConfigurati return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfiguration. -func (x *KubeSchedulerConfiguration) DeepCopy() *KubeSchedulerConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfiguration. +func (in *KubeSchedulerConfiguration) DeepCopy() *KubeSchedulerConfiguration { + if in == nil { return nil } out := new(KubeSchedulerConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *KubeSchedulerConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *KubeSchedulerConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -243,13 +244,13 @@ func (in *KubeletAnonymousAuthentication) DeepCopyInto(out *KubeletAnonymousAuth return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAnonymousAuthentication. -func (x *KubeletAnonymousAuthentication) DeepCopy() *KubeletAnonymousAuthentication { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAnonymousAuthentication. +func (in *KubeletAnonymousAuthentication) DeepCopy() *KubeletAnonymousAuthentication { + if in == nil { return nil } out := new(KubeletAnonymousAuthentication) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -262,13 +263,13 @@ func (in *KubeletAuthentication) DeepCopyInto(out *KubeletAuthentication) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthentication. -func (x *KubeletAuthentication) DeepCopy() *KubeletAuthentication { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthentication. +func (in *KubeletAuthentication) DeepCopy() *KubeletAuthentication { + if in == nil { return nil } out := new(KubeletAuthentication) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -279,13 +280,13 @@ func (in *KubeletAuthorization) DeepCopyInto(out *KubeletAuthorization) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthorization. -func (x *KubeletAuthorization) DeepCopy() *KubeletAuthorization { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthorization. +func (in *KubeletAuthorization) DeepCopy() *KubeletAuthorization { + if in == nil { return nil } out := new(KubeletAuthorization) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -589,19 +590,19 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration. -func (x *KubeletConfiguration) DeepCopy() *KubeletConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration. +func (in *KubeletConfiguration) DeepCopy() *KubeletConfiguration { + if in == nil { return nil } out := new(KubeletConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *KubeletConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *KubeletConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -624,13 +625,13 @@ func (in *KubeletWebhookAuthentication) DeepCopyInto(out *KubeletWebhookAuthenti return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication. -func (x *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication. +func (in *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication { + if in == nil { return nil } out := new(KubeletWebhookAuthentication) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -642,13 +643,13 @@ func (in *KubeletWebhookAuthorization) DeepCopyInto(out *KubeletWebhookAuthoriza return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthorization. -func (x *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthorization. +func (in *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization { + if in == nil { return nil } out := new(KubeletWebhookAuthorization) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -658,13 +659,13 @@ func (in *KubeletX509Authentication) DeepCopyInto(out *KubeletX509Authentication return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletX509Authentication. -func (x *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletX509Authentication. +func (in *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication { + if in == nil { return nil } out := new(KubeletX509Authentication) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -686,12 +687,12 @@ func (in *LeaderElectionConfiguration) DeepCopyInto(out *LeaderElectionConfigura return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionConfiguration. -func (x *LeaderElectionConfiguration) DeepCopy() *LeaderElectionConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionConfiguration. +func (in *LeaderElectionConfiguration) DeepCopy() *LeaderElectionConfiguration { + if in == nil { return nil } out := new(LeaderElectionConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/componentconfig/zz_generated.deepcopy.go b/pkg/apis/componentconfig/zz_generated.deepcopy.go index 18fbf22fc0e..8455e792502 100644 --- a/pkg/apis/componentconfig/zz_generated.deepcopy.go +++ b/pkg/apis/componentconfig/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -121,13 +122,13 @@ func (in *ClientConnectionConfiguration) DeepCopyInto(out *ClientConnectionConfi return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfiguration. -func (x *ClientConnectionConfiguration) DeepCopy() *ClientConnectionConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionConfiguration. +func (in *ClientConnectionConfiguration) DeepCopy() *ClientConnectionConfiguration { + if in == nil { return nil } out := new(ClientConnectionConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -137,13 +138,13 @@ func (in *GroupResource) DeepCopyInto(out *GroupResource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupResource. -func (x *GroupResource) DeepCopy() *GroupResource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupResource. +func (in *GroupResource) DeepCopy() *GroupResource { + if in == nil { return nil } out := new(GroupResource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -162,13 +163,13 @@ func (in *IPVar) DeepCopyInto(out *IPVar) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IPVar. -func (x *IPVar) DeepCopy() *IPVar { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPVar. +func (in *IPVar) DeepCopy() *IPVar { + if in == nil { return nil } out := new(IPVar) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -209,19 +210,19 @@ func (in *KubeControllerManagerConfiguration) DeepCopyInto(out *KubeControllerMa return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeControllerManagerConfiguration. -func (x *KubeControllerManagerConfiguration) DeepCopy() *KubeControllerManagerConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeControllerManagerConfiguration. +func (in *KubeControllerManagerConfiguration) DeepCopy() *KubeControllerManagerConfiguration { + if in == nil { return nil } out := new(KubeControllerManagerConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *KubeControllerManagerConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *KubeControllerManagerConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -249,19 +250,19 @@ func (in *KubeProxyConfiguration) DeepCopyInto(out *KubeProxyConfiguration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConfiguration. -func (x *KubeProxyConfiguration) DeepCopy() *KubeProxyConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConfiguration. +func (in *KubeProxyConfiguration) DeepCopy() *KubeProxyConfiguration { + if in == nil { return nil } out := new(KubeProxyConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *KubeProxyConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *KubeProxyConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -276,13 +277,13 @@ func (in *KubeProxyConntrackConfiguration) DeepCopyInto(out *KubeProxyConntrackC return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConntrackConfiguration. -func (x *KubeProxyConntrackConfiguration) DeepCopy() *KubeProxyConntrackConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyConntrackConfiguration. +func (in *KubeProxyConntrackConfiguration) DeepCopy() *KubeProxyConntrackConfiguration { + if in == nil { return nil } out := new(KubeProxyConntrackConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -303,13 +304,13 @@ func (in *KubeProxyIPTablesConfiguration) DeepCopyInto(out *KubeProxyIPTablesCon return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyIPTablesConfiguration. -func (x *KubeProxyIPTablesConfiguration) DeepCopy() *KubeProxyIPTablesConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxyIPTablesConfiguration. +func (in *KubeProxyIPTablesConfiguration) DeepCopy() *KubeProxyIPTablesConfiguration { + if in == nil { return nil } out := new(KubeProxyIPTablesConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -321,19 +322,19 @@ func (in *KubeSchedulerConfiguration) DeepCopyInto(out *KubeSchedulerConfigurati return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfiguration. -func (x *KubeSchedulerConfiguration) DeepCopy() *KubeSchedulerConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfiguration. +func (in *KubeSchedulerConfiguration) DeepCopy() *KubeSchedulerConfiguration { + if in == nil { return nil } out := new(KubeSchedulerConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *KubeSchedulerConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *KubeSchedulerConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -346,13 +347,13 @@ func (in *KubeletAnonymousAuthentication) DeepCopyInto(out *KubeletAnonymousAuth return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAnonymousAuthentication. -func (x *KubeletAnonymousAuthentication) DeepCopy() *KubeletAnonymousAuthentication { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAnonymousAuthentication. +func (in *KubeletAnonymousAuthentication) DeepCopy() *KubeletAnonymousAuthentication { + if in == nil { return nil } out := new(KubeletAnonymousAuthentication) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -365,13 +366,13 @@ func (in *KubeletAuthentication) DeepCopyInto(out *KubeletAuthentication) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthentication. -func (x *KubeletAuthentication) DeepCopy() *KubeletAuthentication { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthentication. +func (in *KubeletAuthentication) DeepCopy() *KubeletAuthentication { + if in == nil { return nil } out := new(KubeletAuthentication) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -382,13 +383,13 @@ func (in *KubeletAuthorization) DeepCopyInto(out *KubeletAuthorization) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthorization. -func (x *KubeletAuthorization) DeepCopy() *KubeletAuthorization { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletAuthorization. +func (in *KubeletAuthorization) DeepCopy() *KubeletAuthorization { + if in == nil { return nil } out := new(KubeletAuthorization) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -476,19 +477,19 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration. -func (x *KubeletConfiguration) DeepCopy() *KubeletConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfiguration. +func (in *KubeletConfiguration) DeepCopy() *KubeletConfiguration { + if in == nil { return nil } out := new(KubeletConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *KubeletConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *KubeletConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -502,13 +503,13 @@ func (in *KubeletWebhookAuthentication) DeepCopyInto(out *KubeletWebhookAuthenti return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication. -func (x *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthentication. +func (in *KubeletWebhookAuthentication) DeepCopy() *KubeletWebhookAuthentication { + if in == nil { return nil } out := new(KubeletWebhookAuthentication) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -520,13 +521,13 @@ func (in *KubeletWebhookAuthorization) DeepCopyInto(out *KubeletWebhookAuthoriza return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthorization. -func (x *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletWebhookAuthorization. +func (in *KubeletWebhookAuthorization) DeepCopy() *KubeletWebhookAuthorization { + if in == nil { return nil } out := new(KubeletWebhookAuthorization) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -536,13 +537,13 @@ func (in *KubeletX509Authentication) DeepCopyInto(out *KubeletX509Authentication return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KubeletX509Authentication. -func (x *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletX509Authentication. +func (in *KubeletX509Authentication) DeepCopy() *KubeletX509Authentication { + if in == nil { return nil } out := new(KubeletX509Authentication) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -555,13 +556,13 @@ func (in *LeaderElectionConfiguration) DeepCopyInto(out *LeaderElectionConfigura return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionConfiguration. -func (x *LeaderElectionConfiguration) DeepCopy() *LeaderElectionConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElectionConfiguration. +func (in *LeaderElectionConfiguration) DeepCopy() *LeaderElectionConfiguration { + if in == nil { return nil } out := new(LeaderElectionConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -571,13 +572,13 @@ func (in *PersistentVolumeRecyclerConfiguration) DeepCopyInto(out *PersistentVol return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeRecyclerConfiguration. -func (x *PersistentVolumeRecyclerConfiguration) DeepCopy() *PersistentVolumeRecyclerConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeRecyclerConfiguration. +func (in *PersistentVolumeRecyclerConfiguration) DeepCopy() *PersistentVolumeRecyclerConfiguration { + if in == nil { return nil } out := new(PersistentVolumeRecyclerConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -596,13 +597,13 @@ func (in *PortRangeVar) DeepCopyInto(out *PortRangeVar) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PortRangeVar. -func (x *PortRangeVar) DeepCopy() *PortRangeVar { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortRangeVar. +func (in *PortRangeVar) DeepCopy() *PortRangeVar { + if in == nil { return nil } out := new(PortRangeVar) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -613,12 +614,12 @@ func (in *VolumeConfiguration) DeepCopyInto(out *VolumeConfiguration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new VolumeConfiguration. -func (x *VolumeConfiguration) DeepCopy() *VolumeConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeConfiguration. +func (in *VolumeConfiguration) DeepCopy() *VolumeConfiguration { + if in == nil { return nil } out := new(VolumeConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/extensions/zz_generated.deepcopy.go b/pkg/apis/extensions/zz_generated.deepcopy.go index c3bf8a92eb0..fa0d6b8ee12 100644 --- a/pkg/apis/extensions/zz_generated.deepcopy.go +++ b/pkg/apis/extensions/zz_generated.deepcopy.go @@ -29,13 +29,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 { @@ -283,13 +284,13 @@ func (in *APIVersion) DeepCopyInto(out *APIVersion) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIVersion. -func (x *APIVersion) DeepCopy() *APIVersion { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIVersion. +func (in *APIVersion) DeepCopy() *APIVersion { + if in == nil { return nil } out := new(APIVersion) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -300,13 +301,13 @@ func (in *CustomMetricCurrentStatus) DeepCopyInto(out *CustomMetricCurrentStatus return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricCurrentStatus. -func (x *CustomMetricCurrentStatus) DeepCopy() *CustomMetricCurrentStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricCurrentStatus. +func (in *CustomMetricCurrentStatus) DeepCopy() *CustomMetricCurrentStatus { + if in == nil { return nil } out := new(CustomMetricCurrentStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -323,13 +324,13 @@ func (in *CustomMetricCurrentStatusList) DeepCopyInto(out *CustomMetricCurrentSt return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricCurrentStatusList. -func (x *CustomMetricCurrentStatusList) DeepCopy() *CustomMetricCurrentStatusList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricCurrentStatusList. +func (in *CustomMetricCurrentStatusList) DeepCopy() *CustomMetricCurrentStatusList { + if in == nil { return nil } out := new(CustomMetricCurrentStatusList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -340,13 +341,13 @@ func (in *CustomMetricTarget) DeepCopyInto(out *CustomMetricTarget) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricTarget. -func (x *CustomMetricTarget) DeepCopy() *CustomMetricTarget { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricTarget. +func (in *CustomMetricTarget) DeepCopy() *CustomMetricTarget { + if in == nil { return nil } out := new(CustomMetricTarget) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -363,13 +364,13 @@ func (in *CustomMetricTargetList) DeepCopyInto(out *CustomMetricTargetList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricTargetList. -func (x *CustomMetricTargetList) DeepCopy() *CustomMetricTargetList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricTargetList. +func (in *CustomMetricTargetList) DeepCopy() *CustomMetricTargetList { + if in == nil { return nil } out := new(CustomMetricTargetList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -383,19 +384,19 @@ func (in *DaemonSet) DeepCopyInto(out *DaemonSet) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet. -func (x *DaemonSet) DeepCopy() *DaemonSet { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet. +func (in *DaemonSet) DeepCopy() *DaemonSet { + if in == nil { return nil } out := new(DaemonSet) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DaemonSet) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DaemonSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -417,19 +418,19 @@ func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList. -func (x *DaemonSetList) DeepCopy() *DaemonSetList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList. +func (in *DaemonSetList) DeepCopy() *DaemonSetList { + if in == nil { return nil } out := new(DaemonSetList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DaemonSetList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DaemonSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -462,13 +463,13 @@ func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec. -func (x *DaemonSetSpec) DeepCopy() *DaemonSetSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec. +func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec { + if in == nil { return nil } out := new(DaemonSetSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -487,13 +488,13 @@ func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus. -func (x *DaemonSetStatus) DeepCopy() *DaemonSetStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus. +func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus { + if in == nil { return nil } out := new(DaemonSetStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -512,13 +513,13 @@ func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy. -func (x *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy. +func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy { + if in == nil { return nil } out := new(DaemonSetUpdateStrategy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -532,19 +533,19 @@ func (in *Deployment) DeepCopyInto(out *Deployment) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Deployment. -func (x *Deployment) DeepCopy() *Deployment { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment. +func (in *Deployment) DeepCopy() *Deployment { + if in == nil { return nil } out := new(Deployment) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Deployment) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Deployment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -559,13 +560,13 @@ func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition. -func (x *DeploymentCondition) DeepCopy() *DeploymentCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition. +func (in *DeploymentCondition) DeepCopy() *DeploymentCondition { + if in == nil { return nil } out := new(DeploymentCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -584,19 +585,19 @@ func (in *DeploymentList) DeepCopyInto(out *DeploymentList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList. -func (x *DeploymentList) DeepCopy() *DeploymentList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList. +func (in *DeploymentList) DeepCopy() *DeploymentList { + if in == nil { return nil } out := new(DeploymentList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DeploymentList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DeploymentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -618,19 +619,19 @@ func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback. -func (x *DeploymentRollback) DeepCopy() *DeploymentRollback { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback. +func (in *DeploymentRollback) DeepCopy() *DeploymentRollback { + if in == nil { return nil } out := new(DeploymentRollback) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DeploymentRollback) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DeploymentRollback) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -681,13 +682,13 @@ func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec. -func (x *DeploymentSpec) DeepCopy() *DeploymentSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec. +func (in *DeploymentSpec) DeepCopy() *DeploymentSpec { + if in == nil { return nil } out := new(DeploymentSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -713,13 +714,13 @@ func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus. -func (x *DeploymentStatus) DeepCopy() *DeploymentStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus. +func (in *DeploymentStatus) DeepCopy() *DeploymentStatus { + if in == nil { return nil } out := new(DeploymentStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -738,13 +739,13 @@ func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy. -func (x *DeploymentStrategy) DeepCopy() *DeploymentStrategy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy. +func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy { + if in == nil { return nil } out := new(DeploymentStrategy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -759,13 +760,13 @@ func (in *FSGroupStrategyOptions) DeepCopyInto(out *FSGroupStrategyOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FSGroupStrategyOptions. -func (x *FSGroupStrategyOptions) DeepCopy() *FSGroupStrategyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSGroupStrategyOptions. +func (in *FSGroupStrategyOptions) DeepCopy() *FSGroupStrategyOptions { + if in == nil { return nil } out := new(FSGroupStrategyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -775,13 +776,13 @@ func (in *GroupIDRange) DeepCopyInto(out *GroupIDRange) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupIDRange. -func (x *GroupIDRange) DeepCopy() *GroupIDRange { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupIDRange. +func (in *GroupIDRange) DeepCopy() *GroupIDRange { + if in == nil { return nil } out := new(GroupIDRange) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -792,13 +793,13 @@ func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath. -func (x *HTTPIngressPath) DeepCopy() *HTTPIngressPath { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath. +func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath { + if in == nil { return nil } out := new(HTTPIngressPath) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -813,13 +814,13 @@ func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue. -func (x *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue. +func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue { + if in == nil { return nil } out := new(HTTPIngressRuleValue) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -829,13 +830,13 @@ func (in *HostPortRange) DeepCopyInto(out *HostPortRange) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HostPortRange. -func (x *HostPortRange) DeepCopy() *HostPortRange { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortRange. +func (in *HostPortRange) DeepCopy() *HostPortRange { + if in == nil { return nil } out := new(HostPortRange) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -849,19 +850,19 @@ func (in *Ingress) DeepCopyInto(out *Ingress) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Ingress. -func (x *Ingress) DeepCopy() *Ingress { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress. +func (in *Ingress) DeepCopy() *Ingress { + if in == nil { return nil } out := new(Ingress) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Ingress) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Ingress) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -875,13 +876,13 @@ func (in *IngressBackend) DeepCopyInto(out *IngressBackend) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend. -func (x *IngressBackend) DeepCopy() *IngressBackend { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend. +func (in *IngressBackend) DeepCopy() *IngressBackend { + if in == nil { return nil } out := new(IngressBackend) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -900,19 +901,19 @@ func (in *IngressList) DeepCopyInto(out *IngressList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressList. -func (x *IngressList) DeepCopy() *IngressList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList. +func (in *IngressList) DeepCopy() *IngressList { + if in == nil { return nil } out := new(IngressList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *IngressList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *IngressList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -926,13 +927,13 @@ func (in *IngressRule) DeepCopyInto(out *IngressRule) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule. -func (x *IngressRule) DeepCopy() *IngressRule { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule. +func (in *IngressRule) DeepCopy() *IngressRule { + if in == nil { return nil } out := new(IngressRule) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -951,13 +952,13 @@ func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue. -func (x *IngressRuleValue) DeepCopy() *IngressRuleValue { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue. +func (in *IngressRuleValue) DeepCopy() *IngressRuleValue { + if in == nil { return nil } out := new(IngressRuleValue) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -990,13 +991,13 @@ func (in *IngressSpec) DeepCopyInto(out *IngressSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec. -func (x *IngressSpec) DeepCopy() *IngressSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec. +func (in *IngressSpec) DeepCopy() *IngressSpec { + if in == nil { return nil } out := new(IngressSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1007,13 +1008,13 @@ func (in *IngressStatus) DeepCopyInto(out *IngressStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus. -func (x *IngressStatus) DeepCopy() *IngressStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus. +func (in *IngressStatus) DeepCopy() *IngressStatus { + if in == nil { return nil } out := new(IngressStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1028,13 +1029,13 @@ func (in *IngressTLS) DeepCopyInto(out *IngressTLS) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS. -func (x *IngressTLS) DeepCopy() *IngressTLS { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS. +func (in *IngressTLS) DeepCopy() *IngressTLS { + if in == nil { return nil } out := new(IngressTLS) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1047,19 +1048,19 @@ func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy. -func (x *NetworkPolicy) DeepCopy() *NetworkPolicy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy. +func (in *NetworkPolicy) DeepCopy() *NetworkPolicy { + if in == nil { return nil } out := new(NetworkPolicy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NetworkPolicy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NetworkPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1086,13 +1087,13 @@ func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule. -func (x *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule. +func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule { + if in == nil { return nil } out := new(NetworkPolicyIngressRule) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1111,19 +1112,19 @@ func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList. -func (x *NetworkPolicyList) DeepCopy() *NetworkPolicyList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList. +func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList { + if in == nil { return nil } out := new(NetworkPolicyList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NetworkPolicyList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NetworkPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1154,13 +1155,13 @@ func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer. -func (x *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer. +func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer { + if in == nil { return nil } out := new(NetworkPolicyPeer) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1188,13 +1189,13 @@ func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort. -func (x *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort. +func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort { + if in == nil { return nil } out := new(NetworkPolicyPort) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1212,13 +1213,13 @@ func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec. -func (x *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec. +func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec { + if in == nil { return nil } out := new(NetworkPolicySpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1231,19 +1232,19 @@ func (in *PodSecurityPolicy) DeepCopyInto(out *PodSecurityPolicy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicy. -func (x *PodSecurityPolicy) DeepCopy() *PodSecurityPolicy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicy. +func (in *PodSecurityPolicy) DeepCopy() *PodSecurityPolicy { + if in == nil { return nil } out := new(PodSecurityPolicy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodSecurityPolicy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodSecurityPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1265,19 +1266,19 @@ func (in *PodSecurityPolicyList) DeepCopyInto(out *PodSecurityPolicyList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyList. -func (x *PodSecurityPolicyList) DeepCopy() *PodSecurityPolicyList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyList. +func (in *PodSecurityPolicyList) DeepCopy() *PodSecurityPolicyList { + if in == nil { return nil } out := new(PodSecurityPolicyList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodSecurityPolicyList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodSecurityPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1328,13 +1329,13 @@ func (in *PodSecurityPolicySpec) DeepCopyInto(out *PodSecurityPolicySpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySpec. -func (x *PodSecurityPolicySpec) DeepCopy() *PodSecurityPolicySpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySpec. +func (in *PodSecurityPolicySpec) DeepCopy() *PodSecurityPolicySpec { + if in == nil { return nil } out := new(PodSecurityPolicySpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1348,19 +1349,19 @@ func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet. -func (x *ReplicaSet) DeepCopy() *ReplicaSet { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet. +func (in *ReplicaSet) DeepCopy() *ReplicaSet { + if in == nil { return nil } out := new(ReplicaSet) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ReplicaSet) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ReplicaSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1374,13 +1375,13 @@ func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition. -func (x *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition. +func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition { + if in == nil { return nil } out := new(ReplicaSetCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1399,19 +1400,19 @@ func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList. -func (x *ReplicaSetList) DeepCopy() *ReplicaSetList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList. +func (in *ReplicaSetList) DeepCopy() *ReplicaSetList { + if in == nil { return nil } out := new(ReplicaSetList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ReplicaSetList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ReplicaSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1434,13 +1435,13 @@ func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec. -func (x *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec. +func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec { + if in == nil { return nil } out := new(ReplicaSetSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1457,13 +1458,13 @@ func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus. -func (x *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus. +func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus { + if in == nil { return nil } out := new(ReplicaSetStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1474,19 +1475,19 @@ func (in *ReplicationControllerDummy) DeepCopyInto(out *ReplicationControllerDum return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerDummy. -func (x *ReplicationControllerDummy) DeepCopy() *ReplicationControllerDummy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerDummy. +func (in *ReplicationControllerDummy) DeepCopy() *ReplicationControllerDummy { + if in == nil { return nil } out := new(ReplicationControllerDummy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ReplicationControllerDummy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ReplicationControllerDummy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1499,13 +1500,13 @@ func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig. -func (x *RollbackConfig) DeepCopy() *RollbackConfig { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig. +func (in *RollbackConfig) DeepCopy() *RollbackConfig { + if in == nil { return nil } out := new(RollbackConfig) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1516,13 +1517,13 @@ func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet. -func (x *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet. +func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet { + if in == nil { return nil } out := new(RollingUpdateDaemonSet) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1534,13 +1535,13 @@ func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment. -func (x *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment. +func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment { + if in == nil { return nil } out := new(RollingUpdateDeployment) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1555,13 +1556,13 @@ func (in *RunAsUserStrategyOptions) DeepCopyInto(out *RunAsUserStrategyOptions) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserStrategyOptions. -func (x *RunAsUserStrategyOptions) DeepCopy() *RunAsUserStrategyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserStrategyOptions. +func (in *RunAsUserStrategyOptions) DeepCopy() *RunAsUserStrategyOptions { + if in == nil { return nil } out := new(RunAsUserStrategyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1580,13 +1581,13 @@ func (in *SELinuxStrategyOptions) DeepCopyInto(out *SELinuxStrategyOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxStrategyOptions. -func (x *SELinuxStrategyOptions) DeepCopy() *SELinuxStrategyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxStrategyOptions. +func (in *SELinuxStrategyOptions) DeepCopy() *SELinuxStrategyOptions { + if in == nil { return nil } out := new(SELinuxStrategyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1600,19 +1601,19 @@ func (in *Scale) DeepCopyInto(out *Scale) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Scale. -func (x *Scale) DeepCopy() *Scale { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale. +func (in *Scale) DeepCopy() *Scale { + if in == nil { return nil } out := new(Scale) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Scale) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Scale) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1625,13 +1626,13 @@ func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. -func (x *ScaleSpec) DeepCopy() *ScaleSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. +func (in *ScaleSpec) DeepCopy() *ScaleSpec { + if in == nil { return nil } out := new(ScaleSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1650,13 +1651,13 @@ func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. -func (x *ScaleStatus) DeepCopy() *ScaleStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. +func (in *ScaleStatus) DeepCopy() *ScaleStatus { + if in == nil { return nil } out := new(ScaleStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1671,13 +1672,13 @@ func (in *SupplementalGroupsStrategyOptions) DeepCopyInto(out *SupplementalGroup return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsStrategyOptions. -func (x *SupplementalGroupsStrategyOptions) DeepCopy() *SupplementalGroupsStrategyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsStrategyOptions. +func (in *SupplementalGroupsStrategyOptions) DeepCopy() *SupplementalGroupsStrategyOptions { + if in == nil { return nil } out := new(SupplementalGroupsStrategyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1694,19 +1695,19 @@ func (in *ThirdPartyResource) DeepCopyInto(out *ThirdPartyResource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResource. -func (x *ThirdPartyResource) DeepCopy() *ThirdPartyResource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResource. +func (in *ThirdPartyResource) DeepCopy() *ThirdPartyResource { + if in == nil { return nil } out := new(ThirdPartyResource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ThirdPartyResource) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ThirdPartyResource) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1726,19 +1727,19 @@ func (in *ThirdPartyResourceData) DeepCopyInto(out *ThirdPartyResourceData) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResourceData. -func (x *ThirdPartyResourceData) DeepCopy() *ThirdPartyResourceData { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResourceData. +func (in *ThirdPartyResourceData) DeepCopy() *ThirdPartyResourceData { + if in == nil { return nil } out := new(ThirdPartyResourceData) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ThirdPartyResourceData) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ThirdPartyResourceData) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1760,19 +1761,19 @@ func (in *ThirdPartyResourceDataList) DeepCopyInto(out *ThirdPartyResourceDataLi return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResourceDataList. -func (x *ThirdPartyResourceDataList) DeepCopy() *ThirdPartyResourceDataList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResourceDataList. +func (in *ThirdPartyResourceDataList) DeepCopy() *ThirdPartyResourceDataList { + if in == nil { return nil } out := new(ThirdPartyResourceDataList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ThirdPartyResourceDataList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ThirdPartyResourceDataList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1794,19 +1795,19 @@ func (in *ThirdPartyResourceList) DeepCopyInto(out *ThirdPartyResourceList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResourceList. -func (x *ThirdPartyResourceList) DeepCopy() *ThirdPartyResourceList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResourceList. +func (in *ThirdPartyResourceList) DeepCopy() *ThirdPartyResourceList { + if in == nil { return nil } out := new(ThirdPartyResourceList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ThirdPartyResourceList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ThirdPartyResourceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1819,12 +1820,12 @@ func (in *UserIDRange) DeepCopyInto(out *UserIDRange) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UserIDRange. -func (x *UserIDRange) DeepCopy() *UserIDRange { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserIDRange. +func (in *UserIDRange) DeepCopy() *UserIDRange { + if in == nil { return nil } out := new(UserIDRange) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/imagepolicy/zz_generated.deepcopy.go b/pkg/apis/imagepolicy/zz_generated.deepcopy.go index 5cf3266b45e..aa752870e5a 100644 --- a/pkg/apis/imagepolicy/zz_generated.deepcopy.go +++ b/pkg/apis/imagepolicy/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -64,19 +65,19 @@ func (in *ImageReview) DeepCopyInto(out *ImageReview) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReview. -func (x *ImageReview) DeepCopy() *ImageReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReview. +func (in *ImageReview) DeepCopy() *ImageReview { + if in == nil { return nil } out := new(ImageReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ImageReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ImageReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -89,13 +90,13 @@ func (in *ImageReviewContainerSpec) DeepCopyInto(out *ImageReviewContainerSpec) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewContainerSpec. -func (x *ImageReviewContainerSpec) DeepCopy() *ImageReviewContainerSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewContainerSpec. +func (in *ImageReviewContainerSpec) DeepCopy() *ImageReviewContainerSpec { + if in == nil { return nil } out := new(ImageReviewContainerSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -117,13 +118,13 @@ func (in *ImageReviewSpec) DeepCopyInto(out *ImageReviewSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewSpec. -func (x *ImageReviewSpec) DeepCopy() *ImageReviewSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewSpec. +func (in *ImageReviewSpec) DeepCopy() *ImageReviewSpec { + if in == nil { return nil } out := new(ImageReviewSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -133,12 +134,12 @@ func (in *ImageReviewStatus) DeepCopyInto(out *ImageReviewStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewStatus. -func (x *ImageReviewStatus) DeepCopy() *ImageReviewStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewStatus. +func (in *ImageReviewStatus) DeepCopy() *ImageReviewStatus { + if in == nil { return nil } out := new(ImageReviewStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/networking/zz_generated.deepcopy.go b/pkg/apis/networking/zz_generated.deepcopy.go index 3268a72fff8..d68f23467bc 100644 --- a/pkg/apis/networking/zz_generated.deepcopy.go +++ b/pkg/apis/networking/zz_generated.deepcopy.go @@ -29,13 +29,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 { @@ -74,19 +75,19 @@ func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy. -func (x *NetworkPolicy) DeepCopy() *NetworkPolicy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy. +func (in *NetworkPolicy) DeepCopy() *NetworkPolicy { + if in == nil { return nil } out := new(NetworkPolicy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NetworkPolicy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NetworkPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -113,13 +114,13 @@ func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule. -func (x *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule. +func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule { + if in == nil { return nil } out := new(NetworkPolicyIngressRule) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -138,19 +139,19 @@ func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList. -func (x *NetworkPolicyList) DeepCopy() *NetworkPolicyList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList. +func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList { + if in == nil { return nil } out := new(NetworkPolicyList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NetworkPolicyList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NetworkPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -181,13 +182,13 @@ func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer. -func (x *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer. +func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer { + if in == nil { return nil } out := new(NetworkPolicyPeer) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -215,13 +216,13 @@ func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort. -func (x *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort. +func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort { + if in == nil { return nil } out := new(NetworkPolicyPort) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -239,12 +240,12 @@ func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec. -func (x *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec. +func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec { + if in == nil { return nil } out := new(NetworkPolicySpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go index 0fafbaa3ade..d4c2628057d 100644 --- a/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -76,19 +77,19 @@ func (in *Eviction) DeepCopyInto(out *Eviction) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Eviction. -func (x *Eviction) DeepCopy() *Eviction { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eviction. +func (in *Eviction) DeepCopy() *Eviction { + if in == nil { return nil } out := new(Eviction) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Eviction) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Eviction) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -105,19 +106,19 @@ func (in *PodDisruptionBudget) DeepCopyInto(out *PodDisruptionBudget) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget. -func (x *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget. +func (in *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget { + if in == nil { return nil } out := new(PodDisruptionBudget) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodDisruptionBudget) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodDisruptionBudget) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -139,19 +140,19 @@ func (in *PodDisruptionBudgetList) DeepCopyInto(out *PodDisruptionBudgetList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList. -func (x *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList. +func (in *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList { + if in == nil { return nil } out := new(PodDisruptionBudgetList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodDisruptionBudgetList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodDisruptionBudgetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -174,13 +175,13 @@ func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec. -func (x *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec. +func (in *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec { + if in == nil { return nil } out := new(PodDisruptionBudgetSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -190,12 +191,12 @@ func (in *PodDisruptionBudgetStatus) DeepCopyInto(out *PodDisruptionBudgetStatus return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus. -func (x *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus. +func (in *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus { + if in == nil { return nil } out := new(PodDisruptionBudgetStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/policy/zz_generated.deepcopy.go b/pkg/apis/policy/zz_generated.deepcopy.go index c94cb321c00..46dfdd8f4f0 100644 --- a/pkg/apis/policy/zz_generated.deepcopy.go +++ b/pkg/apis/policy/zz_generated.deepcopy.go @@ -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 { @@ -77,19 +78,19 @@ func (in *Eviction) DeepCopyInto(out *Eviction) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Eviction. -func (x *Eviction) DeepCopy() *Eviction { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eviction. +func (in *Eviction) DeepCopy() *Eviction { + if in == nil { return nil } out := new(Eviction) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Eviction) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Eviction) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -106,19 +107,19 @@ func (in *PodDisruptionBudget) DeepCopyInto(out *PodDisruptionBudget) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget. -func (x *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget. +func (in *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget { + if in == nil { return nil } out := new(PodDisruptionBudget) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodDisruptionBudget) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodDisruptionBudget) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -140,19 +141,19 @@ func (in *PodDisruptionBudgetList) DeepCopyInto(out *PodDisruptionBudgetList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList. -func (x *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList. +func (in *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList { + if in == nil { return nil } out := new(PodDisruptionBudgetList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodDisruptionBudgetList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodDisruptionBudgetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -192,13 +193,13 @@ func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec. -func (x *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec. +func (in *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec { + if in == nil { return nil } out := new(PodDisruptionBudgetSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -215,12 +216,12 @@ func (in *PodDisruptionBudgetStatus) DeepCopyInto(out *PodDisruptionBudgetStatus return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus. -func (x *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus. +func (in *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus { + if in == nil { return nil } out := new(PodDisruptionBudgetStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/rbac/zz_generated.deepcopy.go b/pkg/apis/rbac/zz_generated.deepcopy.go index a7ff5475c0c..ce11037427a 100644 --- a/pkg/apis/rbac/zz_generated.deepcopy.go +++ b/pkg/apis/rbac/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -97,19 +98,19 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole. -func (x *ClusterRole) DeepCopy() *ClusterRole { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole. +func (in *ClusterRole) DeepCopy() *ClusterRole { + if in == nil { return nil } out := new(ClusterRole) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterRole) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterRole) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -130,19 +131,19 @@ func (in *ClusterRoleBinding) DeepCopyInto(out *ClusterRoleBinding) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding. -func (x *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding. +func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding { + if in == nil { return nil } out := new(ClusterRoleBinding) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterRoleBinding) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterRoleBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -164,19 +165,19 @@ func (in *ClusterRoleBindingList) DeepCopyInto(out *ClusterRoleBindingList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList. -func (x *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList. +func (in *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList { + if in == nil { return nil } out := new(ClusterRoleBindingList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterRoleBindingList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterRoleBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -198,19 +199,19 @@ func (in *ClusterRoleList) DeepCopyInto(out *ClusterRoleList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList. -func (x *ClusterRoleList) DeepCopy() *ClusterRoleList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList. +func (in *ClusterRoleList) DeepCopy() *ClusterRoleList { + if in == nil { return nil } out := new(ClusterRoleList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterRoleList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterRoleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -248,13 +249,13 @@ func (in *PolicyRule) DeepCopyInto(out *PolicyRule) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. -func (x *PolicyRule) DeepCopy() *PolicyRule { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. +func (in *PolicyRule) DeepCopy() *PolicyRule { + if in == nil { return nil } out := new(PolicyRule) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -273,19 +274,19 @@ func (in *Role) DeepCopyInto(out *Role) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Role. -func (x *Role) DeepCopy() *Role { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role. +func (in *Role) DeepCopy() *Role { + if in == nil { return nil } out := new(Role) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Role) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Role) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -306,19 +307,19 @@ func (in *RoleBinding) DeepCopyInto(out *RoleBinding) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. -func (x *RoleBinding) DeepCopy() *RoleBinding { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. +func (in *RoleBinding) DeepCopy() *RoleBinding { + if in == nil { return nil } out := new(RoleBinding) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *RoleBinding) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *RoleBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -340,19 +341,19 @@ func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList. -func (x *RoleBindingList) DeepCopy() *RoleBindingList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList. +func (in *RoleBindingList) DeepCopy() *RoleBindingList { + if in == nil { return nil } out := new(RoleBindingList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *RoleBindingList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *RoleBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -374,19 +375,19 @@ func (in *RoleList) DeepCopyInto(out *RoleList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleList. -func (x *RoleList) DeepCopy() *RoleList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList. +func (in *RoleList) DeepCopy() *RoleList { + if in == nil { return nil } out := new(RoleList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *RoleList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *RoleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -399,13 +400,13 @@ func (in *RoleRef) DeepCopyInto(out *RoleRef) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef. -func (x *RoleRef) DeepCopy() *RoleRef { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef. +func (in *RoleRef) DeepCopy() *RoleRef { + if in == nil { return nil } out := new(RoleRef) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -415,12 +416,12 @@ func (in *Subject) DeepCopyInto(out *Subject) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Subject. -func (x *Subject) DeepCopy() *Subject { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject. +func (in *Subject) DeepCopy() *Subject { + if in == nil { return nil } out := new(Subject) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/scheduling/zz_generated.deepcopy.go b/pkg/apis/scheduling/zz_generated.deepcopy.go index 281e7ae07f6..9eb362fad5f 100644 --- a/pkg/apis/scheduling/zz_generated.deepcopy.go +++ b/pkg/apis/scheduling/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -54,19 +55,19 @@ func (in *PriorityClass) DeepCopyInto(out *PriorityClass) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass. -func (x *PriorityClass) DeepCopy() *PriorityClass { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass. +func (in *PriorityClass) DeepCopy() *PriorityClass { + if in == nil { return nil } out := new(PriorityClass) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PriorityClass) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PriorityClass) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -88,19 +89,19 @@ func (in *PriorityClassList) DeepCopyInto(out *PriorityClassList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList. -func (x *PriorityClassList) DeepCopy() *PriorityClassList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList. +func (in *PriorityClassList) DeepCopy() *PriorityClassList { + if in == nil { return nil } out := new(PriorityClassList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PriorityClassList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PriorityClassList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/pkg/apis/settings/zz_generated.deepcopy.go b/pkg/apis/settings/zz_generated.deepcopy.go index 03b3faa83aa..5d13b4ab569 100644 --- a/pkg/apis/settings/zz_generated.deepcopy.go +++ b/pkg/apis/settings/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -60,19 +61,19 @@ func (in *PodPreset) DeepCopyInto(out *PodPreset) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset. -func (x *PodPreset) DeepCopy() *PodPreset { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset. +func (in *PodPreset) DeepCopy() *PodPreset { + if in == nil { return nil } out := new(PodPreset) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodPreset) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodPreset) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -94,19 +95,19 @@ func (in *PodPresetList) DeepCopyInto(out *PodPresetList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetList. -func (x *PodPresetList) DeepCopy() *PodPresetList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetList. +func (in *PodPresetList) DeepCopy() *PodPresetList { + if in == nil { return nil } out := new(PodPresetList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodPresetList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodPresetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -146,12 +147,12 @@ func (in *PodPresetSpec) DeepCopyInto(out *PodPresetSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetSpec. -func (x *PodPresetSpec) DeepCopy() *PodPresetSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetSpec. +func (in *PodPresetSpec) DeepCopy() *PodPresetSpec { + if in == nil { return nil } out := new(PodPresetSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/pkg/apis/storage/zz_generated.deepcopy.go b/pkg/apis/storage/zz_generated.deepcopy.go index f941c16510b..d3dfe0a4d8c 100644 --- a/pkg/apis/storage/zz_generated.deepcopy.go +++ b/pkg/apis/storage/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -61,19 +62,19 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass. -func (x *StorageClass) DeepCopy() *StorageClass { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass. +func (in *StorageClass) DeepCopy() *StorageClass { + if in == nil { return nil } out := new(StorageClass) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *StorageClass) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *StorageClass) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -95,19 +96,19 @@ func (in *StorageClassList) DeepCopyInto(out *StorageClassList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList. -func (x *StorageClassList) DeepCopy() *StorageClassList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList. +func (in *StorageClassList) DeepCopy() *StorageClassList { + if in == nil { return nil } out := new(StorageClassList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *StorageClassList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *StorageClassList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/pkg/controller/garbagecollector/metaonly/zz_generated.deepcopy.go b/pkg/controller/garbagecollector/metaonly/zz_generated.deepcopy.go index d1fb7b9bf88..70e2946939a 100644 --- a/pkg/controller/garbagecollector/metaonly/zz_generated.deepcopy.go +++ b/pkg/controller/garbagecollector/metaonly/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -48,19 +50,19 @@ func (in *MetadataOnlyObject) DeepCopyInto(out *MetadataOnlyObject) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObject. -func (x *MetadataOnlyObject) DeepCopy() *MetadataOnlyObject { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObject. +func (in *MetadataOnlyObject) DeepCopy() *MetadataOnlyObject { + if in == nil { return nil } out := new(MetadataOnlyObject) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *MetadataOnlyObject) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *MetadataOnlyObject) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -82,19 +84,19 @@ func (in *MetadataOnlyObjectList) DeepCopyInto(out *MetadataOnlyObjectList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObjectList. -func (x *MetadataOnlyObjectList) DeepCopy() *MetadataOnlyObjectList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObjectList. +func (in *MetadataOnlyObjectList) DeepCopy() *MetadataOnlyObjectList { + if in == nil { return nil } out := new(MetadataOnlyObjectList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *MetadataOnlyObjectList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *MetadataOnlyObjectList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/pkg/kubectl/cmd/testing/zz_generated.deepcopy.go b/pkg/kubectl/cmd/testing/zz_generated.deepcopy.go index a43305da476..08c8d321cc3 100644 --- a/pkg/kubectl/cmd/testing/zz_generated.deepcopy.go +++ b/pkg/kubectl/cmd/testing/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -62,19 +64,19 @@ func (in *ExternalNamespacedType) DeepCopyInto(out *ExternalNamespacedType) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType. -func (x *ExternalNamespacedType) DeepCopy() *ExternalNamespacedType { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType. +func (in *ExternalNamespacedType) DeepCopy() *ExternalNamespacedType { + if in == nil { return nil } out := new(ExternalNamespacedType) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalNamespacedType) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalNamespacedType) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -87,19 +89,19 @@ func (in *ExternalNamespacedType2) DeepCopyInto(out *ExternalNamespacedType2) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType2. -func (x *ExternalNamespacedType2) DeepCopy() *ExternalNamespacedType2 { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType2. +func (in *ExternalNamespacedType2) DeepCopy() *ExternalNamespacedType2 { + if in == nil { return nil } out := new(ExternalNamespacedType2) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalNamespacedType2) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalNamespacedType2) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -112,19 +114,19 @@ func (in *ExternalType) DeepCopyInto(out *ExternalType) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType. -func (x *ExternalType) DeepCopy() *ExternalType { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType. +func (in *ExternalType) DeepCopy() *ExternalType { + if in == nil { return nil } out := new(ExternalType) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalType) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalType) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -137,19 +139,19 @@ func (in *ExternalType2) DeepCopyInto(out *ExternalType2) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType2. -func (x *ExternalType2) DeepCopy() *ExternalType2 { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType2. +func (in *ExternalType2) DeepCopy() *ExternalType2 { + if in == nil { return nil } out := new(ExternalType2) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalType2) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalType2) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -162,19 +164,19 @@ func (in *InternalNamespacedType) DeepCopyInto(out *InternalNamespacedType) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalNamespacedType. -func (x *InternalNamespacedType) DeepCopy() *InternalNamespacedType { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalNamespacedType. +func (in *InternalNamespacedType) DeepCopy() *InternalNamespacedType { + if in == nil { return nil } out := new(InternalNamespacedType) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *InternalNamespacedType) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *InternalNamespacedType) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -187,19 +189,19 @@ func (in *InternalType) DeepCopyInto(out *InternalType) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalType. -func (x *InternalType) DeepCopy() *InternalType { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalType. +func (in *InternalType) DeepCopy() *InternalType { + if in == nil { return nil } out := new(InternalType) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *InternalType) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *InternalType) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/v1alpha1/zz_generated.deepcopy.go b/plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/v1alpha1/zz_generated.deepcopy.go index fcf14588fcd..3f9e04a1d05 100644 --- a/plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/v1alpha1/zz_generated.deepcopy.go +++ b/plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/v1alpha1/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -64,19 +65,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. -func (x *Configuration) DeepCopy() *Configuration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. +func (in *Configuration) DeepCopy() *Configuration { + if in == nil { return nil } out := new(Configuration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Configuration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Configuration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/zz_generated.deepcopy.go b/plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/zz_generated.deepcopy.go index 4d7dc3d7e72..8760a045b0f 100644 --- a/plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/zz_generated.deepcopy.go +++ b/plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -64,19 +65,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. -func (x *Configuration) DeepCopy() *Configuration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. +func (in *Configuration) DeepCopy() *Configuration { + if in == nil { return nil } out := new(Configuration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Configuration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Configuration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/plugin/pkg/admission/resourcequota/apis/resourcequota/v1alpha1/zz_generated.deepcopy.go b/plugin/pkg/admission/resourcequota/apis/resourcequota/v1alpha1/zz_generated.deepcopy.go index b3d3125752d..7146088ff44 100644 --- a/plugin/pkg/admission/resourcequota/apis/resourcequota/v1alpha1/zz_generated.deepcopy.go +++ b/plugin/pkg/admission/resourcequota/apis/resourcequota/v1alpha1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -60,19 +61,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. -func (x *Configuration) DeepCopy() *Configuration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. +func (in *Configuration) DeepCopy() *Configuration { + if in == nil { return nil } out := new(Configuration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Configuration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Configuration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -90,12 +91,12 @@ func (in *LimitedResource) DeepCopyInto(out *LimitedResource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitedResource. -func (x *LimitedResource) DeepCopy() *LimitedResource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitedResource. +func (in *LimitedResource) DeepCopy() *LimitedResource { + if in == nil { return nil } out := new(LimitedResource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/plugin/pkg/admission/resourcequota/apis/resourcequota/zz_generated.deepcopy.go b/plugin/pkg/admission/resourcequota/apis/resourcequota/zz_generated.deepcopy.go index 79eb53f01f1..697a99623ee 100644 --- a/plugin/pkg/admission/resourcequota/apis/resourcequota/zz_generated.deepcopy.go +++ b/plugin/pkg/admission/resourcequota/apis/resourcequota/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -60,19 +61,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. -func (x *Configuration) DeepCopy() *Configuration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. +func (in *Configuration) DeepCopy() *Configuration { + if in == nil { return nil } out := new(Configuration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Configuration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Configuration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -90,12 +91,12 @@ func (in *LimitedResource) DeepCopyInto(out *LimitedResource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitedResource. -func (x *LimitedResource) DeepCopy() *LimitedResource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitedResource. +func (in *LimitedResource) DeepCopy() *LimitedResource { + if in == nil { return nil } out := new(LimitedResource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/plugin/pkg/scheduler/api/v1/zz_generated.deepcopy.go b/plugin/pkg/scheduler/api/v1/zz_generated.deepcopy.go index 7b8a39531c9..577a3c7f3e4 100644 --- a/plugin/pkg/scheduler/api/v1/zz_generated.deepcopy.go +++ b/plugin/pkg/scheduler/api/v1/zz_generated.deepcopy.go @@ -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 { @@ -129,13 +130,13 @@ func (in *ExtenderArgs) DeepCopyInto(out *ExtenderArgs) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderArgs. -func (x *ExtenderArgs) DeepCopy() *ExtenderArgs { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderArgs. +func (in *ExtenderArgs) DeepCopy() *ExtenderArgs { + if in == nil { return nil } out := new(ExtenderArgs) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -145,13 +146,13 @@ func (in *ExtenderBindingArgs) DeepCopyInto(out *ExtenderBindingArgs) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingArgs. -func (x *ExtenderBindingArgs) DeepCopy() *ExtenderBindingArgs { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingArgs. +func (in *ExtenderBindingArgs) DeepCopy() *ExtenderBindingArgs { + if in == nil { return nil } out := new(ExtenderBindingArgs) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -161,13 +162,13 @@ func (in *ExtenderBindingResult) DeepCopyInto(out *ExtenderBindingResult) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingResult. -func (x *ExtenderBindingResult) DeepCopy() *ExtenderBindingResult { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingResult. +func (in *ExtenderBindingResult) DeepCopy() *ExtenderBindingResult { + if in == nil { return nil } out := new(ExtenderBindingResult) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -186,13 +187,13 @@ func (in *ExtenderConfig) DeepCopyInto(out *ExtenderConfig) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderConfig. -func (x *ExtenderConfig) DeepCopy() *ExtenderConfig { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderConfig. +func (in *ExtenderConfig) DeepCopy() *ExtenderConfig { + if in == nil { return nil } out := new(ExtenderConfig) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -231,13 +232,13 @@ func (in *ExtenderFilterResult) DeepCopyInto(out *ExtenderFilterResult) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderFilterResult. -func (x *ExtenderFilterResult) DeepCopy() *ExtenderFilterResult { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderFilterResult. +func (in *ExtenderFilterResult) DeepCopy() *ExtenderFilterResult { + if in == nil { return nil } out := new(ExtenderFilterResult) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -247,13 +248,13 @@ func (in *HostPriority) DeepCopyInto(out *HostPriority) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HostPriority. -func (x *HostPriority) DeepCopy() *HostPriority { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPriority. +func (in *HostPriority) DeepCopy() *HostPriority { + if in == nil { return nil } out := new(HostPriority) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -263,13 +264,13 @@ func (in *LabelPreference) DeepCopyInto(out *LabelPreference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelPreference. -func (x *LabelPreference) DeepCopy() *LabelPreference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelPreference. +func (in *LabelPreference) DeepCopy() *LabelPreference { + if in == nil { return nil } out := new(LabelPreference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -284,13 +285,13 @@ func (in *LabelsPresence) DeepCopyInto(out *LabelsPresence) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelsPresence. -func (x *LabelsPresence) DeepCopy() *LabelsPresence { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsPresence. +func (in *LabelsPresence) DeepCopy() *LabelsPresence { + if in == nil { return nil } out := new(LabelsPresence) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -322,19 +323,19 @@ func (in *Policy) DeepCopyInto(out *Policy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. -func (x *Policy) DeepCopy() *Policy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. +func (in *Policy) DeepCopy() *Policy { + if in == nil { return nil } out := new(Policy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Policy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Policy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -365,13 +366,13 @@ func (in *PredicateArgument) DeepCopyInto(out *PredicateArgument) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PredicateArgument. -func (x *PredicateArgument) DeepCopy() *PredicateArgument { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicateArgument. +func (in *PredicateArgument) DeepCopy() *PredicateArgument { + if in == nil { return nil } out := new(PredicateArgument) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -390,13 +391,13 @@ func (in *PredicatePolicy) DeepCopyInto(out *PredicatePolicy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PredicatePolicy. -func (x *PredicatePolicy) DeepCopy() *PredicatePolicy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicatePolicy. +func (in *PredicatePolicy) DeepCopy() *PredicatePolicy { + if in == nil { return nil } out := new(PredicatePolicy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -424,13 +425,13 @@ func (in *PriorityArgument) DeepCopyInto(out *PriorityArgument) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityArgument. -func (x *PriorityArgument) DeepCopy() *PriorityArgument { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityArgument. +func (in *PriorityArgument) DeepCopy() *PriorityArgument { + if in == nil { return nil } out := new(PriorityArgument) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -449,13 +450,13 @@ func (in *PriorityPolicy) DeepCopyInto(out *PriorityPolicy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityPolicy. -func (x *PriorityPolicy) DeepCopy() *PriorityPolicy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityPolicy. +func (in *PriorityPolicy) DeepCopy() *PriorityPolicy { + if in == nil { return nil } out := new(PriorityPolicy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -470,13 +471,13 @@ func (in *ServiceAffinity) DeepCopyInto(out *ServiceAffinity) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAffinity. -func (x *ServiceAffinity) DeepCopy() *ServiceAffinity { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAffinity. +func (in *ServiceAffinity) DeepCopy() *ServiceAffinity { + if in == nil { return nil } out := new(ServiceAffinity) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -486,12 +487,12 @@ func (in *ServiceAntiAffinity) DeepCopyInto(out *ServiceAntiAffinity) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAntiAffinity. -func (x *ServiceAntiAffinity) DeepCopy() *ServiceAntiAffinity { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAntiAffinity. +func (in *ServiceAntiAffinity) DeepCopy() *ServiceAntiAffinity { + if in == nil { return nil } out := new(ServiceAntiAffinity) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/plugin/pkg/scheduler/api/zz_generated.deepcopy.go b/plugin/pkg/scheduler/api/zz_generated.deepcopy.go index 1be8be7cbe7..b5288e26e5b 100644 --- a/plugin/pkg/scheduler/api/zz_generated.deepcopy.go +++ b/plugin/pkg/scheduler/api/zz_generated.deepcopy.go @@ -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 { @@ -129,13 +130,13 @@ func (in *ExtenderArgs) DeepCopyInto(out *ExtenderArgs) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderArgs. -func (x *ExtenderArgs) DeepCopy() *ExtenderArgs { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderArgs. +func (in *ExtenderArgs) DeepCopy() *ExtenderArgs { + if in == nil { return nil } out := new(ExtenderArgs) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -145,13 +146,13 @@ func (in *ExtenderBindingArgs) DeepCopyInto(out *ExtenderBindingArgs) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingArgs. -func (x *ExtenderBindingArgs) DeepCopy() *ExtenderBindingArgs { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingArgs. +func (in *ExtenderBindingArgs) DeepCopy() *ExtenderBindingArgs { + if in == nil { return nil } out := new(ExtenderBindingArgs) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -161,13 +162,13 @@ func (in *ExtenderBindingResult) DeepCopyInto(out *ExtenderBindingResult) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingResult. -func (x *ExtenderBindingResult) DeepCopy() *ExtenderBindingResult { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingResult. +func (in *ExtenderBindingResult) DeepCopy() *ExtenderBindingResult { + if in == nil { return nil } out := new(ExtenderBindingResult) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -186,13 +187,13 @@ func (in *ExtenderConfig) DeepCopyInto(out *ExtenderConfig) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderConfig. -func (x *ExtenderConfig) DeepCopy() *ExtenderConfig { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderConfig. +func (in *ExtenderConfig) DeepCopy() *ExtenderConfig { + if in == nil { return nil } out := new(ExtenderConfig) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -231,13 +232,13 @@ func (in *ExtenderFilterResult) DeepCopyInto(out *ExtenderFilterResult) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderFilterResult. -func (x *ExtenderFilterResult) DeepCopy() *ExtenderFilterResult { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderFilterResult. +func (in *ExtenderFilterResult) DeepCopy() *ExtenderFilterResult { + if in == nil { return nil } out := new(ExtenderFilterResult) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -247,13 +248,13 @@ func (in *HostPriority) DeepCopyInto(out *HostPriority) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HostPriority. -func (x *HostPriority) DeepCopy() *HostPriority { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPriority. +func (in *HostPriority) DeepCopy() *HostPriority { + if in == nil { return nil } out := new(HostPriority) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -263,13 +264,13 @@ func (in *LabelPreference) DeepCopyInto(out *LabelPreference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelPreference. -func (x *LabelPreference) DeepCopy() *LabelPreference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelPreference. +func (in *LabelPreference) DeepCopy() *LabelPreference { + if in == nil { return nil } out := new(LabelPreference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -284,13 +285,13 @@ func (in *LabelsPresence) DeepCopyInto(out *LabelsPresence) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelsPresence. -func (x *LabelsPresence) DeepCopy() *LabelsPresence { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsPresence. +func (in *LabelsPresence) DeepCopy() *LabelsPresence { + if in == nil { return nil } out := new(LabelsPresence) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -322,19 +323,19 @@ func (in *Policy) DeepCopyInto(out *Policy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. -func (x *Policy) DeepCopy() *Policy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. +func (in *Policy) DeepCopy() *Policy { + if in == nil { return nil } out := new(Policy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Policy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Policy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -365,13 +366,13 @@ func (in *PredicateArgument) DeepCopyInto(out *PredicateArgument) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PredicateArgument. -func (x *PredicateArgument) DeepCopy() *PredicateArgument { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicateArgument. +func (in *PredicateArgument) DeepCopy() *PredicateArgument { + if in == nil { return nil } out := new(PredicateArgument) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -390,13 +391,13 @@ func (in *PredicatePolicy) DeepCopyInto(out *PredicatePolicy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PredicatePolicy. -func (x *PredicatePolicy) DeepCopy() *PredicatePolicy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicatePolicy. +func (in *PredicatePolicy) DeepCopy() *PredicatePolicy { + if in == nil { return nil } out := new(PredicatePolicy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -424,13 +425,13 @@ func (in *PriorityArgument) DeepCopyInto(out *PriorityArgument) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityArgument. -func (x *PriorityArgument) DeepCopy() *PriorityArgument { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityArgument. +func (in *PriorityArgument) DeepCopy() *PriorityArgument { + if in == nil { return nil } out := new(PriorityArgument) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -449,13 +450,13 @@ func (in *PriorityPolicy) DeepCopyInto(out *PriorityPolicy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityPolicy. -func (x *PriorityPolicy) DeepCopy() *PriorityPolicy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityPolicy. +func (in *PriorityPolicy) DeepCopy() *PriorityPolicy { + if in == nil { return nil } out := new(PriorityPolicy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -470,13 +471,13 @@ func (in *ServiceAffinity) DeepCopyInto(out *ServiceAffinity) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAffinity. -func (x *ServiceAffinity) DeepCopy() *ServiceAffinity { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAffinity. +func (in *ServiceAffinity) DeepCopy() *ServiceAffinity { + if in == nil { return nil } out := new(ServiceAffinity) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -486,12 +487,12 @@ func (in *ServiceAntiAffinity) DeepCopyInto(out *ServiceAntiAffinity) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAntiAffinity. -func (x *ServiceAntiAffinity) DeepCopy() *ServiceAntiAffinity { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAntiAffinity. +func (in *ServiceAntiAffinity) DeepCopy() *ServiceAntiAffinity { + if in == nil { return nil } out := new(ServiceAntiAffinity) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/admission/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/admission/v1alpha1/zz_generated.deepcopy.go index d67a1520f4e..667792aeb68 100644 --- a/staging/src/k8s.io/api/admission/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/admission/v1alpha1/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -60,19 +61,19 @@ func (in *AdmissionReview) DeepCopyInto(out *AdmissionReview) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview. -func (x *AdmissionReview) DeepCopy() *AdmissionReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview. +func (in *AdmissionReview) DeepCopy() *AdmissionReview { + if in == nil { return nil } out := new(AdmissionReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *AdmissionReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *AdmissionReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -90,13 +91,13 @@ func (in *AdmissionReviewSpec) DeepCopyInto(out *AdmissionReviewSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewSpec. -func (x *AdmissionReviewSpec) DeepCopy() *AdmissionReviewSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewSpec. +func (in *AdmissionReviewSpec) DeepCopy() *AdmissionReviewSpec { + if in == nil { return nil } out := new(AdmissionReviewSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -115,12 +116,12 @@ func (in *AdmissionReviewStatus) DeepCopyInto(out *AdmissionReviewStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewStatus. -func (x *AdmissionReviewStatus) DeepCopy() *AdmissionReviewStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewStatus. +func (in *AdmissionReviewStatus) DeepCopy() *AdmissionReviewStatus { + if in == nil { return nil } out := new(AdmissionReviewStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/admissionregistration/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/admissionregistration/v1alpha1/zz_generated.deepcopy.go index 90a61ca1199..05a3a797f97 100644 --- a/staging/src/k8s.io/api/admissionregistration/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/admissionregistration/v1alpha1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -90,13 +91,13 @@ func (in *AdmissionHookClientConfig) DeepCopyInto(out *AdmissionHookClientConfig return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionHookClientConfig. -func (x *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionHookClientConfig. +func (in *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig { + if in == nil { return nil } out := new(AdmissionHookClientConfig) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -123,13 +124,13 @@ func (in *ExternalAdmissionHook) DeepCopyInto(out *ExternalAdmissionHook) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHook. -func (x *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHook. +func (in *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook { + if in == nil { return nil } out := new(ExternalAdmissionHook) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -148,19 +149,19 @@ func (in *ExternalAdmissionHookConfiguration) DeepCopyInto(out *ExternalAdmissio return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfiguration. -func (x *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfiguration. +func (in *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration { + if in == nil { return nil } out := new(ExternalAdmissionHookConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -182,19 +183,19 @@ func (in *ExternalAdmissionHookConfigurationList) DeepCopyInto(out *ExternalAdmi return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfigurationList. -func (x *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfigurationList. +func (in *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList { + if in == nil { return nil } out := new(ExternalAdmissionHookConfigurationList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -223,13 +224,13 @@ func (in *Initializer) DeepCopyInto(out *Initializer) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Initializer. -func (x *Initializer) DeepCopy() *Initializer { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializer. +func (in *Initializer) DeepCopy() *Initializer { + if in == nil { return nil } out := new(Initializer) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -248,19 +249,19 @@ func (in *InitializerConfiguration) DeepCopyInto(out *InitializerConfiguration) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration. -func (x *InitializerConfiguration) DeepCopy() *InitializerConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration. +func (in *InitializerConfiguration) DeepCopy() *InitializerConfiguration { + if in == nil { return nil } out := new(InitializerConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *InitializerConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *InitializerConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -282,19 +283,19 @@ func (in *InitializerConfigurationList) DeepCopyInto(out *InitializerConfigurati return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList. -func (x *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList. +func (in *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList { + if in == nil { return nil } out := new(InitializerConfigurationList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *InitializerConfigurationList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *InitializerConfigurationList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -322,13 +323,13 @@ func (in *Rule) DeepCopyInto(out *Rule) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Rule. -func (x *Rule) DeepCopy() *Rule { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule. +func (in *Rule) DeepCopy() *Rule { + if in == nil { return nil } out := new(Rule) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -344,13 +345,13 @@ func (in *RuleWithOperations) DeepCopyInto(out *RuleWithOperations) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations. -func (x *RuleWithOperations) DeepCopy() *RuleWithOperations { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations. +func (in *RuleWithOperations) DeepCopy() *RuleWithOperations { + if in == nil { return nil } out := new(RuleWithOperations) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -360,12 +361,12 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. -func (x *ServiceReference) DeepCopy() *ServiceReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. +func (in *ServiceReference) DeepCopy() *ServiceReference { + if in == nil { return nil } out := new(ServiceReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/apps/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/apps/v1beta1/zz_generated.deepcopy.go index 352d5c3ac1c..0531f834e73 100644 --- a/staging/src/k8s.io/api/apps/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/apps/v1beta1/zz_generated.deepcopy.go @@ -29,13 +29,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 { @@ -130,19 +131,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 @@ -164,19 +165,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 @@ -193,19 +194,19 @@ func (in *Deployment) DeepCopyInto(out *Deployment) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Deployment. -func (x *Deployment) DeepCopy() *Deployment { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment. +func (in *Deployment) DeepCopy() *Deployment { + if in == nil { return nil } out := new(Deployment) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Deployment) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Deployment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -220,13 +221,13 @@ func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition. -func (x *DeploymentCondition) DeepCopy() *DeploymentCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition. +func (in *DeploymentCondition) DeepCopy() *DeploymentCondition { + if in == nil { return nil } out := new(DeploymentCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -245,19 +246,19 @@ func (in *DeploymentList) DeepCopyInto(out *DeploymentList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList. -func (x *DeploymentList) DeepCopy() *DeploymentList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList. +func (in *DeploymentList) DeepCopy() *DeploymentList { + if in == nil { return nil } out := new(DeploymentList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DeploymentList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DeploymentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -279,19 +280,19 @@ func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback. -func (x *DeploymentRollback) DeepCopy() *DeploymentRollback { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback. +func (in *DeploymentRollback) DeepCopy() *DeploymentRollback { + if in == nil { return nil } out := new(DeploymentRollback) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DeploymentRollback) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DeploymentRollback) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -351,13 +352,13 @@ func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec. -func (x *DeploymentSpec) DeepCopy() *DeploymentSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec. +func (in *DeploymentSpec) DeepCopy() *DeploymentSpec { + if in == nil { return nil } out := new(DeploymentSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -383,13 +384,13 @@ func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus. -func (x *DeploymentStatus) DeepCopy() *DeploymentStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus. +func (in *DeploymentStatus) DeepCopy() *DeploymentStatus { + if in == nil { return nil } out := new(DeploymentStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -408,13 +409,13 @@ func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy. -func (x *DeploymentStrategy) DeepCopy() *DeploymentStrategy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy. +func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy { + if in == nil { return nil } out := new(DeploymentStrategy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -424,13 +425,13 @@ func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig. -func (x *RollbackConfig) DeepCopy() *RollbackConfig { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig. +func (in *RollbackConfig) DeepCopy() *RollbackConfig { + if in == nil { return nil } out := new(RollbackConfig) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -458,13 +459,13 @@ func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment. -func (x *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment. +func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment { + if in == nil { return nil } out := new(RollingUpdateDeployment) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -483,13 +484,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 } @@ -503,19 +504,19 @@ func (in *Scale) DeepCopyInto(out *Scale) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Scale. -func (x *Scale) DeepCopy() *Scale { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale. +func (in *Scale) DeepCopy() *Scale { + if in == nil { return nil } out := new(Scale) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Scale) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Scale) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -528,13 +529,13 @@ func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. -func (x *ScaleSpec) DeepCopy() *ScaleSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. +func (in *ScaleSpec) DeepCopy() *ScaleSpec { + if in == nil { return nil } out := new(ScaleSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -551,13 +552,13 @@ func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. -func (x *ScaleStatus) DeepCopy() *ScaleStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. +func (in *ScaleStatus) DeepCopy() *ScaleStatus { + if in == nil { return nil } out := new(ScaleStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -571,19 +572,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 @@ -605,19 +606,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 @@ -666,13 +667,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 } @@ -691,13 +692,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 } @@ -716,12 +717,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 } diff --git a/staging/src/k8s.io/api/apps/v1beta2/zz_generated.deepcopy.go b/staging/src/k8s.io/api/apps/v1beta2/zz_generated.deepcopy.go index 7f5ebaedfcd..bfc0ec48a8f 100644 --- a/staging/src/k8s.io/api/apps/v1beta2/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/apps/v1beta2/zz_generated.deepcopy.go @@ -29,13 +29,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 { @@ -167,19 +168,19 @@ func (in *DaemonSet) DeepCopyInto(out *DaemonSet) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet. -func (x *DaemonSet) DeepCopy() *DaemonSet { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet. +func (in *DaemonSet) DeepCopy() *DaemonSet { + if in == nil { return nil } out := new(DaemonSet) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DaemonSet) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DaemonSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -201,19 +202,19 @@ func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList. -func (x *DaemonSetList) DeepCopy() *DaemonSetList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList. +func (in *DaemonSetList) DeepCopy() *DaemonSetList { + if in == nil { return nil } out := new(DaemonSetList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DaemonSetList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DaemonSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -246,13 +247,13 @@ func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec. -func (x *DaemonSetSpec) DeepCopy() *DaemonSetSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec. +func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec { + if in == nil { return nil } out := new(DaemonSetSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -271,13 +272,13 @@ func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus. -func (x *DaemonSetStatus) DeepCopy() *DaemonSetStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus. +func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus { + if in == nil { return nil } out := new(DaemonSetStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -296,13 +297,13 @@ func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy. -func (x *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy. +func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy { + if in == nil { return nil } out := new(DaemonSetUpdateStrategy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -316,19 +317,19 @@ func (in *Deployment) DeepCopyInto(out *Deployment) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Deployment. -func (x *Deployment) DeepCopy() *Deployment { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment. +func (in *Deployment) DeepCopy() *Deployment { + if in == nil { return nil } out := new(Deployment) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Deployment) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Deployment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -343,13 +344,13 @@ func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition. -func (x *DeploymentCondition) DeepCopy() *DeploymentCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition. +func (in *DeploymentCondition) DeepCopy() *DeploymentCondition { + if in == nil { return nil } out := new(DeploymentCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -368,19 +369,19 @@ func (in *DeploymentList) DeepCopyInto(out *DeploymentList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList. -func (x *DeploymentList) DeepCopy() *DeploymentList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList. +func (in *DeploymentList) DeepCopy() *DeploymentList { + if in == nil { return nil } out := new(DeploymentList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DeploymentList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DeploymentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -402,19 +403,19 @@ func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback. -func (x *DeploymentRollback) DeepCopy() *DeploymentRollback { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback. +func (in *DeploymentRollback) DeepCopy() *DeploymentRollback { + if in == nil { return nil } out := new(DeploymentRollback) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DeploymentRollback) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DeploymentRollback) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -474,13 +475,13 @@ func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec. -func (x *DeploymentSpec) DeepCopy() *DeploymentSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec. +func (in *DeploymentSpec) DeepCopy() *DeploymentSpec { + if in == nil { return nil } out := new(DeploymentSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -506,13 +507,13 @@ func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus. -func (x *DeploymentStatus) DeepCopy() *DeploymentStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus. +func (in *DeploymentStatus) DeepCopy() *DeploymentStatus { + if in == nil { return nil } out := new(DeploymentStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -531,13 +532,13 @@ func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy. -func (x *DeploymentStrategy) DeepCopy() *DeploymentStrategy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy. +func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy { + if in == nil { return nil } out := new(DeploymentStrategy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -551,19 +552,19 @@ func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet. -func (x *ReplicaSet) DeepCopy() *ReplicaSet { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet. +func (in *ReplicaSet) DeepCopy() *ReplicaSet { + if in == nil { return nil } out := new(ReplicaSet) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ReplicaSet) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ReplicaSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -577,13 +578,13 @@ func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition. -func (x *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition. +func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition { + if in == nil { return nil } out := new(ReplicaSetCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -602,19 +603,19 @@ func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList. -func (x *ReplicaSetList) DeepCopy() *ReplicaSetList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList. +func (in *ReplicaSetList) DeepCopy() *ReplicaSetList { + if in == nil { return nil } out := new(ReplicaSetList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ReplicaSetList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ReplicaSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -646,13 +647,13 @@ func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec. -func (x *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec. +func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec { + if in == nil { return nil } out := new(ReplicaSetSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -669,13 +670,13 @@ func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus. -func (x *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus. +func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus { + if in == nil { return nil } out := new(ReplicaSetStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -685,13 +686,13 @@ func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig. -func (x *RollbackConfig) DeepCopy() *RollbackConfig { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig. +func (in *RollbackConfig) DeepCopy() *RollbackConfig { + if in == nil { return nil } out := new(RollbackConfig) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -710,13 +711,13 @@ func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet. -func (x *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet. +func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet { + if in == nil { return nil } out := new(RollingUpdateDaemonSet) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -744,13 +745,13 @@ func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment. -func (x *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment. +func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment { + if in == nil { return nil } out := new(RollingUpdateDeployment) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -769,13 +770,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 } @@ -789,19 +790,19 @@ func (in *Scale) DeepCopyInto(out *Scale) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Scale. -func (x *Scale) DeepCopy() *Scale { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale. +func (in *Scale) DeepCopy() *Scale { + if in == nil { return nil } out := new(Scale) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Scale) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Scale) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -814,13 +815,13 @@ func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. -func (x *ScaleSpec) DeepCopy() *ScaleSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. +func (in *ScaleSpec) DeepCopy() *ScaleSpec { + if in == nil { return nil } out := new(ScaleSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -837,13 +838,13 @@ func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. -func (x *ScaleStatus) DeepCopy() *ScaleStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. +func (in *ScaleStatus) DeepCopy() *ScaleStatus { + if in == nil { return nil } out := new(ScaleStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -857,19 +858,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 @@ -891,19 +892,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 @@ -952,13 +953,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 } @@ -977,13 +978,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 } @@ -1002,12 +1003,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 } diff --git a/staging/src/k8s.io/api/authentication/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/authentication/v1/zz_generated.deepcopy.go index 8a1bb489cc3..c1717c1cd86 100644 --- a/staging/src/k8s.io/api/authentication/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/authentication/v1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -64,19 +65,19 @@ func (in *TokenReview) DeepCopyInto(out *TokenReview) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview. -func (x *TokenReview) DeepCopy() *TokenReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview. +func (in *TokenReview) DeepCopy() *TokenReview { + if in == nil { return nil } out := new(TokenReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TokenReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TokenReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -89,13 +90,13 @@ func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec. -func (x *TokenReviewSpec) DeepCopy() *TokenReviewSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec. +func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec { + if in == nil { return nil } out := new(TokenReviewSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -106,13 +107,13 @@ func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus. -func (x *TokenReviewStatus) DeepCopy() *TokenReviewStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus. +func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus { + if in == nil { return nil } out := new(TokenReviewStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -135,12 +136,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. -func (x *UserInfo) DeepCopy() *UserInfo { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. +func (in *UserInfo) DeepCopy() *UserInfo { + if in == nil { return nil } out := new(UserInfo) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/authentication/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/authentication/v1beta1/zz_generated.deepcopy.go index ba99cf92052..1b94ececa1f 100644 --- a/staging/src/k8s.io/api/authentication/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/authentication/v1beta1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -64,19 +65,19 @@ func (in *TokenReview) DeepCopyInto(out *TokenReview) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview. -func (x *TokenReview) DeepCopy() *TokenReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview. +func (in *TokenReview) DeepCopy() *TokenReview { + if in == nil { return nil } out := new(TokenReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TokenReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TokenReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -89,13 +90,13 @@ func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec. -func (x *TokenReviewSpec) DeepCopy() *TokenReviewSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec. +func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec { + if in == nil { return nil } out := new(TokenReviewSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -106,13 +107,13 @@ func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus. -func (x *TokenReviewStatus) DeepCopy() *TokenReviewStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus. +func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus { + if in == nil { return nil } out := new(TokenReviewStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -135,12 +136,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. -func (x *UserInfo) DeepCopy() *UserInfo { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. +func (in *UserInfo) DeepCopy() *UserInfo { + if in == nil { return nil } out := new(UserInfo) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/authorization/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/authorization/v1/zz_generated.deepcopy.go index 7187b1a0549..7ecb7503315 100644 --- a/staging/src/k8s.io/api/authorization/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/authorization/v1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -80,19 +81,19 @@ func (in *LocalSubjectAccessReview) DeepCopyInto(out *LocalSubjectAccessReview) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview. -func (x *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview. +func (in *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview { + if in == nil { return nil } out := new(LocalSubjectAccessReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *LocalSubjectAccessReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *LocalSubjectAccessReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -105,13 +106,13 @@ func (in *NonResourceAttributes) DeepCopyInto(out *NonResourceAttributes) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes. -func (x *NonResourceAttributes) DeepCopy() *NonResourceAttributes { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes. +func (in *NonResourceAttributes) DeepCopy() *NonResourceAttributes { + if in == nil { return nil } out := new(NonResourceAttributes) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -121,13 +122,13 @@ func (in *ResourceAttributes) DeepCopyInto(out *ResourceAttributes) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes. -func (x *ResourceAttributes) DeepCopy() *ResourceAttributes { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes. +func (in *ResourceAttributes) DeepCopy() *ResourceAttributes { + if in == nil { return nil } out := new(ResourceAttributes) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -141,19 +142,19 @@ func (in *SelfSubjectAccessReview) DeepCopyInto(out *SelfSubjectAccessReview) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview. -func (x *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview. +func (in *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview { + if in == nil { return nil } out := new(SelfSubjectAccessReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SelfSubjectAccessReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SelfSubjectAccessReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -184,13 +185,13 @@ func (in *SelfSubjectAccessReviewSpec) DeepCopyInto(out *SelfSubjectAccessReview return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec. -func (x *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec. +func (in *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec { + if in == nil { return nil } out := new(SelfSubjectAccessReviewSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -204,19 +205,19 @@ func (in *SubjectAccessReview) DeepCopyInto(out *SubjectAccessReview) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview. -func (x *SubjectAccessReview) DeepCopy() *SubjectAccessReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview. +func (in *SubjectAccessReview) DeepCopy() *SubjectAccessReview { + if in == nil { return nil } out := new(SubjectAccessReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SubjectAccessReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SubjectAccessReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -260,13 +261,13 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec. -func (x *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec. +func (in *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec { + if in == nil { return nil } out := new(SubjectAccessReviewSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -276,12 +277,12 @@ func (in *SubjectAccessReviewStatus) DeepCopyInto(out *SubjectAccessReviewStatus return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus. -func (x *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus. +func (in *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus { + if in == nil { return nil } out := new(SubjectAccessReviewStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/authorization/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/authorization/v1beta1/zz_generated.deepcopy.go index 762f8cf0e4d..8d341ce53c3 100644 --- a/staging/src/k8s.io/api/authorization/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/authorization/v1beta1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -80,19 +81,19 @@ func (in *LocalSubjectAccessReview) DeepCopyInto(out *LocalSubjectAccessReview) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview. -func (x *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview. +func (in *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview { + if in == nil { return nil } out := new(LocalSubjectAccessReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *LocalSubjectAccessReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *LocalSubjectAccessReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -105,13 +106,13 @@ func (in *NonResourceAttributes) DeepCopyInto(out *NonResourceAttributes) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes. -func (x *NonResourceAttributes) DeepCopy() *NonResourceAttributes { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes. +func (in *NonResourceAttributes) DeepCopy() *NonResourceAttributes { + if in == nil { return nil } out := new(NonResourceAttributes) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -121,13 +122,13 @@ func (in *ResourceAttributes) DeepCopyInto(out *ResourceAttributes) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes. -func (x *ResourceAttributes) DeepCopy() *ResourceAttributes { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes. +func (in *ResourceAttributes) DeepCopy() *ResourceAttributes { + if in == nil { return nil } out := new(ResourceAttributes) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -141,19 +142,19 @@ func (in *SelfSubjectAccessReview) DeepCopyInto(out *SelfSubjectAccessReview) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview. -func (x *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview. +func (in *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview { + if in == nil { return nil } out := new(SelfSubjectAccessReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SelfSubjectAccessReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SelfSubjectAccessReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -184,13 +185,13 @@ func (in *SelfSubjectAccessReviewSpec) DeepCopyInto(out *SelfSubjectAccessReview return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec. -func (x *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec. +func (in *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec { + if in == nil { return nil } out := new(SelfSubjectAccessReviewSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -204,19 +205,19 @@ func (in *SubjectAccessReview) DeepCopyInto(out *SubjectAccessReview) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview. -func (x *SubjectAccessReview) DeepCopy() *SubjectAccessReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview. +func (in *SubjectAccessReview) DeepCopy() *SubjectAccessReview { + if in == nil { return nil } out := new(SubjectAccessReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SubjectAccessReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SubjectAccessReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -260,13 +261,13 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec. -func (x *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec. +func (in *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec { + if in == nil { return nil } out := new(SubjectAccessReviewSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -276,12 +277,12 @@ func (in *SubjectAccessReviewStatus) DeepCopyInto(out *SubjectAccessReviewStatus return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus. -func (x *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus. +func (in *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus { + if in == nil { return nil } out := new(SubjectAccessReviewStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/autoscaling/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/autoscaling/v1/zz_generated.deepcopy.go index 293d1c7359e..20848f20c84 100644 --- a/staging/src/k8s.io/api/autoscaling/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/autoscaling/v1/zz_generated.deepcopy.go @@ -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 { @@ -114,13 +115,13 @@ func (in *CrossVersionObjectReference) DeepCopyInto(out *CrossVersionObjectRefer return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference. -func (x *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference. +func (in *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference { + if in == nil { return nil } out := new(CrossVersionObjectReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -134,19 +135,19 @@ func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler. -func (x *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler. +func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler { + if in == nil { return nil } out := new(HorizontalPodAutoscaler) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -160,13 +161,13 @@ func (in *HorizontalPodAutoscalerCondition) DeepCopyInto(out *HorizontalPodAutos return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition. -func (x *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition. +func (in *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition { + if in == nil { return nil } out := new(HorizontalPodAutoscalerCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -185,19 +186,19 @@ func (in *HorizontalPodAutoscalerList) DeepCopyInto(out *HorizontalPodAutoscaler return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList. -func (x *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList. +func (in *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList { + if in == nil { return nil } out := new(HorizontalPodAutoscalerList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -229,13 +230,13 @@ func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscaler return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec. -func (x *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec. +func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec { + if in == nil { return nil } out := new(HorizontalPodAutoscalerSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -272,13 +273,13 @@ func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscal return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus. -func (x *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus. +func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus { + if in == nil { return nil } out := new(HorizontalPodAutoscalerStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -315,13 +316,13 @@ func (in *MetricSpec) DeepCopyInto(out *MetricSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec. -func (x *MetricSpec) DeepCopy() *MetricSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec. +func (in *MetricSpec) DeepCopy() *MetricSpec { + if in == nil { return nil } out := new(MetricSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -358,13 +359,13 @@ func (in *MetricStatus) DeepCopyInto(out *MetricStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus. -func (x *MetricStatus) DeepCopy() *MetricStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus. +func (in *MetricStatus) DeepCopy() *MetricStatus { + if in == nil { return nil } out := new(MetricStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -376,13 +377,13 @@ func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource. -func (x *ObjectMetricSource) DeepCopy() *ObjectMetricSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource. +func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource { + if in == nil { return nil } out := new(ObjectMetricSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -394,13 +395,13 @@ func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus. -func (x *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus. +func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus { + if in == nil { return nil } out := new(ObjectMetricStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -411,13 +412,13 @@ func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource. -func (x *PodsMetricSource) DeepCopy() *PodsMetricSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource. +func (in *PodsMetricSource) DeepCopy() *PodsMetricSource { + if in == nil { return nil } out := new(PodsMetricSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -428,13 +429,13 @@ func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus. -func (x *PodsMetricStatus) DeepCopy() *PodsMetricStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus. +func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus { + if in == nil { return nil } out := new(PodsMetricStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -462,13 +463,13 @@ func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource. -func (x *ResourceMetricSource) DeepCopy() *ResourceMetricSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource. +func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource { + if in == nil { return nil } out := new(ResourceMetricSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -488,13 +489,13 @@ func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus. -func (x *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus. +func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus { + if in == nil { return nil } out := new(ResourceMetricStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -508,19 +509,19 @@ func (in *Scale) DeepCopyInto(out *Scale) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Scale. -func (x *Scale) DeepCopy() *Scale { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale. +func (in *Scale) DeepCopy() *Scale { + if in == nil { return nil } out := new(Scale) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Scale) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Scale) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -533,13 +534,13 @@ func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. -func (x *ScaleSpec) DeepCopy() *ScaleSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. +func (in *ScaleSpec) DeepCopy() *ScaleSpec { + if in == nil { return nil } out := new(ScaleSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -549,12 +550,12 @@ func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. -func (x *ScaleStatus) DeepCopy() *ScaleStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. +func (in *ScaleStatus) DeepCopy() *ScaleStatus { + if in == nil { return nil } out := new(ScaleStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/autoscaling/v2alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/autoscaling/v2alpha1/zz_generated.deepcopy.go index d07be947683..7b8a2621160 100644 --- a/staging/src/k8s.io/api/autoscaling/v2alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/autoscaling/v2alpha1/zz_generated.deepcopy.go @@ -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 { @@ -102,13 +103,13 @@ func (in *CrossVersionObjectReference) DeepCopyInto(out *CrossVersionObjectRefer return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference. -func (x *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference. +func (in *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference { + if in == nil { return nil } out := new(CrossVersionObjectReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -122,19 +123,19 @@ func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler. -func (x *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler. +func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler { + if in == nil { return nil } out := new(HorizontalPodAutoscaler) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -148,13 +149,13 @@ func (in *HorizontalPodAutoscalerCondition) DeepCopyInto(out *HorizontalPodAutos return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition. -func (x *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition. +func (in *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition { + if in == nil { return nil } out := new(HorizontalPodAutoscalerCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -173,19 +174,19 @@ func (in *HorizontalPodAutoscalerList) DeepCopyInto(out *HorizontalPodAutoscaler return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList. -func (x *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList. +func (in *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList { + if in == nil { return nil } out := new(HorizontalPodAutoscalerList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -215,13 +216,13 @@ func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscaler return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec. -func (x *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec. +func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec { + if in == nil { return nil } out := new(HorizontalPodAutoscalerSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -263,13 +264,13 @@ func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscal return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus. -func (x *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus. +func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus { + if in == nil { return nil } out := new(HorizontalPodAutoscalerStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -306,13 +307,13 @@ func (in *MetricSpec) DeepCopyInto(out *MetricSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec. -func (x *MetricSpec) DeepCopy() *MetricSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec. +func (in *MetricSpec) DeepCopy() *MetricSpec { + if in == nil { return nil } out := new(MetricSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -349,13 +350,13 @@ func (in *MetricStatus) DeepCopyInto(out *MetricStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus. -func (x *MetricStatus) DeepCopy() *MetricStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus. +func (in *MetricStatus) DeepCopy() *MetricStatus { + if in == nil { return nil } out := new(MetricStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -367,13 +368,13 @@ func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource. -func (x *ObjectMetricSource) DeepCopy() *ObjectMetricSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource. +func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource { + if in == nil { return nil } out := new(ObjectMetricSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -385,13 +386,13 @@ func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus. -func (x *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus. +func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus { + if in == nil { return nil } out := new(ObjectMetricStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -402,13 +403,13 @@ func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource. -func (x *PodsMetricSource) DeepCopy() *PodsMetricSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource. +func (in *PodsMetricSource) DeepCopy() *PodsMetricSource { + if in == nil { return nil } out := new(PodsMetricSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -419,13 +420,13 @@ func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus. -func (x *PodsMetricStatus) DeepCopy() *PodsMetricStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus. +func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus { + if in == nil { return nil } out := new(PodsMetricStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -453,13 +454,13 @@ func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource. -func (x *ResourceMetricSource) DeepCopy() *ResourceMetricSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource. +func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource { + if in == nil { return nil } out := new(ResourceMetricSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -479,12 +480,12 @@ func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus. -func (x *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus. +func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus { + if in == nil { return nil } out := new(ResourceMetricStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/batch/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/batch/v1/zz_generated.deepcopy.go index e0159ca9491..9e692af36de 100644 --- a/staging/src/k8s.io/api/batch/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/batch/v1/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -69,19 +70,19 @@ func (in *Job) DeepCopyInto(out *Job) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Job. -func (x *Job) DeepCopy() *Job { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job. +func (in *Job) DeepCopy() *Job { + if in == nil { return nil } out := new(Job) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Job) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Job) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -96,13 +97,13 @@ func (in *JobCondition) DeepCopyInto(out *JobCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition. -func (x *JobCondition) DeepCopy() *JobCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition. +func (in *JobCondition) DeepCopy() *JobCondition { + if in == nil { return nil } out := new(JobCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -121,19 +122,19 @@ func (in *JobList) DeepCopyInto(out *JobList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobList. -func (x *JobList) DeepCopy() *JobList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList. +func (in *JobList) DeepCopy() *JobList { + if in == nil { return nil } out := new(JobList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *JobList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *JobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -192,13 +193,13 @@ func (in *JobSpec) DeepCopyInto(out *JobSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec. -func (x *JobSpec) DeepCopy() *JobSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec. +func (in *JobSpec) DeepCopy() *JobSpec { + if in == nil { return nil } out := new(JobSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -233,12 +234,12 @@ func (in *JobStatus) DeepCopyInto(out *JobStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus. -func (x *JobStatus) DeepCopy() *JobStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus. +func (in *JobStatus) DeepCopy() *JobStatus { + if in == nil { return nil } out := new(JobStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/batch/v2alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/batch/v2alpha1/zz_generated.deepcopy.go index d8583103e70..b572f9ca3ae 100644 --- a/staging/src/k8s.io/api/batch/v2alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/batch/v2alpha1/zz_generated.deepcopy.go @@ -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 { @@ -74,19 +75,19 @@ func (in *CronJob) DeepCopyInto(out *CronJob) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJob. -func (x *CronJob) DeepCopy() *CronJob { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob. +func (in *CronJob) DeepCopy() *CronJob { + if in == nil { return nil } out := new(CronJob) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CronJob) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CronJob) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -108,19 +109,19 @@ func (in *CronJobList) DeepCopyInto(out *CronJobList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList. -func (x *CronJobList) DeepCopy() *CronJobList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList. +func (in *CronJobList) DeepCopy() *CronJobList { + if in == nil { return nil } out := new(CronJobList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CronJobList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CronJobList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -170,13 +171,13 @@ func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec. -func (x *CronJobSpec) DeepCopy() *CronJobSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec. +func (in *CronJobSpec) DeepCopy() *CronJobSpec { + if in == nil { return nil } out := new(CronJobSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -200,13 +201,13 @@ func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus. -func (x *CronJobStatus) DeepCopy() *CronJobStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus. +func (in *CronJobStatus) DeepCopy() *CronJobStatus { + if in == nil { return nil } out := new(CronJobStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -219,19 +220,19 @@ func (in *JobTemplate) DeepCopyInto(out *JobTemplate) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate. -func (x *JobTemplate) DeepCopy() *JobTemplate { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate. +func (in *JobTemplate) DeepCopy() *JobTemplate { + if in == nil { return nil } out := new(JobTemplate) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *JobTemplate) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *JobTemplate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -246,12 +247,12 @@ func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec. -func (x *JobTemplateSpec) DeepCopy() *JobTemplateSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec. +func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec { + if in == nil { return nil } out := new(JobTemplateSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/certificates/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/certificates/v1beta1/zz_generated.deepcopy.go index b7cadbf533d..6ecc1311816 100644 --- a/staging/src/k8s.io/api/certificates/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/certificates/v1beta1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -68,19 +69,19 @@ func (in *CertificateSigningRequest) DeepCopyInto(out *CertificateSigningRequest return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest. -func (x *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest. +func (in *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest { + if in == nil { return nil } out := new(CertificateSigningRequest) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CertificateSigningRequest) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CertificateSigningRequest) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -94,13 +95,13 @@ func (in *CertificateSigningRequestCondition) DeepCopyInto(out *CertificateSigni return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition. -func (x *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition. +func (in *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition { + if in == nil { return nil } out := new(CertificateSigningRequestCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -119,19 +120,19 @@ func (in *CertificateSigningRequestList) DeepCopyInto(out *CertificateSigningReq return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList. -func (x *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList. +func (in *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList { + if in == nil { return nil } out := new(CertificateSigningRequestList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CertificateSigningRequestList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CertificateSigningRequestList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -167,13 +168,13 @@ func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningReq return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec. -func (x *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec. +func (in *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec { + if in == nil { return nil } out := new(CertificateSigningRequestSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -195,12 +196,12 @@ func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningR return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus. -func (x *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus. +func (in *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus { + if in == nil { return nil } out := new(CertificateSigningRequestStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go index 8dc98c772e0..981edd88f41 100644 --- a/staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go @@ -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 { @@ -730,13 +731,13 @@ func (in *AWSElasticBlockStoreVolumeSource) DeepCopyInto(out *AWSElasticBlockSto return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSource. -func (x *AWSElasticBlockStoreVolumeSource) DeepCopy() *AWSElasticBlockStoreVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSource. +func (in *AWSElasticBlockStoreVolumeSource) DeepCopy() *AWSElasticBlockStoreVolumeSource { + if in == nil { return nil } out := new(AWSElasticBlockStoreVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -773,13 +774,13 @@ func (in *Affinity) DeepCopyInto(out *Affinity) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Affinity. -func (x *Affinity) DeepCopy() *Affinity { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Affinity. +func (in *Affinity) DeepCopy() *Affinity { + if in == nil { return nil } out := new(Affinity) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -789,13 +790,13 @@ func (in *AttachedVolume) DeepCopyInto(out *AttachedVolume) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AttachedVolume. -func (x *AttachedVolume) DeepCopy() *AttachedVolume { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedVolume. +func (in *AttachedVolume) DeepCopy() *AttachedVolume { + if in == nil { return nil } out := new(AttachedVolume) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -812,13 +813,13 @@ func (in *AvoidPods) DeepCopyInto(out *AvoidPods) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AvoidPods. -func (x *AvoidPods) DeepCopy() *AvoidPods { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvoidPods. +func (in *AvoidPods) DeepCopy() *AvoidPods { + if in == nil { return nil } out := new(AvoidPods) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -864,13 +865,13 @@ func (in *AzureDiskVolumeSource) DeepCopyInto(out *AzureDiskVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AzureDiskVolumeSource. -func (x *AzureDiskVolumeSource) DeepCopy() *AzureDiskVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureDiskVolumeSource. +func (in *AzureDiskVolumeSource) DeepCopy() *AzureDiskVolumeSource { + if in == nil { return nil } out := new(AzureDiskVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -880,13 +881,13 @@ func (in *AzureFileVolumeSource) DeepCopyInto(out *AzureFileVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AzureFileVolumeSource. -func (x *AzureFileVolumeSource) DeepCopy() *AzureFileVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFileVolumeSource. +func (in *AzureFileVolumeSource) DeepCopy() *AzureFileVolumeSource { + if in == nil { return nil } out := new(AzureFileVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -899,19 +900,19 @@ func (in *Binding) DeepCopyInto(out *Binding) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Binding. -func (x *Binding) DeepCopy() *Binding { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding. +func (in *Binding) DeepCopy() *Binding { + if in == nil { return nil } out := new(Binding) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Binding) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Binding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -934,13 +935,13 @@ func (in *Capabilities) DeepCopyInto(out *Capabilities) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Capabilities. -func (x *Capabilities) DeepCopy() *Capabilities { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capabilities. +func (in *Capabilities) DeepCopy() *Capabilities { + if in == nil { return nil } out := new(Capabilities) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -964,13 +965,13 @@ func (in *CephFSVolumeSource) DeepCopyInto(out *CephFSVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CephFSVolumeSource. -func (x *CephFSVolumeSource) DeepCopy() *CephFSVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSVolumeSource. +func (in *CephFSVolumeSource) DeepCopy() *CephFSVolumeSource { + if in == nil { return nil } out := new(CephFSVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -980,13 +981,13 @@ func (in *CinderVolumeSource) DeepCopyInto(out *CinderVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CinderVolumeSource. -func (x *CinderVolumeSource) DeepCopy() *CinderVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderVolumeSource. +func (in *CinderVolumeSource) DeepCopy() *CinderVolumeSource { + if in == nil { return nil } out := new(CinderVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -996,13 +997,13 @@ func (in *ComponentCondition) DeepCopyInto(out *ComponentCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ComponentCondition. -func (x *ComponentCondition) DeepCopy() *ComponentCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentCondition. +func (in *ComponentCondition) DeepCopy() *ComponentCondition { + if in == nil { return nil } out := new(ComponentCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1019,19 +1020,19 @@ func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus. -func (x *ComponentStatus) DeepCopy() *ComponentStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus. +func (in *ComponentStatus) DeepCopy() *ComponentStatus { + if in == nil { return nil } out := new(ComponentStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ComponentStatus) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ComponentStatus) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1053,19 +1054,19 @@ func (in *ComponentStatusList) DeepCopyInto(out *ComponentStatusList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatusList. -func (x *ComponentStatusList) DeepCopy() *ComponentStatusList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatusList. +func (in *ComponentStatusList) DeepCopy() *ComponentStatusList { + if in == nil { return nil } out := new(ComponentStatusList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ComponentStatusList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ComponentStatusList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1087,19 +1088,19 @@ func (in *ConfigMap) DeepCopyInto(out *ConfigMap) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap. -func (x *ConfigMap) DeepCopy() *ConfigMap { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap. +func (in *ConfigMap) DeepCopy() *ConfigMap { + if in == nil { return nil } out := new(ConfigMap) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ConfigMap) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ConfigMap) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1122,13 +1123,13 @@ func (in *ConfigMapEnvSource) DeepCopyInto(out *ConfigMapEnvSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapEnvSource. -func (x *ConfigMapEnvSource) DeepCopy() *ConfigMapEnvSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapEnvSource. +func (in *ConfigMapEnvSource) DeepCopy() *ConfigMapEnvSource { + if in == nil { return nil } out := new(ConfigMapEnvSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1148,13 +1149,13 @@ func (in *ConfigMapKeySelector) DeepCopyInto(out *ConfigMapKeySelector) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeySelector. -func (x *ConfigMapKeySelector) DeepCopy() *ConfigMapKeySelector { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeySelector. +func (in *ConfigMapKeySelector) DeepCopy() *ConfigMapKeySelector { + if in == nil { return nil } out := new(ConfigMapKeySelector) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1173,19 +1174,19 @@ func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList. -func (x *ConfigMapList) DeepCopy() *ConfigMapList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList. +func (in *ConfigMapList) DeepCopy() *ConfigMapList { + if in == nil { return nil } out := new(ConfigMapList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ConfigMapList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ConfigMapList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1215,13 +1216,13 @@ func (in *ConfigMapProjection) DeepCopyInto(out *ConfigMapProjection) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapProjection. -func (x *ConfigMapProjection) DeepCopy() *ConfigMapProjection { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapProjection. +func (in *ConfigMapProjection) DeepCopy() *ConfigMapProjection { + if in == nil { return nil } out := new(ConfigMapProjection) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1257,13 +1258,13 @@ func (in *ConfigMapVolumeSource) DeepCopyInto(out *ConfigMapVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapVolumeSource. -func (x *ConfigMapVolumeSource) DeepCopy() *ConfigMapVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapVolumeSource. +func (in *ConfigMapVolumeSource) DeepCopy() *ConfigMapVolumeSource { + if in == nil { return nil } out := new(ConfigMapVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1344,13 +1345,13 @@ func (in *Container) DeepCopyInto(out *Container) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Container. -func (x *Container) DeepCopy() *Container { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container. +func (in *Container) DeepCopy() *Container { + if in == nil { return nil } out := new(Container) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1365,13 +1366,13 @@ func (in *ContainerImage) DeepCopyInto(out *ContainerImage) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage. -func (x *ContainerImage) DeepCopy() *ContainerImage { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage. +func (in *ContainerImage) DeepCopy() *ContainerImage { + if in == nil { return nil } out := new(ContainerImage) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1381,13 +1382,13 @@ func (in *ContainerPort) DeepCopyInto(out *ContainerPort) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPort. -func (x *ContainerPort) DeepCopy() *ContainerPort { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPort. +func (in *ContainerPort) DeepCopy() *ContainerPort { + if in == nil { return nil } out := new(ContainerPort) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1424,13 +1425,13 @@ func (in *ContainerState) DeepCopyInto(out *ContainerState) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerState. -func (x *ContainerState) DeepCopy() *ContainerState { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerState. +func (in *ContainerState) DeepCopy() *ContainerState { + if in == nil { return nil } out := new(ContainerState) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1441,13 +1442,13 @@ func (in *ContainerStateRunning) DeepCopyInto(out *ContainerStateRunning) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning. -func (x *ContainerStateRunning) DeepCopy() *ContainerStateRunning { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning. +func (in *ContainerStateRunning) DeepCopy() *ContainerStateRunning { + if in == nil { return nil } out := new(ContainerStateRunning) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1459,13 +1460,13 @@ func (in *ContainerStateTerminated) DeepCopyInto(out *ContainerStateTerminated) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateTerminated. -func (x *ContainerStateTerminated) DeepCopy() *ContainerStateTerminated { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateTerminated. +func (in *ContainerStateTerminated) DeepCopy() *ContainerStateTerminated { + if in == nil { return nil } out := new(ContainerStateTerminated) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1475,13 +1476,13 @@ func (in *ContainerStateWaiting) DeepCopyInto(out *ContainerStateWaiting) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateWaiting. -func (x *ContainerStateWaiting) DeepCopy() *ContainerStateWaiting { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateWaiting. +func (in *ContainerStateWaiting) DeepCopy() *ContainerStateWaiting { + if in == nil { return nil } out := new(ContainerStateWaiting) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1493,13 +1494,13 @@ func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus. -func (x *ContainerStatus) DeepCopy() *ContainerStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus. +func (in *ContainerStatus) DeepCopy() *ContainerStatus { + if in == nil { return nil } out := new(ContainerStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1509,13 +1510,13 @@ func (in *DaemonEndpoint) DeepCopyInto(out *DaemonEndpoint) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonEndpoint. -func (x *DaemonEndpoint) DeepCopy() *DaemonEndpoint { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonEndpoint. +func (in *DaemonEndpoint) DeepCopy() *DaemonEndpoint { + if in == nil { return nil } out := new(DaemonEndpoint) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1562,19 +1563,19 @@ func (in *DeleteOptions) DeepCopyInto(out *DeleteOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeleteOptions. -func (x *DeleteOptions) DeepCopy() *DeleteOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteOptions. +func (in *DeleteOptions) DeepCopy() *DeleteOptions { + if in == nil { return nil } out := new(DeleteOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DeleteOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DeleteOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1594,13 +1595,13 @@ func (in *DownwardAPIProjection) DeepCopyInto(out *DownwardAPIProjection) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIProjection. -func (x *DownwardAPIProjection) DeepCopy() *DownwardAPIProjection { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIProjection. +func (in *DownwardAPIProjection) DeepCopy() *DownwardAPIProjection { + if in == nil { return nil } out := new(DownwardAPIProjection) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1637,13 +1638,13 @@ func (in *DownwardAPIVolumeFile) DeepCopyInto(out *DownwardAPIVolumeFile) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeFile. -func (x *DownwardAPIVolumeFile) DeepCopy() *DownwardAPIVolumeFile { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeFile. +func (in *DownwardAPIVolumeFile) DeepCopy() *DownwardAPIVolumeFile { + if in == nil { return nil } out := new(DownwardAPIVolumeFile) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1669,13 +1670,13 @@ func (in *DownwardAPIVolumeSource) DeepCopyInto(out *DownwardAPIVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeSource. -func (x *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeSource. +func (in *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource { + if in == nil { return nil } out := new(DownwardAPIVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1686,13 +1687,13 @@ func (in *EmptyDirVolumeSource) DeepCopyInto(out *EmptyDirVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDirVolumeSource. -func (x *EmptyDirVolumeSource) DeepCopy() *EmptyDirVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDirVolumeSource. +func (in *EmptyDirVolumeSource) DeepCopy() *EmptyDirVolumeSource { + if in == nil { return nil } out := new(EmptyDirVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1720,13 +1721,13 @@ func (in *EndpointAddress) DeepCopyInto(out *EndpointAddress) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAddress. -func (x *EndpointAddress) DeepCopy() *EndpointAddress { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAddress. +func (in *EndpointAddress) DeepCopy() *EndpointAddress { + if in == nil { return nil } out := new(EndpointAddress) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1736,13 +1737,13 @@ func (in *EndpointPort) DeepCopyInto(out *EndpointPort) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort. -func (x *EndpointPort) DeepCopy() *EndpointPort { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort. +func (in *EndpointPort) DeepCopy() *EndpointPort { + if in == nil { return nil } out := new(EndpointPort) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1771,13 +1772,13 @@ func (in *EndpointSubset) DeepCopyInto(out *EndpointSubset) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubset. -func (x *EndpointSubset) DeepCopy() *EndpointSubset { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubset. +func (in *EndpointSubset) DeepCopy() *EndpointSubset { + if in == nil { return nil } out := new(EndpointSubset) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1796,19 +1797,19 @@ func (in *Endpoints) DeepCopyInto(out *Endpoints) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Endpoints. -func (x *Endpoints) DeepCopy() *Endpoints { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoints. +func (in *Endpoints) DeepCopy() *Endpoints { + if in == nil { return nil } out := new(Endpoints) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Endpoints) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Endpoints) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1830,19 +1831,19 @@ func (in *EndpointsList) DeepCopyInto(out *EndpointsList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EndpointsList. -func (x *EndpointsList) DeepCopy() *EndpointsList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointsList. +func (in *EndpointsList) DeepCopy() *EndpointsList { + if in == nil { return nil } out := new(EndpointsList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *EndpointsList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *EndpointsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1873,13 +1874,13 @@ func (in *EnvFromSource) DeepCopyInto(out *EnvFromSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EnvFromSource. -func (x *EnvFromSource) DeepCopy() *EnvFromSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvFromSource. +func (in *EnvFromSource) DeepCopy() *EnvFromSource { + if in == nil { return nil } out := new(EnvFromSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1898,13 +1899,13 @@ func (in *EnvVar) DeepCopyInto(out *EnvVar) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar. -func (x *EnvVar) DeepCopy() *EnvVar { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar. +func (in *EnvVar) DeepCopy() *EnvVar { + if in == nil { return nil } out := new(EnvVar) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1950,13 +1951,13 @@ func (in *EnvVarSource) DeepCopyInto(out *EnvVarSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarSource. -func (x *EnvVarSource) DeepCopy() *EnvVarSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarSource. +func (in *EnvVarSource) DeepCopy() *EnvVarSource { + if in == nil { return nil } out := new(EnvVarSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1972,19 +1973,19 @@ func (in *Event) DeepCopyInto(out *Event) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Event. -func (x *Event) DeepCopy() *Event { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event. +func (in *Event) DeepCopy() *Event { + if in == nil { return nil } out := new(Event) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Event) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Event) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2006,19 +2007,19 @@ func (in *EventList) DeepCopyInto(out *EventList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EventList. -func (x *EventList) DeepCopy() *EventList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList. +func (in *EventList) DeepCopy() *EventList { + if in == nil { return nil } out := new(EventList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *EventList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *EventList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2031,13 +2032,13 @@ func (in *EventSource) DeepCopyInto(out *EventSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EventSource. -func (x *EventSource) DeepCopy() *EventSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSource. +func (in *EventSource) DeepCopy() *EventSource { + if in == nil { return nil } out := new(EventSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2052,13 +2053,13 @@ func (in *ExecAction) DeepCopyInto(out *ExecAction) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction. -func (x *ExecAction) DeepCopy() *ExecAction { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction. +func (in *ExecAction) DeepCopy() *ExecAction { + if in == nil { return nil } out := new(ExecAction) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2082,13 +2083,13 @@ func (in *FCVolumeSource) DeepCopyInto(out *FCVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FCVolumeSource. -func (x *FCVolumeSource) DeepCopy() *FCVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FCVolumeSource. +func (in *FCVolumeSource) DeepCopy() *FCVolumeSource { + if in == nil { return nil } out := new(FCVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2114,13 +2115,13 @@ func (in *FlexVolumeSource) DeepCopyInto(out *FlexVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlexVolumeSource. -func (x *FlexVolumeSource) DeepCopy() *FlexVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexVolumeSource. +func (in *FlexVolumeSource) DeepCopy() *FlexVolumeSource { + if in == nil { return nil } out := new(FlexVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2130,13 +2131,13 @@ func (in *FlockerVolumeSource) DeepCopyInto(out *FlockerVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlockerVolumeSource. -func (x *FlockerVolumeSource) DeepCopy() *FlockerVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlockerVolumeSource. +func (in *FlockerVolumeSource) DeepCopy() *FlockerVolumeSource { + if in == nil { return nil } out := new(FlockerVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2146,13 +2147,13 @@ func (in *GCEPersistentDiskVolumeSource) DeepCopyInto(out *GCEPersistentDiskVolu return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GCEPersistentDiskVolumeSource. -func (x *GCEPersistentDiskVolumeSource) DeepCopy() *GCEPersistentDiskVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCEPersistentDiskVolumeSource. +func (in *GCEPersistentDiskVolumeSource) DeepCopy() *GCEPersistentDiskVolumeSource { + if in == nil { return nil } out := new(GCEPersistentDiskVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2162,13 +2163,13 @@ func (in *GitRepoVolumeSource) DeepCopyInto(out *GitRepoVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoVolumeSource. -func (x *GitRepoVolumeSource) DeepCopy() *GitRepoVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoVolumeSource. +func (in *GitRepoVolumeSource) DeepCopy() *GitRepoVolumeSource { + if in == nil { return nil } out := new(GitRepoVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2178,13 +2179,13 @@ func (in *GlusterfsVolumeSource) DeepCopyInto(out *GlusterfsVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GlusterfsVolumeSource. -func (x *GlusterfsVolumeSource) DeepCopy() *GlusterfsVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlusterfsVolumeSource. +func (in *GlusterfsVolumeSource) DeepCopy() *GlusterfsVolumeSource { + if in == nil { return nil } out := new(GlusterfsVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2200,13 +2201,13 @@ func (in *HTTPGetAction) DeepCopyInto(out *HTTPGetAction) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HTTPGetAction. -func (x *HTTPGetAction) DeepCopy() *HTTPGetAction { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPGetAction. +func (in *HTTPGetAction) DeepCopy() *HTTPGetAction { + if in == nil { return nil } out := new(HTTPGetAction) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2216,13 +2217,13 @@ func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader. -func (x *HTTPHeader) DeepCopy() *HTTPHeader { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader. +func (in *HTTPHeader) DeepCopy() *HTTPHeader { + if in == nil { return nil } out := new(HTTPHeader) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2259,13 +2260,13 @@ func (in *Handler) DeepCopyInto(out *Handler) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Handler. -func (x *Handler) DeepCopy() *Handler { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Handler. +func (in *Handler) DeepCopy() *Handler { + if in == nil { return nil } out := new(Handler) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2280,13 +2281,13 @@ func (in *HostAlias) DeepCopyInto(out *HostAlias) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HostAlias. -func (x *HostAlias) DeepCopy() *HostAlias { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAlias. +func (in *HostAlias) DeepCopy() *HostAlias { + if in == nil { return nil } out := new(HostAlias) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2296,13 +2297,13 @@ func (in *HostPathVolumeSource) DeepCopyInto(out *HostPathVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HostPathVolumeSource. -func (x *HostPathVolumeSource) DeepCopy() *HostPathVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathVolumeSource. +func (in *HostPathVolumeSource) DeepCopy() *HostPathVolumeSource { + if in == nil { return nil } out := new(HostPathVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2326,13 +2327,13 @@ func (in *ISCSIVolumeSource) DeepCopyInto(out *ISCSIVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIVolumeSource. -func (x *ISCSIVolumeSource) DeepCopy() *ISCSIVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIVolumeSource. +func (in *ISCSIVolumeSource) DeepCopy() *ISCSIVolumeSource { + if in == nil { return nil } out := new(ISCSIVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2351,13 +2352,13 @@ func (in *KeyToPath) DeepCopyInto(out *KeyToPath) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new KeyToPath. -func (x *KeyToPath) DeepCopy() *KeyToPath { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyToPath. +func (in *KeyToPath) DeepCopy() *KeyToPath { + if in == nil { return nil } out := new(KeyToPath) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2385,13 +2386,13 @@ func (in *Lifecycle) DeepCopyInto(out *Lifecycle) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle. -func (x *Lifecycle) DeepCopy() *Lifecycle { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle. +func (in *Lifecycle) DeepCopy() *Lifecycle { + if in == nil { return nil } out := new(Lifecycle) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2404,19 +2405,19 @@ func (in *LimitRange) DeepCopyInto(out *LimitRange) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitRange. -func (x *LimitRange) DeepCopy() *LimitRange { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRange. +func (in *LimitRange) DeepCopy() *LimitRange { + if in == nil { return nil } out := new(LimitRange) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *LimitRange) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *LimitRange) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2464,13 +2465,13 @@ func (in *LimitRangeItem) DeepCopyInto(out *LimitRangeItem) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeItem. -func (x *LimitRangeItem) DeepCopy() *LimitRangeItem { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeItem. +func (in *LimitRangeItem) DeepCopy() *LimitRangeItem { + if in == nil { return nil } out := new(LimitRangeItem) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2489,19 +2490,19 @@ func (in *LimitRangeList) DeepCopyInto(out *LimitRangeList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeList. -func (x *LimitRangeList) DeepCopy() *LimitRangeList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeList. +func (in *LimitRangeList) DeepCopy() *LimitRangeList { + if in == nil { return nil } out := new(LimitRangeList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *LimitRangeList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *LimitRangeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2521,13 +2522,13 @@ func (in *LimitRangeSpec) DeepCopyInto(out *LimitRangeSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeSpec. -func (x *LimitRangeSpec) DeepCopy() *LimitRangeSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeSpec. +func (in *LimitRangeSpec) DeepCopy() *LimitRangeSpec { + if in == nil { return nil } out := new(LimitRangeSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2546,19 +2547,19 @@ func (in *List) DeepCopyInto(out *List) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new List. -func (x *List) DeepCopy() *List { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List. +func (in *List) DeepCopy() *List { + if in == nil { return nil } out := new(List) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *List) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *List) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2581,19 +2582,19 @@ func (in *ListOptions) DeepCopyInto(out *ListOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions. -func (x *ListOptions) DeepCopy() *ListOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions. +func (in *ListOptions) DeepCopy() *ListOptions { + if in == nil { return nil } out := new(ListOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ListOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ListOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2606,13 +2607,13 @@ func (in *LoadBalancerIngress) DeepCopyInto(out *LoadBalancerIngress) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerIngress. -func (x *LoadBalancerIngress) DeepCopy() *LoadBalancerIngress { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerIngress. +func (in *LoadBalancerIngress) DeepCopy() *LoadBalancerIngress { + if in == nil { return nil } out := new(LoadBalancerIngress) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2627,13 +2628,13 @@ func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus. -func (x *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus. +func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus { + if in == nil { return nil } out := new(LoadBalancerStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2643,13 +2644,13 @@ func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference. -func (x *LocalObjectReference) DeepCopy() *LocalObjectReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference. +func (in *LocalObjectReference) DeepCopy() *LocalObjectReference { + if in == nil { return nil } out := new(LocalObjectReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2659,13 +2660,13 @@ func (in *LocalVolumeSource) DeepCopyInto(out *LocalVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LocalVolumeSource. -func (x *LocalVolumeSource) DeepCopy() *LocalVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalVolumeSource. +func (in *LocalVolumeSource) DeepCopy() *LocalVolumeSource { + if in == nil { return nil } out := new(LocalVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2675,13 +2676,13 @@ func (in *NFSVolumeSource) DeepCopyInto(out *NFSVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NFSVolumeSource. -func (x *NFSVolumeSource) DeepCopy() *NFSVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSVolumeSource. +func (in *NFSVolumeSource) DeepCopy() *NFSVolumeSource { + if in == nil { return nil } out := new(NFSVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2695,19 +2696,19 @@ func (in *Namespace) DeepCopyInto(out *Namespace) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. -func (x *Namespace) DeepCopy() *Namespace { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. +func (in *Namespace) DeepCopy() *Namespace { + if in == nil { return nil } out := new(Namespace) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Namespace) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Namespace) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2729,19 +2730,19 @@ func (in *NamespaceList) DeepCopyInto(out *NamespaceList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList. -func (x *NamespaceList) DeepCopy() *NamespaceList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList. +func (in *NamespaceList) DeepCopy() *NamespaceList { + if in == nil { return nil } out := new(NamespaceList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NamespaceList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NamespaceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2759,13 +2760,13 @@ func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec. -func (x *NamespaceSpec) DeepCopy() *NamespaceSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec. +func (in *NamespaceSpec) DeepCopy() *NamespaceSpec { + if in == nil { return nil } out := new(NamespaceSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2775,13 +2776,13 @@ func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus. -func (x *NamespaceStatus) DeepCopy() *NamespaceStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus. +func (in *NamespaceStatus) DeepCopy() *NamespaceStatus { + if in == nil { return nil } out := new(NamespaceStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2795,19 +2796,19 @@ func (in *Node) DeepCopyInto(out *Node) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Node. -func (x *Node) DeepCopy() *Node { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node. +func (in *Node) DeepCopy() *Node { + if in == nil { return nil } out := new(Node) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Node) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Node) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2820,13 +2821,13 @@ func (in *NodeAddress) DeepCopyInto(out *NodeAddress) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress. -func (x *NodeAddress) DeepCopy() *NodeAddress { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress. +func (in *NodeAddress) DeepCopy() *NodeAddress { + if in == nil { return nil } out := new(NodeAddress) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2852,13 +2853,13 @@ func (in *NodeAffinity) DeepCopyInto(out *NodeAffinity) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeAffinity. -func (x *NodeAffinity) DeepCopy() *NodeAffinity { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAffinity. +func (in *NodeAffinity) DeepCopy() *NodeAffinity { + if in == nil { return nil } out := new(NodeAffinity) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2870,13 +2871,13 @@ func (in *NodeCondition) DeepCopyInto(out *NodeCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeCondition. -func (x *NodeCondition) DeepCopy() *NodeCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCondition. +func (in *NodeCondition) DeepCopy() *NodeCondition { + if in == nil { return nil } out := new(NodeCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2887,13 +2888,13 @@ func (in *NodeDaemonEndpoints) DeepCopyInto(out *NodeDaemonEndpoints) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeDaemonEndpoints. -func (x *NodeDaemonEndpoints) DeepCopy() *NodeDaemonEndpoints { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeDaemonEndpoints. +func (in *NodeDaemonEndpoints) DeepCopy() *NodeDaemonEndpoints { + if in == nil { return nil } out := new(NodeDaemonEndpoints) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2912,19 +2913,19 @@ func (in *NodeList) DeepCopyInto(out *NodeList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeList. -func (x *NodeList) DeepCopy() *NodeList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList. +func (in *NodeList) DeepCopy() *NodeList { + if in == nil { return nil } out := new(NodeList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NodeList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NodeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2938,19 +2939,19 @@ func (in *NodeProxyOptions) DeepCopyInto(out *NodeProxyOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeProxyOptions. -func (x *NodeProxyOptions) DeepCopy() *NodeProxyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeProxyOptions. +func (in *NodeProxyOptions) DeepCopy() *NodeProxyOptions { + if in == nil { return nil } out := new(NodeProxyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NodeProxyOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NodeProxyOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -2970,13 +2971,13 @@ func (in *NodeResources) DeepCopyInto(out *NodeResources) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeResources. -func (x *NodeResources) DeepCopy() *NodeResources { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResources. +func (in *NodeResources) DeepCopy() *NodeResources { + if in == nil { return nil } out := new(NodeResources) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -2993,13 +2994,13 @@ func (in *NodeSelector) DeepCopyInto(out *NodeSelector) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelector. -func (x *NodeSelector) DeepCopy() *NodeSelector { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelector. +func (in *NodeSelector) DeepCopy() *NodeSelector { + if in == nil { return nil } out := new(NodeSelector) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3014,13 +3015,13 @@ func (in *NodeSelectorRequirement) DeepCopyInto(out *NodeSelectorRequirement) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorRequirement. -func (x *NodeSelectorRequirement) DeepCopy() *NodeSelectorRequirement { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorRequirement. +func (in *NodeSelectorRequirement) DeepCopy() *NodeSelectorRequirement { + if in == nil { return nil } out := new(NodeSelectorRequirement) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3037,13 +3038,13 @@ func (in *NodeSelectorTerm) DeepCopyInto(out *NodeSelectorTerm) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorTerm. -func (x *NodeSelectorTerm) DeepCopy() *NodeSelectorTerm { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorTerm. +func (in *NodeSelectorTerm) DeepCopy() *NodeSelectorTerm { + if in == nil { return nil } out := new(NodeSelectorTerm) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3060,13 +3061,13 @@ func (in *NodeSpec) DeepCopyInto(out *NodeSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec. -func (x *NodeSpec) DeepCopy() *NodeSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec. +func (in *NodeSpec) DeepCopy() *NodeSpec { + if in == nil { return nil } out := new(NodeSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3121,13 +3122,13 @@ func (in *NodeStatus) DeepCopyInto(out *NodeStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus. -func (x *NodeStatus) DeepCopy() *NodeStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus. +func (in *NodeStatus) DeepCopy() *NodeStatus { + if in == nil { return nil } out := new(NodeStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3137,13 +3138,13 @@ func (in *NodeSystemInfo) DeepCopyInto(out *NodeSystemInfo) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeSystemInfo. -func (x *NodeSystemInfo) DeepCopy() *NodeSystemInfo { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSystemInfo. +func (in *NodeSystemInfo) DeepCopy() *NodeSystemInfo { + if in == nil { return nil } out := new(NodeSystemInfo) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3153,13 +3154,13 @@ func (in *ObjectFieldSelector) DeepCopyInto(out *ObjectFieldSelector) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectFieldSelector. -func (x *ObjectFieldSelector) DeepCopy() *ObjectFieldSelector { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectFieldSelector. +func (in *ObjectFieldSelector) DeepCopy() *ObjectFieldSelector { + if in == nil { return nil } out := new(ObjectFieldSelector) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3223,13 +3224,13 @@ func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta. -func (x *ObjectMeta) DeepCopy() *ObjectMeta { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta. +func (in *ObjectMeta) DeepCopy() *ObjectMeta { + if in == nil { return nil } out := new(ObjectMeta) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3239,19 +3240,19 @@ func (in *ObjectReference) DeepCopyInto(out *ObjectReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. -func (x *ObjectReference) DeepCopy() *ObjectReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. +func (in *ObjectReference) DeepCopy() *ObjectReference { + if in == nil { return nil } out := new(ObjectReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ObjectReference) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ObjectReference) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3268,19 +3269,19 @@ func (in *PersistentVolume) DeepCopyInto(out *PersistentVolume) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolume. -func (x *PersistentVolume) DeepCopy() *PersistentVolume { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolume. +func (in *PersistentVolume) DeepCopy() *PersistentVolume { + if in == nil { return nil } out := new(PersistentVolume) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PersistentVolume) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PersistentVolume) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3297,19 +3298,19 @@ func (in *PersistentVolumeClaim) DeepCopyInto(out *PersistentVolumeClaim) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaim. -func (x *PersistentVolumeClaim) DeepCopy() *PersistentVolumeClaim { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaim. +func (in *PersistentVolumeClaim) DeepCopy() *PersistentVolumeClaim { + if in == nil { return nil } out := new(PersistentVolumeClaim) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PersistentVolumeClaim) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PersistentVolumeClaim) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3331,19 +3332,19 @@ func (in *PersistentVolumeClaimList) DeepCopyInto(out *PersistentVolumeClaimList return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimList. -func (x *PersistentVolumeClaimList) DeepCopy() *PersistentVolumeClaimList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimList. +func (in *PersistentVolumeClaimList) DeepCopy() *PersistentVolumeClaimList { + if in == nil { return nil } out := new(PersistentVolumeClaimList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PersistentVolumeClaimList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PersistentVolumeClaimList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3380,13 +3381,13 @@ func (in *PersistentVolumeClaimSpec) DeepCopyInto(out *PersistentVolumeClaimSpec return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimSpec. -func (x *PersistentVolumeClaimSpec) DeepCopy() *PersistentVolumeClaimSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimSpec. +func (in *PersistentVolumeClaimSpec) DeepCopy() *PersistentVolumeClaimSpec { + if in == nil { return nil } out := new(PersistentVolumeClaimSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3408,13 +3409,13 @@ func (in *PersistentVolumeClaimStatus) DeepCopyInto(out *PersistentVolumeClaimSt return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimStatus. -func (x *PersistentVolumeClaimStatus) DeepCopy() *PersistentVolumeClaimStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimStatus. +func (in *PersistentVolumeClaimStatus) DeepCopy() *PersistentVolumeClaimStatus { + if in == nil { return nil } out := new(PersistentVolumeClaimStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3424,13 +3425,13 @@ func (in *PersistentVolumeClaimVolumeSource) DeepCopyInto(out *PersistentVolumeC return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimVolumeSource. -func (x *PersistentVolumeClaimVolumeSource) DeepCopy() *PersistentVolumeClaimVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimVolumeSource. +func (in *PersistentVolumeClaimVolumeSource) DeepCopy() *PersistentVolumeClaimVolumeSource { + if in == nil { return nil } out := new(PersistentVolumeClaimVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3449,19 +3450,19 @@ func (in *PersistentVolumeList) DeepCopyInto(out *PersistentVolumeList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeList. -func (x *PersistentVolumeList) DeepCopy() *PersistentVolumeList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeList. +func (in *PersistentVolumeList) DeepCopy() *PersistentVolumeList { + if in == nil { return nil } out := new(PersistentVolumeList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PersistentVolumeList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PersistentVolumeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3663,13 +3664,13 @@ func (in *PersistentVolumeSource) DeepCopyInto(out *PersistentVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSource. -func (x *PersistentVolumeSource) DeepCopy() *PersistentVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSource. +func (in *PersistentVolumeSource) DeepCopy() *PersistentVolumeSource { + if in == nil { return nil } out := new(PersistentVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3701,13 +3702,13 @@ func (in *PersistentVolumeSpec) DeepCopyInto(out *PersistentVolumeSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSpec. -func (x *PersistentVolumeSpec) DeepCopy() *PersistentVolumeSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSpec. +func (in *PersistentVolumeSpec) DeepCopy() *PersistentVolumeSpec { + if in == nil { return nil } out := new(PersistentVolumeSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3717,13 +3718,13 @@ func (in *PersistentVolumeStatus) DeepCopyInto(out *PersistentVolumeStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeStatus. -func (x *PersistentVolumeStatus) DeepCopy() *PersistentVolumeStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeStatus. +func (in *PersistentVolumeStatus) DeepCopy() *PersistentVolumeStatus { + if in == nil { return nil } out := new(PersistentVolumeStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3733,13 +3734,13 @@ func (in *PhotonPersistentDiskVolumeSource) DeepCopyInto(out *PhotonPersistentDi return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PhotonPersistentDiskVolumeSource. -func (x *PhotonPersistentDiskVolumeSource) DeepCopy() *PhotonPersistentDiskVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhotonPersistentDiskVolumeSource. +func (in *PhotonPersistentDiskVolumeSource) DeepCopy() *PhotonPersistentDiskVolumeSource { + if in == nil { return nil } out := new(PhotonPersistentDiskVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3753,19 +3754,19 @@ func (in *Pod) DeepCopyInto(out *Pod) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Pod. -func (x *Pod) DeepCopy() *Pod { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod. +func (in *Pod) DeepCopy() *Pod { + if in == nil { return nil } out := new(Pod) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Pod) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Pod) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3792,13 +3793,13 @@ func (in *PodAffinity) DeepCopyInto(out *PodAffinity) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinity. -func (x *PodAffinity) DeepCopy() *PodAffinity { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinity. +func (in *PodAffinity) DeepCopy() *PodAffinity { + if in == nil { return nil } out := new(PodAffinity) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3822,13 +3823,13 @@ func (in *PodAffinityTerm) DeepCopyInto(out *PodAffinityTerm) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinityTerm. -func (x *PodAffinityTerm) DeepCopy() *PodAffinityTerm { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinityTerm. +func (in *PodAffinityTerm) DeepCopy() *PodAffinityTerm { + if in == nil { return nil } out := new(PodAffinityTerm) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3852,13 +3853,13 @@ func (in *PodAntiAffinity) DeepCopyInto(out *PodAntiAffinity) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodAntiAffinity. -func (x *PodAntiAffinity) DeepCopy() *PodAntiAffinity { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAntiAffinity. +func (in *PodAntiAffinity) DeepCopy() *PodAntiAffinity { + if in == nil { return nil } out := new(PodAntiAffinity) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3869,19 +3870,19 @@ func (in *PodAttachOptions) DeepCopyInto(out *PodAttachOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodAttachOptions. -func (x *PodAttachOptions) DeepCopy() *PodAttachOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAttachOptions. +func (in *PodAttachOptions) DeepCopy() *PodAttachOptions { + if in == nil { return nil } out := new(PodAttachOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodAttachOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodAttachOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3896,13 +3897,13 @@ func (in *PodCondition) DeepCopyInto(out *PodCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. -func (x *PodCondition) DeepCopy() *PodCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. +func (in *PodCondition) DeepCopy() *PodCondition { + if in == nil { return nil } out := new(PodCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -3918,19 +3919,19 @@ func (in *PodExecOptions) DeepCopyInto(out *PodExecOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodExecOptions. -func (x *PodExecOptions) DeepCopy() *PodExecOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodExecOptions. +func (in *PodExecOptions) DeepCopy() *PodExecOptions { + if in == nil { return nil } out := new(PodExecOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodExecOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodExecOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -3952,19 +3953,19 @@ func (in *PodList) DeepCopyInto(out *PodList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodList. -func (x *PodList) DeepCopy() *PodList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList. +func (in *PodList) DeepCopy() *PodList { + if in == nil { return nil } out := new(PodList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4014,19 +4015,19 @@ func (in *PodLogOptions) DeepCopyInto(out *PodLogOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodLogOptions. -func (x *PodLogOptions) DeepCopy() *PodLogOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogOptions. +func (in *PodLogOptions) DeepCopy() *PodLogOptions { + if in == nil { return nil } out := new(PodLogOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodLogOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodLogOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4045,19 +4046,19 @@ func (in *PodPortForwardOptions) DeepCopyInto(out *PodPortForwardOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPortForwardOptions. -func (x *PodPortForwardOptions) DeepCopy() *PodPortForwardOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPortForwardOptions. +func (in *PodPortForwardOptions) DeepCopy() *PodPortForwardOptions { + if in == nil { return nil } out := new(PodPortForwardOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodPortForwardOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodPortForwardOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4071,19 +4072,19 @@ func (in *PodProxyOptions) DeepCopyInto(out *PodProxyOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodProxyOptions. -func (x *PodProxyOptions) DeepCopy() *PodProxyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodProxyOptions. +func (in *PodProxyOptions) DeepCopy() *PodProxyOptions { + if in == nil { return nil } out := new(PodProxyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodProxyOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodProxyOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4137,13 +4138,13 @@ func (in *PodSecurityContext) DeepCopyInto(out *PodSecurityContext) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityContext. -func (x *PodSecurityContext) DeepCopy() *PodSecurityContext { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityContext. +func (in *PodSecurityContext) DeepCopy() *PodSecurityContext { + if in == nil { return nil } out := new(PodSecurityContext) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4162,13 +4163,13 @@ func (in *PodSignature) DeepCopyInto(out *PodSignature) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSignature. -func (x *PodSignature) DeepCopy() *PodSignature { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSignature. +func (in *PodSignature) DeepCopy() *PodSignature { + if in == nil { return nil } out := new(PodSignature) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4279,13 +4280,13 @@ func (in *PodSpec) DeepCopyInto(out *PodSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. -func (x *PodSpec) DeepCopy() *PodSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. +func (in *PodSpec) DeepCopy() *PodSpec { + if in == nil { return nil } out := new(PodSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4325,13 +4326,13 @@ func (in *PodStatus) DeepCopyInto(out *PodStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. -func (x *PodStatus) DeepCopy() *PodStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. +func (in *PodStatus) DeepCopy() *PodStatus { + if in == nil { return nil } out := new(PodStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4344,19 +4345,19 @@ func (in *PodStatusResult) DeepCopyInto(out *PodStatusResult) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodStatusResult. -func (x *PodStatusResult) DeepCopy() *PodStatusResult { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatusResult. +func (in *PodStatusResult) DeepCopy() *PodStatusResult { + if in == nil { return nil } out := new(PodStatusResult) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodStatusResult) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodStatusResult) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4372,19 +4373,19 @@ func (in *PodTemplate) DeepCopyInto(out *PodTemplate) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplate. -func (x *PodTemplate) DeepCopy() *PodTemplate { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplate. +func (in *PodTemplate) DeepCopy() *PodTemplate { + if in == nil { return nil } out := new(PodTemplate) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodTemplate) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodTemplate) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4406,19 +4407,19 @@ func (in *PodTemplateList) DeepCopyInto(out *PodTemplateList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateList. -func (x *PodTemplateList) DeepCopy() *PodTemplateList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateList. +func (in *PodTemplateList) DeepCopy() *PodTemplateList { + if in == nil { return nil } out := new(PodTemplateList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodTemplateList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodTemplateList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4433,13 +4434,13 @@ func (in *PodTemplateSpec) DeepCopyInto(out *PodTemplateSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateSpec. -func (x *PodTemplateSpec) DeepCopy() *PodTemplateSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateSpec. +func (in *PodTemplateSpec) DeepCopy() *PodTemplateSpec { + if in == nil { return nil } out := new(PodTemplateSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4449,13 +4450,13 @@ func (in *PortworxVolumeSource) DeepCopyInto(out *PortworxVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PortworxVolumeSource. -func (x *PortworxVolumeSource) DeepCopy() *PortworxVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortworxVolumeSource. +func (in *PortworxVolumeSource) DeepCopy() *PortworxVolumeSource { + if in == nil { return nil } out := new(PortworxVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4474,13 +4475,13 @@ func (in *Preconditions) DeepCopyInto(out *Preconditions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions. -func (x *Preconditions) DeepCopy() *Preconditions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions. +func (in *Preconditions) DeepCopy() *Preconditions { + if in == nil { return nil } out := new(Preconditions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4492,13 +4493,13 @@ func (in *PreferAvoidPodsEntry) DeepCopyInto(out *PreferAvoidPodsEntry) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PreferAvoidPodsEntry. -func (x *PreferAvoidPodsEntry) DeepCopy() *PreferAvoidPodsEntry { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferAvoidPodsEntry. +func (in *PreferAvoidPodsEntry) DeepCopy() *PreferAvoidPodsEntry { + if in == nil { return nil } out := new(PreferAvoidPodsEntry) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4509,13 +4510,13 @@ func (in *PreferredSchedulingTerm) DeepCopyInto(out *PreferredSchedulingTerm) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PreferredSchedulingTerm. -func (x *PreferredSchedulingTerm) DeepCopy() *PreferredSchedulingTerm { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferredSchedulingTerm. +func (in *PreferredSchedulingTerm) DeepCopy() *PreferredSchedulingTerm { + if in == nil { return nil } out := new(PreferredSchedulingTerm) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4526,13 +4527,13 @@ func (in *Probe) DeepCopyInto(out *Probe) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Probe. -func (x *Probe) DeepCopy() *Probe { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe. +func (in *Probe) DeepCopy() *Probe { + if in == nil { return nil } out := new(Probe) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4558,13 +4559,13 @@ func (in *ProjectedVolumeSource) DeepCopyInto(out *ProjectedVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ProjectedVolumeSource. -func (x *ProjectedVolumeSource) DeepCopy() *ProjectedVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectedVolumeSource. +func (in *ProjectedVolumeSource) DeepCopy() *ProjectedVolumeSource { + if in == nil { return nil } out := new(ProjectedVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4574,13 +4575,13 @@ func (in *QuobyteVolumeSource) DeepCopyInto(out *QuobyteVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new QuobyteVolumeSource. -func (x *QuobyteVolumeSource) DeepCopy() *QuobyteVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuobyteVolumeSource. +func (in *QuobyteVolumeSource) DeepCopy() *QuobyteVolumeSource { + if in == nil { return nil } out := new(QuobyteVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4604,13 +4605,13 @@ func (in *RBDVolumeSource) DeepCopyInto(out *RBDVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RBDVolumeSource. -func (x *RBDVolumeSource) DeepCopy() *RBDVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBDVolumeSource. +func (in *RBDVolumeSource) DeepCopy() *RBDVolumeSource { + if in == nil { return nil } out := new(RBDVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4627,19 +4628,19 @@ func (in *RangeAllocation) DeepCopyInto(out *RangeAllocation) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RangeAllocation. -func (x *RangeAllocation) DeepCopy() *RangeAllocation { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangeAllocation. +func (in *RangeAllocation) DeepCopy() *RangeAllocation { + if in == nil { return nil } out := new(RangeAllocation) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *RangeAllocation) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *RangeAllocation) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4656,19 +4657,19 @@ func (in *ReplicationController) DeepCopyInto(out *ReplicationController) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationController. -func (x *ReplicationController) DeepCopy() *ReplicationController { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationController. +func (in *ReplicationController) DeepCopy() *ReplicationController { + if in == nil { return nil } out := new(ReplicationController) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ReplicationController) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ReplicationController) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4682,13 +4683,13 @@ func (in *ReplicationControllerCondition) DeepCopyInto(out *ReplicationControlle return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerCondition. -func (x *ReplicationControllerCondition) DeepCopy() *ReplicationControllerCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerCondition. +func (in *ReplicationControllerCondition) DeepCopy() *ReplicationControllerCondition { + if in == nil { return nil } out := new(ReplicationControllerCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4707,19 +4708,19 @@ func (in *ReplicationControllerList) DeepCopyInto(out *ReplicationControllerList return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerList. -func (x *ReplicationControllerList) DeepCopy() *ReplicationControllerList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerList. +func (in *ReplicationControllerList) DeepCopy() *ReplicationControllerList { + if in == nil { return nil } out := new(ReplicationControllerList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ReplicationControllerList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ReplicationControllerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4757,13 +4758,13 @@ func (in *ReplicationControllerSpec) DeepCopyInto(out *ReplicationControllerSpec return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerSpec. -func (x *ReplicationControllerSpec) DeepCopy() *ReplicationControllerSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerSpec. +func (in *ReplicationControllerSpec) DeepCopy() *ReplicationControllerSpec { + if in == nil { return nil } out := new(ReplicationControllerSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4780,13 +4781,13 @@ func (in *ReplicationControllerStatus) DeepCopyInto(out *ReplicationControllerSt return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerStatus. -func (x *ReplicationControllerStatus) DeepCopy() *ReplicationControllerStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerStatus. +func (in *ReplicationControllerStatus) DeepCopy() *ReplicationControllerStatus { + if in == nil { return nil } out := new(ReplicationControllerStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4797,13 +4798,13 @@ func (in *ResourceFieldSelector) DeepCopyInto(out *ResourceFieldSelector) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFieldSelector. -func (x *ResourceFieldSelector) DeepCopy() *ResourceFieldSelector { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFieldSelector. +func (in *ResourceFieldSelector) DeepCopy() *ResourceFieldSelector { + if in == nil { return nil } out := new(ResourceFieldSelector) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4817,19 +4818,19 @@ func (in *ResourceQuota) DeepCopyInto(out *ResourceQuota) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuota. -func (x *ResourceQuota) DeepCopy() *ResourceQuota { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuota. +func (in *ResourceQuota) DeepCopy() *ResourceQuota { + if in == nil { return nil } out := new(ResourceQuota) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ResourceQuota) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ResourceQuota) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4851,19 +4852,19 @@ func (in *ResourceQuotaList) DeepCopyInto(out *ResourceQuotaList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaList. -func (x *ResourceQuotaList) DeepCopy() *ResourceQuotaList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaList. +func (in *ResourceQuotaList) DeepCopy() *ResourceQuotaList { + if in == nil { return nil } out := new(ResourceQuotaList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ResourceQuotaList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ResourceQuotaList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -4888,13 +4889,13 @@ func (in *ResourceQuotaSpec) DeepCopyInto(out *ResourceQuotaSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec. -func (x *ResourceQuotaSpec) DeepCopy() *ResourceQuotaSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec. +func (in *ResourceQuotaSpec) DeepCopy() *ResourceQuotaSpec { + if in == nil { return nil } out := new(ResourceQuotaSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4918,13 +4919,13 @@ func (in *ResourceQuotaStatus) DeepCopyInto(out *ResourceQuotaStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaStatus. -func (x *ResourceQuotaStatus) DeepCopy() *ResourceQuotaStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaStatus. +func (in *ResourceQuotaStatus) DeepCopy() *ResourceQuotaStatus { + if in == nil { return nil } out := new(ResourceQuotaStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4948,13 +4949,13 @@ func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements. -func (x *ResourceRequirements) DeepCopy() *ResourceRequirements { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements. +func (in *ResourceRequirements) DeepCopy() *ResourceRequirements { + if in == nil { return nil } out := new(ResourceRequirements) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4964,13 +4965,13 @@ func (in *SELinuxOptions) DeepCopyInto(out *SELinuxOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxOptions. -func (x *SELinuxOptions) DeepCopy() *SELinuxOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxOptions. +func (in *SELinuxOptions) DeepCopy() *SELinuxOptions { + if in == nil { return nil } out := new(SELinuxOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -4989,13 +4990,13 @@ func (in *ScaleIOVolumeSource) DeepCopyInto(out *ScaleIOVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOVolumeSource. -func (x *ScaleIOVolumeSource) DeepCopy() *ScaleIOVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOVolumeSource. +func (in *ScaleIOVolumeSource) DeepCopy() *ScaleIOVolumeSource { + if in == nil { return nil } out := new(ScaleIOVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5026,19 +5027,19 @@ func (in *Secret) DeepCopyInto(out *Secret) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Secret. -func (x *Secret) DeepCopy() *Secret { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret. +func (in *Secret) DeepCopy() *Secret { + if in == nil { return nil } out := new(Secret) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Secret) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Secret) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5061,13 +5062,13 @@ func (in *SecretEnvSource) DeepCopyInto(out *SecretEnvSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SecretEnvSource. -func (x *SecretEnvSource) DeepCopy() *SecretEnvSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretEnvSource. +func (in *SecretEnvSource) DeepCopy() *SecretEnvSource { + if in == nil { return nil } out := new(SecretEnvSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5087,13 +5088,13 @@ func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector. -func (x *SecretKeySelector) DeepCopy() *SecretKeySelector { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector. +func (in *SecretKeySelector) DeepCopy() *SecretKeySelector { + if in == nil { return nil } out := new(SecretKeySelector) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5112,19 +5113,19 @@ func (in *SecretList) DeepCopyInto(out *SecretList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SecretList. -func (x *SecretList) DeepCopy() *SecretList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList. +func (in *SecretList) DeepCopy() *SecretList { + if in == nil { return nil } out := new(SecretList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SecretList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SecretList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5154,13 +5155,13 @@ func (in *SecretProjection) DeepCopyInto(out *SecretProjection) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SecretProjection. -func (x *SecretProjection) DeepCopy() *SecretProjection { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProjection. +func (in *SecretProjection) DeepCopy() *SecretProjection { + if in == nil { return nil } out := new(SecretProjection) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5195,13 +5196,13 @@ func (in *SecretVolumeSource) DeepCopyInto(out *SecretVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SecretVolumeSource. -func (x *SecretVolumeSource) DeepCopy() *SecretVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVolumeSource. +func (in *SecretVolumeSource) DeepCopy() *SecretVolumeSource { + if in == nil { return nil } out := new(SecretVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5274,13 +5275,13 @@ func (in *SecurityContext) DeepCopyInto(out *SecurityContext) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContext. -func (x *SecurityContext) DeepCopy() *SecurityContext { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContext. +func (in *SecurityContext) DeepCopy() *SecurityContext { + if in == nil { return nil } out := new(SecurityContext) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5292,19 +5293,19 @@ func (in *SerializedReference) DeepCopyInto(out *SerializedReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SerializedReference. -func (x *SerializedReference) DeepCopy() *SerializedReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerializedReference. +func (in *SerializedReference) DeepCopy() *SerializedReference { + if in == nil { return nil } out := new(SerializedReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SerializedReference) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SerializedReference) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5321,19 +5322,19 @@ func (in *Service) DeepCopyInto(out *Service) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Service. -func (x *Service) DeepCopy() *Service { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service. +func (in *Service) DeepCopy() *Service { + if in == nil { return nil } out := new(Service) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Service) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Service) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5367,19 +5368,19 @@ func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount. -func (x *ServiceAccount) DeepCopy() *ServiceAccount { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount. +func (in *ServiceAccount) DeepCopy() *ServiceAccount { + if in == nil { return nil } out := new(ServiceAccount) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ServiceAccount) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ServiceAccount) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5401,19 +5402,19 @@ func (in *ServiceAccountList) DeepCopyInto(out *ServiceAccountList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountList. -func (x *ServiceAccountList) DeepCopy() *ServiceAccountList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountList. +func (in *ServiceAccountList) DeepCopy() *ServiceAccountList { + if in == nil { return nil } out := new(ServiceAccountList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ServiceAccountList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ServiceAccountList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5435,19 +5436,19 @@ func (in *ServiceList) DeepCopyInto(out *ServiceList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList. -func (x *ServiceList) DeepCopy() *ServiceList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList. +func (in *ServiceList) DeepCopy() *ServiceList { + if in == nil { return nil } out := new(ServiceList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ServiceList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5461,13 +5462,13 @@ func (in *ServicePort) DeepCopyInto(out *ServicePort) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort. -func (x *ServicePort) DeepCopy() *ServicePort { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort. +func (in *ServicePort) DeepCopy() *ServicePort { + if in == nil { return nil } out := new(ServicePort) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5478,19 +5479,19 @@ func (in *ServiceProxyOptions) DeepCopyInto(out *ServiceProxyOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProxyOptions. -func (x *ServiceProxyOptions) DeepCopy() *ServiceProxyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProxyOptions. +func (in *ServiceProxyOptions) DeepCopy() *ServiceProxyOptions { + if in == nil { return nil } out := new(ServiceProxyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ServiceProxyOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ServiceProxyOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -5525,13 +5526,13 @@ func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec. -func (x *ServiceSpec) DeepCopy() *ServiceSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec. +func (in *ServiceSpec) DeepCopy() *ServiceSpec { + if in == nil { return nil } out := new(ServiceSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5542,13 +5543,13 @@ func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus. -func (x *ServiceStatus) DeepCopy() *ServiceStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus. +func (in *ServiceStatus) DeepCopy() *ServiceStatus { + if in == nil { return nil } out := new(ServiceStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5567,13 +5568,13 @@ func (in *StorageOSPersistentVolumeSource) DeepCopyInto(out *StorageOSPersistent return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSPersistentVolumeSource. -func (x *StorageOSPersistentVolumeSource) DeepCopy() *StorageOSPersistentVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSPersistentVolumeSource. +func (in *StorageOSPersistentVolumeSource) DeepCopy() *StorageOSPersistentVolumeSource { + if in == nil { return nil } out := new(StorageOSPersistentVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5592,13 +5593,13 @@ func (in *StorageOSVolumeSource) DeepCopyInto(out *StorageOSVolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSVolumeSource. -func (x *StorageOSVolumeSource) DeepCopy() *StorageOSVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSVolumeSource. +func (in *StorageOSVolumeSource) DeepCopy() *StorageOSVolumeSource { + if in == nil { return nil } out := new(StorageOSVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5608,13 +5609,13 @@ func (in *Sysctl) DeepCopyInto(out *Sysctl) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Sysctl. -func (x *Sysctl) DeepCopy() *Sysctl { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sysctl. +func (in *Sysctl) DeepCopy() *Sysctl { + if in == nil { return nil } out := new(Sysctl) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5625,13 +5626,13 @@ func (in *TCPSocketAction) DeepCopyInto(out *TCPSocketAction) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TCPSocketAction. -func (x *TCPSocketAction) DeepCopy() *TCPSocketAction { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPSocketAction. +func (in *TCPSocketAction) DeepCopy() *TCPSocketAction { + if in == nil { return nil } out := new(TCPSocketAction) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5642,13 +5643,13 @@ func (in *Taint) DeepCopyInto(out *Taint) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Taint. -func (x *Taint) DeepCopy() *Taint { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint. +func (in *Taint) DeepCopy() *Taint { + if in == nil { return nil } out := new(Taint) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5667,13 +5668,13 @@ func (in *Toleration) DeepCopyInto(out *Toleration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Toleration. -func (x *Toleration) DeepCopy() *Toleration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Toleration. +func (in *Toleration) DeepCopy() *Toleration { + if in == nil { return nil } out := new(Toleration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5684,13 +5685,13 @@ func (in *Volume) DeepCopyInto(out *Volume) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Volume. -func (x *Volume) DeepCopy() *Volume { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume. +func (in *Volume) DeepCopy() *Volume { + if in == nil { return nil } out := new(Volume) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5700,13 +5701,13 @@ func (in *VolumeMount) DeepCopyInto(out *VolumeMount) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMount. -func (x *VolumeMount) DeepCopy() *VolumeMount { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMount. +func (in *VolumeMount) DeepCopy() *VolumeMount { + if in == nil { return nil } out := new(VolumeMount) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -5743,13 +5744,13 @@ func (in *VolumeProjection) DeepCopyInto(out *VolumeProjection) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new VolumeProjection. -func (x *VolumeProjection) DeepCopy() *VolumeProjection { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeProjection. +func (in *VolumeProjection) DeepCopy() *VolumeProjection { + if in == nil { return nil } out := new(VolumeProjection) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -6002,13 +6003,13 @@ func (in *VolumeSource) DeepCopyInto(out *VolumeSource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSource. -func (x *VolumeSource) DeepCopy() *VolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSource. +func (in *VolumeSource) DeepCopy() *VolumeSource { + if in == nil { return nil } out := new(VolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -6018,13 +6019,13 @@ func (in *VsphereVirtualDiskVolumeSource) DeepCopyInto(out *VsphereVirtualDiskVo return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new VsphereVirtualDiskVolumeSource. -func (x *VsphereVirtualDiskVolumeSource) DeepCopy() *VsphereVirtualDiskVolumeSource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereVirtualDiskVolumeSource. +func (in *VsphereVirtualDiskVolumeSource) DeepCopy() *VsphereVirtualDiskVolumeSource { + if in == nil { return nil } out := new(VsphereVirtualDiskVolumeSource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -6035,12 +6036,12 @@ func (in *WeightedPodAffinityTerm) DeepCopyInto(out *WeightedPodAffinityTerm) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new WeightedPodAffinityTerm. -func (x *WeightedPodAffinityTerm) DeepCopy() *WeightedPodAffinityTerm { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedPodAffinityTerm. +func (in *WeightedPodAffinityTerm) DeepCopy() *WeightedPodAffinityTerm { + if in == nil { return nil } out := new(WeightedPodAffinityTerm) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/extensions/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/extensions/v1beta1/zz_generated.deepcopy.go index 599c2d4f1d6..6f2c4aa7e1a 100644 --- a/staging/src/k8s.io/api/extensions/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/extensions/v1beta1/zz_generated.deepcopy.go @@ -29,13 +29,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 { @@ -279,13 +280,13 @@ func (in *APIVersion) DeepCopyInto(out *APIVersion) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIVersion. -func (x *APIVersion) DeepCopy() *APIVersion { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIVersion. +func (in *APIVersion) DeepCopy() *APIVersion { + if in == nil { return nil } out := new(APIVersion) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -296,13 +297,13 @@ func (in *CustomMetricCurrentStatus) DeepCopyInto(out *CustomMetricCurrentStatus return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricCurrentStatus. -func (x *CustomMetricCurrentStatus) DeepCopy() *CustomMetricCurrentStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricCurrentStatus. +func (in *CustomMetricCurrentStatus) DeepCopy() *CustomMetricCurrentStatus { + if in == nil { return nil } out := new(CustomMetricCurrentStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -319,13 +320,13 @@ func (in *CustomMetricCurrentStatusList) DeepCopyInto(out *CustomMetricCurrentSt return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricCurrentStatusList. -func (x *CustomMetricCurrentStatusList) DeepCopy() *CustomMetricCurrentStatusList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricCurrentStatusList. +func (in *CustomMetricCurrentStatusList) DeepCopy() *CustomMetricCurrentStatusList { + if in == nil { return nil } out := new(CustomMetricCurrentStatusList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -336,13 +337,13 @@ func (in *CustomMetricTarget) DeepCopyInto(out *CustomMetricTarget) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricTarget. -func (x *CustomMetricTarget) DeepCopy() *CustomMetricTarget { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricTarget. +func (in *CustomMetricTarget) DeepCopy() *CustomMetricTarget { + if in == nil { return nil } out := new(CustomMetricTarget) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -359,13 +360,13 @@ func (in *CustomMetricTargetList) DeepCopyInto(out *CustomMetricTargetList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricTargetList. -func (x *CustomMetricTargetList) DeepCopy() *CustomMetricTargetList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricTargetList. +func (in *CustomMetricTargetList) DeepCopy() *CustomMetricTargetList { + if in == nil { return nil } out := new(CustomMetricTargetList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -379,19 +380,19 @@ func (in *DaemonSet) DeepCopyInto(out *DaemonSet) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet. -func (x *DaemonSet) DeepCopy() *DaemonSet { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet. +func (in *DaemonSet) DeepCopy() *DaemonSet { + if in == nil { return nil } out := new(DaemonSet) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DaemonSet) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DaemonSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -413,19 +414,19 @@ func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList. -func (x *DaemonSetList) DeepCopy() *DaemonSetList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList. +func (in *DaemonSetList) DeepCopy() *DaemonSetList { + if in == nil { return nil } out := new(DaemonSetList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DaemonSetList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DaemonSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -458,13 +459,13 @@ func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec. -func (x *DaemonSetSpec) DeepCopy() *DaemonSetSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec. +func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec { + if in == nil { return nil } out := new(DaemonSetSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -483,13 +484,13 @@ func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus. -func (x *DaemonSetStatus) DeepCopy() *DaemonSetStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus. +func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus { + if in == nil { return nil } out := new(DaemonSetStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -508,13 +509,13 @@ func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy. -func (x *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy. +func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy { + if in == nil { return nil } out := new(DaemonSetUpdateStrategy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -528,19 +529,19 @@ func (in *Deployment) DeepCopyInto(out *Deployment) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Deployment. -func (x *Deployment) DeepCopy() *Deployment { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment. +func (in *Deployment) DeepCopy() *Deployment { + if in == nil { return nil } out := new(Deployment) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Deployment) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Deployment) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -555,13 +556,13 @@ func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition. -func (x *DeploymentCondition) DeepCopy() *DeploymentCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition. +func (in *DeploymentCondition) DeepCopy() *DeploymentCondition { + if in == nil { return nil } out := new(DeploymentCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -580,19 +581,19 @@ func (in *DeploymentList) DeepCopyInto(out *DeploymentList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList. -func (x *DeploymentList) DeepCopy() *DeploymentList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList. +func (in *DeploymentList) DeepCopy() *DeploymentList { + if in == nil { return nil } out := new(DeploymentList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DeploymentList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DeploymentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -614,19 +615,19 @@ func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback. -func (x *DeploymentRollback) DeepCopy() *DeploymentRollback { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback. +func (in *DeploymentRollback) DeepCopy() *DeploymentRollback { + if in == nil { return nil } out := new(DeploymentRollback) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DeploymentRollback) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DeploymentRollback) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -686,13 +687,13 @@ func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec. -func (x *DeploymentSpec) DeepCopy() *DeploymentSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec. +func (in *DeploymentSpec) DeepCopy() *DeploymentSpec { + if in == nil { return nil } out := new(DeploymentSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -718,13 +719,13 @@ func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus. -func (x *DeploymentStatus) DeepCopy() *DeploymentStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus. +func (in *DeploymentStatus) DeepCopy() *DeploymentStatus { + if in == nil { return nil } out := new(DeploymentStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -743,13 +744,13 @@ func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy. -func (x *DeploymentStrategy) DeepCopy() *DeploymentStrategy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy. +func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy { + if in == nil { return nil } out := new(DeploymentStrategy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -764,13 +765,13 @@ func (in *FSGroupStrategyOptions) DeepCopyInto(out *FSGroupStrategyOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FSGroupStrategyOptions. -func (x *FSGroupStrategyOptions) DeepCopy() *FSGroupStrategyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSGroupStrategyOptions. +func (in *FSGroupStrategyOptions) DeepCopy() *FSGroupStrategyOptions { + if in == nil { return nil } out := new(FSGroupStrategyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -781,13 +782,13 @@ func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath. -func (x *HTTPIngressPath) DeepCopy() *HTTPIngressPath { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath. +func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath { + if in == nil { return nil } out := new(HTTPIngressPath) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -802,13 +803,13 @@ func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue. -func (x *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue. +func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue { + if in == nil { return nil } out := new(HTTPIngressRuleValue) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -818,13 +819,13 @@ func (in *HostPortRange) DeepCopyInto(out *HostPortRange) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HostPortRange. -func (x *HostPortRange) DeepCopy() *HostPortRange { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortRange. +func (in *HostPortRange) DeepCopy() *HostPortRange { + if in == nil { return nil } out := new(HostPortRange) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -834,13 +835,13 @@ func (in *IDRange) DeepCopyInto(out *IDRange) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IDRange. -func (x *IDRange) DeepCopy() *IDRange { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IDRange. +func (in *IDRange) DeepCopy() *IDRange { + if in == nil { return nil } out := new(IDRange) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -854,19 +855,19 @@ func (in *Ingress) DeepCopyInto(out *Ingress) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Ingress. -func (x *Ingress) DeepCopy() *Ingress { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress. +func (in *Ingress) DeepCopy() *Ingress { + if in == nil { return nil } out := new(Ingress) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Ingress) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Ingress) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -880,13 +881,13 @@ func (in *IngressBackend) DeepCopyInto(out *IngressBackend) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend. -func (x *IngressBackend) DeepCopy() *IngressBackend { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend. +func (in *IngressBackend) DeepCopy() *IngressBackend { + if in == nil { return nil } out := new(IngressBackend) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -905,19 +906,19 @@ func (in *IngressList) DeepCopyInto(out *IngressList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressList. -func (x *IngressList) DeepCopy() *IngressList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList. +func (in *IngressList) DeepCopy() *IngressList { + if in == nil { return nil } out := new(IngressList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *IngressList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *IngressList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -931,13 +932,13 @@ func (in *IngressRule) DeepCopyInto(out *IngressRule) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule. -func (x *IngressRule) DeepCopy() *IngressRule { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule. +func (in *IngressRule) DeepCopy() *IngressRule { + if in == nil { return nil } out := new(IngressRule) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -956,13 +957,13 @@ func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue. -func (x *IngressRuleValue) DeepCopy() *IngressRuleValue { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue. +func (in *IngressRuleValue) DeepCopy() *IngressRuleValue { + if in == nil { return nil } out := new(IngressRuleValue) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -995,13 +996,13 @@ func (in *IngressSpec) DeepCopyInto(out *IngressSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec. -func (x *IngressSpec) DeepCopy() *IngressSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec. +func (in *IngressSpec) DeepCopy() *IngressSpec { + if in == nil { return nil } out := new(IngressSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1012,13 +1013,13 @@ func (in *IngressStatus) DeepCopyInto(out *IngressStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus. -func (x *IngressStatus) DeepCopy() *IngressStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus. +func (in *IngressStatus) DeepCopy() *IngressStatus { + if in == nil { return nil } out := new(IngressStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1033,13 +1034,13 @@ func (in *IngressTLS) DeepCopyInto(out *IngressTLS) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS. -func (x *IngressTLS) DeepCopy() *IngressTLS { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS. +func (in *IngressTLS) DeepCopy() *IngressTLS { + if in == nil { return nil } out := new(IngressTLS) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1052,19 +1053,19 @@ func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy. -func (x *NetworkPolicy) DeepCopy() *NetworkPolicy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy. +func (in *NetworkPolicy) DeepCopy() *NetworkPolicy { + if in == nil { return nil } out := new(NetworkPolicy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NetworkPolicy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NetworkPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1091,13 +1092,13 @@ func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule. -func (x *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule. +func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule { + if in == nil { return nil } out := new(NetworkPolicyIngressRule) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1116,19 +1117,19 @@ func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList. -func (x *NetworkPolicyList) DeepCopy() *NetworkPolicyList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList. +func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList { + if in == nil { return nil } out := new(NetworkPolicyList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NetworkPolicyList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NetworkPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1159,13 +1160,13 @@ func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer. -func (x *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer. +func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer { + if in == nil { return nil } out := new(NetworkPolicyPeer) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1193,13 +1194,13 @@ func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort. -func (x *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort. +func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort { + if in == nil { return nil } out := new(NetworkPolicyPort) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1217,13 +1218,13 @@ func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec. -func (x *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec. +func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec { + if in == nil { return nil } out := new(NetworkPolicySpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1236,19 +1237,19 @@ func (in *PodSecurityPolicy) DeepCopyInto(out *PodSecurityPolicy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicy. -func (x *PodSecurityPolicy) DeepCopy() *PodSecurityPolicy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicy. +func (in *PodSecurityPolicy) DeepCopy() *PodSecurityPolicy { + if in == nil { return nil } out := new(PodSecurityPolicy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodSecurityPolicy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodSecurityPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1270,19 +1271,19 @@ func (in *PodSecurityPolicyList) DeepCopyInto(out *PodSecurityPolicyList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyList. -func (x *PodSecurityPolicyList) DeepCopy() *PodSecurityPolicyList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyList. +func (in *PodSecurityPolicyList) DeepCopy() *PodSecurityPolicyList { + if in == nil { return nil } out := new(PodSecurityPolicyList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodSecurityPolicyList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodSecurityPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1333,13 +1334,13 @@ func (in *PodSecurityPolicySpec) DeepCopyInto(out *PodSecurityPolicySpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySpec. -func (x *PodSecurityPolicySpec) DeepCopy() *PodSecurityPolicySpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySpec. +func (in *PodSecurityPolicySpec) DeepCopy() *PodSecurityPolicySpec { + if in == nil { return nil } out := new(PodSecurityPolicySpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1353,19 +1354,19 @@ func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet. -func (x *ReplicaSet) DeepCopy() *ReplicaSet { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet. +func (in *ReplicaSet) DeepCopy() *ReplicaSet { + if in == nil { return nil } out := new(ReplicaSet) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ReplicaSet) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ReplicaSet) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1379,13 +1380,13 @@ func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition. -func (x *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition. +func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition { + if in == nil { return nil } out := new(ReplicaSetCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1404,19 +1405,19 @@ func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList. -func (x *ReplicaSetList) DeepCopy() *ReplicaSetList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList. +func (in *ReplicaSetList) DeepCopy() *ReplicaSetList { + if in == nil { return nil } out := new(ReplicaSetList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ReplicaSetList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ReplicaSetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1448,13 +1449,13 @@ func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec. -func (x *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec. +func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec { + if in == nil { return nil } out := new(ReplicaSetSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1471,13 +1472,13 @@ func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus. -func (x *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus. +func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus { + if in == nil { return nil } out := new(ReplicaSetStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1488,19 +1489,19 @@ func (in *ReplicationControllerDummy) DeepCopyInto(out *ReplicationControllerDum return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerDummy. -func (x *ReplicationControllerDummy) DeepCopy() *ReplicationControllerDummy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerDummy. +func (in *ReplicationControllerDummy) DeepCopy() *ReplicationControllerDummy { + if in == nil { return nil } out := new(ReplicationControllerDummy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ReplicationControllerDummy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ReplicationControllerDummy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1513,13 +1514,13 @@ func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig. -func (x *RollbackConfig) DeepCopy() *RollbackConfig { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig. +func (in *RollbackConfig) DeepCopy() *RollbackConfig { + if in == nil { return nil } out := new(RollbackConfig) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1538,13 +1539,13 @@ func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet. -func (x *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet. +func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet { + if in == nil { return nil } out := new(RollingUpdateDaemonSet) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1572,13 +1573,13 @@ func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment. -func (x *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment. +func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment { + if in == nil { return nil } out := new(RollingUpdateDeployment) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1593,13 +1594,13 @@ func (in *RunAsUserStrategyOptions) DeepCopyInto(out *RunAsUserStrategyOptions) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserStrategyOptions. -func (x *RunAsUserStrategyOptions) DeepCopy() *RunAsUserStrategyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserStrategyOptions. +func (in *RunAsUserStrategyOptions) DeepCopy() *RunAsUserStrategyOptions { + if in == nil { return nil } out := new(RunAsUserStrategyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1618,13 +1619,13 @@ func (in *SELinuxStrategyOptions) DeepCopyInto(out *SELinuxStrategyOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxStrategyOptions. -func (x *SELinuxStrategyOptions) DeepCopy() *SELinuxStrategyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxStrategyOptions. +func (in *SELinuxStrategyOptions) DeepCopy() *SELinuxStrategyOptions { + if in == nil { return nil } out := new(SELinuxStrategyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1638,19 +1639,19 @@ func (in *Scale) DeepCopyInto(out *Scale) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Scale. -func (x *Scale) DeepCopy() *Scale { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale. +func (in *Scale) DeepCopy() *Scale { + if in == nil { return nil } out := new(Scale) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Scale) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Scale) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1663,13 +1664,13 @@ func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. -func (x *ScaleSpec) DeepCopy() *ScaleSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. +func (in *ScaleSpec) DeepCopy() *ScaleSpec { + if in == nil { return nil } out := new(ScaleSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1686,13 +1687,13 @@ func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. -func (x *ScaleStatus) DeepCopy() *ScaleStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. +func (in *ScaleStatus) DeepCopy() *ScaleStatus { + if in == nil { return nil } out := new(ScaleStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1707,13 +1708,13 @@ func (in *SupplementalGroupsStrategyOptions) DeepCopyInto(out *SupplementalGroup return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsStrategyOptions. -func (x *SupplementalGroupsStrategyOptions) DeepCopy() *SupplementalGroupsStrategyOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsStrategyOptions. +func (in *SupplementalGroupsStrategyOptions) DeepCopy() *SupplementalGroupsStrategyOptions { + if in == nil { return nil } out := new(SupplementalGroupsStrategyOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1730,19 +1731,19 @@ func (in *ThirdPartyResource) DeepCopyInto(out *ThirdPartyResource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResource. -func (x *ThirdPartyResource) DeepCopy() *ThirdPartyResource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResource. +func (in *ThirdPartyResource) DeepCopy() *ThirdPartyResource { + if in == nil { return nil } out := new(ThirdPartyResource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ThirdPartyResource) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ThirdPartyResource) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1762,19 +1763,19 @@ func (in *ThirdPartyResourceData) DeepCopyInto(out *ThirdPartyResourceData) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResourceData. -func (x *ThirdPartyResourceData) DeepCopy() *ThirdPartyResourceData { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResourceData. +func (in *ThirdPartyResourceData) DeepCopy() *ThirdPartyResourceData { + if in == nil { return nil } out := new(ThirdPartyResourceData) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ThirdPartyResourceData) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ThirdPartyResourceData) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1796,19 +1797,19 @@ func (in *ThirdPartyResourceDataList) DeepCopyInto(out *ThirdPartyResourceDataLi return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResourceDataList. -func (x *ThirdPartyResourceDataList) DeepCopy() *ThirdPartyResourceDataList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResourceDataList. +func (in *ThirdPartyResourceDataList) DeepCopy() *ThirdPartyResourceDataList { + if in == nil { return nil } out := new(ThirdPartyResourceDataList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ThirdPartyResourceDataList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ThirdPartyResourceDataList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -1830,19 +1831,19 @@ func (in *ThirdPartyResourceList) DeepCopyInto(out *ThirdPartyResourceList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResourceList. -func (x *ThirdPartyResourceList) DeepCopy() *ThirdPartyResourceList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyResourceList. +func (in *ThirdPartyResourceList) DeepCopy() *ThirdPartyResourceList { + if in == nil { return nil } out := new(ThirdPartyResourceList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ThirdPartyResourceList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ThirdPartyResourceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/api/imagepolicy/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/imagepolicy/v1alpha1/zz_generated.deepcopy.go index 365c6d6a1f3..95b204e0eb9 100644 --- a/staging/src/k8s.io/api/imagepolicy/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/imagepolicy/v1alpha1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -64,19 +65,19 @@ func (in *ImageReview) DeepCopyInto(out *ImageReview) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReview. -func (x *ImageReview) DeepCopy() *ImageReview { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReview. +func (in *ImageReview) DeepCopy() *ImageReview { + if in == nil { return nil } out := new(ImageReview) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ImageReview) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ImageReview) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -89,13 +90,13 @@ func (in *ImageReviewContainerSpec) DeepCopyInto(out *ImageReviewContainerSpec) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewContainerSpec. -func (x *ImageReviewContainerSpec) DeepCopy() *ImageReviewContainerSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewContainerSpec. +func (in *ImageReviewContainerSpec) DeepCopy() *ImageReviewContainerSpec { + if in == nil { return nil } out := new(ImageReviewContainerSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -117,13 +118,13 @@ func (in *ImageReviewSpec) DeepCopyInto(out *ImageReviewSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewSpec. -func (x *ImageReviewSpec) DeepCopy() *ImageReviewSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewSpec. +func (in *ImageReviewSpec) DeepCopy() *ImageReviewSpec { + if in == nil { return nil } out := new(ImageReviewSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -133,12 +134,12 @@ func (in *ImageReviewStatus) DeepCopyInto(out *ImageReviewStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewStatus. -func (x *ImageReviewStatus) DeepCopy() *ImageReviewStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewStatus. +func (in *ImageReviewStatus) DeepCopy() *ImageReviewStatus { + if in == nil { return nil } out := new(ImageReviewStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/networking/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/networking/v1/zz_generated.deepcopy.go index 240abf573ac..f6a0a5f809e 100644 --- a/staging/src/k8s.io/api/networking/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/networking/v1/zz_generated.deepcopy.go @@ -29,13 +29,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 { @@ -74,19 +75,19 @@ func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy. -func (x *NetworkPolicy) DeepCopy() *NetworkPolicy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy. +func (in *NetworkPolicy) DeepCopy() *NetworkPolicy { + if in == nil { return nil } out := new(NetworkPolicy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NetworkPolicy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NetworkPolicy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -113,13 +114,13 @@ func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule. -func (x *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule. +func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule { + if in == nil { return nil } out := new(NetworkPolicyIngressRule) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -138,19 +139,19 @@ func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList. -func (x *NetworkPolicyList) DeepCopy() *NetworkPolicyList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList. +func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList { + if in == nil { return nil } out := new(NetworkPolicyList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NetworkPolicyList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NetworkPolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -181,13 +182,13 @@ func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer. -func (x *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer. +func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer { + if in == nil { return nil } out := new(NetworkPolicyPeer) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -215,13 +216,13 @@ func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort. -func (x *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort. +func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort { + if in == nil { return nil } out := new(NetworkPolicyPort) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -239,12 +240,12 @@ func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec. -func (x *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec. +func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec { + if in == nil { return nil } out := new(NetworkPolicySpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/policy/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/policy/v1beta1/zz_generated.deepcopy.go index 6e39cd3cd59..93c201e2dd5 100644 --- a/staging/src/k8s.io/api/policy/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/policy/v1beta1/zz_generated.deepcopy.go @@ -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 { @@ -77,19 +78,19 @@ func (in *Eviction) DeepCopyInto(out *Eviction) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Eviction. -func (x *Eviction) DeepCopy() *Eviction { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eviction. +func (in *Eviction) DeepCopy() *Eviction { + if in == nil { return nil } out := new(Eviction) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Eviction) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Eviction) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -106,19 +107,19 @@ func (in *PodDisruptionBudget) DeepCopyInto(out *PodDisruptionBudget) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget. -func (x *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget. +func (in *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget { + if in == nil { return nil } out := new(PodDisruptionBudget) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodDisruptionBudget) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodDisruptionBudget) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -140,19 +141,19 @@ func (in *PodDisruptionBudgetList) DeepCopyInto(out *PodDisruptionBudgetList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList. -func (x *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList. +func (in *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList { + if in == nil { return nil } out := new(PodDisruptionBudgetList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodDisruptionBudgetList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodDisruptionBudgetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -192,13 +193,13 @@ func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec. -func (x *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec. +func (in *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec { + if in == nil { return nil } out := new(PodDisruptionBudgetSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -215,12 +216,12 @@ func (in *PodDisruptionBudgetStatus) DeepCopyInto(out *PodDisruptionBudgetStatus return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus. -func (x *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus. +func (in *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus { + if in == nil { return nil } out := new(PodDisruptionBudgetStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/rbac/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/rbac/v1alpha1/zz_generated.deepcopy.go index e01ec3c446f..e4cab832534 100644 --- a/staging/src/k8s.io/api/rbac/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/rbac/v1alpha1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -97,19 +98,19 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole. -func (x *ClusterRole) DeepCopy() *ClusterRole { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole. +func (in *ClusterRole) DeepCopy() *ClusterRole { + if in == nil { return nil } out := new(ClusterRole) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterRole) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterRole) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -130,19 +131,19 @@ func (in *ClusterRoleBinding) DeepCopyInto(out *ClusterRoleBinding) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding. -func (x *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding. +func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding { + if in == nil { return nil } out := new(ClusterRoleBinding) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterRoleBinding) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterRoleBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -164,19 +165,19 @@ func (in *ClusterRoleBindingList) DeepCopyInto(out *ClusterRoleBindingList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList. -func (x *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList. +func (in *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList { + if in == nil { return nil } out := new(ClusterRoleBindingList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterRoleBindingList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterRoleBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -198,19 +199,19 @@ func (in *ClusterRoleList) DeepCopyInto(out *ClusterRoleList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList. -func (x *ClusterRoleList) DeepCopy() *ClusterRoleList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList. +func (in *ClusterRoleList) DeepCopy() *ClusterRoleList { + if in == nil { return nil } out := new(ClusterRoleList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterRoleList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterRoleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -248,13 +249,13 @@ func (in *PolicyRule) DeepCopyInto(out *PolicyRule) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. -func (x *PolicyRule) DeepCopy() *PolicyRule { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. +func (in *PolicyRule) DeepCopy() *PolicyRule { + if in == nil { return nil } out := new(PolicyRule) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -273,19 +274,19 @@ func (in *Role) DeepCopyInto(out *Role) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Role. -func (x *Role) DeepCopy() *Role { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role. +func (in *Role) DeepCopy() *Role { + if in == nil { return nil } out := new(Role) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Role) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Role) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -306,19 +307,19 @@ func (in *RoleBinding) DeepCopyInto(out *RoleBinding) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. -func (x *RoleBinding) DeepCopy() *RoleBinding { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. +func (in *RoleBinding) DeepCopy() *RoleBinding { + if in == nil { return nil } out := new(RoleBinding) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *RoleBinding) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *RoleBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -340,19 +341,19 @@ func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList. -func (x *RoleBindingList) DeepCopy() *RoleBindingList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList. +func (in *RoleBindingList) DeepCopy() *RoleBindingList { + if in == nil { return nil } out := new(RoleBindingList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *RoleBindingList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *RoleBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -374,19 +375,19 @@ func (in *RoleList) DeepCopyInto(out *RoleList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleList. -func (x *RoleList) DeepCopy() *RoleList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList. +func (in *RoleList) DeepCopy() *RoleList { + if in == nil { return nil } out := new(RoleList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *RoleList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *RoleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -399,13 +400,13 @@ func (in *RoleRef) DeepCopyInto(out *RoleRef) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef. -func (x *RoleRef) DeepCopy() *RoleRef { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef. +func (in *RoleRef) DeepCopy() *RoleRef { + if in == nil { return nil } out := new(RoleRef) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -415,12 +416,12 @@ func (in *Subject) DeepCopyInto(out *Subject) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Subject. -func (x *Subject) DeepCopy() *Subject { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject. +func (in *Subject) DeepCopy() *Subject { + if in == nil { return nil } out := new(Subject) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/rbac/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/rbac/v1beta1/zz_generated.deepcopy.go index f5e98e3b324..922727646f2 100644 --- a/staging/src/k8s.io/api/rbac/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/rbac/v1beta1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -97,19 +98,19 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole. -func (x *ClusterRole) DeepCopy() *ClusterRole { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole. +func (in *ClusterRole) DeepCopy() *ClusterRole { + if in == nil { return nil } out := new(ClusterRole) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterRole) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterRole) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -130,19 +131,19 @@ func (in *ClusterRoleBinding) DeepCopyInto(out *ClusterRoleBinding) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding. -func (x *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding. +func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding { + if in == nil { return nil } out := new(ClusterRoleBinding) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterRoleBinding) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterRoleBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -164,19 +165,19 @@ func (in *ClusterRoleBindingList) DeepCopyInto(out *ClusterRoleBindingList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList. -func (x *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList. +func (in *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList { + if in == nil { return nil } out := new(ClusterRoleBindingList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterRoleBindingList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterRoleBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -198,19 +199,19 @@ func (in *ClusterRoleList) DeepCopyInto(out *ClusterRoleList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList. -func (x *ClusterRoleList) DeepCopy() *ClusterRoleList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList. +func (in *ClusterRoleList) DeepCopy() *ClusterRoleList { + if in == nil { return nil } out := new(ClusterRoleList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ClusterRoleList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ClusterRoleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -248,13 +249,13 @@ func (in *PolicyRule) DeepCopyInto(out *PolicyRule) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. -func (x *PolicyRule) DeepCopy() *PolicyRule { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. +func (in *PolicyRule) DeepCopy() *PolicyRule { + if in == nil { return nil } out := new(PolicyRule) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -273,19 +274,19 @@ func (in *Role) DeepCopyInto(out *Role) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Role. -func (x *Role) DeepCopy() *Role { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role. +func (in *Role) DeepCopy() *Role { + if in == nil { return nil } out := new(Role) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Role) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Role) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -306,19 +307,19 @@ func (in *RoleBinding) DeepCopyInto(out *RoleBinding) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. -func (x *RoleBinding) DeepCopy() *RoleBinding { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. +func (in *RoleBinding) DeepCopy() *RoleBinding { + if in == nil { return nil } out := new(RoleBinding) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *RoleBinding) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *RoleBinding) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -340,19 +341,19 @@ func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList. -func (x *RoleBindingList) DeepCopy() *RoleBindingList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList. +func (in *RoleBindingList) DeepCopy() *RoleBindingList { + if in == nil { return nil } out := new(RoleBindingList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *RoleBindingList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *RoleBindingList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -374,19 +375,19 @@ func (in *RoleList) DeepCopyInto(out *RoleList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleList. -func (x *RoleList) DeepCopy() *RoleList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList. +func (in *RoleList) DeepCopy() *RoleList { + if in == nil { return nil } out := new(RoleList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *RoleList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *RoleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -399,13 +400,13 @@ func (in *RoleRef) DeepCopyInto(out *RoleRef) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef. -func (x *RoleRef) DeepCopy() *RoleRef { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef. +func (in *RoleRef) DeepCopy() *RoleRef { + if in == nil { return nil } out := new(RoleRef) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -415,12 +416,12 @@ func (in *Subject) DeepCopyInto(out *Subject) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Subject. -func (x *Subject) DeepCopy() *Subject { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject. +func (in *Subject) DeepCopy() *Subject { + if in == nil { return nil } out := new(Subject) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/scheduling/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/scheduling/v1alpha1/zz_generated.deepcopy.go index 3e972420c8b..a3ae5c0ff96 100644 --- a/staging/src/k8s.io/api/scheduling/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/scheduling/v1alpha1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -54,19 +55,19 @@ func (in *PriorityClass) DeepCopyInto(out *PriorityClass) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass. -func (x *PriorityClass) DeepCopy() *PriorityClass { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass. +func (in *PriorityClass) DeepCopy() *PriorityClass { + if in == nil { return nil } out := new(PriorityClass) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PriorityClass) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PriorityClass) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -88,19 +89,19 @@ func (in *PriorityClassList) DeepCopyInto(out *PriorityClassList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList. -func (x *PriorityClassList) DeepCopy() *PriorityClassList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList. +func (in *PriorityClassList) DeepCopy() *PriorityClassList { + if in == nil { return nil } out := new(PriorityClassList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PriorityClassList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PriorityClassList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/api/settings/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/settings/v1alpha1/zz_generated.deepcopy.go index 5b05aca5c44..a44bd2fd29d 100644 --- a/staging/src/k8s.io/api/settings/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/settings/v1alpha1/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -60,19 +61,19 @@ func (in *PodPreset) DeepCopyInto(out *PodPreset) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset. -func (x *PodPreset) DeepCopy() *PodPreset { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset. +func (in *PodPreset) DeepCopy() *PodPreset { + if in == nil { return nil } out := new(PodPreset) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodPreset) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodPreset) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -94,19 +95,19 @@ func (in *PodPresetList) DeepCopyInto(out *PodPresetList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetList. -func (x *PodPresetList) DeepCopy() *PodPresetList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetList. +func (in *PodPresetList) DeepCopy() *PodPresetList { + if in == nil { return nil } out := new(PodPresetList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodPresetList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodPresetList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -146,12 +147,12 @@ func (in *PodPresetSpec) DeepCopyInto(out *PodPresetSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetSpec. -func (x *PodPresetSpec) DeepCopy() *PodPresetSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetSpec. +func (in *PodPresetSpec) DeepCopy() *PodPresetSpec { + if in == nil { return nil } out := new(PodPresetSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/api/storage/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/storage/v1/zz_generated.deepcopy.go index 3b12599006a..cd5c5d16239 100644 --- a/staging/src/k8s.io/api/storage/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/storage/v1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -61,19 +62,19 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass. -func (x *StorageClass) DeepCopy() *StorageClass { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass. +func (in *StorageClass) DeepCopy() *StorageClass { + if in == nil { return nil } out := new(StorageClass) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *StorageClass) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *StorageClass) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -95,19 +96,19 @@ func (in *StorageClassList) DeepCopyInto(out *StorageClassList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList. -func (x *StorageClassList) DeepCopy() *StorageClassList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList. +func (in *StorageClassList) DeepCopy() *StorageClassList { + if in == nil { return nil } out := new(StorageClassList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *StorageClassList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *StorageClassList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/api/storage/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/api/storage/v1beta1/zz_generated.deepcopy.go index 3aa014b7ba1..2a1afe1cd62 100644 --- a/staging/src/k8s.io/api/storage/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/api/storage/v1beta1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -61,19 +62,19 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass. -func (x *StorageClass) DeepCopy() *StorageClass { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass. +func (in *StorageClass) DeepCopy() *StorageClass { + if in == nil { return nil } out := new(StorageClass) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *StorageClass) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *StorageClass) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -95,19 +96,19 @@ func (in *StorageClassList) DeepCopyInto(out *StorageClassList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList. -func (x *StorageClassList) DeepCopy() *StorageClassList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList. +func (in *StorageClassList) DeepCopy() *StorageClassList { + if in == nil { return nil } out := new(StorageClassList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *StorageClassList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *StorageClassList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/apis/cr/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/apis/cr/v1/zz_generated.deepcopy.go index 4766562fd76..e9f2a4c0410 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/apis/cr/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apiextensions-apiserver/examples/client-go/apis/cr/v1/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -58,19 +60,19 @@ func (in *Example) DeepCopyInto(out *Example) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Example. -func (x *Example) DeepCopy() *Example { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Example. +func (in *Example) DeepCopy() *Example { + if in == nil { return nil } out := new(Example) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Example) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Example) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -92,19 +94,19 @@ func (in *ExampleList) DeepCopyInto(out *ExampleList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExampleList. -func (x *ExampleList) DeepCopy() *ExampleList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleList. +func (in *ExampleList) DeepCopy() *ExampleList { + if in == nil { return nil } out := new(ExampleList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExampleList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExampleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -117,13 +119,13 @@ func (in *ExampleSpec) DeepCopyInto(out *ExampleSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec. -func (x *ExampleSpec) DeepCopy() *ExampleSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec. +func (in *ExampleSpec) DeepCopy() *ExampleSpec { + if in == nil { return nil } out := new(ExampleSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -133,12 +135,12 @@ func (in *ExampleStatus) DeepCopyInto(out *ExampleStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExampleStatus. -func (x *ExampleStatus) DeepCopy() *ExampleStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleStatus. +func (in *ExampleStatus) DeepCopy() *ExampleStatus { + if in == nil { return nil } out := new(ExampleStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.deepcopy.go index 4b4a62a375f..31feff62d66 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -72,19 +73,19 @@ func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition. -func (x *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition. +func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition { + if in == nil { return nil } out := new(CustomResourceDefinition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CustomResourceDefinition) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CustomResourceDefinition) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -98,13 +99,13 @@ func (in *CustomResourceDefinitionCondition) DeepCopyInto(out *CustomResourceDef return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionCondition. -func (x *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionCondition. +func (in *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition { + if in == nil { return nil } out := new(CustomResourceDefinitionCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -123,19 +124,19 @@ func (in *CustomResourceDefinitionList) DeepCopyInto(out *CustomResourceDefiniti return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList. -func (x *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList. +func (in *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList { + if in == nil { return nil } out := new(CustomResourceDefinitionList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CustomResourceDefinitionList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CustomResourceDefinitionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -153,13 +154,13 @@ func (in *CustomResourceDefinitionNames) DeepCopyInto(out *CustomResourceDefinit return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionNames. -func (x *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionNames. +func (in *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames { + if in == nil { return nil } out := new(CustomResourceDefinitionNames) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -170,13 +171,13 @@ func (in *CustomResourceDefinitionSpec) DeepCopyInto(out *CustomResourceDefiniti return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSpec. -func (x *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSpec. +func (in *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec { + if in == nil { return nil } out := new(CustomResourceDefinitionSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -194,12 +195,12 @@ func (in *CustomResourceDefinitionStatus) DeepCopyInto(out *CustomResourceDefini return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionStatus. -func (x *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionStatus. +func (in *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus { + if in == nil { return nil } out := new(CustomResourceDefinitionStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/zz_generated.deepcopy.go b/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/zz_generated.deepcopy.go index a54858570fd..a6e55d4084d 100644 --- a/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -72,19 +73,19 @@ func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition. -func (x *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition. +func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition { + if in == nil { return nil } out := new(CustomResourceDefinition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CustomResourceDefinition) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CustomResourceDefinition) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -98,13 +99,13 @@ func (in *CustomResourceDefinitionCondition) DeepCopyInto(out *CustomResourceDef return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionCondition. -func (x *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionCondition. +func (in *CustomResourceDefinitionCondition) DeepCopy() *CustomResourceDefinitionCondition { + if in == nil { return nil } out := new(CustomResourceDefinitionCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -123,19 +124,19 @@ func (in *CustomResourceDefinitionList) DeepCopyInto(out *CustomResourceDefiniti return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList. -func (x *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionList. +func (in *CustomResourceDefinitionList) DeepCopy() *CustomResourceDefinitionList { + if in == nil { return nil } out := new(CustomResourceDefinitionList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CustomResourceDefinitionList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CustomResourceDefinitionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -153,13 +154,13 @@ func (in *CustomResourceDefinitionNames) DeepCopyInto(out *CustomResourceDefinit return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionNames. -func (x *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionNames. +func (in *CustomResourceDefinitionNames) DeepCopy() *CustomResourceDefinitionNames { + if in == nil { return nil } out := new(CustomResourceDefinitionNames) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -170,13 +171,13 @@ func (in *CustomResourceDefinitionSpec) DeepCopyInto(out *CustomResourceDefiniti return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSpec. -func (x *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionSpec. +func (in *CustomResourceDefinitionSpec) DeepCopy() *CustomResourceDefinitionSpec { + if in == nil { return nil } out := new(CustomResourceDefinitionSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -194,12 +195,12 @@ func (in *CustomResourceDefinitionStatus) DeepCopyInto(out *CustomResourceDefini return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionStatus. -func (x *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinitionStatus. +func (in *CustomResourceDefinitionStatus) DeepCopy() *CustomResourceDefinitionStatus { + if in == nil { return nil } out := new(CustomResourceDefinitionStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/zz_generated.deepcopy.go b/staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/zz_generated.deepcopy.go index 175b117c020..4b93d3656da 100644 --- a/staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -62,19 +64,19 @@ func (in *ListOptions) DeepCopyInto(out *ListOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions. -func (x *ListOptions) DeepCopy() *ListOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions. +func (in *ListOptions) DeepCopy() *ListOptions { + if in == nil { return nil } out := new(ListOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ListOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ListOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/zz_generated.deepcopy.go b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/zz_generated.deepcopy.go index 56e009f058e..248acf989bf 100644 --- a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -48,8 +50,8 @@ func (in *Unstructured) DeepCopyInto(out *Unstructured) { } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Unstructured) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Unstructured) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -64,8 +66,8 @@ func (in *UnstructuredList) DeepCopyInto(out *UnstructuredList) { } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *UnstructuredList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *UnstructuredList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go index 74a16e4fd6a..0b53e36103d 100644 --- a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go @@ -27,7 +27,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -191,19 +193,19 @@ func (in *APIGroup) DeepCopyInto(out *APIGroup) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIGroup. -func (x *APIGroup) DeepCopy() *APIGroup { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGroup. +func (in *APIGroup) DeepCopy() *APIGroup { + if in == nil { return nil } out := new(APIGroup) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *APIGroup) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *APIGroup) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -224,19 +226,19 @@ func (in *APIGroupList) DeepCopyInto(out *APIGroupList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIGroupList. -func (x *APIGroupList) DeepCopy() *APIGroupList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGroupList. +func (in *APIGroupList) DeepCopy() *APIGroupList { + if in == nil { return nil } out := new(APIGroupList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *APIGroupList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *APIGroupList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -264,13 +266,13 @@ func (in *APIResource) DeepCopyInto(out *APIResource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIResource. -func (x *APIResource) DeepCopy() *APIResource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResource. +func (in *APIResource) DeepCopy() *APIResource { + if in == nil { return nil } out := new(APIResource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -288,19 +290,19 @@ func (in *APIResourceList) DeepCopyInto(out *APIResourceList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIResourceList. -func (x *APIResourceList) DeepCopy() *APIResourceList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResourceList. +func (in *APIResourceList) DeepCopy() *APIResourceList { + if in == nil { return nil } out := new(APIResourceList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *APIResourceList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *APIResourceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -324,19 +326,19 @@ func (in *APIVersions) DeepCopyInto(out *APIVersions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIVersions. -func (x *APIVersions) DeepCopy() *APIVersions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIVersions. +func (in *APIVersions) DeepCopy() *APIVersions { + if in == nil { return nil } out := new(APIVersions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *APIVersions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *APIVersions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -386,19 +388,19 @@ func (in *DeleteOptions) DeepCopyInto(out *DeleteOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new DeleteOptions. -func (x *DeleteOptions) DeepCopy() *DeleteOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteOptions. +func (in *DeleteOptions) DeepCopy() *DeleteOptions { + if in == nil { return nil } out := new(DeleteOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *DeleteOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *DeleteOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -411,13 +413,13 @@ func (in *Duration) DeepCopyInto(out *Duration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Duration. -func (x *Duration) DeepCopy() *Duration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Duration. +func (in *Duration) DeepCopy() *Duration { + if in == nil { return nil } out := new(Duration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -428,19 +430,19 @@ func (in *ExportOptions) DeepCopyInto(out *ExportOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExportOptions. -func (x *ExportOptions) DeepCopy() *ExportOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportOptions. +func (in *ExportOptions) DeepCopy() *ExportOptions { + if in == nil { return nil } out := new(ExportOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExportOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExportOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -454,19 +456,19 @@ func (in *GetOptions) DeepCopyInto(out *GetOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GetOptions. -func (x *GetOptions) DeepCopy() *GetOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetOptions. +func (in *GetOptions) DeepCopy() *GetOptions { + if in == nil { return nil } out := new(GetOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *GetOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *GetOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -479,13 +481,13 @@ func (in *GroupKind) DeepCopyInto(out *GroupKind) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupKind. -func (x *GroupKind) DeepCopy() *GroupKind { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupKind. +func (in *GroupKind) DeepCopy() *GroupKind { + if in == nil { return nil } out := new(GroupKind) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -495,13 +497,13 @@ func (in *GroupResource) DeepCopyInto(out *GroupResource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupResource. -func (x *GroupResource) DeepCopy() *GroupResource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupResource. +func (in *GroupResource) DeepCopy() *GroupResource { + if in == nil { return nil } out := new(GroupResource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -511,13 +513,13 @@ func (in *GroupVersion) DeepCopyInto(out *GroupVersion) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersion. -func (x *GroupVersion) DeepCopy() *GroupVersion { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersion. +func (in *GroupVersion) DeepCopy() *GroupVersion { + if in == nil { return nil } out := new(GroupVersion) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -527,13 +529,13 @@ func (in *GroupVersionForDiscovery) DeepCopyInto(out *GroupVersionForDiscovery) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionForDiscovery. -func (x *GroupVersionForDiscovery) DeepCopy() *GroupVersionForDiscovery { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionForDiscovery. +func (in *GroupVersionForDiscovery) DeepCopy() *GroupVersionForDiscovery { + if in == nil { return nil } out := new(GroupVersionForDiscovery) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -543,13 +545,13 @@ func (in *GroupVersionKind) DeepCopyInto(out *GroupVersionKind) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionKind. -func (x *GroupVersionKind) DeepCopy() *GroupVersionKind { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionKind. +func (in *GroupVersionKind) DeepCopy() *GroupVersionKind { + if in == nil { return nil } out := new(GroupVersionKind) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -559,13 +561,13 @@ func (in *GroupVersionResource) DeepCopyInto(out *GroupVersionResource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionResource. -func (x *GroupVersionResource) DeepCopy() *GroupVersionResource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionResource. +func (in *GroupVersionResource) DeepCopy() *GroupVersionResource { + if in == nil { return nil } out := new(GroupVersionResource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -575,13 +577,13 @@ func (in *Initializer) DeepCopyInto(out *Initializer) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Initializer. -func (x *Initializer) DeepCopy() *Initializer { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializer. +func (in *Initializer) DeepCopy() *Initializer { + if in == nil { return nil } out := new(Initializer) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -605,13 +607,13 @@ func (in *Initializers) DeepCopyInto(out *Initializers) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Initializers. -func (x *Initializers) DeepCopy() *Initializers { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializers. +func (in *Initializers) DeepCopy() *Initializers { + if in == nil { return nil } out := new(Initializers) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -626,13 +628,13 @@ func (in *InternalEvent) DeepCopyInto(out *InternalEvent) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalEvent. -func (x *InternalEvent) DeepCopy() *InternalEvent { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalEvent. +func (in *InternalEvent) DeepCopy() *InternalEvent { + if in == nil { return nil } out := new(InternalEvent) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -656,13 +658,13 @@ func (in *LabelSelector) DeepCopyInto(out *LabelSelector) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelector. -func (x *LabelSelector) DeepCopy() *LabelSelector { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelector. +func (in *LabelSelector) DeepCopy() *LabelSelector { + if in == nil { return nil } out := new(LabelSelector) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -677,13 +679,13 @@ func (in *LabelSelectorRequirement) DeepCopyInto(out *LabelSelectorRequirement) return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelectorRequirement. -func (x *LabelSelectorRequirement) DeepCopy() *LabelSelectorRequirement { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelectorRequirement. +func (in *LabelSelectorRequirement) DeepCopy() *LabelSelectorRequirement { + if in == nil { return nil } out := new(LabelSelectorRequirement) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -693,13 +695,13 @@ func (in *ListMeta) DeepCopyInto(out *ListMeta) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ListMeta. -func (x *ListMeta) DeepCopy() *ListMeta { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListMeta. +func (in *ListMeta) DeepCopy() *ListMeta { + if in == nil { return nil } out := new(ListMeta) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -719,19 +721,19 @@ func (in *ListOptions) DeepCopyInto(out *ListOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions. -func (x *ListOptions) DeepCopy() *ListOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions. +func (in *ListOptions) DeepCopy() *ListOptions { + if in == nil { return nil } out := new(ListOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ListOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ListOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -804,13 +806,13 @@ func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta. -func (x *ObjectMeta) DeepCopy() *ObjectMeta { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta. +func (in *ObjectMeta) DeepCopy() *ObjectMeta { + if in == nil { return nil } out := new(ObjectMeta) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -838,13 +840,13 @@ func (in *OwnerReference) DeepCopyInto(out *OwnerReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new OwnerReference. -func (x *OwnerReference) DeepCopy() *OwnerReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnerReference. +func (in *OwnerReference) DeepCopy() *OwnerReference { + if in == nil { return nil } out := new(OwnerReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -854,13 +856,13 @@ func (in *Patch) DeepCopyInto(out *Patch) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Patch. -func (x *Patch) DeepCopy() *Patch { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Patch. +func (in *Patch) DeepCopy() *Patch { + if in == nil { return nil } out := new(Patch) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -879,13 +881,13 @@ func (in *Preconditions) DeepCopyInto(out *Preconditions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions. -func (x *Preconditions) DeepCopy() *Preconditions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions. +func (in *Preconditions) DeepCopy() *Preconditions { + if in == nil { return nil } out := new(Preconditions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -900,13 +902,13 @@ func (in *RootPaths) DeepCopyInto(out *RootPaths) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RootPaths. -func (x *RootPaths) DeepCopy() *RootPaths { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootPaths. +func (in *RootPaths) DeepCopy() *RootPaths { + if in == nil { return nil } out := new(RootPaths) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -916,13 +918,13 @@ func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR. -func (x *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR. +func (in *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR { + if in == nil { return nil } out := new(ServerAddressByClientCIDR) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -943,19 +945,19 @@ func (in *Status) DeepCopyInto(out *Status) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Status. -func (x *Status) DeepCopy() *Status { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status. +func (in *Status) DeepCopy() *Status { + if in == nil { return nil } out := new(Status) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Status) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Status) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -968,13 +970,13 @@ func (in *StatusCause) DeepCopyInto(out *StatusCause) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatusCause. -func (x *StatusCause) DeepCopy() *StatusCause { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusCause. +func (in *StatusCause) DeepCopy() *StatusCause { + if in == nil { return nil } out := new(StatusCause) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -989,23 +991,23 @@ func (in *StatusDetails) DeepCopyInto(out *StatusDetails) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatusDetails. -func (x *StatusDetails) DeepCopy() *StatusDetails { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusDetails. +func (in *StatusDetails) DeepCopy() *StatusDetails { + if in == nil { return nil } out := new(StatusDetails) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Time. -func (x *Time) DeepCopy() *Time { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Time. +func (in *Time) DeepCopy() *Time { + if in == nil { return nil } out := new(Time) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1015,13 +1017,13 @@ func (in *Timestamp) DeepCopyInto(out *Timestamp) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Timestamp. -func (x *Timestamp) DeepCopy() *Timestamp { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Timestamp. +func (in *Timestamp) DeepCopy() *Timestamp { + if in == nil { return nil } out := new(Timestamp) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -1032,19 +1034,19 @@ func (in *WatchEvent) DeepCopyInto(out *WatchEvent) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new WatchEvent. -func (x *WatchEvent) DeepCopy() *WatchEvent { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatchEvent. +func (in *WatchEvent) DeepCopy() *WatchEvent { + if in == nil { return nil } out := new(WatchEvent) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *WatchEvent) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *WatchEvent) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1alpha1/zz_generated.deepcopy.go index be63e7fecf2..043456cdb1d 100644 --- a/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apimachinery/pkg/apis/meta/v1alpha1/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -68,19 +70,19 @@ func (in *PartialObjectMetadata) DeepCopyInto(out *PartialObjectMetadata) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PartialObjectMetadata. -func (x *PartialObjectMetadata) DeepCopy() *PartialObjectMetadata { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartialObjectMetadata. +func (in *PartialObjectMetadata) DeepCopy() *PartialObjectMetadata { + if in == nil { return nil } out := new(PartialObjectMetadata) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PartialObjectMetadata) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PartialObjectMetadata) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -106,19 +108,19 @@ func (in *PartialObjectMetadataList) DeepCopyInto(out *PartialObjectMetadataList return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PartialObjectMetadataList. -func (x *PartialObjectMetadataList) DeepCopy() *PartialObjectMetadataList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PartialObjectMetadataList. +func (in *PartialObjectMetadataList) DeepCopy() *PartialObjectMetadataList { + if in == nil { return nil } out := new(PartialObjectMetadataList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PartialObjectMetadataList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PartialObjectMetadataList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -145,19 +147,19 @@ func (in *Table) DeepCopyInto(out *Table) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Table. -func (x *Table) DeepCopy() *Table { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Table. +func (in *Table) DeepCopy() *Table { + if in == nil { return nil } out := new(Table) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Table) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Table) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -170,13 +172,13 @@ func (in *TableColumnDefinition) DeepCopyInto(out *TableColumnDefinition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TableColumnDefinition. -func (x *TableColumnDefinition) DeepCopy() *TableColumnDefinition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableColumnDefinition. +func (in *TableColumnDefinition) DeepCopy() *TableColumnDefinition { + if in == nil { return nil } out := new(TableColumnDefinition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -187,19 +189,19 @@ func (in *TableOptions) DeepCopyInto(out *TableOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TableOptions. -func (x *TableOptions) DeepCopy() *TableOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableOptions. +func (in *TableOptions) DeepCopy() *TableOptions { + if in == nil { return nil } out := new(TableOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TableOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TableOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -219,12 +221,12 @@ func (in *TableRowCondition) DeepCopyInto(out *TableRowCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TableRowCondition. -func (x *TableRowCondition) DeepCopy() *TableRowCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableRowCondition. +func (in *TableRowCondition) DeepCopy() *TableRowCondition { + if in == nil { return nil } out := new(TableRowCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/zz_generated.deepcopy.go index 687d0c979bf..82e8dbfe76f 100644 --- a/staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/v1/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -69,19 +70,19 @@ func (in *Carp) DeepCopyInto(out *Carp) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Carp. -func (x *Carp) DeepCopy() *Carp { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Carp. +func (in *Carp) DeepCopy() *Carp { + if in == nil { return nil } out := new(Carp) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Carp) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Carp) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -96,13 +97,13 @@ func (in *CarpCondition) DeepCopyInto(out *CarpCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpCondition. -func (x *CarpCondition) DeepCopy() *CarpCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpCondition. +func (in *CarpCondition) DeepCopy() *CarpCondition { + if in == nil { return nil } out := new(CarpCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -121,19 +122,19 @@ func (in *CarpList) DeepCopyInto(out *CarpList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpList. -func (x *CarpList) DeepCopy() *CarpList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpList. +func (in *CarpList) DeepCopy() *CarpList { + if in == nil { return nil } out := new(CarpList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CarpList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CarpList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -171,13 +172,13 @@ func (in *CarpSpec) DeepCopyInto(out *CarpSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpSpec. -func (x *CarpSpec) DeepCopy() *CarpSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpSpec. +func (in *CarpSpec) DeepCopy() *CarpSpec { + if in == nil { return nil } out := new(CarpSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -203,12 +204,12 @@ func (in *CarpStatus) DeepCopyInto(out *CarpStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpStatus. -func (x *CarpStatus) DeepCopy() *CarpStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpStatus. +func (in *CarpStatus) DeepCopy() *CarpStatus { + if in == nil { return nil } out := new(CarpStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/zz_generated.deepcopy.go b/staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/zz_generated.deepcopy.go index 43e962e14da..a2d6b83b6d9 100644 --- a/staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -69,19 +70,19 @@ func (in *Carp) DeepCopyInto(out *Carp) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Carp. -func (x *Carp) DeepCopy() *Carp { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Carp. +func (in *Carp) DeepCopy() *Carp { + if in == nil { return nil } out := new(Carp) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Carp) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Carp) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -96,13 +97,13 @@ func (in *CarpCondition) DeepCopyInto(out *CarpCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpCondition. -func (x *CarpCondition) DeepCopy() *CarpCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpCondition. +func (in *CarpCondition) DeepCopy() *CarpCondition { + if in == nil { return nil } out := new(CarpCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -121,19 +122,19 @@ func (in *CarpList) DeepCopyInto(out *CarpList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpList. -func (x *CarpList) DeepCopy() *CarpList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpList. +func (in *CarpList) DeepCopy() *CarpList { + if in == nil { return nil } out := new(CarpList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *CarpList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *CarpList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -171,13 +172,13 @@ func (in *CarpSpec) DeepCopyInto(out *CarpSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpSpec. -func (x *CarpSpec) DeepCopy() *CarpSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpSpec. +func (in *CarpSpec) DeepCopy() *CarpSpec { + if in == nil { return nil } out := new(CarpSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -203,12 +204,12 @@ func (in *CarpStatus) DeepCopyInto(out *CarpStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CarpStatus. -func (x *CarpStatus) DeepCopy() *CarpStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CarpStatus. +func (in *CarpStatus) DeepCopy() *CarpStatus { + if in == nil { return nil } out := new(CarpStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apimachinery/pkg/labels/zz_generated.deepcopy.go b/staging/src/k8s.io/apimachinery/pkg/labels/zz_generated.deepcopy.go index 3c91fb98e9a..80ba3fb751d 100644 --- a/staging/src/k8s.io/apimachinery/pkg/labels/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apimachinery/pkg/labels/zz_generated.deepcopy.go @@ -25,7 +25,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -46,12 +48,12 @@ func (in *Requirement) DeepCopyInto(out *Requirement) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Requirement. -func (x *Requirement) DeepCopy() *Requirement { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Requirement. +func (in *Requirement) DeepCopy() *Requirement { + if in == nil { return nil } out := new(Requirement) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/testing/zz_generated.deepcopy.go b/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/testing/zz_generated.deepcopy.go index f372c63e6ba..2a71e4b5f1c 100644 --- a/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/testing/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apimachinery/pkg/runtime/serializer/testing/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -60,19 +62,19 @@ func (in *ExternalInternalSame) DeepCopyInto(out *ExternalInternalSame) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalInternalSame. -func (x *ExternalInternalSame) DeepCopy() *ExternalInternalSame { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalInternalSame. +func (in *ExternalInternalSame) DeepCopy() *ExternalInternalSame { + if in == nil { return nil } out := new(ExternalInternalSame) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalInternalSame) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalInternalSame) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -114,19 +116,19 @@ func (in *ExternalTestType1) DeepCopyInto(out *ExternalTestType1) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType1. -func (x *ExternalTestType1) DeepCopy() *ExternalTestType1 { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType1. +func (in *ExternalTestType1) DeepCopy() *ExternalTestType1 { + if in == nil { return nil } out := new(ExternalTestType1) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalTestType1) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalTestType1) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -139,19 +141,19 @@ func (in *ExternalTestType2) DeepCopyInto(out *ExternalTestType2) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType2. -func (x *ExternalTestType2) DeepCopy() *ExternalTestType2 { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType2. +func (in *ExternalTestType2) DeepCopy() *ExternalTestType2 { + if in == nil { return nil } out := new(ExternalTestType2) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalTestType2) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalTestType2) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -193,19 +195,19 @@ func (in *TestType1) DeepCopyInto(out *TestType1) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType1. -func (x *TestType1) DeepCopy() *TestType1 { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType1. +func (in *TestType1) DeepCopy() *TestType1 { + if in == nil { return nil } out := new(TestType1) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TestType1) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TestType1) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -218,19 +220,19 @@ func (in *TestType2) DeepCopyInto(out *TestType2) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType2. -func (x *TestType2) DeepCopy() *TestType2 { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType2. +func (in *TestType2) DeepCopy() *TestType2 { + if in == nil { return nil } out := new(TestType2) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TestType2) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TestType2) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/apimachinery/pkg/runtime/testing/zz_generated.deepcopy.go b/staging/src/k8s.io/apimachinery/pkg/runtime/testing/zz_generated.deepcopy.go index 6f3b3e6bd8a..8cacbc8b42e 100644 --- a/staging/src/k8s.io/apimachinery/pkg/runtime/testing/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apimachinery/pkg/runtime/testing/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -133,19 +135,19 @@ func (in *EmbeddedTest) DeepCopyInto(out *EmbeddedTest) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedTest. -func (x *EmbeddedTest) DeepCopy() *EmbeddedTest { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedTest. +func (in *EmbeddedTest) DeepCopy() *EmbeddedTest { + if in == nil { return nil } out := new(EmbeddedTest) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *EmbeddedTest) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *EmbeddedTest) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -161,19 +163,19 @@ func (in *EmbeddedTestExternal) DeepCopyInto(out *EmbeddedTestExternal) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedTestExternal. -func (x *EmbeddedTestExternal) DeepCopy() *EmbeddedTestExternal { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmbeddedTestExternal. +func (in *EmbeddedTestExternal) DeepCopy() *EmbeddedTestExternal { + if in == nil { return nil } out := new(EmbeddedTestExternal) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *EmbeddedTestExternal) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *EmbeddedTestExternal) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -187,19 +189,19 @@ func (in *ExtensionA) DeepCopyInto(out *ExtensionA) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionA. -func (x *ExtensionA) DeepCopy() *ExtensionA { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionA. +func (in *ExtensionA) DeepCopy() *ExtensionA { + if in == nil { return nil } out := new(ExtensionA) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExtensionA) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExtensionA) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -213,19 +215,19 @@ func (in *ExtensionB) DeepCopyInto(out *ExtensionB) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionB. -func (x *ExtensionB) DeepCopy() *ExtensionB { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionB. +func (in *ExtensionB) DeepCopy() *ExtensionB { + if in == nil { return nil } out := new(ExtensionB) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExtensionB) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExtensionB) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -239,19 +241,19 @@ func (in *ExternalComplex) DeepCopyInto(out *ExternalComplex) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalComplex. -func (x *ExternalComplex) DeepCopy() *ExternalComplex { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalComplex. +func (in *ExternalComplex) DeepCopy() *ExternalComplex { + if in == nil { return nil } out := new(ExternalComplex) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalComplex) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalComplex) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -266,19 +268,19 @@ func (in *ExternalExtensionType) DeepCopyInto(out *ExternalExtensionType) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalExtensionType. -func (x *ExternalExtensionType) DeepCopy() *ExternalExtensionType { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalExtensionType. +func (in *ExternalExtensionType) DeepCopy() *ExternalExtensionType { + if in == nil { return nil } out := new(ExternalExtensionType) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalExtensionType) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalExtensionType) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -293,19 +295,19 @@ func (in *ExternalInternalSame) DeepCopyInto(out *ExternalInternalSame) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalInternalSame. -func (x *ExternalInternalSame) DeepCopy() *ExternalInternalSame { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalInternalSame. +func (in *ExternalInternalSame) DeepCopy() *ExternalInternalSame { + if in == nil { return nil } out := new(ExternalInternalSame) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalInternalSame) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalInternalSame) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -320,19 +322,19 @@ func (in *ExternalOptionalExtensionType) DeepCopyInto(out *ExternalOptionalExten return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalOptionalExtensionType. -func (x *ExternalOptionalExtensionType) DeepCopy() *ExternalOptionalExtensionType { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalOptionalExtensionType. +func (in *ExternalOptionalExtensionType) DeepCopy() *ExternalOptionalExtensionType { + if in == nil { return nil } out := new(ExternalOptionalExtensionType) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalOptionalExtensionType) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalOptionalExtensionType) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -346,19 +348,19 @@ func (in *ExternalSimple) DeepCopyInto(out *ExternalSimple) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSimple. -func (x *ExternalSimple) DeepCopy() *ExternalSimple { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalSimple. +func (in *ExternalSimple) DeepCopy() *ExternalSimple { + if in == nil { return nil } out := new(ExternalSimple) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalSimple) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalSimple) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -400,19 +402,19 @@ func (in *ExternalTestType1) DeepCopyInto(out *ExternalTestType1) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType1. -func (x *ExternalTestType1) DeepCopy() *ExternalTestType1 { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType1. +func (in *ExternalTestType1) DeepCopy() *ExternalTestType1 { + if in == nil { return nil } out := new(ExternalTestType1) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalTestType1) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalTestType1) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -425,19 +427,19 @@ func (in *ExternalTestType2) DeepCopyInto(out *ExternalTestType2) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType2. -func (x *ExternalTestType2) DeepCopy() *ExternalTestType2 { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalTestType2. +func (in *ExternalTestType2) DeepCopy() *ExternalTestType2 { + if in == nil { return nil } out := new(ExternalTestType2) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ExternalTestType2) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ExternalTestType2) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -451,19 +453,19 @@ func (in *InternalComplex) DeepCopyInto(out *InternalComplex) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalComplex. -func (x *InternalComplex) DeepCopy() *InternalComplex { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalComplex. +func (in *InternalComplex) DeepCopy() *InternalComplex { + if in == nil { return nil } out := new(InternalComplex) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *InternalComplex) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *InternalComplex) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -482,19 +484,19 @@ func (in *InternalExtensionType) DeepCopyInto(out *InternalExtensionType) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalExtensionType. -func (x *InternalExtensionType) DeepCopy() *InternalExtensionType { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalExtensionType. +func (in *InternalExtensionType) DeepCopy() *InternalExtensionType { + if in == nil { return nil } out := new(InternalExtensionType) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *InternalExtensionType) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *InternalExtensionType) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -513,19 +515,19 @@ func (in *InternalOptionalExtensionType) DeepCopyInto(out *InternalOptionalExten return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalOptionalExtensionType. -func (x *InternalOptionalExtensionType) DeepCopy() *InternalOptionalExtensionType { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalOptionalExtensionType. +func (in *InternalOptionalExtensionType) DeepCopy() *InternalOptionalExtensionType { + if in == nil { return nil } out := new(InternalOptionalExtensionType) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *InternalOptionalExtensionType) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *InternalOptionalExtensionType) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -539,19 +541,19 @@ func (in *InternalSimple) DeepCopyInto(out *InternalSimple) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalSimple. -func (x *InternalSimple) DeepCopy() *InternalSimple { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalSimple. +func (in *InternalSimple) DeepCopy() *InternalSimple { + if in == nil { return nil } out := new(InternalSimple) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *InternalSimple) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *InternalSimple) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -576,19 +578,19 @@ func (in *ObjectTest) DeepCopyInto(out *ObjectTest) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTest. -func (x *ObjectTest) DeepCopy() *ObjectTest { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTest. +func (in *ObjectTest) DeepCopy() *ObjectTest { + if in == nil { return nil } out := new(ObjectTest) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ObjectTest) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ObjectTest) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -609,19 +611,19 @@ func (in *ObjectTestExternal) DeepCopyInto(out *ObjectTestExternal) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTestExternal. -func (x *ObjectTestExternal) DeepCopy() *ObjectTestExternal { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTestExternal. +func (in *ObjectTestExternal) DeepCopy() *ObjectTestExternal { + if in == nil { return nil } out := new(ObjectTestExternal) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ObjectTestExternal) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ObjectTestExternal) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -663,19 +665,19 @@ func (in *TestType1) DeepCopyInto(out *TestType1) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType1. -func (x *TestType1) DeepCopy() *TestType1 { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType1. +func (in *TestType1) DeepCopy() *TestType1 { + if in == nil { return nil } out := new(TestType1) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TestType1) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TestType1) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -688,19 +690,19 @@ func (in *TestType2) DeepCopyInto(out *TestType2) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType2. -func (x *TestType2) DeepCopy() *TestType2 { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType2. +func (in *TestType2) DeepCopy() *TestType2 { + if in == nil { return nil } out := new(TestType2) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TestType2) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TestType2) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -714,19 +716,19 @@ func (in *UnknownType) DeepCopyInto(out *UnknownType) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UnknownType. -func (x *UnknownType) DeepCopy() *UnknownType { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnknownType. +func (in *UnknownType) DeepCopy() *UnknownType { + if in == nil { return nil } out := new(UnknownType) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *UnknownType) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *UnknownType) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -740,19 +742,19 @@ func (in *UnversionedType) DeepCopyInto(out *UnversionedType) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UnversionedType. -func (x *UnversionedType) DeepCopy() *UnversionedType { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnversionedType. +func (in *UnversionedType) DeepCopy() *UnversionedType { + if in == nil { return nil } out := new(UnversionedType) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *UnversionedType) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *UnversionedType) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go b/staging/src/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go index f3aaf86f454..d347461ac69 100644 --- a/staging/src/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apimachinery/pkg/runtime/zz_generated.deepcopy.go @@ -25,7 +25,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -59,13 +61,13 @@ func (in *RawExtension) DeepCopyInto(out *RawExtension) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RawExtension. -func (x *RawExtension) DeepCopy() *RawExtension { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawExtension. +func (in *RawExtension) DeepCopy() *RawExtension { + if in == nil { return nil } out := new(RawExtension) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -81,19 +83,19 @@ func (in *Unknown) DeepCopyInto(out *Unknown) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Unknown. -func (x *Unknown) DeepCopy() *Unknown { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unknown. +func (in *Unknown) DeepCopy() *Unknown { + if in == nil { return nil } out := new(Unknown) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object. -func (x *Unknown) DeepCopyObject() Object { - if c := x.DeepCopy(); c != nil { +func (in *Unknown) DeepCopyObject() Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -117,19 +119,19 @@ func (in *VersionedObjects) DeepCopyInto(out *VersionedObjects) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new VersionedObjects. -func (x *VersionedObjects) DeepCopy() *VersionedObjects { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionedObjects. +func (in *VersionedObjects) DeepCopy() *VersionedObjects { + if in == nil { return nil } out := new(VersionedObjects) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new Object. -func (x *VersionedObjects) DeepCopyObject() Object { - if c := x.DeepCopy(); c != nil { +func (in *VersionedObjects) DeepCopyObject() Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/apimachinery/pkg/test/zz_generated.deepcopy.go b/staging/src/k8s.io/apimachinery/pkg/test/zz_generated.deepcopy.go index 8b89f7b35a3..c258ff7dd79 100644 --- a/staging/src/k8s.io/apimachinery/pkg/test/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apimachinery/pkg/test/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -59,19 +61,19 @@ func (in *List) DeepCopyInto(out *List) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new List. -func (x *List) DeepCopy() *List { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List. +func (in *List) DeepCopy() *List { + if in == nil { return nil } out := new(List) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *List) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *List) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -93,19 +95,19 @@ func (in *ListV1) DeepCopyInto(out *ListV1) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ListV1. -func (x *ListV1) DeepCopy() *ListV1 { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListV1. +func (in *ListV1) DeepCopy() *ListV1 { + if in == nil { return nil } out := new(ListV1) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ListV1) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ListV1) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/apimachinery/pkg/watch/zz_generated.deepcopy.go b/staging/src/k8s.io/apimachinery/pkg/watch/zz_generated.deepcopy.go index 2a259253185..322923d4a03 100644 --- a/staging/src/k8s.io/apimachinery/pkg/watch/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apimachinery/pkg/watch/zz_generated.deepcopy.go @@ -25,7 +25,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -46,12 +48,12 @@ func (in *Event) DeepCopyInto(out *Event) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Event. -func (x *Event) DeepCopy() *Event { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event. +func (in *Event) DeepCopy() *Event { + if in == nil { return nil } out := new(Event) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/zz_generated.deepcopy.go index 4c2c080ca08..35164ce77d1 100644 --- a/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -60,19 +61,19 @@ func (in *AdmissionConfiguration) DeepCopyInto(out *AdmissionConfiguration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfiguration. -func (x *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfiguration. +func (in *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration { + if in == nil { return nil } out := new(AdmissionConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *AdmissionConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *AdmissionConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -86,12 +87,12 @@ func (in *AdmissionPluginConfiguration) DeepCopyInto(out *AdmissionPluginConfigu return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfiguration. -func (x *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfiguration. +func (in *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration { + if in == nil { return nil } out := new(AdmissionPluginConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apiserver/pkg/apis/apiserver/zz_generated.deepcopy.go b/staging/src/k8s.io/apiserver/pkg/apis/apiserver/zz_generated.deepcopy.go index 36c44440f34..b455115d81a 100644 --- a/staging/src/k8s.io/apiserver/pkg/apis/apiserver/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apiserver/pkg/apis/apiserver/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -60,19 +61,19 @@ func (in *AdmissionConfiguration) DeepCopyInto(out *AdmissionConfiguration) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfiguration. -func (x *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfiguration. +func (in *AdmissionConfiguration) DeepCopy() *AdmissionConfiguration { + if in == nil { return nil } out := new(AdmissionConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *AdmissionConfiguration) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *AdmissionConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -90,12 +91,12 @@ func (in *AdmissionPluginConfiguration) DeepCopyInto(out *AdmissionPluginConfigu return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfiguration. -func (x *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfiguration. +func (in *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration { + if in == nil { return nil } out := new(AdmissionPluginConfiguration) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/zz_generated.deepcopy.go index 653579ccde7..7afe30d3e81 100644 --- a/staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1/zz_generated.deepcopy.go @@ -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 { @@ -128,19 +129,19 @@ func (in *Event) DeepCopyInto(out *Event) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Event. -func (x *Event) DeepCopy() *Event { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event. +func (in *Event) DeepCopy() *Event { + if in == nil { return nil } out := new(Event) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Event) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Event) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -162,19 +163,19 @@ func (in *EventList) DeepCopyInto(out *EventList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EventList. -func (x *EventList) DeepCopy() *EventList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList. +func (in *EventList) DeepCopy() *EventList { + if in == nil { return nil } out := new(EventList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *EventList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *EventList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -192,13 +193,13 @@ func (in *GroupResources) DeepCopyInto(out *GroupResources) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupResources. -func (x *GroupResources) DeepCopy() *GroupResources { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupResources. +func (in *GroupResources) DeepCopy() *GroupResources { + if in == nil { return nil } out := new(GroupResources) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -208,13 +209,13 @@ func (in *ObjectReference) DeepCopyInto(out *ObjectReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. -func (x *ObjectReference) DeepCopy() *ObjectReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. +func (in *ObjectReference) DeepCopy() *ObjectReference { + if in == nil { return nil } out := new(ObjectReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -233,19 +234,19 @@ func (in *Policy) DeepCopyInto(out *Policy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. -func (x *Policy) DeepCopy() *Policy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. +func (in *Policy) DeepCopy() *Policy { + if in == nil { return nil } out := new(Policy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Policy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Policy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -267,19 +268,19 @@ func (in *PolicyList) DeepCopyInto(out *PolicyList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList. -func (x *PolicyList) DeepCopy() *PolicyList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList. +func (in *PolicyList) DeepCopy() *PolicyList { + if in == nil { return nil } out := new(PolicyList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PolicyList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -324,12 +325,12 @@ func (in *PolicyRule) DeepCopyInto(out *PolicyRule) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. -func (x *PolicyRule) DeepCopy() *PolicyRule { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. +func (in *PolicyRule) DeepCopy() *PolicyRule { + if in == nil { return nil } out := new(PolicyRule) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apiserver/pkg/apis/audit/zz_generated.deepcopy.go b/staging/src/k8s.io/apiserver/pkg/apis/audit/zz_generated.deepcopy.go index 876487ac5dc..3f6766d81b4 100644 --- a/staging/src/k8s.io/apiserver/pkg/apis/audit/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apiserver/pkg/apis/audit/zz_generated.deepcopy.go @@ -27,7 +27,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -125,19 +127,19 @@ func (in *Event) DeepCopyInto(out *Event) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Event. -func (x *Event) DeepCopy() *Event { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event. +func (in *Event) DeepCopy() *Event { + if in == nil { return nil } out := new(Event) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Event) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Event) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -159,19 +161,19 @@ func (in *EventList) DeepCopyInto(out *EventList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new EventList. -func (x *EventList) DeepCopy() *EventList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList. +func (in *EventList) DeepCopy() *EventList { + if in == nil { return nil } out := new(EventList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *EventList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *EventList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -189,13 +191,13 @@ func (in *GroupResources) DeepCopyInto(out *GroupResources) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new GroupResources. -func (x *GroupResources) DeepCopy() *GroupResources { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupResources. +func (in *GroupResources) DeepCopy() *GroupResources { + if in == nil { return nil } out := new(GroupResources) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -205,13 +207,13 @@ func (in *ObjectReference) DeepCopyInto(out *ObjectReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. -func (x *ObjectReference) DeepCopy() *ObjectReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. +func (in *ObjectReference) DeepCopy() *ObjectReference { + if in == nil { return nil } out := new(ObjectReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -230,19 +232,19 @@ func (in *Policy) DeepCopyInto(out *Policy) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. -func (x *Policy) DeepCopy() *Policy { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. +func (in *Policy) DeepCopy() *Policy { + if in == nil { return nil } out := new(Policy) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Policy) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Policy) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -264,19 +266,19 @@ func (in *PolicyList) DeepCopyInto(out *PolicyList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList. -func (x *PolicyList) DeepCopy() *PolicyList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList. +func (in *PolicyList) DeepCopy() *PolicyList { + if in == nil { return nil } out := new(PolicyList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PolicyList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PolicyList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -321,13 +323,13 @@ func (in *PolicyRule) DeepCopyInto(out *PolicyRule) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. -func (x *PolicyRule) DeepCopy() *PolicyRule { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. +func (in *PolicyRule) DeepCopy() *PolicyRule { + if in == nil { return nil } out := new(PolicyRule) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -350,12 +352,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. -func (x *UserInfo) DeepCopy() *UserInfo { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. +func (in *UserInfo) DeepCopy() *UserInfo { + if in == nil { return nil } out := new(UserInfo) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.deepcopy.go index 130b49de136..2187f876ede 100644 --- a/staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apiserver/pkg/apis/example/v1/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -69,19 +70,19 @@ func (in *Pod) DeepCopyInto(out *Pod) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Pod. -func (x *Pod) DeepCopy() *Pod { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod. +func (in *Pod) DeepCopy() *Pod { + if in == nil { return nil } out := new(Pod) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Pod) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Pod) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -96,13 +97,13 @@ func (in *PodCondition) DeepCopyInto(out *PodCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. -func (x *PodCondition) DeepCopy() *PodCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. +func (in *PodCondition) DeepCopy() *PodCondition { + if in == nil { return nil } out := new(PodCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -121,19 +122,19 @@ func (in *PodList) DeepCopyInto(out *PodList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodList. -func (x *PodList) DeepCopy() *PodList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList. +func (in *PodList) DeepCopy() *PodList { + if in == nil { return nil } out := new(PodList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -171,13 +172,13 @@ func (in *PodSpec) DeepCopyInto(out *PodSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. -func (x *PodSpec) DeepCopy() *PodSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. +func (in *PodSpec) DeepCopy() *PodSpec { + if in == nil { return nil } out := new(PodSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -203,12 +204,12 @@ func (in *PodStatus) DeepCopyInto(out *PodStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. -func (x *PodStatus) DeepCopy() *PodStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. +func (in *PodStatus) DeepCopy() *PodStatus { + if in == nil { return nil } out := new(PodStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apiserver/pkg/apis/example/zz_generated.deepcopy.go b/staging/src/k8s.io/apiserver/pkg/apis/example/zz_generated.deepcopy.go index 157c39e6777..02ba7f8c236 100644 --- a/staging/src/k8s.io/apiserver/pkg/apis/example/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apiserver/pkg/apis/example/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -69,19 +70,19 @@ func (in *Pod) DeepCopyInto(out *Pod) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Pod. -func (x *Pod) DeepCopy() *Pod { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod. +func (in *Pod) DeepCopy() *Pod { + if in == nil { return nil } out := new(Pod) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Pod) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Pod) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -96,13 +97,13 @@ func (in *PodCondition) DeepCopyInto(out *PodCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. -func (x *PodCondition) DeepCopy() *PodCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. +func (in *PodCondition) DeepCopy() *PodCondition { + if in == nil { return nil } out := new(PodCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -121,19 +122,19 @@ func (in *PodList) DeepCopyInto(out *PodList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodList. -func (x *PodList) DeepCopy() *PodList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList. +func (in *PodList) DeepCopy() *PodList { + if in == nil { return nil } out := new(PodList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -171,13 +172,13 @@ func (in *PodSpec) DeepCopyInto(out *PodSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. -func (x *PodSpec) DeepCopy() *PodSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. +func (in *PodSpec) DeepCopy() *PodSpec { + if in == nil { return nil } out := new(PodSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -203,12 +204,12 @@ func (in *PodStatus) DeepCopyInto(out *PodStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. -func (x *PodStatus) DeepCopy() *PodStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. +func (in *PodStatus) DeepCopy() *PodStatus { + if in == nil { return nil } out := new(PodStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/apiserver/pkg/endpoints/openapi/testing/zz_generated.deepcopy.go b/staging/src/k8s.io/apiserver/pkg/endpoints/openapi/testing/zz_generated.deepcopy.go index 5d3a61c51a1..79318002ea0 100644 --- a/staging/src/k8s.io/apiserver/pkg/endpoints/openapi/testing/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apiserver/pkg/endpoints/openapi/testing/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -42,19 +44,19 @@ func (in *TestType) DeepCopyInto(out *TestType) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType. -func (x *TestType) DeepCopy() *TestType { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType. +func (in *TestType) DeepCopy() *TestType { + if in == nil { return nil } out := new(TestType) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TestType) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TestType) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/apiserver/pkg/endpoints/testing/zz_generated.deepcopy.go b/staging/src/k8s.io/apiserver/pkg/endpoints/testing/zz_generated.deepcopy.go index 051a26f35a3..29aff7e2d73 100644 --- a/staging/src/k8s.io/apiserver/pkg/endpoints/testing/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apiserver/pkg/endpoints/testing/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -67,19 +69,19 @@ func (in *Simple) DeepCopyInto(out *Simple) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Simple. -func (x *Simple) DeepCopy() *Simple { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Simple. +func (in *Simple) DeepCopy() *Simple { + if in == nil { return nil } out := new(Simple) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Simple) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Simple) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -93,19 +95,19 @@ func (in *SimpleGetOptions) DeepCopyInto(out *SimpleGetOptions) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SimpleGetOptions. -func (x *SimpleGetOptions) DeepCopy() *SimpleGetOptions { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleGetOptions. +func (in *SimpleGetOptions) DeepCopy() *SimpleGetOptions { + if in == nil { return nil } out := new(SimpleGetOptions) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SimpleGetOptions) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SimpleGetOptions) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -127,19 +129,19 @@ func (in *SimpleList) DeepCopyInto(out *SimpleList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SimpleList. -func (x *SimpleList) DeepCopy() *SimpleList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleList. +func (in *SimpleList) DeepCopy() *SimpleList { + if in == nil { return nil } out := new(SimpleList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SimpleList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SimpleList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -161,19 +163,19 @@ func (in *SimpleRoot) DeepCopyInto(out *SimpleRoot) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SimpleRoot. -func (x *SimpleRoot) DeepCopy() *SimpleRoot { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleRoot. +func (in *SimpleRoot) DeepCopy() *SimpleRoot { + if in == nil { return nil } out := new(SimpleRoot) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SimpleRoot) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SimpleRoot) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -195,19 +197,19 @@ func (in *SimpleXGSubresource) DeepCopyInto(out *SimpleXGSubresource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SimpleXGSubresource. -func (x *SimpleXGSubresource) DeepCopy() *SimpleXGSubresource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleXGSubresource. +func (in *SimpleXGSubresource) DeepCopy() *SimpleXGSubresource { + if in == nil { return nil } out := new(SimpleXGSubresource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *SimpleXGSubresource) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *SimpleXGSubresource) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/apiserver/pkg/registry/rest/zz_generated.deepcopy.go b/staging/src/k8s.io/apiserver/pkg/registry/rest/zz_generated.deepcopy.go index 10f4525dd80..fbc6c055854 100644 --- a/staging/src/k8s.io/apiserver/pkg/registry/rest/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apiserver/pkg/registry/rest/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -47,19 +49,19 @@ func (in *ConnectRequest) DeepCopyInto(out *ConnectRequest) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ConnectRequest. -func (x *ConnectRequest) DeepCopy() *ConnectRequest { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectRequest. +func (in *ConnectRequest) DeepCopy() *ConnectRequest { + if in == nil { return nil } out := new(ConnectRequest) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *ConnectRequest) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *ConnectRequest) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/apiserver/pkg/storage/testing/zz_generated.deepcopy.go b/staging/src/k8s.io/apiserver/pkg/storage/testing/zz_generated.deepcopy.go index 33e0a93c411..fb187dfad24 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/testing/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/testing/zz_generated.deepcopy.go @@ -26,7 +26,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -44,19 +46,19 @@ func (in *TestResource) DeepCopyInto(out *TestResource) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestResource. -func (x *TestResource) DeepCopy() *TestResource { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestResource. +func (in *TestResource) DeepCopy() *TestResource { + if in == nil { return nil } out := new(TestResource) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TestResource) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TestResource) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/client-go/rest/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/rest/zz_generated.deepcopy.go index c750da3e490..1632e1efe3f 100644 --- a/staging/src/k8s.io/client-go/rest/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/rest/zz_generated.deepcopy.go @@ -25,7 +25,9 @@ import ( reflect "reflect" ) -// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them. +// 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 { @@ -56,12 +58,12 @@ func (in *TLSClientConfig) DeepCopyInto(out *TLSClientConfig) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TLSClientConfig. -func (x *TLSClientConfig) DeepCopy() *TLSClientConfig { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSClientConfig. +func (in *TLSClientConfig) DeepCopy() *TLSClientConfig { + if in == nil { return nil } out := new(TLSClientConfig) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/client-go/tools/clientcmd/api/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/tools/clientcmd/api/v1/zz_generated.deepcopy.go index 386626fd65b..b123a9fbe2e 100644 --- a/staging/src/k8s.io/client-go/tools/clientcmd/api/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/api/v1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -127,13 +128,13 @@ func (in *AuthInfo) DeepCopyInto(out *AuthInfo) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AuthInfo. -func (x *AuthInfo) DeepCopy() *AuthInfo { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthInfo. +func (in *AuthInfo) DeepCopy() *AuthInfo { + if in == nil { return nil } out := new(AuthInfo) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -150,13 +151,13 @@ func (in *AuthProviderConfig) DeepCopyInto(out *AuthProviderConfig) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderConfig. -func (x *AuthProviderConfig) DeepCopy() *AuthProviderConfig { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderConfig. +func (in *AuthProviderConfig) DeepCopy() *AuthProviderConfig { + if in == nil { return nil } out := new(AuthProviderConfig) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -178,13 +179,13 @@ func (in *Cluster) DeepCopyInto(out *Cluster) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. -func (x *Cluster) DeepCopy() *Cluster { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. +func (in *Cluster) DeepCopy() *Cluster { + if in == nil { return nil } out := new(Cluster) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -223,19 +224,19 @@ func (in *Config) DeepCopyInto(out *Config) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Config. -func (x *Config) DeepCopy() *Config { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config. +func (in *Config) DeepCopy() *Config { + if in == nil { return nil } out := new(Config) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Config) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Config) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -255,13 +256,13 @@ func (in *Context) DeepCopyInto(out *Context) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Context. -func (x *Context) DeepCopy() *Context { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Context. +func (in *Context) DeepCopy() *Context { + if in == nil { return nil } out := new(Context) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -272,13 +273,13 @@ func (in *NamedAuthInfo) DeepCopyInto(out *NamedAuthInfo) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamedAuthInfo. -func (x *NamedAuthInfo) DeepCopy() *NamedAuthInfo { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedAuthInfo. +func (in *NamedAuthInfo) DeepCopy() *NamedAuthInfo { + if in == nil { return nil } out := new(NamedAuthInfo) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -289,13 +290,13 @@ func (in *NamedCluster) DeepCopyInto(out *NamedCluster) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamedCluster. -func (x *NamedCluster) DeepCopy() *NamedCluster { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedCluster. +func (in *NamedCluster) DeepCopy() *NamedCluster { + if in == nil { return nil } out := new(NamedCluster) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -306,13 +307,13 @@ func (in *NamedContext) DeepCopyInto(out *NamedContext) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamedContext. -func (x *NamedContext) DeepCopy() *NamedContext { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedContext. +func (in *NamedContext) DeepCopy() *NamedContext { + if in == nil { return nil } out := new(NamedContext) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -323,13 +324,13 @@ func (in *NamedExtension) DeepCopyInto(out *NamedExtension) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NamedExtension. -func (x *NamedExtension) DeepCopy() *NamedExtension { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedExtension. +func (in *NamedExtension) DeepCopy() *NamedExtension { + if in == nil { return nil } out := new(NamedExtension) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -346,12 +347,12 @@ func (in *Preferences) DeepCopyInto(out *Preferences) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Preferences. -func (x *Preferences) DeepCopy() *Preferences { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preferences. +func (in *Preferences) DeepCopy() *Preferences { + if in == nil { return nil } out := new(Preferences) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/client-go/tools/clientcmd/api/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/tools/clientcmd/api/zz_generated.deepcopy.go index 4262f6087da..b787f0ddf82 100644 --- a/staging/src/k8s.io/client-go/tools/clientcmd/api/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/api/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -115,13 +116,13 @@ func (in *AuthInfo) DeepCopyInto(out *AuthInfo) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AuthInfo. -func (x *AuthInfo) DeepCopy() *AuthInfo { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthInfo. +func (in *AuthInfo) DeepCopy() *AuthInfo { + if in == nil { return nil } out := new(AuthInfo) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -138,13 +139,13 @@ func (in *AuthProviderConfig) DeepCopyInto(out *AuthProviderConfig) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderConfig. -func (x *AuthProviderConfig) DeepCopy() *AuthProviderConfig { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthProviderConfig. +func (in *AuthProviderConfig) DeepCopy() *AuthProviderConfig { + if in == nil { return nil } out := new(AuthProviderConfig) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -170,13 +171,13 @@ func (in *Cluster) DeepCopyInto(out *Cluster) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. -func (x *Cluster) DeepCopy() *Cluster { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. +func (in *Cluster) DeepCopy() *Cluster { + if in == nil { return nil } out := new(Cluster) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -234,19 +235,19 @@ func (in *Config) DeepCopyInto(out *Config) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Config. -func (x *Config) DeepCopy() *Config { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config. +func (in *Config) DeepCopy() *Config { + if in == nil { return nil } out := new(Config) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Config) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Config) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -270,13 +271,13 @@ func (in *Context) DeepCopyInto(out *Context) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Context. -func (x *Context) DeepCopy() *Context { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Context. +func (in *Context) DeepCopy() *Context { + if in == nil { return nil } out := new(Context) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -297,12 +298,12 @@ func (in *Preferences) DeepCopyInto(out *Preferences) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Preferences. -func (x *Preferences) DeepCopy() *Preferences { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preferences. +func (in *Preferences) DeepCopy() *Preferences { + if in == nil { return nil } out := new(Preferences) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1/zz_generated.deepcopy.go index 1137819228f..653220a9a4d 100644 --- a/staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -72,19 +73,19 @@ func (in *APIService) DeepCopyInto(out *APIService) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIService. -func (x *APIService) DeepCopy() *APIService { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIService. +func (in *APIService) DeepCopy() *APIService { + if in == nil { return nil } out := new(APIService) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *APIService) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *APIService) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -98,13 +99,13 @@ func (in *APIServiceCondition) DeepCopyInto(out *APIServiceCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceCondition. -func (x *APIServiceCondition) DeepCopy() *APIServiceCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceCondition. +func (in *APIServiceCondition) DeepCopy() *APIServiceCondition { + if in == nil { return nil } out := new(APIServiceCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -123,19 +124,19 @@ func (in *APIServiceList) DeepCopyInto(out *APIServiceList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceList. -func (x *APIServiceList) DeepCopy() *APIServiceList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceList. +func (in *APIServiceList) DeepCopy() *APIServiceList { + if in == nil { return nil } out := new(APIServiceList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *APIServiceList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *APIServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -162,13 +163,13 @@ func (in *APIServiceSpec) DeepCopyInto(out *APIServiceSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceSpec. -func (x *APIServiceSpec) DeepCopy() *APIServiceSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceSpec. +func (in *APIServiceSpec) DeepCopy() *APIServiceSpec { + if in == nil { return nil } out := new(APIServiceSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -185,13 +186,13 @@ func (in *APIServiceStatus) DeepCopyInto(out *APIServiceStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceStatus. -func (x *APIServiceStatus) DeepCopy() *APIServiceStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceStatus. +func (in *APIServiceStatus) DeepCopy() *APIServiceStatus { + if in == nil { return nil } out := new(APIServiceStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -201,12 +202,12 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. -func (x *ServiceReference) DeepCopy() *ServiceReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. +func (in *ServiceReference) DeepCopy() *ServiceReference { + if in == nil { return nil } out := new(ServiceReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/zz_generated.deepcopy.go b/staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/zz_generated.deepcopy.go index 49fabd74eee..30958a6d672 100644 --- a/staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -72,19 +73,19 @@ func (in *APIService) DeepCopyInto(out *APIService) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIService. -func (x *APIService) DeepCopy() *APIService { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIService. +func (in *APIService) DeepCopy() *APIService { + if in == nil { return nil } out := new(APIService) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *APIService) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *APIService) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -98,13 +99,13 @@ func (in *APIServiceCondition) DeepCopyInto(out *APIServiceCondition) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceCondition. -func (x *APIServiceCondition) DeepCopy() *APIServiceCondition { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceCondition. +func (in *APIServiceCondition) DeepCopy() *APIServiceCondition { + if in == nil { return nil } out := new(APIServiceCondition) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -123,19 +124,19 @@ func (in *APIServiceList) DeepCopyInto(out *APIServiceList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceList. -func (x *APIServiceList) DeepCopy() *APIServiceList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceList. +func (in *APIServiceList) DeepCopy() *APIServiceList { + if in == nil { return nil } out := new(APIServiceList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *APIServiceList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *APIServiceList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -162,13 +163,13 @@ func (in *APIServiceSpec) DeepCopyInto(out *APIServiceSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceSpec. -func (x *APIServiceSpec) DeepCopy() *APIServiceSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceSpec. +func (in *APIServiceSpec) DeepCopy() *APIServiceSpec { + if in == nil { return nil } out := new(APIServiceSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -185,13 +186,13 @@ func (in *APIServiceStatus) DeepCopyInto(out *APIServiceStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceStatus. -func (x *APIServiceStatus) DeepCopy() *APIServiceStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceStatus. +func (in *APIServiceStatus) DeepCopy() *APIServiceStatus { + if in == nil { return nil } out := new(APIServiceStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -201,12 +202,12 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. -func (x *ServiceReference) DeepCopy() *ServiceReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. +func (in *ServiceReference) DeepCopy() *ServiceReference { + if in == nil { return nil } out := new(ServiceReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/kube-gen/cmd/client-gen/test_apis/testgroup/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/kube-gen/cmd/client-gen/test_apis/testgroup/v1/zz_generated.deepcopy.go index f08849c589d..da6ba5e9520 100644 --- a/staging/src/k8s.io/kube-gen/cmd/client-gen/test_apis/testgroup/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/kube-gen/cmd/client-gen/test_apis/testgroup/v1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -59,19 +60,19 @@ func (in *TestType) DeepCopyInto(out *TestType) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType. -func (x *TestType) DeepCopy() *TestType { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType. +func (in *TestType) DeepCopy() *TestType { + if in == nil { return nil } out := new(TestType) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TestType) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TestType) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -93,19 +94,19 @@ func (in *TestTypeList) DeepCopyInto(out *TestTypeList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeList. -func (x *TestTypeList) DeepCopy() *TestTypeList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeList. +func (in *TestTypeList) DeepCopy() *TestTypeList { + if in == nil { return nil } out := new(TestTypeList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TestTypeList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TestTypeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -118,12 +119,12 @@ func (in *TestTypeStatus) DeepCopyInto(out *TestTypeStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeStatus. -func (x *TestTypeStatus) DeepCopy() *TestTypeStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeStatus. +func (in *TestTypeStatus) DeepCopy() *TestTypeStatus { + if in == nil { return nil } out := new(TestTypeStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/kube-gen/cmd/client-gen/test_apis/testgroup/zz_generated.deepcopy.go b/staging/src/k8s.io/kube-gen/cmd/client-gen/test_apis/testgroup/zz_generated.deepcopy.go index 9978cb335eb..e1c897c5cb9 100644 --- a/staging/src/k8s.io/kube-gen/cmd/client-gen/test_apis/testgroup/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/kube-gen/cmd/client-gen/test_apis/testgroup/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -59,19 +60,19 @@ func (in *TestType) DeepCopyInto(out *TestType) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestType. -func (x *TestType) DeepCopy() *TestType { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestType. +func (in *TestType) DeepCopy() *TestType { + if in == nil { return nil } out := new(TestType) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TestType) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TestType) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -93,19 +94,19 @@ func (in *TestTypeList) DeepCopyInto(out *TestTypeList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeList. -func (x *TestTypeList) DeepCopy() *TestTypeList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeList. +func (in *TestTypeList) DeepCopy() *TestTypeList { + if in == nil { return nil } out := new(TestTypeList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *TestTypeList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *TestTypeList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -118,12 +119,12 @@ func (in *TestTypeStatus) DeepCopyInto(out *TestTypeStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeStatus. -func (x *TestTypeStatus) DeepCopy() *TestTypeStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestTypeStatus. +func (in *TestTypeStatus) DeepCopy() *TestTypeStatus { + if in == nil { return nil } out := new(TestTypeStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/metrics/pkg/apis/custom_metrics/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/metrics/pkg/apis/custom_metrics/v1alpha1/zz_generated.deepcopy.go index 148c3b9ad16..744f789ac62 100644 --- a/staging/src/k8s.io/metrics/pkg/apis/custom_metrics/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/metrics/pkg/apis/custom_metrics/v1alpha1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -65,19 +66,19 @@ func (in *MetricValue) DeepCopyInto(out *MetricValue) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricValue. -func (x *MetricValue) DeepCopy() *MetricValue { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValue. +func (in *MetricValue) DeepCopy() *MetricValue { + if in == nil { return nil } out := new(MetricValue) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *MetricValue) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *MetricValue) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -99,19 +100,19 @@ func (in *MetricValueList) DeepCopyInto(out *MetricValueList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueList. -func (x *MetricValueList) DeepCopy() *MetricValueList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueList. +func (in *MetricValueList) DeepCopy() *MetricValueList { + if in == nil { return nil } out := new(MetricValueList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *MetricValueList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *MetricValueList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/metrics/pkg/apis/custom_metrics/zz_generated.deepcopy.go b/staging/src/k8s.io/metrics/pkg/apis/custom_metrics/zz_generated.deepcopy.go index 00cdecb4814..c61d3c4c891 100644 --- a/staging/src/k8s.io/metrics/pkg/apis/custom_metrics/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/metrics/pkg/apis/custom_metrics/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -69,19 +70,19 @@ func (in *MetricValue) DeepCopyInto(out *MetricValue) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricValue. -func (x *MetricValue) DeepCopy() *MetricValue { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValue. +func (in *MetricValue) DeepCopy() *MetricValue { + if in == nil { return nil } out := new(MetricValue) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *MetricValue) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *MetricValue) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -103,19 +104,19 @@ func (in *MetricValueList) DeepCopyInto(out *MetricValueList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueList. -func (x *MetricValueList) DeepCopy() *MetricValueList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueList. +func (in *MetricValueList) DeepCopy() *MetricValueList { + if in == nil { return nil } out := new(MetricValueList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *MetricValueList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *MetricValueList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -128,12 +129,12 @@ func (in *ObjectReference) DeepCopyInto(out *ObjectReference) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. -func (x *ObjectReference) DeepCopy() *ObjectReference { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. +func (in *ObjectReference) DeepCopy() *ObjectReference { + if in == nil { return nil } out := new(ObjectReference) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/metrics/pkg/apis/metrics/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/metrics/pkg/apis/metrics/v1alpha1/zz_generated.deepcopy.go index 7f0639df4e4..e4223daa495 100644 --- a/staging/src/k8s.io/metrics/pkg/apis/metrics/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/metrics/pkg/apis/metrics/v1alpha1/zz_generated.deepcopy.go @@ -27,13 +27,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 { @@ -72,13 +73,13 @@ func (in *ContainerMetrics) DeepCopyInto(out *ContainerMetrics) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerMetrics. -func (x *ContainerMetrics) DeepCopy() *ContainerMetrics { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerMetrics. +func (in *ContainerMetrics) DeepCopy() *ContainerMetrics { + if in == nil { return nil } out := new(ContainerMetrics) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -99,19 +100,19 @@ func (in *NodeMetrics) DeepCopyInto(out *NodeMetrics) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetrics. -func (x *NodeMetrics) DeepCopy() *NodeMetrics { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetrics. +func (in *NodeMetrics) DeepCopy() *NodeMetrics { + if in == nil { return nil } out := new(NodeMetrics) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NodeMetrics) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NodeMetrics) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -133,19 +134,19 @@ func (in *NodeMetricsList) DeepCopyInto(out *NodeMetricsList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetricsList. -func (x *NodeMetricsList) DeepCopy() *NodeMetricsList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetricsList. +func (in *NodeMetricsList) DeepCopy() *NodeMetricsList { + if in == nil { return nil } out := new(NodeMetricsList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NodeMetricsList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NodeMetricsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -169,19 +170,19 @@ func (in *PodMetrics) DeepCopyInto(out *PodMetrics) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodMetrics. -func (x *PodMetrics) DeepCopy() *PodMetrics { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodMetrics. +func (in *PodMetrics) DeepCopy() *PodMetrics { + if in == nil { return nil } out := new(PodMetrics) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodMetrics) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodMetrics) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -203,19 +204,19 @@ func (in *PodMetricsList) DeepCopyInto(out *PodMetricsList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodMetricsList. -func (x *PodMetricsList) DeepCopy() *PodMetricsList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodMetricsList. +func (in *PodMetricsList) DeepCopy() *PodMetricsList { + if in == nil { return nil } out := new(PodMetricsList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodMetricsList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodMetricsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/metrics/pkg/apis/metrics/zz_generated.deepcopy.go b/staging/src/k8s.io/metrics/pkg/apis/metrics/zz_generated.deepcopy.go index db8385ad313..88b5d0a88a1 100644 --- a/staging/src/k8s.io/metrics/pkg/apis/metrics/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/metrics/pkg/apis/metrics/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -71,13 +72,13 @@ func (in *ContainerMetrics) DeepCopyInto(out *ContainerMetrics) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ContainerMetrics. -func (x *ContainerMetrics) DeepCopy() *ContainerMetrics { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerMetrics. +func (in *ContainerMetrics) DeepCopy() *ContainerMetrics { + if in == nil { return nil } out := new(ContainerMetrics) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -98,19 +99,19 @@ func (in *NodeMetrics) DeepCopyInto(out *NodeMetrics) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetrics. -func (x *NodeMetrics) DeepCopy() *NodeMetrics { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetrics. +func (in *NodeMetrics) DeepCopy() *NodeMetrics { + if in == nil { return nil } out := new(NodeMetrics) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NodeMetrics) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NodeMetrics) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -132,19 +133,19 @@ func (in *NodeMetricsList) DeepCopyInto(out *NodeMetricsList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetricsList. -func (x *NodeMetricsList) DeepCopy() *NodeMetricsList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeMetricsList. +func (in *NodeMetricsList) DeepCopy() *NodeMetricsList { + if in == nil { return nil } out := new(NodeMetricsList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *NodeMetricsList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *NodeMetricsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -168,19 +169,19 @@ func (in *PodMetrics) DeepCopyInto(out *PodMetrics) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodMetrics. -func (x *PodMetrics) DeepCopy() *PodMetrics { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodMetrics. +func (in *PodMetrics) DeepCopy() *PodMetrics { + if in == nil { return nil } out := new(PodMetrics) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodMetrics) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodMetrics) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -202,19 +203,19 @@ func (in *PodMetricsList) DeepCopyInto(out *PodMetricsList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodMetricsList. -func (x *PodMetricsList) DeepCopy() *PodMetricsList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodMetricsList. +func (in *PodMetricsList) DeepCopy() *PodMetricsList { + if in == nil { return nil } out := new(PodMetricsList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *PodMetricsList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *PodMetricsList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil diff --git a/staging/src/k8s.io/sample-apiserver/pkg/apis/wardle/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/sample-apiserver/pkg/apis/wardle/v1alpha1/zz_generated.deepcopy.go index 44d78da56a0..049f5ef93ea 100644 --- a/staging/src/k8s.io/sample-apiserver/pkg/apis/wardle/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/sample-apiserver/pkg/apis/wardle/v1alpha1/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -75,19 +76,19 @@ func (in *Fischer) DeepCopyInto(out *Fischer) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Fischer. -func (x *Fischer) DeepCopy() *Fischer { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fischer. +func (in *Fischer) DeepCopy() *Fischer { + if in == nil { return nil } out := new(Fischer) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Fischer) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Fischer) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -109,19 +110,19 @@ func (in *FischerList) DeepCopyInto(out *FischerList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FischerList. -func (x *FischerList) DeepCopy() *FischerList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FischerList. +func (in *FischerList) DeepCopy() *FischerList { + if in == nil { return nil } out := new(FischerList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *FischerList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *FischerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -138,19 +139,19 @@ func (in *Flunder) DeepCopyInto(out *Flunder) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Flunder. -func (x *Flunder) DeepCopy() *Flunder { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flunder. +func (in *Flunder) DeepCopy() *Flunder { + if in == nil { return nil } out := new(Flunder) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Flunder) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Flunder) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -172,19 +173,19 @@ func (in *FlunderList) DeepCopyInto(out *FlunderList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlunderList. -func (x *FlunderList) DeepCopy() *FlunderList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlunderList. +func (in *FlunderList) DeepCopy() *FlunderList { + if in == nil { return nil } out := new(FlunderList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *FlunderList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *FlunderList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -197,13 +198,13 @@ func (in *FlunderSpec) DeepCopyInto(out *FlunderSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlunderSpec. -func (x *FlunderSpec) DeepCopy() *FlunderSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlunderSpec. +func (in *FlunderSpec) DeepCopy() *FlunderSpec { + if in == nil { return nil } out := new(FlunderSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -213,12 +214,12 @@ func (in *FlunderStatus) DeepCopyInto(out *FlunderStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlunderStatus. -func (x *FlunderStatus) DeepCopy() *FlunderStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlunderStatus. +func (in *FlunderStatus) DeepCopy() *FlunderStatus { + if in == nil { return nil } out := new(FlunderStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/staging/src/k8s.io/sample-apiserver/pkg/apis/wardle/zz_generated.deepcopy.go b/staging/src/k8s.io/sample-apiserver/pkg/apis/wardle/zz_generated.deepcopy.go index 66a3ce772fe..25e9f0b4ade 100644 --- a/staging/src/k8s.io/sample-apiserver/pkg/apis/wardle/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/sample-apiserver/pkg/apis/wardle/zz_generated.deepcopy.go @@ -26,13 +26,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 { @@ -75,19 +76,19 @@ func (in *Fischer) DeepCopyInto(out *Fischer) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Fischer. -func (x *Fischer) DeepCopy() *Fischer { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fischer. +func (in *Fischer) DeepCopy() *Fischer { + if in == nil { return nil } out := new(Fischer) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Fischer) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Fischer) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -109,19 +110,19 @@ func (in *FischerList) DeepCopyInto(out *FischerList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FischerList. -func (x *FischerList) DeepCopy() *FischerList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FischerList. +func (in *FischerList) DeepCopy() *FischerList { + if in == nil { return nil } out := new(FischerList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *FischerList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *FischerList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -138,19 +139,19 @@ func (in *Flunder) DeepCopyInto(out *Flunder) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Flunder. -func (x *Flunder) DeepCopy() *Flunder { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flunder. +func (in *Flunder) DeepCopy() *Flunder { + if in == nil { return nil } out := new(Flunder) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *Flunder) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *Flunder) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -172,19 +173,19 @@ func (in *FlunderList) DeepCopyInto(out *FlunderList) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlunderList. -func (x *FlunderList) DeepCopy() *FlunderList { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlunderList. +func (in *FlunderList) DeepCopy() *FlunderList { + if in == nil { return nil } out := new(FlunderList) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (x *FlunderList) DeepCopyObject() runtime.Object { - if c := x.DeepCopy(); c != nil { +func (in *FlunderList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { return c } else { return nil @@ -197,13 +198,13 @@ func (in *FlunderSpec) DeepCopyInto(out *FlunderSpec) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlunderSpec. -func (x *FlunderSpec) DeepCopy() *FlunderSpec { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlunderSpec. +func (in *FlunderSpec) DeepCopy() *FlunderSpec { + if in == nil { return nil } out := new(FlunderSpec) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } @@ -213,12 +214,12 @@ func (in *FlunderStatus) DeepCopyInto(out *FlunderStatus) { return } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FlunderStatus. -func (x *FlunderStatus) DeepCopy() *FlunderStatus { - if x == nil { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlunderStatus. +func (in *FlunderStatus) DeepCopy() *FlunderStatus { + if in == nil { return nil } out := new(FlunderStatus) - x.DeepCopyInto(out) + in.DeepCopyInto(out) return out } diff --git a/vendor/k8s.io/gengo/examples/deepcopy-gen/generators/deepcopy.go b/vendor/k8s.io/gengo/examples/deepcopy-gen/generators/deepcopy.go index b1295f24785..68ae5215c5f 100644 --- a/vendor/k8s.io/gengo/examples/deepcopy-gen/generators/deepcopy.go +++ b/vendor/k8s.io/gengo/examples/deepcopy-gen/generators/deepcopy.go @@ -384,7 +384,9 @@ func (g *genDeepCopy) legacyRegistration(c *generator.Context, w io.Writer) erro g.imports.AddType(cloner) if !g.registerTypes { sw := generator.NewSnippetWriter(w, c, "$", "$") - sw.Do("// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.\n", nil) + sw.Do("// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.\n", nil) + sw.Do("//\n", nil) + sw.Do("// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.\n", nil) sw.Do("func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc{\n", nil) sw.Do("return []conversion.GeneratedDeepCopyFunc{\n", nil) for _, t := range g.typesForInit { @@ -398,7 +400,6 @@ func (g *genDeepCopy) legacyRegistration(c *generator.Context, w io.Writer) erro } sw := generator.NewSnippetWriter(w, c, "$", "$") - sw.Do("// Deprecated: register deep-copy functions.\n", nil) sw.Do("func init() {\n", nil) sw.Do("SchemeBuilder.Register(RegisterDeepCopies)\n", nil) sw.Do("}\n\n", nil) @@ -408,8 +409,10 @@ func (g *genDeepCopy) legacyRegistration(c *generator.Context, w io.Writer) erro Kind: types.Pointer, Elem: scheme, } - sw.Do("// Deprecated: RegisterDeepCopies adds deep-copy functions to the given scheme. Public\n", nil) + sw.Do("// RegisterDeepCopies adds deep-copy functions to the given scheme. Public\n", nil) sw.Do("// to allow building arbitrary schemes.\n", nil) + sw.Do("//\n", nil) + sw.Do("// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.\n", nil) sw.Do("func RegisterDeepCopies(scheme $.|raw$) error {\n", schemePtr) sw.Do("return scheme.AddGeneratedDeepCopyFuncs(\n", nil) for _, t := range g.typesForInit { @@ -565,11 +568,11 @@ func (g *genDeepCopy) GenerateType(c *generator.Context, t *types.Type, w io.Wri } if !foundDeepCopy { - sw.Do("// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new $.type|raw$.\n", args) - sw.Do("func (x *$.type|raw$) DeepCopy() *$.type|raw$ {\n", args) - sw.Do("if x == nil { return nil }\n", nil) + sw.Do("// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new $.type|raw$.\n", args) + sw.Do("func (in *$.type|raw$) DeepCopy() *$.type|raw$ {\n", args) + sw.Do("if in == nil { return nil }\n", nil) sw.Do("out := new($.type|raw$)\n", args) - sw.Do("x.DeepCopyInto(out)\n", nil) + sw.Do("in.DeepCopyInto(out)\n", nil) sw.Do("return out\n", nil) sw.Do("}\n\n", nil) } @@ -581,12 +584,12 @@ func (g *genDeepCopy) GenerateType(c *generator.Context, t *types.Type, w io.Wri for _, intf := range intfs { sw.Do(fmt.Sprintf("// DeepCopy%s is an autogenerated deepcopy function, copying the receiver, creating a new $.type2|raw$.\n", intf.Name.Name), argsFromType(t, intf)) if nonPointerReceiver { - sw.Do(fmt.Sprintf("func (x $.type|raw$) DeepCopy%s() $.type2|raw$ {\n", intf.Name.Name), argsFromType(t, intf)) - sw.Do("return *x.DeepCopy()", nil) + sw.Do(fmt.Sprintf("func (in $.type|raw$) DeepCopy%s() $.type2|raw$ {\n", intf.Name.Name), argsFromType(t, intf)) + sw.Do("return *in.DeepCopy()", nil) sw.Do("}\n\n", nil) } else { - sw.Do(fmt.Sprintf("func (x *$.type|raw$) DeepCopy%s() $.type2|raw$ {\n", intf.Name.Name), argsFromType(t, intf)) - sw.Do("if c := x.DeepCopy(); c != nil {\n", nil) + sw.Do(fmt.Sprintf("func (in *$.type|raw$) DeepCopy%s() $.type2|raw$ {\n", intf.Name.Name), argsFromType(t, intf)) + sw.Do("if c := in.DeepCopy(); c != nil {\n", nil) sw.Do("return c\n", nil) sw.Do("} else {\n", nil) sw.Do("return nil\n", nil)