sigs.k8s.io/cluster-api-provider-aws@v1.5.5/api/v1alpha3/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 v1alpha3
    23  
    24  import (
    25  	"k8s.io/apimachinery/pkg/runtime"
    26  	apiv1alpha3 "sigs.k8s.io/cluster-api/api/v1alpha3"
    27  	"sigs.k8s.io/cluster-api/errors"
    28  )
    29  
    30  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    31  func (in *AWSCluster) DeepCopyInto(out *AWSCluster) {
    32  	*out = *in
    33  	out.TypeMeta = in.TypeMeta
    34  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    35  	in.Spec.DeepCopyInto(&out.Spec)
    36  	in.Status.DeepCopyInto(&out.Status)
    37  }
    38  
    39  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSCluster.
    40  func (in *AWSCluster) DeepCopy() *AWSCluster {
    41  	if in == nil {
    42  		return nil
    43  	}
    44  	out := new(AWSCluster)
    45  	in.DeepCopyInto(out)
    46  	return out
    47  }
    48  
    49  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    50  func (in *AWSCluster) DeepCopyObject() runtime.Object {
    51  	if c := in.DeepCopy(); c != nil {
    52  		return c
    53  	}
    54  	return nil
    55  }
    56  
    57  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    58  func (in *AWSClusterControllerIdentity) DeepCopyInto(out *AWSClusterControllerIdentity) {
    59  	*out = *in
    60  	out.TypeMeta = in.TypeMeta
    61  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    62  	in.Spec.DeepCopyInto(&out.Spec)
    63  }
    64  
    65  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterControllerIdentity.
    66  func (in *AWSClusterControllerIdentity) DeepCopy() *AWSClusterControllerIdentity {
    67  	if in == nil {
    68  		return nil
    69  	}
    70  	out := new(AWSClusterControllerIdentity)
    71  	in.DeepCopyInto(out)
    72  	return out
    73  }
    74  
    75  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    76  func (in *AWSClusterControllerIdentity) DeepCopyObject() runtime.Object {
    77  	if c := in.DeepCopy(); c != nil {
    78  		return c
    79  	}
    80  	return nil
    81  }
    82  
    83  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    84  func (in *AWSClusterControllerIdentityList) DeepCopyInto(out *AWSClusterControllerIdentityList) {
    85  	*out = *in
    86  	out.TypeMeta = in.TypeMeta
    87  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    88  	if in.Items != nil {
    89  		in, out := &in.Items, &out.Items
    90  		*out = make([]AWSClusterControllerIdentity, len(*in))
    91  		for i := range *in {
    92  			(*in)[i].DeepCopyInto(&(*out)[i])
    93  		}
    94  	}
    95  }
    96  
    97  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterControllerIdentityList.
    98  func (in *AWSClusterControllerIdentityList) DeepCopy() *AWSClusterControllerIdentityList {
    99  	if in == nil {
   100  		return nil
   101  	}
   102  	out := new(AWSClusterControllerIdentityList)
   103  	in.DeepCopyInto(out)
   104  	return out
   105  }
   106  
   107  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   108  func (in *AWSClusterControllerIdentityList) DeepCopyObject() runtime.Object {
   109  	if c := in.DeepCopy(); c != nil {
   110  		return c
   111  	}
   112  	return nil
   113  }
   114  
   115  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   116  func (in *AWSClusterControllerIdentitySpec) DeepCopyInto(out *AWSClusterControllerIdentitySpec) {
   117  	*out = *in
   118  	in.AWSClusterIdentitySpec.DeepCopyInto(&out.AWSClusterIdentitySpec)
   119  }
   120  
   121  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterControllerIdentitySpec.
   122  func (in *AWSClusterControllerIdentitySpec) DeepCopy() *AWSClusterControllerIdentitySpec {
   123  	if in == nil {
   124  		return nil
   125  	}
   126  	out := new(AWSClusterControllerIdentitySpec)
   127  	in.DeepCopyInto(out)
   128  	return out
   129  }
   130  
   131  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   132  func (in *AWSClusterIdentitySpec) DeepCopyInto(out *AWSClusterIdentitySpec) {
   133  	*out = *in
   134  	if in.AllowedNamespaces != nil {
   135  		in, out := &in.AllowedNamespaces, &out.AllowedNamespaces
   136  		*out = new(AllowedNamespaces)
   137  		(*in).DeepCopyInto(*out)
   138  	}
   139  }
   140  
   141  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterIdentitySpec.
   142  func (in *AWSClusterIdentitySpec) DeepCopy() *AWSClusterIdentitySpec {
   143  	if in == nil {
   144  		return nil
   145  	}
   146  	out := new(AWSClusterIdentitySpec)
   147  	in.DeepCopyInto(out)
   148  	return out
   149  }
   150  
   151  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   152  func (in *AWSClusterList) DeepCopyInto(out *AWSClusterList) {
   153  	*out = *in
   154  	out.TypeMeta = in.TypeMeta
   155  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   156  	if in.Items != nil {
   157  		in, out := &in.Items, &out.Items
   158  		*out = make([]AWSCluster, len(*in))
   159  		for i := range *in {
   160  			(*in)[i].DeepCopyInto(&(*out)[i])
   161  		}
   162  	}
   163  }
   164  
   165  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterList.
   166  func (in *AWSClusterList) DeepCopy() *AWSClusterList {
   167  	if in == nil {
   168  		return nil
   169  	}
   170  	out := new(AWSClusterList)
   171  	in.DeepCopyInto(out)
   172  	return out
   173  }
   174  
   175  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   176  func (in *AWSClusterList) DeepCopyObject() runtime.Object {
   177  	if c := in.DeepCopy(); c != nil {
   178  		return c
   179  	}
   180  	return nil
   181  }
   182  
   183  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   184  func (in *AWSClusterRoleIdentity) DeepCopyInto(out *AWSClusterRoleIdentity) {
   185  	*out = *in
   186  	out.TypeMeta = in.TypeMeta
   187  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   188  	in.Spec.DeepCopyInto(&out.Spec)
   189  }
   190  
   191  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterRoleIdentity.
   192  func (in *AWSClusterRoleIdentity) DeepCopy() *AWSClusterRoleIdentity {
   193  	if in == nil {
   194  		return nil
   195  	}
   196  	out := new(AWSClusterRoleIdentity)
   197  	in.DeepCopyInto(out)
   198  	return out
   199  }
   200  
   201  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   202  func (in *AWSClusterRoleIdentity) DeepCopyObject() runtime.Object {
   203  	if c := in.DeepCopy(); c != nil {
   204  		return c
   205  	}
   206  	return nil
   207  }
   208  
   209  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   210  func (in *AWSClusterRoleIdentityList) DeepCopyInto(out *AWSClusterRoleIdentityList) {
   211  	*out = *in
   212  	out.TypeMeta = in.TypeMeta
   213  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   214  	if in.Items != nil {
   215  		in, out := &in.Items, &out.Items
   216  		*out = make([]AWSClusterRoleIdentity, len(*in))
   217  		for i := range *in {
   218  			(*in)[i].DeepCopyInto(&(*out)[i])
   219  		}
   220  	}
   221  }
   222  
   223  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterRoleIdentityList.
   224  func (in *AWSClusterRoleIdentityList) DeepCopy() *AWSClusterRoleIdentityList {
   225  	if in == nil {
   226  		return nil
   227  	}
   228  	out := new(AWSClusterRoleIdentityList)
   229  	in.DeepCopyInto(out)
   230  	return out
   231  }
   232  
   233  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   234  func (in *AWSClusterRoleIdentityList) DeepCopyObject() runtime.Object {
   235  	if c := in.DeepCopy(); c != nil {
   236  		return c
   237  	}
   238  	return nil
   239  }
   240  
   241  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   242  func (in *AWSClusterRoleIdentitySpec) DeepCopyInto(out *AWSClusterRoleIdentitySpec) {
   243  	*out = *in
   244  	in.AWSClusterIdentitySpec.DeepCopyInto(&out.AWSClusterIdentitySpec)
   245  	in.AWSRoleSpec.DeepCopyInto(&out.AWSRoleSpec)
   246  	if in.SourceIdentityRef != nil {
   247  		in, out := &in.SourceIdentityRef, &out.SourceIdentityRef
   248  		*out = new(AWSIdentityReference)
   249  		**out = **in
   250  	}
   251  }
   252  
   253  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterRoleIdentitySpec.
   254  func (in *AWSClusterRoleIdentitySpec) DeepCopy() *AWSClusterRoleIdentitySpec {
   255  	if in == nil {
   256  		return nil
   257  	}
   258  	out := new(AWSClusterRoleIdentitySpec)
   259  	in.DeepCopyInto(out)
   260  	return out
   261  }
   262  
   263  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   264  func (in *AWSClusterSpec) DeepCopyInto(out *AWSClusterSpec) {
   265  	*out = *in
   266  	in.NetworkSpec.DeepCopyInto(&out.NetworkSpec)
   267  	if in.SSHKeyName != nil {
   268  		in, out := &in.SSHKeyName, &out.SSHKeyName
   269  		*out = new(string)
   270  		**out = **in
   271  	}
   272  	out.ControlPlaneEndpoint = in.ControlPlaneEndpoint
   273  	if in.AdditionalTags != nil {
   274  		in, out := &in.AdditionalTags, &out.AdditionalTags
   275  		*out = make(Tags, len(*in))
   276  		for key, val := range *in {
   277  			(*out)[key] = val
   278  		}
   279  	}
   280  	if in.ControlPlaneLoadBalancer != nil {
   281  		in, out := &in.ControlPlaneLoadBalancer, &out.ControlPlaneLoadBalancer
   282  		*out = new(AWSLoadBalancerSpec)
   283  		(*in).DeepCopyInto(*out)
   284  	}
   285  	in.Bastion.DeepCopyInto(&out.Bastion)
   286  	if in.IdentityRef != nil {
   287  		in, out := &in.IdentityRef, &out.IdentityRef
   288  		*out = new(AWSIdentityReference)
   289  		**out = **in
   290  	}
   291  }
   292  
   293  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterSpec.
   294  func (in *AWSClusterSpec) DeepCopy() *AWSClusterSpec {
   295  	if in == nil {
   296  		return nil
   297  	}
   298  	out := new(AWSClusterSpec)
   299  	in.DeepCopyInto(out)
   300  	return out
   301  }
   302  
   303  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   304  func (in *AWSClusterStaticIdentity) DeepCopyInto(out *AWSClusterStaticIdentity) {
   305  	*out = *in
   306  	out.TypeMeta = in.TypeMeta
   307  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   308  	in.Spec.DeepCopyInto(&out.Spec)
   309  }
   310  
   311  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStaticIdentity.
   312  func (in *AWSClusterStaticIdentity) DeepCopy() *AWSClusterStaticIdentity {
   313  	if in == nil {
   314  		return nil
   315  	}
   316  	out := new(AWSClusterStaticIdentity)
   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 *AWSClusterStaticIdentity) 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 *AWSClusterStaticIdentityList) DeepCopyInto(out *AWSClusterStaticIdentityList) {
   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([]AWSClusterStaticIdentity, 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 AWSClusterStaticIdentityList.
   344  func (in *AWSClusterStaticIdentityList) DeepCopy() *AWSClusterStaticIdentityList {
   345  	if in == nil {
   346  		return nil
   347  	}
   348  	out := new(AWSClusterStaticIdentityList)
   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 *AWSClusterStaticIdentityList) 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 *AWSClusterStaticIdentitySpec) DeepCopyInto(out *AWSClusterStaticIdentitySpec) {
   363  	*out = *in
   364  	in.AWSClusterIdentitySpec.DeepCopyInto(&out.AWSClusterIdentitySpec)
   365  	out.SecretRef = in.SecretRef
   366  }
   367  
   368  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStaticIdentitySpec.
   369  func (in *AWSClusterStaticIdentitySpec) DeepCopy() *AWSClusterStaticIdentitySpec {
   370  	if in == nil {
   371  		return nil
   372  	}
   373  	out := new(AWSClusterStaticIdentitySpec)
   374  	in.DeepCopyInto(out)
   375  	return out
   376  }
   377  
   378  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   379  func (in *AWSClusterStatus) DeepCopyInto(out *AWSClusterStatus) {
   380  	*out = *in
   381  	in.Network.DeepCopyInto(&out.Network)
   382  	if in.FailureDomains != nil {
   383  		in, out := &in.FailureDomains, &out.FailureDomains
   384  		*out = make(apiv1alpha3.FailureDomains, len(*in))
   385  		for key, val := range *in {
   386  			(*out)[key] = *val.DeepCopy()
   387  		}
   388  	}
   389  	if in.Bastion != nil {
   390  		in, out := &in.Bastion, &out.Bastion
   391  		*out = new(Instance)
   392  		(*in).DeepCopyInto(*out)
   393  	}
   394  	if in.Conditions != nil {
   395  		in, out := &in.Conditions, &out.Conditions
   396  		*out = make(apiv1alpha3.Conditions, len(*in))
   397  		for i := range *in {
   398  			(*in)[i].DeepCopyInto(&(*out)[i])
   399  		}
   400  	}
   401  }
   402  
   403  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStatus.
   404  func (in *AWSClusterStatus) DeepCopy() *AWSClusterStatus {
   405  	if in == nil {
   406  		return nil
   407  	}
   408  	out := new(AWSClusterStatus)
   409  	in.DeepCopyInto(out)
   410  	return out
   411  }
   412  
   413  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   414  func (in *AWSIdentityReference) DeepCopyInto(out *AWSIdentityReference) {
   415  	*out = *in
   416  }
   417  
   418  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSIdentityReference.
   419  func (in *AWSIdentityReference) DeepCopy() *AWSIdentityReference {
   420  	if in == nil {
   421  		return nil
   422  	}
   423  	out := new(AWSIdentityReference)
   424  	in.DeepCopyInto(out)
   425  	return out
   426  }
   427  
   428  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   429  func (in *AWSLoadBalancerSpec) DeepCopyInto(out *AWSLoadBalancerSpec) {
   430  	*out = *in
   431  	if in.Scheme != nil {
   432  		in, out := &in.Scheme, &out.Scheme
   433  		*out = new(ClassicELBScheme)
   434  		**out = **in
   435  	}
   436  	if in.Subnets != nil {
   437  		in, out := &in.Subnets, &out.Subnets
   438  		*out = make([]string, len(*in))
   439  		copy(*out, *in)
   440  	}
   441  	if in.AdditionalSecurityGroups != nil {
   442  		in, out := &in.AdditionalSecurityGroups, &out.AdditionalSecurityGroups
   443  		*out = make([]string, len(*in))
   444  		copy(*out, *in)
   445  	}
   446  }
   447  
   448  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSLoadBalancerSpec.
   449  func (in *AWSLoadBalancerSpec) DeepCopy() *AWSLoadBalancerSpec {
   450  	if in == nil {
   451  		return nil
   452  	}
   453  	out := new(AWSLoadBalancerSpec)
   454  	in.DeepCopyInto(out)
   455  	return out
   456  }
   457  
   458  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   459  func (in *AWSMachine) DeepCopyInto(out *AWSMachine) {
   460  	*out = *in
   461  	out.TypeMeta = in.TypeMeta
   462  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   463  	in.Spec.DeepCopyInto(&out.Spec)
   464  	in.Status.DeepCopyInto(&out.Status)
   465  }
   466  
   467  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachine.
   468  func (in *AWSMachine) DeepCopy() *AWSMachine {
   469  	if in == nil {
   470  		return nil
   471  	}
   472  	out := new(AWSMachine)
   473  	in.DeepCopyInto(out)
   474  	return out
   475  }
   476  
   477  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   478  func (in *AWSMachine) DeepCopyObject() runtime.Object {
   479  	if c := in.DeepCopy(); c != nil {
   480  		return c
   481  	}
   482  	return nil
   483  }
   484  
   485  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   486  func (in *AWSMachineList) DeepCopyInto(out *AWSMachineList) {
   487  	*out = *in
   488  	out.TypeMeta = in.TypeMeta
   489  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   490  	if in.Items != nil {
   491  		in, out := &in.Items, &out.Items
   492  		*out = make([]AWSMachine, len(*in))
   493  		for i := range *in {
   494  			(*in)[i].DeepCopyInto(&(*out)[i])
   495  		}
   496  	}
   497  }
   498  
   499  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineList.
   500  func (in *AWSMachineList) DeepCopy() *AWSMachineList {
   501  	if in == nil {
   502  		return nil
   503  	}
   504  	out := new(AWSMachineList)
   505  	in.DeepCopyInto(out)
   506  	return out
   507  }
   508  
   509  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   510  func (in *AWSMachineList) DeepCopyObject() runtime.Object {
   511  	if c := in.DeepCopy(); c != nil {
   512  		return c
   513  	}
   514  	return nil
   515  }
   516  
   517  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   518  func (in *AWSMachineSpec) DeepCopyInto(out *AWSMachineSpec) {
   519  	*out = *in
   520  	if in.ProviderID != nil {
   521  		in, out := &in.ProviderID, &out.ProviderID
   522  		*out = new(string)
   523  		**out = **in
   524  	}
   525  	if in.InstanceID != nil {
   526  		in, out := &in.InstanceID, &out.InstanceID
   527  		*out = new(string)
   528  		**out = **in
   529  	}
   530  	in.AMI.DeepCopyInto(&out.AMI)
   531  	if in.AdditionalTags != nil {
   532  		in, out := &in.AdditionalTags, &out.AdditionalTags
   533  		*out = make(Tags, len(*in))
   534  		for key, val := range *in {
   535  			(*out)[key] = val
   536  		}
   537  	}
   538  	if in.PublicIP != nil {
   539  		in, out := &in.PublicIP, &out.PublicIP
   540  		*out = new(bool)
   541  		**out = **in
   542  	}
   543  	if in.AdditionalSecurityGroups != nil {
   544  		in, out := &in.AdditionalSecurityGroups, &out.AdditionalSecurityGroups
   545  		*out = make([]AWSResourceReference, len(*in))
   546  		for i := range *in {
   547  			(*in)[i].DeepCopyInto(&(*out)[i])
   548  		}
   549  	}
   550  	if in.FailureDomain != nil {
   551  		in, out := &in.FailureDomain, &out.FailureDomain
   552  		*out = new(string)
   553  		**out = **in
   554  	}
   555  	if in.Subnet != nil {
   556  		in, out := &in.Subnet, &out.Subnet
   557  		*out = new(AWSResourceReference)
   558  		(*in).DeepCopyInto(*out)
   559  	}
   560  	if in.SSHKeyName != nil {
   561  		in, out := &in.SSHKeyName, &out.SSHKeyName
   562  		*out = new(string)
   563  		**out = **in
   564  	}
   565  	if in.RootVolume != nil {
   566  		in, out := &in.RootVolume, &out.RootVolume
   567  		*out = new(Volume)
   568  		**out = **in
   569  	}
   570  	if in.NonRootVolumes != nil {
   571  		in, out := &in.NonRootVolumes, &out.NonRootVolumes
   572  		*out = make([]Volume, len(*in))
   573  		copy(*out, *in)
   574  	}
   575  	if in.NetworkInterfaces != nil {
   576  		in, out := &in.NetworkInterfaces, &out.NetworkInterfaces
   577  		*out = make([]string, len(*in))
   578  		copy(*out, *in)
   579  	}
   580  	if in.UncompressedUserData != nil {
   581  		in, out := &in.UncompressedUserData, &out.UncompressedUserData
   582  		*out = new(bool)
   583  		**out = **in
   584  	}
   585  	out.CloudInit = in.CloudInit
   586  	if in.SpotMarketOptions != nil {
   587  		in, out := &in.SpotMarketOptions, &out.SpotMarketOptions
   588  		*out = new(SpotMarketOptions)
   589  		(*in).DeepCopyInto(*out)
   590  	}
   591  }
   592  
   593  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineSpec.
   594  func (in *AWSMachineSpec) DeepCopy() *AWSMachineSpec {
   595  	if in == nil {
   596  		return nil
   597  	}
   598  	out := new(AWSMachineSpec)
   599  	in.DeepCopyInto(out)
   600  	return out
   601  }
   602  
   603  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   604  func (in *AWSMachineStatus) DeepCopyInto(out *AWSMachineStatus) {
   605  	*out = *in
   606  	if in.Addresses != nil {
   607  		in, out := &in.Addresses, &out.Addresses
   608  		*out = make([]apiv1alpha3.MachineAddress, len(*in))
   609  		copy(*out, *in)
   610  	}
   611  	if in.InstanceState != nil {
   612  		in, out := &in.InstanceState, &out.InstanceState
   613  		*out = new(InstanceState)
   614  		**out = **in
   615  	}
   616  	if in.FailureReason != nil {
   617  		in, out := &in.FailureReason, &out.FailureReason
   618  		*out = new(errors.MachineStatusError)
   619  		**out = **in
   620  	}
   621  	if in.FailureMessage != nil {
   622  		in, out := &in.FailureMessage, &out.FailureMessage
   623  		*out = new(string)
   624  		**out = **in
   625  	}
   626  	if in.Conditions != nil {
   627  		in, out := &in.Conditions, &out.Conditions
   628  		*out = make(apiv1alpha3.Conditions, len(*in))
   629  		for i := range *in {
   630  			(*in)[i].DeepCopyInto(&(*out)[i])
   631  		}
   632  	}
   633  }
   634  
   635  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineStatus.
   636  func (in *AWSMachineStatus) DeepCopy() *AWSMachineStatus {
   637  	if in == nil {
   638  		return nil
   639  	}
   640  	out := new(AWSMachineStatus)
   641  	in.DeepCopyInto(out)
   642  	return out
   643  }
   644  
   645  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   646  func (in *AWSMachineTemplate) DeepCopyInto(out *AWSMachineTemplate) {
   647  	*out = *in
   648  	out.TypeMeta = in.TypeMeta
   649  	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
   650  	in.Spec.DeepCopyInto(&out.Spec)
   651  }
   652  
   653  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineTemplate.
   654  func (in *AWSMachineTemplate) DeepCopy() *AWSMachineTemplate {
   655  	if in == nil {
   656  		return nil
   657  	}
   658  	out := new(AWSMachineTemplate)
   659  	in.DeepCopyInto(out)
   660  	return out
   661  }
   662  
   663  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   664  func (in *AWSMachineTemplate) DeepCopyObject() runtime.Object {
   665  	if c := in.DeepCopy(); c != nil {
   666  		return c
   667  	}
   668  	return nil
   669  }
   670  
   671  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   672  func (in *AWSMachineTemplateList) DeepCopyInto(out *AWSMachineTemplateList) {
   673  	*out = *in
   674  	out.TypeMeta = in.TypeMeta
   675  	in.ListMeta.DeepCopyInto(&out.ListMeta)
   676  	if in.Items != nil {
   677  		in, out := &in.Items, &out.Items
   678  		*out = make([]AWSMachineTemplate, len(*in))
   679  		for i := range *in {
   680  			(*in)[i].DeepCopyInto(&(*out)[i])
   681  		}
   682  	}
   683  }
   684  
   685  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineTemplateList.
   686  func (in *AWSMachineTemplateList) DeepCopy() *AWSMachineTemplateList {
   687  	if in == nil {
   688  		return nil
   689  	}
   690  	out := new(AWSMachineTemplateList)
   691  	in.DeepCopyInto(out)
   692  	return out
   693  }
   694  
   695  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
   696  func (in *AWSMachineTemplateList) DeepCopyObject() runtime.Object {
   697  	if c := in.DeepCopy(); c != nil {
   698  		return c
   699  	}
   700  	return nil
   701  }
   702  
   703  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   704  func (in *AWSMachineTemplateResource) DeepCopyInto(out *AWSMachineTemplateResource) {
   705  	*out = *in
   706  	in.Spec.DeepCopyInto(&out.Spec)
   707  }
   708  
   709  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineTemplateResource.
   710  func (in *AWSMachineTemplateResource) DeepCopy() *AWSMachineTemplateResource {
   711  	if in == nil {
   712  		return nil
   713  	}
   714  	out := new(AWSMachineTemplateResource)
   715  	in.DeepCopyInto(out)
   716  	return out
   717  }
   718  
   719  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   720  func (in *AWSMachineTemplateSpec) DeepCopyInto(out *AWSMachineTemplateSpec) {
   721  	*out = *in
   722  	in.Template.DeepCopyInto(&out.Template)
   723  }
   724  
   725  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineTemplateSpec.
   726  func (in *AWSMachineTemplateSpec) DeepCopy() *AWSMachineTemplateSpec {
   727  	if in == nil {
   728  		return nil
   729  	}
   730  	out := new(AWSMachineTemplateSpec)
   731  	in.DeepCopyInto(out)
   732  	return out
   733  }
   734  
   735  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   736  func (in *AWSResourceReference) DeepCopyInto(out *AWSResourceReference) {
   737  	*out = *in
   738  	if in.ID != nil {
   739  		in, out := &in.ID, &out.ID
   740  		*out = new(string)
   741  		**out = **in
   742  	}
   743  	if in.ARN != nil {
   744  		in, out := &in.ARN, &out.ARN
   745  		*out = new(string)
   746  		**out = **in
   747  	}
   748  	if in.Filters != nil {
   749  		in, out := &in.Filters, &out.Filters
   750  		*out = make([]Filter, len(*in))
   751  		for i := range *in {
   752  			(*in)[i].DeepCopyInto(&(*out)[i])
   753  		}
   754  	}
   755  }
   756  
   757  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSResourceReference.
   758  func (in *AWSResourceReference) DeepCopy() *AWSResourceReference {
   759  	if in == nil {
   760  		return nil
   761  	}
   762  	out := new(AWSResourceReference)
   763  	in.DeepCopyInto(out)
   764  	return out
   765  }
   766  
   767  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   768  func (in *AWSRoleSpec) DeepCopyInto(out *AWSRoleSpec) {
   769  	*out = *in
   770  	if in.PolicyARNs != nil {
   771  		in, out := &in.PolicyARNs, &out.PolicyARNs
   772  		*out = make([]string, len(*in))
   773  		copy(*out, *in)
   774  	}
   775  }
   776  
   777  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSRoleSpec.
   778  func (in *AWSRoleSpec) DeepCopy() *AWSRoleSpec {
   779  	if in == nil {
   780  		return nil
   781  	}
   782  	out := new(AWSRoleSpec)
   783  	in.DeepCopyInto(out)
   784  	return out
   785  }
   786  
   787  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   788  func (in *AllowedNamespaces) DeepCopyInto(out *AllowedNamespaces) {
   789  	*out = *in
   790  	if in.NamespaceList != nil {
   791  		in, out := &in.NamespaceList, &out.NamespaceList
   792  		*out = make([]string, len(*in))
   793  		copy(*out, *in)
   794  	}
   795  	in.Selector.DeepCopyInto(&out.Selector)
   796  }
   797  
   798  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedNamespaces.
   799  func (in *AllowedNamespaces) DeepCopy() *AllowedNamespaces {
   800  	if in == nil {
   801  		return nil
   802  	}
   803  	out := new(AllowedNamespaces)
   804  	in.DeepCopyInto(out)
   805  	return out
   806  }
   807  
   808  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   809  func (in *Bastion) DeepCopyInto(out *Bastion) {
   810  	*out = *in
   811  	if in.AllowedCIDRBlocks != nil {
   812  		in, out := &in.AllowedCIDRBlocks, &out.AllowedCIDRBlocks
   813  		*out = make([]string, len(*in))
   814  		copy(*out, *in)
   815  	}
   816  }
   817  
   818  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bastion.
   819  func (in *Bastion) DeepCopy() *Bastion {
   820  	if in == nil {
   821  		return nil
   822  	}
   823  	out := new(Bastion)
   824  	in.DeepCopyInto(out)
   825  	return out
   826  }
   827  
   828  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   829  func (in *BuildParams) DeepCopyInto(out *BuildParams) {
   830  	*out = *in
   831  	if in.Name != nil {
   832  		in, out := &in.Name, &out.Name
   833  		*out = new(string)
   834  		**out = **in
   835  	}
   836  	if in.Role != nil {
   837  		in, out := &in.Role, &out.Role
   838  		*out = new(string)
   839  		**out = **in
   840  	}
   841  	if in.Additional != nil {
   842  		in, out := &in.Additional, &out.Additional
   843  		*out = make(Tags, len(*in))
   844  		for key, val := range *in {
   845  			(*out)[key] = val
   846  		}
   847  	}
   848  }
   849  
   850  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildParams.
   851  func (in *BuildParams) DeepCopy() *BuildParams {
   852  	if in == nil {
   853  		return nil
   854  	}
   855  	out := new(BuildParams)
   856  	in.DeepCopyInto(out)
   857  	return out
   858  }
   859  
   860  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   861  func (in *CNIIngressRule) DeepCopyInto(out *CNIIngressRule) {
   862  	*out = *in
   863  }
   864  
   865  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNIIngressRule.
   866  func (in *CNIIngressRule) DeepCopy() *CNIIngressRule {
   867  	if in == nil {
   868  		return nil
   869  	}
   870  	out := new(CNIIngressRule)
   871  	in.DeepCopyInto(out)
   872  	return out
   873  }
   874  
   875  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   876  func (in CNIIngressRules) DeepCopyInto(out *CNIIngressRules) {
   877  	{
   878  		in := &in
   879  		*out = make(CNIIngressRules, len(*in))
   880  		copy(*out, *in)
   881  	}
   882  }
   883  
   884  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNIIngressRules.
   885  func (in CNIIngressRules) DeepCopy() CNIIngressRules {
   886  	if in == nil {
   887  		return nil
   888  	}
   889  	out := new(CNIIngressRules)
   890  	in.DeepCopyInto(out)
   891  	return *out
   892  }
   893  
   894  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   895  func (in *CNISpec) DeepCopyInto(out *CNISpec) {
   896  	*out = *in
   897  	if in.CNIIngressRules != nil {
   898  		in, out := &in.CNIIngressRules, &out.CNIIngressRules
   899  		*out = make(CNIIngressRules, len(*in))
   900  		copy(*out, *in)
   901  	}
   902  }
   903  
   904  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNISpec.
   905  func (in *CNISpec) DeepCopy() *CNISpec {
   906  	if in == nil {
   907  		return nil
   908  	}
   909  	out := new(CNISpec)
   910  	in.DeepCopyInto(out)
   911  	return out
   912  }
   913  
   914  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   915  func (in *ClassicELB) DeepCopyInto(out *ClassicELB) {
   916  	*out = *in
   917  	if in.AvailabilityZones != nil {
   918  		in, out := &in.AvailabilityZones, &out.AvailabilityZones
   919  		*out = make([]string, len(*in))
   920  		copy(*out, *in)
   921  	}
   922  	if in.SubnetIDs != nil {
   923  		in, out := &in.SubnetIDs, &out.SubnetIDs
   924  		*out = make([]string, len(*in))
   925  		copy(*out, *in)
   926  	}
   927  	if in.SecurityGroupIDs != nil {
   928  		in, out := &in.SecurityGroupIDs, &out.SecurityGroupIDs
   929  		*out = make([]string, len(*in))
   930  		copy(*out, *in)
   931  	}
   932  	if in.Listeners != nil {
   933  		in, out := &in.Listeners, &out.Listeners
   934  		*out = make([]ClassicELBListener, len(*in))
   935  		copy(*out, *in)
   936  	}
   937  	if in.HealthCheck != nil {
   938  		in, out := &in.HealthCheck, &out.HealthCheck
   939  		*out = new(ClassicELBHealthCheck)
   940  		**out = **in
   941  	}
   942  	out.Attributes = in.Attributes
   943  	if in.Tags != nil {
   944  		in, out := &in.Tags, &out.Tags
   945  		*out = make(map[string]string, len(*in))
   946  		for key, val := range *in {
   947  			(*out)[key] = val
   948  		}
   949  	}
   950  }
   951  
   952  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicELB.
   953  func (in *ClassicELB) DeepCopy() *ClassicELB {
   954  	if in == nil {
   955  		return nil
   956  	}
   957  	out := new(ClassicELB)
   958  	in.DeepCopyInto(out)
   959  	return out
   960  }
   961  
   962  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   963  func (in *ClassicELBAttributes) DeepCopyInto(out *ClassicELBAttributes) {
   964  	*out = *in
   965  }
   966  
   967  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicELBAttributes.
   968  func (in *ClassicELBAttributes) DeepCopy() *ClassicELBAttributes {
   969  	if in == nil {
   970  		return nil
   971  	}
   972  	out := new(ClassicELBAttributes)
   973  	in.DeepCopyInto(out)
   974  	return out
   975  }
   976  
   977  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   978  func (in *ClassicELBHealthCheck) DeepCopyInto(out *ClassicELBHealthCheck) {
   979  	*out = *in
   980  }
   981  
   982  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicELBHealthCheck.
   983  func (in *ClassicELBHealthCheck) DeepCopy() *ClassicELBHealthCheck {
   984  	if in == nil {
   985  		return nil
   986  	}
   987  	out := new(ClassicELBHealthCheck)
   988  	in.DeepCopyInto(out)
   989  	return out
   990  }
   991  
   992  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   993  func (in *ClassicELBListener) DeepCopyInto(out *ClassicELBListener) {
   994  	*out = *in
   995  }
   996  
   997  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClassicELBListener.
   998  func (in *ClassicELBListener) DeepCopy() *ClassicELBListener {
   999  	if in == nil {
  1000  		return nil
  1001  	}
  1002  	out := new(ClassicELBListener)
  1003  	in.DeepCopyInto(out)
  1004  	return out
  1005  }
  1006  
  1007  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1008  func (in *CloudInit) DeepCopyInto(out *CloudInit) {
  1009  	*out = *in
  1010  }
  1011  
  1012  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudInit.
  1013  func (in *CloudInit) DeepCopy() *CloudInit {
  1014  	if in == nil {
  1015  		return nil
  1016  	}
  1017  	out := new(CloudInit)
  1018  	in.DeepCopyInto(out)
  1019  	return out
  1020  }
  1021  
  1022  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1023  func (in *Filter) DeepCopyInto(out *Filter) {
  1024  	*out = *in
  1025  	if in.Values != nil {
  1026  		in, out := &in.Values, &out.Values
  1027  		*out = make([]string, len(*in))
  1028  		copy(*out, *in)
  1029  	}
  1030  }
  1031  
  1032  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter.
  1033  func (in *Filter) DeepCopy() *Filter {
  1034  	if in == nil {
  1035  		return nil
  1036  	}
  1037  	out := new(Filter)
  1038  	in.DeepCopyInto(out)
  1039  	return out
  1040  }
  1041  
  1042  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1043  func (in *IngressRule) DeepCopyInto(out *IngressRule) {
  1044  	*out = *in
  1045  	if in.CidrBlocks != nil {
  1046  		in, out := &in.CidrBlocks, &out.CidrBlocks
  1047  		*out = make([]string, len(*in))
  1048  		copy(*out, *in)
  1049  	}
  1050  	if in.SourceSecurityGroupIDs != nil {
  1051  		in, out := &in.SourceSecurityGroupIDs, &out.SourceSecurityGroupIDs
  1052  		*out = make([]string, len(*in))
  1053  		copy(*out, *in)
  1054  	}
  1055  }
  1056  
  1057  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
  1058  func (in *IngressRule) DeepCopy() *IngressRule {
  1059  	if in == nil {
  1060  		return nil
  1061  	}
  1062  	out := new(IngressRule)
  1063  	in.DeepCopyInto(out)
  1064  	return out
  1065  }
  1066  
  1067  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1068  func (in IngressRules) DeepCopyInto(out *IngressRules) {
  1069  	{
  1070  		in := &in
  1071  		*out = make(IngressRules, len(*in))
  1072  		for i := range *in {
  1073  			(*in)[i].DeepCopyInto(&(*out)[i])
  1074  		}
  1075  	}
  1076  }
  1077  
  1078  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRules.
  1079  func (in IngressRules) DeepCopy() IngressRules {
  1080  	if in == nil {
  1081  		return nil
  1082  	}
  1083  	out := new(IngressRules)
  1084  	in.DeepCopyInto(out)
  1085  	return *out
  1086  }
  1087  
  1088  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1089  func (in *Instance) DeepCopyInto(out *Instance) {
  1090  	*out = *in
  1091  	if in.SSHKeyName != nil {
  1092  		in, out := &in.SSHKeyName, &out.SSHKeyName
  1093  		*out = new(string)
  1094  		**out = **in
  1095  	}
  1096  	if in.SecurityGroupIDs != nil {
  1097  		in, out := &in.SecurityGroupIDs, &out.SecurityGroupIDs
  1098  		*out = make([]string, len(*in))
  1099  		copy(*out, *in)
  1100  	}
  1101  	if in.UserData != nil {
  1102  		in, out := &in.UserData, &out.UserData
  1103  		*out = new(string)
  1104  		**out = **in
  1105  	}
  1106  	if in.Addresses != nil {
  1107  		in, out := &in.Addresses, &out.Addresses
  1108  		*out = make([]apiv1alpha3.MachineAddress, len(*in))
  1109  		copy(*out, *in)
  1110  	}
  1111  	if in.PrivateIP != nil {
  1112  		in, out := &in.PrivateIP, &out.PrivateIP
  1113  		*out = new(string)
  1114  		**out = **in
  1115  	}
  1116  	if in.PublicIP != nil {
  1117  		in, out := &in.PublicIP, &out.PublicIP
  1118  		*out = new(string)
  1119  		**out = **in
  1120  	}
  1121  	if in.ENASupport != nil {
  1122  		in, out := &in.ENASupport, &out.ENASupport
  1123  		*out = new(bool)
  1124  		**out = **in
  1125  	}
  1126  	if in.EBSOptimized != nil {
  1127  		in, out := &in.EBSOptimized, &out.EBSOptimized
  1128  		*out = new(bool)
  1129  		**out = **in
  1130  	}
  1131  	if in.RootVolume != nil {
  1132  		in, out := &in.RootVolume, &out.RootVolume
  1133  		*out = new(Volume)
  1134  		**out = **in
  1135  	}
  1136  	if in.NonRootVolumes != nil {
  1137  		in, out := &in.NonRootVolumes, &out.NonRootVolumes
  1138  		*out = make([]Volume, len(*in))
  1139  		copy(*out, *in)
  1140  	}
  1141  	if in.NetworkInterfaces != nil {
  1142  		in, out := &in.NetworkInterfaces, &out.NetworkInterfaces
  1143  		*out = make([]string, len(*in))
  1144  		copy(*out, *in)
  1145  	}
  1146  	if in.Tags != nil {
  1147  		in, out := &in.Tags, &out.Tags
  1148  		*out = make(map[string]string, len(*in))
  1149  		for key, val := range *in {
  1150  			(*out)[key] = val
  1151  		}
  1152  	}
  1153  	if in.SpotMarketOptions != nil {
  1154  		in, out := &in.SpotMarketOptions, &out.SpotMarketOptions
  1155  		*out = new(SpotMarketOptions)
  1156  		(*in).DeepCopyInto(*out)
  1157  	}
  1158  }
  1159  
  1160  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
  1161  func (in *Instance) DeepCopy() *Instance {
  1162  	if in == nil {
  1163  		return nil
  1164  	}
  1165  	out := new(Instance)
  1166  	in.DeepCopyInto(out)
  1167  	return out
  1168  }
  1169  
  1170  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1171  func (in *Network) DeepCopyInto(out *Network) {
  1172  	*out = *in
  1173  	if in.SecurityGroups != nil {
  1174  		in, out := &in.SecurityGroups, &out.SecurityGroups
  1175  		*out = make(map[SecurityGroupRole]SecurityGroup, len(*in))
  1176  		for key, val := range *in {
  1177  			(*out)[key] = *val.DeepCopy()
  1178  		}
  1179  	}
  1180  	in.APIServerELB.DeepCopyInto(&out.APIServerELB)
  1181  }
  1182  
  1183  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
  1184  func (in *Network) DeepCopy() *Network {
  1185  	if in == nil {
  1186  		return nil
  1187  	}
  1188  	out := new(Network)
  1189  	in.DeepCopyInto(out)
  1190  	return out
  1191  }
  1192  
  1193  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1194  func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec) {
  1195  	*out = *in
  1196  	in.VPC.DeepCopyInto(&out.VPC)
  1197  	if in.Subnets != nil {
  1198  		in, out := &in.Subnets, &out.Subnets
  1199  		*out = make(Subnets, len(*in))
  1200  		for i := range *in {
  1201  			(*in)[i].DeepCopyInto(&(*out)[i])
  1202  		}
  1203  	}
  1204  	if in.CNI != nil {
  1205  		in, out := &in.CNI, &out.CNI
  1206  		*out = new(CNISpec)
  1207  		(*in).DeepCopyInto(*out)
  1208  	}
  1209  	if in.SecurityGroupOverrides != nil {
  1210  		in, out := &in.SecurityGroupOverrides, &out.SecurityGroupOverrides
  1211  		*out = make(map[SecurityGroupRole]string, len(*in))
  1212  		for key, val := range *in {
  1213  			(*out)[key] = val
  1214  		}
  1215  	}
  1216  }
  1217  
  1218  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
  1219  func (in *NetworkSpec) DeepCopy() *NetworkSpec {
  1220  	if in == nil {
  1221  		return nil
  1222  	}
  1223  	out := new(NetworkSpec)
  1224  	in.DeepCopyInto(out)
  1225  	return out
  1226  }
  1227  
  1228  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1229  func (in *RouteTable) DeepCopyInto(out *RouteTable) {
  1230  	*out = *in
  1231  }
  1232  
  1233  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTable.
  1234  func (in *RouteTable) DeepCopy() *RouteTable {
  1235  	if in == nil {
  1236  		return nil
  1237  	}
  1238  	out := new(RouteTable)
  1239  	in.DeepCopyInto(out)
  1240  	return out
  1241  }
  1242  
  1243  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1244  func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup) {
  1245  	*out = *in
  1246  	if in.IngressRules != nil {
  1247  		in, out := &in.IngressRules, &out.IngressRules
  1248  		*out = make(IngressRules, len(*in))
  1249  		for i := range *in {
  1250  			(*in)[i].DeepCopyInto(&(*out)[i])
  1251  		}
  1252  	}
  1253  	if in.Tags != nil {
  1254  		in, out := &in.Tags, &out.Tags
  1255  		*out = make(Tags, len(*in))
  1256  		for key, val := range *in {
  1257  			(*out)[key] = val
  1258  		}
  1259  	}
  1260  }
  1261  
  1262  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup.
  1263  func (in *SecurityGroup) DeepCopy() *SecurityGroup {
  1264  	if in == nil {
  1265  		return nil
  1266  	}
  1267  	out := new(SecurityGroup)
  1268  	in.DeepCopyInto(out)
  1269  	return out
  1270  }
  1271  
  1272  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1273  func (in *SpotMarketOptions) DeepCopyInto(out *SpotMarketOptions) {
  1274  	*out = *in
  1275  	if in.MaxPrice != nil {
  1276  		in, out := &in.MaxPrice, &out.MaxPrice
  1277  		*out = new(string)
  1278  		**out = **in
  1279  	}
  1280  }
  1281  
  1282  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpotMarketOptions.
  1283  func (in *SpotMarketOptions) DeepCopy() *SpotMarketOptions {
  1284  	if in == nil {
  1285  		return nil
  1286  	}
  1287  	out := new(SpotMarketOptions)
  1288  	in.DeepCopyInto(out)
  1289  	return out
  1290  }
  1291  
  1292  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1293  func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec) {
  1294  	*out = *in
  1295  	if in.RouteTableID != nil {
  1296  		in, out := &in.RouteTableID, &out.RouteTableID
  1297  		*out = new(string)
  1298  		**out = **in
  1299  	}
  1300  	if in.NatGatewayID != nil {
  1301  		in, out := &in.NatGatewayID, &out.NatGatewayID
  1302  		*out = new(string)
  1303  		**out = **in
  1304  	}
  1305  	if in.Tags != nil {
  1306  		in, out := &in.Tags, &out.Tags
  1307  		*out = make(Tags, len(*in))
  1308  		for key, val := range *in {
  1309  			(*out)[key] = val
  1310  		}
  1311  	}
  1312  }
  1313  
  1314  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetSpec.
  1315  func (in *SubnetSpec) DeepCopy() *SubnetSpec {
  1316  	if in == nil {
  1317  		return nil
  1318  	}
  1319  	out := new(SubnetSpec)
  1320  	in.DeepCopyInto(out)
  1321  	return out
  1322  }
  1323  
  1324  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1325  func (in Subnets) DeepCopyInto(out *Subnets) {
  1326  	{
  1327  		in := &in
  1328  		*out = make(Subnets, len(*in))
  1329  		for i := range *in {
  1330  			(*in)[i].DeepCopyInto(&(*out)[i])
  1331  		}
  1332  	}
  1333  }
  1334  
  1335  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnets.
  1336  func (in Subnets) DeepCopy() Subnets {
  1337  	if in == nil {
  1338  		return nil
  1339  	}
  1340  	out := new(Subnets)
  1341  	in.DeepCopyInto(out)
  1342  	return *out
  1343  }
  1344  
  1345  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1346  func (in Tags) DeepCopyInto(out *Tags) {
  1347  	{
  1348  		in := &in
  1349  		*out = make(Tags, len(*in))
  1350  		for key, val := range *in {
  1351  			(*out)[key] = val
  1352  		}
  1353  	}
  1354  }
  1355  
  1356  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tags.
  1357  func (in Tags) DeepCopy() Tags {
  1358  	if in == nil {
  1359  		return nil
  1360  	}
  1361  	out := new(Tags)
  1362  	in.DeepCopyInto(out)
  1363  	return *out
  1364  }
  1365  
  1366  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1367  func (in *VPCSpec) DeepCopyInto(out *VPCSpec) {
  1368  	*out = *in
  1369  	if in.InternetGatewayID != nil {
  1370  		in, out := &in.InternetGatewayID, &out.InternetGatewayID
  1371  		*out = new(string)
  1372  		**out = **in
  1373  	}
  1374  	if in.Tags != nil {
  1375  		in, out := &in.Tags, &out.Tags
  1376  		*out = make(Tags, len(*in))
  1377  		for key, val := range *in {
  1378  			(*out)[key] = val
  1379  		}
  1380  	}
  1381  	if in.AvailabilityZoneUsageLimit != nil {
  1382  		in, out := &in.AvailabilityZoneUsageLimit, &out.AvailabilityZoneUsageLimit
  1383  		*out = new(int)
  1384  		**out = **in
  1385  	}
  1386  	if in.AvailabilityZoneSelection != nil {
  1387  		in, out := &in.AvailabilityZoneSelection, &out.AvailabilityZoneSelection
  1388  		*out = new(AZSelectionScheme)
  1389  		**out = **in
  1390  	}
  1391  }
  1392  
  1393  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VPCSpec.
  1394  func (in *VPCSpec) DeepCopy() *VPCSpec {
  1395  	if in == nil {
  1396  		return nil
  1397  	}
  1398  	out := new(VPCSpec)
  1399  	in.DeepCopyInto(out)
  1400  	return out
  1401  }
  1402  
  1403  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
  1404  func (in *Volume) DeepCopyInto(out *Volume) {
  1405  	*out = *in
  1406  }
  1407  
  1408  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
  1409  func (in *Volume) DeepCopy() *Volume {
  1410  	if in == nil {
  1411  		return nil
  1412  	}
  1413  	out := new(Volume)
  1414  	in.DeepCopyInto(out)
  1415  	return out
  1416  }