github.com/oam-dev/kubevela@v1.9.11/apis/core.oam.dev/v1beta1/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 v1beta1 23 24 import ( 25 "github.com/kubevela/workflow/api/v1alpha1" 26 "k8s.io/apimachinery/pkg/runtime" 27 28 "github.com/oam-dev/kubevela/apis/core.oam.dev/common" 29 core_oam_devv1alpha1 "github.com/oam-dev/kubevela/apis/core.oam.dev/v1alpha1" 30 ) 31 32 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 33 func (in *AppPolicy) DeepCopyInto(out *AppPolicy) { 34 *out = *in 35 if in.Properties != nil { 36 in, out := &in.Properties, &out.Properties 37 *out = new(runtime.RawExtension) 38 (*in).DeepCopyInto(*out) 39 } 40 } 41 42 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppPolicy. 43 func (in *AppPolicy) DeepCopy() *AppPolicy { 44 if in == nil { 45 return nil 46 } 47 out := new(AppPolicy) 48 in.DeepCopyInto(out) 49 return out 50 } 51 52 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 53 func (in *Application) DeepCopyInto(out *Application) { 54 *out = *in 55 out.TypeMeta = in.TypeMeta 56 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 57 in.Spec.DeepCopyInto(&out.Spec) 58 in.Status.DeepCopyInto(&out.Status) 59 } 60 61 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application. 62 func (in *Application) DeepCopy() *Application { 63 if in == nil { 64 return nil 65 } 66 out := new(Application) 67 in.DeepCopyInto(out) 68 return out 69 } 70 71 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 72 func (in *Application) DeepCopyObject() runtime.Object { 73 if c := in.DeepCopy(); c != nil { 74 return c 75 } 76 return nil 77 } 78 79 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 80 func (in *ApplicationList) DeepCopyInto(out *ApplicationList) { 81 *out = *in 82 out.TypeMeta = in.TypeMeta 83 in.ListMeta.DeepCopyInto(&out.ListMeta) 84 if in.Items != nil { 85 in, out := &in.Items, &out.Items 86 *out = make([]Application, len(*in)) 87 for i := range *in { 88 (*in)[i].DeepCopyInto(&(*out)[i]) 89 } 90 } 91 } 92 93 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList. 94 func (in *ApplicationList) DeepCopy() *ApplicationList { 95 if in == nil { 96 return nil 97 } 98 out := new(ApplicationList) 99 in.DeepCopyInto(out) 100 return out 101 } 102 103 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 104 func (in *ApplicationList) DeepCopyObject() runtime.Object { 105 if c := in.DeepCopy(); c != nil { 106 return c 107 } 108 return nil 109 } 110 111 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 112 func (in *ApplicationRevision) DeepCopyInto(out *ApplicationRevision) { 113 *out = *in 114 out.TypeMeta = in.TypeMeta 115 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 116 in.Spec.DeepCopyInto(&out.Spec) 117 in.Status.DeepCopyInto(&out.Status) 118 } 119 120 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRevision. 121 func (in *ApplicationRevision) DeepCopy() *ApplicationRevision { 122 if in == nil { 123 return nil 124 } 125 out := new(ApplicationRevision) 126 in.DeepCopyInto(out) 127 return out 128 } 129 130 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 131 func (in *ApplicationRevision) DeepCopyObject() runtime.Object { 132 if c := in.DeepCopy(); c != nil { 133 return c 134 } 135 return nil 136 } 137 138 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 139 func (in *ApplicationRevisionCompressibleFields) DeepCopyInto(out *ApplicationRevisionCompressibleFields) { 140 *out = *in 141 in.Application.DeepCopyInto(&out.Application) 142 if in.ComponentDefinitions != nil { 143 in, out := &in.ComponentDefinitions, &out.ComponentDefinitions 144 *out = make(map[string]*ComponentDefinition, len(*in)) 145 for key, val := range *in { 146 var outVal *ComponentDefinition 147 if val == nil { 148 (*out)[key] = nil 149 } else { 150 in, out := &val, &outVal 151 *out = new(ComponentDefinition) 152 (*in).DeepCopyInto(*out) 153 } 154 (*out)[key] = outVal 155 } 156 } 157 if in.WorkloadDefinitions != nil { 158 in, out := &in.WorkloadDefinitions, &out.WorkloadDefinitions 159 *out = make(map[string]WorkloadDefinition, len(*in)) 160 for key, val := range *in { 161 (*out)[key] = *val.DeepCopy() 162 } 163 } 164 if in.TraitDefinitions != nil { 165 in, out := &in.TraitDefinitions, &out.TraitDefinitions 166 *out = make(map[string]*TraitDefinition, len(*in)) 167 for key, val := range *in { 168 var outVal *TraitDefinition 169 if val == nil { 170 (*out)[key] = nil 171 } else { 172 in, out := &val, &outVal 173 *out = new(TraitDefinition) 174 (*in).DeepCopyInto(*out) 175 } 176 (*out)[key] = outVal 177 } 178 } 179 if in.PolicyDefinitions != nil { 180 in, out := &in.PolicyDefinitions, &out.PolicyDefinitions 181 *out = make(map[string]PolicyDefinition, len(*in)) 182 for key, val := range *in { 183 (*out)[key] = *val.DeepCopy() 184 } 185 } 186 if in.WorkflowStepDefinitions != nil { 187 in, out := &in.WorkflowStepDefinitions, &out.WorkflowStepDefinitions 188 *out = make(map[string]*WorkflowStepDefinition, len(*in)) 189 for key, val := range *in { 190 var outVal *WorkflowStepDefinition 191 if val == nil { 192 (*out)[key] = nil 193 } else { 194 in, out := &val, &outVal 195 *out = new(WorkflowStepDefinition) 196 (*in).DeepCopyInto(*out) 197 } 198 (*out)[key] = outVal 199 } 200 } 201 if in.Policies != nil { 202 in, out := &in.Policies, &out.Policies 203 *out = make(map[string]core_oam_devv1alpha1.Policy, len(*in)) 204 for key, val := range *in { 205 (*out)[key] = *val.DeepCopy() 206 } 207 } 208 if in.Workflow != nil { 209 in, out := &in.Workflow, &out.Workflow 210 *out = new(v1alpha1.Workflow) 211 (*in).DeepCopyInto(*out) 212 } 213 if in.ReferredObjects != nil { 214 in, out := &in.ReferredObjects, &out.ReferredObjects 215 *out = make([]common.ReferredObject, len(*in)) 216 for i := range *in { 217 (*in)[i].DeepCopyInto(&(*out)[i]) 218 } 219 } 220 } 221 222 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRevisionCompressibleFields. 223 func (in *ApplicationRevisionCompressibleFields) DeepCopy() *ApplicationRevisionCompressibleFields { 224 if in == nil { 225 return nil 226 } 227 out := new(ApplicationRevisionCompressibleFields) 228 in.DeepCopyInto(out) 229 return out 230 } 231 232 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 233 func (in *ApplicationRevisionCompression) DeepCopyInto(out *ApplicationRevisionCompression) { 234 *out = *in 235 out.CompressedText = in.CompressedText 236 } 237 238 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRevisionCompression. 239 func (in *ApplicationRevisionCompression) DeepCopy() *ApplicationRevisionCompression { 240 if in == nil { 241 return nil 242 } 243 out := new(ApplicationRevisionCompression) 244 in.DeepCopyInto(out) 245 return out 246 } 247 248 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 249 func (in *ApplicationRevisionList) DeepCopyInto(out *ApplicationRevisionList) { 250 *out = *in 251 out.TypeMeta = in.TypeMeta 252 in.ListMeta.DeepCopyInto(&out.ListMeta) 253 if in.Items != nil { 254 in, out := &in.Items, &out.Items 255 *out = make([]ApplicationRevision, len(*in)) 256 for i := range *in { 257 (*in)[i].DeepCopyInto(&(*out)[i]) 258 } 259 } 260 } 261 262 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRevisionList. 263 func (in *ApplicationRevisionList) DeepCopy() *ApplicationRevisionList { 264 if in == nil { 265 return nil 266 } 267 out := new(ApplicationRevisionList) 268 in.DeepCopyInto(out) 269 return out 270 } 271 272 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 273 func (in *ApplicationRevisionList) DeepCopyObject() runtime.Object { 274 if c := in.DeepCopy(); c != nil { 275 return c 276 } 277 return nil 278 } 279 280 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 281 func (in *ApplicationRevisionSpec) DeepCopyInto(out *ApplicationRevisionSpec) { 282 *out = *in 283 in.ApplicationRevisionCompressibleFields.DeepCopyInto(&out.ApplicationRevisionCompressibleFields) 284 out.Compression = in.Compression 285 } 286 287 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRevisionSpec. 288 func (in *ApplicationRevisionSpec) DeepCopy() *ApplicationRevisionSpec { 289 if in == nil { 290 return nil 291 } 292 out := new(ApplicationRevisionSpec) 293 in.DeepCopyInto(out) 294 return out 295 } 296 297 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 298 func (in *ApplicationRevisionStatus) DeepCopyInto(out *ApplicationRevisionStatus) { 299 *out = *in 300 if in.Workflow != nil { 301 in, out := &in.Workflow, &out.Workflow 302 *out = new(common.WorkflowStatus) 303 (*in).DeepCopyInto(*out) 304 } 305 if in.WorkflowContext != nil { 306 in, out := &in.WorkflowContext, &out.WorkflowContext 307 *out = make(map[string]string, len(*in)) 308 for key, val := range *in { 309 (*out)[key] = val 310 } 311 } 312 } 313 314 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationRevisionStatus. 315 func (in *ApplicationRevisionStatus) DeepCopy() *ApplicationRevisionStatus { 316 if in == nil { 317 return nil 318 } 319 out := new(ApplicationRevisionStatus) 320 in.DeepCopyInto(out) 321 return out 322 } 323 324 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 325 func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec) { 326 *out = *in 327 if in.Components != nil { 328 in, out := &in.Components, &out.Components 329 *out = make([]common.ApplicationComponent, len(*in)) 330 for i := range *in { 331 (*in)[i].DeepCopyInto(&(*out)[i]) 332 } 333 } 334 if in.Policies != nil { 335 in, out := &in.Policies, &out.Policies 336 *out = make([]AppPolicy, len(*in)) 337 for i := range *in { 338 (*in)[i].DeepCopyInto(&(*out)[i]) 339 } 340 } 341 if in.Workflow != nil { 342 in, out := &in.Workflow, &out.Workflow 343 *out = new(Workflow) 344 (*in).DeepCopyInto(*out) 345 } 346 } 347 348 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec. 349 func (in *ApplicationSpec) DeepCopy() *ApplicationSpec { 350 if in == nil { 351 return nil 352 } 353 out := new(ApplicationSpec) 354 in.DeepCopyInto(out) 355 return out 356 } 357 358 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 359 func (in *ComponentDefinition) DeepCopyInto(out *ComponentDefinition) { 360 *out = *in 361 out.TypeMeta = in.TypeMeta 362 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 363 in.Spec.DeepCopyInto(&out.Spec) 364 in.Status.DeepCopyInto(&out.Status) 365 } 366 367 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentDefinition. 368 func (in *ComponentDefinition) DeepCopy() *ComponentDefinition { 369 if in == nil { 370 return nil 371 } 372 out := new(ComponentDefinition) 373 in.DeepCopyInto(out) 374 return out 375 } 376 377 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 378 func (in *ComponentDefinition) DeepCopyObject() runtime.Object { 379 if c := in.DeepCopy(); c != nil { 380 return c 381 } 382 return nil 383 } 384 385 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 386 func (in *ComponentDefinitionList) DeepCopyInto(out *ComponentDefinitionList) { 387 *out = *in 388 out.TypeMeta = in.TypeMeta 389 in.ListMeta.DeepCopyInto(&out.ListMeta) 390 if in.Items != nil { 391 in, out := &in.Items, &out.Items 392 *out = make([]ComponentDefinition, len(*in)) 393 for i := range *in { 394 (*in)[i].DeepCopyInto(&(*out)[i]) 395 } 396 } 397 } 398 399 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentDefinitionList. 400 func (in *ComponentDefinitionList) DeepCopy() *ComponentDefinitionList { 401 if in == nil { 402 return nil 403 } 404 out := new(ComponentDefinitionList) 405 in.DeepCopyInto(out) 406 return out 407 } 408 409 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 410 func (in *ComponentDefinitionList) DeepCopyObject() runtime.Object { 411 if c := in.DeepCopy(); c != nil { 412 return c 413 } 414 return nil 415 } 416 417 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 418 func (in *ComponentDefinitionSpec) DeepCopyInto(out *ComponentDefinitionSpec) { 419 *out = *in 420 out.Workload = in.Workload 421 if in.ChildResourceKinds != nil { 422 in, out := &in.ChildResourceKinds, &out.ChildResourceKinds 423 *out = make([]common.ChildResourceKind, len(*in)) 424 for i := range *in { 425 (*in)[i].DeepCopyInto(&(*out)[i]) 426 } 427 } 428 if in.Status != nil { 429 in, out := &in.Status, &out.Status 430 *out = new(common.Status) 431 **out = **in 432 } 433 if in.Schematic != nil { 434 in, out := &in.Schematic, &out.Schematic 435 *out = new(common.Schematic) 436 (*in).DeepCopyInto(*out) 437 } 438 if in.Extension != nil { 439 in, out := &in.Extension, &out.Extension 440 *out = new(runtime.RawExtension) 441 (*in).DeepCopyInto(*out) 442 } 443 } 444 445 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentDefinitionSpec. 446 func (in *ComponentDefinitionSpec) DeepCopy() *ComponentDefinitionSpec { 447 if in == nil { 448 return nil 449 } 450 out := new(ComponentDefinitionSpec) 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 *ComponentDefinitionStatus) DeepCopyInto(out *ComponentDefinitionStatus) { 457 *out = *in 458 in.ConditionedStatus.DeepCopyInto(&out.ConditionedStatus) 459 if in.LatestRevision != nil { 460 in, out := &in.LatestRevision, &out.LatestRevision 461 *out = new(common.Revision) 462 **out = **in 463 } 464 } 465 466 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentDefinitionStatus. 467 func (in *ComponentDefinitionStatus) DeepCopy() *ComponentDefinitionStatus { 468 if in == nil { 469 return nil 470 } 471 out := new(ComponentDefinitionStatus) 472 in.DeepCopyInto(out) 473 return out 474 } 475 476 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 477 func (in *DefinitionRevision) DeepCopyInto(out *DefinitionRevision) { 478 *out = *in 479 out.TypeMeta = in.TypeMeta 480 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 481 in.Spec.DeepCopyInto(&out.Spec) 482 } 483 484 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionRevision. 485 func (in *DefinitionRevision) DeepCopy() *DefinitionRevision { 486 if in == nil { 487 return nil 488 } 489 out := new(DefinitionRevision) 490 in.DeepCopyInto(out) 491 return out 492 } 493 494 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 495 func (in *DefinitionRevision) DeepCopyObject() runtime.Object { 496 if c := in.DeepCopy(); c != nil { 497 return c 498 } 499 return nil 500 } 501 502 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 503 func (in *DefinitionRevisionList) DeepCopyInto(out *DefinitionRevisionList) { 504 *out = *in 505 out.TypeMeta = in.TypeMeta 506 in.ListMeta.DeepCopyInto(&out.ListMeta) 507 if in.Items != nil { 508 in, out := &in.Items, &out.Items 509 *out = make([]DefinitionRevision, len(*in)) 510 for i := range *in { 511 (*in)[i].DeepCopyInto(&(*out)[i]) 512 } 513 } 514 } 515 516 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionRevisionList. 517 func (in *DefinitionRevisionList) DeepCopy() *DefinitionRevisionList { 518 if in == nil { 519 return nil 520 } 521 out := new(DefinitionRevisionList) 522 in.DeepCopyInto(out) 523 return out 524 } 525 526 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 527 func (in *DefinitionRevisionList) DeepCopyObject() runtime.Object { 528 if c := in.DeepCopy(); c != nil { 529 return c 530 } 531 return nil 532 } 533 534 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 535 func (in *DefinitionRevisionSpec) DeepCopyInto(out *DefinitionRevisionSpec) { 536 *out = *in 537 in.ComponentDefinition.DeepCopyInto(&out.ComponentDefinition) 538 in.TraitDefinition.DeepCopyInto(&out.TraitDefinition) 539 in.PolicyDefinition.DeepCopyInto(&out.PolicyDefinition) 540 in.WorkflowStepDefinition.DeepCopyInto(&out.WorkflowStepDefinition) 541 } 542 543 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefinitionRevisionSpec. 544 func (in *DefinitionRevisionSpec) DeepCopy() *DefinitionRevisionSpec { 545 if in == nil { 546 return nil 547 } 548 out := new(DefinitionRevisionSpec) 549 in.DeepCopyInto(out) 550 return out 551 } 552 553 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 554 func (in *ManagedResource) DeepCopyInto(out *ManagedResource) { 555 *out = *in 556 out.ClusterObjectReference = in.ClusterObjectReference 557 out.OAMObjectReference = in.OAMObjectReference 558 if in.Data != nil { 559 in, out := &in.Data, &out.Data 560 *out = new(runtime.RawExtension) 561 (*in).DeepCopyInto(*out) 562 } 563 } 564 565 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedResource. 566 func (in *ManagedResource) DeepCopy() *ManagedResource { 567 if in == nil { 568 return nil 569 } 570 out := new(ManagedResource) 571 in.DeepCopyInto(out) 572 return out 573 } 574 575 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 576 func (in *PolicyDefinition) DeepCopyInto(out *PolicyDefinition) { 577 *out = *in 578 out.TypeMeta = in.TypeMeta 579 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 580 in.Spec.DeepCopyInto(&out.Spec) 581 in.Status.DeepCopyInto(&out.Status) 582 } 583 584 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDefinition. 585 func (in *PolicyDefinition) DeepCopy() *PolicyDefinition { 586 if in == nil { 587 return nil 588 } 589 out := new(PolicyDefinition) 590 in.DeepCopyInto(out) 591 return out 592 } 593 594 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 595 func (in *PolicyDefinition) DeepCopyObject() runtime.Object { 596 if c := in.DeepCopy(); c != nil { 597 return c 598 } 599 return nil 600 } 601 602 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 603 func (in *PolicyDefinitionList) DeepCopyInto(out *PolicyDefinitionList) { 604 *out = *in 605 out.TypeMeta = in.TypeMeta 606 in.ListMeta.DeepCopyInto(&out.ListMeta) 607 if in.Items != nil { 608 in, out := &in.Items, &out.Items 609 *out = make([]PolicyDefinition, len(*in)) 610 for i := range *in { 611 (*in)[i].DeepCopyInto(&(*out)[i]) 612 } 613 } 614 } 615 616 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDefinitionList. 617 func (in *PolicyDefinitionList) DeepCopy() *PolicyDefinitionList { 618 if in == nil { 619 return nil 620 } 621 out := new(PolicyDefinitionList) 622 in.DeepCopyInto(out) 623 return out 624 } 625 626 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 627 func (in *PolicyDefinitionList) DeepCopyObject() runtime.Object { 628 if c := in.DeepCopy(); c != nil { 629 return c 630 } 631 return nil 632 } 633 634 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 635 func (in *PolicyDefinitionSpec) DeepCopyInto(out *PolicyDefinitionSpec) { 636 *out = *in 637 out.Reference = in.Reference 638 if in.Schematic != nil { 639 in, out := &in.Schematic, &out.Schematic 640 *out = new(common.Schematic) 641 (*in).DeepCopyInto(*out) 642 } 643 } 644 645 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDefinitionSpec. 646 func (in *PolicyDefinitionSpec) DeepCopy() *PolicyDefinitionSpec { 647 if in == nil { 648 return nil 649 } 650 out := new(PolicyDefinitionSpec) 651 in.DeepCopyInto(out) 652 return out 653 } 654 655 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 656 func (in *PolicyDefinitionStatus) DeepCopyInto(out *PolicyDefinitionStatus) { 657 *out = *in 658 in.ConditionedStatus.DeepCopyInto(&out.ConditionedStatus) 659 if in.LatestRevision != nil { 660 in, out := &in.LatestRevision, &out.LatestRevision 661 *out = new(common.Revision) 662 **out = **in 663 } 664 } 665 666 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyDefinitionStatus. 667 func (in *PolicyDefinitionStatus) DeepCopy() *PolicyDefinitionStatus { 668 if in == nil { 669 return nil 670 } 671 out := new(PolicyDefinitionStatus) 672 in.DeepCopyInto(out) 673 return out 674 } 675 676 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 677 func (in *ResourceTracker) DeepCopyInto(out *ResourceTracker) { 678 *out = *in 679 out.TypeMeta = in.TypeMeta 680 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 681 in.Spec.DeepCopyInto(&out.Spec) 682 } 683 684 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTracker. 685 func (in *ResourceTracker) DeepCopy() *ResourceTracker { 686 if in == nil { 687 return nil 688 } 689 out := new(ResourceTracker) 690 in.DeepCopyInto(out) 691 return out 692 } 693 694 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 695 func (in *ResourceTracker) DeepCopyObject() runtime.Object { 696 if c := in.DeepCopy(); c != nil { 697 return c 698 } 699 return nil 700 } 701 702 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 703 func (in *ResourceTrackerCompression) DeepCopyInto(out *ResourceTrackerCompression) { 704 *out = *in 705 out.CompressedText = in.CompressedText 706 } 707 708 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTrackerCompression. 709 func (in *ResourceTrackerCompression) DeepCopy() *ResourceTrackerCompression { 710 if in == nil { 711 return nil 712 } 713 out := new(ResourceTrackerCompression) 714 in.DeepCopyInto(out) 715 return out 716 } 717 718 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 719 func (in *ResourceTrackerList) DeepCopyInto(out *ResourceTrackerList) { 720 *out = *in 721 out.TypeMeta = in.TypeMeta 722 in.ListMeta.DeepCopyInto(&out.ListMeta) 723 if in.Items != nil { 724 in, out := &in.Items, &out.Items 725 *out = make([]ResourceTracker, len(*in)) 726 for i := range *in { 727 (*in)[i].DeepCopyInto(&(*out)[i]) 728 } 729 } 730 } 731 732 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTrackerList. 733 func (in *ResourceTrackerList) DeepCopy() *ResourceTrackerList { 734 if in == nil { 735 return nil 736 } 737 out := new(ResourceTrackerList) 738 in.DeepCopyInto(out) 739 return out 740 } 741 742 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 743 func (in *ResourceTrackerList) DeepCopyObject() runtime.Object { 744 if c := in.DeepCopy(); c != nil { 745 return c 746 } 747 return nil 748 } 749 750 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 751 func (in *ResourceTrackerSpec) DeepCopyInto(out *ResourceTrackerSpec) { 752 *out = *in 753 if in.ManagedResources != nil { 754 in, out := &in.ManagedResources, &out.ManagedResources 755 *out = make([]ManagedResource, len(*in)) 756 for i := range *in { 757 (*in)[i].DeepCopyInto(&(*out)[i]) 758 } 759 } 760 out.Compression = in.Compression 761 } 762 763 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceTrackerSpec. 764 func (in *ResourceTrackerSpec) DeepCopy() *ResourceTrackerSpec { 765 if in == nil { 766 return nil 767 } 768 out := new(ResourceTrackerSpec) 769 in.DeepCopyInto(out) 770 return out 771 } 772 773 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 774 func (in *TraitDefinition) DeepCopyInto(out *TraitDefinition) { 775 *out = *in 776 out.TypeMeta = in.TypeMeta 777 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 778 in.Spec.DeepCopyInto(&out.Spec) 779 in.Status.DeepCopyInto(&out.Status) 780 } 781 782 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraitDefinition. 783 func (in *TraitDefinition) DeepCopy() *TraitDefinition { 784 if in == nil { 785 return nil 786 } 787 out := new(TraitDefinition) 788 in.DeepCopyInto(out) 789 return out 790 } 791 792 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 793 func (in *TraitDefinition) DeepCopyObject() runtime.Object { 794 if c := in.DeepCopy(); c != nil { 795 return c 796 } 797 return nil 798 } 799 800 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 801 func (in *TraitDefinitionList) DeepCopyInto(out *TraitDefinitionList) { 802 *out = *in 803 out.TypeMeta = in.TypeMeta 804 in.ListMeta.DeepCopyInto(&out.ListMeta) 805 if in.Items != nil { 806 in, out := &in.Items, &out.Items 807 *out = make([]TraitDefinition, len(*in)) 808 for i := range *in { 809 (*in)[i].DeepCopyInto(&(*out)[i]) 810 } 811 } 812 } 813 814 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraitDefinitionList. 815 func (in *TraitDefinitionList) DeepCopy() *TraitDefinitionList { 816 if in == nil { 817 return nil 818 } 819 out := new(TraitDefinitionList) 820 in.DeepCopyInto(out) 821 return out 822 } 823 824 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 825 func (in *TraitDefinitionList) DeepCopyObject() runtime.Object { 826 if c := in.DeepCopy(); c != nil { 827 return c 828 } 829 return nil 830 } 831 832 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 833 func (in *TraitDefinitionSpec) DeepCopyInto(out *TraitDefinitionSpec) { 834 *out = *in 835 out.Reference = in.Reference 836 if in.AppliesToWorkloads != nil { 837 in, out := &in.AppliesToWorkloads, &out.AppliesToWorkloads 838 *out = make([]string, len(*in)) 839 copy(*out, *in) 840 } 841 if in.ConflictsWith != nil { 842 in, out := &in.ConflictsWith, &out.ConflictsWith 843 *out = make([]string, len(*in)) 844 copy(*out, *in) 845 } 846 if in.Schematic != nil { 847 in, out := &in.Schematic, &out.Schematic 848 *out = new(common.Schematic) 849 (*in).DeepCopyInto(*out) 850 } 851 if in.Status != nil { 852 in, out := &in.Status, &out.Status 853 *out = new(common.Status) 854 **out = **in 855 } 856 if in.Extension != nil { 857 in, out := &in.Extension, &out.Extension 858 *out = new(runtime.RawExtension) 859 (*in).DeepCopyInto(*out) 860 } 861 } 862 863 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraitDefinitionSpec. 864 func (in *TraitDefinitionSpec) DeepCopy() *TraitDefinitionSpec { 865 if in == nil { 866 return nil 867 } 868 out := new(TraitDefinitionSpec) 869 in.DeepCopyInto(out) 870 return out 871 } 872 873 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 874 func (in *TraitDefinitionStatus) DeepCopyInto(out *TraitDefinitionStatus) { 875 *out = *in 876 in.ConditionedStatus.DeepCopyInto(&out.ConditionedStatus) 877 if in.LatestRevision != nil { 878 in, out := &in.LatestRevision, &out.LatestRevision 879 *out = new(common.Revision) 880 **out = **in 881 } 882 } 883 884 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraitDefinitionStatus. 885 func (in *TraitDefinitionStatus) DeepCopy() *TraitDefinitionStatus { 886 if in == nil { 887 return nil 888 } 889 out := new(TraitDefinitionStatus) 890 in.DeepCopyInto(out) 891 return out 892 } 893 894 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 895 func (in *Workflow) DeepCopyInto(out *Workflow) { 896 *out = *in 897 if in.Mode != nil { 898 in, out := &in.Mode, &out.Mode 899 *out = new(v1alpha1.WorkflowExecuteMode) 900 **out = **in 901 } 902 if in.Steps != nil { 903 in, out := &in.Steps, &out.Steps 904 *out = make([]v1alpha1.WorkflowStep, len(*in)) 905 for i := range *in { 906 (*in)[i].DeepCopyInto(&(*out)[i]) 907 } 908 } 909 } 910 911 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workflow. 912 func (in *Workflow) DeepCopy() *Workflow { 913 if in == nil { 914 return nil 915 } 916 out := new(Workflow) 917 in.DeepCopyInto(out) 918 return out 919 } 920 921 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 922 func (in *WorkflowStepDefinition) DeepCopyInto(out *WorkflowStepDefinition) { 923 *out = *in 924 out.TypeMeta = in.TypeMeta 925 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 926 in.Spec.DeepCopyInto(&out.Spec) 927 in.Status.DeepCopyInto(&out.Status) 928 } 929 930 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStepDefinition. 931 func (in *WorkflowStepDefinition) DeepCopy() *WorkflowStepDefinition { 932 if in == nil { 933 return nil 934 } 935 out := new(WorkflowStepDefinition) 936 in.DeepCopyInto(out) 937 return out 938 } 939 940 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 941 func (in *WorkflowStepDefinition) DeepCopyObject() runtime.Object { 942 if c := in.DeepCopy(); c != nil { 943 return c 944 } 945 return nil 946 } 947 948 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 949 func (in *WorkflowStepDefinitionList) DeepCopyInto(out *WorkflowStepDefinitionList) { 950 *out = *in 951 out.TypeMeta = in.TypeMeta 952 in.ListMeta.DeepCopyInto(&out.ListMeta) 953 if in.Items != nil { 954 in, out := &in.Items, &out.Items 955 *out = make([]WorkflowStepDefinition, len(*in)) 956 for i := range *in { 957 (*in)[i].DeepCopyInto(&(*out)[i]) 958 } 959 } 960 } 961 962 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStepDefinitionList. 963 func (in *WorkflowStepDefinitionList) DeepCopy() *WorkflowStepDefinitionList { 964 if in == nil { 965 return nil 966 } 967 out := new(WorkflowStepDefinitionList) 968 in.DeepCopyInto(out) 969 return out 970 } 971 972 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 973 func (in *WorkflowStepDefinitionList) DeepCopyObject() runtime.Object { 974 if c := in.DeepCopy(); c != nil { 975 return c 976 } 977 return nil 978 } 979 980 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 981 func (in *WorkflowStepDefinitionSpec) DeepCopyInto(out *WorkflowStepDefinitionSpec) { 982 *out = *in 983 out.Reference = in.Reference 984 if in.Schematic != nil { 985 in, out := &in.Schematic, &out.Schematic 986 *out = new(common.Schematic) 987 (*in).DeepCopyInto(*out) 988 } 989 } 990 991 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStepDefinitionSpec. 992 func (in *WorkflowStepDefinitionSpec) DeepCopy() *WorkflowStepDefinitionSpec { 993 if in == nil { 994 return nil 995 } 996 out := new(WorkflowStepDefinitionSpec) 997 in.DeepCopyInto(out) 998 return out 999 } 1000 1001 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1002 func (in *WorkflowStepDefinitionStatus) DeepCopyInto(out *WorkflowStepDefinitionStatus) { 1003 *out = *in 1004 in.ConditionedStatus.DeepCopyInto(&out.ConditionedStatus) 1005 if in.LatestRevision != nil { 1006 in, out := &in.LatestRevision, &out.LatestRevision 1007 *out = new(common.Revision) 1008 **out = **in 1009 } 1010 } 1011 1012 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowStepDefinitionStatus. 1013 func (in *WorkflowStepDefinitionStatus) DeepCopy() *WorkflowStepDefinitionStatus { 1014 if in == nil { 1015 return nil 1016 } 1017 out := new(WorkflowStepDefinitionStatus) 1018 in.DeepCopyInto(out) 1019 return out 1020 } 1021 1022 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1023 func (in *WorkloadDefinition) DeepCopyInto(out *WorkloadDefinition) { 1024 *out = *in 1025 out.TypeMeta = in.TypeMeta 1026 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 1027 in.Spec.DeepCopyInto(&out.Spec) 1028 in.Status.DeepCopyInto(&out.Status) 1029 } 1030 1031 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadDefinition. 1032 func (in *WorkloadDefinition) DeepCopy() *WorkloadDefinition { 1033 if in == nil { 1034 return nil 1035 } 1036 out := new(WorkloadDefinition) 1037 in.DeepCopyInto(out) 1038 return out 1039 } 1040 1041 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1042 func (in *WorkloadDefinition) DeepCopyObject() runtime.Object { 1043 if c := in.DeepCopy(); c != nil { 1044 return c 1045 } 1046 return nil 1047 } 1048 1049 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1050 func (in *WorkloadDefinitionList) DeepCopyInto(out *WorkloadDefinitionList) { 1051 *out = *in 1052 out.TypeMeta = in.TypeMeta 1053 in.ListMeta.DeepCopyInto(&out.ListMeta) 1054 if in.Items != nil { 1055 in, out := &in.Items, &out.Items 1056 *out = make([]WorkloadDefinition, len(*in)) 1057 for i := range *in { 1058 (*in)[i].DeepCopyInto(&(*out)[i]) 1059 } 1060 } 1061 } 1062 1063 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadDefinitionList. 1064 func (in *WorkloadDefinitionList) DeepCopy() *WorkloadDefinitionList { 1065 if in == nil { 1066 return nil 1067 } 1068 out := new(WorkloadDefinitionList) 1069 in.DeepCopyInto(out) 1070 return out 1071 } 1072 1073 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1074 func (in *WorkloadDefinitionList) DeepCopyObject() runtime.Object { 1075 if c := in.DeepCopy(); c != nil { 1076 return c 1077 } 1078 return nil 1079 } 1080 1081 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1082 func (in *WorkloadDefinitionSpec) DeepCopyInto(out *WorkloadDefinitionSpec) { 1083 *out = *in 1084 out.Reference = in.Reference 1085 if in.ChildResourceKinds != nil { 1086 in, out := &in.ChildResourceKinds, &out.ChildResourceKinds 1087 *out = make([]common.ChildResourceKind, len(*in)) 1088 for i := range *in { 1089 (*in)[i].DeepCopyInto(&(*out)[i]) 1090 } 1091 } 1092 if in.Status != nil { 1093 in, out := &in.Status, &out.Status 1094 *out = new(common.Status) 1095 **out = **in 1096 } 1097 if in.Schematic != nil { 1098 in, out := &in.Schematic, &out.Schematic 1099 *out = new(common.Schematic) 1100 (*in).DeepCopyInto(*out) 1101 } 1102 if in.Extension != nil { 1103 in, out := &in.Extension, &out.Extension 1104 *out = new(runtime.RawExtension) 1105 (*in).DeepCopyInto(*out) 1106 } 1107 } 1108 1109 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadDefinitionSpec. 1110 func (in *WorkloadDefinitionSpec) DeepCopy() *WorkloadDefinitionSpec { 1111 if in == nil { 1112 return nil 1113 } 1114 out := new(WorkloadDefinitionSpec) 1115 in.DeepCopyInto(out) 1116 return out 1117 } 1118 1119 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1120 func (in *WorkloadDefinitionStatus) DeepCopyInto(out *WorkloadDefinitionStatus) { 1121 *out = *in 1122 in.ConditionedStatus.DeepCopyInto(&out.ConditionedStatus) 1123 } 1124 1125 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadDefinitionStatus. 1126 func (in *WorkloadDefinitionStatus) DeepCopy() *WorkloadDefinitionStatus { 1127 if in == nil { 1128 return nil 1129 } 1130 out := new(WorkloadDefinitionStatus) 1131 in.DeepCopyInto(out) 1132 return out 1133 }