refactor: generated
This commit is contained in:
@@ -124,7 +124,6 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectFieldSelector, InType: reflect.TypeOf(&ObjectFieldSelector{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectMeta, InType: reflect.TypeOf(&ObjectMeta{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectReference, InType: reflect.TypeOf(&ObjectReference{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_OwnerReference, InType: reflect.TypeOf(&OwnerReference{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolume, InType: reflect.TypeOf(&PersistentVolume{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaim, InType: reflect.TypeOf(&PersistentVolumeClaim{})},
|
||||
conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimList, InType: reflect.TypeOf(&PersistentVolumeClaimList{})},
|
||||
@@ -1955,9 +1954,9 @@ func DeepCopy_api_ObjectMeta(in interface{}, out interface{}, c *conversion.Clon
|
||||
}
|
||||
if in.OwnerReferences != nil {
|
||||
in, out := &in.OwnerReferences, &out.OwnerReferences
|
||||
*out = make([]OwnerReference, len(*in))
|
||||
*out = make([]v1.OwnerReference, len(*in))
|
||||
for i := range *in {
|
||||
if err := DeepCopy_api_OwnerReference(&(*in)[i], &(*out)[i], c); err != nil {
|
||||
if err := v1.DeepCopy_v1_OwnerReference(&(*in)[i], &(*out)[i], c); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
@@ -1991,25 +1990,6 @@ func DeepCopy_api_ObjectReference(in interface{}, out interface{}, c *conversion
|
||||
}
|
||||
}
|
||||
|
||||
func DeepCopy_api_OwnerReference(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
{
|
||||
in := in.(*OwnerReference)
|
||||
out := out.(*OwnerReference)
|
||||
out.APIVersion = in.APIVersion
|
||||
out.Kind = in.Kind
|
||||
out.Name = in.Name
|
||||
out.UID = in.UID
|
||||
if in.Controller != nil {
|
||||
in, out := &in.Controller, &out.Controller
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
} else {
|
||||
out.Controller = nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
func DeepCopy_api_PersistentVolume(in interface{}, out interface{}, c *conversion.Cloner) error {
|
||||
{
|
||||
in := in.(*PersistentVolume)
|
||||
@@ -2624,8 +2604,8 @@ func DeepCopy_api_PodSignature(in interface{}, out interface{}, c *conversion.Cl
|
||||
out := out.(*PodSignature)
|
||||
if in.PodController != nil {
|
||||
in, out := &in.PodController, &out.PodController
|
||||
*out = new(OwnerReference)
|
||||
if err := DeepCopy_api_OwnerReference(*in, *out, c); err != nil {
|
||||
*out = new(v1.OwnerReference)
|
||||
if err := v1.DeepCopy_v1_OwnerReference(*in, *out, c); err != nil {
|
||||
return err
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user