github.com/GoogleContainerTools/kpt/porch/api@v0.0.0-20240427025202-5cbd3cbd9237/porchconfig/v1alpha1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 // Copyright 2023 The kpt Authors 5 // 6 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // you may not use this file except in compliance with the License. 8 // You may obtain a copy of the License at 9 // 10 // http://www.apache.org/licenses/LICENSE-2.0 11 // 12 // Unless required by applicable law or agreed to in writing, software 13 // distributed under the License is distributed on an "AS IS" BASIS, 14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 // See the License for the specific language governing permissions and 16 // limitations under the License. 17 18 // Code generated by controller-gen. DO NOT EDIT. 19 20 package v1alpha1 21 22 import ( 23 "k8s.io/apimachinery/pkg/apis/meta/v1" 24 "k8s.io/apimachinery/pkg/runtime" 25 ) 26 27 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 28 func (in *Function) DeepCopyInto(out *Function) { 29 *out = *in 30 out.TypeMeta = in.TypeMeta 31 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 32 in.Spec.DeepCopyInto(&out.Spec) 33 out.Status = in.Status 34 } 35 36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Function. 37 func (in *Function) DeepCopy() *Function { 38 if in == nil { 39 return nil 40 } 41 out := new(Function) 42 in.DeepCopyInto(out) 43 return out 44 } 45 46 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 47 func (in *Function) DeepCopyObject() runtime.Object { 48 if c := in.DeepCopy(); c != nil { 49 return c 50 } 51 return nil 52 } 53 54 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 55 func (in *FunctionConfig) DeepCopyInto(out *FunctionConfig) { 56 *out = *in 57 out.TypeMeta = in.TypeMeta 58 if in.RequiredFields != nil { 59 in, out := &in.RequiredFields, &out.RequiredFields 60 *out = make([]string, len(*in)) 61 copy(*out, *in) 62 } 63 } 64 65 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionConfig. 66 func (in *FunctionConfig) DeepCopy() *FunctionConfig { 67 if in == nil { 68 return nil 69 } 70 out := new(FunctionConfig) 71 in.DeepCopyInto(out) 72 return out 73 } 74 75 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 76 func (in *FunctionEval) DeepCopyInto(out *FunctionEval) { 77 *out = *in 78 if in.FunctionRef != nil { 79 in, out := &in.FunctionRef, &out.FunctionRef 80 *out = new(FunctionRef) 81 **out = **in 82 } 83 if in.ConfigMap != nil { 84 in, out := &in.ConfigMap, &out.ConfigMap 85 *out = make(map[string]string, len(*in)) 86 for key, val := range *in { 87 (*out)[key] = val 88 } 89 } 90 } 91 92 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionEval. 93 func (in *FunctionEval) DeepCopy() *FunctionEval { 94 if in == nil { 95 return nil 96 } 97 out := new(FunctionEval) 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 *FunctionList) DeepCopyInto(out *FunctionList) { 104 *out = *in 105 out.TypeMeta = in.TypeMeta 106 in.ListMeta.DeepCopyInto(&out.ListMeta) 107 if in.Items != nil { 108 in, out := &in.Items, &out.Items 109 *out = make([]Function, len(*in)) 110 for i := range *in { 111 (*in)[i].DeepCopyInto(&(*out)[i]) 112 } 113 } 114 } 115 116 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionList. 117 func (in *FunctionList) DeepCopy() *FunctionList { 118 if in == nil { 119 return nil 120 } 121 out := new(FunctionList) 122 in.DeepCopyInto(out) 123 return out 124 } 125 126 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 127 func (in *FunctionList) DeepCopyObject() runtime.Object { 128 if c := in.DeepCopy(); c != nil { 129 return c 130 } 131 return nil 132 } 133 134 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 135 func (in *FunctionRef) DeepCopyInto(out *FunctionRef) { 136 *out = *in 137 } 138 139 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionRef. 140 func (in *FunctionRef) DeepCopy() *FunctionRef { 141 if in == nil { 142 return nil 143 } 144 out := new(FunctionRef) 145 in.DeepCopyInto(out) 146 return out 147 } 148 149 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 150 func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec) { 151 *out = *in 152 out.RepositoryRef = in.RepositoryRef 153 if in.FunctionTypes != nil { 154 in, out := &in.FunctionTypes, &out.FunctionTypes 155 *out = make([]FunctionType, len(*in)) 156 copy(*out, *in) 157 } 158 if in.FunctionConfigs != nil { 159 in, out := &in.FunctionConfigs, &out.FunctionConfigs 160 *out = make([]FunctionConfig, len(*in)) 161 for i := range *in { 162 (*in)[i].DeepCopyInto(&(*out)[i]) 163 } 164 } 165 if in.Keywords != nil { 166 in, out := &in.Keywords, &out.Keywords 167 *out = make([]string, len(*in)) 168 copy(*out, *in) 169 } 170 } 171 172 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSpec. 173 func (in *FunctionSpec) DeepCopy() *FunctionSpec { 174 if in == nil { 175 return nil 176 } 177 out := new(FunctionSpec) 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 *FunctionStatus) DeepCopyInto(out *FunctionStatus) { 184 *out = *in 185 } 186 187 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionStatus. 188 func (in *FunctionStatus) DeepCopy() *FunctionStatus { 189 if in == nil { 190 return nil 191 } 192 out := new(FunctionStatus) 193 in.DeepCopyInto(out) 194 return out 195 } 196 197 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 198 func (in *GitRepository) DeepCopyInto(out *GitRepository) { 199 *out = *in 200 out.SecretRef = in.SecretRef 201 } 202 203 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepository. 204 func (in *GitRepository) DeepCopy() *GitRepository { 205 if in == nil { 206 return nil 207 } 208 out := new(GitRepository) 209 in.DeepCopyInto(out) 210 return out 211 } 212 213 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 214 func (in *OciRepository) DeepCopyInto(out *OciRepository) { 215 *out = *in 216 out.SecretRef = in.SecretRef 217 } 218 219 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OciRepository. 220 func (in *OciRepository) DeepCopy() *OciRepository { 221 if in == nil { 222 return nil 223 } 224 out := new(OciRepository) 225 in.DeepCopyInto(out) 226 return out 227 } 228 229 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 230 func (in *Repository) DeepCopyInto(out *Repository) { 231 *out = *in 232 out.TypeMeta = in.TypeMeta 233 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 234 in.Spec.DeepCopyInto(&out.Spec) 235 in.Status.DeepCopyInto(&out.Status) 236 } 237 238 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository. 239 func (in *Repository) DeepCopy() *Repository { 240 if in == nil { 241 return nil 242 } 243 out := new(Repository) 244 in.DeepCopyInto(out) 245 return out 246 } 247 248 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 249 func (in *Repository) DeepCopyObject() runtime.Object { 250 if c := in.DeepCopy(); c != nil { 251 return c 252 } 253 return nil 254 } 255 256 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 257 func (in *RepositoryList) DeepCopyInto(out *RepositoryList) { 258 *out = *in 259 out.TypeMeta = in.TypeMeta 260 in.ListMeta.DeepCopyInto(&out.ListMeta) 261 if in.Items != nil { 262 in, out := &in.Items, &out.Items 263 *out = make([]Repository, len(*in)) 264 for i := range *in { 265 (*in)[i].DeepCopyInto(&(*out)[i]) 266 } 267 } 268 } 269 270 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryList. 271 func (in *RepositoryList) DeepCopy() *RepositoryList { 272 if in == nil { 273 return nil 274 } 275 out := new(RepositoryList) 276 in.DeepCopyInto(out) 277 return out 278 } 279 280 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 281 func (in *RepositoryList) DeepCopyObject() runtime.Object { 282 if c := in.DeepCopy(); c != nil { 283 return c 284 } 285 return nil 286 } 287 288 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 289 func (in *RepositoryRef) DeepCopyInto(out *RepositoryRef) { 290 *out = *in 291 } 292 293 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryRef. 294 func (in *RepositoryRef) DeepCopy() *RepositoryRef { 295 if in == nil { 296 return nil 297 } 298 out := new(RepositoryRef) 299 in.DeepCopyInto(out) 300 return out 301 } 302 303 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 304 func (in *RepositorySpec) DeepCopyInto(out *RepositorySpec) { 305 *out = *in 306 if in.Git != nil { 307 in, out := &in.Git, &out.Git 308 *out = new(GitRepository) 309 **out = **in 310 } 311 if in.Oci != nil { 312 in, out := &in.Oci, &out.Oci 313 *out = new(OciRepository) 314 **out = **in 315 } 316 if in.Upstream != nil { 317 in, out := &in.Upstream, &out.Upstream 318 *out = new(UpstreamRepository) 319 (*in).DeepCopyInto(*out) 320 } 321 if in.Mutators != nil { 322 in, out := &in.Mutators, &out.Mutators 323 *out = make([]FunctionEval, len(*in)) 324 for i := range *in { 325 (*in)[i].DeepCopyInto(&(*out)[i]) 326 } 327 } 328 if in.Validators != nil { 329 in, out := &in.Validators, &out.Validators 330 *out = make([]FunctionEval, len(*in)) 331 for i := range *in { 332 (*in)[i].DeepCopyInto(&(*out)[i]) 333 } 334 } 335 } 336 337 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositorySpec. 338 func (in *RepositorySpec) DeepCopy() *RepositorySpec { 339 if in == nil { 340 return nil 341 } 342 out := new(RepositorySpec) 343 in.DeepCopyInto(out) 344 return out 345 } 346 347 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 348 func (in *RepositoryStatus) DeepCopyInto(out *RepositoryStatus) { 349 *out = *in 350 if in.Conditions != nil { 351 in, out := &in.Conditions, &out.Conditions 352 *out = make([]v1.Condition, len(*in)) 353 for i := range *in { 354 (*in)[i].DeepCopyInto(&(*out)[i]) 355 } 356 } 357 } 358 359 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryStatus. 360 func (in *RepositoryStatus) DeepCopy() *RepositoryStatus { 361 if in == nil { 362 return nil 363 } 364 out := new(RepositoryStatus) 365 in.DeepCopyInto(out) 366 return out 367 } 368 369 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 370 func (in *SecretRef) DeepCopyInto(out *SecretRef) { 371 *out = *in 372 } 373 374 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRef. 375 func (in *SecretRef) DeepCopy() *SecretRef { 376 if in == nil { 377 return nil 378 } 379 out := new(SecretRef) 380 in.DeepCopyInto(out) 381 return out 382 } 383 384 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 385 func (in *UpstreamRepository) DeepCopyInto(out *UpstreamRepository) { 386 *out = *in 387 if in.Git != nil { 388 in, out := &in.Git, &out.Git 389 *out = new(GitRepository) 390 **out = **in 391 } 392 if in.Oci != nil { 393 in, out := &in.Oci, &out.Oci 394 *out = new(OciRepository) 395 **out = **in 396 } 397 if in.RepositoryRef != nil { 398 in, out := &in.RepositoryRef, &out.RepositoryRef 399 *out = new(RepositoryRef) 400 **out = **in 401 } 402 } 403 404 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamRepository. 405 func (in *UpstreamRepository) DeepCopy() *UpstreamRepository { 406 if in == nil { 407 return nil 408 } 409 out := new(UpstreamRepository) 410 in.DeepCopyInto(out) 411 return out 412 }