sigs.k8s.io/cluster-api-provider-aws@v1.5.5/cmd/clusterawsadm/api/bootstrap/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  	cluster_api_provider_awsapiv1beta1 "sigs.k8s.io/cluster-api-provider-aws/api/v1beta1"
    27  	apiv1beta1 "sigs.k8s.io/cluster-api-provider-aws/iam/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 *AWSIAMConfiguration) DeepCopyInto(out *AWSIAMConfiguration) {
    32  	*out = *in
    33  	out.TypeMeta = in.TypeMeta
    34  	in.Spec.DeepCopyInto(&out.Spec)
    35  }
    36  
    37  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSIAMConfiguration.
    38  func (in *AWSIAMConfiguration) DeepCopy() *AWSIAMConfiguration {
    39  	if in == nil {
    40  		return nil
    41  	}
    42  	out := new(AWSIAMConfiguration)
    43  	in.DeepCopyInto(out)
    44  	return out
    45  }
    46  
    47  // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    48  func (in *AWSIAMConfiguration) DeepCopyObject() runtime.Object {
    49  	if c := in.DeepCopy(); c != nil {
    50  		return c
    51  	}
    52  	return nil
    53  }
    54  
    55  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    56  func (in *AWSIAMConfigurationSpec) DeepCopyInto(out *AWSIAMConfigurationSpec) {
    57  	*out = *in
    58  	if in.NameSuffix != nil {
    59  		in, out := &in.NameSuffix, &out.NameSuffix
    60  		*out = new(string)
    61  		**out = **in
    62  	}
    63  	in.ControlPlane.DeepCopyInto(&out.ControlPlane)
    64  	in.ClusterAPIControllers.DeepCopyInto(&out.ClusterAPIControllers)
    65  	in.Nodes.DeepCopyInto(&out.Nodes)
    66  	in.BootstrapUser.DeepCopyInto(&out.BootstrapUser)
    67  	if in.StackTags != nil {
    68  		in, out := &in.StackTags, &out.StackTags
    69  		*out = make(map[string]string, len(*in))
    70  		for key, val := range *in {
    71  			(*out)[key] = val
    72  		}
    73  	}
    74  	if in.EKS != nil {
    75  		in, out := &in.EKS, &out.EKS
    76  		*out = new(EKSConfig)
    77  		(*in).DeepCopyInto(*out)
    78  	}
    79  	if in.EventBridge != nil {
    80  		in, out := &in.EventBridge, &out.EventBridge
    81  		*out = new(EventBridgeConfig)
    82  		**out = **in
    83  	}
    84  	if in.SecureSecretsBackends != nil {
    85  		in, out := &in.SecureSecretsBackends, &out.SecureSecretsBackends
    86  		*out = make([]cluster_api_provider_awsapiv1beta1.SecretBackend, len(*in))
    87  		copy(*out, *in)
    88  	}
    89  	out.S3Buckets = in.S3Buckets
    90  }
    91  
    92  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSIAMConfigurationSpec.
    93  func (in *AWSIAMConfigurationSpec) DeepCopy() *AWSIAMConfigurationSpec {
    94  	if in == nil {
    95  		return nil
    96  	}
    97  	out := new(AWSIAMConfigurationSpec)
    98  	in.DeepCopyInto(out)
    99  	return out
   100  }
   101  
   102  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   103  func (in *AWSIAMRoleSpec) DeepCopyInto(out *AWSIAMRoleSpec) {
   104  	*out = *in
   105  	if in.ExtraPolicyAttachments != nil {
   106  		in, out := &in.ExtraPolicyAttachments, &out.ExtraPolicyAttachments
   107  		*out = make([]string, len(*in))
   108  		copy(*out, *in)
   109  	}
   110  	if in.ExtraStatements != nil {
   111  		in, out := &in.ExtraStatements, &out.ExtraStatements
   112  		*out = make([]apiv1beta1.StatementEntry, len(*in))
   113  		for i := range *in {
   114  			(*in)[i].DeepCopyInto(&(*out)[i])
   115  		}
   116  	}
   117  	if in.TrustStatements != nil {
   118  		in, out := &in.TrustStatements, &out.TrustStatements
   119  		*out = make([]apiv1beta1.StatementEntry, len(*in))
   120  		for i := range *in {
   121  			(*in)[i].DeepCopyInto(&(*out)[i])
   122  		}
   123  	}
   124  	if in.Tags != nil {
   125  		in, out := &in.Tags, &out.Tags
   126  		*out = make(cluster_api_provider_awsapiv1beta1.Tags, len(*in))
   127  		for key, val := range *in {
   128  			(*out)[key] = val
   129  		}
   130  	}
   131  }
   132  
   133  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSIAMRoleSpec.
   134  func (in *AWSIAMRoleSpec) DeepCopy() *AWSIAMRoleSpec {
   135  	if in == nil {
   136  		return nil
   137  	}
   138  	out := new(AWSIAMRoleSpec)
   139  	in.DeepCopyInto(out)
   140  	return out
   141  }
   142  
   143  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   144  func (in *BootstrapUser) DeepCopyInto(out *BootstrapUser) {
   145  	*out = *in
   146  	if in.ExtraPolicyAttachments != nil {
   147  		in, out := &in.ExtraPolicyAttachments, &out.ExtraPolicyAttachments
   148  		*out = make([]string, len(*in))
   149  		copy(*out, *in)
   150  	}
   151  	if in.ExtraGroups != nil {
   152  		in, out := &in.ExtraGroups, &out.ExtraGroups
   153  		*out = make([]string, len(*in))
   154  		copy(*out, *in)
   155  	}
   156  	if in.ExtraStatements != nil {
   157  		in, out := &in.ExtraStatements, &out.ExtraStatements
   158  		*out = make([]apiv1beta1.StatementEntry, len(*in))
   159  		for i := range *in {
   160  			(*in)[i].DeepCopyInto(&(*out)[i])
   161  		}
   162  	}
   163  	if in.Tags != nil {
   164  		in, out := &in.Tags, &out.Tags
   165  		*out = make(cluster_api_provider_awsapiv1beta1.Tags, len(*in))
   166  		for key, val := range *in {
   167  			(*out)[key] = val
   168  		}
   169  	}
   170  }
   171  
   172  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapUser.
   173  func (in *BootstrapUser) DeepCopy() *BootstrapUser {
   174  	if in == nil {
   175  		return nil
   176  	}
   177  	out := new(BootstrapUser)
   178  	in.DeepCopyInto(out)
   179  	return out
   180  }
   181  
   182  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   183  func (in *ClusterAPIControllers) DeepCopyInto(out *ClusterAPIControllers) {
   184  	*out = *in
   185  	in.AWSIAMRoleSpec.DeepCopyInto(&out.AWSIAMRoleSpec)
   186  	if in.AllowedEC2InstanceProfiles != nil {
   187  		in, out := &in.AllowedEC2InstanceProfiles, &out.AllowedEC2InstanceProfiles
   188  		*out = make([]string, len(*in))
   189  		copy(*out, *in)
   190  	}
   191  }
   192  
   193  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAPIControllers.
   194  func (in *ClusterAPIControllers) DeepCopy() *ClusterAPIControllers {
   195  	if in == nil {
   196  		return nil
   197  	}
   198  	out := new(ClusterAPIControllers)
   199  	in.DeepCopyInto(out)
   200  	return out
   201  }
   202  
   203  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   204  func (in *ControlPlane) DeepCopyInto(out *ControlPlane) {
   205  	*out = *in
   206  	in.AWSIAMRoleSpec.DeepCopyInto(&out.AWSIAMRoleSpec)
   207  }
   208  
   209  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlane.
   210  func (in *ControlPlane) DeepCopy() *ControlPlane {
   211  	if in == nil {
   212  		return nil
   213  	}
   214  	out := new(ControlPlane)
   215  	in.DeepCopyInto(out)
   216  	return out
   217  }
   218  
   219  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   220  func (in *EKSConfig) DeepCopyInto(out *EKSConfig) {
   221  	*out = *in
   222  	in.DefaultControlPlaneRole.DeepCopyInto(&out.DefaultControlPlaneRole)
   223  	if in.ManagedMachinePool != nil {
   224  		in, out := &in.ManagedMachinePool, &out.ManagedMachinePool
   225  		*out = new(AWSIAMRoleSpec)
   226  		(*in).DeepCopyInto(*out)
   227  	}
   228  	if in.Fargate != nil {
   229  		in, out := &in.Fargate, &out.Fargate
   230  		*out = new(AWSIAMRoleSpec)
   231  		(*in).DeepCopyInto(*out)
   232  	}
   233  }
   234  
   235  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfig.
   236  func (in *EKSConfig) DeepCopy() *EKSConfig {
   237  	if in == nil {
   238  		return nil
   239  	}
   240  	out := new(EKSConfig)
   241  	in.DeepCopyInto(out)
   242  	return out
   243  }
   244  
   245  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   246  func (in *EventBridgeConfig) DeepCopyInto(out *EventBridgeConfig) {
   247  	*out = *in
   248  }
   249  
   250  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventBridgeConfig.
   251  func (in *EventBridgeConfig) DeepCopy() *EventBridgeConfig {
   252  	if in == nil {
   253  		return nil
   254  	}
   255  	out := new(EventBridgeConfig)
   256  	in.DeepCopyInto(out)
   257  	return out
   258  }
   259  
   260  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   261  func (in *Nodes) DeepCopyInto(out *Nodes) {
   262  	*out = *in
   263  	in.AWSIAMRoleSpec.DeepCopyInto(&out.AWSIAMRoleSpec)
   264  }
   265  
   266  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nodes.
   267  func (in *Nodes) DeepCopy() *Nodes {
   268  	if in == nil {
   269  		return nil
   270  	}
   271  	out := new(Nodes)
   272  	in.DeepCopyInto(out)
   273  	return out
   274  }
   275  
   276  // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
   277  func (in *S3Buckets) DeepCopyInto(out *S3Buckets) {
   278  	*out = *in
   279  }
   280  
   281  // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Buckets.
   282  func (in *S3Buckets) DeepCopy() *S3Buckets {
   283  	if in == nil {
   284  		return nil
   285  	}
   286  	out := new(S3Buckets)
   287  	in.DeepCopyInto(out)
   288  	return out
   289  }