mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
update generated deepcopy code
This commit is contained in:
@@ -26,7 +26,9 @@ import (
|
||||
reflect "reflect"
|
||||
)
|
||||
|
||||
// Deprecated: GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
|
||||
// GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
|
||||
//
|
||||
// Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
|
||||
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
|
||||
return []conversion.GeneratedDeepCopyFunc{
|
||||
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
@@ -62,19 +64,19 @@ func (in *ExternalNamespacedType) DeepCopyInto(out *ExternalNamespacedType) {
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType.
|
||||
func (x *ExternalNamespacedType) DeepCopy() *ExternalNamespacedType {
|
||||
if x == nil {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType.
|
||||
func (in *ExternalNamespacedType) DeepCopy() *ExternalNamespacedType {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ExternalNamespacedType)
|
||||
x.DeepCopyInto(out)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (x *ExternalNamespacedType) DeepCopyObject() runtime.Object {
|
||||
if c := x.DeepCopy(); c != nil {
|
||||
func (in *ExternalNamespacedType) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
@@ -87,19 +89,19 @@ func (in *ExternalNamespacedType2) DeepCopyInto(out *ExternalNamespacedType2) {
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType2.
|
||||
func (x *ExternalNamespacedType2) DeepCopy() *ExternalNamespacedType2 {
|
||||
if x == nil {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalNamespacedType2.
|
||||
func (in *ExternalNamespacedType2) DeepCopy() *ExternalNamespacedType2 {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ExternalNamespacedType2)
|
||||
x.DeepCopyInto(out)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (x *ExternalNamespacedType2) DeepCopyObject() runtime.Object {
|
||||
if c := x.DeepCopy(); c != nil {
|
||||
func (in *ExternalNamespacedType2) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
@@ -112,19 +114,19 @@ func (in *ExternalType) DeepCopyInto(out *ExternalType) {
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType.
|
||||
func (x *ExternalType) DeepCopy() *ExternalType {
|
||||
if x == nil {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType.
|
||||
func (in *ExternalType) DeepCopy() *ExternalType {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ExternalType)
|
||||
x.DeepCopyInto(out)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (x *ExternalType) DeepCopyObject() runtime.Object {
|
||||
if c := x.DeepCopy(); c != nil {
|
||||
func (in *ExternalType) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
@@ -137,19 +139,19 @@ func (in *ExternalType2) DeepCopyInto(out *ExternalType2) {
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType2.
|
||||
func (x *ExternalType2) DeepCopy() *ExternalType2 {
|
||||
if x == nil {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalType2.
|
||||
func (in *ExternalType2) DeepCopy() *ExternalType2 {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ExternalType2)
|
||||
x.DeepCopyInto(out)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (x *ExternalType2) DeepCopyObject() runtime.Object {
|
||||
if c := x.DeepCopy(); c != nil {
|
||||
func (in *ExternalType2) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
@@ -162,19 +164,19 @@ func (in *InternalNamespacedType) DeepCopyInto(out *InternalNamespacedType) {
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalNamespacedType.
|
||||
func (x *InternalNamespacedType) DeepCopy() *InternalNamespacedType {
|
||||
if x == nil {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalNamespacedType.
|
||||
func (in *InternalNamespacedType) DeepCopy() *InternalNamespacedType {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(InternalNamespacedType)
|
||||
x.DeepCopyInto(out)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (x *InternalNamespacedType) DeepCopyObject() runtime.Object {
|
||||
if c := x.DeepCopy(); c != nil {
|
||||
func (in *InternalNamespacedType) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
@@ -187,19 +189,19 @@ func (in *InternalType) DeepCopyInto(out *InternalType) {
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, creating a new InternalType.
|
||||
func (x *InternalType) DeepCopy() *InternalType {
|
||||
if x == nil {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalType.
|
||||
func (in *InternalType) DeepCopy() *InternalType {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(InternalType)
|
||||
x.DeepCopyInto(out)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (x *InternalType) DeepCopyObject() runtime.Object {
|
||||
if c := x.DeepCopy(); c != nil {
|
||||
func (in *InternalType) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
} else {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user