sigs.k8s.io/cluster-api-provider-aws@v1.5.5/exp/api/v1alpha4/zz_generated.deepcopy.go (about)

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright The Kubernetes Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11  	http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by controller-gen. DO NOT EDIT.
    21  
    22  package v1alpha4
    23  
    24  import (
    25  	"k8s.io/apimachinery/pkg/runtime"
    26  	apiv1alpha4 "sigs.k8s.io/cluster-api-provider-aws/api/v1alpha4"
    27  	cluster_apiapiv1alpha4 "sigs.k8s.io/cluster-api/api/v1alpha4"
    28  	"sigs.k8s.io/cluster-api/errors"
    29  )
    30  
    31  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    32  func (in *AWSFargateProfile) DeepCopyInto(out *AWSFargateProfile) {
    33  	*out = *in
    34  	out.TypeMeta = in.TypeMeta
    35  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    36  	in.Spec.DeepCopyInto(&out.Spec)
    37  	in.Status.DeepCopyInto(&out.Status)
    38  }
    39  
    40  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSFargateProfile.
    41  func (in *AWSFargateProfile) DeepCopy() *AWSFargateProfile {
    42  	if in == nil {
    43  		return nil
    44  	}
    45  	out := new(AWSFargateProfile)
    46  	in.DeepCopyInto(out)
    47  	return out
    48  }
    49  
    50  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    51  func (in *AWSFargateProfile) DeepCopyObject() runtime.Object {
    52  	if c := in.DeepCopy(); c != nil {
    53  		return c
    54  	}
    55  	return nil
    56  }
    57  
    58  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    59  func (in *AWSFargateProfileList) DeepCopyInto(out *AWSFargateProfileList) {
    60  	*out = *in
    61  	out.TypeMeta = in.TypeMeta
    62  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    63  	if in.Items != nil {
    64  		in, out := &in.Items, &out.Items
    65  		*out = make([]AWSFargateProfile, len(*in))
    66  		for i := range *in {
    67  			(*in)[i].DeepCopyInto(&(*out)[i])
    68  		}
    69  	}
    70  }
    71  
    72  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSFargateProfileList.
    73  func (in *AWSFargateProfileList) DeepCopy() *AWSFargateProfileList {
    74  	if in == nil {
    75  		return nil
    76  	}
    77  	out := new(AWSFargateProfileList)
    78  	in.DeepCopyInto(out)
    79  	return out
    80  }
    81  
    82  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    83  func (in *AWSFargateProfileList) DeepCopyObject() runtime.Object {
    84  	if c := in.DeepCopy(); c != nil {
    85  		return c
    86  	}
    87  	return nil
    88  }
    89  
    90  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    91  func (in *AWSLaunchTemplate) DeepCopyInto(out *AWSLaunchTemplate) {
    92  	*out = *in
    93  	in.AMI.DeepCopyInto(&out.AMI)
    94  	if in.RootVolume != nil {
    95  		in, out := &in.RootVolume, &out.RootVolume
    96  		*out = new(apiv1alpha4.Volume)
    97  		(*in).DeepCopyInto(*out)
    98  	}
    99  	if in.SSHKeyName != nil {
   100  		in, out := &in.SSHKeyName, &out.SSHKeyName
   101  		*out = new(string)
   102  		**out = **in
   103  	}
   104  	if in.VersionNumber != nil {
   105  		in, out := &in.VersionNumber, &out.VersionNumber
   106  		*out = new(int64)
   107  		**out = **in
   108  	}
   109  	if in.AdditionalSecurityGroups != nil {
   110  		in, out := &in.AdditionalSecurityGroups, &out.AdditionalSecurityGroups
   111  		*out = make([]apiv1alpha4.AWSResourceReference, len(*in))
   112  		for i := range *in {
   113  			(*in)[i].DeepCopyInto(&(*out)[i])
   114  		}
   115  	}
   116  }
   117  
   118  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSLaunchTemplate.
   119  func (in *AWSLaunchTemplate) DeepCopy() *AWSLaunchTemplate {
   120  	if in == nil {
   121  		return nil
   122  	}
   123  	out := new(AWSLaunchTemplate)
   124  	in.DeepCopyInto(out)
   125  	return out
   126  }
   127  
   128  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   129  func (in *AWSMachinePool) DeepCopyInto(out *AWSMachinePool) {
   130  	*out = *in
   131  	out.TypeMeta = in.TypeMeta
   132  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   133  	in.Spec.DeepCopyInto(&out.Spec)
   134  	in.Status.DeepCopyInto(&out.Status)
   135  }
   136  
   137  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachinePool.
   138  func (in *AWSMachinePool) DeepCopy() *AWSMachinePool {
   139  	if in == nil {
   140  		return nil
   141  	}
   142  	out := new(AWSMachinePool)
   143  	in.DeepCopyInto(out)
   144  	return out
   145  }
   146  
   147  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   148  func (in *AWSMachinePool) DeepCopyObject() runtime.Object {
   149  	if c := in.DeepCopy(); c != nil {
   150  		return c
   151  	}
   152  	return nil
   153  }
   154  
   155  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   156  func (in *AWSMachinePoolInstanceStatus) DeepCopyInto(out *AWSMachinePoolInstanceStatus) {
   157  	*out = *in
   158  	if in.Version != nil {
   159  		in, out := &in.Version, &out.Version
   160  		*out = new(string)
   161  		**out = **in
   162  	}
   163  }
   164  
   165  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachinePoolInstanceStatus.
   166  func (in *AWSMachinePoolInstanceStatus) DeepCopy() *AWSMachinePoolInstanceStatus {
   167  	if in == nil {
   168  		return nil
   169  	}
   170  	out := new(AWSMachinePoolInstanceStatus)
   171  	in.DeepCopyInto(out)
   172  	return out
   173  }
   174  
   175  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   176  func (in *AWSMachinePoolList) DeepCopyInto(out *AWSMachinePoolList) {
   177  	*out = *in
   178  	out.TypeMeta = in.TypeMeta
   179  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   180  	if in.Items != nil {
   181  		in, out := &in.Items, &out.Items
   182  		*out = make([]AWSMachinePool, len(*in))
   183  		for i := range *in {
   184  			(*in)[i].DeepCopyInto(&(*out)[i])
   185  		}
   186  	}
   187  }
   188  
   189  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachinePoolList.
   190  func (in *AWSMachinePoolList) DeepCopy() *AWSMachinePoolList {
   191  	if in == nil {
   192  		return nil
   193  	}
   194  	out := new(AWSMachinePoolList)
   195  	in.DeepCopyInto(out)
   196  	return out
   197  }
   198  
   199  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   200  func (in *AWSMachinePoolList) DeepCopyObject() runtime.Object {
   201  	if c := in.DeepCopy(); c != nil {
   202  		return c
   203  	}
   204  	return nil
   205  }
   206  
   207  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   208  func (in *AWSMachinePoolSpec) DeepCopyInto(out *AWSMachinePoolSpec) {
   209  	*out = *in
   210  	if in.AvailabilityZones != nil {
   211  		in, out := &in.AvailabilityZones, &out.AvailabilityZones
   212  		*out = make([]string, len(*in))
   213  		copy(*out, *in)
   214  	}
   215  	if in.Subnets != nil {
   216  		in, out := &in.Subnets, &out.Subnets
   217  		*out = make([]apiv1alpha4.AWSResourceReference, len(*in))
   218  		for i := range *in {
   219  			(*in)[i].DeepCopyInto(&(*out)[i])
   220  		}
   221  	}
   222  	if in.AdditionalTags != nil {
   223  		in, out := &in.AdditionalTags, &out.AdditionalTags
   224  		*out = make(apiv1alpha4.Tags, len(*in))
   225  		for key, val := range *in {
   226  			(*out)[key] = val
   227  		}
   228  	}
   229  	in.AWSLaunchTemplate.DeepCopyInto(&out.AWSLaunchTemplate)
   230  	if in.MixedInstancesPolicy != nil {
   231  		in, out := &in.MixedInstancesPolicy, &out.MixedInstancesPolicy
   232  		*out = new(MixedInstancesPolicy)
   233  		(*in).DeepCopyInto(*out)
   234  	}
   235  	if in.ProviderIDList != nil {
   236  		in, out := &in.ProviderIDList, &out.ProviderIDList
   237  		*out = make([]string, len(*in))
   238  		copy(*out, *in)
   239  	}
   240  	out.DefaultCoolDown = in.DefaultCoolDown
   241  	if in.RefreshPreferences != nil {
   242  		in, out := &in.RefreshPreferences, &out.RefreshPreferences
   243  		*out = new(RefreshPreferences)
   244  		(*in).DeepCopyInto(*out)
   245  	}
   246  }
   247  
   248  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachinePoolSpec.
   249  func (in *AWSMachinePoolSpec) DeepCopy() *AWSMachinePoolSpec {
   250  	if in == nil {
   251  		return nil
   252  	}
   253  	out := new(AWSMachinePoolSpec)
   254  	in.DeepCopyInto(out)
   255  	return out
   256  }
   257  
   258  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   259  func (in *AWSMachinePoolStatus) DeepCopyInto(out *AWSMachinePoolStatus) {
   260  	*out = *in
   261  	if in.Conditions != nil {
   262  		in, out := &in.Conditions, &out.Conditions
   263  		*out = make(cluster_apiapiv1alpha4.Conditions, len(*in))
   264  		for i := range *in {
   265  			(*in)[i].DeepCopyInto(&(*out)[i])
   266  		}
   267  	}
   268  	if in.Instances != nil {
   269  		in, out := &in.Instances, &out.Instances
   270  		*out = make([]AWSMachinePoolInstanceStatus, len(*in))
   271  		for i := range *in {
   272  			(*in)[i].DeepCopyInto(&(*out)[i])
   273  		}
   274  	}
   275  	if in.FailureReason != nil {
   276  		in, out := &in.FailureReason, &out.FailureReason
   277  		*out = new(errors.MachineStatusError)
   278  		**out = **in
   279  	}
   280  	if in.FailureMessage != nil {
   281  		in, out := &in.FailureMessage, &out.FailureMessage
   282  		*out = new(string)
   283  		**out = **in
   284  	}
   285  	if in.ASGStatus != nil {
   286  		in, out := &in.ASGStatus, &out.ASGStatus
   287  		*out = new(ASGStatus)
   288  		**out = **in
   289  	}
   290  }
   291  
   292  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachinePoolStatus.
   293  func (in *AWSMachinePoolStatus) DeepCopy() *AWSMachinePoolStatus {
   294  	if in == nil {
   295  		return nil
   296  	}
   297  	out := new(AWSMachinePoolStatus)
   298  	in.DeepCopyInto(out)
   299  	return out
   300  }
   301  
   302  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   303  func (in *AWSManagedMachinePool) DeepCopyInto(out *AWSManagedMachinePool) {
   304  	*out = *in
   305  	out.TypeMeta = in.TypeMeta
   306  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   307  	in.Spec.DeepCopyInto(&out.Spec)
   308  	in.Status.DeepCopyInto(&out.Status)
   309  }
   310  
   311  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedMachinePool.
   312  func (in *AWSManagedMachinePool) DeepCopy() *AWSManagedMachinePool {
   313  	if in == nil {
   314  		return nil
   315  	}
   316  	out := new(AWSManagedMachinePool)
   317  	in.DeepCopyInto(out)
   318  	return out
   319  }
   320  
   321  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   322  func (in *AWSManagedMachinePool) DeepCopyObject() runtime.Object {
   323  	if c := in.DeepCopy(); c != nil {
   324  		return c
   325  	}
   326  	return nil
   327  }
   328  
   329  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   330  func (in *AWSManagedMachinePoolList) DeepCopyInto(out *AWSManagedMachinePoolList) {
   331  	*out = *in
   332  	out.TypeMeta = in.TypeMeta
   333  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   334  	if in.Items != nil {
   335  		in, out := &in.Items, &out.Items
   336  		*out = make([]AWSManagedMachinePool, len(*in))
   337  		for i := range *in {
   338  			(*in)[i].DeepCopyInto(&(*out)[i])
   339  		}
   340  	}
   341  }
   342  
   343  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedMachinePoolList.
   344  func (in *AWSManagedMachinePoolList) DeepCopy() *AWSManagedMachinePoolList {
   345  	if in == nil {
   346  		return nil
   347  	}
   348  	out := new(AWSManagedMachinePoolList)
   349  	in.DeepCopyInto(out)
   350  	return out
   351  }
   352  
   353  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   354  func (in *AWSManagedMachinePoolList) DeepCopyObject() runtime.Object {
   355  	if c := in.DeepCopy(); c != nil {
   356  		return c
   357  	}
   358  	return nil
   359  }
   360  
   361  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   362  func (in *AWSManagedMachinePoolSpec) DeepCopyInto(out *AWSManagedMachinePoolSpec) {
   363  	*out = *in
   364  	if in.AvailabilityZones != nil {
   365  		in, out := &in.AvailabilityZones, &out.AvailabilityZones
   366  		*out = make([]string, len(*in))
   367  		copy(*out, *in)
   368  	}
   369  	if in.SubnetIDs != nil {
   370  		in, out := &in.SubnetIDs, &out.SubnetIDs
   371  		*out = make([]string, len(*in))
   372  		copy(*out, *in)
   373  	}
   374  	if in.AdditionalTags != nil {
   375  		in, out := &in.AdditionalTags, &out.AdditionalTags
   376  		*out = make(apiv1alpha4.Tags, len(*in))
   377  		for key, val := range *in {
   378  			(*out)[key] = val
   379  		}
   380  	}
   381  	if in.AMIVersion != nil {
   382  		in, out := &in.AMIVersion, &out.AMIVersion
   383  		*out = new(string)
   384  		**out = **in
   385  	}
   386  	if in.AMIType != nil {
   387  		in, out := &in.AMIType, &out.AMIType
   388  		*out = new(ManagedMachineAMIType)
   389  		**out = **in
   390  	}
   391  	if in.Labels != nil {
   392  		in, out := &in.Labels, &out.Labels
   393  		*out = make(map[string]string, len(*in))
   394  		for key, val := range *in {
   395  			(*out)[key] = val
   396  		}
   397  	}
   398  	if in.Taints != nil {
   399  		in, out := &in.Taints, &out.Taints
   400  		*out = make(Taints, len(*in))
   401  		copy(*out, *in)
   402  	}
   403  	if in.DiskSize != nil {
   404  		in, out := &in.DiskSize, &out.DiskSize
   405  		*out = new(int32)
   406  		**out = **in
   407  	}
   408  	if in.InstanceType != nil {
   409  		in, out := &in.InstanceType, &out.InstanceType
   410  		*out = new(string)
   411  		**out = **in
   412  	}
   413  	if in.Scaling != nil {
   414  		in, out := &in.Scaling, &out.Scaling
   415  		*out = new(ManagedMachinePoolScaling)
   416  		(*in).DeepCopyInto(*out)
   417  	}
   418  	if in.RemoteAccess != nil {
   419  		in, out := &in.RemoteAccess, &out.RemoteAccess
   420  		*out = new(ManagedRemoteAccess)
   421  		(*in).DeepCopyInto(*out)
   422  	}
   423  	if in.ProviderIDList != nil {
   424  		in, out := &in.ProviderIDList, &out.ProviderIDList
   425  		*out = make([]string, len(*in))
   426  		copy(*out, *in)
   427  	}
   428  	if in.CapacityType != nil {
   429  		in, out := &in.CapacityType, &out.CapacityType
   430  		*out = new(ManagedMachinePoolCapacityType)
   431  		**out = **in
   432  	}
   433  }
   434  
   435  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedMachinePoolSpec.
   436  func (in *AWSManagedMachinePoolSpec) DeepCopy() *AWSManagedMachinePoolSpec {
   437  	if in == nil {
   438  		return nil
   439  	}
   440  	out := new(AWSManagedMachinePoolSpec)
   441  	in.DeepCopyInto(out)
   442  	return out
   443  }
   444  
   445  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   446  func (in *AWSManagedMachinePoolStatus) DeepCopyInto(out *AWSManagedMachinePoolStatus) {
   447  	*out = *in
   448  	if in.FailureReason != nil {
   449  		in, out := &in.FailureReason, &out.FailureReason
   450  		*out = new(errors.MachineStatusError)
   451  		**out = **in
   452  	}
   453  	if in.FailureMessage != nil {
   454  		in, out := &in.FailureMessage, &out.FailureMessage
   455  		*out = new(string)
   456  		**out = **in
   457  	}
   458  	if in.Conditions != nil {
   459  		in, out := &in.Conditions, &out.Conditions
   460  		*out = make(cluster_apiapiv1alpha4.Conditions, len(*in))
   461  		for i := range *in {
   462  			(*in)[i].DeepCopyInto(&(*out)[i])
   463  		}
   464  	}
   465  }
   466  
   467  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedMachinePoolStatus.
   468  func (in *AWSManagedMachinePoolStatus) DeepCopy() *AWSManagedMachinePoolStatus {
   469  	if in == nil {
   470  		return nil
   471  	}
   472  	out := new(AWSManagedMachinePoolStatus)
   473  	in.DeepCopyInto(out)
   474  	return out
   475  }
   476  
   477  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   478  func (in *AutoScalingGroup) DeepCopyInto(out *AutoScalingGroup) {
   479  	*out = *in
   480  	if in.Tags != nil {
   481  		in, out := &in.Tags, &out.Tags
   482  		*out = make(apiv1alpha4.Tags, len(*in))
   483  		for key, val := range *in {
   484  			(*out)[key] = val
   485  		}
   486  	}
   487  	if in.DesiredCapacity != nil {
   488  		in, out := &in.DesiredCapacity, &out.DesiredCapacity
   489  		*out = new(int32)
   490  		**out = **in
   491  	}
   492  	if in.Subnets != nil {
   493  		in, out := &in.Subnets, &out.Subnets
   494  		*out = make([]string, len(*in))
   495  		copy(*out, *in)
   496  	}
   497  	out.DefaultCoolDown = in.DefaultCoolDown
   498  	if in.MixedInstancesPolicy != nil {
   499  		in, out := &in.MixedInstancesPolicy, &out.MixedInstancesPolicy
   500  		*out = new(MixedInstancesPolicy)
   501  		(*in).DeepCopyInto(*out)
   502  	}
   503  	if in.Instances != nil {
   504  		in, out := &in.Instances, &out.Instances
   505  		*out = make([]apiv1alpha4.Instance, len(*in))
   506  		for i := range *in {
   507  			(*in)[i].DeepCopyInto(&(*out)[i])
   508  		}
   509  	}
   510  }
   511  
   512  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScalingGroup.
   513  func (in *AutoScalingGroup) DeepCopy() *AutoScalingGroup {
   514  	if in == nil {
   515  		return nil
   516  	}
   517  	out := new(AutoScalingGroup)
   518  	in.DeepCopyInto(out)
   519  	return out
   520  }
   521  
   522  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   523  func (in *BlockDeviceMapping) DeepCopyInto(out *BlockDeviceMapping) {
   524  	*out = *in
   525  	out.Ebs = in.Ebs
   526  }
   527  
   528  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceMapping.
   529  func (in *BlockDeviceMapping) DeepCopy() *BlockDeviceMapping {
   530  	if in == nil {
   531  		return nil
   532  	}
   533  	out := new(BlockDeviceMapping)
   534  	in.DeepCopyInto(out)
   535  	return out
   536  }
   537  
   538  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   539  func (in *EBS) DeepCopyInto(out *EBS) {
   540  	*out = *in
   541  }
   542  
   543  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EBS.
   544  func (in *EBS) DeepCopy() *EBS {
   545  	if in == nil {
   546  		return nil
   547  	}
   548  	out := new(EBS)
   549  	in.DeepCopyInto(out)
   550  	return out
   551  }
   552  
   553  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   554  func (in *FargateProfileSpec) DeepCopyInto(out *FargateProfileSpec) {
   555  	*out = *in
   556  	if in.SubnetIDs != nil {
   557  		in, out := &in.SubnetIDs, &out.SubnetIDs
   558  		*out = make([]string, len(*in))
   559  		copy(*out, *in)
   560  	}
   561  	if in.AdditionalTags != nil {
   562  		in, out := &in.AdditionalTags, &out.AdditionalTags
   563  		*out = make(apiv1alpha4.Tags, len(*in))
   564  		for key, val := range *in {
   565  			(*out)[key] = val
   566  		}
   567  	}
   568  	if in.Selectors != nil {
   569  		in, out := &in.Selectors, &out.Selectors
   570  		*out = make([]FargateSelector, len(*in))
   571  		for i := range *in {
   572  			(*in)[i].DeepCopyInto(&(*out)[i])
   573  		}
   574  	}
   575  }
   576  
   577  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FargateProfileSpec.
   578  func (in *FargateProfileSpec) DeepCopy() *FargateProfileSpec {
   579  	if in == nil {
   580  		return nil
   581  	}
   582  	out := new(FargateProfileSpec)
   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 *FargateProfileStatus) DeepCopyInto(out *FargateProfileStatus) {
   589  	*out = *in
   590  	if in.FailureReason != nil {
   591  		in, out := &in.FailureReason, &out.FailureReason
   592  		*out = new(errors.MachineStatusError)
   593  		**out = **in
   594  	}
   595  	if in.FailureMessage != nil {
   596  		in, out := &in.FailureMessage, &out.FailureMessage
   597  		*out = new(string)
   598  		**out = **in
   599  	}
   600  	if in.Conditions != nil {
   601  		in, out := &in.Conditions, &out.Conditions
   602  		*out = make(cluster_apiapiv1alpha4.Conditions, len(*in))
   603  		for i := range *in {
   604  			(*in)[i].DeepCopyInto(&(*out)[i])
   605  		}
   606  	}
   607  }
   608  
   609  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FargateProfileStatus.
   610  func (in *FargateProfileStatus) DeepCopy() *FargateProfileStatus {
   611  	if in == nil {
   612  		return nil
   613  	}
   614  	out := new(FargateProfileStatus)
   615  	in.DeepCopyInto(out)
   616  	return out
   617  }
   618  
   619  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   620  func (in *FargateSelector) DeepCopyInto(out *FargateSelector) {
   621  	*out = *in
   622  	if in.Labels != nil {
   623  		in, out := &in.Labels, &out.Labels
   624  		*out = make(map[string]string, len(*in))
   625  		for key, val := range *in {
   626  			(*out)[key] = val
   627  		}
   628  	}
   629  }
   630  
   631  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FargateSelector.
   632  func (in *FargateSelector) DeepCopy() *FargateSelector {
   633  	if in == nil {
   634  		return nil
   635  	}
   636  	out := new(FargateSelector)
   637  	in.DeepCopyInto(out)
   638  	return out
   639  }
   640  
   641  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   642  func (in *InstancesDistribution) DeepCopyInto(out *InstancesDistribution) {
   643  	*out = *in
   644  	if in.OnDemandBaseCapacity != nil {
   645  		in, out := &in.OnDemandBaseCapacity, &out.OnDemandBaseCapacity
   646  		*out = new(int64)
   647  		**out = **in
   648  	}
   649  	if in.OnDemandPercentageAboveBaseCapacity != nil {
   650  		in, out := &in.OnDemandPercentageAboveBaseCapacity, &out.OnDemandPercentageAboveBaseCapacity
   651  		*out = new(int64)
   652  		**out = **in
   653  	}
   654  }
   655  
   656  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancesDistribution.
   657  func (in *InstancesDistribution) DeepCopy() *InstancesDistribution {
   658  	if in == nil {
   659  		return nil
   660  	}
   661  	out := new(InstancesDistribution)
   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 *ManagedMachinePoolScaling) DeepCopyInto(out *ManagedMachinePoolScaling) {
   668  	*out = *in
   669  	if in.MinSize != nil {
   670  		in, out := &in.MinSize, &out.MinSize
   671  		*out = new(int32)
   672  		**out = **in
   673  	}
   674  	if in.MaxSize != nil {
   675  		in, out := &in.MaxSize, &out.MaxSize
   676  		*out = new(int32)
   677  		**out = **in
   678  	}
   679  }
   680  
   681  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedMachinePoolScaling.
   682  func (in *ManagedMachinePoolScaling) DeepCopy() *ManagedMachinePoolScaling {
   683  	if in == nil {
   684  		return nil
   685  	}
   686  	out := new(ManagedMachinePoolScaling)
   687  	in.DeepCopyInto(out)
   688  	return out
   689  }
   690  
   691  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   692  func (in *ManagedRemoteAccess) DeepCopyInto(out *ManagedRemoteAccess) {
   693  	*out = *in
   694  	if in.SSHKeyName != nil {
   695  		in, out := &in.SSHKeyName, &out.SSHKeyName
   696  		*out = new(string)
   697  		**out = **in
   698  	}
   699  	if in.SourceSecurityGroups != nil {
   700  		in, out := &in.SourceSecurityGroups, &out.SourceSecurityGroups
   701  		*out = make([]string, len(*in))
   702  		copy(*out, *in)
   703  	}
   704  }
   705  
   706  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRemoteAccess.
   707  func (in *ManagedRemoteAccess) DeepCopy() *ManagedRemoteAccess {
   708  	if in == nil {
   709  		return nil
   710  	}
   711  	out := new(ManagedRemoteAccess)
   712  	in.DeepCopyInto(out)
   713  	return out
   714  }
   715  
   716  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   717  func (in *MixedInstancesPolicy) DeepCopyInto(out *MixedInstancesPolicy) {
   718  	*out = *in
   719  	if in.InstancesDistribution != nil {
   720  		in, out := &in.InstancesDistribution, &out.InstancesDistribution
   721  		*out = new(InstancesDistribution)
   722  		(*in).DeepCopyInto(*out)
   723  	}
   724  	if in.Overrides != nil {
   725  		in, out := &in.Overrides, &out.Overrides
   726  		*out = make([]Overrides, len(*in))
   727  		copy(*out, *in)
   728  	}
   729  }
   730  
   731  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MixedInstancesPolicy.
   732  func (in *MixedInstancesPolicy) DeepCopy() *MixedInstancesPolicy {
   733  	if in == nil {
   734  		return nil
   735  	}
   736  	out := new(MixedInstancesPolicy)
   737  	in.DeepCopyInto(out)
   738  	return out
   739  }
   740  
   741  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   742  func (in *Overrides) DeepCopyInto(out *Overrides) {
   743  	*out = *in
   744  }
   745  
   746  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Overrides.
   747  func (in *Overrides) DeepCopy() *Overrides {
   748  	if in == nil {
   749  		return nil
   750  	}
   751  	out := new(Overrides)
   752  	in.DeepCopyInto(out)
   753  	return out
   754  }
   755  
   756  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   757  func (in *RefreshPreferences) DeepCopyInto(out *RefreshPreferences) {
   758  	*out = *in
   759  	if in.Strategy != nil {
   760  		in, out := &in.Strategy, &out.Strategy
   761  		*out = new(string)
   762  		**out = **in
   763  	}
   764  	if in.InstanceWarmup != nil {
   765  		in, out := &in.InstanceWarmup, &out.InstanceWarmup
   766  		*out = new(int64)
   767  		**out = **in
   768  	}
   769  	if in.MinHealthyPercentage != nil {
   770  		in, out := &in.MinHealthyPercentage, &out.MinHealthyPercentage
   771  		*out = new(int64)
   772  		**out = **in
   773  	}
   774  }
   775  
   776  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefreshPreferences.
   777  func (in *RefreshPreferences) DeepCopy() *RefreshPreferences {
   778  	if in == nil {
   779  		return nil
   780  	}
   781  	out := new(RefreshPreferences)
   782  	in.DeepCopyInto(out)
   783  	return out
   784  }
   785  
   786  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   787  func (in Tags) DeepCopyInto(out *Tags) {
   788  	{
   789  		in := &in
   790  		*out = make(Tags, len(*in))
   791  		for key, val := range *in {
   792  			(*out)[key] = val
   793  		}
   794  	}
   795  }
   796  
   797  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tags.
   798  func (in Tags) DeepCopy() Tags {
   799  	if in == nil {
   800  		return nil
   801  	}
   802  	out := new(Tags)
   803  	in.DeepCopyInto(out)
   804  	return *out
   805  }
   806  
   807  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   808  func (in *Taint) DeepCopyInto(out *Taint) {
   809  	*out = *in
   810  }
   811  
   812  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint.
   813  func (in *Taint) DeepCopy() *Taint {
   814  	if in == nil {
   815  		return nil
   816  	}
   817  	out := new(Taint)
   818  	in.DeepCopyInto(out)
   819  	return out
   820  }
   821  
   822  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   823  func (in Taints) DeepCopyInto(out *Taints) {
   824  	{
   825  		in := &in
   826  		*out = make(Taints, len(*in))
   827  		copy(*out, *in)
   828  	}
   829  }
   830  
   831  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taints.
   832  func (in Taints) DeepCopy() Taints {
   833  	if in == nil {
   834  		return nil
   835  	}
   836  	out := new(Taints)
   837  	in.DeepCopyInto(out)
   838  	return *out
   839  }