sigs.k8s.io/cluster-api-provider-aws@v1.5.5/exp/api/v1beta1/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 v1beta1
    23  
    24  import (
    25  	"k8s.io/apimachinery/pkg/runtime"
    26  	apiv1beta1 "sigs.k8s.io/cluster-api-provider-aws/api/v1beta1"
    27  	cluster_apiapiv1beta1 "sigs.k8s.io/cluster-api/api/v1beta1"
    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(apiv1beta1.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([]apiv1beta1.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([]apiv1beta1.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(apiv1beta1.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_apiapiv1beta1.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(apiv1beta1.Tags, len(*in))
   377  		for key, val := range *in {
   378  			(*out)[key] = val
   379  		}
   380  	}
   381  	if in.RoleAdditionalPolicies != nil {
   382  		in, out := &in.RoleAdditionalPolicies, &out.RoleAdditionalPolicies
   383  		*out = make([]string, len(*in))
   384  		copy(*out, *in)
   385  	}
   386  	if in.AMIVersion != nil {
   387  		in, out := &in.AMIVersion, &out.AMIVersion
   388  		*out = new(string)
   389  		**out = **in
   390  	}
   391  	if in.AMIType != nil {
   392  		in, out := &in.AMIType, &out.AMIType
   393  		*out = new(ManagedMachineAMIType)
   394  		**out = **in
   395  	}
   396  	if in.Labels != nil {
   397  		in, out := &in.Labels, &out.Labels
   398  		*out = make(map[string]string, len(*in))
   399  		for key, val := range *in {
   400  			(*out)[key] = val
   401  		}
   402  	}
   403  	if in.Taints != nil {
   404  		in, out := &in.Taints, &out.Taints
   405  		*out = make(Taints, len(*in))
   406  		copy(*out, *in)
   407  	}
   408  	if in.DiskSize != nil {
   409  		in, out := &in.DiskSize, &out.DiskSize
   410  		*out = new(int32)
   411  		**out = **in
   412  	}
   413  	if in.InstanceType != nil {
   414  		in, out := &in.InstanceType, &out.InstanceType
   415  		*out = new(string)
   416  		**out = **in
   417  	}
   418  	if in.Scaling != nil {
   419  		in, out := &in.Scaling, &out.Scaling
   420  		*out = new(ManagedMachinePoolScaling)
   421  		(*in).DeepCopyInto(*out)
   422  	}
   423  	if in.RemoteAccess != nil {
   424  		in, out := &in.RemoteAccess, &out.RemoteAccess
   425  		*out = new(ManagedRemoteAccess)
   426  		(*in).DeepCopyInto(*out)
   427  	}
   428  	if in.ProviderIDList != nil {
   429  		in, out := &in.ProviderIDList, &out.ProviderIDList
   430  		*out = make([]string, len(*in))
   431  		copy(*out, *in)
   432  	}
   433  	if in.CapacityType != nil {
   434  		in, out := &in.CapacityType, &out.CapacityType
   435  		*out = new(ManagedMachinePoolCapacityType)
   436  		**out = **in
   437  	}
   438  	if in.UpdateConfig != nil {
   439  		in, out := &in.UpdateConfig, &out.UpdateConfig
   440  		*out = new(UpdateConfig)
   441  		(*in).DeepCopyInto(*out)
   442  	}
   443  }
   444  
   445  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedMachinePoolSpec.
   446  func (in *AWSManagedMachinePoolSpec) DeepCopy() *AWSManagedMachinePoolSpec {
   447  	if in == nil {
   448  		return nil
   449  	}
   450  	out := new(AWSManagedMachinePoolSpec)
   451  	in.DeepCopyInto(out)
   452  	return out
   453  }
   454  
   455  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   456  func (in *AWSManagedMachinePoolStatus) DeepCopyInto(out *AWSManagedMachinePoolStatus) {
   457  	*out = *in
   458  	if in.FailureReason != nil {
   459  		in, out := &in.FailureReason, &out.FailureReason
   460  		*out = new(errors.MachineStatusError)
   461  		**out = **in
   462  	}
   463  	if in.FailureMessage != nil {
   464  		in, out := &in.FailureMessage, &out.FailureMessage
   465  		*out = new(string)
   466  		**out = **in
   467  	}
   468  	if in.Conditions != nil {
   469  		in, out := &in.Conditions, &out.Conditions
   470  		*out = make(cluster_apiapiv1beta1.Conditions, len(*in))
   471  		for i := range *in {
   472  			(*in)[i].DeepCopyInto(&(*out)[i])
   473  		}
   474  	}
   475  }
   476  
   477  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedMachinePoolStatus.
   478  func (in *AWSManagedMachinePoolStatus) DeepCopy() *AWSManagedMachinePoolStatus {
   479  	if in == nil {
   480  		return nil
   481  	}
   482  	out := new(AWSManagedMachinePoolStatus)
   483  	in.DeepCopyInto(out)
   484  	return out
   485  }
   486  
   487  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   488  func (in *AutoScalingGroup) DeepCopyInto(out *AutoScalingGroup) {
   489  	*out = *in
   490  	if in.Tags != nil {
   491  		in, out := &in.Tags, &out.Tags
   492  		*out = make(apiv1beta1.Tags, len(*in))
   493  		for key, val := range *in {
   494  			(*out)[key] = val
   495  		}
   496  	}
   497  	if in.DesiredCapacity != nil {
   498  		in, out := &in.DesiredCapacity, &out.DesiredCapacity
   499  		*out = new(int32)
   500  		**out = **in
   501  	}
   502  	if in.Subnets != nil {
   503  		in, out := &in.Subnets, &out.Subnets
   504  		*out = make([]string, len(*in))
   505  		copy(*out, *in)
   506  	}
   507  	out.DefaultCoolDown = in.DefaultCoolDown
   508  	if in.MixedInstancesPolicy != nil {
   509  		in, out := &in.MixedInstancesPolicy, &out.MixedInstancesPolicy
   510  		*out = new(MixedInstancesPolicy)
   511  		(*in).DeepCopyInto(*out)
   512  	}
   513  	if in.Instances != nil {
   514  		in, out := &in.Instances, &out.Instances
   515  		*out = make([]apiv1beta1.Instance, len(*in))
   516  		for i := range *in {
   517  			(*in)[i].DeepCopyInto(&(*out)[i])
   518  		}
   519  	}
   520  }
   521  
   522  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScalingGroup.
   523  func (in *AutoScalingGroup) DeepCopy() *AutoScalingGroup {
   524  	if in == nil {
   525  		return nil
   526  	}
   527  	out := new(AutoScalingGroup)
   528  	in.DeepCopyInto(out)
   529  	return out
   530  }
   531  
   532  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   533  func (in *BlockDeviceMapping) DeepCopyInto(out *BlockDeviceMapping) {
   534  	*out = *in
   535  	out.Ebs = in.Ebs
   536  }
   537  
   538  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceMapping.
   539  func (in *BlockDeviceMapping) DeepCopy() *BlockDeviceMapping {
   540  	if in == nil {
   541  		return nil
   542  	}
   543  	out := new(BlockDeviceMapping)
   544  	in.DeepCopyInto(out)
   545  	return out
   546  }
   547  
   548  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   549  func (in *EBS) DeepCopyInto(out *EBS) {
   550  	*out = *in
   551  }
   552  
   553  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EBS.
   554  func (in *EBS) DeepCopy() *EBS {
   555  	if in == nil {
   556  		return nil
   557  	}
   558  	out := new(EBS)
   559  	in.DeepCopyInto(out)
   560  	return out
   561  }
   562  
   563  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   564  func (in *FargateProfileSpec) DeepCopyInto(out *FargateProfileSpec) {
   565  	*out = *in
   566  	if in.SubnetIDs != nil {
   567  		in, out := &in.SubnetIDs, &out.SubnetIDs
   568  		*out = make([]string, len(*in))
   569  		copy(*out, *in)
   570  	}
   571  	if in.AdditionalTags != nil {
   572  		in, out := &in.AdditionalTags, &out.AdditionalTags
   573  		*out = make(apiv1beta1.Tags, len(*in))
   574  		for key, val := range *in {
   575  			(*out)[key] = val
   576  		}
   577  	}
   578  	if in.Selectors != nil {
   579  		in, out := &in.Selectors, &out.Selectors
   580  		*out = make([]FargateSelector, len(*in))
   581  		for i := range *in {
   582  			(*in)[i].DeepCopyInto(&(*out)[i])
   583  		}
   584  	}
   585  }
   586  
   587  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FargateProfileSpec.
   588  func (in *FargateProfileSpec) DeepCopy() *FargateProfileSpec {
   589  	if in == nil {
   590  		return nil
   591  	}
   592  	out := new(FargateProfileSpec)
   593  	in.DeepCopyInto(out)
   594  	return out
   595  }
   596  
   597  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   598  func (in *FargateProfileStatus) DeepCopyInto(out *FargateProfileStatus) {
   599  	*out = *in
   600  	if in.FailureReason != nil {
   601  		in, out := &in.FailureReason, &out.FailureReason
   602  		*out = new(errors.MachineStatusError)
   603  		**out = **in
   604  	}
   605  	if in.FailureMessage != nil {
   606  		in, out := &in.FailureMessage, &out.FailureMessage
   607  		*out = new(string)
   608  		**out = **in
   609  	}
   610  	if in.Conditions != nil {
   611  		in, out := &in.Conditions, &out.Conditions
   612  		*out = make(cluster_apiapiv1beta1.Conditions, len(*in))
   613  		for i := range *in {
   614  			(*in)[i].DeepCopyInto(&(*out)[i])
   615  		}
   616  	}
   617  }
   618  
   619  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FargateProfileStatus.
   620  func (in *FargateProfileStatus) DeepCopy() *FargateProfileStatus {
   621  	if in == nil {
   622  		return nil
   623  	}
   624  	out := new(FargateProfileStatus)
   625  	in.DeepCopyInto(out)
   626  	return out
   627  }
   628  
   629  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   630  func (in *FargateSelector) DeepCopyInto(out *FargateSelector) {
   631  	*out = *in
   632  	if in.Labels != nil {
   633  		in, out := &in.Labels, &out.Labels
   634  		*out = make(map[string]string, len(*in))
   635  		for key, val := range *in {
   636  			(*out)[key] = val
   637  		}
   638  	}
   639  }
   640  
   641  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FargateSelector.
   642  func (in *FargateSelector) DeepCopy() *FargateSelector {
   643  	if in == nil {
   644  		return nil
   645  	}
   646  	out := new(FargateSelector)
   647  	in.DeepCopyInto(out)
   648  	return out
   649  }
   650  
   651  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   652  func (in *InstancesDistribution) DeepCopyInto(out *InstancesDistribution) {
   653  	*out = *in
   654  	if in.OnDemandBaseCapacity != nil {
   655  		in, out := &in.OnDemandBaseCapacity, &out.OnDemandBaseCapacity
   656  		*out = new(int64)
   657  		**out = **in
   658  	}
   659  	if in.OnDemandPercentageAboveBaseCapacity != nil {
   660  		in, out := &in.OnDemandPercentageAboveBaseCapacity, &out.OnDemandPercentageAboveBaseCapacity
   661  		*out = new(int64)
   662  		**out = **in
   663  	}
   664  }
   665  
   666  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancesDistribution.
   667  func (in *InstancesDistribution) DeepCopy() *InstancesDistribution {
   668  	if in == nil {
   669  		return nil
   670  	}
   671  	out := new(InstancesDistribution)
   672  	in.DeepCopyInto(out)
   673  	return out
   674  }
   675  
   676  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   677  func (in *ManagedMachinePoolScaling) DeepCopyInto(out *ManagedMachinePoolScaling) {
   678  	*out = *in
   679  	if in.MinSize != nil {
   680  		in, out := &in.MinSize, &out.MinSize
   681  		*out = new(int32)
   682  		**out = **in
   683  	}
   684  	if in.MaxSize != nil {
   685  		in, out := &in.MaxSize, &out.MaxSize
   686  		*out = new(int32)
   687  		**out = **in
   688  	}
   689  }
   690  
   691  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedMachinePoolScaling.
   692  func (in *ManagedMachinePoolScaling) DeepCopy() *ManagedMachinePoolScaling {
   693  	if in == nil {
   694  		return nil
   695  	}
   696  	out := new(ManagedMachinePoolScaling)
   697  	in.DeepCopyInto(out)
   698  	return out
   699  }
   700  
   701  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   702  func (in *ManagedRemoteAccess) DeepCopyInto(out *ManagedRemoteAccess) {
   703  	*out = *in
   704  	if in.SSHKeyName != nil {
   705  		in, out := &in.SSHKeyName, &out.SSHKeyName
   706  		*out = new(string)
   707  		**out = **in
   708  	}
   709  	if in.SourceSecurityGroups != nil {
   710  		in, out := &in.SourceSecurityGroups, &out.SourceSecurityGroups
   711  		*out = make([]string, len(*in))
   712  		copy(*out, *in)
   713  	}
   714  }
   715  
   716  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedRemoteAccess.
   717  func (in *ManagedRemoteAccess) DeepCopy() *ManagedRemoteAccess {
   718  	if in == nil {
   719  		return nil
   720  	}
   721  	out := new(ManagedRemoteAccess)
   722  	in.DeepCopyInto(out)
   723  	return out
   724  }
   725  
   726  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   727  func (in *MixedInstancesPolicy) DeepCopyInto(out *MixedInstancesPolicy) {
   728  	*out = *in
   729  	if in.InstancesDistribution != nil {
   730  		in, out := &in.InstancesDistribution, &out.InstancesDistribution
   731  		*out = new(InstancesDistribution)
   732  		(*in).DeepCopyInto(*out)
   733  	}
   734  	if in.Overrides != nil {
   735  		in, out := &in.Overrides, &out.Overrides
   736  		*out = make([]Overrides, len(*in))
   737  		copy(*out, *in)
   738  	}
   739  }
   740  
   741  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MixedInstancesPolicy.
   742  func (in *MixedInstancesPolicy) DeepCopy() *MixedInstancesPolicy {
   743  	if in == nil {
   744  		return nil
   745  	}
   746  	out := new(MixedInstancesPolicy)
   747  	in.DeepCopyInto(out)
   748  	return out
   749  }
   750  
   751  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   752  func (in *Overrides) DeepCopyInto(out *Overrides) {
   753  	*out = *in
   754  }
   755  
   756  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Overrides.
   757  func (in *Overrides) DeepCopy() *Overrides {
   758  	if in == nil {
   759  		return nil
   760  	}
   761  	out := new(Overrides)
   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 *RefreshPreferences) DeepCopyInto(out *RefreshPreferences) {
   768  	*out = *in
   769  	if in.Strategy != nil {
   770  		in, out := &in.Strategy, &out.Strategy
   771  		*out = new(string)
   772  		**out = **in
   773  	}
   774  	if in.InstanceWarmup != nil {
   775  		in, out := &in.InstanceWarmup, &out.InstanceWarmup
   776  		*out = new(int64)
   777  		**out = **in
   778  	}
   779  	if in.MinHealthyPercentage != nil {
   780  		in, out := &in.MinHealthyPercentage, &out.MinHealthyPercentage
   781  		*out = new(int64)
   782  		**out = **in
   783  	}
   784  }
   785  
   786  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefreshPreferences.
   787  func (in *RefreshPreferences) DeepCopy() *RefreshPreferences {
   788  	if in == nil {
   789  		return nil
   790  	}
   791  	out := new(RefreshPreferences)
   792  	in.DeepCopyInto(out)
   793  	return out
   794  }
   795  
   796  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   797  func (in Tags) DeepCopyInto(out *Tags) {
   798  	{
   799  		in := &in
   800  		*out = make(Tags, len(*in))
   801  		for key, val := range *in {
   802  			(*out)[key] = val
   803  		}
   804  	}
   805  }
   806  
   807  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tags.
   808  func (in Tags) DeepCopy() Tags {
   809  	if in == nil {
   810  		return nil
   811  	}
   812  	out := new(Tags)
   813  	in.DeepCopyInto(out)
   814  	return *out
   815  }
   816  
   817  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   818  func (in *Taint) DeepCopyInto(out *Taint) {
   819  	*out = *in
   820  }
   821  
   822  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint.
   823  func (in *Taint) DeepCopy() *Taint {
   824  	if in == nil {
   825  		return nil
   826  	}
   827  	out := new(Taint)
   828  	in.DeepCopyInto(out)
   829  	return out
   830  }
   831  
   832  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   833  func (in Taints) DeepCopyInto(out *Taints) {
   834  	{
   835  		in := &in
   836  		*out = make(Taints, len(*in))
   837  		copy(*out, *in)
   838  	}
   839  }
   840  
   841  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taints.
   842  func (in Taints) DeepCopy() Taints {
   843  	if in == nil {
   844  		return nil
   845  	}
   846  	out := new(Taints)
   847  	in.DeepCopyInto(out)
   848  	return *out
   849  }
   850  
   851  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   852  func (in *UpdateConfig) DeepCopyInto(out *UpdateConfig) {
   853  	*out = *in
   854  	if in.MaxUnavailable != nil {
   855  		in, out := &in.MaxUnavailable, &out.MaxUnavailable
   856  		*out = new(int)
   857  		**out = **in
   858  	}
   859  	if in.MaxUnavailablePercentage != nil {
   860  		in, out := &in.MaxUnavailablePercentage, &out.MaxUnavailablePercentage
   861  		*out = new(int)
   862  		**out = **in
   863  	}
   864  }
   865  
   866  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateConfig.
   867  func (in *UpdateConfig) DeepCopy() *UpdateConfig {
   868  	if in == nil {
   869  		return nil
   870  	}
   871  	out := new(UpdateConfig)
   872  	in.DeepCopyInto(out)
   873  	return out
   874  }