1// +build !ignore_autogenerated 2 3/* 4Copyright The Kubernetes Authors. 5 6Licensed under the Apache License, Version 2.0 (the "License"); 7you may not use this file except in compliance with the License. 8You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12Unless required by applicable law or agreed to in writing, software 13distributed under the License is distributed on an "AS IS" BASIS, 14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15See the License for the specific language governing permissions and 16limitations under the License. 17*/ 18 19// Code generated by deepcopy-gen. DO NOT EDIT. 20 21package v1 22 23import ( 24 meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 25 runtime "k8s.io/apimachinery/pkg/runtime" 26 types "k8s.io/apimachinery/pkg/types" 27) 28 29// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 30func (in *AWSElasticBlockStoreVolumeSource) DeepCopyInto(out *AWSElasticBlockStoreVolumeSource) { 31 *out = *in 32 return 33} 34 35// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSource. 36func (in *AWSElasticBlockStoreVolumeSource) DeepCopy() *AWSElasticBlockStoreVolumeSource { 37 if in == nil { 38 return nil 39 } 40 out := new(AWSElasticBlockStoreVolumeSource) 41 in.DeepCopyInto(out) 42 return out 43} 44 45// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 46func (in *Affinity) DeepCopyInto(out *Affinity) { 47 *out = *in 48 if in.NodeAffinity != nil { 49 in, out := &in.NodeAffinity, &out.NodeAffinity 50 if *in == nil { 51 *out = nil 52 } else { 53 *out = new(NodeAffinity) 54 (*in).DeepCopyInto(*out) 55 } 56 } 57 if in.PodAffinity != nil { 58 in, out := &in.PodAffinity, &out.PodAffinity 59 if *in == nil { 60 *out = nil 61 } else { 62 *out = new(PodAffinity) 63 (*in).DeepCopyInto(*out) 64 } 65 } 66 if in.PodAntiAffinity != nil { 67 in, out := &in.PodAntiAffinity, &out.PodAntiAffinity 68 if *in == nil { 69 *out = nil 70 } else { 71 *out = new(PodAntiAffinity) 72 (*in).DeepCopyInto(*out) 73 } 74 } 75 return 76} 77 78// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Affinity. 79func (in *Affinity) DeepCopy() *Affinity { 80 if in == nil { 81 return nil 82 } 83 out := new(Affinity) 84 in.DeepCopyInto(out) 85 return out 86} 87 88// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 89func (in *AttachedVolume) DeepCopyInto(out *AttachedVolume) { 90 *out = *in 91 return 92} 93 94// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedVolume. 95func (in *AttachedVolume) DeepCopy() *AttachedVolume { 96 if in == nil { 97 return nil 98 } 99 out := new(AttachedVolume) 100 in.DeepCopyInto(out) 101 return out 102} 103 104// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 105func (in *AvoidPods) DeepCopyInto(out *AvoidPods) { 106 *out = *in 107 if in.PreferAvoidPods != nil { 108 in, out := &in.PreferAvoidPods, &out.PreferAvoidPods 109 *out = make([]PreferAvoidPodsEntry, len(*in)) 110 for i := range *in { 111 (*in)[i].DeepCopyInto(&(*out)[i]) 112 } 113 } 114 return 115} 116 117// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvoidPods. 118func (in *AvoidPods) DeepCopy() *AvoidPods { 119 if in == nil { 120 return nil 121 } 122 out := new(AvoidPods) 123 in.DeepCopyInto(out) 124 return out 125} 126 127// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 128func (in *AzureDiskVolumeSource) DeepCopyInto(out *AzureDiskVolumeSource) { 129 *out = *in 130 if in.CachingMode != nil { 131 in, out := &in.CachingMode, &out.CachingMode 132 if *in == nil { 133 *out = nil 134 } else { 135 *out = new(AzureDataDiskCachingMode) 136 **out = **in 137 } 138 } 139 if in.FSType != nil { 140 in, out := &in.FSType, &out.FSType 141 if *in == nil { 142 *out = nil 143 } else { 144 *out = new(string) 145 **out = **in 146 } 147 } 148 if in.ReadOnly != nil { 149 in, out := &in.ReadOnly, &out.ReadOnly 150 if *in == nil { 151 *out = nil 152 } else { 153 *out = new(bool) 154 **out = **in 155 } 156 } 157 if in.Kind != nil { 158 in, out := &in.Kind, &out.Kind 159 if *in == nil { 160 *out = nil 161 } else { 162 *out = new(AzureDataDiskKind) 163 **out = **in 164 } 165 } 166 return 167} 168 169// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureDiskVolumeSource. 170func (in *AzureDiskVolumeSource) DeepCopy() *AzureDiskVolumeSource { 171 if in == nil { 172 return nil 173 } 174 out := new(AzureDiskVolumeSource) 175 in.DeepCopyInto(out) 176 return out 177} 178 179// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 180func (in *AzureFilePersistentVolumeSource) DeepCopyInto(out *AzureFilePersistentVolumeSource) { 181 *out = *in 182 if in.SecretNamespace != nil { 183 in, out := &in.SecretNamespace, &out.SecretNamespace 184 if *in == nil { 185 *out = nil 186 } else { 187 *out = new(string) 188 **out = **in 189 } 190 } 191 return 192} 193 194// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFilePersistentVolumeSource. 195func (in *AzureFilePersistentVolumeSource) DeepCopy() *AzureFilePersistentVolumeSource { 196 if in == nil { 197 return nil 198 } 199 out := new(AzureFilePersistentVolumeSource) 200 in.DeepCopyInto(out) 201 return out 202} 203 204// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 205func (in *AzureFileVolumeSource) DeepCopyInto(out *AzureFileVolumeSource) { 206 *out = *in 207 return 208} 209 210// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFileVolumeSource. 211func (in *AzureFileVolumeSource) DeepCopy() *AzureFileVolumeSource { 212 if in == nil { 213 return nil 214 } 215 out := new(AzureFileVolumeSource) 216 in.DeepCopyInto(out) 217 return out 218} 219 220// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 221func (in *Binding) DeepCopyInto(out *Binding) { 222 *out = *in 223 out.TypeMeta = in.TypeMeta 224 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 225 out.Target = in.Target 226 return 227} 228 229// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding. 230func (in *Binding) DeepCopy() *Binding { 231 if in == nil { 232 return nil 233 } 234 out := new(Binding) 235 in.DeepCopyInto(out) 236 return out 237} 238 239// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 240func (in *Binding) DeepCopyObject() runtime.Object { 241 if c := in.DeepCopy(); c != nil { 242 return c 243 } 244 return nil 245} 246 247// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 248func (in *CSIPersistentVolumeSource) DeepCopyInto(out *CSIPersistentVolumeSource) { 249 *out = *in 250 if in.VolumeAttributes != nil { 251 in, out := &in.VolumeAttributes, &out.VolumeAttributes 252 *out = make(map[string]string, len(*in)) 253 for key, val := range *in { 254 (*out)[key] = val 255 } 256 } 257 if in.ControllerPublishSecretRef != nil { 258 in, out := &in.ControllerPublishSecretRef, &out.ControllerPublishSecretRef 259 if *in == nil { 260 *out = nil 261 } else { 262 *out = new(SecretReference) 263 **out = **in 264 } 265 } 266 if in.NodeStageSecretRef != nil { 267 in, out := &in.NodeStageSecretRef, &out.NodeStageSecretRef 268 if *in == nil { 269 *out = nil 270 } else { 271 *out = new(SecretReference) 272 **out = **in 273 } 274 } 275 if in.NodePublishSecretRef != nil { 276 in, out := &in.NodePublishSecretRef, &out.NodePublishSecretRef 277 if *in == nil { 278 *out = nil 279 } else { 280 *out = new(SecretReference) 281 **out = **in 282 } 283 } 284 return 285} 286 287// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIPersistentVolumeSource. 288func (in *CSIPersistentVolumeSource) DeepCopy() *CSIPersistentVolumeSource { 289 if in == nil { 290 return nil 291 } 292 out := new(CSIPersistentVolumeSource) 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. 298func (in *Capabilities) DeepCopyInto(out *Capabilities) { 299 *out = *in 300 if in.Add != nil { 301 in, out := &in.Add, &out.Add 302 *out = make([]Capability, len(*in)) 303 copy(*out, *in) 304 } 305 if in.Drop != nil { 306 in, out := &in.Drop, &out.Drop 307 *out = make([]Capability, len(*in)) 308 copy(*out, *in) 309 } 310 return 311} 312 313// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capabilities. 314func (in *Capabilities) DeepCopy() *Capabilities { 315 if in == nil { 316 return nil 317 } 318 out := new(Capabilities) 319 in.DeepCopyInto(out) 320 return out 321} 322 323// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 324func (in *CephFSPersistentVolumeSource) DeepCopyInto(out *CephFSPersistentVolumeSource) { 325 *out = *in 326 if in.Monitors != nil { 327 in, out := &in.Monitors, &out.Monitors 328 *out = make([]string, len(*in)) 329 copy(*out, *in) 330 } 331 if in.SecretRef != nil { 332 in, out := &in.SecretRef, &out.SecretRef 333 if *in == nil { 334 *out = nil 335 } else { 336 *out = new(SecretReference) 337 **out = **in 338 } 339 } 340 return 341} 342 343// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSPersistentVolumeSource. 344func (in *CephFSPersistentVolumeSource) DeepCopy() *CephFSPersistentVolumeSource { 345 if in == nil { 346 return nil 347 } 348 out := new(CephFSPersistentVolumeSource) 349 in.DeepCopyInto(out) 350 return out 351} 352 353// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 354func (in *CephFSVolumeSource) DeepCopyInto(out *CephFSVolumeSource) { 355 *out = *in 356 if in.Monitors != nil { 357 in, out := &in.Monitors, &out.Monitors 358 *out = make([]string, len(*in)) 359 copy(*out, *in) 360 } 361 if in.SecretRef != nil { 362 in, out := &in.SecretRef, &out.SecretRef 363 if *in == nil { 364 *out = nil 365 } else { 366 *out = new(LocalObjectReference) 367 **out = **in 368 } 369 } 370 return 371} 372 373// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSVolumeSource. 374func (in *CephFSVolumeSource) DeepCopy() *CephFSVolumeSource { 375 if in == nil { 376 return nil 377 } 378 out := new(CephFSVolumeSource) 379 in.DeepCopyInto(out) 380 return out 381} 382 383// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 384func (in *CinderPersistentVolumeSource) DeepCopyInto(out *CinderPersistentVolumeSource) { 385 *out = *in 386 if in.SecretRef != nil { 387 in, out := &in.SecretRef, &out.SecretRef 388 if *in == nil { 389 *out = nil 390 } else { 391 *out = new(SecretReference) 392 **out = **in 393 } 394 } 395 return 396} 397 398// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderPersistentVolumeSource. 399func (in *CinderPersistentVolumeSource) DeepCopy() *CinderPersistentVolumeSource { 400 if in == nil { 401 return nil 402 } 403 out := new(CinderPersistentVolumeSource) 404 in.DeepCopyInto(out) 405 return out 406} 407 408// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 409func (in *CinderVolumeSource) DeepCopyInto(out *CinderVolumeSource) { 410 *out = *in 411 if in.SecretRef != nil { 412 in, out := &in.SecretRef, &out.SecretRef 413 if *in == nil { 414 *out = nil 415 } else { 416 *out = new(LocalObjectReference) 417 **out = **in 418 } 419 } 420 return 421} 422 423// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderVolumeSource. 424func (in *CinderVolumeSource) DeepCopy() *CinderVolumeSource { 425 if in == nil { 426 return nil 427 } 428 out := new(CinderVolumeSource) 429 in.DeepCopyInto(out) 430 return out 431} 432 433// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 434func (in *ClientIPConfig) DeepCopyInto(out *ClientIPConfig) { 435 *out = *in 436 if in.TimeoutSeconds != nil { 437 in, out := &in.TimeoutSeconds, &out.TimeoutSeconds 438 if *in == nil { 439 *out = nil 440 } else { 441 *out = new(int32) 442 **out = **in 443 } 444 } 445 return 446} 447 448// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientIPConfig. 449func (in *ClientIPConfig) DeepCopy() *ClientIPConfig { 450 if in == nil { 451 return nil 452 } 453 out := new(ClientIPConfig) 454 in.DeepCopyInto(out) 455 return out 456} 457 458// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 459func (in *ComponentCondition) DeepCopyInto(out *ComponentCondition) { 460 *out = *in 461 return 462} 463 464// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentCondition. 465func (in *ComponentCondition) DeepCopy() *ComponentCondition { 466 if in == nil { 467 return nil 468 } 469 out := new(ComponentCondition) 470 in.DeepCopyInto(out) 471 return out 472} 473 474// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 475func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) { 476 *out = *in 477 out.TypeMeta = in.TypeMeta 478 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 479 if in.Conditions != nil { 480 in, out := &in.Conditions, &out.Conditions 481 *out = make([]ComponentCondition, len(*in)) 482 copy(*out, *in) 483 } 484 return 485} 486 487// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus. 488func (in *ComponentStatus) DeepCopy() *ComponentStatus { 489 if in == nil { 490 return nil 491 } 492 out := new(ComponentStatus) 493 in.DeepCopyInto(out) 494 return out 495} 496 497// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 498func (in *ComponentStatus) DeepCopyObject() runtime.Object { 499 if c := in.DeepCopy(); c != nil { 500 return c 501 } 502 return nil 503} 504 505// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 506func (in *ComponentStatusList) DeepCopyInto(out *ComponentStatusList) { 507 *out = *in 508 out.TypeMeta = in.TypeMeta 509 out.ListMeta = in.ListMeta 510 if in.Items != nil { 511 in, out := &in.Items, &out.Items 512 *out = make([]ComponentStatus, len(*in)) 513 for i := range *in { 514 (*in)[i].DeepCopyInto(&(*out)[i]) 515 } 516 } 517 return 518} 519 520// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatusList. 521func (in *ComponentStatusList) DeepCopy() *ComponentStatusList { 522 if in == nil { 523 return nil 524 } 525 out := new(ComponentStatusList) 526 in.DeepCopyInto(out) 527 return out 528} 529 530// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 531func (in *ComponentStatusList) DeepCopyObject() runtime.Object { 532 if c := in.DeepCopy(); c != nil { 533 return c 534 } 535 return nil 536} 537 538// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 539func (in *ConfigMap) DeepCopyInto(out *ConfigMap) { 540 *out = *in 541 out.TypeMeta = in.TypeMeta 542 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 543 if in.Data != nil { 544 in, out := &in.Data, &out.Data 545 *out = make(map[string]string, len(*in)) 546 for key, val := range *in { 547 (*out)[key] = val 548 } 549 } 550 if in.BinaryData != nil { 551 in, out := &in.BinaryData, &out.BinaryData 552 *out = make(map[string][]byte, len(*in)) 553 for key, val := range *in { 554 if val == nil { 555 (*out)[key] = nil 556 } else { 557 (*out)[key] = make([]byte, len(val)) 558 copy((*out)[key], val) 559 } 560 } 561 } 562 return 563} 564 565// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap. 566func (in *ConfigMap) DeepCopy() *ConfigMap { 567 if in == nil { 568 return nil 569 } 570 out := new(ConfigMap) 571 in.DeepCopyInto(out) 572 return out 573} 574 575// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 576func (in *ConfigMap) DeepCopyObject() runtime.Object { 577 if c := in.DeepCopy(); c != nil { 578 return c 579 } 580 return nil 581} 582 583// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 584func (in *ConfigMapEnvSource) DeepCopyInto(out *ConfigMapEnvSource) { 585 *out = *in 586 out.LocalObjectReference = in.LocalObjectReference 587 if in.Optional != nil { 588 in, out := &in.Optional, &out.Optional 589 if *in == nil { 590 *out = nil 591 } else { 592 *out = new(bool) 593 **out = **in 594 } 595 } 596 return 597} 598 599// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapEnvSource. 600func (in *ConfigMapEnvSource) DeepCopy() *ConfigMapEnvSource { 601 if in == nil { 602 return nil 603 } 604 out := new(ConfigMapEnvSource) 605 in.DeepCopyInto(out) 606 return out 607} 608 609// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 610func (in *ConfigMapKeySelector) DeepCopyInto(out *ConfigMapKeySelector) { 611 *out = *in 612 out.LocalObjectReference = in.LocalObjectReference 613 if in.Optional != nil { 614 in, out := &in.Optional, &out.Optional 615 if *in == nil { 616 *out = nil 617 } else { 618 *out = new(bool) 619 **out = **in 620 } 621 } 622 return 623} 624 625// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeySelector. 626func (in *ConfigMapKeySelector) DeepCopy() *ConfigMapKeySelector { 627 if in == nil { 628 return nil 629 } 630 out := new(ConfigMapKeySelector) 631 in.DeepCopyInto(out) 632 return out 633} 634 635// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 636func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList) { 637 *out = *in 638 out.TypeMeta = in.TypeMeta 639 out.ListMeta = in.ListMeta 640 if in.Items != nil { 641 in, out := &in.Items, &out.Items 642 *out = make([]ConfigMap, len(*in)) 643 for i := range *in { 644 (*in)[i].DeepCopyInto(&(*out)[i]) 645 } 646 } 647 return 648} 649 650// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList. 651func (in *ConfigMapList) DeepCopy() *ConfigMapList { 652 if in == nil { 653 return nil 654 } 655 out := new(ConfigMapList) 656 in.DeepCopyInto(out) 657 return out 658} 659 660// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 661func (in *ConfigMapList) DeepCopyObject() runtime.Object { 662 if c := in.DeepCopy(); c != nil { 663 return c 664 } 665 return nil 666} 667 668// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 669func (in *ConfigMapNodeConfigSource) DeepCopyInto(out *ConfigMapNodeConfigSource) { 670 *out = *in 671 return 672} 673 674// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapNodeConfigSource. 675func (in *ConfigMapNodeConfigSource) DeepCopy() *ConfigMapNodeConfigSource { 676 if in == nil { 677 return nil 678 } 679 out := new(ConfigMapNodeConfigSource) 680 in.DeepCopyInto(out) 681 return out 682} 683 684// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 685func (in *ConfigMapProjection) DeepCopyInto(out *ConfigMapProjection) { 686 *out = *in 687 out.LocalObjectReference = in.LocalObjectReference 688 if in.Items != nil { 689 in, out := &in.Items, &out.Items 690 *out = make([]KeyToPath, len(*in)) 691 for i := range *in { 692 (*in)[i].DeepCopyInto(&(*out)[i]) 693 } 694 } 695 if in.Optional != nil { 696 in, out := &in.Optional, &out.Optional 697 if *in == nil { 698 *out = nil 699 } else { 700 *out = new(bool) 701 **out = **in 702 } 703 } 704 return 705} 706 707// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapProjection. 708func (in *ConfigMapProjection) DeepCopy() *ConfigMapProjection { 709 if in == nil { 710 return nil 711 } 712 out := new(ConfigMapProjection) 713 in.DeepCopyInto(out) 714 return out 715} 716 717// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 718func (in *ConfigMapVolumeSource) DeepCopyInto(out *ConfigMapVolumeSource) { 719 *out = *in 720 out.LocalObjectReference = in.LocalObjectReference 721 if in.Items != nil { 722 in, out := &in.Items, &out.Items 723 *out = make([]KeyToPath, len(*in)) 724 for i := range *in { 725 (*in)[i].DeepCopyInto(&(*out)[i]) 726 } 727 } 728 if in.DefaultMode != nil { 729 in, out := &in.DefaultMode, &out.DefaultMode 730 if *in == nil { 731 *out = nil 732 } else { 733 *out = new(int32) 734 **out = **in 735 } 736 } 737 if in.Optional != nil { 738 in, out := &in.Optional, &out.Optional 739 if *in == nil { 740 *out = nil 741 } else { 742 *out = new(bool) 743 **out = **in 744 } 745 } 746 return 747} 748 749// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapVolumeSource. 750func (in *ConfigMapVolumeSource) DeepCopy() *ConfigMapVolumeSource { 751 if in == nil { 752 return nil 753 } 754 out := new(ConfigMapVolumeSource) 755 in.DeepCopyInto(out) 756 return out 757} 758 759// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 760func (in *Container) DeepCopyInto(out *Container) { 761 *out = *in 762 if in.Command != nil { 763 in, out := &in.Command, &out.Command 764 *out = make([]string, len(*in)) 765 copy(*out, *in) 766 } 767 if in.Args != nil { 768 in, out := &in.Args, &out.Args 769 *out = make([]string, len(*in)) 770 copy(*out, *in) 771 } 772 if in.Ports != nil { 773 in, out := &in.Ports, &out.Ports 774 *out = make([]ContainerPort, len(*in)) 775 copy(*out, *in) 776 } 777 if in.EnvFrom != nil { 778 in, out := &in.EnvFrom, &out.EnvFrom 779 *out = make([]EnvFromSource, len(*in)) 780 for i := range *in { 781 (*in)[i].DeepCopyInto(&(*out)[i]) 782 } 783 } 784 if in.Env != nil { 785 in, out := &in.Env, &out.Env 786 *out = make([]EnvVar, len(*in)) 787 for i := range *in { 788 (*in)[i].DeepCopyInto(&(*out)[i]) 789 } 790 } 791 in.Resources.DeepCopyInto(&out.Resources) 792 if in.VolumeMounts != nil { 793 in, out := &in.VolumeMounts, &out.VolumeMounts 794 *out = make([]VolumeMount, len(*in)) 795 for i := range *in { 796 (*in)[i].DeepCopyInto(&(*out)[i]) 797 } 798 } 799 if in.VolumeDevices != nil { 800 in, out := &in.VolumeDevices, &out.VolumeDevices 801 *out = make([]VolumeDevice, len(*in)) 802 copy(*out, *in) 803 } 804 if in.LivenessProbe != nil { 805 in, out := &in.LivenessProbe, &out.LivenessProbe 806 if *in == nil { 807 *out = nil 808 } else { 809 *out = new(Probe) 810 (*in).DeepCopyInto(*out) 811 } 812 } 813 if in.ReadinessProbe != nil { 814 in, out := &in.ReadinessProbe, &out.ReadinessProbe 815 if *in == nil { 816 *out = nil 817 } else { 818 *out = new(Probe) 819 (*in).DeepCopyInto(*out) 820 } 821 } 822 if in.Lifecycle != nil { 823 in, out := &in.Lifecycle, &out.Lifecycle 824 if *in == nil { 825 *out = nil 826 } else { 827 *out = new(Lifecycle) 828 (*in).DeepCopyInto(*out) 829 } 830 } 831 if in.SecurityContext != nil { 832 in, out := &in.SecurityContext, &out.SecurityContext 833 if *in == nil { 834 *out = nil 835 } else { 836 *out = new(SecurityContext) 837 (*in).DeepCopyInto(*out) 838 } 839 } 840 return 841} 842 843// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container. 844func (in *Container) DeepCopy() *Container { 845 if in == nil { 846 return nil 847 } 848 out := new(Container) 849 in.DeepCopyInto(out) 850 return out 851} 852 853// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 854func (in *ContainerImage) DeepCopyInto(out *ContainerImage) { 855 *out = *in 856 if in.Names != nil { 857 in, out := &in.Names, &out.Names 858 *out = make([]string, len(*in)) 859 copy(*out, *in) 860 } 861 return 862} 863 864// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage. 865func (in *ContainerImage) DeepCopy() *ContainerImage { 866 if in == nil { 867 return nil 868 } 869 out := new(ContainerImage) 870 in.DeepCopyInto(out) 871 return out 872} 873 874// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 875func (in *ContainerPort) DeepCopyInto(out *ContainerPort) { 876 *out = *in 877 return 878} 879 880// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPort. 881func (in *ContainerPort) DeepCopy() *ContainerPort { 882 if in == nil { 883 return nil 884 } 885 out := new(ContainerPort) 886 in.DeepCopyInto(out) 887 return out 888} 889 890// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 891func (in *ContainerState) DeepCopyInto(out *ContainerState) { 892 *out = *in 893 if in.Waiting != nil { 894 in, out := &in.Waiting, &out.Waiting 895 if *in == nil { 896 *out = nil 897 } else { 898 *out = new(ContainerStateWaiting) 899 **out = **in 900 } 901 } 902 if in.Running != nil { 903 in, out := &in.Running, &out.Running 904 if *in == nil { 905 *out = nil 906 } else { 907 *out = new(ContainerStateRunning) 908 (*in).DeepCopyInto(*out) 909 } 910 } 911 if in.Terminated != nil { 912 in, out := &in.Terminated, &out.Terminated 913 if *in == nil { 914 *out = nil 915 } else { 916 *out = new(ContainerStateTerminated) 917 (*in).DeepCopyInto(*out) 918 } 919 } 920 return 921} 922 923// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerState. 924func (in *ContainerState) DeepCopy() *ContainerState { 925 if in == nil { 926 return nil 927 } 928 out := new(ContainerState) 929 in.DeepCopyInto(out) 930 return out 931} 932 933// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 934func (in *ContainerStateRunning) DeepCopyInto(out *ContainerStateRunning) { 935 *out = *in 936 in.StartedAt.DeepCopyInto(&out.StartedAt) 937 return 938} 939 940// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning. 941func (in *ContainerStateRunning) DeepCopy() *ContainerStateRunning { 942 if in == nil { 943 return nil 944 } 945 out := new(ContainerStateRunning) 946 in.DeepCopyInto(out) 947 return out 948} 949 950// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 951func (in *ContainerStateTerminated) DeepCopyInto(out *ContainerStateTerminated) { 952 *out = *in 953 in.StartedAt.DeepCopyInto(&out.StartedAt) 954 in.FinishedAt.DeepCopyInto(&out.FinishedAt) 955 return 956} 957 958// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateTerminated. 959func (in *ContainerStateTerminated) DeepCopy() *ContainerStateTerminated { 960 if in == nil { 961 return nil 962 } 963 out := new(ContainerStateTerminated) 964 in.DeepCopyInto(out) 965 return out 966} 967 968// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 969func (in *ContainerStateWaiting) DeepCopyInto(out *ContainerStateWaiting) { 970 *out = *in 971 return 972} 973 974// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateWaiting. 975func (in *ContainerStateWaiting) DeepCopy() *ContainerStateWaiting { 976 if in == nil { 977 return nil 978 } 979 out := new(ContainerStateWaiting) 980 in.DeepCopyInto(out) 981 return out 982} 983 984// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 985func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus) { 986 *out = *in 987 in.State.DeepCopyInto(&out.State) 988 in.LastTerminationState.DeepCopyInto(&out.LastTerminationState) 989 return 990} 991 992// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus. 993func (in *ContainerStatus) DeepCopy() *ContainerStatus { 994 if in == nil { 995 return nil 996 } 997 out := new(ContainerStatus) 998 in.DeepCopyInto(out) 999 return out 1000} 1001 1002// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1003func (in *DaemonEndpoint) DeepCopyInto(out *DaemonEndpoint) { 1004 *out = *in 1005 return 1006} 1007 1008// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonEndpoint. 1009func (in *DaemonEndpoint) DeepCopy() *DaemonEndpoint { 1010 if in == nil { 1011 return nil 1012 } 1013 out := new(DaemonEndpoint) 1014 in.DeepCopyInto(out) 1015 return out 1016} 1017 1018// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1019func (in *DownwardAPIProjection) DeepCopyInto(out *DownwardAPIProjection) { 1020 *out = *in 1021 if in.Items != nil { 1022 in, out := &in.Items, &out.Items 1023 *out = make([]DownwardAPIVolumeFile, len(*in)) 1024 for i := range *in { 1025 (*in)[i].DeepCopyInto(&(*out)[i]) 1026 } 1027 } 1028 return 1029} 1030 1031// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIProjection. 1032func (in *DownwardAPIProjection) DeepCopy() *DownwardAPIProjection { 1033 if in == nil { 1034 return nil 1035 } 1036 out := new(DownwardAPIProjection) 1037 in.DeepCopyInto(out) 1038 return out 1039} 1040 1041// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1042func (in *DownwardAPIVolumeFile) DeepCopyInto(out *DownwardAPIVolumeFile) { 1043 *out = *in 1044 if in.FieldRef != nil { 1045 in, out := &in.FieldRef, &out.FieldRef 1046 if *in == nil { 1047 *out = nil 1048 } else { 1049 *out = new(ObjectFieldSelector) 1050 **out = **in 1051 } 1052 } 1053 if in.ResourceFieldRef != nil { 1054 in, out := &in.ResourceFieldRef, &out.ResourceFieldRef 1055 if *in == nil { 1056 *out = nil 1057 } else { 1058 *out = new(ResourceFieldSelector) 1059 (*in).DeepCopyInto(*out) 1060 } 1061 } 1062 if in.Mode != nil { 1063 in, out := &in.Mode, &out.Mode 1064 if *in == nil { 1065 *out = nil 1066 } else { 1067 *out = new(int32) 1068 **out = **in 1069 } 1070 } 1071 return 1072} 1073 1074// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeFile. 1075func (in *DownwardAPIVolumeFile) DeepCopy() *DownwardAPIVolumeFile { 1076 if in == nil { 1077 return nil 1078 } 1079 out := new(DownwardAPIVolumeFile) 1080 in.DeepCopyInto(out) 1081 return out 1082} 1083 1084// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1085func (in *DownwardAPIVolumeSource) DeepCopyInto(out *DownwardAPIVolumeSource) { 1086 *out = *in 1087 if in.Items != nil { 1088 in, out := &in.Items, &out.Items 1089 *out = make([]DownwardAPIVolumeFile, len(*in)) 1090 for i := range *in { 1091 (*in)[i].DeepCopyInto(&(*out)[i]) 1092 } 1093 } 1094 if in.DefaultMode != nil { 1095 in, out := &in.DefaultMode, &out.DefaultMode 1096 if *in == nil { 1097 *out = nil 1098 } else { 1099 *out = new(int32) 1100 **out = **in 1101 } 1102 } 1103 return 1104} 1105 1106// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeSource. 1107func (in *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource { 1108 if in == nil { 1109 return nil 1110 } 1111 out := new(DownwardAPIVolumeSource) 1112 in.DeepCopyInto(out) 1113 return out 1114} 1115 1116// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1117func (in *EmptyDirVolumeSource) DeepCopyInto(out *EmptyDirVolumeSource) { 1118 *out = *in 1119 if in.SizeLimit != nil { 1120 in, out := &in.SizeLimit, &out.SizeLimit 1121 if *in == nil { 1122 *out = nil 1123 } else { 1124 x := (*in).DeepCopy() 1125 *out = &x 1126 } 1127 } 1128 return 1129} 1130 1131// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDirVolumeSource. 1132func (in *EmptyDirVolumeSource) DeepCopy() *EmptyDirVolumeSource { 1133 if in == nil { 1134 return nil 1135 } 1136 out := new(EmptyDirVolumeSource) 1137 in.DeepCopyInto(out) 1138 return out 1139} 1140 1141// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1142func (in *EndpointAddress) DeepCopyInto(out *EndpointAddress) { 1143 *out = *in 1144 if in.NodeName != nil { 1145 in, out := &in.NodeName, &out.NodeName 1146 if *in == nil { 1147 *out = nil 1148 } else { 1149 *out = new(string) 1150 **out = **in 1151 } 1152 } 1153 if in.TargetRef != nil { 1154 in, out := &in.TargetRef, &out.TargetRef 1155 if *in == nil { 1156 *out = nil 1157 } else { 1158 *out = new(ObjectReference) 1159 **out = **in 1160 } 1161 } 1162 return 1163} 1164 1165// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAddress. 1166func (in *EndpointAddress) DeepCopy() *EndpointAddress { 1167 if in == nil { 1168 return nil 1169 } 1170 out := new(EndpointAddress) 1171 in.DeepCopyInto(out) 1172 return out 1173} 1174 1175// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1176func (in *EndpointPort) DeepCopyInto(out *EndpointPort) { 1177 *out = *in 1178 return 1179} 1180 1181// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort. 1182func (in *EndpointPort) DeepCopy() *EndpointPort { 1183 if in == nil { 1184 return nil 1185 } 1186 out := new(EndpointPort) 1187 in.DeepCopyInto(out) 1188 return out 1189} 1190 1191// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1192func (in *EndpointSubset) DeepCopyInto(out *EndpointSubset) { 1193 *out = *in 1194 if in.Addresses != nil { 1195 in, out := &in.Addresses, &out.Addresses 1196 *out = make([]EndpointAddress, len(*in)) 1197 for i := range *in { 1198 (*in)[i].DeepCopyInto(&(*out)[i]) 1199 } 1200 } 1201 if in.NotReadyAddresses != nil { 1202 in, out := &in.NotReadyAddresses, &out.NotReadyAddresses 1203 *out = make([]EndpointAddress, len(*in)) 1204 for i := range *in { 1205 (*in)[i].DeepCopyInto(&(*out)[i]) 1206 } 1207 } 1208 if in.Ports != nil { 1209 in, out := &in.Ports, &out.Ports 1210 *out = make([]EndpointPort, len(*in)) 1211 copy(*out, *in) 1212 } 1213 return 1214} 1215 1216// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubset. 1217func (in *EndpointSubset) DeepCopy() *EndpointSubset { 1218 if in == nil { 1219 return nil 1220 } 1221 out := new(EndpointSubset) 1222 in.DeepCopyInto(out) 1223 return out 1224} 1225 1226// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1227func (in *Endpoints) DeepCopyInto(out *Endpoints) { 1228 *out = *in 1229 out.TypeMeta = in.TypeMeta 1230 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 1231 if in.Subsets != nil { 1232 in, out := &in.Subsets, &out.Subsets 1233 *out = make([]EndpointSubset, len(*in)) 1234 for i := range *in { 1235 (*in)[i].DeepCopyInto(&(*out)[i]) 1236 } 1237 } 1238 return 1239} 1240 1241// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoints. 1242func (in *Endpoints) DeepCopy() *Endpoints { 1243 if in == nil { 1244 return nil 1245 } 1246 out := new(Endpoints) 1247 in.DeepCopyInto(out) 1248 return out 1249} 1250 1251// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1252func (in *Endpoints) DeepCopyObject() runtime.Object { 1253 if c := in.DeepCopy(); c != nil { 1254 return c 1255 } 1256 return nil 1257} 1258 1259// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1260func (in *EndpointsList) DeepCopyInto(out *EndpointsList) { 1261 *out = *in 1262 out.TypeMeta = in.TypeMeta 1263 out.ListMeta = in.ListMeta 1264 if in.Items != nil { 1265 in, out := &in.Items, &out.Items 1266 *out = make([]Endpoints, len(*in)) 1267 for i := range *in { 1268 (*in)[i].DeepCopyInto(&(*out)[i]) 1269 } 1270 } 1271 return 1272} 1273 1274// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointsList. 1275func (in *EndpointsList) DeepCopy() *EndpointsList { 1276 if in == nil { 1277 return nil 1278 } 1279 out := new(EndpointsList) 1280 in.DeepCopyInto(out) 1281 return out 1282} 1283 1284// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1285func (in *EndpointsList) DeepCopyObject() runtime.Object { 1286 if c := in.DeepCopy(); c != nil { 1287 return c 1288 } 1289 return nil 1290} 1291 1292// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1293func (in *EnvFromSource) DeepCopyInto(out *EnvFromSource) { 1294 *out = *in 1295 if in.ConfigMapRef != nil { 1296 in, out := &in.ConfigMapRef, &out.ConfigMapRef 1297 if *in == nil { 1298 *out = nil 1299 } else { 1300 *out = new(ConfigMapEnvSource) 1301 (*in).DeepCopyInto(*out) 1302 } 1303 } 1304 if in.SecretRef != nil { 1305 in, out := &in.SecretRef, &out.SecretRef 1306 if *in == nil { 1307 *out = nil 1308 } else { 1309 *out = new(SecretEnvSource) 1310 (*in).DeepCopyInto(*out) 1311 } 1312 } 1313 return 1314} 1315 1316// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvFromSource. 1317func (in *EnvFromSource) DeepCopy() *EnvFromSource { 1318 if in == nil { 1319 return nil 1320 } 1321 out := new(EnvFromSource) 1322 in.DeepCopyInto(out) 1323 return out 1324} 1325 1326// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1327func (in *EnvVar) DeepCopyInto(out *EnvVar) { 1328 *out = *in 1329 if in.ValueFrom != nil { 1330 in, out := &in.ValueFrom, &out.ValueFrom 1331 if *in == nil { 1332 *out = nil 1333 } else { 1334 *out = new(EnvVarSource) 1335 (*in).DeepCopyInto(*out) 1336 } 1337 } 1338 return 1339} 1340 1341// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar. 1342func (in *EnvVar) DeepCopy() *EnvVar { 1343 if in == nil { 1344 return nil 1345 } 1346 out := new(EnvVar) 1347 in.DeepCopyInto(out) 1348 return out 1349} 1350 1351// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1352func (in *EnvVarSource) DeepCopyInto(out *EnvVarSource) { 1353 *out = *in 1354 if in.FieldRef != nil { 1355 in, out := &in.FieldRef, &out.FieldRef 1356 if *in == nil { 1357 *out = nil 1358 } else { 1359 *out = new(ObjectFieldSelector) 1360 **out = **in 1361 } 1362 } 1363 if in.ResourceFieldRef != nil { 1364 in, out := &in.ResourceFieldRef, &out.ResourceFieldRef 1365 if *in == nil { 1366 *out = nil 1367 } else { 1368 *out = new(ResourceFieldSelector) 1369 (*in).DeepCopyInto(*out) 1370 } 1371 } 1372 if in.ConfigMapKeyRef != nil { 1373 in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef 1374 if *in == nil { 1375 *out = nil 1376 } else { 1377 *out = new(ConfigMapKeySelector) 1378 (*in).DeepCopyInto(*out) 1379 } 1380 } 1381 if in.SecretKeyRef != nil { 1382 in, out := &in.SecretKeyRef, &out.SecretKeyRef 1383 if *in == nil { 1384 *out = nil 1385 } else { 1386 *out = new(SecretKeySelector) 1387 (*in).DeepCopyInto(*out) 1388 } 1389 } 1390 return 1391} 1392 1393// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarSource. 1394func (in *EnvVarSource) DeepCopy() *EnvVarSource { 1395 if in == nil { 1396 return nil 1397 } 1398 out := new(EnvVarSource) 1399 in.DeepCopyInto(out) 1400 return out 1401} 1402 1403// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1404func (in *Event) DeepCopyInto(out *Event) { 1405 *out = *in 1406 out.TypeMeta = in.TypeMeta 1407 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 1408 out.InvolvedObject = in.InvolvedObject 1409 out.Source = in.Source 1410 in.FirstTimestamp.DeepCopyInto(&out.FirstTimestamp) 1411 in.LastTimestamp.DeepCopyInto(&out.LastTimestamp) 1412 in.EventTime.DeepCopyInto(&out.EventTime) 1413 if in.Series != nil { 1414 in, out := &in.Series, &out.Series 1415 if *in == nil { 1416 *out = nil 1417 } else { 1418 *out = new(EventSeries) 1419 (*in).DeepCopyInto(*out) 1420 } 1421 } 1422 if in.Related != nil { 1423 in, out := &in.Related, &out.Related 1424 if *in == nil { 1425 *out = nil 1426 } else { 1427 *out = new(ObjectReference) 1428 **out = **in 1429 } 1430 } 1431 return 1432} 1433 1434// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event. 1435func (in *Event) DeepCopy() *Event { 1436 if in == nil { 1437 return nil 1438 } 1439 out := new(Event) 1440 in.DeepCopyInto(out) 1441 return out 1442} 1443 1444// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1445func (in *Event) DeepCopyObject() runtime.Object { 1446 if c := in.DeepCopy(); c != nil { 1447 return c 1448 } 1449 return nil 1450} 1451 1452// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1453func (in *EventList) DeepCopyInto(out *EventList) { 1454 *out = *in 1455 out.TypeMeta = in.TypeMeta 1456 out.ListMeta = in.ListMeta 1457 if in.Items != nil { 1458 in, out := &in.Items, &out.Items 1459 *out = make([]Event, len(*in)) 1460 for i := range *in { 1461 (*in)[i].DeepCopyInto(&(*out)[i]) 1462 } 1463 } 1464 return 1465} 1466 1467// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList. 1468func (in *EventList) DeepCopy() *EventList { 1469 if in == nil { 1470 return nil 1471 } 1472 out := new(EventList) 1473 in.DeepCopyInto(out) 1474 return out 1475} 1476 1477// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1478func (in *EventList) DeepCopyObject() runtime.Object { 1479 if c := in.DeepCopy(); c != nil { 1480 return c 1481 } 1482 return nil 1483} 1484 1485// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1486func (in *EventSeries) DeepCopyInto(out *EventSeries) { 1487 *out = *in 1488 in.LastObservedTime.DeepCopyInto(&out.LastObservedTime) 1489 return 1490} 1491 1492// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSeries. 1493func (in *EventSeries) DeepCopy() *EventSeries { 1494 if in == nil { 1495 return nil 1496 } 1497 out := new(EventSeries) 1498 in.DeepCopyInto(out) 1499 return out 1500} 1501 1502// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1503func (in *EventSource) DeepCopyInto(out *EventSource) { 1504 *out = *in 1505 return 1506} 1507 1508// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSource. 1509func (in *EventSource) DeepCopy() *EventSource { 1510 if in == nil { 1511 return nil 1512 } 1513 out := new(EventSource) 1514 in.DeepCopyInto(out) 1515 return out 1516} 1517 1518// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1519func (in *ExecAction) DeepCopyInto(out *ExecAction) { 1520 *out = *in 1521 if in.Command != nil { 1522 in, out := &in.Command, &out.Command 1523 *out = make([]string, len(*in)) 1524 copy(*out, *in) 1525 } 1526 return 1527} 1528 1529// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction. 1530func (in *ExecAction) DeepCopy() *ExecAction { 1531 if in == nil { 1532 return nil 1533 } 1534 out := new(ExecAction) 1535 in.DeepCopyInto(out) 1536 return out 1537} 1538 1539// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1540func (in *FCVolumeSource) DeepCopyInto(out *FCVolumeSource) { 1541 *out = *in 1542 if in.TargetWWNs != nil { 1543 in, out := &in.TargetWWNs, &out.TargetWWNs 1544 *out = make([]string, len(*in)) 1545 copy(*out, *in) 1546 } 1547 if in.Lun != nil { 1548 in, out := &in.Lun, &out.Lun 1549 if *in == nil { 1550 *out = nil 1551 } else { 1552 *out = new(int32) 1553 **out = **in 1554 } 1555 } 1556 if in.WWIDs != nil { 1557 in, out := &in.WWIDs, &out.WWIDs 1558 *out = make([]string, len(*in)) 1559 copy(*out, *in) 1560 } 1561 return 1562} 1563 1564// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FCVolumeSource. 1565func (in *FCVolumeSource) DeepCopy() *FCVolumeSource { 1566 if in == nil { 1567 return nil 1568 } 1569 out := new(FCVolumeSource) 1570 in.DeepCopyInto(out) 1571 return out 1572} 1573 1574// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1575func (in *FlexPersistentVolumeSource) DeepCopyInto(out *FlexPersistentVolumeSource) { 1576 *out = *in 1577 if in.SecretRef != nil { 1578 in, out := &in.SecretRef, &out.SecretRef 1579 if *in == nil { 1580 *out = nil 1581 } else { 1582 *out = new(SecretReference) 1583 **out = **in 1584 } 1585 } 1586 if in.Options != nil { 1587 in, out := &in.Options, &out.Options 1588 *out = make(map[string]string, len(*in)) 1589 for key, val := range *in { 1590 (*out)[key] = val 1591 } 1592 } 1593 return 1594} 1595 1596// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexPersistentVolumeSource. 1597func (in *FlexPersistentVolumeSource) DeepCopy() *FlexPersistentVolumeSource { 1598 if in == nil { 1599 return nil 1600 } 1601 out := new(FlexPersistentVolumeSource) 1602 in.DeepCopyInto(out) 1603 return out 1604} 1605 1606// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1607func (in *FlexVolumeSource) DeepCopyInto(out *FlexVolumeSource) { 1608 *out = *in 1609 if in.SecretRef != nil { 1610 in, out := &in.SecretRef, &out.SecretRef 1611 if *in == nil { 1612 *out = nil 1613 } else { 1614 *out = new(LocalObjectReference) 1615 **out = **in 1616 } 1617 } 1618 if in.Options != nil { 1619 in, out := &in.Options, &out.Options 1620 *out = make(map[string]string, len(*in)) 1621 for key, val := range *in { 1622 (*out)[key] = val 1623 } 1624 } 1625 return 1626} 1627 1628// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexVolumeSource. 1629func (in *FlexVolumeSource) DeepCopy() *FlexVolumeSource { 1630 if in == nil { 1631 return nil 1632 } 1633 out := new(FlexVolumeSource) 1634 in.DeepCopyInto(out) 1635 return out 1636} 1637 1638// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1639func (in *FlockerVolumeSource) DeepCopyInto(out *FlockerVolumeSource) { 1640 *out = *in 1641 return 1642} 1643 1644// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlockerVolumeSource. 1645func (in *FlockerVolumeSource) DeepCopy() *FlockerVolumeSource { 1646 if in == nil { 1647 return nil 1648 } 1649 out := new(FlockerVolumeSource) 1650 in.DeepCopyInto(out) 1651 return out 1652} 1653 1654// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1655func (in *GCEPersistentDiskVolumeSource) DeepCopyInto(out *GCEPersistentDiskVolumeSource) { 1656 *out = *in 1657 return 1658} 1659 1660// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCEPersistentDiskVolumeSource. 1661func (in *GCEPersistentDiskVolumeSource) DeepCopy() *GCEPersistentDiskVolumeSource { 1662 if in == nil { 1663 return nil 1664 } 1665 out := new(GCEPersistentDiskVolumeSource) 1666 in.DeepCopyInto(out) 1667 return out 1668} 1669 1670// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1671func (in *GitRepoVolumeSource) DeepCopyInto(out *GitRepoVolumeSource) { 1672 *out = *in 1673 return 1674} 1675 1676// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoVolumeSource. 1677func (in *GitRepoVolumeSource) DeepCopy() *GitRepoVolumeSource { 1678 if in == nil { 1679 return nil 1680 } 1681 out := new(GitRepoVolumeSource) 1682 in.DeepCopyInto(out) 1683 return out 1684} 1685 1686// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1687func (in *GlusterfsVolumeSource) DeepCopyInto(out *GlusterfsVolumeSource) { 1688 *out = *in 1689 return 1690} 1691 1692// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlusterfsVolumeSource. 1693func (in *GlusterfsVolumeSource) DeepCopy() *GlusterfsVolumeSource { 1694 if in == nil { 1695 return nil 1696 } 1697 out := new(GlusterfsVolumeSource) 1698 in.DeepCopyInto(out) 1699 return out 1700} 1701 1702// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1703func (in *HTTPGetAction) DeepCopyInto(out *HTTPGetAction) { 1704 *out = *in 1705 out.Port = in.Port 1706 if in.HTTPHeaders != nil { 1707 in, out := &in.HTTPHeaders, &out.HTTPHeaders 1708 *out = make([]HTTPHeader, len(*in)) 1709 copy(*out, *in) 1710 } 1711 return 1712} 1713 1714// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPGetAction. 1715func (in *HTTPGetAction) DeepCopy() *HTTPGetAction { 1716 if in == nil { 1717 return nil 1718 } 1719 out := new(HTTPGetAction) 1720 in.DeepCopyInto(out) 1721 return out 1722} 1723 1724// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1725func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader) { 1726 *out = *in 1727 return 1728} 1729 1730// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader. 1731func (in *HTTPHeader) DeepCopy() *HTTPHeader { 1732 if in == nil { 1733 return nil 1734 } 1735 out := new(HTTPHeader) 1736 in.DeepCopyInto(out) 1737 return out 1738} 1739 1740// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1741func (in *Handler) DeepCopyInto(out *Handler) { 1742 *out = *in 1743 if in.Exec != nil { 1744 in, out := &in.Exec, &out.Exec 1745 if *in == nil { 1746 *out = nil 1747 } else { 1748 *out = new(ExecAction) 1749 (*in).DeepCopyInto(*out) 1750 } 1751 } 1752 if in.HTTPGet != nil { 1753 in, out := &in.HTTPGet, &out.HTTPGet 1754 if *in == nil { 1755 *out = nil 1756 } else { 1757 *out = new(HTTPGetAction) 1758 (*in).DeepCopyInto(*out) 1759 } 1760 } 1761 if in.TCPSocket != nil { 1762 in, out := &in.TCPSocket, &out.TCPSocket 1763 if *in == nil { 1764 *out = nil 1765 } else { 1766 *out = new(TCPSocketAction) 1767 **out = **in 1768 } 1769 } 1770 return 1771} 1772 1773// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Handler. 1774func (in *Handler) DeepCopy() *Handler { 1775 if in == nil { 1776 return nil 1777 } 1778 out := new(Handler) 1779 in.DeepCopyInto(out) 1780 return out 1781} 1782 1783// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1784func (in *HostAlias) DeepCopyInto(out *HostAlias) { 1785 *out = *in 1786 if in.Hostnames != nil { 1787 in, out := &in.Hostnames, &out.Hostnames 1788 *out = make([]string, len(*in)) 1789 copy(*out, *in) 1790 } 1791 return 1792} 1793 1794// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAlias. 1795func (in *HostAlias) DeepCopy() *HostAlias { 1796 if in == nil { 1797 return nil 1798 } 1799 out := new(HostAlias) 1800 in.DeepCopyInto(out) 1801 return out 1802} 1803 1804// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1805func (in *HostPathVolumeSource) DeepCopyInto(out *HostPathVolumeSource) { 1806 *out = *in 1807 if in.Type != nil { 1808 in, out := &in.Type, &out.Type 1809 if *in == nil { 1810 *out = nil 1811 } else { 1812 *out = new(HostPathType) 1813 **out = **in 1814 } 1815 } 1816 return 1817} 1818 1819// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathVolumeSource. 1820func (in *HostPathVolumeSource) DeepCopy() *HostPathVolumeSource { 1821 if in == nil { 1822 return nil 1823 } 1824 out := new(HostPathVolumeSource) 1825 in.DeepCopyInto(out) 1826 return out 1827} 1828 1829// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1830func (in *ISCSIPersistentVolumeSource) DeepCopyInto(out *ISCSIPersistentVolumeSource) { 1831 *out = *in 1832 if in.Portals != nil { 1833 in, out := &in.Portals, &out.Portals 1834 *out = make([]string, len(*in)) 1835 copy(*out, *in) 1836 } 1837 if in.SecretRef != nil { 1838 in, out := &in.SecretRef, &out.SecretRef 1839 if *in == nil { 1840 *out = nil 1841 } else { 1842 *out = new(SecretReference) 1843 **out = **in 1844 } 1845 } 1846 if in.InitiatorName != nil { 1847 in, out := &in.InitiatorName, &out.InitiatorName 1848 if *in == nil { 1849 *out = nil 1850 } else { 1851 *out = new(string) 1852 **out = **in 1853 } 1854 } 1855 return 1856} 1857 1858// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIPersistentVolumeSource. 1859func (in *ISCSIPersistentVolumeSource) DeepCopy() *ISCSIPersistentVolumeSource { 1860 if in == nil { 1861 return nil 1862 } 1863 out := new(ISCSIPersistentVolumeSource) 1864 in.DeepCopyInto(out) 1865 return out 1866} 1867 1868// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1869func (in *ISCSIVolumeSource) DeepCopyInto(out *ISCSIVolumeSource) { 1870 *out = *in 1871 if in.Portals != nil { 1872 in, out := &in.Portals, &out.Portals 1873 *out = make([]string, len(*in)) 1874 copy(*out, *in) 1875 } 1876 if in.SecretRef != nil { 1877 in, out := &in.SecretRef, &out.SecretRef 1878 if *in == nil { 1879 *out = nil 1880 } else { 1881 *out = new(LocalObjectReference) 1882 **out = **in 1883 } 1884 } 1885 if in.InitiatorName != nil { 1886 in, out := &in.InitiatorName, &out.InitiatorName 1887 if *in == nil { 1888 *out = nil 1889 } else { 1890 *out = new(string) 1891 **out = **in 1892 } 1893 } 1894 return 1895} 1896 1897// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIVolumeSource. 1898func (in *ISCSIVolumeSource) DeepCopy() *ISCSIVolumeSource { 1899 if in == nil { 1900 return nil 1901 } 1902 out := new(ISCSIVolumeSource) 1903 in.DeepCopyInto(out) 1904 return out 1905} 1906 1907// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1908func (in *KeyToPath) DeepCopyInto(out *KeyToPath) { 1909 *out = *in 1910 if in.Mode != nil { 1911 in, out := &in.Mode, &out.Mode 1912 if *in == nil { 1913 *out = nil 1914 } else { 1915 *out = new(int32) 1916 **out = **in 1917 } 1918 } 1919 return 1920} 1921 1922// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyToPath. 1923func (in *KeyToPath) DeepCopy() *KeyToPath { 1924 if in == nil { 1925 return nil 1926 } 1927 out := new(KeyToPath) 1928 in.DeepCopyInto(out) 1929 return out 1930} 1931 1932// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1933func (in *Lifecycle) DeepCopyInto(out *Lifecycle) { 1934 *out = *in 1935 if in.PostStart != nil { 1936 in, out := &in.PostStart, &out.PostStart 1937 if *in == nil { 1938 *out = nil 1939 } else { 1940 *out = new(Handler) 1941 (*in).DeepCopyInto(*out) 1942 } 1943 } 1944 if in.PreStop != nil { 1945 in, out := &in.PreStop, &out.PreStop 1946 if *in == nil { 1947 *out = nil 1948 } else { 1949 *out = new(Handler) 1950 (*in).DeepCopyInto(*out) 1951 } 1952 } 1953 return 1954} 1955 1956// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle. 1957func (in *Lifecycle) DeepCopy() *Lifecycle { 1958 if in == nil { 1959 return nil 1960 } 1961 out := new(Lifecycle) 1962 in.DeepCopyInto(out) 1963 return out 1964} 1965 1966// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1967func (in *LimitRange) DeepCopyInto(out *LimitRange) { 1968 *out = *in 1969 out.TypeMeta = in.TypeMeta 1970 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 1971 in.Spec.DeepCopyInto(&out.Spec) 1972 return 1973} 1974 1975// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRange. 1976func (in *LimitRange) DeepCopy() *LimitRange { 1977 if in == nil { 1978 return nil 1979 } 1980 out := new(LimitRange) 1981 in.DeepCopyInto(out) 1982 return out 1983} 1984 1985// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 1986func (in *LimitRange) DeepCopyObject() runtime.Object { 1987 if c := in.DeepCopy(); c != nil { 1988 return c 1989 } 1990 return nil 1991} 1992 1993// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 1994func (in *LimitRangeItem) DeepCopyInto(out *LimitRangeItem) { 1995 *out = *in 1996 if in.Max != nil { 1997 in, out := &in.Max, &out.Max 1998 *out = make(ResourceList, len(*in)) 1999 for key, val := range *in { 2000 (*out)[key] = val.DeepCopy() 2001 } 2002 } 2003 if in.Min != nil { 2004 in, out := &in.Min, &out.Min 2005 *out = make(ResourceList, len(*in)) 2006 for key, val := range *in { 2007 (*out)[key] = val.DeepCopy() 2008 } 2009 } 2010 if in.Default != nil { 2011 in, out := &in.Default, &out.Default 2012 *out = make(ResourceList, len(*in)) 2013 for key, val := range *in { 2014 (*out)[key] = val.DeepCopy() 2015 } 2016 } 2017 if in.DefaultRequest != nil { 2018 in, out := &in.DefaultRequest, &out.DefaultRequest 2019 *out = make(ResourceList, len(*in)) 2020 for key, val := range *in { 2021 (*out)[key] = val.DeepCopy() 2022 } 2023 } 2024 if in.MaxLimitRequestRatio != nil { 2025 in, out := &in.MaxLimitRequestRatio, &out.MaxLimitRequestRatio 2026 *out = make(ResourceList, len(*in)) 2027 for key, val := range *in { 2028 (*out)[key] = val.DeepCopy() 2029 } 2030 } 2031 return 2032} 2033 2034// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeItem. 2035func (in *LimitRangeItem) DeepCopy() *LimitRangeItem { 2036 if in == nil { 2037 return nil 2038 } 2039 out := new(LimitRangeItem) 2040 in.DeepCopyInto(out) 2041 return out 2042} 2043 2044// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2045func (in *LimitRangeList) DeepCopyInto(out *LimitRangeList) { 2046 *out = *in 2047 out.TypeMeta = in.TypeMeta 2048 out.ListMeta = in.ListMeta 2049 if in.Items != nil { 2050 in, out := &in.Items, &out.Items 2051 *out = make([]LimitRange, len(*in)) 2052 for i := range *in { 2053 (*in)[i].DeepCopyInto(&(*out)[i]) 2054 } 2055 } 2056 return 2057} 2058 2059// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeList. 2060func (in *LimitRangeList) DeepCopy() *LimitRangeList { 2061 if in == nil { 2062 return nil 2063 } 2064 out := new(LimitRangeList) 2065 in.DeepCopyInto(out) 2066 return out 2067} 2068 2069// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 2070func (in *LimitRangeList) DeepCopyObject() runtime.Object { 2071 if c := in.DeepCopy(); c != nil { 2072 return c 2073 } 2074 return nil 2075} 2076 2077// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2078func (in *LimitRangeSpec) DeepCopyInto(out *LimitRangeSpec) { 2079 *out = *in 2080 if in.Limits != nil { 2081 in, out := &in.Limits, &out.Limits 2082 *out = make([]LimitRangeItem, len(*in)) 2083 for i := range *in { 2084 (*in)[i].DeepCopyInto(&(*out)[i]) 2085 } 2086 } 2087 return 2088} 2089 2090// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeSpec. 2091func (in *LimitRangeSpec) DeepCopy() *LimitRangeSpec { 2092 if in == nil { 2093 return nil 2094 } 2095 out := new(LimitRangeSpec) 2096 in.DeepCopyInto(out) 2097 return out 2098} 2099 2100// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2101func (in *List) DeepCopyInto(out *List) { 2102 *out = *in 2103 out.TypeMeta = in.TypeMeta 2104 out.ListMeta = in.ListMeta 2105 if in.Items != nil { 2106 in, out := &in.Items, &out.Items 2107 *out = make([]runtime.RawExtension, len(*in)) 2108 for i := range *in { 2109 (*in)[i].DeepCopyInto(&(*out)[i]) 2110 } 2111 } 2112 return 2113} 2114 2115// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List. 2116func (in *List) DeepCopy() *List { 2117 if in == nil { 2118 return nil 2119 } 2120 out := new(List) 2121 in.DeepCopyInto(out) 2122 return out 2123} 2124 2125// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 2126func (in *List) DeepCopyObject() runtime.Object { 2127 if c := in.DeepCopy(); c != nil { 2128 return c 2129 } 2130 return nil 2131} 2132 2133// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2134func (in *LoadBalancerIngress) DeepCopyInto(out *LoadBalancerIngress) { 2135 *out = *in 2136 return 2137} 2138 2139// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerIngress. 2140func (in *LoadBalancerIngress) DeepCopy() *LoadBalancerIngress { 2141 if in == nil { 2142 return nil 2143 } 2144 out := new(LoadBalancerIngress) 2145 in.DeepCopyInto(out) 2146 return out 2147} 2148 2149// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2150func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus) { 2151 *out = *in 2152 if in.Ingress != nil { 2153 in, out := &in.Ingress, &out.Ingress 2154 *out = make([]LoadBalancerIngress, len(*in)) 2155 copy(*out, *in) 2156 } 2157 return 2158} 2159 2160// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus. 2161func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus { 2162 if in == nil { 2163 return nil 2164 } 2165 out := new(LoadBalancerStatus) 2166 in.DeepCopyInto(out) 2167 return out 2168} 2169 2170// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2171func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference) { 2172 *out = *in 2173 return 2174} 2175 2176// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference. 2177func (in *LocalObjectReference) DeepCopy() *LocalObjectReference { 2178 if in == nil { 2179 return nil 2180 } 2181 out := new(LocalObjectReference) 2182 in.DeepCopyInto(out) 2183 return out 2184} 2185 2186// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2187func (in *LocalVolumeSource) DeepCopyInto(out *LocalVolumeSource) { 2188 *out = *in 2189 return 2190} 2191 2192// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalVolumeSource. 2193func (in *LocalVolumeSource) DeepCopy() *LocalVolumeSource { 2194 if in == nil { 2195 return nil 2196 } 2197 out := new(LocalVolumeSource) 2198 in.DeepCopyInto(out) 2199 return out 2200} 2201 2202// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2203func (in *NFSVolumeSource) DeepCopyInto(out *NFSVolumeSource) { 2204 *out = *in 2205 return 2206} 2207 2208// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSVolumeSource. 2209func (in *NFSVolumeSource) DeepCopy() *NFSVolumeSource { 2210 if in == nil { 2211 return nil 2212 } 2213 out := new(NFSVolumeSource) 2214 in.DeepCopyInto(out) 2215 return out 2216} 2217 2218// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2219func (in *Namespace) DeepCopyInto(out *Namespace) { 2220 *out = *in 2221 out.TypeMeta = in.TypeMeta 2222 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 2223 in.Spec.DeepCopyInto(&out.Spec) 2224 out.Status = in.Status 2225 return 2226} 2227 2228// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. 2229func (in *Namespace) DeepCopy() *Namespace { 2230 if in == nil { 2231 return nil 2232 } 2233 out := new(Namespace) 2234 in.DeepCopyInto(out) 2235 return out 2236} 2237 2238// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 2239func (in *Namespace) DeepCopyObject() runtime.Object { 2240 if c := in.DeepCopy(); c != nil { 2241 return c 2242 } 2243 return nil 2244} 2245 2246// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2247func (in *NamespaceList) DeepCopyInto(out *NamespaceList) { 2248 *out = *in 2249 out.TypeMeta = in.TypeMeta 2250 out.ListMeta = in.ListMeta 2251 if in.Items != nil { 2252 in, out := &in.Items, &out.Items 2253 *out = make([]Namespace, len(*in)) 2254 for i := range *in { 2255 (*in)[i].DeepCopyInto(&(*out)[i]) 2256 } 2257 } 2258 return 2259} 2260 2261// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList. 2262func (in *NamespaceList) DeepCopy() *NamespaceList { 2263 if in == nil { 2264 return nil 2265 } 2266 out := new(NamespaceList) 2267 in.DeepCopyInto(out) 2268 return out 2269} 2270 2271// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 2272func (in *NamespaceList) DeepCopyObject() runtime.Object { 2273 if c := in.DeepCopy(); c != nil { 2274 return c 2275 } 2276 return nil 2277} 2278 2279// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2280func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec) { 2281 *out = *in 2282 if in.Finalizers != nil { 2283 in, out := &in.Finalizers, &out.Finalizers 2284 *out = make([]FinalizerName, len(*in)) 2285 copy(*out, *in) 2286 } 2287 return 2288} 2289 2290// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec. 2291func (in *NamespaceSpec) DeepCopy() *NamespaceSpec { 2292 if in == nil { 2293 return nil 2294 } 2295 out := new(NamespaceSpec) 2296 in.DeepCopyInto(out) 2297 return out 2298} 2299 2300// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2301func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus) { 2302 *out = *in 2303 return 2304} 2305 2306// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus. 2307func (in *NamespaceStatus) DeepCopy() *NamespaceStatus { 2308 if in == nil { 2309 return nil 2310 } 2311 out := new(NamespaceStatus) 2312 in.DeepCopyInto(out) 2313 return out 2314} 2315 2316// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2317func (in *Node) DeepCopyInto(out *Node) { 2318 *out = *in 2319 out.TypeMeta = in.TypeMeta 2320 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 2321 in.Spec.DeepCopyInto(&out.Spec) 2322 in.Status.DeepCopyInto(&out.Status) 2323 return 2324} 2325 2326// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node. 2327func (in *Node) DeepCopy() *Node { 2328 if in == nil { 2329 return nil 2330 } 2331 out := new(Node) 2332 in.DeepCopyInto(out) 2333 return out 2334} 2335 2336// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 2337func (in *Node) DeepCopyObject() runtime.Object { 2338 if c := in.DeepCopy(); c != nil { 2339 return c 2340 } 2341 return nil 2342} 2343 2344// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2345func (in *NodeAddress) DeepCopyInto(out *NodeAddress) { 2346 *out = *in 2347 return 2348} 2349 2350// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress. 2351func (in *NodeAddress) DeepCopy() *NodeAddress { 2352 if in == nil { 2353 return nil 2354 } 2355 out := new(NodeAddress) 2356 in.DeepCopyInto(out) 2357 return out 2358} 2359 2360// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2361func (in *NodeAffinity) DeepCopyInto(out *NodeAffinity) { 2362 *out = *in 2363 if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { 2364 in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution 2365 if *in == nil { 2366 *out = nil 2367 } else { 2368 *out = new(NodeSelector) 2369 (*in).DeepCopyInto(*out) 2370 } 2371 } 2372 if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { 2373 in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution 2374 *out = make([]PreferredSchedulingTerm, len(*in)) 2375 for i := range *in { 2376 (*in)[i].DeepCopyInto(&(*out)[i]) 2377 } 2378 } 2379 return 2380} 2381 2382// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAffinity. 2383func (in *NodeAffinity) DeepCopy() *NodeAffinity { 2384 if in == nil { 2385 return nil 2386 } 2387 out := new(NodeAffinity) 2388 in.DeepCopyInto(out) 2389 return out 2390} 2391 2392// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2393func (in *NodeCondition) DeepCopyInto(out *NodeCondition) { 2394 *out = *in 2395 in.LastHeartbeatTime.DeepCopyInto(&out.LastHeartbeatTime) 2396 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 2397 return 2398} 2399 2400// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCondition. 2401func (in *NodeCondition) DeepCopy() *NodeCondition { 2402 if in == nil { 2403 return nil 2404 } 2405 out := new(NodeCondition) 2406 in.DeepCopyInto(out) 2407 return out 2408} 2409 2410// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2411func (in *NodeConfigSource) DeepCopyInto(out *NodeConfigSource) { 2412 *out = *in 2413 if in.ConfigMap != nil { 2414 in, out := &in.ConfigMap, &out.ConfigMap 2415 if *in == nil { 2416 *out = nil 2417 } else { 2418 *out = new(ConfigMapNodeConfigSource) 2419 **out = **in 2420 } 2421 } 2422 return 2423} 2424 2425// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigSource. 2426func (in *NodeConfigSource) DeepCopy() *NodeConfigSource { 2427 if in == nil { 2428 return nil 2429 } 2430 out := new(NodeConfigSource) 2431 in.DeepCopyInto(out) 2432 return out 2433} 2434 2435// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2436func (in *NodeConfigStatus) DeepCopyInto(out *NodeConfigStatus) { 2437 *out = *in 2438 if in.Assigned != nil { 2439 in, out := &in.Assigned, &out.Assigned 2440 if *in == nil { 2441 *out = nil 2442 } else { 2443 *out = new(NodeConfigSource) 2444 (*in).DeepCopyInto(*out) 2445 } 2446 } 2447 if in.Active != nil { 2448 in, out := &in.Active, &out.Active 2449 if *in == nil { 2450 *out = nil 2451 } else { 2452 *out = new(NodeConfigSource) 2453 (*in).DeepCopyInto(*out) 2454 } 2455 } 2456 if in.LastKnownGood != nil { 2457 in, out := &in.LastKnownGood, &out.LastKnownGood 2458 if *in == nil { 2459 *out = nil 2460 } else { 2461 *out = new(NodeConfigSource) 2462 (*in).DeepCopyInto(*out) 2463 } 2464 } 2465 return 2466} 2467 2468// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigStatus. 2469func (in *NodeConfigStatus) DeepCopy() *NodeConfigStatus { 2470 if in == nil { 2471 return nil 2472 } 2473 out := new(NodeConfigStatus) 2474 in.DeepCopyInto(out) 2475 return out 2476} 2477 2478// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2479func (in *NodeDaemonEndpoints) DeepCopyInto(out *NodeDaemonEndpoints) { 2480 *out = *in 2481 out.KubeletEndpoint = in.KubeletEndpoint 2482 return 2483} 2484 2485// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeDaemonEndpoints. 2486func (in *NodeDaemonEndpoints) DeepCopy() *NodeDaemonEndpoints { 2487 if in == nil { 2488 return nil 2489 } 2490 out := new(NodeDaemonEndpoints) 2491 in.DeepCopyInto(out) 2492 return out 2493} 2494 2495// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2496func (in *NodeList) DeepCopyInto(out *NodeList) { 2497 *out = *in 2498 out.TypeMeta = in.TypeMeta 2499 out.ListMeta = in.ListMeta 2500 if in.Items != nil { 2501 in, out := &in.Items, &out.Items 2502 *out = make([]Node, len(*in)) 2503 for i := range *in { 2504 (*in)[i].DeepCopyInto(&(*out)[i]) 2505 } 2506 } 2507 return 2508} 2509 2510// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList. 2511func (in *NodeList) DeepCopy() *NodeList { 2512 if in == nil { 2513 return nil 2514 } 2515 out := new(NodeList) 2516 in.DeepCopyInto(out) 2517 return out 2518} 2519 2520// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 2521func (in *NodeList) DeepCopyObject() runtime.Object { 2522 if c := in.DeepCopy(); c != nil { 2523 return c 2524 } 2525 return nil 2526} 2527 2528// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2529func (in *NodeProxyOptions) DeepCopyInto(out *NodeProxyOptions) { 2530 *out = *in 2531 out.TypeMeta = in.TypeMeta 2532 return 2533} 2534 2535// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeProxyOptions. 2536func (in *NodeProxyOptions) DeepCopy() *NodeProxyOptions { 2537 if in == nil { 2538 return nil 2539 } 2540 out := new(NodeProxyOptions) 2541 in.DeepCopyInto(out) 2542 return out 2543} 2544 2545// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 2546func (in *NodeProxyOptions) DeepCopyObject() runtime.Object { 2547 if c := in.DeepCopy(); c != nil { 2548 return c 2549 } 2550 return nil 2551} 2552 2553// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2554func (in *NodeResources) DeepCopyInto(out *NodeResources) { 2555 *out = *in 2556 if in.Capacity != nil { 2557 in, out := &in.Capacity, &out.Capacity 2558 *out = make(ResourceList, len(*in)) 2559 for key, val := range *in { 2560 (*out)[key] = val.DeepCopy() 2561 } 2562 } 2563 return 2564} 2565 2566// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResources. 2567func (in *NodeResources) DeepCopy() *NodeResources { 2568 if in == nil { 2569 return nil 2570 } 2571 out := new(NodeResources) 2572 in.DeepCopyInto(out) 2573 return out 2574} 2575 2576// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2577func (in *NodeSelector) DeepCopyInto(out *NodeSelector) { 2578 *out = *in 2579 if in.NodeSelectorTerms != nil { 2580 in, out := &in.NodeSelectorTerms, &out.NodeSelectorTerms 2581 *out = make([]NodeSelectorTerm, len(*in)) 2582 for i := range *in { 2583 (*in)[i].DeepCopyInto(&(*out)[i]) 2584 } 2585 } 2586 return 2587} 2588 2589// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelector. 2590func (in *NodeSelector) DeepCopy() *NodeSelector { 2591 if in == nil { 2592 return nil 2593 } 2594 out := new(NodeSelector) 2595 in.DeepCopyInto(out) 2596 return out 2597} 2598 2599// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2600func (in *NodeSelectorRequirement) DeepCopyInto(out *NodeSelectorRequirement) { 2601 *out = *in 2602 if in.Values != nil { 2603 in, out := &in.Values, &out.Values 2604 *out = make([]string, len(*in)) 2605 copy(*out, *in) 2606 } 2607 return 2608} 2609 2610// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorRequirement. 2611func (in *NodeSelectorRequirement) DeepCopy() *NodeSelectorRequirement { 2612 if in == nil { 2613 return nil 2614 } 2615 out := new(NodeSelectorRequirement) 2616 in.DeepCopyInto(out) 2617 return out 2618} 2619 2620// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2621func (in *NodeSelectorTerm) DeepCopyInto(out *NodeSelectorTerm) { 2622 *out = *in 2623 if in.MatchExpressions != nil { 2624 in, out := &in.MatchExpressions, &out.MatchExpressions 2625 *out = make([]NodeSelectorRequirement, len(*in)) 2626 for i := range *in { 2627 (*in)[i].DeepCopyInto(&(*out)[i]) 2628 } 2629 } 2630 if in.MatchFields != nil { 2631 in, out := &in.MatchFields, &out.MatchFields 2632 *out = make([]NodeSelectorRequirement, len(*in)) 2633 for i := range *in { 2634 (*in)[i].DeepCopyInto(&(*out)[i]) 2635 } 2636 } 2637 return 2638} 2639 2640// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorTerm. 2641func (in *NodeSelectorTerm) DeepCopy() *NodeSelectorTerm { 2642 if in == nil { 2643 return nil 2644 } 2645 out := new(NodeSelectorTerm) 2646 in.DeepCopyInto(out) 2647 return out 2648} 2649 2650// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2651func (in *NodeSpec) DeepCopyInto(out *NodeSpec) { 2652 *out = *in 2653 if in.Taints != nil { 2654 in, out := &in.Taints, &out.Taints 2655 *out = make([]Taint, len(*in)) 2656 for i := range *in { 2657 (*in)[i].DeepCopyInto(&(*out)[i]) 2658 } 2659 } 2660 if in.ConfigSource != nil { 2661 in, out := &in.ConfigSource, &out.ConfigSource 2662 if *in == nil { 2663 *out = nil 2664 } else { 2665 *out = new(NodeConfigSource) 2666 (*in).DeepCopyInto(*out) 2667 } 2668 } 2669 return 2670} 2671 2672// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec. 2673func (in *NodeSpec) DeepCopy() *NodeSpec { 2674 if in == nil { 2675 return nil 2676 } 2677 out := new(NodeSpec) 2678 in.DeepCopyInto(out) 2679 return out 2680} 2681 2682// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2683func (in *NodeStatus) DeepCopyInto(out *NodeStatus) { 2684 *out = *in 2685 if in.Capacity != nil { 2686 in, out := &in.Capacity, &out.Capacity 2687 *out = make(ResourceList, len(*in)) 2688 for key, val := range *in { 2689 (*out)[key] = val.DeepCopy() 2690 } 2691 } 2692 if in.Allocatable != nil { 2693 in, out := &in.Allocatable, &out.Allocatable 2694 *out = make(ResourceList, len(*in)) 2695 for key, val := range *in { 2696 (*out)[key] = val.DeepCopy() 2697 } 2698 } 2699 if in.Conditions != nil { 2700 in, out := &in.Conditions, &out.Conditions 2701 *out = make([]NodeCondition, len(*in)) 2702 for i := range *in { 2703 (*in)[i].DeepCopyInto(&(*out)[i]) 2704 } 2705 } 2706 if in.Addresses != nil { 2707 in, out := &in.Addresses, &out.Addresses 2708 *out = make([]NodeAddress, len(*in)) 2709 copy(*out, *in) 2710 } 2711 out.DaemonEndpoints = in.DaemonEndpoints 2712 out.NodeInfo = in.NodeInfo 2713 if in.Images != nil { 2714 in, out := &in.Images, &out.Images 2715 *out = make([]ContainerImage, len(*in)) 2716 for i := range *in { 2717 (*in)[i].DeepCopyInto(&(*out)[i]) 2718 } 2719 } 2720 if in.VolumesInUse != nil { 2721 in, out := &in.VolumesInUse, &out.VolumesInUse 2722 *out = make([]UniqueVolumeName, len(*in)) 2723 copy(*out, *in) 2724 } 2725 if in.VolumesAttached != nil { 2726 in, out := &in.VolumesAttached, &out.VolumesAttached 2727 *out = make([]AttachedVolume, len(*in)) 2728 copy(*out, *in) 2729 } 2730 if in.Config != nil { 2731 in, out := &in.Config, &out.Config 2732 if *in == nil { 2733 *out = nil 2734 } else { 2735 *out = new(NodeConfigStatus) 2736 (*in).DeepCopyInto(*out) 2737 } 2738 } 2739 return 2740} 2741 2742// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus. 2743func (in *NodeStatus) DeepCopy() *NodeStatus { 2744 if in == nil { 2745 return nil 2746 } 2747 out := new(NodeStatus) 2748 in.DeepCopyInto(out) 2749 return out 2750} 2751 2752// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2753func (in *NodeSystemInfo) DeepCopyInto(out *NodeSystemInfo) { 2754 *out = *in 2755 return 2756} 2757 2758// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSystemInfo. 2759func (in *NodeSystemInfo) DeepCopy() *NodeSystemInfo { 2760 if in == nil { 2761 return nil 2762 } 2763 out := new(NodeSystemInfo) 2764 in.DeepCopyInto(out) 2765 return out 2766} 2767 2768// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2769func (in *ObjectFieldSelector) DeepCopyInto(out *ObjectFieldSelector) { 2770 *out = *in 2771 return 2772} 2773 2774// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectFieldSelector. 2775func (in *ObjectFieldSelector) DeepCopy() *ObjectFieldSelector { 2776 if in == nil { 2777 return nil 2778 } 2779 out := new(ObjectFieldSelector) 2780 in.DeepCopyInto(out) 2781 return out 2782} 2783 2784// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2785func (in *ObjectReference) DeepCopyInto(out *ObjectReference) { 2786 *out = *in 2787 return 2788} 2789 2790// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. 2791func (in *ObjectReference) DeepCopy() *ObjectReference { 2792 if in == nil { 2793 return nil 2794 } 2795 out := new(ObjectReference) 2796 in.DeepCopyInto(out) 2797 return out 2798} 2799 2800// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 2801func (in *ObjectReference) DeepCopyObject() runtime.Object { 2802 if c := in.DeepCopy(); c != nil { 2803 return c 2804 } 2805 return nil 2806} 2807 2808// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2809func (in *PersistentVolume) DeepCopyInto(out *PersistentVolume) { 2810 *out = *in 2811 out.TypeMeta = in.TypeMeta 2812 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 2813 in.Spec.DeepCopyInto(&out.Spec) 2814 out.Status = in.Status 2815 return 2816} 2817 2818// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolume. 2819func (in *PersistentVolume) DeepCopy() *PersistentVolume { 2820 if in == nil { 2821 return nil 2822 } 2823 out := new(PersistentVolume) 2824 in.DeepCopyInto(out) 2825 return out 2826} 2827 2828// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 2829func (in *PersistentVolume) DeepCopyObject() runtime.Object { 2830 if c := in.DeepCopy(); c != nil { 2831 return c 2832 } 2833 return nil 2834} 2835 2836// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2837func (in *PersistentVolumeClaim) DeepCopyInto(out *PersistentVolumeClaim) { 2838 *out = *in 2839 out.TypeMeta = in.TypeMeta 2840 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 2841 in.Spec.DeepCopyInto(&out.Spec) 2842 in.Status.DeepCopyInto(&out.Status) 2843 return 2844} 2845 2846// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaim. 2847func (in *PersistentVolumeClaim) DeepCopy() *PersistentVolumeClaim { 2848 if in == nil { 2849 return nil 2850 } 2851 out := new(PersistentVolumeClaim) 2852 in.DeepCopyInto(out) 2853 return out 2854} 2855 2856// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 2857func (in *PersistentVolumeClaim) DeepCopyObject() runtime.Object { 2858 if c := in.DeepCopy(); c != nil { 2859 return c 2860 } 2861 return nil 2862} 2863 2864// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2865func (in *PersistentVolumeClaimCondition) DeepCopyInto(out *PersistentVolumeClaimCondition) { 2866 *out = *in 2867 in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) 2868 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 2869 return 2870} 2871 2872// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimCondition. 2873func (in *PersistentVolumeClaimCondition) DeepCopy() *PersistentVolumeClaimCondition { 2874 if in == nil { 2875 return nil 2876 } 2877 out := new(PersistentVolumeClaimCondition) 2878 in.DeepCopyInto(out) 2879 return out 2880} 2881 2882// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2883func (in *PersistentVolumeClaimList) DeepCopyInto(out *PersistentVolumeClaimList) { 2884 *out = *in 2885 out.TypeMeta = in.TypeMeta 2886 out.ListMeta = in.ListMeta 2887 if in.Items != nil { 2888 in, out := &in.Items, &out.Items 2889 *out = make([]PersistentVolumeClaim, len(*in)) 2890 for i := range *in { 2891 (*in)[i].DeepCopyInto(&(*out)[i]) 2892 } 2893 } 2894 return 2895} 2896 2897// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimList. 2898func (in *PersistentVolumeClaimList) DeepCopy() *PersistentVolumeClaimList { 2899 if in == nil { 2900 return nil 2901 } 2902 out := new(PersistentVolumeClaimList) 2903 in.DeepCopyInto(out) 2904 return out 2905} 2906 2907// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 2908func (in *PersistentVolumeClaimList) DeepCopyObject() runtime.Object { 2909 if c := in.DeepCopy(); c != nil { 2910 return c 2911 } 2912 return nil 2913} 2914 2915// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2916func (in *PersistentVolumeClaimSpec) DeepCopyInto(out *PersistentVolumeClaimSpec) { 2917 *out = *in 2918 if in.AccessModes != nil { 2919 in, out := &in.AccessModes, &out.AccessModes 2920 *out = make([]PersistentVolumeAccessMode, len(*in)) 2921 copy(*out, *in) 2922 } 2923 if in.Selector != nil { 2924 in, out := &in.Selector, &out.Selector 2925 if *in == nil { 2926 *out = nil 2927 } else { 2928 *out = new(meta_v1.LabelSelector) 2929 (*in).DeepCopyInto(*out) 2930 } 2931 } 2932 in.Resources.DeepCopyInto(&out.Resources) 2933 if in.StorageClassName != nil { 2934 in, out := &in.StorageClassName, &out.StorageClassName 2935 if *in == nil { 2936 *out = nil 2937 } else { 2938 *out = new(string) 2939 **out = **in 2940 } 2941 } 2942 if in.VolumeMode != nil { 2943 in, out := &in.VolumeMode, &out.VolumeMode 2944 if *in == nil { 2945 *out = nil 2946 } else { 2947 *out = new(PersistentVolumeMode) 2948 **out = **in 2949 } 2950 } 2951 return 2952} 2953 2954// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimSpec. 2955func (in *PersistentVolumeClaimSpec) DeepCopy() *PersistentVolumeClaimSpec { 2956 if in == nil { 2957 return nil 2958 } 2959 out := new(PersistentVolumeClaimSpec) 2960 in.DeepCopyInto(out) 2961 return out 2962} 2963 2964// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 2965func (in *PersistentVolumeClaimStatus) DeepCopyInto(out *PersistentVolumeClaimStatus) { 2966 *out = *in 2967 if in.AccessModes != nil { 2968 in, out := &in.AccessModes, &out.AccessModes 2969 *out = make([]PersistentVolumeAccessMode, len(*in)) 2970 copy(*out, *in) 2971 } 2972 if in.Capacity != nil { 2973 in, out := &in.Capacity, &out.Capacity 2974 *out = make(ResourceList, len(*in)) 2975 for key, val := range *in { 2976 (*out)[key] = val.DeepCopy() 2977 } 2978 } 2979 if in.Conditions != nil { 2980 in, out := &in.Conditions, &out.Conditions 2981 *out = make([]PersistentVolumeClaimCondition, len(*in)) 2982 for i := range *in { 2983 (*in)[i].DeepCopyInto(&(*out)[i]) 2984 } 2985 } 2986 return 2987} 2988 2989// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimStatus. 2990func (in *PersistentVolumeClaimStatus) DeepCopy() *PersistentVolumeClaimStatus { 2991 if in == nil { 2992 return nil 2993 } 2994 out := new(PersistentVolumeClaimStatus) 2995 in.DeepCopyInto(out) 2996 return out 2997} 2998 2999// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3000func (in *PersistentVolumeClaimVolumeSource) DeepCopyInto(out *PersistentVolumeClaimVolumeSource) { 3001 *out = *in 3002 return 3003} 3004 3005// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimVolumeSource. 3006func (in *PersistentVolumeClaimVolumeSource) DeepCopy() *PersistentVolumeClaimVolumeSource { 3007 if in == nil { 3008 return nil 3009 } 3010 out := new(PersistentVolumeClaimVolumeSource) 3011 in.DeepCopyInto(out) 3012 return out 3013} 3014 3015// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3016func (in *PersistentVolumeList) DeepCopyInto(out *PersistentVolumeList) { 3017 *out = *in 3018 out.TypeMeta = in.TypeMeta 3019 out.ListMeta = in.ListMeta 3020 if in.Items != nil { 3021 in, out := &in.Items, &out.Items 3022 *out = make([]PersistentVolume, len(*in)) 3023 for i := range *in { 3024 (*in)[i].DeepCopyInto(&(*out)[i]) 3025 } 3026 } 3027 return 3028} 3029 3030// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeList. 3031func (in *PersistentVolumeList) DeepCopy() *PersistentVolumeList { 3032 if in == nil { 3033 return nil 3034 } 3035 out := new(PersistentVolumeList) 3036 in.DeepCopyInto(out) 3037 return out 3038} 3039 3040// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 3041func (in *PersistentVolumeList) DeepCopyObject() runtime.Object { 3042 if c := in.DeepCopy(); c != nil { 3043 return c 3044 } 3045 return nil 3046} 3047 3048// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3049func (in *PersistentVolumeSource) DeepCopyInto(out *PersistentVolumeSource) { 3050 *out = *in 3051 if in.GCEPersistentDisk != nil { 3052 in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk 3053 if *in == nil { 3054 *out = nil 3055 } else { 3056 *out = new(GCEPersistentDiskVolumeSource) 3057 **out = **in 3058 } 3059 } 3060 if in.AWSElasticBlockStore != nil { 3061 in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore 3062 if *in == nil { 3063 *out = nil 3064 } else { 3065 *out = new(AWSElasticBlockStoreVolumeSource) 3066 **out = **in 3067 } 3068 } 3069 if in.HostPath != nil { 3070 in, out := &in.HostPath, &out.HostPath 3071 if *in == nil { 3072 *out = nil 3073 } else { 3074 *out = new(HostPathVolumeSource) 3075 (*in).DeepCopyInto(*out) 3076 } 3077 } 3078 if in.Glusterfs != nil { 3079 in, out := &in.Glusterfs, &out.Glusterfs 3080 if *in == nil { 3081 *out = nil 3082 } else { 3083 *out = new(GlusterfsVolumeSource) 3084 **out = **in 3085 } 3086 } 3087 if in.NFS != nil { 3088 in, out := &in.NFS, &out.NFS 3089 if *in == nil { 3090 *out = nil 3091 } else { 3092 *out = new(NFSVolumeSource) 3093 **out = **in 3094 } 3095 } 3096 if in.RBD != nil { 3097 in, out := &in.RBD, &out.RBD 3098 if *in == nil { 3099 *out = nil 3100 } else { 3101 *out = new(RBDPersistentVolumeSource) 3102 (*in).DeepCopyInto(*out) 3103 } 3104 } 3105 if in.ISCSI != nil { 3106 in, out := &in.ISCSI, &out.ISCSI 3107 if *in == nil { 3108 *out = nil 3109 } else { 3110 *out = new(ISCSIPersistentVolumeSource) 3111 (*in).DeepCopyInto(*out) 3112 } 3113 } 3114 if in.Cinder != nil { 3115 in, out := &in.Cinder, &out.Cinder 3116 if *in == nil { 3117 *out = nil 3118 } else { 3119 *out = new(CinderPersistentVolumeSource) 3120 (*in).DeepCopyInto(*out) 3121 } 3122 } 3123 if in.CephFS != nil { 3124 in, out := &in.CephFS, &out.CephFS 3125 if *in == nil { 3126 *out = nil 3127 } else { 3128 *out = new(CephFSPersistentVolumeSource) 3129 (*in).DeepCopyInto(*out) 3130 } 3131 } 3132 if in.FC != nil { 3133 in, out := &in.FC, &out.FC 3134 if *in == nil { 3135 *out = nil 3136 } else { 3137 *out = new(FCVolumeSource) 3138 (*in).DeepCopyInto(*out) 3139 } 3140 } 3141 if in.Flocker != nil { 3142 in, out := &in.Flocker, &out.Flocker 3143 if *in == nil { 3144 *out = nil 3145 } else { 3146 *out = new(FlockerVolumeSource) 3147 **out = **in 3148 } 3149 } 3150 if in.FlexVolume != nil { 3151 in, out := &in.FlexVolume, &out.FlexVolume 3152 if *in == nil { 3153 *out = nil 3154 } else { 3155 *out = new(FlexPersistentVolumeSource) 3156 (*in).DeepCopyInto(*out) 3157 } 3158 } 3159 if in.AzureFile != nil { 3160 in, out := &in.AzureFile, &out.AzureFile 3161 if *in == nil { 3162 *out = nil 3163 } else { 3164 *out = new(AzureFilePersistentVolumeSource) 3165 (*in).DeepCopyInto(*out) 3166 } 3167 } 3168 if in.VsphereVolume != nil { 3169 in, out := &in.VsphereVolume, &out.VsphereVolume 3170 if *in == nil { 3171 *out = nil 3172 } else { 3173 *out = new(VsphereVirtualDiskVolumeSource) 3174 **out = **in 3175 } 3176 } 3177 if in.Quobyte != nil { 3178 in, out := &in.Quobyte, &out.Quobyte 3179 if *in == nil { 3180 *out = nil 3181 } else { 3182 *out = new(QuobyteVolumeSource) 3183 **out = **in 3184 } 3185 } 3186 if in.AzureDisk != nil { 3187 in, out := &in.AzureDisk, &out.AzureDisk 3188 if *in == nil { 3189 *out = nil 3190 } else { 3191 *out = new(AzureDiskVolumeSource) 3192 (*in).DeepCopyInto(*out) 3193 } 3194 } 3195 if in.PhotonPersistentDisk != nil { 3196 in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk 3197 if *in == nil { 3198 *out = nil 3199 } else { 3200 *out = new(PhotonPersistentDiskVolumeSource) 3201 **out = **in 3202 } 3203 } 3204 if in.PortworxVolume != nil { 3205 in, out := &in.PortworxVolume, &out.PortworxVolume 3206 if *in == nil { 3207 *out = nil 3208 } else { 3209 *out = new(PortworxVolumeSource) 3210 **out = **in 3211 } 3212 } 3213 if in.ScaleIO != nil { 3214 in, out := &in.ScaleIO, &out.ScaleIO 3215 if *in == nil { 3216 *out = nil 3217 } else { 3218 *out = new(ScaleIOPersistentVolumeSource) 3219 (*in).DeepCopyInto(*out) 3220 } 3221 } 3222 if in.Local != nil { 3223 in, out := &in.Local, &out.Local 3224 if *in == nil { 3225 *out = nil 3226 } else { 3227 *out = new(LocalVolumeSource) 3228 **out = **in 3229 } 3230 } 3231 if in.StorageOS != nil { 3232 in, out := &in.StorageOS, &out.StorageOS 3233 if *in == nil { 3234 *out = nil 3235 } else { 3236 *out = new(StorageOSPersistentVolumeSource) 3237 (*in).DeepCopyInto(*out) 3238 } 3239 } 3240 if in.CSI != nil { 3241 in, out := &in.CSI, &out.CSI 3242 if *in == nil { 3243 *out = nil 3244 } else { 3245 *out = new(CSIPersistentVolumeSource) 3246 (*in).DeepCopyInto(*out) 3247 } 3248 } 3249 return 3250} 3251 3252// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSource. 3253func (in *PersistentVolumeSource) DeepCopy() *PersistentVolumeSource { 3254 if in == nil { 3255 return nil 3256 } 3257 out := new(PersistentVolumeSource) 3258 in.DeepCopyInto(out) 3259 return out 3260} 3261 3262// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3263func (in *PersistentVolumeSpec) DeepCopyInto(out *PersistentVolumeSpec) { 3264 *out = *in 3265 if in.Capacity != nil { 3266 in, out := &in.Capacity, &out.Capacity 3267 *out = make(ResourceList, len(*in)) 3268 for key, val := range *in { 3269 (*out)[key] = val.DeepCopy() 3270 } 3271 } 3272 in.PersistentVolumeSource.DeepCopyInto(&out.PersistentVolumeSource) 3273 if in.AccessModes != nil { 3274 in, out := &in.AccessModes, &out.AccessModes 3275 *out = make([]PersistentVolumeAccessMode, len(*in)) 3276 copy(*out, *in) 3277 } 3278 if in.ClaimRef != nil { 3279 in, out := &in.ClaimRef, &out.ClaimRef 3280 if *in == nil { 3281 *out = nil 3282 } else { 3283 *out = new(ObjectReference) 3284 **out = **in 3285 } 3286 } 3287 if in.MountOptions != nil { 3288 in, out := &in.MountOptions, &out.MountOptions 3289 *out = make([]string, len(*in)) 3290 copy(*out, *in) 3291 } 3292 if in.VolumeMode != nil { 3293 in, out := &in.VolumeMode, &out.VolumeMode 3294 if *in == nil { 3295 *out = nil 3296 } else { 3297 *out = new(PersistentVolumeMode) 3298 **out = **in 3299 } 3300 } 3301 if in.NodeAffinity != nil { 3302 in, out := &in.NodeAffinity, &out.NodeAffinity 3303 if *in == nil { 3304 *out = nil 3305 } else { 3306 *out = new(VolumeNodeAffinity) 3307 (*in).DeepCopyInto(*out) 3308 } 3309 } 3310 return 3311} 3312 3313// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSpec. 3314func (in *PersistentVolumeSpec) DeepCopy() *PersistentVolumeSpec { 3315 if in == nil { 3316 return nil 3317 } 3318 out := new(PersistentVolumeSpec) 3319 in.DeepCopyInto(out) 3320 return out 3321} 3322 3323// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3324func (in *PersistentVolumeStatus) DeepCopyInto(out *PersistentVolumeStatus) { 3325 *out = *in 3326 return 3327} 3328 3329// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeStatus. 3330func (in *PersistentVolumeStatus) DeepCopy() *PersistentVolumeStatus { 3331 if in == nil { 3332 return nil 3333 } 3334 out := new(PersistentVolumeStatus) 3335 in.DeepCopyInto(out) 3336 return out 3337} 3338 3339// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3340func (in *PhotonPersistentDiskVolumeSource) DeepCopyInto(out *PhotonPersistentDiskVolumeSource) { 3341 *out = *in 3342 return 3343} 3344 3345// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhotonPersistentDiskVolumeSource. 3346func (in *PhotonPersistentDiskVolumeSource) DeepCopy() *PhotonPersistentDiskVolumeSource { 3347 if in == nil { 3348 return nil 3349 } 3350 out := new(PhotonPersistentDiskVolumeSource) 3351 in.DeepCopyInto(out) 3352 return out 3353} 3354 3355// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3356func (in *Pod) DeepCopyInto(out *Pod) { 3357 *out = *in 3358 out.TypeMeta = in.TypeMeta 3359 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 3360 in.Spec.DeepCopyInto(&out.Spec) 3361 in.Status.DeepCopyInto(&out.Status) 3362 return 3363} 3364 3365// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod. 3366func (in *Pod) DeepCopy() *Pod { 3367 if in == nil { 3368 return nil 3369 } 3370 out := new(Pod) 3371 in.DeepCopyInto(out) 3372 return out 3373} 3374 3375// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 3376func (in *Pod) DeepCopyObject() runtime.Object { 3377 if c := in.DeepCopy(); c != nil { 3378 return c 3379 } 3380 return nil 3381} 3382 3383// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3384func (in *PodAffinity) DeepCopyInto(out *PodAffinity) { 3385 *out = *in 3386 if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { 3387 in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution 3388 *out = make([]PodAffinityTerm, len(*in)) 3389 for i := range *in { 3390 (*in)[i].DeepCopyInto(&(*out)[i]) 3391 } 3392 } 3393 if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { 3394 in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution 3395 *out = make([]WeightedPodAffinityTerm, len(*in)) 3396 for i := range *in { 3397 (*in)[i].DeepCopyInto(&(*out)[i]) 3398 } 3399 } 3400 return 3401} 3402 3403// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinity. 3404func (in *PodAffinity) DeepCopy() *PodAffinity { 3405 if in == nil { 3406 return nil 3407 } 3408 out := new(PodAffinity) 3409 in.DeepCopyInto(out) 3410 return out 3411} 3412 3413// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3414func (in *PodAffinityTerm) DeepCopyInto(out *PodAffinityTerm) { 3415 *out = *in 3416 if in.LabelSelector != nil { 3417 in, out := &in.LabelSelector, &out.LabelSelector 3418 if *in == nil { 3419 *out = nil 3420 } else { 3421 *out = new(meta_v1.LabelSelector) 3422 (*in).DeepCopyInto(*out) 3423 } 3424 } 3425 if in.Namespaces != nil { 3426 in, out := &in.Namespaces, &out.Namespaces 3427 *out = make([]string, len(*in)) 3428 copy(*out, *in) 3429 } 3430 return 3431} 3432 3433// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinityTerm. 3434func (in *PodAffinityTerm) DeepCopy() *PodAffinityTerm { 3435 if in == nil { 3436 return nil 3437 } 3438 out := new(PodAffinityTerm) 3439 in.DeepCopyInto(out) 3440 return out 3441} 3442 3443// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3444func (in *PodAntiAffinity) DeepCopyInto(out *PodAntiAffinity) { 3445 *out = *in 3446 if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { 3447 in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution 3448 *out = make([]PodAffinityTerm, len(*in)) 3449 for i := range *in { 3450 (*in)[i].DeepCopyInto(&(*out)[i]) 3451 } 3452 } 3453 if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { 3454 in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution 3455 *out = make([]WeightedPodAffinityTerm, len(*in)) 3456 for i := range *in { 3457 (*in)[i].DeepCopyInto(&(*out)[i]) 3458 } 3459 } 3460 return 3461} 3462 3463// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAntiAffinity. 3464func (in *PodAntiAffinity) DeepCopy() *PodAntiAffinity { 3465 if in == nil { 3466 return nil 3467 } 3468 out := new(PodAntiAffinity) 3469 in.DeepCopyInto(out) 3470 return out 3471} 3472 3473// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3474func (in *PodAttachOptions) DeepCopyInto(out *PodAttachOptions) { 3475 *out = *in 3476 out.TypeMeta = in.TypeMeta 3477 return 3478} 3479 3480// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAttachOptions. 3481func (in *PodAttachOptions) DeepCopy() *PodAttachOptions { 3482 if in == nil { 3483 return nil 3484 } 3485 out := new(PodAttachOptions) 3486 in.DeepCopyInto(out) 3487 return out 3488} 3489 3490// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 3491func (in *PodAttachOptions) DeepCopyObject() runtime.Object { 3492 if c := in.DeepCopy(); c != nil { 3493 return c 3494 } 3495 return nil 3496} 3497 3498// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3499func (in *PodCondition) DeepCopyInto(out *PodCondition) { 3500 *out = *in 3501 in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) 3502 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 3503 return 3504} 3505 3506// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. 3507func (in *PodCondition) DeepCopy() *PodCondition { 3508 if in == nil { 3509 return nil 3510 } 3511 out := new(PodCondition) 3512 in.DeepCopyInto(out) 3513 return out 3514} 3515 3516// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3517func (in *PodDNSConfig) DeepCopyInto(out *PodDNSConfig) { 3518 *out = *in 3519 if in.Nameservers != nil { 3520 in, out := &in.Nameservers, &out.Nameservers 3521 *out = make([]string, len(*in)) 3522 copy(*out, *in) 3523 } 3524 if in.Searches != nil { 3525 in, out := &in.Searches, &out.Searches 3526 *out = make([]string, len(*in)) 3527 copy(*out, *in) 3528 } 3529 if in.Options != nil { 3530 in, out := &in.Options, &out.Options 3531 *out = make([]PodDNSConfigOption, len(*in)) 3532 for i := range *in { 3533 (*in)[i].DeepCopyInto(&(*out)[i]) 3534 } 3535 } 3536 return 3537} 3538 3539// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDNSConfig. 3540func (in *PodDNSConfig) DeepCopy() *PodDNSConfig { 3541 if in == nil { 3542 return nil 3543 } 3544 out := new(PodDNSConfig) 3545 in.DeepCopyInto(out) 3546 return out 3547} 3548 3549// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3550func (in *PodDNSConfigOption) DeepCopyInto(out *PodDNSConfigOption) { 3551 *out = *in 3552 if in.Value != nil { 3553 in, out := &in.Value, &out.Value 3554 if *in == nil { 3555 *out = nil 3556 } else { 3557 *out = new(string) 3558 **out = **in 3559 } 3560 } 3561 return 3562} 3563 3564// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDNSConfigOption. 3565func (in *PodDNSConfigOption) DeepCopy() *PodDNSConfigOption { 3566 if in == nil { 3567 return nil 3568 } 3569 out := new(PodDNSConfigOption) 3570 in.DeepCopyInto(out) 3571 return out 3572} 3573 3574// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3575func (in *PodExecOptions) DeepCopyInto(out *PodExecOptions) { 3576 *out = *in 3577 out.TypeMeta = in.TypeMeta 3578 if in.Command != nil { 3579 in, out := &in.Command, &out.Command 3580 *out = make([]string, len(*in)) 3581 copy(*out, *in) 3582 } 3583 return 3584} 3585 3586// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodExecOptions. 3587func (in *PodExecOptions) DeepCopy() *PodExecOptions { 3588 if in == nil { 3589 return nil 3590 } 3591 out := new(PodExecOptions) 3592 in.DeepCopyInto(out) 3593 return out 3594} 3595 3596// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 3597func (in *PodExecOptions) DeepCopyObject() runtime.Object { 3598 if c := in.DeepCopy(); c != nil { 3599 return c 3600 } 3601 return nil 3602} 3603 3604// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3605func (in *PodList) DeepCopyInto(out *PodList) { 3606 *out = *in 3607 out.TypeMeta = in.TypeMeta 3608 out.ListMeta = in.ListMeta 3609 if in.Items != nil { 3610 in, out := &in.Items, &out.Items 3611 *out = make([]Pod, len(*in)) 3612 for i := range *in { 3613 (*in)[i].DeepCopyInto(&(*out)[i]) 3614 } 3615 } 3616 return 3617} 3618 3619// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList. 3620func (in *PodList) DeepCopy() *PodList { 3621 if in == nil { 3622 return nil 3623 } 3624 out := new(PodList) 3625 in.DeepCopyInto(out) 3626 return out 3627} 3628 3629// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 3630func (in *PodList) DeepCopyObject() runtime.Object { 3631 if c := in.DeepCopy(); c != nil { 3632 return c 3633 } 3634 return nil 3635} 3636 3637// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3638func (in *PodLogOptions) DeepCopyInto(out *PodLogOptions) { 3639 *out = *in 3640 out.TypeMeta = in.TypeMeta 3641 if in.SinceSeconds != nil { 3642 in, out := &in.SinceSeconds, &out.SinceSeconds 3643 if *in == nil { 3644 *out = nil 3645 } else { 3646 *out = new(int64) 3647 **out = **in 3648 } 3649 } 3650 if in.SinceTime != nil { 3651 in, out := &in.SinceTime, &out.SinceTime 3652 if *in == nil { 3653 *out = nil 3654 } else { 3655 *out = (*in).DeepCopy() 3656 } 3657 } 3658 if in.TailLines != nil { 3659 in, out := &in.TailLines, &out.TailLines 3660 if *in == nil { 3661 *out = nil 3662 } else { 3663 *out = new(int64) 3664 **out = **in 3665 } 3666 } 3667 if in.LimitBytes != nil { 3668 in, out := &in.LimitBytes, &out.LimitBytes 3669 if *in == nil { 3670 *out = nil 3671 } else { 3672 *out = new(int64) 3673 **out = **in 3674 } 3675 } 3676 return 3677} 3678 3679// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogOptions. 3680func (in *PodLogOptions) DeepCopy() *PodLogOptions { 3681 if in == nil { 3682 return nil 3683 } 3684 out := new(PodLogOptions) 3685 in.DeepCopyInto(out) 3686 return out 3687} 3688 3689// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 3690func (in *PodLogOptions) DeepCopyObject() runtime.Object { 3691 if c := in.DeepCopy(); c != nil { 3692 return c 3693 } 3694 return nil 3695} 3696 3697// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3698func (in *PodPortForwardOptions) DeepCopyInto(out *PodPortForwardOptions) { 3699 *out = *in 3700 out.TypeMeta = in.TypeMeta 3701 if in.Ports != nil { 3702 in, out := &in.Ports, &out.Ports 3703 *out = make([]int32, len(*in)) 3704 copy(*out, *in) 3705 } 3706 return 3707} 3708 3709// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPortForwardOptions. 3710func (in *PodPortForwardOptions) DeepCopy() *PodPortForwardOptions { 3711 if in == nil { 3712 return nil 3713 } 3714 out := new(PodPortForwardOptions) 3715 in.DeepCopyInto(out) 3716 return out 3717} 3718 3719// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 3720func (in *PodPortForwardOptions) DeepCopyObject() runtime.Object { 3721 if c := in.DeepCopy(); c != nil { 3722 return c 3723 } 3724 return nil 3725} 3726 3727// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3728func (in *PodProxyOptions) DeepCopyInto(out *PodProxyOptions) { 3729 *out = *in 3730 out.TypeMeta = in.TypeMeta 3731 return 3732} 3733 3734// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodProxyOptions. 3735func (in *PodProxyOptions) DeepCopy() *PodProxyOptions { 3736 if in == nil { 3737 return nil 3738 } 3739 out := new(PodProxyOptions) 3740 in.DeepCopyInto(out) 3741 return out 3742} 3743 3744// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 3745func (in *PodProxyOptions) DeepCopyObject() runtime.Object { 3746 if c := in.DeepCopy(); c != nil { 3747 return c 3748 } 3749 return nil 3750} 3751 3752// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3753func (in *PodReadinessGate) DeepCopyInto(out *PodReadinessGate) { 3754 *out = *in 3755 return 3756} 3757 3758// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodReadinessGate. 3759func (in *PodReadinessGate) DeepCopy() *PodReadinessGate { 3760 if in == nil { 3761 return nil 3762 } 3763 out := new(PodReadinessGate) 3764 in.DeepCopyInto(out) 3765 return out 3766} 3767 3768// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3769func (in *PodSecurityContext) DeepCopyInto(out *PodSecurityContext) { 3770 *out = *in 3771 if in.SELinuxOptions != nil { 3772 in, out := &in.SELinuxOptions, &out.SELinuxOptions 3773 if *in == nil { 3774 *out = nil 3775 } else { 3776 *out = new(SELinuxOptions) 3777 **out = **in 3778 } 3779 } 3780 if in.RunAsUser != nil { 3781 in, out := &in.RunAsUser, &out.RunAsUser 3782 if *in == nil { 3783 *out = nil 3784 } else { 3785 *out = new(int64) 3786 **out = **in 3787 } 3788 } 3789 if in.RunAsGroup != nil { 3790 in, out := &in.RunAsGroup, &out.RunAsGroup 3791 if *in == nil { 3792 *out = nil 3793 } else { 3794 *out = new(int64) 3795 **out = **in 3796 } 3797 } 3798 if in.RunAsNonRoot != nil { 3799 in, out := &in.RunAsNonRoot, &out.RunAsNonRoot 3800 if *in == nil { 3801 *out = nil 3802 } else { 3803 *out = new(bool) 3804 **out = **in 3805 } 3806 } 3807 if in.SupplementalGroups != nil { 3808 in, out := &in.SupplementalGroups, &out.SupplementalGroups 3809 *out = make([]int64, len(*in)) 3810 copy(*out, *in) 3811 } 3812 if in.FSGroup != nil { 3813 in, out := &in.FSGroup, &out.FSGroup 3814 if *in == nil { 3815 *out = nil 3816 } else { 3817 *out = new(int64) 3818 **out = **in 3819 } 3820 } 3821 if in.Sysctls != nil { 3822 in, out := &in.Sysctls, &out.Sysctls 3823 *out = make([]Sysctl, len(*in)) 3824 copy(*out, *in) 3825 } 3826 return 3827} 3828 3829// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityContext. 3830func (in *PodSecurityContext) DeepCopy() *PodSecurityContext { 3831 if in == nil { 3832 return nil 3833 } 3834 out := new(PodSecurityContext) 3835 in.DeepCopyInto(out) 3836 return out 3837} 3838 3839// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3840func (in *PodSignature) DeepCopyInto(out *PodSignature) { 3841 *out = *in 3842 if in.PodController != nil { 3843 in, out := &in.PodController, &out.PodController 3844 if *in == nil { 3845 *out = nil 3846 } else { 3847 *out = new(meta_v1.OwnerReference) 3848 (*in).DeepCopyInto(*out) 3849 } 3850 } 3851 return 3852} 3853 3854// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSignature. 3855func (in *PodSignature) DeepCopy() *PodSignature { 3856 if in == nil { 3857 return nil 3858 } 3859 out := new(PodSignature) 3860 in.DeepCopyInto(out) 3861 return out 3862} 3863 3864// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 3865func (in *PodSpec) DeepCopyInto(out *PodSpec) { 3866 *out = *in 3867 if in.Volumes != nil { 3868 in, out := &in.Volumes, &out.Volumes 3869 *out = make([]Volume, len(*in)) 3870 for i := range *in { 3871 (*in)[i].DeepCopyInto(&(*out)[i]) 3872 } 3873 } 3874 if in.InitContainers != nil { 3875 in, out := &in.InitContainers, &out.InitContainers 3876 *out = make([]Container, len(*in)) 3877 for i := range *in { 3878 (*in)[i].DeepCopyInto(&(*out)[i]) 3879 } 3880 } 3881 if in.Containers != nil { 3882 in, out := &in.Containers, &out.Containers 3883 *out = make([]Container, len(*in)) 3884 for i := range *in { 3885 (*in)[i].DeepCopyInto(&(*out)[i]) 3886 } 3887 } 3888 if in.TerminationGracePeriodSeconds != nil { 3889 in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds 3890 if *in == nil { 3891 *out = nil 3892 } else { 3893 *out = new(int64) 3894 **out = **in 3895 } 3896 } 3897 if in.ActiveDeadlineSeconds != nil { 3898 in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds 3899 if *in == nil { 3900 *out = nil 3901 } else { 3902 *out = new(int64) 3903 **out = **in 3904 } 3905 } 3906 if in.NodeSelector != nil { 3907 in, out := &in.NodeSelector, &out.NodeSelector 3908 *out = make(map[string]string, len(*in)) 3909 for key, val := range *in { 3910 (*out)[key] = val 3911 } 3912 } 3913 if in.AutomountServiceAccountToken != nil { 3914 in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken 3915 if *in == nil { 3916 *out = nil 3917 } else { 3918 *out = new(bool) 3919 **out = **in 3920 } 3921 } 3922 if in.ShareProcessNamespace != nil { 3923 in, out := &in.ShareProcessNamespace, &out.ShareProcessNamespace 3924 if *in == nil { 3925 *out = nil 3926 } else { 3927 *out = new(bool) 3928 **out = **in 3929 } 3930 } 3931 if in.SecurityContext != nil { 3932 in, out := &in.SecurityContext, &out.SecurityContext 3933 if *in == nil { 3934 *out = nil 3935 } else { 3936 *out = new(PodSecurityContext) 3937 (*in).DeepCopyInto(*out) 3938 } 3939 } 3940 if in.ImagePullSecrets != nil { 3941 in, out := &in.ImagePullSecrets, &out.ImagePullSecrets 3942 *out = make([]LocalObjectReference, len(*in)) 3943 copy(*out, *in) 3944 } 3945 if in.Affinity != nil { 3946 in, out := &in.Affinity, &out.Affinity 3947 if *in == nil { 3948 *out = nil 3949 } else { 3950 *out = new(Affinity) 3951 (*in).DeepCopyInto(*out) 3952 } 3953 } 3954 if in.Tolerations != nil { 3955 in, out := &in.Tolerations, &out.Tolerations 3956 *out = make([]Toleration, len(*in)) 3957 for i := range *in { 3958 (*in)[i].DeepCopyInto(&(*out)[i]) 3959 } 3960 } 3961 if in.HostAliases != nil { 3962 in, out := &in.HostAliases, &out.HostAliases 3963 *out = make([]HostAlias, len(*in)) 3964 for i := range *in { 3965 (*in)[i].DeepCopyInto(&(*out)[i]) 3966 } 3967 } 3968 if in.Priority != nil { 3969 in, out := &in.Priority, &out.Priority 3970 if *in == nil { 3971 *out = nil 3972 } else { 3973 *out = new(int32) 3974 **out = **in 3975 } 3976 } 3977 if in.DNSConfig != nil { 3978 in, out := &in.DNSConfig, &out.DNSConfig 3979 if *in == nil { 3980 *out = nil 3981 } else { 3982 *out = new(PodDNSConfig) 3983 (*in).DeepCopyInto(*out) 3984 } 3985 } 3986 if in.ReadinessGates != nil { 3987 in, out := &in.ReadinessGates, &out.ReadinessGates 3988 *out = make([]PodReadinessGate, len(*in)) 3989 copy(*out, *in) 3990 } 3991 return 3992} 3993 3994// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. 3995func (in *PodSpec) DeepCopy() *PodSpec { 3996 if in == nil { 3997 return nil 3998 } 3999 out := new(PodSpec) 4000 in.DeepCopyInto(out) 4001 return out 4002} 4003 4004// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4005func (in *PodStatus) DeepCopyInto(out *PodStatus) { 4006 *out = *in 4007 if in.Conditions != nil { 4008 in, out := &in.Conditions, &out.Conditions 4009 *out = make([]PodCondition, len(*in)) 4010 for i := range *in { 4011 (*in)[i].DeepCopyInto(&(*out)[i]) 4012 } 4013 } 4014 if in.StartTime != nil { 4015 in, out := &in.StartTime, &out.StartTime 4016 if *in == nil { 4017 *out = nil 4018 } else { 4019 *out = (*in).DeepCopy() 4020 } 4021 } 4022 if in.InitContainerStatuses != nil { 4023 in, out := &in.InitContainerStatuses, &out.InitContainerStatuses 4024 *out = make([]ContainerStatus, len(*in)) 4025 for i := range *in { 4026 (*in)[i].DeepCopyInto(&(*out)[i]) 4027 } 4028 } 4029 if in.ContainerStatuses != nil { 4030 in, out := &in.ContainerStatuses, &out.ContainerStatuses 4031 *out = make([]ContainerStatus, len(*in)) 4032 for i := range *in { 4033 (*in)[i].DeepCopyInto(&(*out)[i]) 4034 } 4035 } 4036 return 4037} 4038 4039// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. 4040func (in *PodStatus) DeepCopy() *PodStatus { 4041 if in == nil { 4042 return nil 4043 } 4044 out := new(PodStatus) 4045 in.DeepCopyInto(out) 4046 return out 4047} 4048 4049// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4050func (in *PodStatusResult) DeepCopyInto(out *PodStatusResult) { 4051 *out = *in 4052 out.TypeMeta = in.TypeMeta 4053 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 4054 in.Status.DeepCopyInto(&out.Status) 4055 return 4056} 4057 4058// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatusResult. 4059func (in *PodStatusResult) DeepCopy() *PodStatusResult { 4060 if in == nil { 4061 return nil 4062 } 4063 out := new(PodStatusResult) 4064 in.DeepCopyInto(out) 4065 return out 4066} 4067 4068// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 4069func (in *PodStatusResult) DeepCopyObject() runtime.Object { 4070 if c := in.DeepCopy(); c != nil { 4071 return c 4072 } 4073 return nil 4074} 4075 4076// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4077func (in *PodTemplate) DeepCopyInto(out *PodTemplate) { 4078 *out = *in 4079 out.TypeMeta = in.TypeMeta 4080 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 4081 in.Template.DeepCopyInto(&out.Template) 4082 return 4083} 4084 4085// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplate. 4086func (in *PodTemplate) DeepCopy() *PodTemplate { 4087 if in == nil { 4088 return nil 4089 } 4090 out := new(PodTemplate) 4091 in.DeepCopyInto(out) 4092 return out 4093} 4094 4095// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 4096func (in *PodTemplate) DeepCopyObject() runtime.Object { 4097 if c := in.DeepCopy(); c != nil { 4098 return c 4099 } 4100 return nil 4101} 4102 4103// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4104func (in *PodTemplateList) DeepCopyInto(out *PodTemplateList) { 4105 *out = *in 4106 out.TypeMeta = in.TypeMeta 4107 out.ListMeta = in.ListMeta 4108 if in.Items != nil { 4109 in, out := &in.Items, &out.Items 4110 *out = make([]PodTemplate, len(*in)) 4111 for i := range *in { 4112 (*in)[i].DeepCopyInto(&(*out)[i]) 4113 } 4114 } 4115 return 4116} 4117 4118// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateList. 4119func (in *PodTemplateList) DeepCopy() *PodTemplateList { 4120 if in == nil { 4121 return nil 4122 } 4123 out := new(PodTemplateList) 4124 in.DeepCopyInto(out) 4125 return out 4126} 4127 4128// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 4129func (in *PodTemplateList) DeepCopyObject() runtime.Object { 4130 if c := in.DeepCopy(); c != nil { 4131 return c 4132 } 4133 return nil 4134} 4135 4136// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4137func (in *PodTemplateSpec) DeepCopyInto(out *PodTemplateSpec) { 4138 *out = *in 4139 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 4140 in.Spec.DeepCopyInto(&out.Spec) 4141 return 4142} 4143 4144// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateSpec. 4145func (in *PodTemplateSpec) DeepCopy() *PodTemplateSpec { 4146 if in == nil { 4147 return nil 4148 } 4149 out := new(PodTemplateSpec) 4150 in.DeepCopyInto(out) 4151 return out 4152} 4153 4154// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4155func (in *PortworxVolumeSource) DeepCopyInto(out *PortworxVolumeSource) { 4156 *out = *in 4157 return 4158} 4159 4160// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortworxVolumeSource. 4161func (in *PortworxVolumeSource) DeepCopy() *PortworxVolumeSource { 4162 if in == nil { 4163 return nil 4164 } 4165 out := new(PortworxVolumeSource) 4166 in.DeepCopyInto(out) 4167 return out 4168} 4169 4170// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4171func (in *Preconditions) DeepCopyInto(out *Preconditions) { 4172 *out = *in 4173 if in.UID != nil { 4174 in, out := &in.UID, &out.UID 4175 if *in == nil { 4176 *out = nil 4177 } else { 4178 *out = new(types.UID) 4179 **out = **in 4180 } 4181 } 4182 return 4183} 4184 4185// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions. 4186func (in *Preconditions) DeepCopy() *Preconditions { 4187 if in == nil { 4188 return nil 4189 } 4190 out := new(Preconditions) 4191 in.DeepCopyInto(out) 4192 return out 4193} 4194 4195// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4196func (in *PreferAvoidPodsEntry) DeepCopyInto(out *PreferAvoidPodsEntry) { 4197 *out = *in 4198 in.PodSignature.DeepCopyInto(&out.PodSignature) 4199 in.EvictionTime.DeepCopyInto(&out.EvictionTime) 4200 return 4201} 4202 4203// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferAvoidPodsEntry. 4204func (in *PreferAvoidPodsEntry) DeepCopy() *PreferAvoidPodsEntry { 4205 if in == nil { 4206 return nil 4207 } 4208 out := new(PreferAvoidPodsEntry) 4209 in.DeepCopyInto(out) 4210 return out 4211} 4212 4213// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4214func (in *PreferredSchedulingTerm) DeepCopyInto(out *PreferredSchedulingTerm) { 4215 *out = *in 4216 in.Preference.DeepCopyInto(&out.Preference) 4217 return 4218} 4219 4220// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferredSchedulingTerm. 4221func (in *PreferredSchedulingTerm) DeepCopy() *PreferredSchedulingTerm { 4222 if in == nil { 4223 return nil 4224 } 4225 out := new(PreferredSchedulingTerm) 4226 in.DeepCopyInto(out) 4227 return out 4228} 4229 4230// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4231func (in *Probe) DeepCopyInto(out *Probe) { 4232 *out = *in 4233 in.Handler.DeepCopyInto(&out.Handler) 4234 return 4235} 4236 4237// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe. 4238func (in *Probe) DeepCopy() *Probe { 4239 if in == nil { 4240 return nil 4241 } 4242 out := new(Probe) 4243 in.DeepCopyInto(out) 4244 return out 4245} 4246 4247// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4248func (in *ProjectedVolumeSource) DeepCopyInto(out *ProjectedVolumeSource) { 4249 *out = *in 4250 if in.Sources != nil { 4251 in, out := &in.Sources, &out.Sources 4252 *out = make([]VolumeProjection, len(*in)) 4253 for i := range *in { 4254 (*in)[i].DeepCopyInto(&(*out)[i]) 4255 } 4256 } 4257 if in.DefaultMode != nil { 4258 in, out := &in.DefaultMode, &out.DefaultMode 4259 if *in == nil { 4260 *out = nil 4261 } else { 4262 *out = new(int32) 4263 **out = **in 4264 } 4265 } 4266 return 4267} 4268 4269// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectedVolumeSource. 4270func (in *ProjectedVolumeSource) DeepCopy() *ProjectedVolumeSource { 4271 if in == nil { 4272 return nil 4273 } 4274 out := new(ProjectedVolumeSource) 4275 in.DeepCopyInto(out) 4276 return out 4277} 4278 4279// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4280func (in *QuobyteVolumeSource) DeepCopyInto(out *QuobyteVolumeSource) { 4281 *out = *in 4282 return 4283} 4284 4285// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuobyteVolumeSource. 4286func (in *QuobyteVolumeSource) DeepCopy() *QuobyteVolumeSource { 4287 if in == nil { 4288 return nil 4289 } 4290 out := new(QuobyteVolumeSource) 4291 in.DeepCopyInto(out) 4292 return out 4293} 4294 4295// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4296func (in *RBDPersistentVolumeSource) DeepCopyInto(out *RBDPersistentVolumeSource) { 4297 *out = *in 4298 if in.CephMonitors != nil { 4299 in, out := &in.CephMonitors, &out.CephMonitors 4300 *out = make([]string, len(*in)) 4301 copy(*out, *in) 4302 } 4303 if in.SecretRef != nil { 4304 in, out := &in.SecretRef, &out.SecretRef 4305 if *in == nil { 4306 *out = nil 4307 } else { 4308 *out = new(SecretReference) 4309 **out = **in 4310 } 4311 } 4312 return 4313} 4314 4315// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBDPersistentVolumeSource. 4316func (in *RBDPersistentVolumeSource) DeepCopy() *RBDPersistentVolumeSource { 4317 if in == nil { 4318 return nil 4319 } 4320 out := new(RBDPersistentVolumeSource) 4321 in.DeepCopyInto(out) 4322 return out 4323} 4324 4325// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4326func (in *RBDVolumeSource) DeepCopyInto(out *RBDVolumeSource) { 4327 *out = *in 4328 if in.CephMonitors != nil { 4329 in, out := &in.CephMonitors, &out.CephMonitors 4330 *out = make([]string, len(*in)) 4331 copy(*out, *in) 4332 } 4333 if in.SecretRef != nil { 4334 in, out := &in.SecretRef, &out.SecretRef 4335 if *in == nil { 4336 *out = nil 4337 } else { 4338 *out = new(LocalObjectReference) 4339 **out = **in 4340 } 4341 } 4342 return 4343} 4344 4345// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBDVolumeSource. 4346func (in *RBDVolumeSource) DeepCopy() *RBDVolumeSource { 4347 if in == nil { 4348 return nil 4349 } 4350 out := new(RBDVolumeSource) 4351 in.DeepCopyInto(out) 4352 return out 4353} 4354 4355// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4356func (in *RangeAllocation) DeepCopyInto(out *RangeAllocation) { 4357 *out = *in 4358 out.TypeMeta = in.TypeMeta 4359 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 4360 if in.Data != nil { 4361 in, out := &in.Data, &out.Data 4362 *out = make([]byte, len(*in)) 4363 copy(*out, *in) 4364 } 4365 return 4366} 4367 4368// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangeAllocation. 4369func (in *RangeAllocation) DeepCopy() *RangeAllocation { 4370 if in == nil { 4371 return nil 4372 } 4373 out := new(RangeAllocation) 4374 in.DeepCopyInto(out) 4375 return out 4376} 4377 4378// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 4379func (in *RangeAllocation) DeepCopyObject() runtime.Object { 4380 if c := in.DeepCopy(); c != nil { 4381 return c 4382 } 4383 return nil 4384} 4385 4386// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4387func (in *ReplicationController) DeepCopyInto(out *ReplicationController) { 4388 *out = *in 4389 out.TypeMeta = in.TypeMeta 4390 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 4391 in.Spec.DeepCopyInto(&out.Spec) 4392 in.Status.DeepCopyInto(&out.Status) 4393 return 4394} 4395 4396// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationController. 4397func (in *ReplicationController) DeepCopy() *ReplicationController { 4398 if in == nil { 4399 return nil 4400 } 4401 out := new(ReplicationController) 4402 in.DeepCopyInto(out) 4403 return out 4404} 4405 4406// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 4407func (in *ReplicationController) DeepCopyObject() runtime.Object { 4408 if c := in.DeepCopy(); c != nil { 4409 return c 4410 } 4411 return nil 4412} 4413 4414// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4415func (in *ReplicationControllerCondition) DeepCopyInto(out *ReplicationControllerCondition) { 4416 *out = *in 4417 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 4418 return 4419} 4420 4421// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerCondition. 4422func (in *ReplicationControllerCondition) DeepCopy() *ReplicationControllerCondition { 4423 if in == nil { 4424 return nil 4425 } 4426 out := new(ReplicationControllerCondition) 4427 in.DeepCopyInto(out) 4428 return out 4429} 4430 4431// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4432func (in *ReplicationControllerList) DeepCopyInto(out *ReplicationControllerList) { 4433 *out = *in 4434 out.TypeMeta = in.TypeMeta 4435 out.ListMeta = in.ListMeta 4436 if in.Items != nil { 4437 in, out := &in.Items, &out.Items 4438 *out = make([]ReplicationController, len(*in)) 4439 for i := range *in { 4440 (*in)[i].DeepCopyInto(&(*out)[i]) 4441 } 4442 } 4443 return 4444} 4445 4446// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerList. 4447func (in *ReplicationControllerList) DeepCopy() *ReplicationControllerList { 4448 if in == nil { 4449 return nil 4450 } 4451 out := new(ReplicationControllerList) 4452 in.DeepCopyInto(out) 4453 return out 4454} 4455 4456// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 4457func (in *ReplicationControllerList) DeepCopyObject() runtime.Object { 4458 if c := in.DeepCopy(); c != nil { 4459 return c 4460 } 4461 return nil 4462} 4463 4464// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4465func (in *ReplicationControllerSpec) DeepCopyInto(out *ReplicationControllerSpec) { 4466 *out = *in 4467 if in.Replicas != nil { 4468 in, out := &in.Replicas, &out.Replicas 4469 if *in == nil { 4470 *out = nil 4471 } else { 4472 *out = new(int32) 4473 **out = **in 4474 } 4475 } 4476 if in.Selector != nil { 4477 in, out := &in.Selector, &out.Selector 4478 *out = make(map[string]string, len(*in)) 4479 for key, val := range *in { 4480 (*out)[key] = val 4481 } 4482 } 4483 if in.Template != nil { 4484 in, out := &in.Template, &out.Template 4485 if *in == nil { 4486 *out = nil 4487 } else { 4488 *out = new(PodTemplateSpec) 4489 (*in).DeepCopyInto(*out) 4490 } 4491 } 4492 return 4493} 4494 4495// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerSpec. 4496func (in *ReplicationControllerSpec) DeepCopy() *ReplicationControllerSpec { 4497 if in == nil { 4498 return nil 4499 } 4500 out := new(ReplicationControllerSpec) 4501 in.DeepCopyInto(out) 4502 return out 4503} 4504 4505// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4506func (in *ReplicationControllerStatus) DeepCopyInto(out *ReplicationControllerStatus) { 4507 *out = *in 4508 if in.Conditions != nil { 4509 in, out := &in.Conditions, &out.Conditions 4510 *out = make([]ReplicationControllerCondition, len(*in)) 4511 for i := range *in { 4512 (*in)[i].DeepCopyInto(&(*out)[i]) 4513 } 4514 } 4515 return 4516} 4517 4518// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerStatus. 4519func (in *ReplicationControllerStatus) DeepCopy() *ReplicationControllerStatus { 4520 if in == nil { 4521 return nil 4522 } 4523 out := new(ReplicationControllerStatus) 4524 in.DeepCopyInto(out) 4525 return out 4526} 4527 4528// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4529func (in *ResourceFieldSelector) DeepCopyInto(out *ResourceFieldSelector) { 4530 *out = *in 4531 out.Divisor = in.Divisor.DeepCopy() 4532 return 4533} 4534 4535// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFieldSelector. 4536func (in *ResourceFieldSelector) DeepCopy() *ResourceFieldSelector { 4537 if in == nil { 4538 return nil 4539 } 4540 out := new(ResourceFieldSelector) 4541 in.DeepCopyInto(out) 4542 return out 4543} 4544 4545// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4546func (in ResourceList) DeepCopyInto(out *ResourceList) { 4547 { 4548 in := &in 4549 *out = make(ResourceList, len(*in)) 4550 for key, val := range *in { 4551 (*out)[key] = val.DeepCopy() 4552 } 4553 return 4554 } 4555} 4556 4557// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceList. 4558func (in ResourceList) DeepCopy() ResourceList { 4559 if in == nil { 4560 return nil 4561 } 4562 out := new(ResourceList) 4563 in.DeepCopyInto(out) 4564 return *out 4565} 4566 4567// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4568func (in *ResourceQuota) DeepCopyInto(out *ResourceQuota) { 4569 *out = *in 4570 out.TypeMeta = in.TypeMeta 4571 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 4572 in.Spec.DeepCopyInto(&out.Spec) 4573 in.Status.DeepCopyInto(&out.Status) 4574 return 4575} 4576 4577// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuota. 4578func (in *ResourceQuota) DeepCopy() *ResourceQuota { 4579 if in == nil { 4580 return nil 4581 } 4582 out := new(ResourceQuota) 4583 in.DeepCopyInto(out) 4584 return out 4585} 4586 4587// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 4588func (in *ResourceQuota) DeepCopyObject() runtime.Object { 4589 if c := in.DeepCopy(); c != nil { 4590 return c 4591 } 4592 return nil 4593} 4594 4595// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4596func (in *ResourceQuotaList) DeepCopyInto(out *ResourceQuotaList) { 4597 *out = *in 4598 out.TypeMeta = in.TypeMeta 4599 out.ListMeta = in.ListMeta 4600 if in.Items != nil { 4601 in, out := &in.Items, &out.Items 4602 *out = make([]ResourceQuota, len(*in)) 4603 for i := range *in { 4604 (*in)[i].DeepCopyInto(&(*out)[i]) 4605 } 4606 } 4607 return 4608} 4609 4610// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaList. 4611func (in *ResourceQuotaList) DeepCopy() *ResourceQuotaList { 4612 if in == nil { 4613 return nil 4614 } 4615 out := new(ResourceQuotaList) 4616 in.DeepCopyInto(out) 4617 return out 4618} 4619 4620// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 4621func (in *ResourceQuotaList) DeepCopyObject() runtime.Object { 4622 if c := in.DeepCopy(); c != nil { 4623 return c 4624 } 4625 return nil 4626} 4627 4628// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4629func (in *ResourceQuotaSpec) DeepCopyInto(out *ResourceQuotaSpec) { 4630 *out = *in 4631 if in.Hard != nil { 4632 in, out := &in.Hard, &out.Hard 4633 *out = make(ResourceList, len(*in)) 4634 for key, val := range *in { 4635 (*out)[key] = val.DeepCopy() 4636 } 4637 } 4638 if in.Scopes != nil { 4639 in, out := &in.Scopes, &out.Scopes 4640 *out = make([]ResourceQuotaScope, len(*in)) 4641 copy(*out, *in) 4642 } 4643 if in.ScopeSelector != nil { 4644 in, out := &in.ScopeSelector, &out.ScopeSelector 4645 if *in == nil { 4646 *out = nil 4647 } else { 4648 *out = new(ScopeSelector) 4649 (*in).DeepCopyInto(*out) 4650 } 4651 } 4652 return 4653} 4654 4655// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec. 4656func (in *ResourceQuotaSpec) DeepCopy() *ResourceQuotaSpec { 4657 if in == nil { 4658 return nil 4659 } 4660 out := new(ResourceQuotaSpec) 4661 in.DeepCopyInto(out) 4662 return out 4663} 4664 4665// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4666func (in *ResourceQuotaStatus) DeepCopyInto(out *ResourceQuotaStatus) { 4667 *out = *in 4668 if in.Hard != nil { 4669 in, out := &in.Hard, &out.Hard 4670 *out = make(ResourceList, len(*in)) 4671 for key, val := range *in { 4672 (*out)[key] = val.DeepCopy() 4673 } 4674 } 4675 if in.Used != nil { 4676 in, out := &in.Used, &out.Used 4677 *out = make(ResourceList, len(*in)) 4678 for key, val := range *in { 4679 (*out)[key] = val.DeepCopy() 4680 } 4681 } 4682 return 4683} 4684 4685// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaStatus. 4686func (in *ResourceQuotaStatus) DeepCopy() *ResourceQuotaStatus { 4687 if in == nil { 4688 return nil 4689 } 4690 out := new(ResourceQuotaStatus) 4691 in.DeepCopyInto(out) 4692 return out 4693} 4694 4695// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4696func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements) { 4697 *out = *in 4698 if in.Limits != nil { 4699 in, out := &in.Limits, &out.Limits 4700 *out = make(ResourceList, len(*in)) 4701 for key, val := range *in { 4702 (*out)[key] = val.DeepCopy() 4703 } 4704 } 4705 if in.Requests != nil { 4706 in, out := &in.Requests, &out.Requests 4707 *out = make(ResourceList, len(*in)) 4708 for key, val := range *in { 4709 (*out)[key] = val.DeepCopy() 4710 } 4711 } 4712 return 4713} 4714 4715// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements. 4716func (in *ResourceRequirements) DeepCopy() *ResourceRequirements { 4717 if in == nil { 4718 return nil 4719 } 4720 out := new(ResourceRequirements) 4721 in.DeepCopyInto(out) 4722 return out 4723} 4724 4725// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4726func (in *SELinuxOptions) DeepCopyInto(out *SELinuxOptions) { 4727 *out = *in 4728 return 4729} 4730 4731// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxOptions. 4732func (in *SELinuxOptions) DeepCopy() *SELinuxOptions { 4733 if in == nil { 4734 return nil 4735 } 4736 out := new(SELinuxOptions) 4737 in.DeepCopyInto(out) 4738 return out 4739} 4740 4741// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4742func (in *ScaleIOPersistentVolumeSource) DeepCopyInto(out *ScaleIOPersistentVolumeSource) { 4743 *out = *in 4744 if in.SecretRef != nil { 4745 in, out := &in.SecretRef, &out.SecretRef 4746 if *in == nil { 4747 *out = nil 4748 } else { 4749 *out = new(SecretReference) 4750 **out = **in 4751 } 4752 } 4753 return 4754} 4755 4756// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOPersistentVolumeSource. 4757func (in *ScaleIOPersistentVolumeSource) DeepCopy() *ScaleIOPersistentVolumeSource { 4758 if in == nil { 4759 return nil 4760 } 4761 out := new(ScaleIOPersistentVolumeSource) 4762 in.DeepCopyInto(out) 4763 return out 4764} 4765 4766// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4767func (in *ScaleIOVolumeSource) DeepCopyInto(out *ScaleIOVolumeSource) { 4768 *out = *in 4769 if in.SecretRef != nil { 4770 in, out := &in.SecretRef, &out.SecretRef 4771 if *in == nil { 4772 *out = nil 4773 } else { 4774 *out = new(LocalObjectReference) 4775 **out = **in 4776 } 4777 } 4778 return 4779} 4780 4781// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOVolumeSource. 4782func (in *ScaleIOVolumeSource) DeepCopy() *ScaleIOVolumeSource { 4783 if in == nil { 4784 return nil 4785 } 4786 out := new(ScaleIOVolumeSource) 4787 in.DeepCopyInto(out) 4788 return out 4789} 4790 4791// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4792func (in *ScopeSelector) DeepCopyInto(out *ScopeSelector) { 4793 *out = *in 4794 if in.MatchExpressions != nil { 4795 in, out := &in.MatchExpressions, &out.MatchExpressions 4796 *out = make([]ScopedResourceSelectorRequirement, len(*in)) 4797 for i := range *in { 4798 (*in)[i].DeepCopyInto(&(*out)[i]) 4799 } 4800 } 4801 return 4802} 4803 4804// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeSelector. 4805func (in *ScopeSelector) DeepCopy() *ScopeSelector { 4806 if in == nil { 4807 return nil 4808 } 4809 out := new(ScopeSelector) 4810 in.DeepCopyInto(out) 4811 return out 4812} 4813 4814// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4815func (in *ScopedResourceSelectorRequirement) DeepCopyInto(out *ScopedResourceSelectorRequirement) { 4816 *out = *in 4817 if in.Values != nil { 4818 in, out := &in.Values, &out.Values 4819 *out = make([]string, len(*in)) 4820 copy(*out, *in) 4821 } 4822 return 4823} 4824 4825// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopedResourceSelectorRequirement. 4826func (in *ScopedResourceSelectorRequirement) DeepCopy() *ScopedResourceSelectorRequirement { 4827 if in == nil { 4828 return nil 4829 } 4830 out := new(ScopedResourceSelectorRequirement) 4831 in.DeepCopyInto(out) 4832 return out 4833} 4834 4835// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4836func (in *Secret) DeepCopyInto(out *Secret) { 4837 *out = *in 4838 out.TypeMeta = in.TypeMeta 4839 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 4840 if in.Data != nil { 4841 in, out := &in.Data, &out.Data 4842 *out = make(map[string][]byte, len(*in)) 4843 for key, val := range *in { 4844 if val == nil { 4845 (*out)[key] = nil 4846 } else { 4847 (*out)[key] = make([]byte, len(val)) 4848 copy((*out)[key], val) 4849 } 4850 } 4851 } 4852 if in.StringData != nil { 4853 in, out := &in.StringData, &out.StringData 4854 *out = make(map[string]string, len(*in)) 4855 for key, val := range *in { 4856 (*out)[key] = val 4857 } 4858 } 4859 return 4860} 4861 4862// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret. 4863func (in *Secret) DeepCopy() *Secret { 4864 if in == nil { 4865 return nil 4866 } 4867 out := new(Secret) 4868 in.DeepCopyInto(out) 4869 return out 4870} 4871 4872// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 4873func (in *Secret) DeepCopyObject() runtime.Object { 4874 if c := in.DeepCopy(); c != nil { 4875 return c 4876 } 4877 return nil 4878} 4879 4880// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4881func (in *SecretEnvSource) DeepCopyInto(out *SecretEnvSource) { 4882 *out = *in 4883 out.LocalObjectReference = in.LocalObjectReference 4884 if in.Optional != nil { 4885 in, out := &in.Optional, &out.Optional 4886 if *in == nil { 4887 *out = nil 4888 } else { 4889 *out = new(bool) 4890 **out = **in 4891 } 4892 } 4893 return 4894} 4895 4896// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretEnvSource. 4897func (in *SecretEnvSource) DeepCopy() *SecretEnvSource { 4898 if in == nil { 4899 return nil 4900 } 4901 out := new(SecretEnvSource) 4902 in.DeepCopyInto(out) 4903 return out 4904} 4905 4906// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4907func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector) { 4908 *out = *in 4909 out.LocalObjectReference = in.LocalObjectReference 4910 if in.Optional != nil { 4911 in, out := &in.Optional, &out.Optional 4912 if *in == nil { 4913 *out = nil 4914 } else { 4915 *out = new(bool) 4916 **out = **in 4917 } 4918 } 4919 return 4920} 4921 4922// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector. 4923func (in *SecretKeySelector) DeepCopy() *SecretKeySelector { 4924 if in == nil { 4925 return nil 4926 } 4927 out := new(SecretKeySelector) 4928 in.DeepCopyInto(out) 4929 return out 4930} 4931 4932// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4933func (in *SecretList) DeepCopyInto(out *SecretList) { 4934 *out = *in 4935 out.TypeMeta = in.TypeMeta 4936 out.ListMeta = in.ListMeta 4937 if in.Items != nil { 4938 in, out := &in.Items, &out.Items 4939 *out = make([]Secret, len(*in)) 4940 for i := range *in { 4941 (*in)[i].DeepCopyInto(&(*out)[i]) 4942 } 4943 } 4944 return 4945} 4946 4947// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList. 4948func (in *SecretList) DeepCopy() *SecretList { 4949 if in == nil { 4950 return nil 4951 } 4952 out := new(SecretList) 4953 in.DeepCopyInto(out) 4954 return out 4955} 4956 4957// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 4958func (in *SecretList) DeepCopyObject() runtime.Object { 4959 if c := in.DeepCopy(); c != nil { 4960 return c 4961 } 4962 return nil 4963} 4964 4965// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4966func (in *SecretProjection) DeepCopyInto(out *SecretProjection) { 4967 *out = *in 4968 out.LocalObjectReference = in.LocalObjectReference 4969 if in.Items != nil { 4970 in, out := &in.Items, &out.Items 4971 *out = make([]KeyToPath, len(*in)) 4972 for i := range *in { 4973 (*in)[i].DeepCopyInto(&(*out)[i]) 4974 } 4975 } 4976 if in.Optional != nil { 4977 in, out := &in.Optional, &out.Optional 4978 if *in == nil { 4979 *out = nil 4980 } else { 4981 *out = new(bool) 4982 **out = **in 4983 } 4984 } 4985 return 4986} 4987 4988// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProjection. 4989func (in *SecretProjection) DeepCopy() *SecretProjection { 4990 if in == nil { 4991 return nil 4992 } 4993 out := new(SecretProjection) 4994 in.DeepCopyInto(out) 4995 return out 4996} 4997 4998// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 4999func (in *SecretReference) DeepCopyInto(out *SecretReference) { 5000 *out = *in 5001 return 5002} 5003 5004// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference. 5005func (in *SecretReference) DeepCopy() *SecretReference { 5006 if in == nil { 5007 return nil 5008 } 5009 out := new(SecretReference) 5010 in.DeepCopyInto(out) 5011 return out 5012} 5013 5014// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5015func (in *SecretVolumeSource) DeepCopyInto(out *SecretVolumeSource) { 5016 *out = *in 5017 if in.Items != nil { 5018 in, out := &in.Items, &out.Items 5019 *out = make([]KeyToPath, len(*in)) 5020 for i := range *in { 5021 (*in)[i].DeepCopyInto(&(*out)[i]) 5022 } 5023 } 5024 if in.DefaultMode != nil { 5025 in, out := &in.DefaultMode, &out.DefaultMode 5026 if *in == nil { 5027 *out = nil 5028 } else { 5029 *out = new(int32) 5030 **out = **in 5031 } 5032 } 5033 if in.Optional != nil { 5034 in, out := &in.Optional, &out.Optional 5035 if *in == nil { 5036 *out = nil 5037 } else { 5038 *out = new(bool) 5039 **out = **in 5040 } 5041 } 5042 return 5043} 5044 5045// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVolumeSource. 5046func (in *SecretVolumeSource) DeepCopy() *SecretVolumeSource { 5047 if in == nil { 5048 return nil 5049 } 5050 out := new(SecretVolumeSource) 5051 in.DeepCopyInto(out) 5052 return out 5053} 5054 5055// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5056func (in *SecurityContext) DeepCopyInto(out *SecurityContext) { 5057 *out = *in 5058 if in.Capabilities != nil { 5059 in, out := &in.Capabilities, &out.Capabilities 5060 if *in == nil { 5061 *out = nil 5062 } else { 5063 *out = new(Capabilities) 5064 (*in).DeepCopyInto(*out) 5065 } 5066 } 5067 if in.Privileged != nil { 5068 in, out := &in.Privileged, &out.Privileged 5069 if *in == nil { 5070 *out = nil 5071 } else { 5072 *out = new(bool) 5073 **out = **in 5074 } 5075 } 5076 if in.SELinuxOptions != nil { 5077 in, out := &in.SELinuxOptions, &out.SELinuxOptions 5078 if *in == nil { 5079 *out = nil 5080 } else { 5081 *out = new(SELinuxOptions) 5082 **out = **in 5083 } 5084 } 5085 if in.RunAsUser != nil { 5086 in, out := &in.RunAsUser, &out.RunAsUser 5087 if *in == nil { 5088 *out = nil 5089 } else { 5090 *out = new(int64) 5091 **out = **in 5092 } 5093 } 5094 if in.RunAsGroup != nil { 5095 in, out := &in.RunAsGroup, &out.RunAsGroup 5096 if *in == nil { 5097 *out = nil 5098 } else { 5099 *out = new(int64) 5100 **out = **in 5101 } 5102 } 5103 if in.RunAsNonRoot != nil { 5104 in, out := &in.RunAsNonRoot, &out.RunAsNonRoot 5105 if *in == nil { 5106 *out = nil 5107 } else { 5108 *out = new(bool) 5109 **out = **in 5110 } 5111 } 5112 if in.ReadOnlyRootFilesystem != nil { 5113 in, out := &in.ReadOnlyRootFilesystem, &out.ReadOnlyRootFilesystem 5114 if *in == nil { 5115 *out = nil 5116 } else { 5117 *out = new(bool) 5118 **out = **in 5119 } 5120 } 5121 if in.AllowPrivilegeEscalation != nil { 5122 in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation 5123 if *in == nil { 5124 *out = nil 5125 } else { 5126 *out = new(bool) 5127 **out = **in 5128 } 5129 } 5130 return 5131} 5132 5133// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContext. 5134func (in *SecurityContext) DeepCopy() *SecurityContext { 5135 if in == nil { 5136 return nil 5137 } 5138 out := new(SecurityContext) 5139 in.DeepCopyInto(out) 5140 return out 5141} 5142 5143// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5144func (in *SerializedReference) DeepCopyInto(out *SerializedReference) { 5145 *out = *in 5146 out.TypeMeta = in.TypeMeta 5147 out.Reference = in.Reference 5148 return 5149} 5150 5151// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerializedReference. 5152func (in *SerializedReference) DeepCopy() *SerializedReference { 5153 if in == nil { 5154 return nil 5155 } 5156 out := new(SerializedReference) 5157 in.DeepCopyInto(out) 5158 return out 5159} 5160 5161// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 5162func (in *SerializedReference) DeepCopyObject() runtime.Object { 5163 if c := in.DeepCopy(); c != nil { 5164 return c 5165 } 5166 return nil 5167} 5168 5169// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5170func (in *Service) DeepCopyInto(out *Service) { 5171 *out = *in 5172 out.TypeMeta = in.TypeMeta 5173 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 5174 in.Spec.DeepCopyInto(&out.Spec) 5175 in.Status.DeepCopyInto(&out.Status) 5176 return 5177} 5178 5179// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service. 5180func (in *Service) DeepCopy() *Service { 5181 if in == nil { 5182 return nil 5183 } 5184 out := new(Service) 5185 in.DeepCopyInto(out) 5186 return out 5187} 5188 5189// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 5190func (in *Service) DeepCopyObject() runtime.Object { 5191 if c := in.DeepCopy(); c != nil { 5192 return c 5193 } 5194 return nil 5195} 5196 5197// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5198func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount) { 5199 *out = *in 5200 out.TypeMeta = in.TypeMeta 5201 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 5202 if in.Secrets != nil { 5203 in, out := &in.Secrets, &out.Secrets 5204 *out = make([]ObjectReference, len(*in)) 5205 copy(*out, *in) 5206 } 5207 if in.ImagePullSecrets != nil { 5208 in, out := &in.ImagePullSecrets, &out.ImagePullSecrets 5209 *out = make([]LocalObjectReference, len(*in)) 5210 copy(*out, *in) 5211 } 5212 if in.AutomountServiceAccountToken != nil { 5213 in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken 5214 if *in == nil { 5215 *out = nil 5216 } else { 5217 *out = new(bool) 5218 **out = **in 5219 } 5220 } 5221 return 5222} 5223 5224// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount. 5225func (in *ServiceAccount) DeepCopy() *ServiceAccount { 5226 if in == nil { 5227 return nil 5228 } 5229 out := new(ServiceAccount) 5230 in.DeepCopyInto(out) 5231 return out 5232} 5233 5234// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 5235func (in *ServiceAccount) DeepCopyObject() runtime.Object { 5236 if c := in.DeepCopy(); c != nil { 5237 return c 5238 } 5239 return nil 5240} 5241 5242// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5243func (in *ServiceAccountList) DeepCopyInto(out *ServiceAccountList) { 5244 *out = *in 5245 out.TypeMeta = in.TypeMeta 5246 out.ListMeta = in.ListMeta 5247 if in.Items != nil { 5248 in, out := &in.Items, &out.Items 5249 *out = make([]ServiceAccount, len(*in)) 5250 for i := range *in { 5251 (*in)[i].DeepCopyInto(&(*out)[i]) 5252 } 5253 } 5254 return 5255} 5256 5257// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountList. 5258func (in *ServiceAccountList) DeepCopy() *ServiceAccountList { 5259 if in == nil { 5260 return nil 5261 } 5262 out := new(ServiceAccountList) 5263 in.DeepCopyInto(out) 5264 return out 5265} 5266 5267// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 5268func (in *ServiceAccountList) DeepCopyObject() runtime.Object { 5269 if c := in.DeepCopy(); c != nil { 5270 return c 5271 } 5272 return nil 5273} 5274 5275// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5276func (in *ServiceAccountTokenProjection) DeepCopyInto(out *ServiceAccountTokenProjection) { 5277 *out = *in 5278 if in.ExpirationSeconds != nil { 5279 in, out := &in.ExpirationSeconds, &out.ExpirationSeconds 5280 if *in == nil { 5281 *out = nil 5282 } else { 5283 *out = new(int64) 5284 **out = **in 5285 } 5286 } 5287 return 5288} 5289 5290// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountTokenProjection. 5291func (in *ServiceAccountTokenProjection) DeepCopy() *ServiceAccountTokenProjection { 5292 if in == nil { 5293 return nil 5294 } 5295 out := new(ServiceAccountTokenProjection) 5296 in.DeepCopyInto(out) 5297 return out 5298} 5299 5300// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5301func (in *ServiceList) DeepCopyInto(out *ServiceList) { 5302 *out = *in 5303 out.TypeMeta = in.TypeMeta 5304 out.ListMeta = in.ListMeta 5305 if in.Items != nil { 5306 in, out := &in.Items, &out.Items 5307 *out = make([]Service, len(*in)) 5308 for i := range *in { 5309 (*in)[i].DeepCopyInto(&(*out)[i]) 5310 } 5311 } 5312 return 5313} 5314 5315// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList. 5316func (in *ServiceList) DeepCopy() *ServiceList { 5317 if in == nil { 5318 return nil 5319 } 5320 out := new(ServiceList) 5321 in.DeepCopyInto(out) 5322 return out 5323} 5324 5325// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 5326func (in *ServiceList) DeepCopyObject() runtime.Object { 5327 if c := in.DeepCopy(); c != nil { 5328 return c 5329 } 5330 return nil 5331} 5332 5333// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5334func (in *ServicePort) DeepCopyInto(out *ServicePort) { 5335 *out = *in 5336 out.TargetPort = in.TargetPort 5337 return 5338} 5339 5340// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort. 5341func (in *ServicePort) DeepCopy() *ServicePort { 5342 if in == nil { 5343 return nil 5344 } 5345 out := new(ServicePort) 5346 in.DeepCopyInto(out) 5347 return out 5348} 5349 5350// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5351func (in *ServiceProxyOptions) DeepCopyInto(out *ServiceProxyOptions) { 5352 *out = *in 5353 out.TypeMeta = in.TypeMeta 5354 return 5355} 5356 5357// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProxyOptions. 5358func (in *ServiceProxyOptions) DeepCopy() *ServiceProxyOptions { 5359 if in == nil { 5360 return nil 5361 } 5362 out := new(ServiceProxyOptions) 5363 in.DeepCopyInto(out) 5364 return out 5365} 5366 5367// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 5368func (in *ServiceProxyOptions) DeepCopyObject() runtime.Object { 5369 if c := in.DeepCopy(); c != nil { 5370 return c 5371 } 5372 return nil 5373} 5374 5375// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5376func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) { 5377 *out = *in 5378 if in.Ports != nil { 5379 in, out := &in.Ports, &out.Ports 5380 *out = make([]ServicePort, len(*in)) 5381 copy(*out, *in) 5382 } 5383 if in.Selector != nil { 5384 in, out := &in.Selector, &out.Selector 5385 *out = make(map[string]string, len(*in)) 5386 for key, val := range *in { 5387 (*out)[key] = val 5388 } 5389 } 5390 if in.ExternalIPs != nil { 5391 in, out := &in.ExternalIPs, &out.ExternalIPs 5392 *out = make([]string, len(*in)) 5393 copy(*out, *in) 5394 } 5395 if in.LoadBalancerSourceRanges != nil { 5396 in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges 5397 *out = make([]string, len(*in)) 5398 copy(*out, *in) 5399 } 5400 if in.SessionAffinityConfig != nil { 5401 in, out := &in.SessionAffinityConfig, &out.SessionAffinityConfig 5402 if *in == nil { 5403 *out = nil 5404 } else { 5405 *out = new(SessionAffinityConfig) 5406 (*in).DeepCopyInto(*out) 5407 } 5408 } 5409 return 5410} 5411 5412// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec. 5413func (in *ServiceSpec) DeepCopy() *ServiceSpec { 5414 if in == nil { 5415 return nil 5416 } 5417 out := new(ServiceSpec) 5418 in.DeepCopyInto(out) 5419 return out 5420} 5421 5422// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5423func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus) { 5424 *out = *in 5425 in.LoadBalancer.DeepCopyInto(&out.LoadBalancer) 5426 return 5427} 5428 5429// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus. 5430func (in *ServiceStatus) DeepCopy() *ServiceStatus { 5431 if in == nil { 5432 return nil 5433 } 5434 out := new(ServiceStatus) 5435 in.DeepCopyInto(out) 5436 return out 5437} 5438 5439// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5440func (in *SessionAffinityConfig) DeepCopyInto(out *SessionAffinityConfig) { 5441 *out = *in 5442 if in.ClientIP != nil { 5443 in, out := &in.ClientIP, &out.ClientIP 5444 if *in == nil { 5445 *out = nil 5446 } else { 5447 *out = new(ClientIPConfig) 5448 (*in).DeepCopyInto(*out) 5449 } 5450 } 5451 return 5452} 5453 5454// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionAffinityConfig. 5455func (in *SessionAffinityConfig) DeepCopy() *SessionAffinityConfig { 5456 if in == nil { 5457 return nil 5458 } 5459 out := new(SessionAffinityConfig) 5460 in.DeepCopyInto(out) 5461 return out 5462} 5463 5464// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5465func (in *StorageOSPersistentVolumeSource) DeepCopyInto(out *StorageOSPersistentVolumeSource) { 5466 *out = *in 5467 if in.SecretRef != nil { 5468 in, out := &in.SecretRef, &out.SecretRef 5469 if *in == nil { 5470 *out = nil 5471 } else { 5472 *out = new(ObjectReference) 5473 **out = **in 5474 } 5475 } 5476 return 5477} 5478 5479// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSPersistentVolumeSource. 5480func (in *StorageOSPersistentVolumeSource) DeepCopy() *StorageOSPersistentVolumeSource { 5481 if in == nil { 5482 return nil 5483 } 5484 out := new(StorageOSPersistentVolumeSource) 5485 in.DeepCopyInto(out) 5486 return out 5487} 5488 5489// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5490func (in *StorageOSVolumeSource) DeepCopyInto(out *StorageOSVolumeSource) { 5491 *out = *in 5492 if in.SecretRef != nil { 5493 in, out := &in.SecretRef, &out.SecretRef 5494 if *in == nil { 5495 *out = nil 5496 } else { 5497 *out = new(LocalObjectReference) 5498 **out = **in 5499 } 5500 } 5501 return 5502} 5503 5504// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSVolumeSource. 5505func (in *StorageOSVolumeSource) DeepCopy() *StorageOSVolumeSource { 5506 if in == nil { 5507 return nil 5508 } 5509 out := new(StorageOSVolumeSource) 5510 in.DeepCopyInto(out) 5511 return out 5512} 5513 5514// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5515func (in *Sysctl) DeepCopyInto(out *Sysctl) { 5516 *out = *in 5517 return 5518} 5519 5520// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sysctl. 5521func (in *Sysctl) DeepCopy() *Sysctl { 5522 if in == nil { 5523 return nil 5524 } 5525 out := new(Sysctl) 5526 in.DeepCopyInto(out) 5527 return out 5528} 5529 5530// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5531func (in *TCPSocketAction) DeepCopyInto(out *TCPSocketAction) { 5532 *out = *in 5533 out.Port = in.Port 5534 return 5535} 5536 5537// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPSocketAction. 5538func (in *TCPSocketAction) DeepCopy() *TCPSocketAction { 5539 if in == nil { 5540 return nil 5541 } 5542 out := new(TCPSocketAction) 5543 in.DeepCopyInto(out) 5544 return out 5545} 5546 5547// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5548func (in *Taint) DeepCopyInto(out *Taint) { 5549 *out = *in 5550 if in.TimeAdded != nil { 5551 in, out := &in.TimeAdded, &out.TimeAdded 5552 if *in == nil { 5553 *out = nil 5554 } else { 5555 *out = (*in).DeepCopy() 5556 } 5557 } 5558 return 5559} 5560 5561// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint. 5562func (in *Taint) DeepCopy() *Taint { 5563 if in == nil { 5564 return nil 5565 } 5566 out := new(Taint) 5567 in.DeepCopyInto(out) 5568 return out 5569} 5570 5571// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5572func (in *Toleration) DeepCopyInto(out *Toleration) { 5573 *out = *in 5574 if in.TolerationSeconds != nil { 5575 in, out := &in.TolerationSeconds, &out.TolerationSeconds 5576 if *in == nil { 5577 *out = nil 5578 } else { 5579 *out = new(int64) 5580 **out = **in 5581 } 5582 } 5583 return 5584} 5585 5586// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Toleration. 5587func (in *Toleration) DeepCopy() *Toleration { 5588 if in == nil { 5589 return nil 5590 } 5591 out := new(Toleration) 5592 in.DeepCopyInto(out) 5593 return out 5594} 5595 5596// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5597func (in *TopologySelectorLabelRequirement) DeepCopyInto(out *TopologySelectorLabelRequirement) { 5598 *out = *in 5599 if in.Values != nil { 5600 in, out := &in.Values, &out.Values 5601 *out = make([]string, len(*in)) 5602 copy(*out, *in) 5603 } 5604 return 5605} 5606 5607// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySelectorLabelRequirement. 5608func (in *TopologySelectorLabelRequirement) DeepCopy() *TopologySelectorLabelRequirement { 5609 if in == nil { 5610 return nil 5611 } 5612 out := new(TopologySelectorLabelRequirement) 5613 in.DeepCopyInto(out) 5614 return out 5615} 5616 5617// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5618func (in *TopologySelectorTerm) DeepCopyInto(out *TopologySelectorTerm) { 5619 *out = *in 5620 if in.MatchLabelExpressions != nil { 5621 in, out := &in.MatchLabelExpressions, &out.MatchLabelExpressions 5622 *out = make([]TopologySelectorLabelRequirement, len(*in)) 5623 for i := range *in { 5624 (*in)[i].DeepCopyInto(&(*out)[i]) 5625 } 5626 } 5627 return 5628} 5629 5630// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySelectorTerm. 5631func (in *TopologySelectorTerm) DeepCopy() *TopologySelectorTerm { 5632 if in == nil { 5633 return nil 5634 } 5635 out := new(TopologySelectorTerm) 5636 in.DeepCopyInto(out) 5637 return out 5638} 5639 5640// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5641func (in *Volume) DeepCopyInto(out *Volume) { 5642 *out = *in 5643 in.VolumeSource.DeepCopyInto(&out.VolumeSource) 5644 return 5645} 5646 5647// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume. 5648func (in *Volume) DeepCopy() *Volume { 5649 if in == nil { 5650 return nil 5651 } 5652 out := new(Volume) 5653 in.DeepCopyInto(out) 5654 return out 5655} 5656 5657// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5658func (in *VolumeDevice) DeepCopyInto(out *VolumeDevice) { 5659 *out = *in 5660 return 5661} 5662 5663// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeDevice. 5664func (in *VolumeDevice) DeepCopy() *VolumeDevice { 5665 if in == nil { 5666 return nil 5667 } 5668 out := new(VolumeDevice) 5669 in.DeepCopyInto(out) 5670 return out 5671} 5672 5673// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5674func (in *VolumeMount) DeepCopyInto(out *VolumeMount) { 5675 *out = *in 5676 if in.MountPropagation != nil { 5677 in, out := &in.MountPropagation, &out.MountPropagation 5678 if *in == nil { 5679 *out = nil 5680 } else { 5681 *out = new(MountPropagationMode) 5682 **out = **in 5683 } 5684 } 5685 return 5686} 5687 5688// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMount. 5689func (in *VolumeMount) DeepCopy() *VolumeMount { 5690 if in == nil { 5691 return nil 5692 } 5693 out := new(VolumeMount) 5694 in.DeepCopyInto(out) 5695 return out 5696} 5697 5698// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5699func (in *VolumeNodeAffinity) DeepCopyInto(out *VolumeNodeAffinity) { 5700 *out = *in 5701 if in.Required != nil { 5702 in, out := &in.Required, &out.Required 5703 if *in == nil { 5704 *out = nil 5705 } else { 5706 *out = new(NodeSelector) 5707 (*in).DeepCopyInto(*out) 5708 } 5709 } 5710 return 5711} 5712 5713// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeNodeAffinity. 5714func (in *VolumeNodeAffinity) DeepCopy() *VolumeNodeAffinity { 5715 if in == nil { 5716 return nil 5717 } 5718 out := new(VolumeNodeAffinity) 5719 in.DeepCopyInto(out) 5720 return out 5721} 5722 5723// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5724func (in *VolumeProjection) DeepCopyInto(out *VolumeProjection) { 5725 *out = *in 5726 if in.Secret != nil { 5727 in, out := &in.Secret, &out.Secret 5728 if *in == nil { 5729 *out = nil 5730 } else { 5731 *out = new(SecretProjection) 5732 (*in).DeepCopyInto(*out) 5733 } 5734 } 5735 if in.DownwardAPI != nil { 5736 in, out := &in.DownwardAPI, &out.DownwardAPI 5737 if *in == nil { 5738 *out = nil 5739 } else { 5740 *out = new(DownwardAPIProjection) 5741 (*in).DeepCopyInto(*out) 5742 } 5743 } 5744 if in.ConfigMap != nil { 5745 in, out := &in.ConfigMap, &out.ConfigMap 5746 if *in == nil { 5747 *out = nil 5748 } else { 5749 *out = new(ConfigMapProjection) 5750 (*in).DeepCopyInto(*out) 5751 } 5752 } 5753 if in.ServiceAccountToken != nil { 5754 in, out := &in.ServiceAccountToken, &out.ServiceAccountToken 5755 if *in == nil { 5756 *out = nil 5757 } else { 5758 *out = new(ServiceAccountTokenProjection) 5759 (*in).DeepCopyInto(*out) 5760 } 5761 } 5762 return 5763} 5764 5765// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeProjection. 5766func (in *VolumeProjection) DeepCopy() *VolumeProjection { 5767 if in == nil { 5768 return nil 5769 } 5770 out := new(VolumeProjection) 5771 in.DeepCopyInto(out) 5772 return out 5773} 5774 5775// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 5776func (in *VolumeSource) DeepCopyInto(out *VolumeSource) { 5777 *out = *in 5778 if in.HostPath != nil { 5779 in, out := &in.HostPath, &out.HostPath 5780 if *in == nil { 5781 *out = nil 5782 } else { 5783 *out = new(HostPathVolumeSource) 5784 (*in).DeepCopyInto(*out) 5785 } 5786 } 5787 if in.EmptyDir != nil { 5788 in, out := &in.EmptyDir, &out.EmptyDir 5789 if *in == nil { 5790 *out = nil 5791 } else { 5792 *out = new(EmptyDirVolumeSource) 5793 (*in).DeepCopyInto(*out) 5794 } 5795 } 5796 if in.GCEPersistentDisk != nil { 5797 in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk 5798 if *in == nil { 5799 *out = nil 5800 } else { 5801 *out = new(GCEPersistentDiskVolumeSource) 5802 **out = **in 5803 } 5804 } 5805 if in.AWSElasticBlockStore != nil { 5806 in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore 5807 if *in == nil { 5808 *out = nil 5809 } else { 5810 *out = new(AWSElasticBlockStoreVolumeSource) 5811 **out = **in 5812 } 5813 } 5814 if in.GitRepo != nil { 5815 in, out := &in.GitRepo, &out.GitRepo 5816 if *in == nil { 5817 *out = nil 5818 } else { 5819 *out = new(GitRepoVolumeSource) 5820 **out = **in 5821 } 5822 } 5823 if in.Secret != nil { 5824 in, out := &in.Secret, &out.Secret 5825 if *in == nil { 5826 *out = nil 5827 } else { 5828 *out = new(SecretVolumeSource) 5829 (*in).DeepCopyInto(*out) 5830 } 5831 } 5832 if in.NFS != nil { 5833 in, out := &in.NFS, &out.NFS 5834 if *in == nil { 5835 *out = nil 5836 } else { 5837 *out = new(NFSVolumeSource) 5838 **out = **in 5839 } 5840 } 5841 if in.ISCSI != nil { 5842 in, out := &in.ISCSI, &out.ISCSI 5843 if *in == nil { 5844 *out = nil 5845 } else { 5846 *out = new(ISCSIVolumeSource) 5847 (*in).DeepCopyInto(*out) 5848 } 5849 } 5850 if in.Glusterfs != nil { 5851 in, out := &in.Glusterfs, &out.Glusterfs 5852 if *in == nil { 5853 *out = nil 5854 } else { 5855 *out = new(GlusterfsVolumeSource) 5856 **out = **in 5857 } 5858 } 5859 if in.PersistentVolumeClaim != nil { 5860 in, out := &in.PersistentVolumeClaim, &out.PersistentVolumeClaim 5861 if *in == nil { 5862 *out = nil 5863 } else { 5864 *out = new(PersistentVolumeClaimVolumeSource) 5865 **out = **in 5866 } 5867 } 5868 if in.RBD != nil { 5869 in, out := &in.RBD, &out.RBD 5870 if *in == nil { 5871 *out = nil 5872 } else { 5873 *out = new(RBDVolumeSource) 5874 (*in).DeepCopyInto(*out) 5875 } 5876 } 5877 if in.FlexVolume != nil { 5878 in, out := &in.FlexVolume, &out.FlexVolume 5879 if *in == nil { 5880 *out = nil 5881 } else { 5882 *out = new(FlexVolumeSource) 5883 (*in).DeepCopyInto(*out) 5884 } 5885 } 5886 if in.Cinder != nil { 5887 in, out := &in.Cinder, &out.Cinder 5888 if *in == nil { 5889 *out = nil 5890 } else { 5891 *out = new(CinderVolumeSource) 5892 (*in).DeepCopyInto(*out) 5893 } 5894 } 5895 if in.CephFS != nil { 5896 in, out := &in.CephFS, &out.CephFS 5897 if *in == nil { 5898 *out = nil 5899 } else { 5900 *out = new(CephFSVolumeSource) 5901 (*in).DeepCopyInto(*out) 5902 } 5903 } 5904 if in.Flocker != nil { 5905 in, out := &in.Flocker, &out.Flocker 5906 if *in == nil { 5907 *out = nil 5908 } else { 5909 *out = new(FlockerVolumeSource) 5910 **out = **in 5911 } 5912 } 5913 if in.DownwardAPI != nil { 5914 in, out := &in.DownwardAPI, &out.DownwardAPI 5915 if *in == nil { 5916 *out = nil 5917 } else { 5918 *out = new(DownwardAPIVolumeSource) 5919 (*in).DeepCopyInto(*out) 5920 } 5921 } 5922 if in.FC != nil { 5923 in, out := &in.FC, &out.FC 5924 if *in == nil { 5925 *out = nil 5926 } else { 5927 *out = new(FCVolumeSource) 5928 (*in).DeepCopyInto(*out) 5929 } 5930 } 5931 if in.AzureFile != nil { 5932 in, out := &in.AzureFile, &out.AzureFile 5933 if *in == nil { 5934 *out = nil 5935 } else { 5936 *out = new(AzureFileVolumeSource) 5937 **out = **in 5938 } 5939 } 5940 if in.ConfigMap != nil { 5941 in, out := &in.ConfigMap, &out.ConfigMap 5942 if *in == nil { 5943 *out = nil 5944 } else { 5945 *out = new(ConfigMapVolumeSource) 5946 (*in).DeepCopyInto(*out) 5947 } 5948 } 5949 if in.VsphereVolume != nil { 5950 in, out := &in.VsphereVolume, &out.VsphereVolume 5951 if *in == nil { 5952 *out = nil 5953 } else { 5954 *out = new(VsphereVirtualDiskVolumeSource) 5955 **out = **in 5956 } 5957 } 5958 if in.Quobyte != nil { 5959 in, out := &in.Quobyte, &out.Quobyte 5960 if *in == nil { 5961 *out = nil 5962 } else { 5963 *out = new(QuobyteVolumeSource) 5964 **out = **in 5965 } 5966 } 5967 if in.AzureDisk != nil { 5968 in, out := &in.AzureDisk, &out.AzureDisk 5969 if *in == nil { 5970 *out = nil 5971 } else { 5972 *out = new(AzureDiskVolumeSource) 5973 (*in).DeepCopyInto(*out) 5974 } 5975 } 5976 if in.PhotonPersistentDisk != nil { 5977 in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk 5978 if *in == nil { 5979 *out = nil 5980 } else { 5981 *out = new(PhotonPersistentDiskVolumeSource) 5982 **out = **in 5983 } 5984 } 5985 if in.Projected != nil { 5986 in, out := &in.Projected, &out.Projected 5987 if *in == nil { 5988 *out = nil 5989 } else { 5990 *out = new(ProjectedVolumeSource) 5991 (*in).DeepCopyInto(*out) 5992 } 5993 } 5994 if in.PortworxVolume != nil { 5995 in, out := &in.PortworxVolume, &out.PortworxVolume 5996 if *in == nil { 5997 *out = nil 5998 } else { 5999 *out = new(PortworxVolumeSource) 6000 **out = **in 6001 } 6002 } 6003 if in.ScaleIO != nil { 6004 in, out := &in.ScaleIO, &out.ScaleIO 6005 if *in == nil { 6006 *out = nil 6007 } else { 6008 *out = new(ScaleIOVolumeSource) 6009 (*in).DeepCopyInto(*out) 6010 } 6011 } 6012 if in.StorageOS != nil { 6013 in, out := &in.StorageOS, &out.StorageOS 6014 if *in == nil { 6015 *out = nil 6016 } else { 6017 *out = new(StorageOSVolumeSource) 6018 (*in).DeepCopyInto(*out) 6019 } 6020 } 6021 return 6022} 6023 6024// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSource. 6025func (in *VolumeSource) DeepCopy() *VolumeSource { 6026 if in == nil { 6027 return nil 6028 } 6029 out := new(VolumeSource) 6030 in.DeepCopyInto(out) 6031 return out 6032} 6033 6034// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 6035func (in *VsphereVirtualDiskVolumeSource) DeepCopyInto(out *VsphereVirtualDiskVolumeSource) { 6036 *out = *in 6037 return 6038} 6039 6040// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereVirtualDiskVolumeSource. 6041func (in *VsphereVirtualDiskVolumeSource) DeepCopy() *VsphereVirtualDiskVolumeSource { 6042 if in == nil { 6043 return nil 6044 } 6045 out := new(VsphereVirtualDiskVolumeSource) 6046 in.DeepCopyInto(out) 6047 return out 6048} 6049 6050// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 6051func (in *WeightedPodAffinityTerm) DeepCopyInto(out *WeightedPodAffinityTerm) { 6052 *out = *in 6053 in.PodAffinityTerm.DeepCopyInto(&out.PodAffinityTerm) 6054 return 6055} 6056 6057// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedPodAffinityTerm. 6058func (in *WeightedPodAffinityTerm) DeepCopy() *WeightedPodAffinityTerm { 6059 if in == nil { 6060 return nil 6061 } 6062 out := new(WeightedPodAffinityTerm) 6063 in.DeepCopyInto(out) 6064 return out 6065} 6066