apis: update code gen
@@ -32,10 +32,6 @@ import (
// 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 {
- in.(*BackupCRStatus).DeepCopyInto(out.(*BackupCRStatus))
- return nil
- }, InType: reflect.TypeOf(&BackupCRStatus{})},
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*BackupSource).DeepCopyInto(out.(*BackupSource))
return nil
@@ -44,6 +40,10 @@ func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
in.(*BackupSpec).DeepCopyInto(out.(*BackupSpec))
return nil
}, InType: reflect.TypeOf(&BackupSpec{})},
+ {Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
+ in.(*BackupStatus).DeepCopyInto(out.(*BackupStatus))
+ return nil
+ }, InType: reflect.TypeOf(&BackupStatus{})},
{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*ClusterCondition).DeepCopyInto(out.(*ClusterCondition))
return nil
@@ -131,22 +131,6 @@ func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc {
}
}
-// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
-func (in *BackupCRStatus) DeepCopyInto(out *BackupCRStatus) {
- *out = *in
- return
-}
-
-// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupCRStatus.
-func (in *BackupCRStatus) DeepCopy() *BackupCRStatus {
- if in == nil {
- return nil
- }
- out := new(BackupCRStatus)
- in.DeepCopyInto(out)
- return out
-}
-
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupSource) DeepCopyInto(out *BackupSource) {
*out = *in
@@ -194,6 +178,22 @@ func (in *BackupSpec) DeepCopy() *BackupSpec {
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *BackupStatus) DeepCopyInto(out *BackupStatus) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStatus.
+func (in *BackupStatus) DeepCopy() *BackupStatus {
+ if in == nil {
+ return nil
+ }
+ out := new(BackupStatus)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition) {
*out = *in
