apis/gkebackup/v1alpha1/zz_generated.deepcopy.go (1,755 lines of code) (raw):
//go:build !ignore_autogenerated
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by controller-gen. DO NOT EDIT.
package v1alpha1
import (
containerv1beta1 "github.com/GoogleCloudPlatform/k8s-config-connector/apis/container/v1beta1"
"github.com/GoogleCloudPlatform/k8s-config-connector/apis/refs/v1beta1"
k8sv1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/k8s/v1alpha1"
runtime "k8s.io/apimachinery/pkg/runtime"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupIdentity) DeepCopyInto(out *BackupIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(BackupParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupIdentity.
func (in *BackupIdentity) DeepCopy() *BackupIdentity {
if in == nil {
return nil
}
out := new(BackupIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupParent) DeepCopyInto(out *BackupParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupParent.
func (in *BackupParent) DeepCopy() *BackupParent {
if in == nil {
return nil
}
out := new(BackupParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupPlanIdentity) DeepCopyInto(out *BackupPlanIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(BackupPlanParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlanIdentity.
func (in *BackupPlanIdentity) DeepCopy() *BackupPlanIdentity {
if in == nil {
return nil
}
out := new(BackupPlanIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupPlanParent) DeepCopyInto(out *BackupPlanParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlanParent.
func (in *BackupPlanParent) DeepCopy() *BackupPlanParent {
if in == nil {
return nil
}
out := new(BackupPlanParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupPlanRef) DeepCopyInto(out *BackupPlanRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlanRef.
func (in *BackupPlanRef) DeepCopy() *BackupPlanRef {
if in == nil {
return nil
}
out := new(BackupPlanRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupPlan_BackupConfig) DeepCopyInto(out *BackupPlan_BackupConfig) {
*out = *in
if in.AllNamespaces != nil {
in, out := &in.AllNamespaces, &out.AllNamespaces
*out = new(bool)
**out = **in
}
if in.SelectedNamespaces != nil {
in, out := &in.SelectedNamespaces, &out.SelectedNamespaces
*out = new(Namespaces)
(*in).DeepCopyInto(*out)
}
if in.SelectedApplications != nil {
in, out := &in.SelectedApplications, &out.SelectedApplications
*out = new(NamespacedNames)
(*in).DeepCopyInto(*out)
}
if in.IncludeVolumeData != nil {
in, out := &in.IncludeVolumeData, &out.IncludeVolumeData
*out = new(bool)
**out = **in
}
if in.IncludeSecrets != nil {
in, out := &in.IncludeSecrets, &out.IncludeSecrets
*out = new(bool)
**out = **in
}
if in.EncryptionKey != nil {
in, out := &in.EncryptionKey, &out.EncryptionKey
*out = new(EncryptionKey)
(*in).DeepCopyInto(*out)
}
if in.PermissiveMode != nil {
in, out := &in.PermissiveMode, &out.PermissiveMode
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlan_BackupConfig.
func (in *BackupPlan_BackupConfig) DeepCopy() *BackupPlan_BackupConfig {
if in == nil {
return nil
}
out := new(BackupPlan_BackupConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupPlan_RetentionPolicy) DeepCopyInto(out *BackupPlan_RetentionPolicy) {
*out = *in
if in.BackupDeleteLockDays != nil {
in, out := &in.BackupDeleteLockDays, &out.BackupDeleteLockDays
*out = new(int32)
**out = **in
}
if in.BackupRetainDays != nil {
in, out := &in.BackupRetainDays, &out.BackupRetainDays
*out = new(int32)
**out = **in
}
if in.Locked != nil {
in, out := &in.Locked, &out.Locked
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlan_RetentionPolicy.
func (in *BackupPlan_RetentionPolicy) DeepCopy() *BackupPlan_RetentionPolicy {
if in == nil {
return nil
}
out := new(BackupPlan_RetentionPolicy)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupPlan_Schedule) DeepCopyInto(out *BackupPlan_Schedule) {
*out = *in
if in.CronSchedule != nil {
in, out := &in.CronSchedule, &out.CronSchedule
*out = new(string)
**out = **in
}
if in.Paused != nil {
in, out := &in.Paused, &out.Paused
*out = new(bool)
**out = **in
}
if in.RPOConfig != nil {
in, out := &in.RPOConfig, &out.RPOConfig
*out = new(RPOConfig)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlan_Schedule.
func (in *BackupPlan_Schedule) DeepCopy() *BackupPlan_Schedule {
if in == nil {
return nil
}
out := new(BackupPlan_Schedule)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupPlan_ScheduleObservedState) DeepCopyInto(out *BackupPlan_ScheduleObservedState) {
*out = *in
if in.NextScheduledBackupTime != nil {
in, out := &in.NextScheduledBackupTime, &out.NextScheduledBackupTime
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupPlan_ScheduleObservedState.
func (in *BackupPlan_ScheduleObservedState) DeepCopy() *BackupPlan_ScheduleObservedState {
if in == nil {
return nil
}
out := new(BackupPlan_ScheduleObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupRef) DeepCopyInto(out *BackupRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupRef.
func (in *BackupRef) DeepCopy() *BackupRef {
if in == nil {
return nil
}
out := new(BackupRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Backup_ClusterMetadataObservedState) DeepCopyInto(out *Backup_ClusterMetadataObservedState) {
*out = *in
if in.Cluster != nil {
in, out := &in.Cluster, &out.Cluster
*out = new(string)
**out = **in
}
if in.K8sVersion != nil {
in, out := &in.K8sVersion, &out.K8sVersion
*out = new(string)
**out = **in
}
if in.BackupCRDVersions != nil {
in, out := &in.BackupCRDVersions, &out.BackupCRDVersions
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.GKEVersion != nil {
in, out := &in.GKEVersion, &out.GKEVersion
*out = new(string)
**out = **in
}
if in.AnthosVersion != nil {
in, out := &in.AnthosVersion, &out.AnthosVersion
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backup_ClusterMetadataObservedState.
func (in *Backup_ClusterMetadataObservedState) DeepCopy() *Backup_ClusterMetadataObservedState {
if in == nil {
return nil
}
out := new(Backup_ClusterMetadataObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Backup_EncryptionKeyObservedState) DeepCopyInto(out *Backup_EncryptionKeyObservedState) {
*out = *in
if in.GCPKMSEncryptionKey != nil {
in, out := &in.GCPKMSEncryptionKey, &out.GCPKMSEncryptionKey
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backup_EncryptionKeyObservedState.
func (in *Backup_EncryptionKeyObservedState) DeepCopy() *Backup_EncryptionKeyObservedState {
if in == nil {
return nil
}
out := new(Backup_EncryptionKeyObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Date) DeepCopyInto(out *Date) {
*out = *in
if in.Year != nil {
in, out := &in.Year, &out.Year
*out = new(int32)
**out = **in
}
if in.Month != nil {
in, out := &in.Month, &out.Month
*out = new(int32)
**out = **in
}
if in.Day != nil {
in, out := &in.Day, &out.Day
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Date.
func (in *Date) DeepCopy() *Date {
if in == nil {
return nil
}
out := new(Date)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *EncryptionKey) DeepCopyInto(out *EncryptionKey) {
*out = *in
if in.KMSKeyRef != nil {
in, out := &in.KMSKeyRef, &out.KMSKeyRef
*out = new(v1beta1.KMSCryptoKeyRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionKey.
func (in *EncryptionKey) DeepCopy() *EncryptionKey {
if in == nil {
return nil
}
out := new(EncryptionKey)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExclusionWindow) DeepCopyInto(out *ExclusionWindow) {
*out = *in
if in.StartTime != nil {
in, out := &in.StartTime, &out.StartTime
*out = new(TimeOfDay)
(*in).DeepCopyInto(*out)
}
if in.Duration != nil {
in, out := &in.Duration, &out.Duration
*out = new(string)
**out = **in
}
if in.SingleOccurrenceDate != nil {
in, out := &in.SingleOccurrenceDate, &out.SingleOccurrenceDate
*out = new(Date)
(*in).DeepCopyInto(*out)
}
if in.Daily != nil {
in, out := &in.Daily, &out.Daily
*out = new(bool)
**out = **in
}
if in.DaysOfWeek != nil {
in, out := &in.DaysOfWeek, &out.DaysOfWeek
*out = new(ExclusionWindow_DayOfWeekList)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExclusionWindow.
func (in *ExclusionWindow) DeepCopy() *ExclusionWindow {
if in == nil {
return nil
}
out := new(ExclusionWindow)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExclusionWindow_DayOfWeekList) DeepCopyInto(out *ExclusionWindow_DayOfWeekList) {
*out = *in
if in.DaysOfWeek != nil {
in, out := &in.DaysOfWeek, &out.DaysOfWeek
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExclusionWindow_DayOfWeekList.
func (in *ExclusionWindow_DayOfWeekList) DeepCopy() *ExclusionWindow_DayOfWeekList {
if in == nil {
return nil
}
out := new(ExclusionWindow_DayOfWeekList)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupBackup) DeepCopyInto(out *GKEBackupBackup) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackup.
func (in *GKEBackupBackup) DeepCopy() *GKEBackupBackup {
if in == nil {
return nil
}
out := new(GKEBackupBackup)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *GKEBackupBackup) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupBackupList) DeepCopyInto(out *GKEBackupBackupList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]GKEBackupBackup, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackupList.
func (in *GKEBackupBackupList) DeepCopy() *GKEBackupBackupList {
if in == nil {
return nil
}
out := new(GKEBackupBackupList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *GKEBackupBackupList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupBackupObservedState) DeepCopyInto(out *GKEBackupBackupObservedState) {
*out = *in
if in.UID != nil {
in, out := &in.UID, &out.UID
*out = new(string)
**out = **in
}
if in.CreateTime != nil {
in, out := &in.CreateTime, &out.CreateTime
*out = new(string)
**out = **in
}
if in.UpdateTime != nil {
in, out := &in.UpdateTime, &out.UpdateTime
*out = new(string)
**out = **in
}
if in.Manual != nil {
in, out := &in.Manual, &out.Manual
*out = new(bool)
**out = **in
}
if in.DeleteLockExpireTime != nil {
in, out := &in.DeleteLockExpireTime, &out.DeleteLockExpireTime
*out = new(string)
**out = **in
}
if in.RetainExpireTime != nil {
in, out := &in.RetainExpireTime, &out.RetainExpireTime
*out = new(string)
**out = **in
}
if in.EncryptionKey != nil {
in, out := &in.EncryptionKey, &out.EncryptionKey
*out = new(Backup_EncryptionKeyObservedState)
(*in).DeepCopyInto(*out)
}
if in.AllNamespaces != nil {
in, out := &in.AllNamespaces, &out.AllNamespaces
*out = new(bool)
**out = **in
}
if in.SelectedNamespaces != nil {
in, out := &in.SelectedNamespaces, &out.SelectedNamespaces
*out = new(Namespaces)
(*in).DeepCopyInto(*out)
}
if in.SelectedApplications != nil {
in, out := &in.SelectedApplications, &out.SelectedApplications
*out = new(NamespacedNames)
(*in).DeepCopyInto(*out)
}
if in.ContainsVolumeData != nil {
in, out := &in.ContainsVolumeData, &out.ContainsVolumeData
*out = new(bool)
**out = **in
}
if in.ContainsSecrets != nil {
in, out := &in.ContainsSecrets, &out.ContainsSecrets
*out = new(bool)
**out = **in
}
if in.ClusterMetadata != nil {
in, out := &in.ClusterMetadata, &out.ClusterMetadata
*out = new(Backup_ClusterMetadataObservedState)
(*in).DeepCopyInto(*out)
}
if in.State != nil {
in, out := &in.State, &out.State
*out = new(string)
**out = **in
}
if in.StateReason != nil {
in, out := &in.StateReason, &out.StateReason
*out = new(string)
**out = **in
}
if in.CompleteTime != nil {
in, out := &in.CompleteTime, &out.CompleteTime
*out = new(string)
**out = **in
}
if in.ResourceCount != nil {
in, out := &in.ResourceCount, &out.ResourceCount
*out = new(int32)
**out = **in
}
if in.VolumeCount != nil {
in, out := &in.VolumeCount, &out.VolumeCount
*out = new(int32)
**out = **in
}
if in.SizeBytes != nil {
in, out := &in.SizeBytes, &out.SizeBytes
*out = new(int64)
**out = **in
}
if in.Etag != nil {
in, out := &in.Etag, &out.Etag
*out = new(string)
**out = **in
}
if in.PodCount != nil {
in, out := &in.PodCount, &out.PodCount
*out = new(int32)
**out = **in
}
if in.ConfigBackupSizeBytes != nil {
in, out := &in.ConfigBackupSizeBytes, &out.ConfigBackupSizeBytes
*out = new(int64)
**out = **in
}
if in.PermissiveMode != nil {
in, out := &in.PermissiveMode, &out.PermissiveMode
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackupObservedState.
func (in *GKEBackupBackupObservedState) DeepCopy() *GKEBackupBackupObservedState {
if in == nil {
return nil
}
out := new(GKEBackupBackupObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupBackupPlan) DeepCopyInto(out *GKEBackupBackupPlan) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackupPlan.
func (in *GKEBackupBackupPlan) DeepCopy() *GKEBackupBackupPlan {
if in == nil {
return nil
}
out := new(GKEBackupBackupPlan)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *GKEBackupBackupPlan) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupBackupPlanList) DeepCopyInto(out *GKEBackupBackupPlanList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]GKEBackupBackupPlan, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackupPlanList.
func (in *GKEBackupBackupPlanList) DeepCopy() *GKEBackupBackupPlanList {
if in == nil {
return nil
}
out := new(GKEBackupBackupPlanList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *GKEBackupBackupPlanList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupBackupPlanObservedState) DeepCopyInto(out *GKEBackupBackupPlanObservedState) {
*out = *in
if in.UID != nil {
in, out := &in.UID, &out.UID
*out = new(string)
**out = **in
}
if in.CreateTime != nil {
in, out := &in.CreateTime, &out.CreateTime
*out = new(string)
**out = **in
}
if in.UpdateTime != nil {
in, out := &in.UpdateTime, &out.UpdateTime
*out = new(string)
**out = **in
}
if in.BackupSchedule != nil {
in, out := &in.BackupSchedule, &out.BackupSchedule
*out = new(BackupPlan_ScheduleObservedState)
(*in).DeepCopyInto(*out)
}
if in.Etag != nil {
in, out := &in.Etag, &out.Etag
*out = new(string)
**out = **in
}
if in.ProtectedPodCount != nil {
in, out := &in.ProtectedPodCount, &out.ProtectedPodCount
*out = new(int32)
**out = **in
}
if in.State != nil {
in, out := &in.State, &out.State
*out = new(string)
**out = **in
}
if in.StateReason != nil {
in, out := &in.StateReason, &out.StateReason
*out = new(string)
**out = **in
}
if in.RPORiskLevel != nil {
in, out := &in.RPORiskLevel, &out.RPORiskLevel
*out = new(int32)
**out = **in
}
if in.RPORiskReason != nil {
in, out := &in.RPORiskReason, &out.RPORiskReason
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackupPlanObservedState.
func (in *GKEBackupBackupPlanObservedState) DeepCopy() *GKEBackupBackupPlanObservedState {
if in == nil {
return nil
}
out := new(GKEBackupBackupPlanObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupBackupPlanSpec) DeepCopyInto(out *GKEBackupBackupPlanSpec) {
*out = *in
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
in.Parent.DeepCopyInto(&out.Parent)
if in.Description != nil {
in, out := &in.Description, &out.Description
*out = new(string)
**out = **in
}
if in.ClusterRef != nil {
in, out := &in.ClusterRef, &out.ClusterRef
*out = new(containerv1beta1.ContainerClusterRef)
**out = **in
}
if in.RetentionPolicy != nil {
in, out := &in.RetentionPolicy, &out.RetentionPolicy
*out = new(BackupPlan_RetentionPolicy)
(*in).DeepCopyInto(*out)
}
if in.Labels != nil {
in, out := &in.Labels, &out.Labels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.BackupSchedule != nil {
in, out := &in.BackupSchedule, &out.BackupSchedule
*out = new(BackupPlan_Schedule)
(*in).DeepCopyInto(*out)
}
if in.Deactivated != nil {
in, out := &in.Deactivated, &out.Deactivated
*out = new(bool)
**out = **in
}
if in.BackupConfig != nil {
in, out := &in.BackupConfig, &out.BackupConfig
*out = new(BackupPlan_BackupConfig)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackupPlanSpec.
func (in *GKEBackupBackupPlanSpec) DeepCopy() *GKEBackupBackupPlanSpec {
if in == nil {
return nil
}
out := new(GKEBackupBackupPlanSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupBackupPlanStatus) DeepCopyInto(out *GKEBackupBackupPlanStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]k8sv1alpha1.Condition, len(*in))
copy(*out, *in)
}
if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration
*out = new(int64)
**out = **in
}
if in.ExternalRef != nil {
in, out := &in.ExternalRef, &out.ExternalRef
*out = new(string)
**out = **in
}
if in.ObservedState != nil {
in, out := &in.ObservedState, &out.ObservedState
*out = new(GKEBackupBackupPlanObservedState)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackupPlanStatus.
func (in *GKEBackupBackupPlanStatus) DeepCopy() *GKEBackupBackupPlanStatus {
if in == nil {
return nil
}
out := new(GKEBackupBackupPlanStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupBackupSpec) DeepCopyInto(out *GKEBackupBackupSpec) {
*out = *in
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
if in.BackupPlanRef != nil {
in, out := &in.BackupPlanRef, &out.BackupPlanRef
*out = new(BackupPlanRef)
**out = **in
}
if in.Labels != nil {
in, out := &in.Labels, &out.Labels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.DeleteLockDays != nil {
in, out := &in.DeleteLockDays, &out.DeleteLockDays
*out = new(int32)
**out = **in
}
if in.RetainDays != nil {
in, out := &in.RetainDays, &out.RetainDays
*out = new(int32)
**out = **in
}
if in.Description != nil {
in, out := &in.Description, &out.Description
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackupSpec.
func (in *GKEBackupBackupSpec) DeepCopy() *GKEBackupBackupSpec {
if in == nil {
return nil
}
out := new(GKEBackupBackupSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupBackupStatus) DeepCopyInto(out *GKEBackupBackupStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]k8sv1alpha1.Condition, len(*in))
copy(*out, *in)
}
if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration
*out = new(int64)
**out = **in
}
if in.ExternalRef != nil {
in, out := &in.ExternalRef, &out.ExternalRef
*out = new(string)
**out = **in
}
if in.ObservedState != nil {
in, out := &in.ObservedState, &out.ObservedState
*out = new(GKEBackupBackupObservedState)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackupStatus.
func (in *GKEBackupBackupStatus) DeepCopy() *GKEBackupBackupStatus {
if in == nil {
return nil
}
out := new(GKEBackupBackupStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupRestore) DeepCopyInto(out *GKEBackupRestore) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupRestore.
func (in *GKEBackupRestore) DeepCopy() *GKEBackupRestore {
if in == nil {
return nil
}
out := new(GKEBackupRestore)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *GKEBackupRestore) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupRestoreList) DeepCopyInto(out *GKEBackupRestoreList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]GKEBackupRestore, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupRestoreList.
func (in *GKEBackupRestoreList) DeepCopy() *GKEBackupRestoreList {
if in == nil {
return nil
}
out := new(GKEBackupRestoreList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *GKEBackupRestoreList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupRestoreObservedState) DeepCopyInto(out *GKEBackupRestoreObservedState) {
*out = *in
if in.UID != nil {
in, out := &in.UID, &out.UID
*out = new(string)
**out = **in
}
if in.CreateTime != nil {
in, out := &in.CreateTime, &out.CreateTime
*out = new(string)
**out = **in
}
if in.UpdateTime != nil {
in, out := &in.UpdateTime, &out.UpdateTime
*out = new(string)
**out = **in
}
if in.Cluster != nil {
in, out := &in.Cluster, &out.Cluster
*out = new(string)
**out = **in
}
if in.RestoreConfig != nil {
in, out := &in.RestoreConfig, &out.RestoreConfig
*out = new(RestoreConfig)
(*in).DeepCopyInto(*out)
}
if in.State != nil {
in, out := &in.State, &out.State
*out = new(string)
**out = **in
}
if in.StateReason != nil {
in, out := &in.StateReason, &out.StateReason
*out = new(string)
**out = **in
}
if in.CompleteTime != nil {
in, out := &in.CompleteTime, &out.CompleteTime
*out = new(string)
**out = **in
}
if in.ResourcesRestoredCount != nil {
in, out := &in.ResourcesRestoredCount, &out.ResourcesRestoredCount
*out = new(int32)
**out = **in
}
if in.ResourcesExcludedCount != nil {
in, out := &in.ResourcesExcludedCount, &out.ResourcesExcludedCount
*out = new(int32)
**out = **in
}
if in.ResourcesFailedCount != nil {
in, out := &in.ResourcesFailedCount, &out.ResourcesFailedCount
*out = new(int32)
**out = **in
}
if in.VolumesRestoredCount != nil {
in, out := &in.VolumesRestoredCount, &out.VolumesRestoredCount
*out = new(int32)
**out = **in
}
if in.Etag != nil {
in, out := &in.Etag, &out.Etag
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupRestoreObservedState.
func (in *GKEBackupRestoreObservedState) DeepCopy() *GKEBackupRestoreObservedState {
if in == nil {
return nil
}
out := new(GKEBackupRestoreObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupRestorePlan) DeepCopyInto(out *GKEBackupRestorePlan) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupRestorePlan.
func (in *GKEBackupRestorePlan) DeepCopy() *GKEBackupRestorePlan {
if in == nil {
return nil
}
out := new(GKEBackupRestorePlan)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *GKEBackupRestorePlan) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupRestorePlanList) DeepCopyInto(out *GKEBackupRestorePlanList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]GKEBackupRestorePlan, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupRestorePlanList.
func (in *GKEBackupRestorePlanList) DeepCopy() *GKEBackupRestorePlanList {
if in == nil {
return nil
}
out := new(GKEBackupRestorePlanList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *GKEBackupRestorePlanList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupRestorePlanObservedState) DeepCopyInto(out *GKEBackupRestorePlanObservedState) {
*out = *in
if in.UID != nil {
in, out := &in.UID, &out.UID
*out = new(string)
**out = **in
}
if in.CreateTime != nil {
in, out := &in.CreateTime, &out.CreateTime
*out = new(string)
**out = **in
}
if in.UpdateTime != nil {
in, out := &in.UpdateTime, &out.UpdateTime
*out = new(string)
**out = **in
}
if in.Etag != nil {
in, out := &in.Etag, &out.Etag
*out = new(string)
**out = **in
}
if in.State != nil {
in, out := &in.State, &out.State
*out = new(string)
**out = **in
}
if in.StateReason != nil {
in, out := &in.StateReason, &out.StateReason
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupRestorePlanObservedState.
func (in *GKEBackupRestorePlanObservedState) DeepCopy() *GKEBackupRestorePlanObservedState {
if in == nil {
return nil
}
out := new(GKEBackupRestorePlanObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupRestorePlanSpec) DeepCopyInto(out *GKEBackupRestorePlanSpec) {
*out = *in
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
in.Parent.DeepCopyInto(&out.Parent)
if in.Description != nil {
in, out := &in.Description, &out.Description
*out = new(string)
**out = **in
}
if in.BackupPlanRef != nil {
in, out := &in.BackupPlanRef, &out.BackupPlanRef
*out = new(BackupPlanRef)
**out = **in
}
if in.ClusterRef != nil {
in, out := &in.ClusterRef, &out.ClusterRef
*out = new(containerv1beta1.ContainerClusterRef)
**out = **in
}
if in.RestoreConfig != nil {
in, out := &in.RestoreConfig, &out.RestoreConfig
*out = new(RestoreConfig)
(*in).DeepCopyInto(*out)
}
if in.Labels != nil {
in, out := &in.Labels, &out.Labels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupRestorePlanSpec.
func (in *GKEBackupRestorePlanSpec) DeepCopy() *GKEBackupRestorePlanSpec {
if in == nil {
return nil
}
out := new(GKEBackupRestorePlanSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupRestorePlanStatus) DeepCopyInto(out *GKEBackupRestorePlanStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]k8sv1alpha1.Condition, len(*in))
copy(*out, *in)
}
if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration
*out = new(int64)
**out = **in
}
if in.ExternalRef != nil {
in, out := &in.ExternalRef, &out.ExternalRef
*out = new(string)
**out = **in
}
if in.ObservedState != nil {
in, out := &in.ObservedState, &out.ObservedState
*out = new(GKEBackupRestorePlanObservedState)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupRestorePlanStatus.
func (in *GKEBackupRestorePlanStatus) DeepCopy() *GKEBackupRestorePlanStatus {
if in == nil {
return nil
}
out := new(GKEBackupRestorePlanStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupRestoreSpec) DeepCopyInto(out *GKEBackupRestoreSpec) {
*out = *in
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
if in.RestorePlanRef != nil {
in, out := &in.RestorePlanRef, &out.RestorePlanRef
*out = new(RestorePlanRef)
**out = **in
}
if in.Description != nil {
in, out := &in.Description, &out.Description
*out = new(string)
**out = **in
}
if in.BackupRef != nil {
in, out := &in.BackupRef, &out.BackupRef
*out = new(BackupRef)
**out = **in
}
if in.Labels != nil {
in, out := &in.Labels, &out.Labels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.Filter != nil {
in, out := &in.Filter, &out.Filter
*out = new(Restore_Filter)
(*in).DeepCopyInto(*out)
}
if in.VolumeDataRestorePolicyOverrides != nil {
in, out := &in.VolumeDataRestorePolicyOverrides, &out.VolumeDataRestorePolicyOverrides
*out = make([]VolumeDataRestorePolicyOverride, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupRestoreSpec.
func (in *GKEBackupRestoreSpec) DeepCopy() *GKEBackupRestoreSpec {
if in == nil {
return nil
}
out := new(GKEBackupRestoreSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *GKEBackupRestoreStatus) DeepCopyInto(out *GKEBackupRestoreStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]k8sv1alpha1.Condition, len(*in))
copy(*out, *in)
}
if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration
*out = new(int64)
**out = **in
}
if in.ExternalRef != nil {
in, out := &in.ExternalRef, &out.ExternalRef
*out = new(string)
**out = **in
}
if in.ObservedState != nil {
in, out := &in.ObservedState, &out.ObservedState
*out = new(GKEBackupRestoreObservedState)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupRestoreStatus.
func (in *GKEBackupRestoreStatus) DeepCopy() *GKEBackupRestoreStatus {
if in == nil {
return nil
}
out := new(GKEBackupRestoreStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *NamespacedName) DeepCopyInto(out *NamespacedName) {
*out = *in
if in.Namespace != nil {
in, out := &in.Namespace, &out.Namespace
*out = new(string)
**out = **in
}
if in.Name != nil {
in, out := &in.Name, &out.Name
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedName.
func (in *NamespacedName) DeepCopy() *NamespacedName {
if in == nil {
return nil
}
out := new(NamespacedName)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *NamespacedNames) DeepCopyInto(out *NamespacedNames) {
*out = *in
if in.NamespacedNames != nil {
in, out := &in.NamespacedNames, &out.NamespacedNames
*out = make([]NamespacedName, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedNames.
func (in *NamespacedNames) DeepCopy() *NamespacedNames {
if in == nil {
return nil
}
out := new(NamespacedNames)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Namespaces) DeepCopyInto(out *Namespaces) {
*out = *in
if in.Namespaces != nil {
in, out := &in.Namespaces, &out.Namespaces
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespaces.
func (in *Namespaces) DeepCopy() *Namespaces {
if in == nil {
return nil
}
out := new(Namespaces)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Parent) DeepCopyInto(out *Parent) {
*out = *in
if in.ProjectRef != nil {
in, out := &in.ProjectRef, &out.ProjectRef
*out = new(v1beta1.ProjectRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parent.
func (in *Parent) DeepCopy() *Parent {
if in == nil {
return nil
}
out := new(Parent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RPOConfig) DeepCopyInto(out *RPOConfig) {
*out = *in
if in.TargetRPOMinutes != nil {
in, out := &in.TargetRPOMinutes, &out.TargetRPOMinutes
*out = new(int32)
**out = **in
}
if in.ExclusionWindows != nil {
in, out := &in.ExclusionWindows, &out.ExclusionWindows
*out = make([]ExclusionWindow, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RPOConfig.
func (in *RPOConfig) DeepCopy() *RPOConfig {
if in == nil {
return nil
}
out := new(RPOConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ResourceSelector) DeepCopyInto(out *ResourceSelector) {
*out = *in
if in.GroupKind != nil {
in, out := &in.GroupKind, &out.GroupKind
*out = new(RestoreConfig_GroupKind)
(*in).DeepCopyInto(*out)
}
if in.Name != nil {
in, out := &in.Name, &out.Name
*out = new(string)
**out = **in
}
if in.Namespace != nil {
in, out := &in.Namespace, &out.Namespace
*out = new(string)
**out = **in
}
if in.Labels != nil {
in, out := &in.Labels, &out.Labels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSelector.
func (in *ResourceSelector) DeepCopy() *ResourceSelector {
if in == nil {
return nil
}
out := new(ResourceSelector)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreConfig) DeepCopyInto(out *RestoreConfig) {
*out = *in
if in.VolumeDataRestorePolicy != nil {
in, out := &in.VolumeDataRestorePolicy, &out.VolumeDataRestorePolicy
*out = new(string)
**out = **in
}
if in.ClusterResourceConflictPolicy != nil {
in, out := &in.ClusterResourceConflictPolicy, &out.ClusterResourceConflictPolicy
*out = new(string)
**out = **in
}
if in.NamespacedResourceRestoreMode != nil {
in, out := &in.NamespacedResourceRestoreMode, &out.NamespacedResourceRestoreMode
*out = new(string)
**out = **in
}
if in.ClusterResourceRestoreScope != nil {
in, out := &in.ClusterResourceRestoreScope, &out.ClusterResourceRestoreScope
*out = new(RestoreConfig_ClusterResourceRestoreScope)
(*in).DeepCopyInto(*out)
}
if in.AllNamespaces != nil {
in, out := &in.AllNamespaces, &out.AllNamespaces
*out = new(bool)
**out = **in
}
if in.SelectedNamespaces != nil {
in, out := &in.SelectedNamespaces, &out.SelectedNamespaces
*out = new(Namespaces)
(*in).DeepCopyInto(*out)
}
if in.SelectedApplications != nil {
in, out := &in.SelectedApplications, &out.SelectedApplications
*out = new(NamespacedNames)
(*in).DeepCopyInto(*out)
}
if in.NoNamespaces != nil {
in, out := &in.NoNamespaces, &out.NoNamespaces
*out = new(bool)
**out = **in
}
if in.ExcludedNamespaces != nil {
in, out := &in.ExcludedNamespaces, &out.ExcludedNamespaces
*out = new(Namespaces)
(*in).DeepCopyInto(*out)
}
if in.SubstitutionRules != nil {
in, out := &in.SubstitutionRules, &out.SubstitutionRules
*out = make([]RestoreConfig_SubstitutionRule, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.TransformationRules != nil {
in, out := &in.TransformationRules, &out.TransformationRules
*out = make([]RestoreConfig_TransformationRule, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.VolumeDataRestorePolicyBindings != nil {
in, out := &in.VolumeDataRestorePolicyBindings, &out.VolumeDataRestorePolicyBindings
*out = make([]RestoreConfig_VolumeDataRestorePolicyBinding, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.RestoreOrder != nil {
in, out := &in.RestoreOrder, &out.RestoreOrder
*out = new(RestoreConfig_RestoreOrder)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreConfig.
func (in *RestoreConfig) DeepCopy() *RestoreConfig {
if in == nil {
return nil
}
out := new(RestoreConfig)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreConfig_ClusterResourceRestoreScope) DeepCopyInto(out *RestoreConfig_ClusterResourceRestoreScope) {
*out = *in
if in.SelectedGroupKinds != nil {
in, out := &in.SelectedGroupKinds, &out.SelectedGroupKinds
*out = make([]RestoreConfig_GroupKind, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.ExcludedGroupKinds != nil {
in, out := &in.ExcludedGroupKinds, &out.ExcludedGroupKinds
*out = make([]RestoreConfig_GroupKind, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.AllGroupKinds != nil {
in, out := &in.AllGroupKinds, &out.AllGroupKinds
*out = new(bool)
**out = **in
}
if in.NoGroupKinds != nil {
in, out := &in.NoGroupKinds, &out.NoGroupKinds
*out = new(bool)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreConfig_ClusterResourceRestoreScope.
func (in *RestoreConfig_ClusterResourceRestoreScope) DeepCopy() *RestoreConfig_ClusterResourceRestoreScope {
if in == nil {
return nil
}
out := new(RestoreConfig_ClusterResourceRestoreScope)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreConfig_GroupKind) DeepCopyInto(out *RestoreConfig_GroupKind) {
*out = *in
if in.ResourceGroup != nil {
in, out := &in.ResourceGroup, &out.ResourceGroup
*out = new(string)
**out = **in
}
if in.ResourceKind != nil {
in, out := &in.ResourceKind, &out.ResourceKind
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreConfig_GroupKind.
func (in *RestoreConfig_GroupKind) DeepCopy() *RestoreConfig_GroupKind {
if in == nil {
return nil
}
out := new(RestoreConfig_GroupKind)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreConfig_ResourceFilter) DeepCopyInto(out *RestoreConfig_ResourceFilter) {
*out = *in
if in.Namespaces != nil {
in, out := &in.Namespaces, &out.Namespaces
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.GroupKinds != nil {
in, out := &in.GroupKinds, &out.GroupKinds
*out = make([]RestoreConfig_GroupKind, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.JSONPath != nil {
in, out := &in.JSONPath, &out.JSONPath
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreConfig_ResourceFilter.
func (in *RestoreConfig_ResourceFilter) DeepCopy() *RestoreConfig_ResourceFilter {
if in == nil {
return nil
}
out := new(RestoreConfig_ResourceFilter)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreConfig_RestoreOrder) DeepCopyInto(out *RestoreConfig_RestoreOrder) {
*out = *in
if in.GroupKindDependencies != nil {
in, out := &in.GroupKindDependencies, &out.GroupKindDependencies
*out = make([]RestoreConfig_RestoreOrder_GroupKindDependency, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreConfig_RestoreOrder.
func (in *RestoreConfig_RestoreOrder) DeepCopy() *RestoreConfig_RestoreOrder {
if in == nil {
return nil
}
out := new(RestoreConfig_RestoreOrder)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreConfig_RestoreOrder_GroupKindDependency) DeepCopyInto(out *RestoreConfig_RestoreOrder_GroupKindDependency) {
*out = *in
if in.Satisfying != nil {
in, out := &in.Satisfying, &out.Satisfying
*out = new(RestoreConfig_GroupKind)
(*in).DeepCopyInto(*out)
}
if in.Requiring != nil {
in, out := &in.Requiring, &out.Requiring
*out = new(RestoreConfig_GroupKind)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreConfig_RestoreOrder_GroupKindDependency.
func (in *RestoreConfig_RestoreOrder_GroupKindDependency) DeepCopy() *RestoreConfig_RestoreOrder_GroupKindDependency {
if in == nil {
return nil
}
out := new(RestoreConfig_RestoreOrder_GroupKindDependency)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreConfig_SubstitutionRule) DeepCopyInto(out *RestoreConfig_SubstitutionRule) {
*out = *in
if in.TargetNamespaces != nil {
in, out := &in.TargetNamespaces, &out.TargetNamespaces
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.TargetGroupKinds != nil {
in, out := &in.TargetGroupKinds, &out.TargetGroupKinds
*out = make([]RestoreConfig_GroupKind, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.TargetJSONPath != nil {
in, out := &in.TargetJSONPath, &out.TargetJSONPath
*out = new(string)
**out = **in
}
if in.OriginalValuePattern != nil {
in, out := &in.OriginalValuePattern, &out.OriginalValuePattern
*out = new(string)
**out = **in
}
if in.NewValue != nil {
in, out := &in.NewValue, &out.NewValue
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreConfig_SubstitutionRule.
func (in *RestoreConfig_SubstitutionRule) DeepCopy() *RestoreConfig_SubstitutionRule {
if in == nil {
return nil
}
out := new(RestoreConfig_SubstitutionRule)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreConfig_TransformationRule) DeepCopyInto(out *RestoreConfig_TransformationRule) {
*out = *in
if in.FieldActions != nil {
in, out := &in.FieldActions, &out.FieldActions
*out = make([]RestoreConfig_TransformationRuleAction, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.ResourceFilter != nil {
in, out := &in.ResourceFilter, &out.ResourceFilter
*out = new(RestoreConfig_ResourceFilter)
(*in).DeepCopyInto(*out)
}
if in.Description != nil {
in, out := &in.Description, &out.Description
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreConfig_TransformationRule.
func (in *RestoreConfig_TransformationRule) DeepCopy() *RestoreConfig_TransformationRule {
if in == nil {
return nil
}
out := new(RestoreConfig_TransformationRule)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreConfig_TransformationRuleAction) DeepCopyInto(out *RestoreConfig_TransformationRuleAction) {
*out = *in
if in.Op != nil {
in, out := &in.Op, &out.Op
*out = new(string)
**out = **in
}
if in.FromPath != nil {
in, out := &in.FromPath, &out.FromPath
*out = new(string)
**out = **in
}
if in.Path != nil {
in, out := &in.Path, &out.Path
*out = new(string)
**out = **in
}
if in.Value != nil {
in, out := &in.Value, &out.Value
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreConfig_TransformationRuleAction.
func (in *RestoreConfig_TransformationRuleAction) DeepCopy() *RestoreConfig_TransformationRuleAction {
if in == nil {
return nil
}
out := new(RestoreConfig_TransformationRuleAction)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreConfig_VolumeDataRestorePolicyBinding) DeepCopyInto(out *RestoreConfig_VolumeDataRestorePolicyBinding) {
*out = *in
if in.Policy != nil {
in, out := &in.Policy, &out.Policy
*out = new(string)
**out = **in
}
if in.VolumeType != nil {
in, out := &in.VolumeType, &out.VolumeType
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreConfig_VolumeDataRestorePolicyBinding.
func (in *RestoreConfig_VolumeDataRestorePolicyBinding) DeepCopy() *RestoreConfig_VolumeDataRestorePolicyBinding {
if in == nil {
return nil
}
out := new(RestoreConfig_VolumeDataRestorePolicyBinding)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreIdentity) DeepCopyInto(out *RestoreIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(RestoreParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreIdentity.
func (in *RestoreIdentity) DeepCopy() *RestoreIdentity {
if in == nil {
return nil
}
out := new(RestoreIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreParent) DeepCopyInto(out *RestoreParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreParent.
func (in *RestoreParent) DeepCopy() *RestoreParent {
if in == nil {
return nil
}
out := new(RestoreParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestorePlanIdentity) DeepCopyInto(out *RestorePlanIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(RestorePlanParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestorePlanIdentity.
func (in *RestorePlanIdentity) DeepCopy() *RestorePlanIdentity {
if in == nil {
return nil
}
out := new(RestorePlanIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestorePlanParent) DeepCopyInto(out *RestorePlanParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestorePlanParent.
func (in *RestorePlanParent) DeepCopy() *RestorePlanParent {
if in == nil {
return nil
}
out := new(RestorePlanParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestorePlanRef) DeepCopyInto(out *RestorePlanRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestorePlanRef.
func (in *RestorePlanRef) DeepCopy() *RestorePlanRef {
if in == nil {
return nil
}
out := new(RestorePlanRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RestoreRef) DeepCopyInto(out *RestoreRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreRef.
func (in *RestoreRef) DeepCopy() *RestoreRef {
if in == nil {
return nil
}
out := new(RestoreRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Restore_Filter) DeepCopyInto(out *Restore_Filter) {
*out = *in
if in.InclusionFilters != nil {
in, out := &in.InclusionFilters, &out.InclusionFilters
*out = make([]ResourceSelector, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.ExclusionFilters != nil {
in, out := &in.ExclusionFilters, &out.ExclusionFilters
*out = make([]ResourceSelector, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Restore_Filter.
func (in *Restore_Filter) DeepCopy() *Restore_Filter {
if in == nil {
return nil
}
out := new(Restore_Filter)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TimeOfDay) DeepCopyInto(out *TimeOfDay) {
*out = *in
if in.Hours != nil {
in, out := &in.Hours, &out.Hours
*out = new(int32)
**out = **in
}
if in.Minutes != nil {
in, out := &in.Minutes, &out.Minutes
*out = new(int32)
**out = **in
}
if in.Seconds != nil {
in, out := &in.Seconds, &out.Seconds
*out = new(int32)
**out = **in
}
if in.Nanos != nil {
in, out := &in.Nanos, &out.Nanos
*out = new(int32)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeOfDay.
func (in *TimeOfDay) DeepCopy() *TimeOfDay {
if in == nil {
return nil
}
out := new(TimeOfDay)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VolumeDataRestorePolicyOverride) DeepCopyInto(out *VolumeDataRestorePolicyOverride) {
*out = *in
if in.Policy != nil {
in, out := &in.Policy, &out.Policy
*out = new(string)
**out = **in
}
if in.SelectedPVCs != nil {
in, out := &in.SelectedPVCs, &out.SelectedPVCs
*out = new(NamespacedNames)
(*in).DeepCopyInto(*out)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeDataRestorePolicyOverride.
func (in *VolumeDataRestorePolicyOverride) DeepCopy() *VolumeDataRestorePolicyOverride {
if in == nil {
return nil
}
out := new(VolumeDataRestorePolicyOverride)
in.DeepCopyInto(out)
return out
}