sigs.k8s.io/cluster-api-provider-aws@v1.5.5/controlplane/eks/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  )
    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(apiv1beta1.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(apiv1beta1.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  	out.KubeProxy = in.KubeProxy
   174  }
   175  
   176  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedControlPlaneSpec.
   177  func (in *AWSManagedControlPlaneSpec) DeepCopy() *AWSManagedControlPlaneSpec {
   178  	if in == nil {
   179  		return nil
   180  	}
   181  	out := new(AWSManagedControlPlaneSpec)
   182  	in.DeepCopyInto(out)
   183  	return out
   184  }
   185  
   186  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   187  func (in *AWSManagedControlPlaneStatus) DeepCopyInto(out *AWSManagedControlPlaneStatus) {
   188  	*out = *in
   189  	in.Network.DeepCopyInto(&out.Network)
   190  	if in.FailureDomains != nil {
   191  		in, out := &in.FailureDomains, &out.FailureDomains
   192  		*out = make(cluster_apiapiv1beta1.FailureDomains, len(*in))
   193  		for key, val := range *in {
   194  			(*out)[key] = *val.DeepCopy()
   195  		}
   196  	}
   197  	if in.Bastion != nil {
   198  		in, out := &in.Bastion, &out.Bastion
   199  		*out = new(apiv1beta1.Instance)
   200  		(*in).DeepCopyInto(*out)
   201  	}
   202  	out.OIDCProvider = in.OIDCProvider
   203  	if in.ExternalManagedControlPlane != nil {
   204  		in, out := &in.ExternalManagedControlPlane, &out.ExternalManagedControlPlane
   205  		*out = new(bool)
   206  		**out = **in
   207  	}
   208  	if in.FailureMessage != nil {
   209  		in, out := &in.FailureMessage, &out.FailureMessage
   210  		*out = new(string)
   211  		**out = **in
   212  	}
   213  	if in.Conditions != nil {
   214  		in, out := &in.Conditions, &out.Conditions
   215  		*out = make(cluster_apiapiv1beta1.Conditions, len(*in))
   216  		for i := range *in {
   217  			(*in)[i].DeepCopyInto(&(*out)[i])
   218  		}
   219  	}
   220  	if in.Addons != nil {
   221  		in, out := &in.Addons, &out.Addons
   222  		*out = make([]AddonState, len(*in))
   223  		for i := range *in {
   224  			(*in)[i].DeepCopyInto(&(*out)[i])
   225  		}
   226  	}
   227  	out.IdentityProviderStatus = in.IdentityProviderStatus
   228  }
   229  
   230  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSManagedControlPlaneStatus.
   231  func (in *AWSManagedControlPlaneStatus) DeepCopy() *AWSManagedControlPlaneStatus {
   232  	if in == nil {
   233  		return nil
   234  	}
   235  	out := new(AWSManagedControlPlaneStatus)
   236  	in.DeepCopyInto(out)
   237  	return out
   238  }
   239  
   240  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   241  func (in *Addon) DeepCopyInto(out *Addon) {
   242  	*out = *in
   243  	if in.ConflictResolution != nil {
   244  		in, out := &in.ConflictResolution, &out.ConflictResolution
   245  		*out = new(AddonResolution)
   246  		**out = **in
   247  	}
   248  	if in.ServiceAccountRoleArn != nil {
   249  		in, out := &in.ServiceAccountRoleArn, &out.ServiceAccountRoleArn
   250  		*out = new(string)
   251  		**out = **in
   252  	}
   253  }
   254  
   255  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.
   256  func (in *Addon) DeepCopy() *Addon {
   257  	if in == nil {
   258  		return nil
   259  	}
   260  	out := new(Addon)
   261  	in.DeepCopyInto(out)
   262  	return out
   263  }
   264  
   265  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   266  func (in *AddonIssue) DeepCopyInto(out *AddonIssue) {
   267  	*out = *in
   268  	if in.Code != nil {
   269  		in, out := &in.Code, &out.Code
   270  		*out = new(string)
   271  		**out = **in
   272  	}
   273  	if in.Message != nil {
   274  		in, out := &in.Message, &out.Message
   275  		*out = new(string)
   276  		**out = **in
   277  	}
   278  	if in.ResourceIDs != nil {
   279  		in, out := &in.ResourceIDs, &out.ResourceIDs
   280  		*out = make([]string, len(*in))
   281  		copy(*out, *in)
   282  	}
   283  }
   284  
   285  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonIssue.
   286  func (in *AddonIssue) DeepCopy() *AddonIssue {
   287  	if in == nil {
   288  		return nil
   289  	}
   290  	out := new(AddonIssue)
   291  	in.DeepCopyInto(out)
   292  	return out
   293  }
   294  
   295  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   296  func (in *AddonState) DeepCopyInto(out *AddonState) {
   297  	*out = *in
   298  	if in.ServiceAccountRoleArn != nil {
   299  		in, out := &in.ServiceAccountRoleArn, &out.ServiceAccountRoleArn
   300  		*out = new(string)
   301  		**out = **in
   302  	}
   303  	in.CreatedAt.DeepCopyInto(&out.CreatedAt)
   304  	in.ModifiedAt.DeepCopyInto(&out.ModifiedAt)
   305  	if in.Status != nil {
   306  		in, out := &in.Status, &out.Status
   307  		*out = new(string)
   308  		**out = **in
   309  	}
   310  	if in.Issues != nil {
   311  		in, out := &in.Issues, &out.Issues
   312  		*out = make([]AddonIssue, len(*in))
   313  		for i := range *in {
   314  			(*in)[i].DeepCopyInto(&(*out)[i])
   315  		}
   316  	}
   317  }
   318  
   319  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonState.
   320  func (in *AddonState) DeepCopy() *AddonState {
   321  	if in == nil {
   322  		return nil
   323  	}
   324  	out := new(AddonState)
   325  	in.DeepCopyInto(out)
   326  	return out
   327  }
   328  
   329  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   330  func (in *ControlPlaneLoggingSpec) DeepCopyInto(out *ControlPlaneLoggingSpec) {
   331  	*out = *in
   332  }
   333  
   334  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneLoggingSpec.
   335  func (in *ControlPlaneLoggingSpec) DeepCopy() *ControlPlaneLoggingSpec {
   336  	if in == nil {
   337  		return nil
   338  	}
   339  	out := new(ControlPlaneLoggingSpec)
   340  	in.DeepCopyInto(out)
   341  	return out
   342  }
   343  
   344  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   345  func (in *EncryptionConfig) DeepCopyInto(out *EncryptionConfig) {
   346  	*out = *in
   347  	if in.Provider != nil {
   348  		in, out := &in.Provider, &out.Provider
   349  		*out = new(string)
   350  		**out = **in
   351  	}
   352  	if in.Resources != nil {
   353  		in, out := &in.Resources, &out.Resources
   354  		*out = make([]*string, len(*in))
   355  		for i := range *in {
   356  			if (*in)[i] != nil {
   357  				in, out := &(*in)[i], &(*out)[i]
   358  				*out = new(string)
   359  				**out = **in
   360  			}
   361  		}
   362  	}
   363  }
   364  
   365  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfig.
   366  func (in *EncryptionConfig) DeepCopy() *EncryptionConfig {
   367  	if in == nil {
   368  		return nil
   369  	}
   370  	out := new(EncryptionConfig)
   371  	in.DeepCopyInto(out)
   372  	return out
   373  }
   374  
   375  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   376  func (in *EndpointAccess) DeepCopyInto(out *EndpointAccess) {
   377  	*out = *in
   378  	if in.Public != nil {
   379  		in, out := &in.Public, &out.Public
   380  		*out = new(bool)
   381  		**out = **in
   382  	}
   383  	if in.PublicCIDRs != nil {
   384  		in, out := &in.PublicCIDRs, &out.PublicCIDRs
   385  		*out = make([]*string, len(*in))
   386  		for i := range *in {
   387  			if (*in)[i] != nil {
   388  				in, out := &(*in)[i], &(*out)[i]
   389  				*out = new(string)
   390  				**out = **in
   391  			}
   392  		}
   393  	}
   394  	if in.Private != nil {
   395  		in, out := &in.Private, &out.Private
   396  		*out = new(bool)
   397  		**out = **in
   398  	}
   399  }
   400  
   401  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAccess.
   402  func (in *EndpointAccess) DeepCopy() *EndpointAccess {
   403  	if in == nil {
   404  		return nil
   405  	}
   406  	out := new(EndpointAccess)
   407  	in.DeepCopyInto(out)
   408  	return out
   409  }
   410  
   411  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   412  func (in *IAMAuthenticatorConfig) DeepCopyInto(out *IAMAuthenticatorConfig) {
   413  	*out = *in
   414  	if in.RoleMappings != nil {
   415  		in, out := &in.RoleMappings, &out.RoleMappings
   416  		*out = make([]RoleMapping, len(*in))
   417  		for i := range *in {
   418  			(*in)[i].DeepCopyInto(&(*out)[i])
   419  		}
   420  	}
   421  	if in.UserMappings != nil {
   422  		in, out := &in.UserMappings, &out.UserMappings
   423  		*out = make([]UserMapping, len(*in))
   424  		for i := range *in {
   425  			(*in)[i].DeepCopyInto(&(*out)[i])
   426  		}
   427  	}
   428  }
   429  
   430  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IAMAuthenticatorConfig.
   431  func (in *IAMAuthenticatorConfig) DeepCopy() *IAMAuthenticatorConfig {
   432  	if in == nil {
   433  		return nil
   434  	}
   435  	out := new(IAMAuthenticatorConfig)
   436  	in.DeepCopyInto(out)
   437  	return out
   438  }
   439  
   440  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   441  func (in *IdentityProviderStatus) DeepCopyInto(out *IdentityProviderStatus) {
   442  	*out = *in
   443  }
   444  
   445  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderStatus.
   446  func (in *IdentityProviderStatus) DeepCopy() *IdentityProviderStatus {
   447  	if in == nil {
   448  		return nil
   449  	}
   450  	out := new(IdentityProviderStatus)
   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 *KubeProxy) DeepCopyInto(out *KubeProxy) {
   457  	*out = *in
   458  }
   459  
   460  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeProxy.
   461  func (in *KubeProxy) DeepCopy() *KubeProxy {
   462  	if in == nil {
   463  		return nil
   464  	}
   465  	out := new(KubeProxy)
   466  	in.DeepCopyInto(out)
   467  	return out
   468  }
   469  
   470  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   471  func (in *KubernetesMapping) DeepCopyInto(out *KubernetesMapping) {
   472  	*out = *in
   473  	if in.Groups != nil {
   474  		in, out := &in.Groups, &out.Groups
   475  		*out = make([]string, len(*in))
   476  		copy(*out, *in)
   477  	}
   478  }
   479  
   480  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesMapping.
   481  func (in *KubernetesMapping) DeepCopy() *KubernetesMapping {
   482  	if in == nil {
   483  		return nil
   484  	}
   485  	out := new(KubernetesMapping)
   486  	in.DeepCopyInto(out)
   487  	return out
   488  }
   489  
   490  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   491  func (in *OIDCIdentityProviderConfig) DeepCopyInto(out *OIDCIdentityProviderConfig) {
   492  	*out = *in
   493  	if in.GroupsClaim != nil {
   494  		in, out := &in.GroupsClaim, &out.GroupsClaim
   495  		*out = new(string)
   496  		**out = **in
   497  	}
   498  	if in.GroupsPrefix != nil {
   499  		in, out := &in.GroupsPrefix, &out.GroupsPrefix
   500  		*out = new(string)
   501  		**out = **in
   502  	}
   503  	if in.RequiredClaims != nil {
   504  		in, out := &in.RequiredClaims, &out.RequiredClaims
   505  		*out = make(map[string]string, len(*in))
   506  		for key, val := range *in {
   507  			(*out)[key] = val
   508  		}
   509  	}
   510  	if in.UsernameClaim != nil {
   511  		in, out := &in.UsernameClaim, &out.UsernameClaim
   512  		*out = new(string)
   513  		**out = **in
   514  	}
   515  	if in.UsernamePrefix != nil {
   516  		in, out := &in.UsernamePrefix, &out.UsernamePrefix
   517  		*out = new(string)
   518  		**out = **in
   519  	}
   520  	if in.Tags != nil {
   521  		in, out := &in.Tags, &out.Tags
   522  		*out = make(apiv1beta1.Tags, len(*in))
   523  		for key, val := range *in {
   524  			(*out)[key] = val
   525  		}
   526  	}
   527  }
   528  
   529  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCIdentityProviderConfig.
   530  func (in *OIDCIdentityProviderConfig) DeepCopy() *OIDCIdentityProviderConfig {
   531  	if in == nil {
   532  		return nil
   533  	}
   534  	out := new(OIDCIdentityProviderConfig)
   535  	in.DeepCopyInto(out)
   536  	return out
   537  }
   538  
   539  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   540  func (in *OIDCProviderStatus) DeepCopyInto(out *OIDCProviderStatus) {
   541  	*out = *in
   542  }
   543  
   544  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCProviderStatus.
   545  func (in *OIDCProviderStatus) DeepCopy() *OIDCProviderStatus {
   546  	if in == nil {
   547  		return nil
   548  	}
   549  	out := new(OIDCProviderStatus)
   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 *RoleMapping) DeepCopyInto(out *RoleMapping) {
   556  	*out = *in
   557  	in.KubernetesMapping.DeepCopyInto(&out.KubernetesMapping)
   558  }
   559  
   560  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleMapping.
   561  func (in *RoleMapping) DeepCopy() *RoleMapping {
   562  	if in == nil {
   563  		return nil
   564  	}
   565  	out := new(RoleMapping)
   566  	in.DeepCopyInto(out)
   567  	return out
   568  }
   569  
   570  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   571  func (in *UserMapping) DeepCopyInto(out *UserMapping) {
   572  	*out = *in
   573  	in.KubernetesMapping.DeepCopyInto(&out.KubernetesMapping)
   574  }
   575  
   576  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserMapping.
   577  func (in *UserMapping) DeepCopy() *UserMapping {
   578  	if in == nil {
   579  		return nil
   580  	}
   581  	out := new(UserMapping)
   582  	in.DeepCopyInto(out)
   583  	return out
   584  }