...

Source file src/github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/gkebackup/v1alpha1/zz_generated.deepcopy.go

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/gkebackup/v1alpha1

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  // Copyright 2020 Google LLC
     5  //
     6  // Licensed under the Apache License, Version 2.0 (the "License");
     7  // you may not use this file except in compliance with the License.
     8  // You may obtain a copy of the License at
     9  //
    10  //     http://www.apache.org/licenses/LICENSE-2.0
    11  //
    12  // Unless required by applicable law or agreed to in writing, software
    13  // distributed under the License is distributed on an "AS IS" BASIS,
    14  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  // See the License for the specific language governing permissions and
    16  // limitations under the License.
    17  
    18  // *** DISCLAIMER ***
    19  // Config Connector's go-client for CRDs is currently in ALPHA, which means
    20  // that future versions of the go-client may include breaking changes.
    21  // Please try it out and give us feedback!
    22  
    23  // Code generated by main. DO NOT EDIT.
    24  
    25  package v1alpha1
    26  
    27  import (
    28  	k8sv1alpha1 "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/k8s/v1alpha1"
    29  	runtime "k8s.io/apimachinery/pkg/runtime"
    30  )
    31  
    32  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    33  func (in *BackupplanBackupConfig) DeepCopyInto(out *BackupplanBackupConfig) {
    34  	*out = *in
    35  	if in.AllNamespaces != nil {
    36  		in, out := &in.AllNamespaces, &out.AllNamespaces
    37  		*out = new(bool)
    38  		**out = **in
    39  	}
    40  	if in.EncryptionKey != nil {
    41  		in, out := &in.EncryptionKey, &out.EncryptionKey
    42  		*out = new(BackupplanEncryptionKey)
    43  		**out = **in
    44  	}
    45  	if in.IncludeSecrets != nil {
    46  		in, out := &in.IncludeSecrets, &out.IncludeSecrets
    47  		*out = new(bool)
    48  		**out = **in
    49  	}
    50  	if in.IncludeVolumeData != nil {
    51  		in, out := &in.IncludeVolumeData, &out.IncludeVolumeData
    52  		*out = new(bool)
    53  		**out = **in
    54  	}
    55  	if in.SelectedApplications != nil {
    56  		in, out := &in.SelectedApplications, &out.SelectedApplications
    57  		*out = new(BackupplanSelectedApplications)
    58  		(*in).DeepCopyInto(*out)
    59  	}
    60  	if in.SelectedNamespaces != nil {
    61  		in, out := &in.SelectedNamespaces, &out.SelectedNamespaces
    62  		*out = new(BackupplanSelectedNamespaces)
    63  		(*in).DeepCopyInto(*out)
    64  	}
    65  	return
    66  }
    67  
    68  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupplanBackupConfig.
    69  func (in *BackupplanBackupConfig) DeepCopy() *BackupplanBackupConfig {
    70  	if in == nil {
    71  		return nil
    72  	}
    73  	out := new(BackupplanBackupConfig)
    74  	in.DeepCopyInto(out)
    75  	return out
    76  }
    77  
    78  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    79  func (in *BackupplanBackupSchedule) DeepCopyInto(out *BackupplanBackupSchedule) {
    80  	*out = *in
    81  	if in.CronSchedule != nil {
    82  		in, out := &in.CronSchedule, &out.CronSchedule
    83  		*out = new(string)
    84  		**out = **in
    85  	}
    86  	if in.Paused != nil {
    87  		in, out := &in.Paused, &out.Paused
    88  		*out = new(bool)
    89  		**out = **in
    90  	}
    91  	return
    92  }
    93  
    94  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupplanBackupSchedule.
    95  func (in *BackupplanBackupSchedule) DeepCopy() *BackupplanBackupSchedule {
    96  	if in == nil {
    97  		return nil
    98  	}
    99  	out := new(BackupplanBackupSchedule)
   100  	in.DeepCopyInto(out)
   101  	return out
   102  }
   103  
   104  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   105  func (in *BackupplanEncryptionKey) DeepCopyInto(out *BackupplanEncryptionKey) {
   106  	*out = *in
   107  	return
   108  }
   109  
   110  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupplanEncryptionKey.
   111  func (in *BackupplanEncryptionKey) DeepCopy() *BackupplanEncryptionKey {
   112  	if in == nil {
   113  		return nil
   114  	}
   115  	out := new(BackupplanEncryptionKey)
   116  	in.DeepCopyInto(out)
   117  	return out
   118  }
   119  
   120  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   121  func (in *BackupplanNamespacedNames) DeepCopyInto(out *BackupplanNamespacedNames) {
   122  	*out = *in
   123  	return
   124  }
   125  
   126  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupplanNamespacedNames.
   127  func (in *BackupplanNamespacedNames) DeepCopy() *BackupplanNamespacedNames {
   128  	if in == nil {
   129  		return nil
   130  	}
   131  	out := new(BackupplanNamespacedNames)
   132  	in.DeepCopyInto(out)
   133  	return out
   134  }
   135  
   136  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   137  func (in *BackupplanRetentionPolicy) DeepCopyInto(out *BackupplanRetentionPolicy) {
   138  	*out = *in
   139  	if in.BackupDeleteLockDays != nil {
   140  		in, out := &in.BackupDeleteLockDays, &out.BackupDeleteLockDays
   141  		*out = new(int)
   142  		**out = **in
   143  	}
   144  	if in.BackupRetainDays != nil {
   145  		in, out := &in.BackupRetainDays, &out.BackupRetainDays
   146  		*out = new(int)
   147  		**out = **in
   148  	}
   149  	if in.Locked != nil {
   150  		in, out := &in.Locked, &out.Locked
   151  		*out = new(bool)
   152  		**out = **in
   153  	}
   154  	return
   155  }
   156  
   157  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupplanRetentionPolicy.
   158  func (in *BackupplanRetentionPolicy) DeepCopy() *BackupplanRetentionPolicy {
   159  	if in == nil {
   160  		return nil
   161  	}
   162  	out := new(BackupplanRetentionPolicy)
   163  	in.DeepCopyInto(out)
   164  	return out
   165  }
   166  
   167  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   168  func (in *BackupplanSelectedApplications) DeepCopyInto(out *BackupplanSelectedApplications) {
   169  	*out = *in
   170  	if in.NamespacedNames != nil {
   171  		in, out := &in.NamespacedNames, &out.NamespacedNames
   172  		*out = make([]BackupplanNamespacedNames, len(*in))
   173  		copy(*out, *in)
   174  	}
   175  	return
   176  }
   177  
   178  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupplanSelectedApplications.
   179  func (in *BackupplanSelectedApplications) DeepCopy() *BackupplanSelectedApplications {
   180  	if in == nil {
   181  		return nil
   182  	}
   183  	out := new(BackupplanSelectedApplications)
   184  	in.DeepCopyInto(out)
   185  	return out
   186  }
   187  
   188  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   189  func (in *BackupplanSelectedNamespaces) DeepCopyInto(out *BackupplanSelectedNamespaces) {
   190  	*out = *in
   191  	if in.Namespaces != nil {
   192  		in, out := &in.Namespaces, &out.Namespaces
   193  		*out = make([]string, len(*in))
   194  		copy(*out, *in)
   195  	}
   196  	return
   197  }
   198  
   199  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupplanSelectedNamespaces.
   200  func (in *BackupplanSelectedNamespaces) DeepCopy() *BackupplanSelectedNamespaces {
   201  	if in == nil {
   202  		return nil
   203  	}
   204  	out := new(BackupplanSelectedNamespaces)
   205  	in.DeepCopyInto(out)
   206  	return out
   207  }
   208  
   209  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   210  func (in *GKEBackupBackupPlan) DeepCopyInto(out *GKEBackupBackupPlan) {
   211  	*out = *in
   212  	out.TypeMeta = in.TypeMeta
   213  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   214  	in.Spec.DeepCopyInto(&out.Spec)
   215  	in.Status.DeepCopyInto(&out.Status)
   216  	return
   217  }
   218  
   219  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackupPlan.
   220  func (in *GKEBackupBackupPlan) DeepCopy() *GKEBackupBackupPlan {
   221  	if in == nil {
   222  		return nil
   223  	}
   224  	out := new(GKEBackupBackupPlan)
   225  	in.DeepCopyInto(out)
   226  	return out
   227  }
   228  
   229  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   230  func (in *GKEBackupBackupPlan) DeepCopyObject() runtime.Object {
   231  	if c := in.DeepCopy(); c != nil {
   232  		return c
   233  	}
   234  	return nil
   235  }
   236  
   237  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   238  func (in *GKEBackupBackupPlanList) DeepCopyInto(out *GKEBackupBackupPlanList) {
   239  	*out = *in
   240  	out.TypeMeta = in.TypeMeta
   241  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   242  	if in.Items != nil {
   243  		in, out := &in.Items, &out.Items
   244  		*out = make([]GKEBackupBackupPlan, len(*in))
   245  		for i := range *in {
   246  			(*in)[i].DeepCopyInto(&(*out)[i])
   247  		}
   248  	}
   249  	return
   250  }
   251  
   252  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackupPlanList.
   253  func (in *GKEBackupBackupPlanList) DeepCopy() *GKEBackupBackupPlanList {
   254  	if in == nil {
   255  		return nil
   256  	}
   257  	out := new(GKEBackupBackupPlanList)
   258  	in.DeepCopyInto(out)
   259  	return out
   260  }
   261  
   262  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   263  func (in *GKEBackupBackupPlanList) DeepCopyObject() runtime.Object {
   264  	if c := in.DeepCopy(); c != nil {
   265  		return c
   266  	}
   267  	return nil
   268  }
   269  
   270  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   271  func (in *GKEBackupBackupPlanSpec) DeepCopyInto(out *GKEBackupBackupPlanSpec) {
   272  	*out = *in
   273  	if in.BackupConfig != nil {
   274  		in, out := &in.BackupConfig, &out.BackupConfig
   275  		*out = new(BackupplanBackupConfig)
   276  		(*in).DeepCopyInto(*out)
   277  	}
   278  	if in.BackupSchedule != nil {
   279  		in, out := &in.BackupSchedule, &out.BackupSchedule
   280  		*out = new(BackupplanBackupSchedule)
   281  		(*in).DeepCopyInto(*out)
   282  	}
   283  	if in.Deactivated != nil {
   284  		in, out := &in.Deactivated, &out.Deactivated
   285  		*out = new(bool)
   286  		**out = **in
   287  	}
   288  	if in.Description != nil {
   289  		in, out := &in.Description, &out.Description
   290  		*out = new(string)
   291  		**out = **in
   292  	}
   293  	out.ProjectRef = in.ProjectRef
   294  	if in.ResourceID != nil {
   295  		in, out := &in.ResourceID, &out.ResourceID
   296  		*out = new(string)
   297  		**out = **in
   298  	}
   299  	if in.RetentionPolicy != nil {
   300  		in, out := &in.RetentionPolicy, &out.RetentionPolicy
   301  		*out = new(BackupplanRetentionPolicy)
   302  		(*in).DeepCopyInto(*out)
   303  	}
   304  	return
   305  }
   306  
   307  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackupPlanSpec.
   308  func (in *GKEBackupBackupPlanSpec) DeepCopy() *GKEBackupBackupPlanSpec {
   309  	if in == nil {
   310  		return nil
   311  	}
   312  	out := new(GKEBackupBackupPlanSpec)
   313  	in.DeepCopyInto(out)
   314  	return out
   315  }
   316  
   317  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   318  func (in *GKEBackupBackupPlanStatus) DeepCopyInto(out *GKEBackupBackupPlanStatus) {
   319  	*out = *in
   320  	if in.Conditions != nil {
   321  		in, out := &in.Conditions, &out.Conditions
   322  		*out = make([]k8sv1alpha1.Condition, len(*in))
   323  		copy(*out, *in)
   324  	}
   325  	if in.Etag != nil {
   326  		in, out := &in.Etag, &out.Etag
   327  		*out = new(string)
   328  		**out = **in
   329  	}
   330  	if in.ObservedGeneration != nil {
   331  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   332  		*out = new(int)
   333  		**out = **in
   334  	}
   335  	if in.ProtectedPodCount != nil {
   336  		in, out := &in.ProtectedPodCount, &out.ProtectedPodCount
   337  		*out = new(int)
   338  		**out = **in
   339  	}
   340  	if in.Uid != nil {
   341  		in, out := &in.Uid, &out.Uid
   342  		*out = new(string)
   343  		**out = **in
   344  	}
   345  	return
   346  }
   347  
   348  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKEBackupBackupPlanStatus.
   349  func (in *GKEBackupBackupPlanStatus) DeepCopy() *GKEBackupBackupPlanStatus {
   350  	if in == nil {
   351  		return nil
   352  	}
   353  	out := new(GKEBackupBackupPlanStatus)
   354  	in.DeepCopyInto(out)
   355  	return out
   356  }
   357  

View as plain text