sigs.k8s.io/cluster-api-provider-aws@v1.5.5/controlplane/eks/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-provider-aws/api/v1alpha3"
    27  	cluster_apiapiv1alpha3 "sigs.k8s.io/cluster-api/api/v1alpha3"
    28  )
    29  
    30  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    31  func (in *AWSManagedControlPlane) DeepCopyInto(out *AWSManagedControlPlane) {
    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 AWSManagedControlPlane.
    40  func (in *AWSManagedControlPlane) DeepCopy() *AWSManagedControlPlane {
    41  	if in == nil {
    42  		return nil
    43  	}
    44  	out := new(AWSManagedControlPlane)
    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 *AWSManagedControlPlane) 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 *AWSManagedControlPlaneList) DeepCopyInto(out *AWSManagedControlPlaneList) {
    59  	*out = *in
    60  	out.TypeMeta = in.TypeMeta
    61  	in.ListMeta.DeepCopyInto(&out.ListMeta)
    62  	if in.Items != nil {
    63  		in, out := &in.Items, &out.Items
    64  		*out = make([]AWSManagedControlPlane, len(*in))
    65  		for i := range *in {
    66  			(*in)[i].DeepCopyInto(&(*out)[i])
    67  		}
    68  	}
    69  }
    70  
    71  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedControlPlaneList.
    72  func (in *AWSManagedControlPlaneList) DeepCopy() *AWSManagedControlPlaneList {
    73  	if in == nil {
    74  		return nil
    75  	}
    76  	out := new(AWSManagedControlPlaneList)
    77  	in.DeepCopyInto(out)
    78  	return out
    79  }
    80  
    81  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    82  func (in *AWSManagedControlPlaneList) DeepCopyObject() runtime.Object {
    83  	if c := in.DeepCopy(); c != nil {
    84  		return c
    85  	}
    86  	return nil
    87  }
    88  
    89  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    90  func (in *AWSManagedControlPlaneSpec) DeepCopyInto(out *AWSManagedControlPlaneSpec) {
    91  	*out = *in
    92  	if in.IdentityRef != nil {
    93  		in, out := &in.IdentityRef, &out.IdentityRef
    94  		*out = new(apiv1alpha3.AWSIdentityReference)
    95  		**out = **in
    96  	}
    97  	in.NetworkSpec.DeepCopyInto(&out.NetworkSpec)
    98  	if in.SecondaryCidrBlock != nil {
    99  		in, out := &in.SecondaryCidrBlock, &out.SecondaryCidrBlock
   100  		*out = new(string)
   101  		**out = **in
   102  	}
   103  	if in.SSHKeyName != nil {
   104  		in, out := &in.SSHKeyName, &out.SSHKeyName
   105  		*out = new(string)
   106  		**out = **in
   107  	}
   108  	if in.Version != nil {
   109  		in, out := &in.Version, &out.Version
   110  		*out = new(string)
   111  		**out = **in
   112  	}
   113  	if in.RoleName != nil {
   114  		in, out := &in.RoleName, &out.RoleName
   115  		*out = new(string)
   116  		**out = **in
   117  	}
   118  	if in.RoleAdditionalPolicies != nil {
   119  		in, out := &in.RoleAdditionalPolicies, &out.RoleAdditionalPolicies
   120  		*out = new([]string)
   121  		if **in != nil {
   122  			in, out := *in, *out
   123  			*out = make([]string, len(*in))
   124  			copy(*out, *in)
   125  		}
   126  	}
   127  	if in.Logging != nil {
   128  		in, out := &in.Logging, &out.Logging
   129  		*out = new(ControlPlaneLoggingSpec)
   130  		**out = **in
   131  	}
   132  	if in.EncryptionConfig != nil {
   133  		in, out := &in.EncryptionConfig, &out.EncryptionConfig
   134  		*out = new(EncryptionConfig)
   135  		(*in).DeepCopyInto(*out)
   136  	}
   137  	if in.AdditionalTags != nil {
   138  		in, out := &in.AdditionalTags, &out.AdditionalTags
   139  		*out = make(apiv1alpha3.Tags, len(*in))
   140  		for key, val := range *in {
   141  			(*out)[key] = val
   142  		}
   143  	}
   144  	if in.IAMAuthenticatorConfig != nil {
   145  		in, out := &in.IAMAuthenticatorConfig, &out.IAMAuthenticatorConfig
   146  		*out = new(IAMAuthenticatorConfig)
   147  		(*in).DeepCopyInto(*out)
   148  	}
   149  	in.EndpointAccess.DeepCopyInto(&out.EndpointAccess)
   150  	out.ControlPlaneEndpoint = in.ControlPlaneEndpoint
   151  	in.Bastion.DeepCopyInto(&out.Bastion)
   152  	if in.TokenMethod != nil {
   153  		in, out := &in.TokenMethod, &out.TokenMethod
   154  		*out = new(EKSTokenMethod)
   155  		**out = **in
   156  	}
   157  	if in.Addons != nil {
   158  		in, out := &in.Addons, &out.Addons
   159  		*out = new([]Addon)
   160  		if **in != nil {
   161  			in, out := *in, *out
   162  			*out = make([]Addon, len(*in))
   163  			for i := range *in {
   164  				(*in)[i].DeepCopyInto(&(*out)[i])
   165  			}
   166  		}
   167  	}
   168  }
   169  
   170  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedControlPlaneSpec.
   171  func (in *AWSManagedControlPlaneSpec) DeepCopy() *AWSManagedControlPlaneSpec {
   172  	if in == nil {
   173  		return nil
   174  	}
   175  	out := new(AWSManagedControlPlaneSpec)
   176  	in.DeepCopyInto(out)
   177  	return out
   178  }
   179  
   180  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   181  func (in *AWSManagedControlPlaneStatus) DeepCopyInto(out *AWSManagedControlPlaneStatus) {
   182  	*out = *in
   183  	in.Network.DeepCopyInto(&out.Network)
   184  	if in.FailureDomains != nil {
   185  		in, out := &in.FailureDomains, &out.FailureDomains
   186  		*out = make(cluster_apiapiv1alpha3.FailureDomains, len(*in))
   187  		for key, val := range *in {
   188  			(*out)[key] = *val.DeepCopy()
   189  		}
   190  	}
   191  	if in.Bastion != nil {
   192  		in, out := &in.Bastion, &out.Bastion
   193  		*out = new(apiv1alpha3.Instance)
   194  		(*in).DeepCopyInto(*out)
   195  	}
   196  	out.OIDCProvider = in.OIDCProvider
   197  	if in.ExternalManagedControlPlane != nil {
   198  		in, out := &in.ExternalManagedControlPlane, &out.ExternalManagedControlPlane
   199  		*out = new(bool)
   200  		**out = **in
   201  	}
   202  	if in.FailureMessage != nil {
   203  		in, out := &in.FailureMessage, &out.FailureMessage
   204  		*out = new(string)
   205  		**out = **in
   206  	}
   207  	if in.Conditions != nil {
   208  		in, out := &in.Conditions, &out.Conditions
   209  		*out = make(cluster_apiapiv1alpha3.Conditions, len(*in))
   210  		for i := range *in {
   211  			(*in)[i].DeepCopyInto(&(*out)[i])
   212  		}
   213  	}
   214  	if in.Addons != nil {
   215  		in, out := &in.Addons, &out.Addons
   216  		*out = make([]AddonState, 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 AWSManagedControlPlaneStatus.
   224  func (in *AWSManagedControlPlaneStatus) DeepCopy() *AWSManagedControlPlaneStatus {
   225  	if in == nil {
   226  		return nil
   227  	}
   228  	out := new(AWSManagedControlPlaneStatus)
   229  	in.DeepCopyInto(out)
   230  	return out
   231  }
   232  
   233  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   234  func (in *Addon) DeepCopyInto(out *Addon) {
   235  	*out = *in
   236  	if in.ConflictResolution != nil {
   237  		in, out := &in.ConflictResolution, &out.ConflictResolution
   238  		*out = new(AddonResolution)
   239  		**out = **in
   240  	}
   241  	if in.ServiceAccountRoleArn != nil {
   242  		in, out := &in.ServiceAccountRoleArn, &out.ServiceAccountRoleArn
   243  		*out = new(string)
   244  		**out = **in
   245  	}
   246  }
   247  
   248  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.
   249  func (in *Addon) DeepCopy() *Addon {
   250  	if in == nil {
   251  		return nil
   252  	}
   253  	out := new(Addon)
   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 *AddonIssue) DeepCopyInto(out *AddonIssue) {
   260  	*out = *in
   261  	if in.Code != nil {
   262  		in, out := &in.Code, &out.Code
   263  		*out = new(string)
   264  		**out = **in
   265  	}
   266  	if in.Message != nil {
   267  		in, out := &in.Message, &out.Message
   268  		*out = new(string)
   269  		**out = **in
   270  	}
   271  	if in.ResourceIDs != nil {
   272  		in, out := &in.ResourceIDs, &out.ResourceIDs
   273  		*out = make([]string, len(*in))
   274  		copy(*out, *in)
   275  	}
   276  }
   277  
   278  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonIssue.
   279  func (in *AddonIssue) DeepCopy() *AddonIssue {
   280  	if in == nil {
   281  		return nil
   282  	}
   283  	out := new(AddonIssue)
   284  	in.DeepCopyInto(out)
   285  	return out
   286  }
   287  
   288  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   289  func (in *AddonState) DeepCopyInto(out *AddonState) {
   290  	*out = *in
   291  	if in.ServiceAccountRoleArn != nil {
   292  		in, out := &in.ServiceAccountRoleArn, &out.ServiceAccountRoleArn
   293  		*out = new(string)
   294  		**out = **in
   295  	}
   296  	in.CreatedAt.DeepCopyInto(&out.CreatedAt)
   297  	in.ModifiedAt.DeepCopyInto(&out.ModifiedAt)
   298  	if in.Status != nil {
   299  		in, out := &in.Status, &out.Status
   300  		*out = new(string)
   301  		**out = **in
   302  	}
   303  	if in.Issues != nil {
   304  		in, out := &in.Issues, &out.Issues
   305  		*out = make([]AddonIssue, len(*in))
   306  		for i := range *in {
   307  			(*in)[i].DeepCopyInto(&(*out)[i])
   308  		}
   309  	}
   310  }
   311  
   312  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonState.
   313  func (in *AddonState) DeepCopy() *AddonState {
   314  	if in == nil {
   315  		return nil
   316  	}
   317  	out := new(AddonState)
   318  	in.DeepCopyInto(out)
   319  	return out
   320  }
   321  
   322  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   323  func (in *ControlPlaneLoggingSpec) DeepCopyInto(out *ControlPlaneLoggingSpec) {
   324  	*out = *in
   325  }
   326  
   327  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneLoggingSpec.
   328  func (in *ControlPlaneLoggingSpec) DeepCopy() *ControlPlaneLoggingSpec {
   329  	if in == nil {
   330  		return nil
   331  	}
   332  	out := new(ControlPlaneLoggingSpec)
   333  	in.DeepCopyInto(out)
   334  	return out
   335  }
   336  
   337  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   338  func (in *EncryptionConfig) DeepCopyInto(out *EncryptionConfig) {
   339  	*out = *in
   340  	if in.Provider != nil {
   341  		in, out := &in.Provider, &out.Provider
   342  		*out = new(string)
   343  		**out = **in
   344  	}
   345  	if in.Resources != nil {
   346  		in, out := &in.Resources, &out.Resources
   347  		*out = make([]*string, len(*in))
   348  		for i := range *in {
   349  			if (*in)[i] != nil {
   350  				in, out := &(*in)[i], &(*out)[i]
   351  				*out = new(string)
   352  				**out = **in
   353  			}
   354  		}
   355  	}
   356  }
   357  
   358  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfig.
   359  func (in *EncryptionConfig) DeepCopy() *EncryptionConfig {
   360  	if in == nil {
   361  		return nil
   362  	}
   363  	out := new(EncryptionConfig)
   364  	in.DeepCopyInto(out)
   365  	return out
   366  }
   367  
   368  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   369  func (in *EndpointAccess) DeepCopyInto(out *EndpointAccess) {
   370  	*out = *in
   371  	if in.Public != nil {
   372  		in, out := &in.Public, &out.Public
   373  		*out = new(bool)
   374  		**out = **in
   375  	}
   376  	if in.PublicCIDRs != nil {
   377  		in, out := &in.PublicCIDRs, &out.PublicCIDRs
   378  		*out = make([]*string, len(*in))
   379  		for i := range *in {
   380  			if (*in)[i] != nil {
   381  				in, out := &(*in)[i], &(*out)[i]
   382  				*out = new(string)
   383  				**out = **in
   384  			}
   385  		}
   386  	}
   387  	if in.Private != nil {
   388  		in, out := &in.Private, &out.Private
   389  		*out = new(bool)
   390  		**out = **in
   391  	}
   392  }
   393  
   394  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAccess.
   395  func (in *EndpointAccess) DeepCopy() *EndpointAccess {
   396  	if in == nil {
   397  		return nil
   398  	}
   399  	out := new(EndpointAccess)
   400  	in.DeepCopyInto(out)
   401  	return out
   402  }
   403  
   404  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   405  func (in *IAMAuthenticatorConfig) DeepCopyInto(out *IAMAuthenticatorConfig) {
   406  	*out = *in
   407  	if in.RoleMappings != nil {
   408  		in, out := &in.RoleMappings, &out.RoleMappings
   409  		*out = make([]RoleMapping, len(*in))
   410  		for i := range *in {
   411  			(*in)[i].DeepCopyInto(&(*out)[i])
   412  		}
   413  	}
   414  	if in.UserMappings != nil {
   415  		in, out := &in.UserMappings, &out.UserMappings
   416  		*out = make([]UserMapping, len(*in))
   417  		for i := range *in {
   418  			(*in)[i].DeepCopyInto(&(*out)[i])
   419  		}
   420  	}
   421  }
   422  
   423  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMAuthenticatorConfig.
   424  func (in *IAMAuthenticatorConfig) DeepCopy() *IAMAuthenticatorConfig {
   425  	if in == nil {
   426  		return nil
   427  	}
   428  	out := new(IAMAuthenticatorConfig)
   429  	in.DeepCopyInto(out)
   430  	return out
   431  }
   432  
   433  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   434  func (in *KubernetesMapping) DeepCopyInto(out *KubernetesMapping) {
   435  	*out = *in
   436  	if in.Groups != nil {
   437  		in, out := &in.Groups, &out.Groups
   438  		*out = make([]string, len(*in))
   439  		copy(*out, *in)
   440  	}
   441  }
   442  
   443  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesMapping.
   444  func (in *KubernetesMapping) DeepCopy() *KubernetesMapping {
   445  	if in == nil {
   446  		return nil
   447  	}
   448  	out := new(KubernetesMapping)
   449  	in.DeepCopyInto(out)
   450  	return out
   451  }
   452  
   453  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   454  func (in *OIDCProviderStatus) DeepCopyInto(out *OIDCProviderStatus) {
   455  	*out = *in
   456  }
   457  
   458  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCProviderStatus.
   459  func (in *OIDCProviderStatus) DeepCopy() *OIDCProviderStatus {
   460  	if in == nil {
   461  		return nil
   462  	}
   463  	out := new(OIDCProviderStatus)
   464  	in.DeepCopyInto(out)
   465  	return out
   466  }
   467  
   468  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   469  func (in *RoleMapping) DeepCopyInto(out *RoleMapping) {
   470  	*out = *in
   471  	in.KubernetesMapping.DeepCopyInto(&out.KubernetesMapping)
   472  }
   473  
   474  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleMapping.
   475  func (in *RoleMapping) DeepCopy() *RoleMapping {
   476  	if in == nil {
   477  		return nil
   478  	}
   479  	out := new(RoleMapping)
   480  	in.DeepCopyInto(out)
   481  	return out
   482  }
   483  
   484  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   485  func (in *UserMapping) DeepCopyInto(out *UserMapping) {
   486  	*out = *in
   487  	in.KubernetesMapping.DeepCopyInto(&out.KubernetesMapping)
   488  }
   489  
   490  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserMapping.
   491  func (in *UserMapping) DeepCopy() *UserMapping {
   492  	if in == nil {
   493  		return nil
   494  	}
   495  	out := new(UserMapping)
   496  	in.DeepCopyInto(out)
   497  	return out
   498  }