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

     1  //go:build !ignore_autogenerated
     2  // +build !ignore_autogenerated
     3  
     4  /*
     5  Copyright The Kubernetes Authors.
     6  
     7  Licensed under the Apache License, Version 2.0 (the "License");
     8  you may not use this file except in compliance with the License.
     9  You may obtain a copy of the License at
    10  
    11  	http://www.apache.org/licenses/LICENSE-2.0
    12  
    13  Unless required by applicable law or agreed to in writing, software
    14  distributed under the License is distributed on an "AS IS" BASIS,
    15  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    16  See the License for the specific language governing permissions and
    17  limitations under the License.
    18  */
    19  
    20  // Code generated by controller-gen. DO NOT EDIT.
    21  
    22  package v1alpha4
    23  
    24  import (
    25  	"k8s.io/apimachinery/pkg/runtime"
    26  	apiv1alpha4 "sigs.k8s.io/cluster-api-provider-aws/api/v1alpha4"
    27  	cluster_apiapiv1alpha4 "sigs.k8s.io/cluster-api/api/v1alpha4"
    28  )
    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(apiv1alpha4.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(apiv1alpha4.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  	if in.OIDCIdentityProviderConfig != nil {
   169  		in, out := &in.OIDCIdentityProviderConfig, &out.OIDCIdentityProviderConfig
   170  		*out = new(OIDCIdentityProviderConfig)
   171  		(*in).DeepCopyInto(*out)
   172  	}
   173  }
   174  
   175  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedControlPlaneSpec.
   176  func (in *AWSManagedControlPlaneSpec) DeepCopy() *AWSManagedControlPlaneSpec {
   177  	if in == nil {
   178  		return nil
   179  	}
   180  	out := new(AWSManagedControlPlaneSpec)
   181  	in.DeepCopyInto(out)
   182  	return out
   183  }
   184  
   185  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   186  func (in *AWSManagedControlPlaneStatus) DeepCopyInto(out *AWSManagedControlPlaneStatus) {
   187  	*out = *in
   188  	in.Network.DeepCopyInto(&out.Network)
   189  	if in.FailureDomains != nil {
   190  		in, out := &in.FailureDomains, &out.FailureDomains
   191  		*out = make(cluster_apiapiv1alpha4.FailureDomains, len(*in))
   192  		for key, val := range *in {
   193  			(*out)[key] = *val.DeepCopy()
   194  		}
   195  	}
   196  	if in.Bastion != nil {
   197  		in, out := &in.Bastion, &out.Bastion
   198  		*out = new(apiv1alpha4.Instance)
   199  		(*in).DeepCopyInto(*out)
   200  	}
   201  	out.OIDCProvider = in.OIDCProvider
   202  	if in.ExternalManagedControlPlane != nil {
   203  		in, out := &in.ExternalManagedControlPlane, &out.ExternalManagedControlPlane
   204  		*out = new(bool)
   205  		**out = **in
   206  	}
   207  	if in.FailureMessage != nil {
   208  		in, out := &in.FailureMessage, &out.FailureMessage
   209  		*out = new(string)
   210  		**out = **in
   211  	}
   212  	if in.Conditions != nil {
   213  		in, out := &in.Conditions, &out.Conditions
   214  		*out = make(cluster_apiapiv1alpha4.Conditions, len(*in))
   215  		for i := range *in {
   216  			(*in)[i].DeepCopyInto(&(*out)[i])
   217  		}
   218  	}
   219  	if in.Addons != nil {
   220  		in, out := &in.Addons, &out.Addons
   221  		*out = make([]AddonState, len(*in))
   222  		for i := range *in {
   223  			(*in)[i].DeepCopyInto(&(*out)[i])
   224  		}
   225  	}
   226  	out.IdentityProviderStatus = in.IdentityProviderStatus
   227  }
   228  
   229  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedControlPlaneStatus.
   230  func (in *AWSManagedControlPlaneStatus) DeepCopy() *AWSManagedControlPlaneStatus {
   231  	if in == nil {
   232  		return nil
   233  	}
   234  	out := new(AWSManagedControlPlaneStatus)
   235  	in.DeepCopyInto(out)
   236  	return out
   237  }
   238  
   239  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   240  func (in *Addon) DeepCopyInto(out *Addon) {
   241  	*out = *in
   242  	if in.ConflictResolution != nil {
   243  		in, out := &in.ConflictResolution, &out.ConflictResolution
   244  		*out = new(AddonResolution)
   245  		**out = **in
   246  	}
   247  	if in.ServiceAccountRoleArn != nil {
   248  		in, out := &in.ServiceAccountRoleArn, &out.ServiceAccountRoleArn
   249  		*out = new(string)
   250  		**out = **in
   251  	}
   252  }
   253  
   254  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.
   255  func (in *Addon) DeepCopy() *Addon {
   256  	if in == nil {
   257  		return nil
   258  	}
   259  	out := new(Addon)
   260  	in.DeepCopyInto(out)
   261  	return out
   262  }
   263  
   264  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   265  func (in *AddonIssue) DeepCopyInto(out *AddonIssue) {
   266  	*out = *in
   267  	if in.Code != nil {
   268  		in, out := &in.Code, &out.Code
   269  		*out = new(string)
   270  		**out = **in
   271  	}
   272  	if in.Message != nil {
   273  		in, out := &in.Message, &out.Message
   274  		*out = new(string)
   275  		**out = **in
   276  	}
   277  	if in.ResourceIDs != nil {
   278  		in, out := &in.ResourceIDs, &out.ResourceIDs
   279  		*out = make([]string, len(*in))
   280  		copy(*out, *in)
   281  	}
   282  }
   283  
   284  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonIssue.
   285  func (in *AddonIssue) DeepCopy() *AddonIssue {
   286  	if in == nil {
   287  		return nil
   288  	}
   289  	out := new(AddonIssue)
   290  	in.DeepCopyInto(out)
   291  	return out
   292  }
   293  
   294  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   295  func (in *AddonState) DeepCopyInto(out *AddonState) {
   296  	*out = *in
   297  	if in.ServiceAccountRoleArn != nil {
   298  		in, out := &in.ServiceAccountRoleArn, &out.ServiceAccountRoleArn
   299  		*out = new(string)
   300  		**out = **in
   301  	}
   302  	in.CreatedAt.DeepCopyInto(&out.CreatedAt)
   303  	in.ModifiedAt.DeepCopyInto(&out.ModifiedAt)
   304  	if in.Status != nil {
   305  		in, out := &in.Status, &out.Status
   306  		*out = new(string)
   307  		**out = **in
   308  	}
   309  	if in.Issues != nil {
   310  		in, out := &in.Issues, &out.Issues
   311  		*out = make([]AddonIssue, len(*in))
   312  		for i := range *in {
   313  			(*in)[i].DeepCopyInto(&(*out)[i])
   314  		}
   315  	}
   316  }
   317  
   318  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonState.
   319  func (in *AddonState) DeepCopy() *AddonState {
   320  	if in == nil {
   321  		return nil
   322  	}
   323  	out := new(AddonState)
   324  	in.DeepCopyInto(out)
   325  	return out
   326  }
   327  
   328  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   329  func (in *ControlPlaneLoggingSpec) DeepCopyInto(out *ControlPlaneLoggingSpec) {
   330  	*out = *in
   331  }
   332  
   333  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneLoggingSpec.
   334  func (in *ControlPlaneLoggingSpec) DeepCopy() *ControlPlaneLoggingSpec {
   335  	if in == nil {
   336  		return nil
   337  	}
   338  	out := new(ControlPlaneLoggingSpec)
   339  	in.DeepCopyInto(out)
   340  	return out
   341  }
   342  
   343  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   344  func (in *EncryptionConfig) DeepCopyInto(out *EncryptionConfig) {
   345  	*out = *in
   346  	if in.Provider != nil {
   347  		in, out := &in.Provider, &out.Provider
   348  		*out = new(string)
   349  		**out = **in
   350  	}
   351  	if in.Resources != nil {
   352  		in, out := &in.Resources, &out.Resources
   353  		*out = make([]*string, len(*in))
   354  		for i := range *in {
   355  			if (*in)[i] != nil {
   356  				in, out := &(*in)[i], &(*out)[i]
   357  				*out = new(string)
   358  				**out = **in
   359  			}
   360  		}
   361  	}
   362  }
   363  
   364  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfig.
   365  func (in *EncryptionConfig) DeepCopy() *EncryptionConfig {
   366  	if in == nil {
   367  		return nil
   368  	}
   369  	out := new(EncryptionConfig)
   370  	in.DeepCopyInto(out)
   371  	return out
   372  }
   373  
   374  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   375  func (in *EndpointAccess) DeepCopyInto(out *EndpointAccess) {
   376  	*out = *in
   377  	if in.Public != nil {
   378  		in, out := &in.Public, &out.Public
   379  		*out = new(bool)
   380  		**out = **in
   381  	}
   382  	if in.PublicCIDRs != nil {
   383  		in, out := &in.PublicCIDRs, &out.PublicCIDRs
   384  		*out = make([]*string, len(*in))
   385  		for i := range *in {
   386  			if (*in)[i] != nil {
   387  				in, out := &(*in)[i], &(*out)[i]
   388  				*out = new(string)
   389  				**out = **in
   390  			}
   391  		}
   392  	}
   393  	if in.Private != nil {
   394  		in, out := &in.Private, &out.Private
   395  		*out = new(bool)
   396  		**out = **in
   397  	}
   398  }
   399  
   400  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAccess.
   401  func (in *EndpointAccess) DeepCopy() *EndpointAccess {
   402  	if in == nil {
   403  		return nil
   404  	}
   405  	out := new(EndpointAccess)
   406  	in.DeepCopyInto(out)
   407  	return out
   408  }
   409  
   410  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   411  func (in *IAMAuthenticatorConfig) DeepCopyInto(out *IAMAuthenticatorConfig) {
   412  	*out = *in
   413  	if in.RoleMappings != nil {
   414  		in, out := &in.RoleMappings, &out.RoleMappings
   415  		*out = make([]RoleMapping, len(*in))
   416  		for i := range *in {
   417  			(*in)[i].DeepCopyInto(&(*out)[i])
   418  		}
   419  	}
   420  	if in.UserMappings != nil {
   421  		in, out := &in.UserMappings, &out.UserMappings
   422  		*out = make([]UserMapping, len(*in))
   423  		for i := range *in {
   424  			(*in)[i].DeepCopyInto(&(*out)[i])
   425  		}
   426  	}
   427  }
   428  
   429  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMAuthenticatorConfig.
   430  func (in *IAMAuthenticatorConfig) DeepCopy() *IAMAuthenticatorConfig {
   431  	if in == nil {
   432  		return nil
   433  	}
   434  	out := new(IAMAuthenticatorConfig)
   435  	in.DeepCopyInto(out)
   436  	return out
   437  }
   438  
   439  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   440  func (in *IdentityProviderStatus) DeepCopyInto(out *IdentityProviderStatus) {
   441  	*out = *in
   442  }
   443  
   444  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderStatus.
   445  func (in *IdentityProviderStatus) DeepCopy() *IdentityProviderStatus {
   446  	if in == nil {
   447  		return nil
   448  	}
   449  	out := new(IdentityProviderStatus)
   450  	in.DeepCopyInto(out)
   451  	return out
   452  }
   453  
   454  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   455  func (in *KubernetesMapping) DeepCopyInto(out *KubernetesMapping) {
   456  	*out = *in
   457  	if in.Groups != nil {
   458  		in, out := &in.Groups, &out.Groups
   459  		*out = make([]string, len(*in))
   460  		copy(*out, *in)
   461  	}
   462  }
   463  
   464  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesMapping.
   465  func (in *KubernetesMapping) DeepCopy() *KubernetesMapping {
   466  	if in == nil {
   467  		return nil
   468  	}
   469  	out := new(KubernetesMapping)
   470  	in.DeepCopyInto(out)
   471  	return out
   472  }
   473  
   474  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   475  func (in *OIDCIdentityProviderConfig) DeepCopyInto(out *OIDCIdentityProviderConfig) {
   476  	*out = *in
   477  	if in.GroupsClaim != nil {
   478  		in, out := &in.GroupsClaim, &out.GroupsClaim
   479  		*out = new(string)
   480  		**out = **in
   481  	}
   482  	if in.GroupsPrefix != nil {
   483  		in, out := &in.GroupsPrefix, &out.GroupsPrefix
   484  		*out = new(string)
   485  		**out = **in
   486  	}
   487  	if in.RequiredClaims != nil {
   488  		in, out := &in.RequiredClaims, &out.RequiredClaims
   489  		*out = make(map[string]string, len(*in))
   490  		for key, val := range *in {
   491  			(*out)[key] = val
   492  		}
   493  	}
   494  	if in.UsernameClaim != nil {
   495  		in, out := &in.UsernameClaim, &out.UsernameClaim
   496  		*out = new(string)
   497  		**out = **in
   498  	}
   499  	if in.UsernamePrefix != nil {
   500  		in, out := &in.UsernamePrefix, &out.UsernamePrefix
   501  		*out = new(string)
   502  		**out = **in
   503  	}
   504  	if in.Tags != nil {
   505  		in, out := &in.Tags, &out.Tags
   506  		*out = make(apiv1alpha4.Tags, len(*in))
   507  		for key, val := range *in {
   508  			(*out)[key] = val
   509  		}
   510  	}
   511  }
   512  
   513  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCIdentityProviderConfig.
   514  func (in *OIDCIdentityProviderConfig) DeepCopy() *OIDCIdentityProviderConfig {
   515  	if in == nil {
   516  		return nil
   517  	}
   518  	out := new(OIDCIdentityProviderConfig)
   519  	in.DeepCopyInto(out)
   520  	return out
   521  }
   522  
   523  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   524  func (in *OIDCProviderStatus) DeepCopyInto(out *OIDCProviderStatus) {
   525  	*out = *in
   526  }
   527  
   528  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCProviderStatus.
   529  func (in *OIDCProviderStatus) DeepCopy() *OIDCProviderStatus {
   530  	if in == nil {
   531  		return nil
   532  	}
   533  	out := new(OIDCProviderStatus)
   534  	in.DeepCopyInto(out)
   535  	return out
   536  }
   537  
   538  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   539  func (in *RoleMapping) DeepCopyInto(out *RoleMapping) {
   540  	*out = *in
   541  	in.KubernetesMapping.DeepCopyInto(&out.KubernetesMapping)
   542  }
   543  
   544  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleMapping.
   545  func (in *RoleMapping) DeepCopy() *RoleMapping {
   546  	if in == nil {
   547  		return nil
   548  	}
   549  	out := new(RoleMapping)
   550  	in.DeepCopyInto(out)
   551  	return out
   552  }
   553  
   554  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   555  func (in *UserMapping) DeepCopyInto(out *UserMapping) {
   556  	*out = *in
   557  	in.KubernetesMapping.DeepCopyInto(&out.KubernetesMapping)
   558  }
   559  
   560  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserMapping.
   561  func (in *UserMapping) DeepCopy() *UserMapping {
   562  	if in == nil {
   563  		return nil
   564  	}
   565  	out := new(UserMapping)
   566  	in.DeepCopyInto(out)
   567  	return out
   568  }