...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/alloydb/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 *AlloyDBBackup) DeepCopyInto(out *AlloyDBBackup) {
    34  	*out = *in
    35  	out.TypeMeta = in.TypeMeta
    36  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    37  	in.Spec.DeepCopyInto(&out.Spec)
    38  	in.Status.DeepCopyInto(&out.Status)
    39  	return
    40  }
    41  
    42  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBBackup.
    43  func (in *AlloyDBBackup) DeepCopy() *AlloyDBBackup {
    44  	if in == nil {
    45  		return nil
    46  	}
    47  	out := new(AlloyDBBackup)
    48  	in.DeepCopyInto(out)
    49  	return out
    50  }
    51  
    52  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    53  func (in *AlloyDBBackup) DeepCopyObject() runtime.Object {
    54  	if c := in.DeepCopy(); c != nil {
    55  		return c
    56  	}
    57  	return nil
    58  }
    59  
    60  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    61  func (in *AlloyDBBackupList) DeepCopyInto(out *AlloyDBBackupList) {
    62  	*out = *in
    63  	out.TypeMeta = in.TypeMeta
    64  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    65  	if in.Items != nil {
    66  		in, out := &in.Items, &out.Items
    67  		*out = make([]AlloyDBBackup, len(*in))
    68  		for i := range *in {
    69  			(*in)[i].DeepCopyInto(&(*out)[i])
    70  		}
    71  	}
    72  	return
    73  }
    74  
    75  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBBackupList.
    76  func (in *AlloyDBBackupList) DeepCopy() *AlloyDBBackupList {
    77  	if in == nil {
    78  		return nil
    79  	}
    80  	out := new(AlloyDBBackupList)
    81  	in.DeepCopyInto(out)
    82  	return out
    83  }
    84  
    85  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    86  func (in *AlloyDBBackupList) DeepCopyObject() runtime.Object {
    87  	if c := in.DeepCopy(); c != nil {
    88  		return c
    89  	}
    90  	return nil
    91  }
    92  
    93  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    94  func (in *AlloyDBBackupSpec) DeepCopyInto(out *AlloyDBBackupSpec) {
    95  	*out = *in
    96  	if in.Description != nil {
    97  		in, out := &in.Description, &out.Description
    98  		*out = new(string)
    99  		**out = **in
   100  	}
   101  	if in.EncryptionConfig != nil {
   102  		in, out := &in.EncryptionConfig, &out.EncryptionConfig
   103  		*out = new(BackupEncryptionConfig)
   104  		(*in).DeepCopyInto(*out)
   105  	}
   106  	out.ProjectRef = in.ProjectRef
   107  	if in.ResourceID != nil {
   108  		in, out := &in.ResourceID, &out.ResourceID
   109  		*out = new(string)
   110  		**out = **in
   111  	}
   112  	return
   113  }
   114  
   115  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBBackupSpec.
   116  func (in *AlloyDBBackupSpec) DeepCopy() *AlloyDBBackupSpec {
   117  	if in == nil {
   118  		return nil
   119  	}
   120  	out := new(AlloyDBBackupSpec)
   121  	in.DeepCopyInto(out)
   122  	return out
   123  }
   124  
   125  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   126  func (in *AlloyDBBackupStatus) DeepCopyInto(out *AlloyDBBackupStatus) {
   127  	*out = *in
   128  	if in.Conditions != nil {
   129  		in, out := &in.Conditions, &out.Conditions
   130  		*out = make([]k8sv1alpha1.Condition, len(*in))
   131  		copy(*out, *in)
   132  	}
   133  	if in.CreateTime != nil {
   134  		in, out := &in.CreateTime, &out.CreateTime
   135  		*out = new(string)
   136  		**out = **in
   137  	}
   138  	if in.EncryptionInfo != nil {
   139  		in, out := &in.EncryptionInfo, &out.EncryptionInfo
   140  		*out = make([]BackupEncryptionInfoStatus, len(*in))
   141  		for i := range *in {
   142  			(*in)[i].DeepCopyInto(&(*out)[i])
   143  		}
   144  	}
   145  	if in.Etag != nil {
   146  		in, out := &in.Etag, &out.Etag
   147  		*out = new(string)
   148  		**out = **in
   149  	}
   150  	if in.Name != nil {
   151  		in, out := &in.Name, &out.Name
   152  		*out = new(string)
   153  		**out = **in
   154  	}
   155  	if in.ObservedGeneration != nil {
   156  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   157  		*out = new(int)
   158  		**out = **in
   159  	}
   160  	if in.Reconciling != nil {
   161  		in, out := &in.Reconciling, &out.Reconciling
   162  		*out = new(bool)
   163  		**out = **in
   164  	}
   165  	if in.State != nil {
   166  		in, out := &in.State, &out.State
   167  		*out = new(string)
   168  		**out = **in
   169  	}
   170  	if in.Uid != nil {
   171  		in, out := &in.Uid, &out.Uid
   172  		*out = new(string)
   173  		**out = **in
   174  	}
   175  	if in.UpdateTime != nil {
   176  		in, out := &in.UpdateTime, &out.UpdateTime
   177  		*out = new(string)
   178  		**out = **in
   179  	}
   180  	return
   181  }
   182  
   183  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBBackupStatus.
   184  func (in *AlloyDBBackupStatus) DeepCopy() *AlloyDBBackupStatus {
   185  	if in == nil {
   186  		return nil
   187  	}
   188  	out := new(AlloyDBBackupStatus)
   189  	in.DeepCopyInto(out)
   190  	return out
   191  }
   192  
   193  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   194  func (in *AlloyDBCluster) DeepCopyInto(out *AlloyDBCluster) {
   195  	*out = *in
   196  	out.TypeMeta = in.TypeMeta
   197  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   198  	in.Spec.DeepCopyInto(&out.Spec)
   199  	in.Status.DeepCopyInto(&out.Status)
   200  	return
   201  }
   202  
   203  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBCluster.
   204  func (in *AlloyDBCluster) DeepCopy() *AlloyDBCluster {
   205  	if in == nil {
   206  		return nil
   207  	}
   208  	out := new(AlloyDBCluster)
   209  	in.DeepCopyInto(out)
   210  	return out
   211  }
   212  
   213  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   214  func (in *AlloyDBCluster) DeepCopyObject() runtime.Object {
   215  	if c := in.DeepCopy(); c != nil {
   216  		return c
   217  	}
   218  	return nil
   219  }
   220  
   221  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   222  func (in *AlloyDBClusterList) DeepCopyInto(out *AlloyDBClusterList) {
   223  	*out = *in
   224  	out.TypeMeta = in.TypeMeta
   225  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   226  	if in.Items != nil {
   227  		in, out := &in.Items, &out.Items
   228  		*out = make([]AlloyDBCluster, len(*in))
   229  		for i := range *in {
   230  			(*in)[i].DeepCopyInto(&(*out)[i])
   231  		}
   232  	}
   233  	return
   234  }
   235  
   236  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBClusterList.
   237  func (in *AlloyDBClusterList) DeepCopy() *AlloyDBClusterList {
   238  	if in == nil {
   239  		return nil
   240  	}
   241  	out := new(AlloyDBClusterList)
   242  	in.DeepCopyInto(out)
   243  	return out
   244  }
   245  
   246  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   247  func (in *AlloyDBClusterList) DeepCopyObject() runtime.Object {
   248  	if c := in.DeepCopy(); c != nil {
   249  		return c
   250  	}
   251  	return nil
   252  }
   253  
   254  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   255  func (in *AlloyDBClusterSpec) DeepCopyInto(out *AlloyDBClusterSpec) {
   256  	*out = *in
   257  	if in.AutomatedBackupPolicy != nil {
   258  		in, out := &in.AutomatedBackupPolicy, &out.AutomatedBackupPolicy
   259  		*out = new(ClusterAutomatedBackupPolicy)
   260  		(*in).DeepCopyInto(*out)
   261  	}
   262  	if in.DisplayName != nil {
   263  		in, out := &in.DisplayName, &out.DisplayName
   264  		*out = new(string)
   265  		**out = **in
   266  	}
   267  	if in.EncryptionConfig != nil {
   268  		in, out := &in.EncryptionConfig, &out.EncryptionConfig
   269  		*out = new(ClusterEncryptionConfig)
   270  		(*in).DeepCopyInto(*out)
   271  	}
   272  	if in.InitialUser != nil {
   273  		in, out := &in.InitialUser, &out.InitialUser
   274  		*out = new(ClusterInitialUser)
   275  		(*in).DeepCopyInto(*out)
   276  	}
   277  	out.ProjectRef = in.ProjectRef
   278  	if in.ResourceID != nil {
   279  		in, out := &in.ResourceID, &out.ResourceID
   280  		*out = new(string)
   281  		**out = **in
   282  	}
   283  	return
   284  }
   285  
   286  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBClusterSpec.
   287  func (in *AlloyDBClusterSpec) DeepCopy() *AlloyDBClusterSpec {
   288  	if in == nil {
   289  		return nil
   290  	}
   291  	out := new(AlloyDBClusterSpec)
   292  	in.DeepCopyInto(out)
   293  	return out
   294  }
   295  
   296  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   297  func (in *AlloyDBClusterStatus) DeepCopyInto(out *AlloyDBClusterStatus) {
   298  	*out = *in
   299  	if in.Conditions != nil {
   300  		in, out := &in.Conditions, &out.Conditions
   301  		*out = make([]k8sv1alpha1.Condition, len(*in))
   302  		copy(*out, *in)
   303  	}
   304  	if in.BackupSource != nil {
   305  		in, out := &in.BackupSource, &out.BackupSource
   306  		*out = make([]ClusterBackupSourceStatus, len(*in))
   307  		for i := range *in {
   308  			(*in)[i].DeepCopyInto(&(*out)[i])
   309  		}
   310  	}
   311  	if in.DatabaseVersion != nil {
   312  		in, out := &in.DatabaseVersion, &out.DatabaseVersion
   313  		*out = new(string)
   314  		**out = **in
   315  	}
   316  	if in.EncryptionInfo != nil {
   317  		in, out := &in.EncryptionInfo, &out.EncryptionInfo
   318  		*out = make([]ClusterEncryptionInfoStatus, len(*in))
   319  		for i := range *in {
   320  			(*in)[i].DeepCopyInto(&(*out)[i])
   321  		}
   322  	}
   323  	if in.MigrationSource != nil {
   324  		in, out := &in.MigrationSource, &out.MigrationSource
   325  		*out = make([]ClusterMigrationSourceStatus, len(*in))
   326  		for i := range *in {
   327  			(*in)[i].DeepCopyInto(&(*out)[i])
   328  		}
   329  	}
   330  	if in.Name != nil {
   331  		in, out := &in.Name, &out.Name
   332  		*out = new(string)
   333  		**out = **in
   334  	}
   335  	if in.ObservedGeneration != nil {
   336  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   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 AlloyDBClusterStatus.
   349  func (in *AlloyDBClusterStatus) DeepCopy() *AlloyDBClusterStatus {
   350  	if in == nil {
   351  		return nil
   352  	}
   353  	out := new(AlloyDBClusterStatus)
   354  	in.DeepCopyInto(out)
   355  	return out
   356  }
   357  
   358  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   359  func (in *AlloyDBInstance) DeepCopyInto(out *AlloyDBInstance) {
   360  	*out = *in
   361  	out.TypeMeta = in.TypeMeta
   362  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   363  	in.Spec.DeepCopyInto(&out.Spec)
   364  	in.Status.DeepCopyInto(&out.Status)
   365  	return
   366  }
   367  
   368  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBInstance.
   369  func (in *AlloyDBInstance) DeepCopy() *AlloyDBInstance {
   370  	if in == nil {
   371  		return nil
   372  	}
   373  	out := new(AlloyDBInstance)
   374  	in.DeepCopyInto(out)
   375  	return out
   376  }
   377  
   378  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   379  func (in *AlloyDBInstance) DeepCopyObject() runtime.Object {
   380  	if c := in.DeepCopy(); c != nil {
   381  		return c
   382  	}
   383  	return nil
   384  }
   385  
   386  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   387  func (in *AlloyDBInstanceList) DeepCopyInto(out *AlloyDBInstanceList) {
   388  	*out = *in
   389  	out.TypeMeta = in.TypeMeta
   390  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   391  	if in.Items != nil {
   392  		in, out := &in.Items, &out.Items
   393  		*out = make([]AlloyDBInstance, len(*in))
   394  		for i := range *in {
   395  			(*in)[i].DeepCopyInto(&(*out)[i])
   396  		}
   397  	}
   398  	return
   399  }
   400  
   401  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBInstanceList.
   402  func (in *AlloyDBInstanceList) DeepCopy() *AlloyDBInstanceList {
   403  	if in == nil {
   404  		return nil
   405  	}
   406  	out := new(AlloyDBInstanceList)
   407  	in.DeepCopyInto(out)
   408  	return out
   409  }
   410  
   411  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   412  func (in *AlloyDBInstanceList) DeepCopyObject() runtime.Object {
   413  	if c := in.DeepCopy(); c != nil {
   414  		return c
   415  	}
   416  	return nil
   417  }
   418  
   419  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   420  func (in *AlloyDBInstanceSpec) DeepCopyInto(out *AlloyDBInstanceSpec) {
   421  	*out = *in
   422  	if in.Annotations != nil {
   423  		in, out := &in.Annotations, &out.Annotations
   424  		*out = make(map[string]string, len(*in))
   425  		for key, val := range *in {
   426  			(*out)[key] = val
   427  		}
   428  	}
   429  	if in.AvailabilityType != nil {
   430  		in, out := &in.AvailabilityType, &out.AvailabilityType
   431  		*out = new(string)
   432  		**out = **in
   433  	}
   434  	if in.DatabaseFlags != nil {
   435  		in, out := &in.DatabaseFlags, &out.DatabaseFlags
   436  		*out = make(map[string]string, len(*in))
   437  		for key, val := range *in {
   438  			(*out)[key] = val
   439  		}
   440  	}
   441  	if in.DisplayName != nil {
   442  		in, out := &in.DisplayName, &out.DisplayName
   443  		*out = new(string)
   444  		**out = **in
   445  	}
   446  	if in.GceZone != nil {
   447  		in, out := &in.GceZone, &out.GceZone
   448  		*out = new(string)
   449  		**out = **in
   450  	}
   451  	if in.MachineConfig != nil {
   452  		in, out := &in.MachineConfig, &out.MachineConfig
   453  		*out = new(InstanceMachineConfig)
   454  		(*in).DeepCopyInto(*out)
   455  	}
   456  	if in.ReadPoolConfig != nil {
   457  		in, out := &in.ReadPoolConfig, &out.ReadPoolConfig
   458  		*out = new(InstanceReadPoolConfig)
   459  		(*in).DeepCopyInto(*out)
   460  	}
   461  	if in.ResourceID != nil {
   462  		in, out := &in.ResourceID, &out.ResourceID
   463  		*out = new(string)
   464  		**out = **in
   465  	}
   466  	return
   467  }
   468  
   469  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBInstanceSpec.
   470  func (in *AlloyDBInstanceSpec) DeepCopy() *AlloyDBInstanceSpec {
   471  	if in == nil {
   472  		return nil
   473  	}
   474  	out := new(AlloyDBInstanceSpec)
   475  	in.DeepCopyInto(out)
   476  	return out
   477  }
   478  
   479  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   480  func (in *AlloyDBInstanceStatus) DeepCopyInto(out *AlloyDBInstanceStatus) {
   481  	*out = *in
   482  	if in.Conditions != nil {
   483  		in, out := &in.Conditions, &out.Conditions
   484  		*out = make([]k8sv1alpha1.Condition, len(*in))
   485  		copy(*out, *in)
   486  	}
   487  	if in.CreateTime != nil {
   488  		in, out := &in.CreateTime, &out.CreateTime
   489  		*out = new(string)
   490  		**out = **in
   491  	}
   492  	if in.IpAddress != nil {
   493  		in, out := &in.IpAddress, &out.IpAddress
   494  		*out = new(string)
   495  		**out = **in
   496  	}
   497  	if in.Name != nil {
   498  		in, out := &in.Name, &out.Name
   499  		*out = new(string)
   500  		**out = **in
   501  	}
   502  	if in.ObservedGeneration != nil {
   503  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   504  		*out = new(int)
   505  		**out = **in
   506  	}
   507  	if in.Reconciling != nil {
   508  		in, out := &in.Reconciling, &out.Reconciling
   509  		*out = new(bool)
   510  		**out = **in
   511  	}
   512  	if in.State != nil {
   513  		in, out := &in.State, &out.State
   514  		*out = new(string)
   515  		**out = **in
   516  	}
   517  	if in.Uid != nil {
   518  		in, out := &in.Uid, &out.Uid
   519  		*out = new(string)
   520  		**out = **in
   521  	}
   522  	if in.UpdateTime != nil {
   523  		in, out := &in.UpdateTime, &out.UpdateTime
   524  		*out = new(string)
   525  		**out = **in
   526  	}
   527  	return
   528  }
   529  
   530  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlloyDBInstanceStatus.
   531  func (in *AlloyDBInstanceStatus) DeepCopy() *AlloyDBInstanceStatus {
   532  	if in == nil {
   533  		return nil
   534  	}
   535  	out := new(AlloyDBInstanceStatus)
   536  	in.DeepCopyInto(out)
   537  	return out
   538  }
   539  
   540  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   541  func (in *BackupEncryptionConfig) DeepCopyInto(out *BackupEncryptionConfig) {
   542  	*out = *in
   543  	if in.KmsKeyName != nil {
   544  		in, out := &in.KmsKeyName, &out.KmsKeyName
   545  		*out = new(string)
   546  		**out = **in
   547  	}
   548  	return
   549  }
   550  
   551  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupEncryptionConfig.
   552  func (in *BackupEncryptionConfig) DeepCopy() *BackupEncryptionConfig {
   553  	if in == nil {
   554  		return nil
   555  	}
   556  	out := new(BackupEncryptionConfig)
   557  	in.DeepCopyInto(out)
   558  	return out
   559  }
   560  
   561  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   562  func (in *BackupEncryptionInfoStatus) DeepCopyInto(out *BackupEncryptionInfoStatus) {
   563  	*out = *in
   564  	if in.EncryptionType != nil {
   565  		in, out := &in.EncryptionType, &out.EncryptionType
   566  		*out = new(string)
   567  		**out = **in
   568  	}
   569  	if in.KmsKeyVersions != nil {
   570  		in, out := &in.KmsKeyVersions, &out.KmsKeyVersions
   571  		*out = make([]string, len(*in))
   572  		copy(*out, *in)
   573  	}
   574  	return
   575  }
   576  
   577  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupEncryptionInfoStatus.
   578  func (in *BackupEncryptionInfoStatus) DeepCopy() *BackupEncryptionInfoStatus {
   579  	if in == nil {
   580  		return nil
   581  	}
   582  	out := new(BackupEncryptionInfoStatus)
   583  	in.DeepCopyInto(out)
   584  	return out
   585  }
   586  
   587  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   588  func (in *ClusterAutomatedBackupPolicy) DeepCopyInto(out *ClusterAutomatedBackupPolicy) {
   589  	*out = *in
   590  	if in.BackupWindow != nil {
   591  		in, out := &in.BackupWindow, &out.BackupWindow
   592  		*out = new(string)
   593  		**out = **in
   594  	}
   595  	if in.Enabled != nil {
   596  		in, out := &in.Enabled, &out.Enabled
   597  		*out = new(bool)
   598  		**out = **in
   599  	}
   600  	if in.EncryptionConfig != nil {
   601  		in, out := &in.EncryptionConfig, &out.EncryptionConfig
   602  		*out = new(ClusterEncryptionConfig)
   603  		(*in).DeepCopyInto(*out)
   604  	}
   605  	if in.Labels != nil {
   606  		in, out := &in.Labels, &out.Labels
   607  		*out = make(map[string]string, len(*in))
   608  		for key, val := range *in {
   609  			(*out)[key] = val
   610  		}
   611  	}
   612  	if in.Location != nil {
   613  		in, out := &in.Location, &out.Location
   614  		*out = new(string)
   615  		**out = **in
   616  	}
   617  	if in.QuantityBasedRetention != nil {
   618  		in, out := &in.QuantityBasedRetention, &out.QuantityBasedRetention
   619  		*out = new(ClusterQuantityBasedRetention)
   620  		(*in).DeepCopyInto(*out)
   621  	}
   622  	if in.TimeBasedRetention != nil {
   623  		in, out := &in.TimeBasedRetention, &out.TimeBasedRetention
   624  		*out = new(ClusterTimeBasedRetention)
   625  		(*in).DeepCopyInto(*out)
   626  	}
   627  	if in.WeeklySchedule != nil {
   628  		in, out := &in.WeeklySchedule, &out.WeeklySchedule
   629  		*out = new(ClusterWeeklySchedule)
   630  		(*in).DeepCopyInto(*out)
   631  	}
   632  	return
   633  }
   634  
   635  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAutomatedBackupPolicy.
   636  func (in *ClusterAutomatedBackupPolicy) DeepCopy() *ClusterAutomatedBackupPolicy {
   637  	if in == nil {
   638  		return nil
   639  	}
   640  	out := new(ClusterAutomatedBackupPolicy)
   641  	in.DeepCopyInto(out)
   642  	return out
   643  }
   644  
   645  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   646  func (in *ClusterBackupSourceStatus) DeepCopyInto(out *ClusterBackupSourceStatus) {
   647  	*out = *in
   648  	if in.BackupName != nil {
   649  		in, out := &in.BackupName, &out.BackupName
   650  		*out = new(string)
   651  		**out = **in
   652  	}
   653  	return
   654  }
   655  
   656  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterBackupSourceStatus.
   657  func (in *ClusterBackupSourceStatus) DeepCopy() *ClusterBackupSourceStatus {
   658  	if in == nil {
   659  		return nil
   660  	}
   661  	out := new(ClusterBackupSourceStatus)
   662  	in.DeepCopyInto(out)
   663  	return out
   664  }
   665  
   666  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   667  func (in *ClusterEncryptionConfig) DeepCopyInto(out *ClusterEncryptionConfig) {
   668  	*out = *in
   669  	if in.KmsKeyName != nil {
   670  		in, out := &in.KmsKeyName, &out.KmsKeyName
   671  		*out = new(string)
   672  		**out = **in
   673  	}
   674  	return
   675  }
   676  
   677  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEncryptionConfig.
   678  func (in *ClusterEncryptionConfig) DeepCopy() *ClusterEncryptionConfig {
   679  	if in == nil {
   680  		return nil
   681  	}
   682  	out := new(ClusterEncryptionConfig)
   683  	in.DeepCopyInto(out)
   684  	return out
   685  }
   686  
   687  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   688  func (in *ClusterEncryptionInfoStatus) DeepCopyInto(out *ClusterEncryptionInfoStatus) {
   689  	*out = *in
   690  	if in.EncryptionType != nil {
   691  		in, out := &in.EncryptionType, &out.EncryptionType
   692  		*out = new(string)
   693  		**out = **in
   694  	}
   695  	if in.KmsKeyVersions != nil {
   696  		in, out := &in.KmsKeyVersions, &out.KmsKeyVersions
   697  		*out = make([]string, len(*in))
   698  		copy(*out, *in)
   699  	}
   700  	return
   701  }
   702  
   703  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterEncryptionInfoStatus.
   704  func (in *ClusterEncryptionInfoStatus) DeepCopy() *ClusterEncryptionInfoStatus {
   705  	if in == nil {
   706  		return nil
   707  	}
   708  	out := new(ClusterEncryptionInfoStatus)
   709  	in.DeepCopyInto(out)
   710  	return out
   711  }
   712  
   713  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   714  func (in *ClusterInitialUser) DeepCopyInto(out *ClusterInitialUser) {
   715  	*out = *in
   716  	in.Password.DeepCopyInto(&out.Password)
   717  	if in.User != nil {
   718  		in, out := &in.User, &out.User
   719  		*out = new(string)
   720  		**out = **in
   721  	}
   722  	return
   723  }
   724  
   725  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInitialUser.
   726  func (in *ClusterInitialUser) DeepCopy() *ClusterInitialUser {
   727  	if in == nil {
   728  		return nil
   729  	}
   730  	out := new(ClusterInitialUser)
   731  	in.DeepCopyInto(out)
   732  	return out
   733  }
   734  
   735  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   736  func (in *ClusterMigrationSourceStatus) DeepCopyInto(out *ClusterMigrationSourceStatus) {
   737  	*out = *in
   738  	if in.HostPort != nil {
   739  		in, out := &in.HostPort, &out.HostPort
   740  		*out = new(string)
   741  		**out = **in
   742  	}
   743  	if in.ReferenceId != nil {
   744  		in, out := &in.ReferenceId, &out.ReferenceId
   745  		*out = new(string)
   746  		**out = **in
   747  	}
   748  	if in.SourceType != nil {
   749  		in, out := &in.SourceType, &out.SourceType
   750  		*out = new(string)
   751  		**out = **in
   752  	}
   753  	return
   754  }
   755  
   756  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMigrationSourceStatus.
   757  func (in *ClusterMigrationSourceStatus) DeepCopy() *ClusterMigrationSourceStatus {
   758  	if in == nil {
   759  		return nil
   760  	}
   761  	out := new(ClusterMigrationSourceStatus)
   762  	in.DeepCopyInto(out)
   763  	return out
   764  }
   765  
   766  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   767  func (in *ClusterPassword) DeepCopyInto(out *ClusterPassword) {
   768  	*out = *in
   769  	if in.Value != nil {
   770  		in, out := &in.Value, &out.Value
   771  		*out = new(string)
   772  		**out = **in
   773  	}
   774  	if in.ValueFrom != nil {
   775  		in, out := &in.ValueFrom, &out.ValueFrom
   776  		*out = new(ClusterValueFrom)
   777  		(*in).DeepCopyInto(*out)
   778  	}
   779  	return
   780  }
   781  
   782  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPassword.
   783  func (in *ClusterPassword) DeepCopy() *ClusterPassword {
   784  	if in == nil {
   785  		return nil
   786  	}
   787  	out := new(ClusterPassword)
   788  	in.DeepCopyInto(out)
   789  	return out
   790  }
   791  
   792  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   793  func (in *ClusterQuantityBasedRetention) DeepCopyInto(out *ClusterQuantityBasedRetention) {
   794  	*out = *in
   795  	if in.Count != nil {
   796  		in, out := &in.Count, &out.Count
   797  		*out = new(int)
   798  		**out = **in
   799  	}
   800  	return
   801  }
   802  
   803  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterQuantityBasedRetention.
   804  func (in *ClusterQuantityBasedRetention) DeepCopy() *ClusterQuantityBasedRetention {
   805  	if in == nil {
   806  		return nil
   807  	}
   808  	out := new(ClusterQuantityBasedRetention)
   809  	in.DeepCopyInto(out)
   810  	return out
   811  }
   812  
   813  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   814  func (in *ClusterStartTimes) DeepCopyInto(out *ClusterStartTimes) {
   815  	*out = *in
   816  	if in.Hours != nil {
   817  		in, out := &in.Hours, &out.Hours
   818  		*out = new(int)
   819  		**out = **in
   820  	}
   821  	if in.Minutes != nil {
   822  		in, out := &in.Minutes, &out.Minutes
   823  		*out = new(int)
   824  		**out = **in
   825  	}
   826  	if in.Nanos != nil {
   827  		in, out := &in.Nanos, &out.Nanos
   828  		*out = new(int)
   829  		**out = **in
   830  	}
   831  	if in.Seconds != nil {
   832  		in, out := &in.Seconds, &out.Seconds
   833  		*out = new(int)
   834  		**out = **in
   835  	}
   836  	return
   837  }
   838  
   839  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStartTimes.
   840  func (in *ClusterStartTimes) DeepCopy() *ClusterStartTimes {
   841  	if in == nil {
   842  		return nil
   843  	}
   844  	out := new(ClusterStartTimes)
   845  	in.DeepCopyInto(out)
   846  	return out
   847  }
   848  
   849  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   850  func (in *ClusterTimeBasedRetention) DeepCopyInto(out *ClusterTimeBasedRetention) {
   851  	*out = *in
   852  	if in.RetentionPeriod != nil {
   853  		in, out := &in.RetentionPeriod, &out.RetentionPeriod
   854  		*out = new(string)
   855  		**out = **in
   856  	}
   857  	return
   858  }
   859  
   860  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTimeBasedRetention.
   861  func (in *ClusterTimeBasedRetention) DeepCopy() *ClusterTimeBasedRetention {
   862  	if in == nil {
   863  		return nil
   864  	}
   865  	out := new(ClusterTimeBasedRetention)
   866  	in.DeepCopyInto(out)
   867  	return out
   868  }
   869  
   870  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   871  func (in *ClusterValueFrom) DeepCopyInto(out *ClusterValueFrom) {
   872  	*out = *in
   873  	if in.SecretKeyRef != nil {
   874  		in, out := &in.SecretKeyRef, &out.SecretKeyRef
   875  		*out = new(k8sv1alpha1.ResourceRef)
   876  		**out = **in
   877  	}
   878  	return
   879  }
   880  
   881  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterValueFrom.
   882  func (in *ClusterValueFrom) DeepCopy() *ClusterValueFrom {
   883  	if in == nil {
   884  		return nil
   885  	}
   886  	out := new(ClusterValueFrom)
   887  	in.DeepCopyInto(out)
   888  	return out
   889  }
   890  
   891  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   892  func (in *ClusterWeeklySchedule) DeepCopyInto(out *ClusterWeeklySchedule) {
   893  	*out = *in
   894  	if in.DaysOfWeek != nil {
   895  		in, out := &in.DaysOfWeek, &out.DaysOfWeek
   896  		*out = make([]string, len(*in))
   897  		copy(*out, *in)
   898  	}
   899  	if in.StartTimes != nil {
   900  		in, out := &in.StartTimes, &out.StartTimes
   901  		*out = make([]ClusterStartTimes, len(*in))
   902  		for i := range *in {
   903  			(*in)[i].DeepCopyInto(&(*out)[i])
   904  		}
   905  	}
   906  	return
   907  }
   908  
   909  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterWeeklySchedule.
   910  func (in *ClusterWeeklySchedule) DeepCopy() *ClusterWeeklySchedule {
   911  	if in == nil {
   912  		return nil
   913  	}
   914  	out := new(ClusterWeeklySchedule)
   915  	in.DeepCopyInto(out)
   916  	return out
   917  }
   918  
   919  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   920  func (in *InstanceMachineConfig) DeepCopyInto(out *InstanceMachineConfig) {
   921  	*out = *in
   922  	if in.CpuCount != nil {
   923  		in, out := &in.CpuCount, &out.CpuCount
   924  		*out = new(int)
   925  		**out = **in
   926  	}
   927  	return
   928  }
   929  
   930  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMachineConfig.
   931  func (in *InstanceMachineConfig) DeepCopy() *InstanceMachineConfig {
   932  	if in == nil {
   933  		return nil
   934  	}
   935  	out := new(InstanceMachineConfig)
   936  	in.DeepCopyInto(out)
   937  	return out
   938  }
   939  
   940  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   941  func (in *InstanceReadPoolConfig) DeepCopyInto(out *InstanceReadPoolConfig) {
   942  	*out = *in
   943  	if in.NodeCount != nil {
   944  		in, out := &in.NodeCount, &out.NodeCount
   945  		*out = new(int)
   946  		**out = **in
   947  	}
   948  	return
   949  }
   950  
   951  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceReadPoolConfig.
   952  func (in *InstanceReadPoolConfig) DeepCopy() *InstanceReadPoolConfig {
   953  	if in == nil {
   954  		return nil
   955  	}
   956  	out := new(InstanceReadPoolConfig)
   957  	in.DeepCopyInto(out)
   958  	return out
   959  }
   960  

View as plain text