...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/redis/v1beta1

     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 v1beta1
    26  
    27  import (
    28  	v1alpha1 "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 *InstanceMaintenancePolicy) DeepCopyInto(out *InstanceMaintenancePolicy) {
    34  	*out = *in
    35  	if in.CreateTime != nil {
    36  		in, out := &in.CreateTime, &out.CreateTime
    37  		*out = new(string)
    38  		**out = **in
    39  	}
    40  	if in.Description != nil {
    41  		in, out := &in.Description, &out.Description
    42  		*out = new(string)
    43  		**out = **in
    44  	}
    45  	if in.UpdateTime != nil {
    46  		in, out := &in.UpdateTime, &out.UpdateTime
    47  		*out = new(string)
    48  		**out = **in
    49  	}
    50  	if in.WeeklyMaintenanceWindow != nil {
    51  		in, out := &in.WeeklyMaintenanceWindow, &out.WeeklyMaintenanceWindow
    52  		*out = make([]InstanceWeeklyMaintenanceWindow, len(*in))
    53  		for i := range *in {
    54  			(*in)[i].DeepCopyInto(&(*out)[i])
    55  		}
    56  	}
    57  	return
    58  }
    59  
    60  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMaintenancePolicy.
    61  func (in *InstanceMaintenancePolicy) DeepCopy() *InstanceMaintenancePolicy {
    62  	if in == nil {
    63  		return nil
    64  	}
    65  	out := new(InstanceMaintenancePolicy)
    66  	in.DeepCopyInto(out)
    67  	return out
    68  }
    69  
    70  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    71  func (in *InstanceMaintenanceSchedule) DeepCopyInto(out *InstanceMaintenanceSchedule) {
    72  	*out = *in
    73  	if in.EndTime != nil {
    74  		in, out := &in.EndTime, &out.EndTime
    75  		*out = new(string)
    76  		**out = **in
    77  	}
    78  	if in.ScheduleDeadlineTime != nil {
    79  		in, out := &in.ScheduleDeadlineTime, &out.ScheduleDeadlineTime
    80  		*out = new(string)
    81  		**out = **in
    82  	}
    83  	if in.StartTime != nil {
    84  		in, out := &in.StartTime, &out.StartTime
    85  		*out = new(string)
    86  		**out = **in
    87  	}
    88  	return
    89  }
    90  
    91  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMaintenanceSchedule.
    92  func (in *InstanceMaintenanceSchedule) DeepCopy() *InstanceMaintenanceSchedule {
    93  	if in == nil {
    94  		return nil
    95  	}
    96  	out := new(InstanceMaintenanceSchedule)
    97  	in.DeepCopyInto(out)
    98  	return out
    99  }
   100  
   101  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   102  func (in *InstanceNodesStatus) DeepCopyInto(out *InstanceNodesStatus) {
   103  	*out = *in
   104  	if in.Id != nil {
   105  		in, out := &in.Id, &out.Id
   106  		*out = new(string)
   107  		**out = **in
   108  	}
   109  	if in.Zone != nil {
   110  		in, out := &in.Zone, &out.Zone
   111  		*out = new(string)
   112  		**out = **in
   113  	}
   114  	return
   115  }
   116  
   117  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNodesStatus.
   118  func (in *InstanceNodesStatus) DeepCopy() *InstanceNodesStatus {
   119  	if in == nil {
   120  		return nil
   121  	}
   122  	out := new(InstanceNodesStatus)
   123  	in.DeepCopyInto(out)
   124  	return out
   125  }
   126  
   127  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   128  func (in *InstancePersistenceConfig) DeepCopyInto(out *InstancePersistenceConfig) {
   129  	*out = *in
   130  	if in.PersistenceMode != nil {
   131  		in, out := &in.PersistenceMode, &out.PersistenceMode
   132  		*out = new(string)
   133  		**out = **in
   134  	}
   135  	if in.RdbNextSnapshotTime != nil {
   136  		in, out := &in.RdbNextSnapshotTime, &out.RdbNextSnapshotTime
   137  		*out = new(string)
   138  		**out = **in
   139  	}
   140  	if in.RdbSnapshotPeriod != nil {
   141  		in, out := &in.RdbSnapshotPeriod, &out.RdbSnapshotPeriod
   142  		*out = new(string)
   143  		**out = **in
   144  	}
   145  	if in.RdbSnapshotStartTime != nil {
   146  		in, out := &in.RdbSnapshotStartTime, &out.RdbSnapshotStartTime
   147  		*out = new(string)
   148  		**out = **in
   149  	}
   150  	return
   151  }
   152  
   153  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancePersistenceConfig.
   154  func (in *InstancePersistenceConfig) DeepCopy() *InstancePersistenceConfig {
   155  	if in == nil {
   156  		return nil
   157  	}
   158  	out := new(InstancePersistenceConfig)
   159  	in.DeepCopyInto(out)
   160  	return out
   161  }
   162  
   163  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   164  func (in *InstanceServerCaCertsStatus) DeepCopyInto(out *InstanceServerCaCertsStatus) {
   165  	*out = *in
   166  	if in.Cert != nil {
   167  		in, out := &in.Cert, &out.Cert
   168  		*out = new(string)
   169  		**out = **in
   170  	}
   171  	if in.CreateTime != nil {
   172  		in, out := &in.CreateTime, &out.CreateTime
   173  		*out = new(string)
   174  		**out = **in
   175  	}
   176  	if in.ExpireTime != nil {
   177  		in, out := &in.ExpireTime, &out.ExpireTime
   178  		*out = new(string)
   179  		**out = **in
   180  	}
   181  	if in.SerialNumber != nil {
   182  		in, out := &in.SerialNumber, &out.SerialNumber
   183  		*out = new(string)
   184  		**out = **in
   185  	}
   186  	if in.Sha1Fingerprint != nil {
   187  		in, out := &in.Sha1Fingerprint, &out.Sha1Fingerprint
   188  		*out = new(string)
   189  		**out = **in
   190  	}
   191  	return
   192  }
   193  
   194  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceServerCaCertsStatus.
   195  func (in *InstanceServerCaCertsStatus) DeepCopy() *InstanceServerCaCertsStatus {
   196  	if in == nil {
   197  		return nil
   198  	}
   199  	out := new(InstanceServerCaCertsStatus)
   200  	in.DeepCopyInto(out)
   201  	return out
   202  }
   203  
   204  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   205  func (in *InstanceStartTime) DeepCopyInto(out *InstanceStartTime) {
   206  	*out = *in
   207  	if in.Hours != nil {
   208  		in, out := &in.Hours, &out.Hours
   209  		*out = new(int)
   210  		**out = **in
   211  	}
   212  	if in.Minutes != nil {
   213  		in, out := &in.Minutes, &out.Minutes
   214  		*out = new(int)
   215  		**out = **in
   216  	}
   217  	if in.Nanos != nil {
   218  		in, out := &in.Nanos, &out.Nanos
   219  		*out = new(int)
   220  		**out = **in
   221  	}
   222  	if in.Seconds != nil {
   223  		in, out := &in.Seconds, &out.Seconds
   224  		*out = new(int)
   225  		**out = **in
   226  	}
   227  	return
   228  }
   229  
   230  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStartTime.
   231  func (in *InstanceStartTime) DeepCopy() *InstanceStartTime {
   232  	if in == nil {
   233  		return nil
   234  	}
   235  	out := new(InstanceStartTime)
   236  	in.DeepCopyInto(out)
   237  	return out
   238  }
   239  
   240  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   241  func (in *InstanceWeeklyMaintenanceWindow) DeepCopyInto(out *InstanceWeeklyMaintenanceWindow) {
   242  	*out = *in
   243  	if in.Duration != nil {
   244  		in, out := &in.Duration, &out.Duration
   245  		*out = new(string)
   246  		**out = **in
   247  	}
   248  	in.StartTime.DeepCopyInto(&out.StartTime)
   249  	return
   250  }
   251  
   252  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceWeeklyMaintenanceWindow.
   253  func (in *InstanceWeeklyMaintenanceWindow) DeepCopy() *InstanceWeeklyMaintenanceWindow {
   254  	if in == nil {
   255  		return nil
   256  	}
   257  	out := new(InstanceWeeklyMaintenanceWindow)
   258  	in.DeepCopyInto(out)
   259  	return out
   260  }
   261  
   262  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   263  func (in *RedisInstance) DeepCopyInto(out *RedisInstance) {
   264  	*out = *in
   265  	out.TypeMeta = in.TypeMeta
   266  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   267  	in.Spec.DeepCopyInto(&out.Spec)
   268  	in.Status.DeepCopyInto(&out.Status)
   269  	return
   270  }
   271  
   272  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisInstance.
   273  func (in *RedisInstance) DeepCopy() *RedisInstance {
   274  	if in == nil {
   275  		return nil
   276  	}
   277  	out := new(RedisInstance)
   278  	in.DeepCopyInto(out)
   279  	return out
   280  }
   281  
   282  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   283  func (in *RedisInstance) DeepCopyObject() runtime.Object {
   284  	if c := in.DeepCopy(); c != nil {
   285  		return c
   286  	}
   287  	return nil
   288  }
   289  
   290  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   291  func (in *RedisInstanceList) DeepCopyInto(out *RedisInstanceList) {
   292  	*out = *in
   293  	out.TypeMeta = in.TypeMeta
   294  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   295  	if in.Items != nil {
   296  		in, out := &in.Items, &out.Items
   297  		*out = make([]RedisInstance, len(*in))
   298  		for i := range *in {
   299  			(*in)[i].DeepCopyInto(&(*out)[i])
   300  		}
   301  	}
   302  	return
   303  }
   304  
   305  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisInstanceList.
   306  func (in *RedisInstanceList) DeepCopy() *RedisInstanceList {
   307  	if in == nil {
   308  		return nil
   309  	}
   310  	out := new(RedisInstanceList)
   311  	in.DeepCopyInto(out)
   312  	return out
   313  }
   314  
   315  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   316  func (in *RedisInstanceList) DeepCopyObject() runtime.Object {
   317  	if c := in.DeepCopy(); c != nil {
   318  		return c
   319  	}
   320  	return nil
   321  }
   322  
   323  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   324  func (in *RedisInstanceSpec) DeepCopyInto(out *RedisInstanceSpec) {
   325  	*out = *in
   326  	if in.AlternativeLocationId != nil {
   327  		in, out := &in.AlternativeLocationId, &out.AlternativeLocationId
   328  		*out = new(string)
   329  		**out = **in
   330  	}
   331  	if in.AuthEnabled != nil {
   332  		in, out := &in.AuthEnabled, &out.AuthEnabled
   333  		*out = new(bool)
   334  		**out = **in
   335  	}
   336  	if in.AuthString != nil {
   337  		in, out := &in.AuthString, &out.AuthString
   338  		*out = new(string)
   339  		**out = **in
   340  	}
   341  	if in.AuthorizedNetworkRef != nil {
   342  		in, out := &in.AuthorizedNetworkRef, &out.AuthorizedNetworkRef
   343  		*out = new(v1alpha1.ResourceRef)
   344  		**out = **in
   345  	}
   346  	if in.ConnectMode != nil {
   347  		in, out := &in.ConnectMode, &out.ConnectMode
   348  		*out = new(string)
   349  		**out = **in
   350  	}
   351  	if in.CustomerManagedKeyRef != nil {
   352  		in, out := &in.CustomerManagedKeyRef, &out.CustomerManagedKeyRef
   353  		*out = new(v1alpha1.ResourceRef)
   354  		**out = **in
   355  	}
   356  	if in.DisplayName != nil {
   357  		in, out := &in.DisplayName, &out.DisplayName
   358  		*out = new(string)
   359  		**out = **in
   360  	}
   361  	if in.LocationId != nil {
   362  		in, out := &in.LocationId, &out.LocationId
   363  		*out = new(string)
   364  		**out = **in
   365  	}
   366  	if in.MaintenancePolicy != nil {
   367  		in, out := &in.MaintenancePolicy, &out.MaintenancePolicy
   368  		*out = new(InstanceMaintenancePolicy)
   369  		(*in).DeepCopyInto(*out)
   370  	}
   371  	if in.MaintenanceSchedule != nil {
   372  		in, out := &in.MaintenanceSchedule, &out.MaintenanceSchedule
   373  		*out = new(InstanceMaintenanceSchedule)
   374  		(*in).DeepCopyInto(*out)
   375  	}
   376  	if in.PersistenceConfig != nil {
   377  		in, out := &in.PersistenceConfig, &out.PersistenceConfig
   378  		*out = new(InstancePersistenceConfig)
   379  		(*in).DeepCopyInto(*out)
   380  	}
   381  	if in.ReadReplicasMode != nil {
   382  		in, out := &in.ReadReplicasMode, &out.ReadReplicasMode
   383  		*out = new(string)
   384  		**out = **in
   385  	}
   386  	if in.RedisConfigs != nil {
   387  		in, out := &in.RedisConfigs, &out.RedisConfigs
   388  		*out = make(map[string]string, len(*in))
   389  		for key, val := range *in {
   390  			(*out)[key] = val
   391  		}
   392  	}
   393  	if in.RedisVersion != nil {
   394  		in, out := &in.RedisVersion, &out.RedisVersion
   395  		*out = new(string)
   396  		**out = **in
   397  	}
   398  	if in.ReplicaCount != nil {
   399  		in, out := &in.ReplicaCount, &out.ReplicaCount
   400  		*out = new(int)
   401  		**out = **in
   402  	}
   403  	if in.ReservedIpRange != nil {
   404  		in, out := &in.ReservedIpRange, &out.ReservedIpRange
   405  		*out = new(string)
   406  		**out = **in
   407  	}
   408  	if in.ResourceID != nil {
   409  		in, out := &in.ResourceID, &out.ResourceID
   410  		*out = new(string)
   411  		**out = **in
   412  	}
   413  	if in.SecondaryIpRange != nil {
   414  		in, out := &in.SecondaryIpRange, &out.SecondaryIpRange
   415  		*out = new(string)
   416  		**out = **in
   417  	}
   418  	if in.Tier != nil {
   419  		in, out := &in.Tier, &out.Tier
   420  		*out = new(string)
   421  		**out = **in
   422  	}
   423  	if in.TransitEncryptionMode != nil {
   424  		in, out := &in.TransitEncryptionMode, &out.TransitEncryptionMode
   425  		*out = new(string)
   426  		**out = **in
   427  	}
   428  	return
   429  }
   430  
   431  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisInstanceSpec.
   432  func (in *RedisInstanceSpec) DeepCopy() *RedisInstanceSpec {
   433  	if in == nil {
   434  		return nil
   435  	}
   436  	out := new(RedisInstanceSpec)
   437  	in.DeepCopyInto(out)
   438  	return out
   439  }
   440  
   441  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   442  func (in *RedisInstanceStatus) DeepCopyInto(out *RedisInstanceStatus) {
   443  	*out = *in
   444  	if in.Conditions != nil {
   445  		in, out := &in.Conditions, &out.Conditions
   446  		*out = make([]v1alpha1.Condition, len(*in))
   447  		copy(*out, *in)
   448  	}
   449  	if in.CreateTime != nil {
   450  		in, out := &in.CreateTime, &out.CreateTime
   451  		*out = new(string)
   452  		**out = **in
   453  	}
   454  	if in.CurrentLocationId != nil {
   455  		in, out := &in.CurrentLocationId, &out.CurrentLocationId
   456  		*out = new(string)
   457  		**out = **in
   458  	}
   459  	if in.Host != nil {
   460  		in, out := &in.Host, &out.Host
   461  		*out = new(string)
   462  		**out = **in
   463  	}
   464  	if in.Nodes != nil {
   465  		in, out := &in.Nodes, &out.Nodes
   466  		*out = make([]InstanceNodesStatus, len(*in))
   467  		for i := range *in {
   468  			(*in)[i].DeepCopyInto(&(*out)[i])
   469  		}
   470  	}
   471  	if in.ObservedGeneration != nil {
   472  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   473  		*out = new(int)
   474  		**out = **in
   475  	}
   476  	if in.PersistenceIamIdentity != nil {
   477  		in, out := &in.PersistenceIamIdentity, &out.PersistenceIamIdentity
   478  		*out = new(string)
   479  		**out = **in
   480  	}
   481  	if in.Port != nil {
   482  		in, out := &in.Port, &out.Port
   483  		*out = new(int)
   484  		**out = **in
   485  	}
   486  	if in.ReadEndpoint != nil {
   487  		in, out := &in.ReadEndpoint, &out.ReadEndpoint
   488  		*out = new(string)
   489  		**out = **in
   490  	}
   491  	if in.ReadEndpointPort != nil {
   492  		in, out := &in.ReadEndpointPort, &out.ReadEndpointPort
   493  		*out = new(int)
   494  		**out = **in
   495  	}
   496  	if in.ServerCaCerts != nil {
   497  		in, out := &in.ServerCaCerts, &out.ServerCaCerts
   498  		*out = make([]InstanceServerCaCertsStatus, len(*in))
   499  		for i := range *in {
   500  			(*in)[i].DeepCopyInto(&(*out)[i])
   501  		}
   502  	}
   503  	return
   504  }
   505  
   506  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisInstanceStatus.
   507  func (in *RedisInstanceStatus) DeepCopy() *RedisInstanceStatus {
   508  	if in == nil {
   509  		return nil
   510  	}
   511  	out := new(RedisInstanceStatus)
   512  	in.DeepCopyInto(out)
   513  	return out
   514  }
   515  

View as plain text