...

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

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/apis/memcache/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 *InstanceMaintenanceScheduleStatus) DeepCopyInto(out *InstanceMaintenanceScheduleStatus) {
    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 InstanceMaintenanceScheduleStatus.
    92  func (in *InstanceMaintenanceScheduleStatus) DeepCopy() *InstanceMaintenanceScheduleStatus {
    93  	if in == nil {
    94  		return nil
    95  	}
    96  	out := new(InstanceMaintenanceScheduleStatus)
    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 *InstanceMemcacheNodesStatus) DeepCopyInto(out *InstanceMemcacheNodesStatus) {
   103  	*out = *in
   104  	if in.Host != nil {
   105  		in, out := &in.Host, &out.Host
   106  		*out = new(string)
   107  		**out = **in
   108  	}
   109  	if in.NodeId != nil {
   110  		in, out := &in.NodeId, &out.NodeId
   111  		*out = new(string)
   112  		**out = **in
   113  	}
   114  	if in.Port != nil {
   115  		in, out := &in.Port, &out.Port
   116  		*out = new(int)
   117  		**out = **in
   118  	}
   119  	if in.State != nil {
   120  		in, out := &in.State, &out.State
   121  		*out = new(string)
   122  		**out = **in
   123  	}
   124  	if in.Zone != nil {
   125  		in, out := &in.Zone, &out.Zone
   126  		*out = new(string)
   127  		**out = **in
   128  	}
   129  	return
   130  }
   131  
   132  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMemcacheNodesStatus.
   133  func (in *InstanceMemcacheNodesStatus) DeepCopy() *InstanceMemcacheNodesStatus {
   134  	if in == nil {
   135  		return nil
   136  	}
   137  	out := new(InstanceMemcacheNodesStatus)
   138  	in.DeepCopyInto(out)
   139  	return out
   140  }
   141  
   142  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   143  func (in *InstanceMemcacheParameters) DeepCopyInto(out *InstanceMemcacheParameters) {
   144  	*out = *in
   145  	if in.Id != nil {
   146  		in, out := &in.Id, &out.Id
   147  		*out = new(string)
   148  		**out = **in
   149  	}
   150  	if in.Params != nil {
   151  		in, out := &in.Params, &out.Params
   152  		*out = make(map[string]string, len(*in))
   153  		for key, val := range *in {
   154  			(*out)[key] = val
   155  		}
   156  	}
   157  	return
   158  }
   159  
   160  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMemcacheParameters.
   161  func (in *InstanceMemcacheParameters) DeepCopy() *InstanceMemcacheParameters {
   162  	if in == nil {
   163  		return nil
   164  	}
   165  	out := new(InstanceMemcacheParameters)
   166  	in.DeepCopyInto(out)
   167  	return out
   168  }
   169  
   170  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   171  func (in *InstanceNodeConfig) DeepCopyInto(out *InstanceNodeConfig) {
   172  	*out = *in
   173  	return
   174  }
   175  
   176  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNodeConfig.
   177  func (in *InstanceNodeConfig) DeepCopy() *InstanceNodeConfig {
   178  	if in == nil {
   179  		return nil
   180  	}
   181  	out := new(InstanceNodeConfig)
   182  	in.DeepCopyInto(out)
   183  	return out
   184  }
   185  
   186  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   187  func (in *InstanceStartTime) DeepCopyInto(out *InstanceStartTime) {
   188  	*out = *in
   189  	if in.Hours != nil {
   190  		in, out := &in.Hours, &out.Hours
   191  		*out = new(int)
   192  		**out = **in
   193  	}
   194  	if in.Minutes != nil {
   195  		in, out := &in.Minutes, &out.Minutes
   196  		*out = new(int)
   197  		**out = **in
   198  	}
   199  	if in.Nanos != nil {
   200  		in, out := &in.Nanos, &out.Nanos
   201  		*out = new(int)
   202  		**out = **in
   203  	}
   204  	if in.Seconds != nil {
   205  		in, out := &in.Seconds, &out.Seconds
   206  		*out = new(int)
   207  		**out = **in
   208  	}
   209  	return
   210  }
   211  
   212  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStartTime.
   213  func (in *InstanceStartTime) DeepCopy() *InstanceStartTime {
   214  	if in == nil {
   215  		return nil
   216  	}
   217  	out := new(InstanceStartTime)
   218  	in.DeepCopyInto(out)
   219  	return out
   220  }
   221  
   222  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   223  func (in *InstanceWeeklyMaintenanceWindow) DeepCopyInto(out *InstanceWeeklyMaintenanceWindow) {
   224  	*out = *in
   225  	in.StartTime.DeepCopyInto(&out.StartTime)
   226  	return
   227  }
   228  
   229  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceWeeklyMaintenanceWindow.
   230  func (in *InstanceWeeklyMaintenanceWindow) DeepCopy() *InstanceWeeklyMaintenanceWindow {
   231  	if in == nil {
   232  		return nil
   233  	}
   234  	out := new(InstanceWeeklyMaintenanceWindow)
   235  	in.DeepCopyInto(out)
   236  	return out
   237  }
   238  
   239  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   240  func (in *MemcacheInstance) DeepCopyInto(out *MemcacheInstance) {
   241  	*out = *in
   242  	out.TypeMeta = in.TypeMeta
   243  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   244  	in.Spec.DeepCopyInto(&out.Spec)
   245  	in.Status.DeepCopyInto(&out.Status)
   246  	return
   247  }
   248  
   249  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcacheInstance.
   250  func (in *MemcacheInstance) DeepCopy() *MemcacheInstance {
   251  	if in == nil {
   252  		return nil
   253  	}
   254  	out := new(MemcacheInstance)
   255  	in.DeepCopyInto(out)
   256  	return out
   257  }
   258  
   259  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   260  func (in *MemcacheInstance) DeepCopyObject() runtime.Object {
   261  	if c := in.DeepCopy(); c != nil {
   262  		return c
   263  	}
   264  	return nil
   265  }
   266  
   267  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   268  func (in *MemcacheInstanceList) DeepCopyInto(out *MemcacheInstanceList) {
   269  	*out = *in
   270  	out.TypeMeta = in.TypeMeta
   271  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   272  	if in.Items != nil {
   273  		in, out := &in.Items, &out.Items
   274  		*out = make([]MemcacheInstance, len(*in))
   275  		for i := range *in {
   276  			(*in)[i].DeepCopyInto(&(*out)[i])
   277  		}
   278  	}
   279  	return
   280  }
   281  
   282  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcacheInstanceList.
   283  func (in *MemcacheInstanceList) DeepCopy() *MemcacheInstanceList {
   284  	if in == nil {
   285  		return nil
   286  	}
   287  	out := new(MemcacheInstanceList)
   288  	in.DeepCopyInto(out)
   289  	return out
   290  }
   291  
   292  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   293  func (in *MemcacheInstanceList) DeepCopyObject() runtime.Object {
   294  	if c := in.DeepCopy(); c != nil {
   295  		return c
   296  	}
   297  	return nil
   298  }
   299  
   300  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   301  func (in *MemcacheInstanceSpec) DeepCopyInto(out *MemcacheInstanceSpec) {
   302  	*out = *in
   303  	if in.DisplayName != nil {
   304  		in, out := &in.DisplayName, &out.DisplayName
   305  		*out = new(string)
   306  		**out = **in
   307  	}
   308  	if in.MaintenancePolicy != nil {
   309  		in, out := &in.MaintenancePolicy, &out.MaintenancePolicy
   310  		*out = new(InstanceMaintenancePolicy)
   311  		(*in).DeepCopyInto(*out)
   312  	}
   313  	if in.MemcacheParameters != nil {
   314  		in, out := &in.MemcacheParameters, &out.MemcacheParameters
   315  		*out = new(InstanceMemcacheParameters)
   316  		(*in).DeepCopyInto(*out)
   317  	}
   318  	if in.MemcacheVersion != nil {
   319  		in, out := &in.MemcacheVersion, &out.MemcacheVersion
   320  		*out = new(string)
   321  		**out = **in
   322  	}
   323  	if in.NetworkRef != nil {
   324  		in, out := &in.NetworkRef, &out.NetworkRef
   325  		*out = new(v1alpha1.ResourceRef)
   326  		**out = **in
   327  	}
   328  	out.NodeConfig = in.NodeConfig
   329  	if in.ResourceID != nil {
   330  		in, out := &in.ResourceID, &out.ResourceID
   331  		*out = new(string)
   332  		**out = **in
   333  	}
   334  	if in.Zones != nil {
   335  		in, out := &in.Zones, &out.Zones
   336  		*out = make([]string, len(*in))
   337  		copy(*out, *in)
   338  	}
   339  	return
   340  }
   341  
   342  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcacheInstanceSpec.
   343  func (in *MemcacheInstanceSpec) DeepCopy() *MemcacheInstanceSpec {
   344  	if in == nil {
   345  		return nil
   346  	}
   347  	out := new(MemcacheInstanceSpec)
   348  	in.DeepCopyInto(out)
   349  	return out
   350  }
   351  
   352  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   353  func (in *MemcacheInstanceStatus) DeepCopyInto(out *MemcacheInstanceStatus) {
   354  	*out = *in
   355  	if in.Conditions != nil {
   356  		in, out := &in.Conditions, &out.Conditions
   357  		*out = make([]v1alpha1.Condition, len(*in))
   358  		copy(*out, *in)
   359  	}
   360  	if in.CreateTime != nil {
   361  		in, out := &in.CreateTime, &out.CreateTime
   362  		*out = new(string)
   363  		**out = **in
   364  	}
   365  	if in.DiscoveryEndpoint != nil {
   366  		in, out := &in.DiscoveryEndpoint, &out.DiscoveryEndpoint
   367  		*out = new(string)
   368  		**out = **in
   369  	}
   370  	if in.MaintenanceSchedule != nil {
   371  		in, out := &in.MaintenanceSchedule, &out.MaintenanceSchedule
   372  		*out = make([]InstanceMaintenanceScheduleStatus, len(*in))
   373  		for i := range *in {
   374  			(*in)[i].DeepCopyInto(&(*out)[i])
   375  		}
   376  	}
   377  	if in.MemcacheFullVersion != nil {
   378  		in, out := &in.MemcacheFullVersion, &out.MemcacheFullVersion
   379  		*out = new(string)
   380  		**out = **in
   381  	}
   382  	if in.MemcacheNodes != nil {
   383  		in, out := &in.MemcacheNodes, &out.MemcacheNodes
   384  		*out = make([]InstanceMemcacheNodesStatus, len(*in))
   385  		for i := range *in {
   386  			(*in)[i].DeepCopyInto(&(*out)[i])
   387  		}
   388  	}
   389  	if in.ObservedGeneration != nil {
   390  		in, out := &in.ObservedGeneration, &out.ObservedGeneration
   391  		*out = new(int)
   392  		**out = **in
   393  	}
   394  	return
   395  }
   396  
   397  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcacheInstanceStatus.
   398  func (in *MemcacheInstanceStatus) DeepCopy() *MemcacheInstanceStatus {
   399  	if in == nil {
   400  		return nil
   401  	}
   402  	out := new(MemcacheInstanceStatus)
   403  	in.DeepCopyInto(out)
   404  	return out
   405  }
   406  

View as plain text