github.com/oam-dev/kubevela@v1.9.11/apis/core.oam.dev/v1alpha1/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 v1alpha1 23 24 import ( 25 "k8s.io/apimachinery/pkg/runtime" 26 27 "github.com/oam-dev/kubevela/apis/core.oam.dev/common" 28 ) 29 30 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 31 func (in *ApplyOncePolicyRule) DeepCopyInto(out *ApplyOncePolicyRule) { 32 *out = *in 33 in.Selector.DeepCopyInto(&out.Selector) 34 if in.Strategy != nil { 35 in, out := &in.Strategy, &out.Strategy 36 *out = new(ApplyOnceStrategy) 37 (*in).DeepCopyInto(*out) 38 } 39 } 40 41 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyOncePolicyRule. 42 func (in *ApplyOncePolicyRule) DeepCopy() *ApplyOncePolicyRule { 43 if in == nil { 44 return nil 45 } 46 out := new(ApplyOncePolicyRule) 47 in.DeepCopyInto(out) 48 return out 49 } 50 51 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 52 func (in *ApplyOncePolicySpec) DeepCopyInto(out *ApplyOncePolicySpec) { 53 *out = *in 54 if in.Rules != nil { 55 in, out := &in.Rules, &out.Rules 56 *out = make([]ApplyOncePolicyRule, len(*in)) 57 for i := range *in { 58 (*in)[i].DeepCopyInto(&(*out)[i]) 59 } 60 } 61 } 62 63 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyOncePolicySpec. 64 func (in *ApplyOncePolicySpec) DeepCopy() *ApplyOncePolicySpec { 65 if in == nil { 66 return nil 67 } 68 out := new(ApplyOncePolicySpec) 69 in.DeepCopyInto(out) 70 return out 71 } 72 73 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 74 func (in *ApplyOnceStrategy) DeepCopyInto(out *ApplyOnceStrategy) { 75 *out = *in 76 if in.Path != nil { 77 in, out := &in.Path, &out.Path 78 *out = make([]string, len(*in)) 79 copy(*out, *in) 80 } 81 } 82 83 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyOnceStrategy. 84 func (in *ApplyOnceStrategy) DeepCopy() *ApplyOnceStrategy { 85 if in == nil { 86 return nil 87 } 88 out := new(ApplyOnceStrategy) 89 in.DeepCopyInto(out) 90 return out 91 } 92 93 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 94 func (in *ClusterConnection) DeepCopyInto(out *ClusterConnection) { 95 *out = *in 96 } 97 98 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConnection. 99 func (in *ClusterConnection) DeepCopy() *ClusterConnection { 100 if in == nil { 101 return nil 102 } 103 out := new(ClusterConnection) 104 in.DeepCopyInto(out) 105 return out 106 } 107 108 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 109 func (in *EnvBindingSpec) DeepCopyInto(out *EnvBindingSpec) { 110 *out = *in 111 if in.Envs != nil { 112 in, out := &in.Envs, &out.Envs 113 *out = make([]EnvConfig, len(*in)) 114 for i := range *in { 115 (*in)[i].DeepCopyInto(&(*out)[i]) 116 } 117 } 118 } 119 120 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvBindingSpec. 121 func (in *EnvBindingSpec) DeepCopy() *EnvBindingSpec { 122 if in == nil { 123 return nil 124 } 125 out := new(EnvBindingSpec) 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 *EnvBindingStatus) DeepCopyInto(out *EnvBindingStatus) { 132 *out = *in 133 if in.Envs != nil { 134 in, out := &in.Envs, &out.Envs 135 *out = make([]EnvStatus, len(*in)) 136 for i := range *in { 137 (*in)[i].DeepCopyInto(&(*out)[i]) 138 } 139 } 140 if in.ClusterConnections != nil { 141 in, out := &in.ClusterConnections, &out.ClusterConnections 142 *out = make([]ClusterConnection, len(*in)) 143 copy(*out, *in) 144 } 145 } 146 147 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvBindingStatus. 148 func (in *EnvBindingStatus) DeepCopy() *EnvBindingStatus { 149 if in == nil { 150 return nil 151 } 152 out := new(EnvBindingStatus) 153 in.DeepCopyInto(out) 154 return out 155 } 156 157 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 158 func (in *EnvComponentPatch) DeepCopyInto(out *EnvComponentPatch) { 159 *out = *in 160 if in.Properties != nil { 161 in, out := &in.Properties, &out.Properties 162 *out = new(runtime.RawExtension) 163 (*in).DeepCopyInto(*out) 164 } 165 if in.Traits != nil { 166 in, out := &in.Traits, &out.Traits 167 *out = make([]EnvTraitPatch, len(*in)) 168 for i := range *in { 169 (*in)[i].DeepCopyInto(&(*out)[i]) 170 } 171 } 172 } 173 174 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvComponentPatch. 175 func (in *EnvComponentPatch) DeepCopy() *EnvComponentPatch { 176 if in == nil { 177 return nil 178 } 179 out := new(EnvComponentPatch) 180 in.DeepCopyInto(out) 181 return out 182 } 183 184 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 185 func (in *EnvConfig) DeepCopyInto(out *EnvConfig) { 186 *out = *in 187 in.Placement.DeepCopyInto(&out.Placement) 188 if in.Selector != nil { 189 in, out := &in.Selector, &out.Selector 190 *out = new(EnvSelector) 191 (*in).DeepCopyInto(*out) 192 } 193 in.Patch.DeepCopyInto(&out.Patch) 194 } 195 196 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvConfig. 197 func (in *EnvConfig) DeepCopy() *EnvConfig { 198 if in == nil { 199 return nil 200 } 201 out := new(EnvConfig) 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 *EnvPatch) DeepCopyInto(out *EnvPatch) { 208 *out = *in 209 if in.Components != nil { 210 in, out := &in.Components, &out.Components 211 *out = make([]EnvComponentPatch, len(*in)) 212 for i := range *in { 213 (*in)[i].DeepCopyInto(&(*out)[i]) 214 } 215 } 216 } 217 218 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvPatch. 219 func (in *EnvPatch) DeepCopy() *EnvPatch { 220 if in == nil { 221 return nil 222 } 223 out := new(EnvPatch) 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 *EnvPlacement) DeepCopyInto(out *EnvPlacement) { 230 *out = *in 231 if in.ClusterSelector != nil { 232 in, out := &in.ClusterSelector, &out.ClusterSelector 233 *out = new(common.ClusterSelector) 234 (*in).DeepCopyInto(*out) 235 } 236 if in.NamespaceSelector != nil { 237 in, out := &in.NamespaceSelector, &out.NamespaceSelector 238 *out = new(NamespaceSelector) 239 (*in).DeepCopyInto(*out) 240 } 241 } 242 243 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvPlacement. 244 func (in *EnvPlacement) DeepCopy() *EnvPlacement { 245 if in == nil { 246 return nil 247 } 248 out := new(EnvPlacement) 249 in.DeepCopyInto(out) 250 return out 251 } 252 253 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 254 func (in *EnvSelector) DeepCopyInto(out *EnvSelector) { 255 *out = *in 256 if in.Components != nil { 257 in, out := &in.Components, &out.Components 258 *out = make([]string, len(*in)) 259 copy(*out, *in) 260 } 261 } 262 263 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvSelector. 264 func (in *EnvSelector) DeepCopy() *EnvSelector { 265 if in == nil { 266 return nil 267 } 268 out := new(EnvSelector) 269 in.DeepCopyInto(out) 270 return out 271 } 272 273 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 274 func (in *EnvStatus) DeepCopyInto(out *EnvStatus) { 275 *out = *in 276 if in.Placements != nil { 277 in, out := &in.Placements, &out.Placements 278 *out = make([]PlacementDecision, len(*in)) 279 copy(*out, *in) 280 } 281 } 282 283 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvStatus. 284 func (in *EnvStatus) DeepCopy() *EnvStatus { 285 if in == nil { 286 return nil 287 } 288 out := new(EnvStatus) 289 in.DeepCopyInto(out) 290 return out 291 } 292 293 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 294 func (in *EnvTraitPatch) DeepCopyInto(out *EnvTraitPatch) { 295 *out = *in 296 if in.Properties != nil { 297 in, out := &in.Properties, &out.Properties 298 *out = new(runtime.RawExtension) 299 (*in).DeepCopyInto(*out) 300 } 301 } 302 303 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvTraitPatch. 304 func (in *EnvTraitPatch) DeepCopy() *EnvTraitPatch { 305 if in == nil { 306 return nil 307 } 308 out := new(EnvTraitPatch) 309 in.DeepCopyInto(out) 310 return out 311 } 312 313 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 314 func (in *GarbageCollectPolicyRule) DeepCopyInto(out *GarbageCollectPolicyRule) { 315 *out = *in 316 in.Selector.DeepCopyInto(&out.Selector) 317 if in.Propagation != nil { 318 in, out := &in.Propagation, &out.Propagation 319 *out = new(GarbageCollectPropagation) 320 **out = **in 321 } 322 } 323 324 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GarbageCollectPolicyRule. 325 func (in *GarbageCollectPolicyRule) DeepCopy() *GarbageCollectPolicyRule { 326 if in == nil { 327 return nil 328 } 329 out := new(GarbageCollectPolicyRule) 330 in.DeepCopyInto(out) 331 return out 332 } 333 334 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 335 func (in *GarbageCollectPolicySpec) DeepCopyInto(out *GarbageCollectPolicySpec) { 336 *out = *in 337 if in.ApplicationRevisionLimit != nil { 338 in, out := &in.ApplicationRevisionLimit, &out.ApplicationRevisionLimit 339 *out = new(int) 340 **out = **in 341 } 342 if in.Rules != nil { 343 in, out := &in.Rules, &out.Rules 344 *out = make([]GarbageCollectPolicyRule, len(*in)) 345 for i := range *in { 346 (*in)[i].DeepCopyInto(&(*out)[i]) 347 } 348 } 349 } 350 351 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GarbageCollectPolicySpec. 352 func (in *GarbageCollectPolicySpec) DeepCopy() *GarbageCollectPolicySpec { 353 if in == nil { 354 return nil 355 } 356 out := new(GarbageCollectPolicySpec) 357 in.DeepCopyInto(out) 358 return out 359 } 360 361 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 362 func (in *LegacyObjectTypeIdentifier) DeepCopyInto(out *LegacyObjectTypeIdentifier) { 363 *out = *in 364 } 365 366 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LegacyObjectTypeIdentifier. 367 func (in *LegacyObjectTypeIdentifier) DeepCopy() *LegacyObjectTypeIdentifier { 368 if in == nil { 369 return nil 370 } 371 out := new(LegacyObjectTypeIdentifier) 372 in.DeepCopyInto(out) 373 return out 374 } 375 376 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 377 func (in *NamespaceSelector) DeepCopyInto(out *NamespaceSelector) { 378 *out = *in 379 if in.Labels != nil { 380 in, out := &in.Labels, &out.Labels 381 *out = make(map[string]string, len(*in)) 382 for key, val := range *in { 383 (*out)[key] = val 384 } 385 } 386 } 387 388 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSelector. 389 func (in *NamespaceSelector) DeepCopy() *NamespaceSelector { 390 if in == nil { 391 return nil 392 } 393 out := new(NamespaceSelector) 394 in.DeepCopyInto(out) 395 return out 396 } 397 398 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 399 func (in *ObjectReferrer) DeepCopyInto(out *ObjectReferrer) { 400 *out = *in 401 out.ObjectTypeIdentifier = in.ObjectTypeIdentifier 402 in.ObjectSelector.DeepCopyInto(&out.ObjectSelector) 403 } 404 405 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReferrer. 406 func (in *ObjectReferrer) DeepCopy() *ObjectReferrer { 407 if in == nil { 408 return nil 409 } 410 out := new(ObjectReferrer) 411 in.DeepCopyInto(out) 412 return out 413 } 414 415 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 416 func (in *ObjectSelector) DeepCopyInto(out *ObjectSelector) { 417 *out = *in 418 if in.LabelSelector != nil { 419 in, out := &in.LabelSelector, &out.LabelSelector 420 *out = make(map[string]string, len(*in)) 421 for key, val := range *in { 422 (*out)[key] = val 423 } 424 } 425 if in.DeprecatedLabelSelector != nil { 426 in, out := &in.DeprecatedLabelSelector, &out.DeprecatedLabelSelector 427 *out = make(map[string]string, len(*in)) 428 for key, val := range *in { 429 (*out)[key] = val 430 } 431 } 432 } 433 434 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectSelector. 435 func (in *ObjectSelector) DeepCopy() *ObjectSelector { 436 if in == nil { 437 return nil 438 } 439 out := new(ObjectSelector) 440 in.DeepCopyInto(out) 441 return out 442 } 443 444 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 445 func (in *ObjectTypeIdentifier) DeepCopyInto(out *ObjectTypeIdentifier) { 446 *out = *in 447 out.LegacyObjectTypeIdentifier = in.LegacyObjectTypeIdentifier 448 } 449 450 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectTypeIdentifier. 451 func (in *ObjectTypeIdentifier) DeepCopy() *ObjectTypeIdentifier { 452 if in == nil { 453 return nil 454 } 455 out := new(ObjectTypeIdentifier) 456 in.DeepCopyInto(out) 457 return out 458 } 459 460 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 461 func (in *OverridePolicySpec) DeepCopyInto(out *OverridePolicySpec) { 462 *out = *in 463 if in.Components != nil { 464 in, out := &in.Components, &out.Components 465 *out = make([]EnvComponentPatch, len(*in)) 466 for i := range *in { 467 (*in)[i].DeepCopyInto(&(*out)[i]) 468 } 469 } 470 if in.Selector != nil { 471 in, out := &in.Selector, &out.Selector 472 *out = make([]string, len(*in)) 473 copy(*out, *in) 474 } 475 } 476 477 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OverridePolicySpec. 478 func (in *OverridePolicySpec) DeepCopy() *OverridePolicySpec { 479 if in == nil { 480 return nil 481 } 482 out := new(OverridePolicySpec) 483 in.DeepCopyInto(out) 484 return out 485 } 486 487 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 488 func (in *Placement) DeepCopyInto(out *Placement) { 489 *out = *in 490 if in.Clusters != nil { 491 in, out := &in.Clusters, &out.Clusters 492 *out = make([]string, len(*in)) 493 copy(*out, *in) 494 } 495 if in.ClusterLabelSelector != nil { 496 in, out := &in.ClusterLabelSelector, &out.ClusterLabelSelector 497 *out = make(map[string]string, len(*in)) 498 for key, val := range *in { 499 (*out)[key] = val 500 } 501 } 502 if in.DeprecatedClusterSelector != nil { 503 in, out := &in.DeprecatedClusterSelector, &out.DeprecatedClusterSelector 504 *out = make(map[string]string, len(*in)) 505 for key, val := range *in { 506 (*out)[key] = val 507 } 508 } 509 } 510 511 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Placement. 512 func (in *Placement) DeepCopy() *Placement { 513 if in == nil { 514 return nil 515 } 516 out := new(Placement) 517 in.DeepCopyInto(out) 518 return out 519 } 520 521 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 522 func (in *PlacementDecision) DeepCopyInto(out *PlacementDecision) { 523 *out = *in 524 } 525 526 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementDecision. 527 func (in *PlacementDecision) DeepCopy() *PlacementDecision { 528 if in == nil { 529 return nil 530 } 531 out := new(PlacementDecision) 532 in.DeepCopyInto(out) 533 return out 534 } 535 536 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 537 func (in *Policy) DeepCopyInto(out *Policy) { 538 *out = *in 539 out.TypeMeta = in.TypeMeta 540 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 541 if in.Properties != nil { 542 in, out := &in.Properties, &out.Properties 543 *out = new(runtime.RawExtension) 544 (*in).DeepCopyInto(*out) 545 } 546 } 547 548 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy. 549 func (in *Policy) DeepCopy() *Policy { 550 if in == nil { 551 return nil 552 } 553 out := new(Policy) 554 in.DeepCopyInto(out) 555 return out 556 } 557 558 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 559 func (in *Policy) DeepCopyObject() runtime.Object { 560 if c := in.DeepCopy(); c != nil { 561 return c 562 } 563 return nil 564 } 565 566 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 567 func (in *PolicyList) DeepCopyInto(out *PolicyList) { 568 *out = *in 569 out.TypeMeta = in.TypeMeta 570 in.ListMeta.DeepCopyInto(&out.ListMeta) 571 if in.Items != nil { 572 in, out := &in.Items, &out.Items 573 *out = make([]Policy, len(*in)) 574 for i := range *in { 575 (*in)[i].DeepCopyInto(&(*out)[i]) 576 } 577 } 578 } 579 580 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList. 581 func (in *PolicyList) DeepCopy() *PolicyList { 582 if in == nil { 583 return nil 584 } 585 out := new(PolicyList) 586 in.DeepCopyInto(out) 587 return out 588 } 589 590 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 591 func (in *PolicyList) DeepCopyObject() runtime.Object { 592 if c := in.DeepCopy(); c != nil { 593 return c 594 } 595 return nil 596 } 597 598 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 599 func (in *ReadOnlyPolicyRule) DeepCopyInto(out *ReadOnlyPolicyRule) { 600 *out = *in 601 in.Selector.DeepCopyInto(&out.Selector) 602 } 603 604 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadOnlyPolicyRule. 605 func (in *ReadOnlyPolicyRule) DeepCopy() *ReadOnlyPolicyRule { 606 if in == nil { 607 return nil 608 } 609 out := new(ReadOnlyPolicyRule) 610 in.DeepCopyInto(out) 611 return out 612 } 613 614 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 615 func (in *ReadOnlyPolicySpec) DeepCopyInto(out *ReadOnlyPolicySpec) { 616 *out = *in 617 if in.Rules != nil { 618 in, out := &in.Rules, &out.Rules 619 *out = make([]ReadOnlyPolicyRule, len(*in)) 620 for i := range *in { 621 (*in)[i].DeepCopyInto(&(*out)[i]) 622 } 623 } 624 } 625 626 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadOnlyPolicySpec. 627 func (in *ReadOnlyPolicySpec) DeepCopy() *ReadOnlyPolicySpec { 628 if in == nil { 629 return nil 630 } 631 out := new(ReadOnlyPolicySpec) 632 in.DeepCopyInto(out) 633 return out 634 } 635 636 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 637 func (in *RefObjectsComponentSpec) DeepCopyInto(out *RefObjectsComponentSpec) { 638 *out = *in 639 if in.Objects != nil { 640 in, out := &in.Objects, &out.Objects 641 *out = make([]ObjectReferrer, len(*in)) 642 for i := range *in { 643 (*in)[i].DeepCopyInto(&(*out)[i]) 644 } 645 } 646 if in.URLs != nil { 647 in, out := &in.URLs, &out.URLs 648 *out = make([]string, len(*in)) 649 copy(*out, *in) 650 } 651 } 652 653 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefObjectsComponentSpec. 654 func (in *RefObjectsComponentSpec) DeepCopy() *RefObjectsComponentSpec { 655 if in == nil { 656 return nil 657 } 658 out := new(RefObjectsComponentSpec) 659 in.DeepCopyInto(out) 660 return out 661 } 662 663 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 664 func (in *ReplicationPolicySpec) DeepCopyInto(out *ReplicationPolicySpec) { 665 *out = *in 666 if in.Keys != nil { 667 in, out := &in.Keys, &out.Keys 668 *out = make([]string, len(*in)) 669 copy(*out, *in) 670 } 671 if in.Selector != nil { 672 in, out := &in.Selector, &out.Selector 673 *out = make([]string, len(*in)) 674 copy(*out, *in) 675 } 676 } 677 678 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationPolicySpec. 679 func (in *ReplicationPolicySpec) DeepCopy() *ReplicationPolicySpec { 680 if in == nil { 681 return nil 682 } 683 out := new(ReplicationPolicySpec) 684 in.DeepCopyInto(out) 685 return out 686 } 687 688 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 689 func (in *ResourcePolicyRuleSelector) DeepCopyInto(out *ResourcePolicyRuleSelector) { 690 *out = *in 691 if in.CompNames != nil { 692 in, out := &in.CompNames, &out.CompNames 693 *out = make([]string, len(*in)) 694 copy(*out, *in) 695 } 696 if in.CompTypes != nil { 697 in, out := &in.CompTypes, &out.CompTypes 698 *out = make([]string, len(*in)) 699 copy(*out, *in) 700 } 701 if in.OAMResourceTypes != nil { 702 in, out := &in.OAMResourceTypes, &out.OAMResourceTypes 703 *out = make([]string, len(*in)) 704 copy(*out, *in) 705 } 706 if in.TraitTypes != nil { 707 in, out := &in.TraitTypes, &out.TraitTypes 708 *out = make([]string, len(*in)) 709 copy(*out, *in) 710 } 711 if in.ResourceTypes != nil { 712 in, out := &in.ResourceTypes, &out.ResourceTypes 713 *out = make([]string, len(*in)) 714 copy(*out, *in) 715 } 716 if in.ResourceNames != nil { 717 in, out := &in.ResourceNames, &out.ResourceNames 718 *out = make([]string, len(*in)) 719 copy(*out, *in) 720 } 721 } 722 723 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcePolicyRuleSelector. 724 func (in *ResourcePolicyRuleSelector) DeepCopy() *ResourcePolicyRuleSelector { 725 if in == nil { 726 return nil 727 } 728 out := new(ResourcePolicyRuleSelector) 729 in.DeepCopyInto(out) 730 return out 731 } 732 733 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 734 func (in *ResourceUpdatePolicyRule) DeepCopyInto(out *ResourceUpdatePolicyRule) { 735 *out = *in 736 in.Selector.DeepCopyInto(&out.Selector) 737 in.Strategy.DeepCopyInto(&out.Strategy) 738 } 739 740 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceUpdatePolicyRule. 741 func (in *ResourceUpdatePolicyRule) DeepCopy() *ResourceUpdatePolicyRule { 742 if in == nil { 743 return nil 744 } 745 out := new(ResourceUpdatePolicyRule) 746 in.DeepCopyInto(out) 747 return out 748 } 749 750 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 751 func (in *ResourceUpdatePolicySpec) DeepCopyInto(out *ResourceUpdatePolicySpec) { 752 *out = *in 753 if in.Rules != nil { 754 in, out := &in.Rules, &out.Rules 755 *out = make([]ResourceUpdatePolicyRule, len(*in)) 756 for i := range *in { 757 (*in)[i].DeepCopyInto(&(*out)[i]) 758 } 759 } 760 } 761 762 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceUpdatePolicySpec. 763 func (in *ResourceUpdatePolicySpec) DeepCopy() *ResourceUpdatePolicySpec { 764 if in == nil { 765 return nil 766 } 767 out := new(ResourceUpdatePolicySpec) 768 in.DeepCopyInto(out) 769 return out 770 } 771 772 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 773 func (in *ResourceUpdateStrategy) DeepCopyInto(out *ResourceUpdateStrategy) { 774 *out = *in 775 if in.RecreateFields != nil { 776 in, out := &in.RecreateFields, &out.RecreateFields 777 *out = make([]string, len(*in)) 778 copy(*out, *in) 779 } 780 } 781 782 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceUpdateStrategy. 783 func (in *ResourceUpdateStrategy) DeepCopy() *ResourceUpdateStrategy { 784 if in == nil { 785 return nil 786 } 787 out := new(ResourceUpdateStrategy) 788 in.DeepCopyInto(out) 789 return out 790 } 791 792 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 793 func (in *SharedResourcePolicyRule) DeepCopyInto(out *SharedResourcePolicyRule) { 794 *out = *in 795 in.Selector.DeepCopyInto(&out.Selector) 796 } 797 798 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharedResourcePolicyRule. 799 func (in *SharedResourcePolicyRule) DeepCopy() *SharedResourcePolicyRule { 800 if in == nil { 801 return nil 802 } 803 out := new(SharedResourcePolicyRule) 804 in.DeepCopyInto(out) 805 return out 806 } 807 808 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 809 func (in *SharedResourcePolicySpec) DeepCopyInto(out *SharedResourcePolicySpec) { 810 *out = *in 811 if in.Rules != nil { 812 in, out := &in.Rules, &out.Rules 813 *out = make([]SharedResourcePolicyRule, len(*in)) 814 for i := range *in { 815 (*in)[i].DeepCopyInto(&(*out)[i]) 816 } 817 } 818 } 819 820 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharedResourcePolicySpec. 821 func (in *SharedResourcePolicySpec) DeepCopy() *SharedResourcePolicySpec { 822 if in == nil { 823 return nil 824 } 825 out := new(SharedResourcePolicySpec) 826 in.DeepCopyInto(out) 827 return out 828 } 829 830 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 831 func (in *TakeOverPolicyRule) DeepCopyInto(out *TakeOverPolicyRule) { 832 *out = *in 833 in.Selector.DeepCopyInto(&out.Selector) 834 } 835 836 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TakeOverPolicyRule. 837 func (in *TakeOverPolicyRule) DeepCopy() *TakeOverPolicyRule { 838 if in == nil { 839 return nil 840 } 841 out := new(TakeOverPolicyRule) 842 in.DeepCopyInto(out) 843 return out 844 } 845 846 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 847 func (in *TakeOverPolicySpec) DeepCopyInto(out *TakeOverPolicySpec) { 848 *out = *in 849 if in.Rules != nil { 850 in, out := &in.Rules, &out.Rules 851 *out = make([]TakeOverPolicyRule, len(*in)) 852 for i := range *in { 853 (*in)[i].DeepCopyInto(&(*out)[i]) 854 } 855 } 856 } 857 858 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TakeOverPolicySpec. 859 func (in *TakeOverPolicySpec) DeepCopy() *TakeOverPolicySpec { 860 if in == nil { 861 return nil 862 } 863 out := new(TakeOverPolicySpec) 864 in.DeepCopyInto(out) 865 return out 866 } 867 868 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 869 func (in *TopologyPolicySpec) DeepCopyInto(out *TopologyPolicySpec) { 870 *out = *in 871 in.Placement.DeepCopyInto(&out.Placement) 872 } 873 874 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologyPolicySpec. 875 func (in *TopologyPolicySpec) DeepCopy() *TopologyPolicySpec { 876 if in == nil { 877 return nil 878 } 879 out := new(TopologyPolicySpec) 880 in.DeepCopyInto(out) 881 return out 882 }