sigs.k8s.io/cluster-api-provider-aws@v1.5.5/cmd/clusterawsadm/api/bootstrap/v1alpha1/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 v1alpha1 23 24 import ( 25 "k8s.io/apimachinery/pkg/runtime" 26 apiv1beta1 "sigs.k8s.io/cluster-api-provider-aws/api/v1beta1" 27 "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.EKS != nil { 68 in, out := &in.EKS, &out.EKS 69 *out = new(EKSConfig) 70 (*in).DeepCopyInto(*out) 71 } 72 if in.EventBridge != nil { 73 in, out := &in.EventBridge, &out.EventBridge 74 *out = new(EventBridgeConfig) 75 **out = **in 76 } 77 if in.SecureSecretsBackends != nil { 78 in, out := &in.SecureSecretsBackends, &out.SecureSecretsBackends 79 *out = make([]apiv1beta1.SecretBackend, len(*in)) 80 copy(*out, *in) 81 } 82 } 83 84 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSIAMConfigurationSpec. 85 func (in *AWSIAMConfigurationSpec) DeepCopy() *AWSIAMConfigurationSpec { 86 if in == nil { 87 return nil 88 } 89 out := new(AWSIAMConfigurationSpec) 90 in.DeepCopyInto(out) 91 return out 92 } 93 94 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 95 func (in *AWSIAMRoleSpec) DeepCopyInto(out *AWSIAMRoleSpec) { 96 *out = *in 97 if in.ExtraPolicyAttachments != nil { 98 in, out := &in.ExtraPolicyAttachments, &out.ExtraPolicyAttachments 99 *out = make([]string, len(*in)) 100 copy(*out, *in) 101 } 102 if in.ExtraStatements != nil { 103 in, out := &in.ExtraStatements, &out.ExtraStatements 104 *out = make([]v1beta1.StatementEntry, len(*in)) 105 for i := range *in { 106 (*in)[i].DeepCopyInto(&(*out)[i]) 107 } 108 } 109 if in.TrustStatements != nil { 110 in, out := &in.TrustStatements, &out.TrustStatements 111 *out = make([]v1beta1.StatementEntry, len(*in)) 112 for i := range *in { 113 (*in)[i].DeepCopyInto(&(*out)[i]) 114 } 115 } 116 if in.Tags != nil { 117 in, out := &in.Tags, &out.Tags 118 *out = make(apiv1beta1.Tags, len(*in)) 119 for key, val := range *in { 120 (*out)[key] = val 121 } 122 } 123 } 124 125 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSIAMRoleSpec. 126 func (in *AWSIAMRoleSpec) DeepCopy() *AWSIAMRoleSpec { 127 if in == nil { 128 return nil 129 } 130 out := new(AWSIAMRoleSpec) 131 in.DeepCopyInto(out) 132 return out 133 } 134 135 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 136 func (in *BootstrapUser) DeepCopyInto(out *BootstrapUser) { 137 *out = *in 138 if in.ExtraPolicyAttachments != nil { 139 in, out := &in.ExtraPolicyAttachments, &out.ExtraPolicyAttachments 140 *out = make([]string, len(*in)) 141 copy(*out, *in) 142 } 143 if in.ExtraGroups != nil { 144 in, out := &in.ExtraGroups, &out.ExtraGroups 145 *out = make([]string, len(*in)) 146 copy(*out, *in) 147 } 148 if in.ExtraStatements != nil { 149 in, out := &in.ExtraStatements, &out.ExtraStatements 150 *out = make([]v1beta1.StatementEntry, len(*in)) 151 for i := range *in { 152 (*in)[i].DeepCopyInto(&(*out)[i]) 153 } 154 } 155 if in.Tags != nil { 156 in, out := &in.Tags, &out.Tags 157 *out = make(apiv1beta1.Tags, len(*in)) 158 for key, val := range *in { 159 (*out)[key] = val 160 } 161 } 162 } 163 164 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapUser. 165 func (in *BootstrapUser) DeepCopy() *BootstrapUser { 166 if in == nil { 167 return nil 168 } 169 out := new(BootstrapUser) 170 in.DeepCopyInto(out) 171 return out 172 } 173 174 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 175 func (in *ClusterAPIControllers) DeepCopyInto(out *ClusterAPIControllers) { 176 *out = *in 177 in.AWSIAMRoleSpec.DeepCopyInto(&out.AWSIAMRoleSpec) 178 if in.AllowedEC2InstanceProfiles != nil { 179 in, out := &in.AllowedEC2InstanceProfiles, &out.AllowedEC2InstanceProfiles 180 *out = make([]string, len(*in)) 181 copy(*out, *in) 182 } 183 } 184 185 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAPIControllers. 186 func (in *ClusterAPIControllers) DeepCopy() *ClusterAPIControllers { 187 if in == nil { 188 return nil 189 } 190 out := new(ClusterAPIControllers) 191 in.DeepCopyInto(out) 192 return out 193 } 194 195 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 196 func (in *ControlPlane) DeepCopyInto(out *ControlPlane) { 197 *out = *in 198 in.AWSIAMRoleSpec.DeepCopyInto(&out.AWSIAMRoleSpec) 199 } 200 201 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlane. 202 func (in *ControlPlane) DeepCopy() *ControlPlane { 203 if in == nil { 204 return nil 205 } 206 out := new(ControlPlane) 207 in.DeepCopyInto(out) 208 return out 209 } 210 211 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 212 func (in *EKSConfig) DeepCopyInto(out *EKSConfig) { 213 *out = *in 214 in.DefaultControlPlaneRole.DeepCopyInto(&out.DefaultControlPlaneRole) 215 if in.ManagedMachinePool != nil { 216 in, out := &in.ManagedMachinePool, &out.ManagedMachinePool 217 *out = new(AWSIAMRoleSpec) 218 (*in).DeepCopyInto(*out) 219 } 220 if in.Fargate != nil { 221 in, out := &in.Fargate, &out.Fargate 222 *out = new(AWSIAMRoleSpec) 223 (*in).DeepCopyInto(*out) 224 } 225 } 226 227 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSConfig. 228 func (in *EKSConfig) DeepCopy() *EKSConfig { 229 if in == nil { 230 return nil 231 } 232 out := new(EKSConfig) 233 in.DeepCopyInto(out) 234 return out 235 } 236 237 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 238 func (in *EventBridgeConfig) DeepCopyInto(out *EventBridgeConfig) { 239 *out = *in 240 } 241 242 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventBridgeConfig. 243 func (in *EventBridgeConfig) DeepCopy() *EventBridgeConfig { 244 if in == nil { 245 return nil 246 } 247 out := new(EventBridgeConfig) 248 in.DeepCopyInto(out) 249 return out 250 } 251 252 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 253 func (in *Nodes) DeepCopyInto(out *Nodes) { 254 *out = *in 255 in.AWSIAMRoleSpec.DeepCopyInto(&out.AWSIAMRoleSpec) 256 } 257 258 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nodes. 259 func (in *Nodes) DeepCopy() *Nodes { 260 if in == nil { 261 return nil 262 } 263 out := new(Nodes) 264 in.DeepCopyInto(out) 265 return out 266 }