diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index 1c3b0399..9406d9b2 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -33,7 +33,7 @@ import ( "github.com/mariadb-operator/mariadb-operator/pkg/galera/recovery" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/intstr" ) @@ -283,51 +283,51 @@ func (in *BasicAuth) DeepCopy() *BasicAuth { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (b *BootstrapFrom) DeepCopyInto(out *BootstrapFrom) { - *out = *b - if b.BackupRef != nil { - in, out := &b.BackupRef, &out.BackupRef +func (in *BootstrapFrom) DeepCopyInto(out *BootstrapFrom) { + *out = *in + if in.BackupRef != nil { + in, out := &in.BackupRef, &out.BackupRef *out = new(TypedLocalObjectReference) **out = **in } - if b.VolumeSnapshotRef != nil { - in, out := &b.VolumeSnapshotRef, &out.VolumeSnapshotRef + if in.VolumeSnapshotRef != nil { + in, out := &in.VolumeSnapshotRef, &out.VolumeSnapshotRef *out = new(LocalObjectReference) **out = **in } - if b.S3 != nil { - in, out := &b.S3, &out.S3 + if in.S3 != nil { + in, out := &in.S3, &out.S3 *out = new(S3) (*in).DeepCopyInto(*out) } - if b.Volume != nil { - in, out := &b.Volume, &out.Volume + if in.Volume != nil { + in, out := &in.Volume, &out.Volume *out = new(StorageVolumeSource) (*in).DeepCopyInto(*out) } - if b.TargetRecoveryTime != nil { - in, out := &b.TargetRecoveryTime, &out.TargetRecoveryTime + if in.TargetRecoveryTime != nil { + in, out := &in.TargetRecoveryTime, &out.TargetRecoveryTime *out = (*in).DeepCopy() } - if b.StagingStorage != nil { - in, out := &b.StagingStorage, &out.StagingStorage + if in.StagingStorage != nil { + in, out := &in.StagingStorage, &out.StagingStorage *out = new(BackupStagingStorage) (*in).DeepCopyInto(*out) } - if b.RestoreJob != nil { - in, out := &b.RestoreJob, &out.RestoreJob + if in.RestoreJob != nil { + in, out := &in.RestoreJob, &out.RestoreJob *out = new(Job) (*in).DeepCopyInto(*out) } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapFrom. -func (b *BootstrapFrom) DeepCopy() *BootstrapFrom { - if b == nil { +func (in *BootstrapFrom) DeepCopy() *BootstrapFrom { + if in == nil { return nil } out := new(BootstrapFrom) - b.DeepCopyInto(out) + in.DeepCopyInto(out) return out }