Commit 84e0326e authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #49782 from supereagle/update-generated-deepcopy

Automatic merge from submit-queue (batch tested with PRs 50029, 48517, 49739, 49866, 49782) Update generated deepcopy code **What this PR does / why we need it**: In generated deepcopy code, the method names in comments do not match the real method names. **Which issue this PR fixes**: fixes #49755 **Special notes for your reviewer**: /assign @sttts @caesarxuchao **Release note**: ```release-note NONE ```
parents 4c9e8806 a1c880ec
...@@ -26,7 +26,9 @@ import ( ...@@ -26,7 +26,9 @@ import (
reflect "reflect" 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 { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -62,13 +64,13 @@ func (in *API) DeepCopyInto(out *API) { ...@@ -62,13 +64,13 @@ func (in *API) DeepCopyInto(out *API) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new API. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new API.
func (x *API) DeepCopy() *API { func (in *API) DeepCopy() *API {
if x == nil { if in == nil {
return nil return nil
} }
out := new(API) out := new(API)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -90,13 +92,13 @@ func (in *Etcd) DeepCopyInto(out *Etcd) { ...@@ -90,13 +92,13 @@ func (in *Etcd) DeepCopyInto(out *Etcd) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Etcd. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Etcd.
func (x *Etcd) DeepCopy() *Etcd { func (in *Etcd) DeepCopy() *Etcd {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Etcd) out := new(Etcd)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -141,19 +143,19 @@ func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) { ...@@ -141,19 +143,19 @@ func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MasterConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterConfiguration.
func (x *MasterConfiguration) DeepCopy() *MasterConfiguration { func (in *MasterConfiguration) DeepCopy() *MasterConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MasterConfiguration) out := new(MasterConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *MasterConfiguration) DeepCopyObject() runtime.Object { func (in *MasterConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -166,13 +168,13 @@ func (in *Networking) DeepCopyInto(out *Networking) { ...@@ -166,13 +168,13 @@ func (in *Networking) DeepCopyInto(out *Networking) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Networking. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networking.
func (x *Networking) DeepCopy() *Networking { func (in *Networking) DeepCopy() *Networking {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Networking) out := new(Networking)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -188,19 +190,19 @@ func (in *NodeConfiguration) DeepCopyInto(out *NodeConfiguration) { ...@@ -188,19 +190,19 @@ func (in *NodeConfiguration) DeepCopyInto(out *NodeConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration.
func (x *NodeConfiguration) DeepCopy() *NodeConfiguration { func (in *NodeConfiguration) DeepCopy() *NodeConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NodeConfiguration) out := new(NodeConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NodeConfiguration) DeepCopyObject() runtime.Object { func (in *NodeConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -218,12 +220,12 @@ func (in *TokenDiscovery) DeepCopyInto(out *TokenDiscovery) { ...@@ -218,12 +220,12 @@ func (in *TokenDiscovery) DeepCopyInto(out *TokenDiscovery) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenDiscovery. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenDiscovery.
func (x *TokenDiscovery) DeepCopy() *TokenDiscovery { func (in *TokenDiscovery) DeepCopy() *TokenDiscovery {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenDiscovery) out := new(TokenDiscovery)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -68,13 +69,13 @@ func (in *API) DeepCopyInto(out *API) { ...@@ -68,13 +69,13 @@ func (in *API) DeepCopyInto(out *API) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new API. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new API.
func (x *API) DeepCopy() *API { func (in *API) DeepCopy() *API {
if x == nil { if in == nil {
return nil return nil
} }
out := new(API) out := new(API)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -96,13 +97,13 @@ func (in *Etcd) DeepCopyInto(out *Etcd) { ...@@ -96,13 +97,13 @@ func (in *Etcd) DeepCopyInto(out *Etcd) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Etcd. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Etcd.
func (x *Etcd) DeepCopy() *Etcd { func (in *Etcd) DeepCopy() *Etcd {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Etcd) out := new(Etcd)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -147,19 +148,19 @@ func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) { ...@@ -147,19 +148,19 @@ func (in *MasterConfiguration) DeepCopyInto(out *MasterConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MasterConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterConfiguration.
func (x *MasterConfiguration) DeepCopy() *MasterConfiguration { func (in *MasterConfiguration) DeepCopy() *MasterConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MasterConfiguration) out := new(MasterConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *MasterConfiguration) DeepCopyObject() runtime.Object { func (in *MasterConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -172,13 +173,13 @@ func (in *Networking) DeepCopyInto(out *Networking) { ...@@ -172,13 +173,13 @@ func (in *Networking) DeepCopyInto(out *Networking) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Networking. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Networking.
func (x *Networking) DeepCopy() *Networking { func (in *Networking) DeepCopy() *Networking {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Networking) out := new(Networking)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -194,19 +195,19 @@ func (in *NodeConfiguration) DeepCopyInto(out *NodeConfiguration) { ...@@ -194,19 +195,19 @@ func (in *NodeConfiguration) DeepCopyInto(out *NodeConfiguration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfiguration.
func (x *NodeConfiguration) DeepCopy() *NodeConfiguration { func (in *NodeConfiguration) DeepCopy() *NodeConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NodeConfiguration) out := new(NodeConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NodeConfiguration) DeepCopyObject() runtime.Object { func (in *NodeConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -224,12 +225,12 @@ func (in *TokenDiscovery) DeepCopyInto(out *TokenDiscovery) { ...@@ -224,12 +225,12 @@ func (in *TokenDiscovery) DeepCopyInto(out *TokenDiscovery) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenDiscovery. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenDiscovery.
func (x *TokenDiscovery) DeepCopy() *TokenDiscovery { func (in *TokenDiscovery) DeepCopy() *TokenDiscovery {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenDiscovery) out := new(TokenDiscovery)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -27,13 +27,14 @@ import ( ...@@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -77,19 +78,19 @@ func (in *Cluster) DeepCopyInto(out *Cluster) { ...@@ -77,19 +78,19 @@ func (in *Cluster) DeepCopyInto(out *Cluster) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (x *Cluster) DeepCopy() *Cluster { func (in *Cluster) DeepCopy() *Cluster {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Cluster) out := new(Cluster)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Cluster) DeepCopyObject() runtime.Object { func (in *Cluster) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -104,13 +105,13 @@ func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition) { ...@@ -104,13 +105,13 @@ func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition.
func (x *ClusterCondition) DeepCopy() *ClusterCondition { func (in *ClusterCondition) DeepCopy() *ClusterCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterCondition) out := new(ClusterCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -129,19 +130,19 @@ func (in *ClusterList) DeepCopyInto(out *ClusterList) { ...@@ -129,19 +130,19 @@ func (in *ClusterList) DeepCopyInto(out *ClusterList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (x *ClusterList) DeepCopy() *ClusterList { func (in *ClusterList) DeepCopy() *ClusterList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterList) out := new(ClusterList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterList) DeepCopyObject() runtime.Object { func (in *ClusterList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -159,13 +160,13 @@ func (in *ClusterSelectorRequirement) DeepCopyInto(out *ClusterSelectorRequireme ...@@ -159,13 +160,13 @@ func (in *ClusterSelectorRequirement) DeepCopyInto(out *ClusterSelectorRequireme
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSelectorRequirement. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSelectorRequirement.
func (x *ClusterSelectorRequirement) DeepCopy() *ClusterSelectorRequirement { func (in *ClusterSelectorRequirement) DeepCopy() *ClusterSelectorRequirement {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterSelectorRequirement) out := new(ClusterSelectorRequirement)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -189,13 +190,13 @@ func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { ...@@ -189,13 +190,13 @@ func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (x *ClusterSpec) DeepCopy() *ClusterSpec { func (in *ClusterSpec) DeepCopy() *ClusterSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterSpec) out := new(ClusterSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -217,13 +218,13 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { ...@@ -217,13 +218,13 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (x *ClusterStatus) DeepCopy() *ClusterStatus { func (in *ClusterStatus) DeepCopy() *ClusterStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterStatus) out := new(ClusterStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -233,12 +234,12 @@ func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR ...@@ -233,12 +234,12 @@ func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR.
func (x *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR { func (in *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServerAddressByClientCIDR) out := new(ServerAddressByClientCIDR)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -28,13 +28,14 @@ import ( ...@@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -90,19 +91,19 @@ func (in *Cluster) DeepCopyInto(out *Cluster) { ...@@ -90,19 +91,19 @@ func (in *Cluster) DeepCopyInto(out *Cluster) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Cluster. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (x *Cluster) DeepCopy() *Cluster { func (in *Cluster) DeepCopy() *Cluster {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Cluster) out := new(Cluster)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Cluster) DeepCopyObject() runtime.Object { func (in *Cluster) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -117,13 +118,13 @@ func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition) { ...@@ -117,13 +118,13 @@ func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition.
func (x *ClusterCondition) DeepCopy() *ClusterCondition { func (in *ClusterCondition) DeepCopy() *ClusterCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterCondition) out := new(ClusterCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -142,19 +143,19 @@ func (in *ClusterList) DeepCopyInto(out *ClusterList) { ...@@ -142,19 +143,19 @@ func (in *ClusterList) DeepCopyInto(out *ClusterList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (x *ClusterList) DeepCopy() *ClusterList { func (in *ClusterList) DeepCopy() *ClusterList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterList) out := new(ClusterList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterList) DeepCopyObject() runtime.Object { func (in *ClusterList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -176,13 +177,13 @@ func (in *ClusterPreferences) DeepCopyInto(out *ClusterPreferences) { ...@@ -176,13 +177,13 @@ func (in *ClusterPreferences) DeepCopyInto(out *ClusterPreferences) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPreferences. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPreferences.
func (x *ClusterPreferences) DeepCopy() *ClusterPreferences { func (in *ClusterPreferences) DeepCopy() *ClusterPreferences {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterPreferences) out := new(ClusterPreferences)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -197,13 +198,13 @@ func (in *ClusterServiceIngress) DeepCopyInto(out *ClusterServiceIngress) { ...@@ -197,13 +198,13 @@ func (in *ClusterServiceIngress) DeepCopyInto(out *ClusterServiceIngress) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceIngress. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceIngress.
func (x *ClusterServiceIngress) DeepCopy() *ClusterServiceIngress { func (in *ClusterServiceIngress) DeepCopy() *ClusterServiceIngress {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterServiceIngress) out := new(ClusterServiceIngress)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -227,13 +228,13 @@ func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) { ...@@ -227,13 +228,13 @@ func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (x *ClusterSpec) DeepCopy() *ClusterSpec { func (in *ClusterSpec) DeepCopy() *ClusterSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterSpec) out := new(ClusterSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -255,13 +256,13 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { ...@@ -255,13 +256,13 @@ func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (x *ClusterStatus) DeepCopy() *ClusterStatus { func (in *ClusterStatus) DeepCopy() *ClusterStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterStatus) out := new(ClusterStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -278,13 +279,13 @@ func (in *FederatedServiceIngress) DeepCopyInto(out *FederatedServiceIngress) { ...@@ -278,13 +279,13 @@ func (in *FederatedServiceIngress) DeepCopyInto(out *FederatedServiceIngress) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServiceIngress. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FederatedServiceIngress.
func (x *FederatedServiceIngress) DeepCopy() *FederatedServiceIngress { func (in *FederatedServiceIngress) DeepCopy() *FederatedServiceIngress {
if x == nil { if in == nil {
return nil return nil
} }
out := new(FederatedServiceIngress) out := new(FederatedServiceIngress)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -303,13 +304,13 @@ func (in *ReplicaAllocationPreferences) DeepCopyInto(out *ReplicaAllocationPrefe ...@@ -303,13 +304,13 @@ func (in *ReplicaAllocationPreferences) DeepCopyInto(out *ReplicaAllocationPrefe
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaAllocationPreferences. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaAllocationPreferences.
func (x *ReplicaAllocationPreferences) DeepCopy() *ReplicaAllocationPreferences { func (in *ReplicaAllocationPreferences) DeepCopy() *ReplicaAllocationPreferences {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ReplicaAllocationPreferences) out := new(ReplicaAllocationPreferences)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -319,12 +320,12 @@ func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR ...@@ -319,12 +320,12 @@ func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR.
func (x *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR { func (in *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServerAddressByClientCIDR) out := new(ServerAddressByClientCIDR)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -49,19 +50,19 @@ func (in *Policy) DeepCopyInto(out *Policy) { ...@@ -49,19 +50,19 @@ func (in *Policy) DeepCopyInto(out *Policy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (x *Policy) DeepCopy() *Policy { func (in *Policy) DeepCopy() *Policy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Policy) out := new(Policy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Policy) DeepCopyObject() runtime.Object { func (in *Policy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
......
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -54,19 +55,19 @@ func (in *Policy) DeepCopyInto(out *Policy) { ...@@ -54,19 +55,19 @@ func (in *Policy) DeepCopyInto(out *Policy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (x *Policy) DeepCopy() *Policy { func (in *Policy) DeepCopy() *Policy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Policy) out := new(Policy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Policy) DeepCopyObject() runtime.Object { func (in *Policy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -79,12 +80,12 @@ func (in *PolicySpec) DeepCopyInto(out *PolicySpec) { ...@@ -79,12 +80,12 @@ func (in *PolicySpec) DeepCopyInto(out *PolicySpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
func (x *PolicySpec) DeepCopy() *PolicySpec { func (in *PolicySpec) DeepCopy() *PolicySpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PolicySpec) out := new(PolicySpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,7 +26,9 @@ import ( ...@@ -26,7 +26,9 @@ import (
reflect "reflect" 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 { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -48,19 +50,19 @@ func (in *Policy) DeepCopyInto(out *Policy) { ...@@ -48,19 +50,19 @@ func (in *Policy) DeepCopyInto(out *Policy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (x *Policy) DeepCopy() *Policy { func (in *Policy) DeepCopy() *Policy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Policy) out := new(Policy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Policy) DeepCopyObject() runtime.Object { func (in *Policy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -73,12 +75,12 @@ func (in *PolicySpec) DeepCopyInto(out *PolicySpec) { ...@@ -73,12 +75,12 @@ func (in *PolicySpec) DeepCopyInto(out *PolicySpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
func (x *PolicySpec) DeepCopy() *PolicySpec { func (in *PolicySpec) DeepCopy() *PolicySpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PolicySpec) out := new(PolicySpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -27,13 +27,14 @@ import ( ...@@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -60,19 +61,19 @@ func (in *AdmissionReview) DeepCopyInto(out *AdmissionReview) { ...@@ -60,19 +61,19 @@ func (in *AdmissionReview) DeepCopyInto(out *AdmissionReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview.
func (x *AdmissionReview) DeepCopy() *AdmissionReview { func (in *AdmissionReview) DeepCopy() *AdmissionReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionReview) out := new(AdmissionReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *AdmissionReview) DeepCopyObject() runtime.Object { func (in *AdmissionReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -98,13 +99,13 @@ func (in *AdmissionReviewSpec) DeepCopyInto(out *AdmissionReviewSpec) { ...@@ -98,13 +99,13 @@ func (in *AdmissionReviewSpec) DeepCopyInto(out *AdmissionReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewSpec.
func (x *AdmissionReviewSpec) DeepCopy() *AdmissionReviewSpec { func (in *AdmissionReviewSpec) DeepCopy() *AdmissionReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionReviewSpec) out := new(AdmissionReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -123,12 +124,12 @@ func (in *AdmissionReviewStatus) DeepCopyInto(out *AdmissionReviewStatus) { ...@@ -123,12 +124,12 @@ func (in *AdmissionReviewStatus) DeepCopyInto(out *AdmissionReviewStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewStatus.
func (x *AdmissionReviewStatus) DeepCopy() *AdmissionReviewStatus { func (in *AdmissionReviewStatus) DeepCopy() *AdmissionReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionReviewStatus) out := new(AdmissionReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -90,13 +91,13 @@ func (in *AdmissionHookClientConfig) DeepCopyInto(out *AdmissionHookClientConfig ...@@ -90,13 +91,13 @@ func (in *AdmissionHookClientConfig) DeepCopyInto(out *AdmissionHookClientConfig
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionHookClientConfig. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionHookClientConfig.
func (x *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig { func (in *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionHookClientConfig) out := new(AdmissionHookClientConfig)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -123,13 +124,13 @@ func (in *ExternalAdmissionHook) DeepCopyInto(out *ExternalAdmissionHook) { ...@@ -123,13 +124,13 @@ func (in *ExternalAdmissionHook) DeepCopyInto(out *ExternalAdmissionHook) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHook. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHook.
func (x *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook { func (in *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalAdmissionHook) out := new(ExternalAdmissionHook)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -148,19 +149,19 @@ func (in *ExternalAdmissionHookConfiguration) DeepCopyInto(out *ExternalAdmissio ...@@ -148,19 +149,19 @@ func (in *ExternalAdmissionHookConfiguration) DeepCopyInto(out *ExternalAdmissio
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfiguration.
func (x *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration { func (in *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalAdmissionHookConfiguration) out := new(ExternalAdmissionHookConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object { func (in *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -182,19 +183,19 @@ func (in *ExternalAdmissionHookConfigurationList) DeepCopyInto(out *ExternalAdmi ...@@ -182,19 +183,19 @@ func (in *ExternalAdmissionHookConfigurationList) DeepCopyInto(out *ExternalAdmi
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfigurationList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfigurationList.
func (x *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList { func (in *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalAdmissionHookConfigurationList) out := new(ExternalAdmissionHookConfigurationList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object { func (in *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -223,13 +224,13 @@ func (in *Initializer) DeepCopyInto(out *Initializer) { ...@@ -223,13 +224,13 @@ func (in *Initializer) DeepCopyInto(out *Initializer) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Initializer. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializer.
func (x *Initializer) DeepCopy() *Initializer { func (in *Initializer) DeepCopy() *Initializer {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Initializer) out := new(Initializer)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -248,19 +249,19 @@ func (in *InitializerConfiguration) DeepCopyInto(out *InitializerConfiguration) ...@@ -248,19 +249,19 @@ func (in *InitializerConfiguration) DeepCopyInto(out *InitializerConfiguration)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration.
func (x *InitializerConfiguration) DeepCopy() *InitializerConfiguration { func (in *InitializerConfiguration) DeepCopy() *InitializerConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InitializerConfiguration) out := new(InitializerConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InitializerConfiguration) DeepCopyObject() runtime.Object { func (in *InitializerConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -282,19 +283,19 @@ func (in *InitializerConfigurationList) DeepCopyInto(out *InitializerConfigurati ...@@ -282,19 +283,19 @@ func (in *InitializerConfigurationList) DeepCopyInto(out *InitializerConfigurati
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList.
func (x *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList { func (in *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InitializerConfigurationList) out := new(InitializerConfigurationList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InitializerConfigurationList) DeepCopyObject() runtime.Object { func (in *InitializerConfigurationList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -322,13 +323,13 @@ func (in *Rule) DeepCopyInto(out *Rule) { ...@@ -322,13 +323,13 @@ func (in *Rule) DeepCopyInto(out *Rule) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Rule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (x *Rule) DeepCopy() *Rule { func (in *Rule) DeepCopy() *Rule {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Rule) out := new(Rule)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -344,13 +345,13 @@ func (in *RuleWithOperations) DeepCopyInto(out *RuleWithOperations) { ...@@ -344,13 +345,13 @@ func (in *RuleWithOperations) DeepCopyInto(out *RuleWithOperations) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations.
func (x *RuleWithOperations) DeepCopy() *RuleWithOperations { func (in *RuleWithOperations) DeepCopy() *RuleWithOperations {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RuleWithOperations) out := new(RuleWithOperations)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -360,12 +361,12 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) { ...@@ -360,12 +361,12 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
func (x *ServiceReference) DeepCopy() *ServiceReference { func (in *ServiceReference) DeepCopy() *ServiceReference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceReference) out := new(ServiceReference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -28,13 +28,14 @@ import ( ...@@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -85,19 +86,19 @@ func (in *ControllerRevision) DeepCopyInto(out *ControllerRevision) { ...@@ -85,19 +86,19 @@ func (in *ControllerRevision) DeepCopyInto(out *ControllerRevision) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
func (x *ControllerRevision) DeepCopy() *ControllerRevision { func (in *ControllerRevision) DeepCopy() *ControllerRevision {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ControllerRevision) out := new(ControllerRevision)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ControllerRevision) DeepCopyObject() runtime.Object { func (in *ControllerRevision) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -119,19 +120,19 @@ func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList) { ...@@ -119,19 +120,19 @@ func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList.
func (x *ControllerRevisionList) DeepCopy() *ControllerRevisionList { func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ControllerRevisionList) out := new(ControllerRevisionList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ControllerRevisionList) DeepCopyObject() runtime.Object { func (in *ControllerRevisionList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -144,13 +145,13 @@ func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateState ...@@ -144,13 +145,13 @@ func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateState
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
func (x *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy { func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RollingUpdateStatefulSetStrategy) out := new(RollingUpdateStatefulSetStrategy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -164,19 +165,19 @@ func (in *StatefulSet) DeepCopyInto(out *StatefulSet) { ...@@ -164,19 +165,19 @@ func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
func (x *StatefulSet) DeepCopy() *StatefulSet { func (in *StatefulSet) DeepCopy() *StatefulSet {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSet) out := new(StatefulSet)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StatefulSet) DeepCopyObject() runtime.Object { func (in *StatefulSet) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -198,19 +199,19 @@ func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) { ...@@ -198,19 +199,19 @@ func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
func (x *StatefulSetList) DeepCopy() *StatefulSetList { func (in *StatefulSetList) DeepCopy() *StatefulSetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetList) out := new(StatefulSetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StatefulSetList) DeepCopyObject() runtime.Object { func (in *StatefulSetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -250,13 +251,13 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) { ...@@ -250,13 +251,13 @@ func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
func (x *StatefulSetSpec) DeepCopy() *StatefulSetSpec { func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetSpec) out := new(StatefulSetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -275,13 +276,13 @@ func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) { ...@@ -275,13 +276,13 @@ func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
func (x *StatefulSetStatus) DeepCopy() *StatefulSetStatus { func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetStatus) out := new(StatefulSetStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -300,12 +301,12 @@ func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy ...@@ -300,12 +301,12 @@ func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
func (x *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy { func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StatefulSetUpdateStrategy) out := new(StatefulSetUpdateStrategy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -64,19 +65,19 @@ func (in *TokenReview) DeepCopyInto(out *TokenReview) { ...@@ -64,19 +65,19 @@ func (in *TokenReview) DeepCopyInto(out *TokenReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
func (x *TokenReview) DeepCopy() *TokenReview { func (in *TokenReview) DeepCopy() *TokenReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReview) out := new(TokenReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TokenReview) DeepCopyObject() runtime.Object { func (in *TokenReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -89,13 +90,13 @@ func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) { ...@@ -89,13 +90,13 @@ func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
func (x *TokenReviewSpec) DeepCopy() *TokenReviewSpec { func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReviewSpec) out := new(TokenReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -106,13 +107,13 @@ func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) { ...@@ -106,13 +107,13 @@ func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
func (x *TokenReviewStatus) DeepCopy() *TokenReviewStatus { func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReviewStatus) out := new(TokenReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -135,12 +136,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) { ...@@ -135,12 +136,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
func (x *UserInfo) DeepCopy() *UserInfo { func (in *UserInfo) DeepCopy() *UserInfo {
if x == nil { if in == nil {
return nil return nil
} }
out := new(UserInfo) out := new(UserInfo)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -80,19 +81,19 @@ func (in *LocalSubjectAccessReview) DeepCopyInto(out *LocalSubjectAccessReview) ...@@ -80,19 +81,19 @@ func (in *LocalSubjectAccessReview) DeepCopyInto(out *LocalSubjectAccessReview)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalSubjectAccessReview.
func (x *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview { func (in *LocalSubjectAccessReview) DeepCopy() *LocalSubjectAccessReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LocalSubjectAccessReview) out := new(LocalSubjectAccessReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *LocalSubjectAccessReview) DeepCopyObject() runtime.Object { func (in *LocalSubjectAccessReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -105,13 +106,13 @@ func (in *NonResourceAttributes) DeepCopyInto(out *NonResourceAttributes) { ...@@ -105,13 +106,13 @@ func (in *NonResourceAttributes) DeepCopyInto(out *NonResourceAttributes) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NonResourceAttributes.
func (x *NonResourceAttributes) DeepCopy() *NonResourceAttributes { func (in *NonResourceAttributes) DeepCopy() *NonResourceAttributes {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NonResourceAttributes) out := new(NonResourceAttributes)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -121,13 +122,13 @@ func (in *ResourceAttributes) DeepCopyInto(out *ResourceAttributes) { ...@@ -121,13 +122,13 @@ func (in *ResourceAttributes) DeepCopyInto(out *ResourceAttributes) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceAttributes.
func (x *ResourceAttributes) DeepCopy() *ResourceAttributes { func (in *ResourceAttributes) DeepCopy() *ResourceAttributes {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ResourceAttributes) out := new(ResourceAttributes)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -141,19 +142,19 @@ func (in *SelfSubjectAccessReview) DeepCopyInto(out *SelfSubjectAccessReview) { ...@@ -141,19 +142,19 @@ func (in *SelfSubjectAccessReview) DeepCopyInto(out *SelfSubjectAccessReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReview.
func (x *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview { func (in *SelfSubjectAccessReview) DeepCopy() *SelfSubjectAccessReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SelfSubjectAccessReview) out := new(SelfSubjectAccessReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *SelfSubjectAccessReview) DeepCopyObject() runtime.Object { func (in *SelfSubjectAccessReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -184,13 +185,13 @@ func (in *SelfSubjectAccessReviewSpec) DeepCopyInto(out *SelfSubjectAccessReview ...@@ -184,13 +185,13 @@ func (in *SelfSubjectAccessReviewSpec) DeepCopyInto(out *SelfSubjectAccessReview
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectAccessReviewSpec.
func (x *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec { func (in *SelfSubjectAccessReviewSpec) DeepCopy() *SelfSubjectAccessReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SelfSubjectAccessReviewSpec) out := new(SelfSubjectAccessReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -204,19 +205,19 @@ func (in *SubjectAccessReview) DeepCopyInto(out *SubjectAccessReview) { ...@@ -204,19 +205,19 @@ func (in *SubjectAccessReview) DeepCopyInto(out *SubjectAccessReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReview.
func (x *SubjectAccessReview) DeepCopy() *SubjectAccessReview { func (in *SubjectAccessReview) DeepCopy() *SubjectAccessReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SubjectAccessReview) out := new(SubjectAccessReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *SubjectAccessReview) DeepCopyObject() runtime.Object { func (in *SubjectAccessReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -260,13 +261,13 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) { ...@@ -260,13 +261,13 @@ func (in *SubjectAccessReviewSpec) DeepCopyInto(out *SubjectAccessReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewSpec.
func (x *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec { func (in *SubjectAccessReviewSpec) DeepCopy() *SubjectAccessReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SubjectAccessReviewSpec) out := new(SubjectAccessReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -276,12 +277,12 @@ func (in *SubjectAccessReviewStatus) DeepCopyInto(out *SubjectAccessReviewStatus ...@@ -276,12 +277,12 @@ func (in *SubjectAccessReviewStatus) DeepCopyInto(out *SubjectAccessReviewStatus
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubjectAccessReviewStatus.
func (x *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus { func (in *SubjectAccessReviewStatus) DeepCopy() *SubjectAccessReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(SubjectAccessReviewStatus) out := new(SubjectAccessReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -28,13 +28,14 @@ import ( ...@@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -94,19 +95,19 @@ func (in *CronJob) DeepCopyInto(out *CronJob) { ...@@ -94,19 +95,19 @@ func (in *CronJob) DeepCopyInto(out *CronJob) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJob. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.
func (x *CronJob) DeepCopy() *CronJob { func (in *CronJob) DeepCopy() *CronJob {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CronJob) out := new(CronJob)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CronJob) DeepCopyObject() runtime.Object { func (in *CronJob) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -128,19 +129,19 @@ func (in *CronJobList) DeepCopyInto(out *CronJobList) { ...@@ -128,19 +129,19 @@ func (in *CronJobList) DeepCopyInto(out *CronJobList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList.
func (x *CronJobList) DeepCopy() *CronJobList { func (in *CronJobList) DeepCopy() *CronJobList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CronJobList) out := new(CronJobList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CronJobList) DeepCopyObject() runtime.Object { func (in *CronJobList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -190,13 +191,13 @@ func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) { ...@@ -190,13 +191,13 @@ func (in *CronJobSpec) DeepCopyInto(out *CronJobSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobSpec.
func (x *CronJobSpec) DeepCopy() *CronJobSpec { func (in *CronJobSpec) DeepCopy() *CronJobSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CronJobSpec) out := new(CronJobSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -220,13 +221,13 @@ func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) { ...@@ -220,13 +221,13 @@ func (in *CronJobStatus) DeepCopyInto(out *CronJobStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobStatus.
func (x *CronJobStatus) DeepCopy() *CronJobStatus { func (in *CronJobStatus) DeepCopy() *CronJobStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CronJobStatus) out := new(CronJobStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -240,19 +241,19 @@ func (in *Job) DeepCopyInto(out *Job) { ...@@ -240,19 +241,19 @@ func (in *Job) DeepCopyInto(out *Job) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Job. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
func (x *Job) DeepCopy() *Job { func (in *Job) DeepCopy() *Job {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Job) out := new(Job)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Job) DeepCopyObject() runtime.Object { func (in *Job) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -267,13 +268,13 @@ func (in *JobCondition) DeepCopyInto(out *JobCondition) { ...@@ -267,13 +268,13 @@ func (in *JobCondition) DeepCopyInto(out *JobCondition) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCondition.
func (x *JobCondition) DeepCopy() *JobCondition { func (in *JobCondition) DeepCopy() *JobCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobCondition) out := new(JobCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -292,19 +293,19 @@ func (in *JobList) DeepCopyInto(out *JobList) { ...@@ -292,19 +293,19 @@ func (in *JobList) DeepCopyInto(out *JobList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
func (x *JobList) DeepCopy() *JobList { func (in *JobList) DeepCopy() *JobList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobList) out := new(JobList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *JobList) DeepCopyObject() runtime.Object { func (in *JobList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -363,13 +364,13 @@ func (in *JobSpec) DeepCopyInto(out *JobSpec) { ...@@ -363,13 +364,13 @@ func (in *JobSpec) DeepCopyInto(out *JobSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSpec.
func (x *JobSpec) DeepCopy() *JobSpec { func (in *JobSpec) DeepCopy() *JobSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobSpec) out := new(JobSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -404,13 +405,13 @@ func (in *JobStatus) DeepCopyInto(out *JobStatus) { ...@@ -404,13 +405,13 @@ func (in *JobStatus) DeepCopyInto(out *JobStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
func (x *JobStatus) DeepCopy() *JobStatus { func (in *JobStatus) DeepCopy() *JobStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobStatus) out := new(JobStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -423,19 +424,19 @@ func (in *JobTemplate) DeepCopyInto(out *JobTemplate) { ...@@ -423,19 +424,19 @@ func (in *JobTemplate) DeepCopyInto(out *JobTemplate) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplate.
func (x *JobTemplate) DeepCopy() *JobTemplate { func (in *JobTemplate) DeepCopy() *JobTemplate {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobTemplate) out := new(JobTemplate)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *JobTemplate) DeepCopyObject() runtime.Object { func (in *JobTemplate) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -450,12 +451,12 @@ func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) { ...@@ -450,12 +451,12 @@ func (in *JobTemplateSpec) DeepCopyInto(out *JobTemplateSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTemplateSpec.
func (x *JobTemplateSpec) DeepCopy() *JobTemplateSpec { func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(JobTemplateSpec) out := new(JobTemplateSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -68,19 +69,19 @@ func (in *CertificateSigningRequest) DeepCopyInto(out *CertificateSigningRequest ...@@ -68,19 +69,19 @@ func (in *CertificateSigningRequest) DeepCopyInto(out *CertificateSigningRequest
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequest.
func (x *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest { func (in *CertificateSigningRequest) DeepCopy() *CertificateSigningRequest {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequest) out := new(CertificateSigningRequest)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CertificateSigningRequest) DeepCopyObject() runtime.Object { func (in *CertificateSigningRequest) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -94,13 +95,13 @@ func (in *CertificateSigningRequestCondition) DeepCopyInto(out *CertificateSigni ...@@ -94,13 +95,13 @@ func (in *CertificateSigningRequestCondition) DeepCopyInto(out *CertificateSigni
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestCondition.
func (x *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition { func (in *CertificateSigningRequestCondition) DeepCopy() *CertificateSigningRequestCondition {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequestCondition) out := new(CertificateSigningRequestCondition)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -119,19 +120,19 @@ func (in *CertificateSigningRequestList) DeepCopyInto(out *CertificateSigningReq ...@@ -119,19 +120,19 @@ func (in *CertificateSigningRequestList) DeepCopyInto(out *CertificateSigningReq
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestList.
func (x *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList { func (in *CertificateSigningRequestList) DeepCopy() *CertificateSigningRequestList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequestList) out := new(CertificateSigningRequestList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *CertificateSigningRequestList) DeepCopyObject() runtime.Object { func (in *CertificateSigningRequestList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -167,13 +168,13 @@ func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningReq ...@@ -167,13 +168,13 @@ func (in *CertificateSigningRequestSpec) DeepCopyInto(out *CertificateSigningReq
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestSpec.
func (x *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec { func (in *CertificateSigningRequestSpec) DeepCopy() *CertificateSigningRequestSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequestSpec) out := new(CertificateSigningRequestSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -195,12 +196,12 @@ func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningR ...@@ -195,12 +196,12 @@ func (in *CertificateSigningRequestStatus) DeepCopyInto(out *CertificateSigningR
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateSigningRequestStatus.
func (x *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus { func (in *CertificateSigningRequestStatus) DeepCopy() *CertificateSigningRequestStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(CertificateSigningRequestStatus) out := new(CertificateSigningRequestStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -64,19 +65,19 @@ func (in *ImageReview) DeepCopyInto(out *ImageReview) { ...@@ -64,19 +65,19 @@ func (in *ImageReview) DeepCopyInto(out *ImageReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReview.
func (x *ImageReview) DeepCopy() *ImageReview { func (in *ImageReview) DeepCopy() *ImageReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ImageReview) out := new(ImageReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ImageReview) DeepCopyObject() runtime.Object { func (in *ImageReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -89,13 +90,13 @@ func (in *ImageReviewContainerSpec) DeepCopyInto(out *ImageReviewContainerSpec) ...@@ -89,13 +90,13 @@ func (in *ImageReviewContainerSpec) DeepCopyInto(out *ImageReviewContainerSpec)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewContainerSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewContainerSpec.
func (x *ImageReviewContainerSpec) DeepCopy() *ImageReviewContainerSpec { func (in *ImageReviewContainerSpec) DeepCopy() *ImageReviewContainerSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ImageReviewContainerSpec) out := new(ImageReviewContainerSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -117,13 +118,13 @@ func (in *ImageReviewSpec) DeepCopyInto(out *ImageReviewSpec) { ...@@ -117,13 +118,13 @@ func (in *ImageReviewSpec) DeepCopyInto(out *ImageReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewSpec.
func (x *ImageReviewSpec) DeepCopy() *ImageReviewSpec { func (in *ImageReviewSpec) DeepCopy() *ImageReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ImageReviewSpec) out := new(ImageReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -133,12 +134,12 @@ func (in *ImageReviewStatus) DeepCopyInto(out *ImageReviewStatus) { ...@@ -133,12 +134,12 @@ func (in *ImageReviewStatus) DeepCopyInto(out *ImageReviewStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageReviewStatus.
func (x *ImageReviewStatus) DeepCopy() *ImageReviewStatus { func (in *ImageReviewStatus) DeepCopy() *ImageReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ImageReviewStatus) out := new(ImageReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -29,13 +29,14 @@ import ( ...@@ -29,13 +29,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -74,19 +75,19 @@ func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) { ...@@ -74,19 +75,19 @@ func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy.
func (x *NetworkPolicy) DeepCopy() *NetworkPolicy { func (in *NetworkPolicy) DeepCopy() *NetworkPolicy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicy) out := new(NetworkPolicy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NetworkPolicy) DeepCopyObject() runtime.Object { func (in *NetworkPolicy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -113,13 +114,13 @@ func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule) ...@@ -113,13 +114,13 @@ func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule.
func (x *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule { func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicyIngressRule) out := new(NetworkPolicyIngressRule)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -138,19 +139,19 @@ func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) { ...@@ -138,19 +139,19 @@ func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList.
func (x *NetworkPolicyList) DeepCopy() *NetworkPolicyList { func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicyList) out := new(NetworkPolicyList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *NetworkPolicyList) DeepCopyObject() runtime.Object { func (in *NetworkPolicyList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -181,13 +182,13 @@ func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) { ...@@ -181,13 +182,13 @@ func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer.
func (x *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer { func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicyPeer) out := new(NetworkPolicyPeer)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -215,13 +216,13 @@ func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) { ...@@ -215,13 +216,13 @@ func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort.
func (x *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort { func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicyPort) out := new(NetworkPolicyPort)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -239,12 +240,12 @@ func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) { ...@@ -239,12 +240,12 @@ func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec.
func (x *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec { func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(NetworkPolicySpec) out := new(NetworkPolicySpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -27,13 +27,14 @@ import ( ...@@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -76,19 +77,19 @@ func (in *Eviction) DeepCopyInto(out *Eviction) { ...@@ -76,19 +77,19 @@ func (in *Eviction) DeepCopyInto(out *Eviction) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Eviction. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eviction.
func (x *Eviction) DeepCopy() *Eviction { func (in *Eviction) DeepCopy() *Eviction {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Eviction) out := new(Eviction)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Eviction) DeepCopyObject() runtime.Object { func (in *Eviction) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -105,19 +106,19 @@ func (in *PodDisruptionBudget) DeepCopyInto(out *PodDisruptionBudget) { ...@@ -105,19 +106,19 @@ func (in *PodDisruptionBudget) DeepCopyInto(out *PodDisruptionBudget) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget.
func (x *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget { func (in *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudget) out := new(PodDisruptionBudget)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodDisruptionBudget) DeepCopyObject() runtime.Object { func (in *PodDisruptionBudget) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -139,19 +140,19 @@ func (in *PodDisruptionBudgetList) DeepCopyInto(out *PodDisruptionBudgetList) { ...@@ -139,19 +140,19 @@ func (in *PodDisruptionBudgetList) DeepCopyInto(out *PodDisruptionBudgetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList.
func (x *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList { func (in *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetList) out := new(PodDisruptionBudgetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodDisruptionBudgetList) DeepCopyObject() runtime.Object { func (in *PodDisruptionBudgetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -174,13 +175,13 @@ func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) { ...@@ -174,13 +175,13 @@ func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec.
func (x *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec { func (in *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetSpec) out := new(PodDisruptionBudgetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -190,12 +191,12 @@ func (in *PodDisruptionBudgetStatus) DeepCopyInto(out *PodDisruptionBudgetStatus ...@@ -190,12 +191,12 @@ func (in *PodDisruptionBudgetStatus) DeepCopyInto(out *PodDisruptionBudgetStatus
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus.
func (x *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus { func (in *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetStatus) out := new(PodDisruptionBudgetStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -28,13 +28,14 @@ import ( ...@@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -77,19 +78,19 @@ func (in *Eviction) DeepCopyInto(out *Eviction) { ...@@ -77,19 +78,19 @@ func (in *Eviction) DeepCopyInto(out *Eviction) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Eviction. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eviction.
func (x *Eviction) DeepCopy() *Eviction { func (in *Eviction) DeepCopy() *Eviction {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Eviction) out := new(Eviction)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Eviction) DeepCopyObject() runtime.Object { func (in *Eviction) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -106,19 +107,19 @@ func (in *PodDisruptionBudget) DeepCopyInto(out *PodDisruptionBudget) { ...@@ -106,19 +107,19 @@ func (in *PodDisruptionBudget) DeepCopyInto(out *PodDisruptionBudget) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget.
func (x *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget { func (in *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudget) out := new(PodDisruptionBudget)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodDisruptionBudget) DeepCopyObject() runtime.Object { func (in *PodDisruptionBudget) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -140,19 +141,19 @@ func (in *PodDisruptionBudgetList) DeepCopyInto(out *PodDisruptionBudgetList) { ...@@ -140,19 +141,19 @@ func (in *PodDisruptionBudgetList) DeepCopyInto(out *PodDisruptionBudgetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList.
func (x *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList { func (in *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetList) out := new(PodDisruptionBudgetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodDisruptionBudgetList) DeepCopyObject() runtime.Object { func (in *PodDisruptionBudgetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -192,13 +193,13 @@ func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) { ...@@ -192,13 +193,13 @@ func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec.
func (x *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec { func (in *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetSpec) out := new(PodDisruptionBudgetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -215,12 +216,12 @@ func (in *PodDisruptionBudgetStatus) DeepCopyInto(out *PodDisruptionBudgetStatus ...@@ -215,12 +216,12 @@ func (in *PodDisruptionBudgetStatus) DeepCopyInto(out *PodDisruptionBudgetStatus
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus.
func (x *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus { func (in *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodDisruptionBudgetStatus) out := new(PodDisruptionBudgetStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -97,19 +98,19 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) { ...@@ -97,19 +98,19 @@ func (in *ClusterRole) DeepCopyInto(out *ClusterRole) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRole.
func (x *ClusterRole) DeepCopy() *ClusterRole { func (in *ClusterRole) DeepCopy() *ClusterRole {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRole) out := new(ClusterRole)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRole) DeepCopyObject() runtime.Object { func (in *ClusterRole) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -130,19 +131,19 @@ func (in *ClusterRoleBinding) DeepCopyInto(out *ClusterRoleBinding) { ...@@ -130,19 +131,19 @@ func (in *ClusterRoleBinding) DeepCopyInto(out *ClusterRoleBinding) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBinding.
func (x *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding { func (in *ClusterRoleBinding) DeepCopy() *ClusterRoleBinding {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRoleBinding) out := new(ClusterRoleBinding)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRoleBinding) DeepCopyObject() runtime.Object { func (in *ClusterRoleBinding) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -164,19 +165,19 @@ func (in *ClusterRoleBindingList) DeepCopyInto(out *ClusterRoleBindingList) { ...@@ -164,19 +165,19 @@ func (in *ClusterRoleBindingList) DeepCopyInto(out *ClusterRoleBindingList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleBindingList.
func (x *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList { func (in *ClusterRoleBindingList) DeepCopy() *ClusterRoleBindingList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRoleBindingList) out := new(ClusterRoleBindingList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRoleBindingList) DeepCopyObject() runtime.Object { func (in *ClusterRoleBindingList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -198,19 +199,19 @@ func (in *ClusterRoleList) DeepCopyInto(out *ClusterRoleList) { ...@@ -198,19 +199,19 @@ func (in *ClusterRoleList) DeepCopyInto(out *ClusterRoleList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRoleList.
func (x *ClusterRoleList) DeepCopy() *ClusterRoleList { func (in *ClusterRoleList) DeepCopy() *ClusterRoleList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ClusterRoleList) out := new(ClusterRoleList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ClusterRoleList) DeepCopyObject() runtime.Object { func (in *ClusterRoleList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -248,13 +249,13 @@ func (in *PolicyRule) DeepCopyInto(out *PolicyRule) { ...@@ -248,13 +249,13 @@ func (in *PolicyRule) DeepCopyInto(out *PolicyRule) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule.
func (x *PolicyRule) DeepCopy() *PolicyRule { func (in *PolicyRule) DeepCopy() *PolicyRule {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PolicyRule) out := new(PolicyRule)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -273,19 +274,19 @@ func (in *Role) DeepCopyInto(out *Role) { ...@@ -273,19 +274,19 @@ func (in *Role) DeepCopyInto(out *Role) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Role. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (x *Role) DeepCopy() *Role { func (in *Role) DeepCopy() *Role {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Role) out := new(Role)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Role) DeepCopyObject() runtime.Object { func (in *Role) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -306,19 +307,19 @@ func (in *RoleBinding) DeepCopyInto(out *RoleBinding) { ...@@ -306,19 +307,19 @@ func (in *RoleBinding) DeepCopyInto(out *RoleBinding) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding.
func (x *RoleBinding) DeepCopy() *RoleBinding { func (in *RoleBinding) DeepCopy() *RoleBinding {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleBinding) out := new(RoleBinding)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *RoleBinding) DeepCopyObject() runtime.Object { func (in *RoleBinding) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -340,19 +341,19 @@ func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList) { ...@@ -340,19 +341,19 @@ func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList.
func (x *RoleBindingList) DeepCopy() *RoleBindingList { func (in *RoleBindingList) DeepCopy() *RoleBindingList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleBindingList) out := new(RoleBindingList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *RoleBindingList) DeepCopyObject() runtime.Object { func (in *RoleBindingList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -374,19 +375,19 @@ func (in *RoleList) DeepCopyInto(out *RoleList) { ...@@ -374,19 +375,19 @@ func (in *RoleList) DeepCopyInto(out *RoleList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.
func (x *RoleList) DeepCopy() *RoleList { func (in *RoleList) DeepCopy() *RoleList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleList) out := new(RoleList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *RoleList) DeepCopyObject() runtime.Object { func (in *RoleList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -399,13 +400,13 @@ func (in *RoleRef) DeepCopyInto(out *RoleRef) { ...@@ -399,13 +400,13 @@ func (in *RoleRef) DeepCopyInto(out *RoleRef) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleRef.
func (x *RoleRef) DeepCopy() *RoleRef { func (in *RoleRef) DeepCopy() *RoleRef {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RoleRef) out := new(RoleRef)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -415,12 +416,12 @@ func (in *Subject) DeepCopyInto(out *Subject) { ...@@ -415,12 +416,12 @@ func (in *Subject) DeepCopyInto(out *Subject) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Subject. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subject.
func (x *Subject) DeepCopy() *Subject { func (in *Subject) DeepCopy() *Subject {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Subject) out := new(Subject)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -54,19 +55,19 @@ func (in *PriorityClass) DeepCopyInto(out *PriorityClass) { ...@@ -54,19 +55,19 @@ func (in *PriorityClass) DeepCopyInto(out *PriorityClass) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass.
func (x *PriorityClass) DeepCopy() *PriorityClass { func (in *PriorityClass) DeepCopy() *PriorityClass {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityClass) out := new(PriorityClass)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PriorityClass) DeepCopyObject() runtime.Object { func (in *PriorityClass) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -88,19 +89,19 @@ func (in *PriorityClassList) DeepCopyInto(out *PriorityClassList) { ...@@ -88,19 +89,19 @@ func (in *PriorityClassList) DeepCopyInto(out *PriorityClassList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList.
func (x *PriorityClassList) DeepCopy() *PriorityClassList { func (in *PriorityClassList) DeepCopy() *PriorityClassList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityClassList) out := new(PriorityClassList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PriorityClassList) DeepCopyObject() runtime.Object { func (in *PriorityClassList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
......
...@@ -27,13 +27,14 @@ import ( ...@@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -60,19 +61,19 @@ func (in *PodPreset) DeepCopyInto(out *PodPreset) { ...@@ -60,19 +61,19 @@ func (in *PodPreset) DeepCopyInto(out *PodPreset) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset.
func (x *PodPreset) DeepCopy() *PodPreset { func (in *PodPreset) DeepCopy() *PodPreset {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodPreset) out := new(PodPreset)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodPreset) DeepCopyObject() runtime.Object { func (in *PodPreset) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -94,19 +95,19 @@ func (in *PodPresetList) DeepCopyInto(out *PodPresetList) { ...@@ -94,19 +95,19 @@ func (in *PodPresetList) DeepCopyInto(out *PodPresetList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetList.
func (x *PodPresetList) DeepCopy() *PodPresetList { func (in *PodPresetList) DeepCopy() *PodPresetList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodPresetList) out := new(PodPresetList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *PodPresetList) DeepCopyObject() runtime.Object { func (in *PodPresetList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -146,12 +147,12 @@ func (in *PodPresetSpec) DeepCopyInto(out *PodPresetSpec) { ...@@ -146,12 +147,12 @@ func (in *PodPresetSpec) DeepCopyInto(out *PodPresetSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetSpec.
func (x *PodPresetSpec) DeepCopy() *PodPresetSpec { func (in *PodPresetSpec) DeepCopy() *PodPresetSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PodPresetSpec) out := new(PodPresetSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -61,19 +62,19 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) { ...@@ -61,19 +62,19 @@ func (in *StorageClass) DeepCopyInto(out *StorageClass) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
func (x *StorageClass) DeepCopy() *StorageClass { func (in *StorageClass) DeepCopy() *StorageClass {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StorageClass) out := new(StorageClass)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StorageClass) DeepCopyObject() runtime.Object { func (in *StorageClass) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -95,19 +96,19 @@ func (in *StorageClassList) DeepCopyInto(out *StorageClassList) { ...@@ -95,19 +96,19 @@ func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
func (x *StorageClassList) DeepCopy() *StorageClassList { func (in *StorageClassList) DeepCopy() *StorageClassList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(StorageClassList) out := new(StorageClassList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *StorageClassList) DeepCopyObject() runtime.Object { func (in *StorageClassList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
......
...@@ -26,7 +26,9 @@ import ( ...@@ -26,7 +26,9 @@ import (
reflect "reflect" 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 { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -48,19 +50,19 @@ func (in *MetadataOnlyObject) DeepCopyInto(out *MetadataOnlyObject) { ...@@ -48,19 +50,19 @@ func (in *MetadataOnlyObject) DeepCopyInto(out *MetadataOnlyObject) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObject. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObject.
func (x *MetadataOnlyObject) DeepCopy() *MetadataOnlyObject { func (in *MetadataOnlyObject) DeepCopy() *MetadataOnlyObject {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetadataOnlyObject) out := new(MetadataOnlyObject)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *MetadataOnlyObject) DeepCopyObject() runtime.Object { func (in *MetadataOnlyObject) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -82,19 +84,19 @@ func (in *MetadataOnlyObjectList) DeepCopyInto(out *MetadataOnlyObjectList) { ...@@ -82,19 +84,19 @@ func (in *MetadataOnlyObjectList) DeepCopyInto(out *MetadataOnlyObjectList) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObjectList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetadataOnlyObjectList.
func (x *MetadataOnlyObjectList) DeepCopy() *MetadataOnlyObjectList { func (in *MetadataOnlyObjectList) DeepCopy() *MetadataOnlyObjectList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(MetadataOnlyObjectList) out := new(MetadataOnlyObjectList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *MetadataOnlyObjectList) DeepCopyObject() runtime.Object { func (in *MetadataOnlyObjectList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
......
...@@ -26,7 +26,9 @@ import ( ...@@ -26,7 +26,9 @@ import (
reflect "reflect" 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 { func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
return []conversion.GeneratedDeepCopyFunc{ return []conversion.GeneratedDeepCopyFunc{
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -62,19 +64,19 @@ func (in *ExternalNamespacedType) DeepCopyInto(out *ExternalNamespacedType) { ...@@ -62,19 +64,19 @@ func (in *ExternalNamespacedType) DeepCopyInto(out *ExternalNamespacedType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType.
func (x *ExternalNamespacedType) DeepCopy() *ExternalNamespacedType { func (in *ExternalNamespacedType) DeepCopy() *ExternalNamespacedType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalNamespacedType) out := new(ExternalNamespacedType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalNamespacedType) DeepCopyObject() runtime.Object { func (in *ExternalNamespacedType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -87,19 +89,19 @@ func (in *ExternalNamespacedType2) DeepCopyInto(out *ExternalNamespacedType2) { ...@@ -87,19 +89,19 @@ func (in *ExternalNamespacedType2) DeepCopyInto(out *ExternalNamespacedType2) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType2. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType2.
func (x *ExternalNamespacedType2) DeepCopy() *ExternalNamespacedType2 { func (in *ExternalNamespacedType2) DeepCopy() *ExternalNamespacedType2 {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalNamespacedType2) out := new(ExternalNamespacedType2)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalNamespacedType2) DeepCopyObject() runtime.Object { func (in *ExternalNamespacedType2) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -112,19 +114,19 @@ func (in *ExternalType) DeepCopyInto(out *ExternalType) { ...@@ -112,19 +114,19 @@ func (in *ExternalType) DeepCopyInto(out *ExternalType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType.
func (x *ExternalType) DeepCopy() *ExternalType { func (in *ExternalType) DeepCopy() *ExternalType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalType) out := new(ExternalType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalType) DeepCopyObject() runtime.Object { func (in *ExternalType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -137,19 +139,19 @@ func (in *ExternalType2) DeepCopyInto(out *ExternalType2) { ...@@ -137,19 +139,19 @@ func (in *ExternalType2) DeepCopyInto(out *ExternalType2) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType2. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType2.
func (x *ExternalType2) DeepCopy() *ExternalType2 { func (in *ExternalType2) DeepCopy() *ExternalType2 {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalType2) out := new(ExternalType2)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalType2) DeepCopyObject() runtime.Object { func (in *ExternalType2) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -162,19 +164,19 @@ func (in *InternalNamespacedType) DeepCopyInto(out *InternalNamespacedType) { ...@@ -162,19 +164,19 @@ func (in *InternalNamespacedType) DeepCopyInto(out *InternalNamespacedType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalNamespacedType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalNamespacedType.
func (x *InternalNamespacedType) DeepCopy() *InternalNamespacedType { func (in *InternalNamespacedType) DeepCopy() *InternalNamespacedType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InternalNamespacedType) out := new(InternalNamespacedType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InternalNamespacedType) DeepCopyObject() runtime.Object { func (in *InternalNamespacedType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -187,19 +189,19 @@ func (in *InternalType) DeepCopyInto(out *InternalType) { ...@@ -187,19 +189,19 @@ func (in *InternalType) DeepCopyInto(out *InternalType) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalType. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalType.
func (x *InternalType) DeepCopy() *InternalType { func (in *InternalType) DeepCopy() *InternalType {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InternalType) out := new(InternalType)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InternalType) DeepCopyObject() runtime.Object { func (in *InternalType) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
......
...@@ -27,13 +27,14 @@ import ( ...@@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -64,19 +65,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) { ...@@ -64,19 +65,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (x *Configuration) DeepCopy() *Configuration { func (in *Configuration) DeepCopy() *Configuration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Configuration) out := new(Configuration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Configuration) DeepCopyObject() runtime.Object { func (in *Configuration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
......
...@@ -27,13 +27,14 @@ import ( ...@@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -64,19 +65,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) { ...@@ -64,19 +65,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (x *Configuration) DeepCopy() *Configuration { func (in *Configuration) DeepCopy() *Configuration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Configuration) out := new(Configuration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Configuration) DeepCopyObject() runtime.Object { func (in *Configuration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
......
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -60,19 +61,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) { ...@@ -60,19 +61,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (x *Configuration) DeepCopy() *Configuration { func (in *Configuration) DeepCopy() *Configuration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Configuration) out := new(Configuration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Configuration) DeepCopyObject() runtime.Object { func (in *Configuration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -90,12 +91,12 @@ func (in *LimitedResource) DeepCopyInto(out *LimitedResource) { ...@@ -90,12 +91,12 @@ func (in *LimitedResource) DeepCopyInto(out *LimitedResource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitedResource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitedResource.
func (x *LimitedResource) DeepCopy() *LimitedResource { func (in *LimitedResource) DeepCopy() *LimitedResource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LimitedResource) out := new(LimitedResource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -60,19 +61,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) { ...@@ -60,19 +61,19 @@ func (in *Configuration) DeepCopyInto(out *Configuration) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Configuration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (x *Configuration) DeepCopy() *Configuration { func (in *Configuration) DeepCopy() *Configuration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Configuration) out := new(Configuration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Configuration) DeepCopyObject() runtime.Object { func (in *Configuration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -90,12 +91,12 @@ func (in *LimitedResource) DeepCopyInto(out *LimitedResource) { ...@@ -90,12 +91,12 @@ func (in *LimitedResource) DeepCopyInto(out *LimitedResource) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LimitedResource. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitedResource.
func (x *LimitedResource) DeepCopy() *LimitedResource { func (in *LimitedResource) DeepCopy() *LimitedResource {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LimitedResource) out := new(LimitedResource)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -28,13 +28,14 @@ import ( ...@@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -129,13 +130,13 @@ func (in *ExtenderArgs) DeepCopyInto(out *ExtenderArgs) { ...@@ -129,13 +130,13 @@ func (in *ExtenderArgs) DeepCopyInto(out *ExtenderArgs) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderArgs. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderArgs.
func (x *ExtenderArgs) DeepCopy() *ExtenderArgs { func (in *ExtenderArgs) DeepCopy() *ExtenderArgs {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderArgs) out := new(ExtenderArgs)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -145,13 +146,13 @@ func (in *ExtenderBindingArgs) DeepCopyInto(out *ExtenderBindingArgs) { ...@@ -145,13 +146,13 @@ func (in *ExtenderBindingArgs) DeepCopyInto(out *ExtenderBindingArgs) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingArgs. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingArgs.
func (x *ExtenderBindingArgs) DeepCopy() *ExtenderBindingArgs { func (in *ExtenderBindingArgs) DeepCopy() *ExtenderBindingArgs {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderBindingArgs) out := new(ExtenderBindingArgs)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -161,13 +162,13 @@ func (in *ExtenderBindingResult) DeepCopyInto(out *ExtenderBindingResult) { ...@@ -161,13 +162,13 @@ func (in *ExtenderBindingResult) DeepCopyInto(out *ExtenderBindingResult) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingResult. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingResult.
func (x *ExtenderBindingResult) DeepCopy() *ExtenderBindingResult { func (in *ExtenderBindingResult) DeepCopy() *ExtenderBindingResult {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderBindingResult) out := new(ExtenderBindingResult)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -186,13 +187,13 @@ func (in *ExtenderConfig) DeepCopyInto(out *ExtenderConfig) { ...@@ -186,13 +187,13 @@ func (in *ExtenderConfig) DeepCopyInto(out *ExtenderConfig) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderConfig. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderConfig.
func (x *ExtenderConfig) DeepCopy() *ExtenderConfig { func (in *ExtenderConfig) DeepCopy() *ExtenderConfig {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderConfig) out := new(ExtenderConfig)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -231,13 +232,13 @@ func (in *ExtenderFilterResult) DeepCopyInto(out *ExtenderFilterResult) { ...@@ -231,13 +232,13 @@ func (in *ExtenderFilterResult) DeepCopyInto(out *ExtenderFilterResult) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderFilterResult. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderFilterResult.
func (x *ExtenderFilterResult) DeepCopy() *ExtenderFilterResult { func (in *ExtenderFilterResult) DeepCopy() *ExtenderFilterResult {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderFilterResult) out := new(ExtenderFilterResult)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -247,13 +248,13 @@ func (in *HostPriority) DeepCopyInto(out *HostPriority) { ...@@ -247,13 +248,13 @@ func (in *HostPriority) DeepCopyInto(out *HostPriority) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HostPriority. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPriority.
func (x *HostPriority) DeepCopy() *HostPriority { func (in *HostPriority) DeepCopy() *HostPriority {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HostPriority) out := new(HostPriority)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -263,13 +264,13 @@ func (in *LabelPreference) DeepCopyInto(out *LabelPreference) { ...@@ -263,13 +264,13 @@ func (in *LabelPreference) DeepCopyInto(out *LabelPreference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelPreference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelPreference.
func (x *LabelPreference) DeepCopy() *LabelPreference { func (in *LabelPreference) DeepCopy() *LabelPreference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LabelPreference) out := new(LabelPreference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -284,13 +285,13 @@ func (in *LabelsPresence) DeepCopyInto(out *LabelsPresence) { ...@@ -284,13 +285,13 @@ func (in *LabelsPresence) DeepCopyInto(out *LabelsPresence) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelsPresence. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsPresence.
func (x *LabelsPresence) DeepCopy() *LabelsPresence { func (in *LabelsPresence) DeepCopy() *LabelsPresence {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LabelsPresence) out := new(LabelsPresence)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -322,19 +323,19 @@ func (in *Policy) DeepCopyInto(out *Policy) { ...@@ -322,19 +323,19 @@ func (in *Policy) DeepCopyInto(out *Policy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (x *Policy) DeepCopy() *Policy { func (in *Policy) DeepCopy() *Policy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Policy) out := new(Policy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Policy) DeepCopyObject() runtime.Object { func (in *Policy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -365,13 +366,13 @@ func (in *PredicateArgument) DeepCopyInto(out *PredicateArgument) { ...@@ -365,13 +366,13 @@ func (in *PredicateArgument) DeepCopyInto(out *PredicateArgument) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PredicateArgument. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicateArgument.
func (x *PredicateArgument) DeepCopy() *PredicateArgument { func (in *PredicateArgument) DeepCopy() *PredicateArgument {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PredicateArgument) out := new(PredicateArgument)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -390,13 +391,13 @@ func (in *PredicatePolicy) DeepCopyInto(out *PredicatePolicy) { ...@@ -390,13 +391,13 @@ func (in *PredicatePolicy) DeepCopyInto(out *PredicatePolicy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PredicatePolicy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicatePolicy.
func (x *PredicatePolicy) DeepCopy() *PredicatePolicy { func (in *PredicatePolicy) DeepCopy() *PredicatePolicy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PredicatePolicy) out := new(PredicatePolicy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -424,13 +425,13 @@ func (in *PriorityArgument) DeepCopyInto(out *PriorityArgument) { ...@@ -424,13 +425,13 @@ func (in *PriorityArgument) DeepCopyInto(out *PriorityArgument) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityArgument. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityArgument.
func (x *PriorityArgument) DeepCopy() *PriorityArgument { func (in *PriorityArgument) DeepCopy() *PriorityArgument {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityArgument) out := new(PriorityArgument)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -449,13 +450,13 @@ func (in *PriorityPolicy) DeepCopyInto(out *PriorityPolicy) { ...@@ -449,13 +450,13 @@ func (in *PriorityPolicy) DeepCopyInto(out *PriorityPolicy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityPolicy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityPolicy.
func (x *PriorityPolicy) DeepCopy() *PriorityPolicy { func (in *PriorityPolicy) DeepCopy() *PriorityPolicy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityPolicy) out := new(PriorityPolicy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -470,13 +471,13 @@ func (in *ServiceAffinity) DeepCopyInto(out *ServiceAffinity) { ...@@ -470,13 +471,13 @@ func (in *ServiceAffinity) DeepCopyInto(out *ServiceAffinity) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAffinity. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAffinity.
func (x *ServiceAffinity) DeepCopy() *ServiceAffinity { func (in *ServiceAffinity) DeepCopy() *ServiceAffinity {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceAffinity) out := new(ServiceAffinity)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -486,12 +487,12 @@ func (in *ServiceAntiAffinity) DeepCopyInto(out *ServiceAntiAffinity) { ...@@ -486,12 +487,12 @@ func (in *ServiceAntiAffinity) DeepCopyInto(out *ServiceAntiAffinity) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAntiAffinity. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAntiAffinity.
func (x *ServiceAntiAffinity) DeepCopy() *ServiceAntiAffinity { func (in *ServiceAntiAffinity) DeepCopy() *ServiceAntiAffinity {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceAntiAffinity) out := new(ServiceAntiAffinity)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -28,13 +28,14 @@ import ( ...@@ -28,13 +28,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -129,13 +130,13 @@ func (in *ExtenderArgs) DeepCopyInto(out *ExtenderArgs) { ...@@ -129,13 +130,13 @@ func (in *ExtenderArgs) DeepCopyInto(out *ExtenderArgs) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderArgs. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderArgs.
func (x *ExtenderArgs) DeepCopy() *ExtenderArgs { func (in *ExtenderArgs) DeepCopy() *ExtenderArgs {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderArgs) out := new(ExtenderArgs)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -145,13 +146,13 @@ func (in *ExtenderBindingArgs) DeepCopyInto(out *ExtenderBindingArgs) { ...@@ -145,13 +146,13 @@ func (in *ExtenderBindingArgs) DeepCopyInto(out *ExtenderBindingArgs) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingArgs. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingArgs.
func (x *ExtenderBindingArgs) DeepCopy() *ExtenderBindingArgs { func (in *ExtenderBindingArgs) DeepCopy() *ExtenderBindingArgs {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderBindingArgs) out := new(ExtenderBindingArgs)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -161,13 +162,13 @@ func (in *ExtenderBindingResult) DeepCopyInto(out *ExtenderBindingResult) { ...@@ -161,13 +162,13 @@ func (in *ExtenderBindingResult) DeepCopyInto(out *ExtenderBindingResult) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingResult. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderBindingResult.
func (x *ExtenderBindingResult) DeepCopy() *ExtenderBindingResult { func (in *ExtenderBindingResult) DeepCopy() *ExtenderBindingResult {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderBindingResult) out := new(ExtenderBindingResult)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -186,13 +187,13 @@ func (in *ExtenderConfig) DeepCopyInto(out *ExtenderConfig) { ...@@ -186,13 +187,13 @@ func (in *ExtenderConfig) DeepCopyInto(out *ExtenderConfig) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderConfig. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderConfig.
func (x *ExtenderConfig) DeepCopy() *ExtenderConfig { func (in *ExtenderConfig) DeepCopy() *ExtenderConfig {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderConfig) out := new(ExtenderConfig)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -231,13 +232,13 @@ func (in *ExtenderFilterResult) DeepCopyInto(out *ExtenderFilterResult) { ...@@ -231,13 +232,13 @@ func (in *ExtenderFilterResult) DeepCopyInto(out *ExtenderFilterResult) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderFilterResult. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderFilterResult.
func (x *ExtenderFilterResult) DeepCopy() *ExtenderFilterResult { func (in *ExtenderFilterResult) DeepCopy() *ExtenderFilterResult {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExtenderFilterResult) out := new(ExtenderFilterResult)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -247,13 +248,13 @@ func (in *HostPriority) DeepCopyInto(out *HostPriority) { ...@@ -247,13 +248,13 @@ func (in *HostPriority) DeepCopyInto(out *HostPriority) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new HostPriority. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPriority.
func (x *HostPriority) DeepCopy() *HostPriority { func (in *HostPriority) DeepCopy() *HostPriority {
if x == nil { if in == nil {
return nil return nil
} }
out := new(HostPriority) out := new(HostPriority)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -263,13 +264,13 @@ func (in *LabelPreference) DeepCopyInto(out *LabelPreference) { ...@@ -263,13 +264,13 @@ func (in *LabelPreference) DeepCopyInto(out *LabelPreference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelPreference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelPreference.
func (x *LabelPreference) DeepCopy() *LabelPreference { func (in *LabelPreference) DeepCopy() *LabelPreference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LabelPreference) out := new(LabelPreference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -284,13 +285,13 @@ func (in *LabelsPresence) DeepCopyInto(out *LabelsPresence) { ...@@ -284,13 +285,13 @@ func (in *LabelsPresence) DeepCopyInto(out *LabelsPresence) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new LabelsPresence. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelsPresence.
func (x *LabelsPresence) DeepCopy() *LabelsPresence { func (in *LabelsPresence) DeepCopy() *LabelsPresence {
if x == nil { if in == nil {
return nil return nil
} }
out := new(LabelsPresence) out := new(LabelsPresence)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -322,19 +323,19 @@ func (in *Policy) DeepCopyInto(out *Policy) { ...@@ -322,19 +323,19 @@ func (in *Policy) DeepCopyInto(out *Policy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Policy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (x *Policy) DeepCopy() *Policy { func (in *Policy) DeepCopy() *Policy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Policy) out := new(Policy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *Policy) DeepCopyObject() runtime.Object { func (in *Policy) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -365,13 +366,13 @@ func (in *PredicateArgument) DeepCopyInto(out *PredicateArgument) { ...@@ -365,13 +366,13 @@ func (in *PredicateArgument) DeepCopyInto(out *PredicateArgument) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PredicateArgument. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicateArgument.
func (x *PredicateArgument) DeepCopy() *PredicateArgument { func (in *PredicateArgument) DeepCopy() *PredicateArgument {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PredicateArgument) out := new(PredicateArgument)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -390,13 +391,13 @@ func (in *PredicatePolicy) DeepCopyInto(out *PredicatePolicy) { ...@@ -390,13 +391,13 @@ func (in *PredicatePolicy) DeepCopyInto(out *PredicatePolicy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PredicatePolicy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredicatePolicy.
func (x *PredicatePolicy) DeepCopy() *PredicatePolicy { func (in *PredicatePolicy) DeepCopy() *PredicatePolicy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PredicatePolicy) out := new(PredicatePolicy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -424,13 +425,13 @@ func (in *PriorityArgument) DeepCopyInto(out *PriorityArgument) { ...@@ -424,13 +425,13 @@ func (in *PriorityArgument) DeepCopyInto(out *PriorityArgument) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityArgument. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityArgument.
func (x *PriorityArgument) DeepCopy() *PriorityArgument { func (in *PriorityArgument) DeepCopy() *PriorityArgument {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityArgument) out := new(PriorityArgument)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -449,13 +450,13 @@ func (in *PriorityPolicy) DeepCopyInto(out *PriorityPolicy) { ...@@ -449,13 +450,13 @@ func (in *PriorityPolicy) DeepCopyInto(out *PriorityPolicy) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new PriorityPolicy. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityPolicy.
func (x *PriorityPolicy) DeepCopy() *PriorityPolicy { func (in *PriorityPolicy) DeepCopy() *PriorityPolicy {
if x == nil { if in == nil {
return nil return nil
} }
out := new(PriorityPolicy) out := new(PriorityPolicy)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -470,13 +471,13 @@ func (in *ServiceAffinity) DeepCopyInto(out *ServiceAffinity) { ...@@ -470,13 +471,13 @@ func (in *ServiceAffinity) DeepCopyInto(out *ServiceAffinity) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAffinity. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAffinity.
func (x *ServiceAffinity) DeepCopy() *ServiceAffinity { func (in *ServiceAffinity) DeepCopy() *ServiceAffinity {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceAffinity) out := new(ServiceAffinity)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -486,12 +487,12 @@ func (in *ServiceAntiAffinity) DeepCopyInto(out *ServiceAntiAffinity) { ...@@ -486,12 +487,12 @@ func (in *ServiceAntiAffinity) DeepCopyInto(out *ServiceAntiAffinity) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAntiAffinity. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAntiAffinity.
func (x *ServiceAntiAffinity) DeepCopy() *ServiceAntiAffinity { func (in *ServiceAntiAffinity) DeepCopy() *ServiceAntiAffinity {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceAntiAffinity) out := new(ServiceAntiAffinity)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -27,13 +27,14 @@ import ( ...@@ -27,13 +27,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -60,19 +61,19 @@ func (in *AdmissionReview) DeepCopyInto(out *AdmissionReview) { ...@@ -60,19 +61,19 @@ func (in *AdmissionReview) DeepCopyInto(out *AdmissionReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReview.
func (x *AdmissionReview) DeepCopy() *AdmissionReview { func (in *AdmissionReview) DeepCopy() *AdmissionReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionReview) out := new(AdmissionReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *AdmissionReview) DeepCopyObject() runtime.Object { func (in *AdmissionReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -90,13 +91,13 @@ func (in *AdmissionReviewSpec) DeepCopyInto(out *AdmissionReviewSpec) { ...@@ -90,13 +91,13 @@ func (in *AdmissionReviewSpec) DeepCopyInto(out *AdmissionReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewSpec.
func (x *AdmissionReviewSpec) DeepCopy() *AdmissionReviewSpec { func (in *AdmissionReviewSpec) DeepCopy() *AdmissionReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionReviewSpec) out := new(AdmissionReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -115,12 +116,12 @@ func (in *AdmissionReviewStatus) DeepCopyInto(out *AdmissionReviewStatus) { ...@@ -115,12 +116,12 @@ func (in *AdmissionReviewStatus) DeepCopyInto(out *AdmissionReviewStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionReviewStatus.
func (x *AdmissionReviewStatus) DeepCopy() *AdmissionReviewStatus { func (in *AdmissionReviewStatus) DeepCopy() *AdmissionReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionReviewStatus) out := new(AdmissionReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -90,13 +91,13 @@ func (in *AdmissionHookClientConfig) DeepCopyInto(out *AdmissionHookClientConfig ...@@ -90,13 +91,13 @@ func (in *AdmissionHookClientConfig) DeepCopyInto(out *AdmissionHookClientConfig
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionHookClientConfig. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionHookClientConfig.
func (x *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig { func (in *AdmissionHookClientConfig) DeepCopy() *AdmissionHookClientConfig {
if x == nil { if in == nil {
return nil return nil
} }
out := new(AdmissionHookClientConfig) out := new(AdmissionHookClientConfig)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -123,13 +124,13 @@ func (in *ExternalAdmissionHook) DeepCopyInto(out *ExternalAdmissionHook) { ...@@ -123,13 +124,13 @@ func (in *ExternalAdmissionHook) DeepCopyInto(out *ExternalAdmissionHook) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHook. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHook.
func (x *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook { func (in *ExternalAdmissionHook) DeepCopy() *ExternalAdmissionHook {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalAdmissionHook) out := new(ExternalAdmissionHook)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -148,19 +149,19 @@ func (in *ExternalAdmissionHookConfiguration) DeepCopyInto(out *ExternalAdmissio ...@@ -148,19 +149,19 @@ func (in *ExternalAdmissionHookConfiguration) DeepCopyInto(out *ExternalAdmissio
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfiguration.
func (x *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration { func (in *ExternalAdmissionHookConfiguration) DeepCopy() *ExternalAdmissionHookConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalAdmissionHookConfiguration) out := new(ExternalAdmissionHookConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object { func (in *ExternalAdmissionHookConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -182,19 +183,19 @@ func (in *ExternalAdmissionHookConfigurationList) DeepCopyInto(out *ExternalAdmi ...@@ -182,19 +183,19 @@ func (in *ExternalAdmissionHookConfigurationList) DeepCopyInto(out *ExternalAdmi
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfigurationList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalAdmissionHookConfigurationList.
func (x *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList { func (in *ExternalAdmissionHookConfigurationList) DeepCopy() *ExternalAdmissionHookConfigurationList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ExternalAdmissionHookConfigurationList) out := new(ExternalAdmissionHookConfigurationList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object { func (in *ExternalAdmissionHookConfigurationList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -223,13 +224,13 @@ func (in *Initializer) DeepCopyInto(out *Initializer) { ...@@ -223,13 +224,13 @@ func (in *Initializer) DeepCopyInto(out *Initializer) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Initializer. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializer.
func (x *Initializer) DeepCopy() *Initializer { func (in *Initializer) DeepCopy() *Initializer {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Initializer) out := new(Initializer)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -248,19 +249,19 @@ func (in *InitializerConfiguration) DeepCopyInto(out *InitializerConfiguration) ...@@ -248,19 +249,19 @@ func (in *InitializerConfiguration) DeepCopyInto(out *InitializerConfiguration)
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfiguration.
func (x *InitializerConfiguration) DeepCopy() *InitializerConfiguration { func (in *InitializerConfiguration) DeepCopy() *InitializerConfiguration {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InitializerConfiguration) out := new(InitializerConfiguration)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InitializerConfiguration) DeepCopyObject() runtime.Object { func (in *InitializerConfiguration) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -282,19 +283,19 @@ func (in *InitializerConfigurationList) DeepCopyInto(out *InitializerConfigurati ...@@ -282,19 +283,19 @@ func (in *InitializerConfigurationList) DeepCopyInto(out *InitializerConfigurati
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerConfigurationList.
func (x *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList { func (in *InitializerConfigurationList) DeepCopy() *InitializerConfigurationList {
if x == nil { if in == nil {
return nil return nil
} }
out := new(InitializerConfigurationList) out := new(InitializerConfigurationList)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *InitializerConfigurationList) DeepCopyObject() runtime.Object { func (in *InitializerConfigurationList) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -322,13 +323,13 @@ func (in *Rule) DeepCopyInto(out *Rule) { ...@@ -322,13 +323,13 @@ func (in *Rule) DeepCopyInto(out *Rule) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new Rule. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (x *Rule) DeepCopy() *Rule { func (in *Rule) DeepCopy() *Rule {
if x == nil { if in == nil {
return nil return nil
} }
out := new(Rule) out := new(Rule)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -344,13 +345,13 @@ func (in *RuleWithOperations) DeepCopyInto(out *RuleWithOperations) { ...@@ -344,13 +345,13 @@ func (in *RuleWithOperations) DeepCopyInto(out *RuleWithOperations) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleWithOperations.
func (x *RuleWithOperations) DeepCopy() *RuleWithOperations { func (in *RuleWithOperations) DeepCopy() *RuleWithOperations {
if x == nil { if in == nil {
return nil return nil
} }
out := new(RuleWithOperations) out := new(RuleWithOperations)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -360,12 +361,12 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) { ...@@ -360,12 +361,12 @@ func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
func (x *ServiceReference) DeepCopy() *ServiceReference { func (in *ServiceReference) DeepCopy() *ServiceReference {
if x == nil { if in == nil {
return nil return nil
} }
out := new(ServiceReference) out := new(ServiceReference)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -26,13 +26,14 @@ import ( ...@@ -26,13 +26,14 @@ import (
reflect "reflect" reflect "reflect"
) )
// Deprecated: register deep-copy functions.
func init() { func init() {
SchemeBuilder.Register(RegisterDeepCopies) 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. // to allow building arbitrary schemes.
//
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func RegisterDeepCopies(scheme *runtime.Scheme) error { func RegisterDeepCopies(scheme *runtime.Scheme) error {
return scheme.AddGeneratedDeepCopyFuncs( return scheme.AddGeneratedDeepCopyFuncs(
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error { conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
...@@ -64,19 +65,19 @@ func (in *TokenReview) DeepCopyInto(out *TokenReview) { ...@@ -64,19 +65,19 @@ func (in *TokenReview) DeepCopyInto(out *TokenReview) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReview.
func (x *TokenReview) DeepCopy() *TokenReview { func (in *TokenReview) DeepCopy() *TokenReview {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReview) out := new(TokenReview)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (x *TokenReview) DeepCopyObject() runtime.Object { func (in *TokenReview) DeepCopyObject() runtime.Object {
if c := x.DeepCopy(); c != nil { if c := in.DeepCopy(); c != nil {
return c return c
} else { } else {
return nil return nil
...@@ -89,13 +90,13 @@ func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) { ...@@ -89,13 +90,13 @@ func (in *TokenReviewSpec) DeepCopyInto(out *TokenReviewSpec) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewSpec.
func (x *TokenReviewSpec) DeepCopy() *TokenReviewSpec { func (in *TokenReviewSpec) DeepCopy() *TokenReviewSpec {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReviewSpec) out := new(TokenReviewSpec)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -106,13 +107,13 @@ func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) { ...@@ -106,13 +107,13 @@ func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
func (x *TokenReviewStatus) DeepCopy() *TokenReviewStatus { func (in *TokenReviewStatus) DeepCopy() *TokenReviewStatus {
if x == nil { if in == nil {
return nil return nil
} }
out := new(TokenReviewStatus) out := new(TokenReviewStatus)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
...@@ -135,12 +136,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) { ...@@ -135,12 +136,12 @@ func (in *UserInfo) DeepCopyInto(out *UserInfo) {
return return
} }
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo. // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
func (x *UserInfo) DeepCopy() *UserInfo { func (in *UserInfo) DeepCopy() *UserInfo {
if x == nil { if in == nil {
return nil return nil
} }
out := new(UserInfo) out := new(UserInfo)
x.DeepCopyInto(out) in.DeepCopyInto(out)
return out return out
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment