github.com/oam-dev/kubevela@v1.9.11/apis/core.oam.dev/common/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright 2023 The KubeVela 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 common 23 24 import ( 25 "github.com/kubevela/workflow/api/v1alpha1" 26 crossplane_runtime "github.com/oam-dev/terraform-controller/api/types/crossplane-runtime" 27 v1 "k8s.io/api/core/v1" 28 "k8s.io/apimachinery/pkg/runtime" 29 ) 30 31 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 32 func (in *AppStatus) DeepCopyInto(out *AppStatus) { 33 *out = *in 34 in.ConditionedStatus.DeepCopyInto(&out.ConditionedStatus) 35 if in.Components != nil { 36 in, out := &in.Components, &out.Components 37 *out = make([]v1.ObjectReference, len(*in)) 38 copy(*out, *in) 39 } 40 if in.Services != nil { 41 in, out := &in.Services, &out.Services 42 *out = make([]ApplicationComponentStatus, len(*in)) 43 for i := range *in { 44 (*in)[i].DeepCopyInto(&(*out)[i]) 45 } 46 } 47 if in.Workflow != nil { 48 in, out := &in.Workflow, &out.Workflow 49 *out = new(WorkflowStatus) 50 (*in).DeepCopyInto(*out) 51 } 52 if in.LatestRevision != nil { 53 in, out := &in.LatestRevision, &out.LatestRevision 54 *out = new(Revision) 55 **out = **in 56 } 57 if in.AppliedResources != nil { 58 in, out := &in.AppliedResources, &out.AppliedResources 59 *out = make([]ClusterObjectReference, len(*in)) 60 copy(*out, *in) 61 } 62 if in.PolicyStatus != nil { 63 in, out := &in.PolicyStatus, &out.PolicyStatus 64 *out = make([]PolicyStatus, 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 AppStatus. 72 func (in *AppStatus) DeepCopy() *AppStatus { 73 if in == nil { 74 return nil 75 } 76 out := new(AppStatus) 77 in.DeepCopyInto(out) 78 return out 79 } 80 81 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 82 func (in *ApplicationComponent) DeepCopyInto(out *ApplicationComponent) { 83 *out = *in 84 if in.Properties != nil { 85 in, out := &in.Properties, &out.Properties 86 *out = new(runtime.RawExtension) 87 (*in).DeepCopyInto(*out) 88 } 89 if in.DependsOn != nil { 90 in, out := &in.DependsOn, &out.DependsOn 91 *out = make([]string, len(*in)) 92 copy(*out, *in) 93 } 94 if in.Inputs != nil { 95 in, out := &in.Inputs, &out.Inputs 96 *out = make(v1alpha1.StepInputs, len(*in)) 97 copy(*out, *in) 98 } 99 if in.Outputs != nil { 100 in, out := &in.Outputs, &out.Outputs 101 *out = make(v1alpha1.StepOutputs, len(*in)) 102 copy(*out, *in) 103 } 104 if in.Traits != nil { 105 in, out := &in.Traits, &out.Traits 106 *out = make([]ApplicationTrait, len(*in)) 107 for i := range *in { 108 (*in)[i].DeepCopyInto(&(*out)[i]) 109 } 110 } 111 if in.Scopes != nil { 112 in, out := &in.Scopes, &out.Scopes 113 *out = make(map[string]string, len(*in)) 114 for key, val := range *in { 115 (*out)[key] = val 116 } 117 } 118 } 119 120 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationComponent. 121 func (in *ApplicationComponent) DeepCopy() *ApplicationComponent { 122 if in == nil { 123 return nil 124 } 125 out := new(ApplicationComponent) 126 in.DeepCopyInto(out) 127 return out 128 } 129 130 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 131 func (in *ApplicationComponentStatus) DeepCopyInto(out *ApplicationComponentStatus) { 132 *out = *in 133 out.WorkloadDefinition = in.WorkloadDefinition 134 if in.Traits != nil { 135 in, out := &in.Traits, &out.Traits 136 *out = make([]ApplicationTraitStatus, len(*in)) 137 copy(*out, *in) 138 } 139 if in.Scopes != nil { 140 in, out := &in.Scopes, &out.Scopes 141 *out = make([]v1.ObjectReference, len(*in)) 142 copy(*out, *in) 143 } 144 } 145 146 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationComponentStatus. 147 func (in *ApplicationComponentStatus) DeepCopy() *ApplicationComponentStatus { 148 if in == nil { 149 return nil 150 } 151 out := new(ApplicationComponentStatus) 152 in.DeepCopyInto(out) 153 return out 154 } 155 156 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 157 func (in *ApplicationTrait) DeepCopyInto(out *ApplicationTrait) { 158 *out = *in 159 if in.Properties != nil { 160 in, out := &in.Properties, &out.Properties 161 *out = new(runtime.RawExtension) 162 (*in).DeepCopyInto(*out) 163 } 164 } 165 166 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationTrait. 167 func (in *ApplicationTrait) DeepCopy() *ApplicationTrait { 168 if in == nil { 169 return nil 170 } 171 out := new(ApplicationTrait) 172 in.DeepCopyInto(out) 173 return out 174 } 175 176 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 177 func (in *ApplicationTraitStatus) DeepCopyInto(out *ApplicationTraitStatus) { 178 *out = *in 179 } 180 181 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationTraitStatus. 182 func (in *ApplicationTraitStatus) DeepCopy() *ApplicationTraitStatus { 183 if in == nil { 184 return nil 185 } 186 out := new(ApplicationTraitStatus) 187 in.DeepCopyInto(out) 188 return out 189 } 190 191 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 192 func (in *CUE) DeepCopyInto(out *CUE) { 193 *out = *in 194 } 195 196 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CUE. 197 func (in *CUE) DeepCopy() *CUE { 198 if in == nil { 199 return nil 200 } 201 out := new(CUE) 202 in.DeepCopyInto(out) 203 return out 204 } 205 206 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 207 func (in *ChildResourceKind) DeepCopyInto(out *ChildResourceKind) { 208 *out = *in 209 if in.Selector != nil { 210 in, out := &in.Selector, &out.Selector 211 *out = make(map[string]string, len(*in)) 212 for key, val := range *in { 213 (*out)[key] = val 214 } 215 } 216 } 217 218 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChildResourceKind. 219 func (in *ChildResourceKind) DeepCopy() *ChildResourceKind { 220 if in == nil { 221 return nil 222 } 223 out := new(ChildResourceKind) 224 in.DeepCopyInto(out) 225 return out 226 } 227 228 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 229 func (in *ClusterObjectReference) DeepCopyInto(out *ClusterObjectReference) { 230 *out = *in 231 out.ObjectReference = in.ObjectReference 232 } 233 234 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObjectReference. 235 func (in *ClusterObjectReference) DeepCopy() *ClusterObjectReference { 236 if in == nil { 237 return nil 238 } 239 out := new(ClusterObjectReference) 240 in.DeepCopyInto(out) 241 return out 242 } 243 244 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 245 func (in *ClusterSelector) DeepCopyInto(out *ClusterSelector) { 246 *out = *in 247 if in.Labels != nil { 248 in, out := &in.Labels, &out.Labels 249 *out = make(map[string]string, len(*in)) 250 for key, val := range *in { 251 (*out)[key] = val 252 } 253 } 254 } 255 256 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSelector. 257 func (in *ClusterSelector) DeepCopy() *ClusterSelector { 258 if in == nil { 259 return nil 260 } 261 out := new(ClusterSelector) 262 in.DeepCopyInto(out) 263 return out 264 } 265 266 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 267 func (in *DefinitionReference) DeepCopyInto(out *DefinitionReference) { 268 *out = *in 269 } 270 271 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionReference. 272 func (in *DefinitionReference) DeepCopy() *DefinitionReference { 273 if in == nil { 274 return nil 275 } 276 out := new(DefinitionReference) 277 in.DeepCopyInto(out) 278 return out 279 } 280 281 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 282 func (in *OAMObjectReference) DeepCopyInto(out *OAMObjectReference) { 283 *out = *in 284 } 285 286 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAMObjectReference. 287 func (in *OAMObjectReference) DeepCopy() *OAMObjectReference { 288 if in == nil { 289 return nil 290 } 291 out := new(OAMObjectReference) 292 in.DeepCopyInto(out) 293 return out 294 } 295 296 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 297 func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus) { 298 *out = *in 299 if in.Status != nil { 300 in, out := &in.Status, &out.Status 301 *out = new(runtime.RawExtension) 302 (*in).DeepCopyInto(*out) 303 } 304 } 305 306 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus. 307 func (in *PolicyStatus) DeepCopy() *PolicyStatus { 308 if in == nil { 309 return nil 310 } 311 out := new(PolicyStatus) 312 in.DeepCopyInto(out) 313 return out 314 } 315 316 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 317 func (in *RawExtensionPointer) DeepCopyInto(out *RawExtensionPointer) { 318 *out = *in 319 if in.RawExtension != nil { 320 in, out := &in.RawExtension, &out.RawExtension 321 *out = new(runtime.RawExtension) 322 (*in).DeepCopyInto(*out) 323 } 324 } 325 326 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawExtensionPointer. 327 func (in *RawExtensionPointer) DeepCopy() *RawExtensionPointer { 328 if in == nil { 329 return nil 330 } 331 out := new(RawExtensionPointer) 332 in.DeepCopyInto(out) 333 return out 334 } 335 336 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 337 func (in *ReferredObject) DeepCopyInto(out *ReferredObject) { 338 *out = *in 339 in.RawExtension.DeepCopyInto(&out.RawExtension) 340 } 341 342 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReferredObject. 343 func (in *ReferredObject) DeepCopy() *ReferredObject { 344 if in == nil { 345 return nil 346 } 347 out := new(ReferredObject) 348 in.DeepCopyInto(out) 349 return out 350 } 351 352 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 353 func (in *ReferredObjectList) DeepCopyInto(out *ReferredObjectList) { 354 *out = *in 355 if in.Objects != nil { 356 in, out := &in.Objects, &out.Objects 357 *out = make([]ReferredObject, len(*in)) 358 for i := range *in { 359 (*in)[i].DeepCopyInto(&(*out)[i]) 360 } 361 } 362 } 363 364 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReferredObjectList. 365 func (in *ReferredObjectList) DeepCopy() *ReferredObjectList { 366 if in == nil { 367 return nil 368 } 369 out := new(ReferredObjectList) 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 *Revision) DeepCopyInto(out *Revision) { 376 *out = *in 377 } 378 379 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Revision. 380 func (in *Revision) DeepCopy() *Revision { 381 if in == nil { 382 return nil 383 } 384 out := new(Revision) 385 in.DeepCopyInto(out) 386 return out 387 } 388 389 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 390 func (in *Schematic) DeepCopyInto(out *Schematic) { 391 *out = *in 392 if in.CUE != nil { 393 in, out := &in.CUE, &out.CUE 394 *out = new(CUE) 395 **out = **in 396 } 397 if in.Terraform != nil { 398 in, out := &in.Terraform, &out.Terraform 399 *out = new(Terraform) 400 (*in).DeepCopyInto(*out) 401 } 402 } 403 404 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Schematic. 405 func (in *Schematic) DeepCopy() *Schematic { 406 if in == nil { 407 return nil 408 } 409 out := new(Schematic) 410 in.DeepCopyInto(out) 411 return out 412 } 413 414 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 415 func (in *Status) DeepCopyInto(out *Status) { 416 *out = *in 417 } 418 419 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status. 420 func (in *Status) DeepCopy() *Status { 421 if in == nil { 422 return nil 423 } 424 out := new(Status) 425 in.DeepCopyInto(out) 426 return out 427 } 428 429 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 430 func (in *Terraform) DeepCopyInto(out *Terraform) { 431 *out = *in 432 if in.WriteConnectionSecretToReference != nil { 433 in, out := &in.WriteConnectionSecretToReference, &out.WriteConnectionSecretToReference 434 *out = new(crossplane_runtime.SecretReference) 435 **out = **in 436 } 437 if in.ProviderReference != nil { 438 in, out := &in.ProviderReference, &out.ProviderReference 439 *out = new(crossplane_runtime.Reference) 440 **out = **in 441 } 442 if in.GitCredentialsSecretReference != nil { 443 in, out := &in.GitCredentialsSecretReference, &out.GitCredentialsSecretReference 444 *out = new(v1.SecretReference) 445 **out = **in 446 } 447 } 448 449 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Terraform. 450 func (in *Terraform) DeepCopy() *Terraform { 451 if in == nil { 452 return nil 453 } 454 out := new(Terraform) 455 in.DeepCopyInto(out) 456 return out 457 } 458 459 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 460 func (in *WorkflowStatus) DeepCopyInto(out *WorkflowStatus) { 461 *out = *in 462 if in.ContextBackend != nil { 463 in, out := &in.ContextBackend, &out.ContextBackend 464 *out = new(v1.ObjectReference) 465 **out = **in 466 } 467 if in.Steps != nil { 468 in, out := &in.Steps, &out.Steps 469 *out = make([]v1alpha1.WorkflowStepStatus, len(*in)) 470 for i := range *in { 471 (*in)[i].DeepCopyInto(&(*out)[i]) 472 } 473 } 474 in.StartTime.DeepCopyInto(&out.StartTime) 475 in.EndTime.DeepCopyInto(&out.EndTime) 476 } 477 478 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStatus. 479 func (in *WorkflowStatus) DeepCopy() *WorkflowStatus { 480 if in == nil { 481 return nil 482 } 483 out := new(WorkflowStatus) 484 in.DeepCopyInto(out) 485 return out 486 } 487 488 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 489 func (in *WorkloadGVK) DeepCopyInto(out *WorkloadGVK) { 490 *out = *in 491 } 492 493 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadGVK. 494 func (in *WorkloadGVK) DeepCopy() *WorkloadGVK { 495 if in == nil { 496 return nil 497 } 498 out := new(WorkloadGVK) 499 in.DeepCopyInto(out) 500 return out 501 } 502 503 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 504 func (in *WorkloadTypeDescriptor) DeepCopyInto(out *WorkloadTypeDescriptor) { 505 *out = *in 506 out.Definition = in.Definition 507 } 508 509 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadTypeDescriptor. 510 func (in *WorkloadTypeDescriptor) DeepCopy() *WorkloadTypeDescriptor { 511 if in == nil { 512 return nil 513 } 514 out := new(WorkloadTypeDescriptor) 515 in.DeepCopyInto(out) 516 return out 517 }