k8s.io/kubernetes@v1.29.3/pkg/apis/apps/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright The Kubernetes Authors. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // Code generated by deepcopy-gen. DO NOT EDIT. 21 22 package apps 23 24 import ( 25 v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 26 runtime "k8s.io/apimachinery/pkg/runtime" 27 intstr "k8s.io/apimachinery/pkg/util/intstr" 28 core "k8s.io/kubernetes/pkg/apis/core" 29 ) 30 31 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 32 func (in *ControllerRevision) DeepCopyInto(out *ControllerRevision) { 33 *out = *in 34 out.TypeMeta = in.TypeMeta 35 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 36 if in.Data != nil { 37 out.Data = in.Data.DeepCopyObject() 38 } 39 return 40 } 41 42 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision. 43 func (in *ControllerRevision) DeepCopy() *ControllerRevision { 44 if in == nil { 45 return nil 46 } 47 out := new(ControllerRevision) 48 in.DeepCopyInto(out) 49 return out 50 } 51 52 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 53 func (in *ControllerRevision) DeepCopyObject() runtime.Object { 54 if c := in.DeepCopy(); c != nil { 55 return c 56 } 57 return nil 58 } 59 60 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 61 func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList) { 62 *out = *in 63 out.TypeMeta = in.TypeMeta 64 in.ListMeta.DeepCopyInto(&out.ListMeta) 65 if in.Items != nil { 66 in, out := &in.Items, &out.Items 67 *out = make([]ControllerRevision, len(*in)) 68 for i := range *in { 69 (*in)[i].DeepCopyInto(&(*out)[i]) 70 } 71 } 72 return 73 } 74 75 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList. 76 func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList { 77 if in == nil { 78 return nil 79 } 80 out := new(ControllerRevisionList) 81 in.DeepCopyInto(out) 82 return out 83 } 84 85 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 86 func (in *ControllerRevisionList) DeepCopyObject() runtime.Object { 87 if c := in.DeepCopy(); c != nil { 88 return c 89 } 90 return nil 91 } 92 93 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 94 func (in *DaemonSet) DeepCopyInto(out *DaemonSet) { 95 *out = *in 96 out.TypeMeta = in.TypeMeta 97 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 98 in.Spec.DeepCopyInto(&out.Spec) 99 in.Status.DeepCopyInto(&out.Status) 100 return 101 } 102 103 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet. 104 func (in *DaemonSet) DeepCopy() *DaemonSet { 105 if in == nil { 106 return nil 107 } 108 out := new(DaemonSet) 109 in.DeepCopyInto(out) 110 return out 111 } 112 113 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 114 func (in *DaemonSet) DeepCopyObject() runtime.Object { 115 if c := in.DeepCopy(); c != nil { 116 return c 117 } 118 return nil 119 } 120 121 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 122 func (in *DaemonSetCondition) DeepCopyInto(out *DaemonSetCondition) { 123 *out = *in 124 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 125 return 126 } 127 128 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetCondition. 129 func (in *DaemonSetCondition) DeepCopy() *DaemonSetCondition { 130 if in == nil { 131 return nil 132 } 133 out := new(DaemonSetCondition) 134 in.DeepCopyInto(out) 135 return out 136 } 137 138 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 139 func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) { 140 *out = *in 141 out.TypeMeta = in.TypeMeta 142 in.ListMeta.DeepCopyInto(&out.ListMeta) 143 if in.Items != nil { 144 in, out := &in.Items, &out.Items 145 *out = make([]DaemonSet, len(*in)) 146 for i := range *in { 147 (*in)[i].DeepCopyInto(&(*out)[i]) 148 } 149 } 150 return 151 } 152 153 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList. 154 func (in *DaemonSetList) DeepCopy() *DaemonSetList { 155 if in == nil { 156 return nil 157 } 158 out := new(DaemonSetList) 159 in.DeepCopyInto(out) 160 return out 161 } 162 163 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 164 func (in *DaemonSetList) DeepCopyObject() runtime.Object { 165 if c := in.DeepCopy(); c != nil { 166 return c 167 } 168 return nil 169 } 170 171 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 172 func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) { 173 *out = *in 174 if in.Selector != nil { 175 in, out := &in.Selector, &out.Selector 176 *out = new(v1.LabelSelector) 177 (*in).DeepCopyInto(*out) 178 } 179 in.Template.DeepCopyInto(&out.Template) 180 in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy) 181 if in.RevisionHistoryLimit != nil { 182 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit 183 *out = new(int32) 184 **out = **in 185 } 186 return 187 } 188 189 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec. 190 func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec { 191 if in == nil { 192 return nil 193 } 194 out := new(DaemonSetSpec) 195 in.DeepCopyInto(out) 196 return out 197 } 198 199 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 200 func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) { 201 *out = *in 202 if in.CollisionCount != nil { 203 in, out := &in.CollisionCount, &out.CollisionCount 204 *out = new(int32) 205 **out = **in 206 } 207 if in.Conditions != nil { 208 in, out := &in.Conditions, &out.Conditions 209 *out = make([]DaemonSetCondition, len(*in)) 210 for i := range *in { 211 (*in)[i].DeepCopyInto(&(*out)[i]) 212 } 213 } 214 return 215 } 216 217 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus. 218 func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus { 219 if in == nil { 220 return nil 221 } 222 out := new(DaemonSetStatus) 223 in.DeepCopyInto(out) 224 return out 225 } 226 227 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 228 func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) { 229 *out = *in 230 if in.RollingUpdate != nil { 231 in, out := &in.RollingUpdate, &out.RollingUpdate 232 *out = new(RollingUpdateDaemonSet) 233 **out = **in 234 } 235 return 236 } 237 238 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy. 239 func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy { 240 if in == nil { 241 return nil 242 } 243 out := new(DaemonSetUpdateStrategy) 244 in.DeepCopyInto(out) 245 return out 246 } 247 248 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 249 func (in *Deployment) DeepCopyInto(out *Deployment) { 250 *out = *in 251 out.TypeMeta = in.TypeMeta 252 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 253 in.Spec.DeepCopyInto(&out.Spec) 254 in.Status.DeepCopyInto(&out.Status) 255 return 256 } 257 258 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment. 259 func (in *Deployment) DeepCopy() *Deployment { 260 if in == nil { 261 return nil 262 } 263 out := new(Deployment) 264 in.DeepCopyInto(out) 265 return out 266 } 267 268 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 269 func (in *Deployment) DeepCopyObject() runtime.Object { 270 if c := in.DeepCopy(); c != nil { 271 return c 272 } 273 return nil 274 } 275 276 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 277 func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) { 278 *out = *in 279 in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime) 280 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 281 return 282 } 283 284 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition. 285 func (in *DeploymentCondition) DeepCopy() *DeploymentCondition { 286 if in == nil { 287 return nil 288 } 289 out := new(DeploymentCondition) 290 in.DeepCopyInto(out) 291 return out 292 } 293 294 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 295 func (in *DeploymentList) DeepCopyInto(out *DeploymentList) { 296 *out = *in 297 out.TypeMeta = in.TypeMeta 298 in.ListMeta.DeepCopyInto(&out.ListMeta) 299 if in.Items != nil { 300 in, out := &in.Items, &out.Items 301 *out = make([]Deployment, len(*in)) 302 for i := range *in { 303 (*in)[i].DeepCopyInto(&(*out)[i]) 304 } 305 } 306 return 307 } 308 309 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList. 310 func (in *DeploymentList) DeepCopy() *DeploymentList { 311 if in == nil { 312 return nil 313 } 314 out := new(DeploymentList) 315 in.DeepCopyInto(out) 316 return out 317 } 318 319 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 320 func (in *DeploymentList) DeepCopyObject() runtime.Object { 321 if c := in.DeepCopy(); c != nil { 322 return c 323 } 324 return nil 325 } 326 327 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 328 func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) { 329 *out = *in 330 out.TypeMeta = in.TypeMeta 331 if in.UpdatedAnnotations != nil { 332 in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations 333 *out = make(map[string]string, len(*in)) 334 for key, val := range *in { 335 (*out)[key] = val 336 } 337 } 338 out.RollbackTo = in.RollbackTo 339 return 340 } 341 342 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback. 343 func (in *DeploymentRollback) DeepCopy() *DeploymentRollback { 344 if in == nil { 345 return nil 346 } 347 out := new(DeploymentRollback) 348 in.DeepCopyInto(out) 349 return out 350 } 351 352 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 353 func (in *DeploymentRollback) DeepCopyObject() runtime.Object { 354 if c := in.DeepCopy(); c != nil { 355 return c 356 } 357 return nil 358 } 359 360 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 361 func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) { 362 *out = *in 363 if in.Selector != nil { 364 in, out := &in.Selector, &out.Selector 365 *out = new(v1.LabelSelector) 366 (*in).DeepCopyInto(*out) 367 } 368 in.Template.DeepCopyInto(&out.Template) 369 in.Strategy.DeepCopyInto(&out.Strategy) 370 if in.RevisionHistoryLimit != nil { 371 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit 372 *out = new(int32) 373 **out = **in 374 } 375 if in.RollbackTo != nil { 376 in, out := &in.RollbackTo, &out.RollbackTo 377 *out = new(RollbackConfig) 378 **out = **in 379 } 380 if in.ProgressDeadlineSeconds != nil { 381 in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds 382 *out = new(int32) 383 **out = **in 384 } 385 return 386 } 387 388 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec. 389 func (in *DeploymentSpec) DeepCopy() *DeploymentSpec { 390 if in == nil { 391 return nil 392 } 393 out := new(DeploymentSpec) 394 in.DeepCopyInto(out) 395 return out 396 } 397 398 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 399 func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) { 400 *out = *in 401 if in.Conditions != nil { 402 in, out := &in.Conditions, &out.Conditions 403 *out = make([]DeploymentCondition, len(*in)) 404 for i := range *in { 405 (*in)[i].DeepCopyInto(&(*out)[i]) 406 } 407 } 408 if in.CollisionCount != nil { 409 in, out := &in.CollisionCount, &out.CollisionCount 410 *out = new(int32) 411 **out = **in 412 } 413 return 414 } 415 416 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus. 417 func (in *DeploymentStatus) DeepCopy() *DeploymentStatus { 418 if in == nil { 419 return nil 420 } 421 out := new(DeploymentStatus) 422 in.DeepCopyInto(out) 423 return out 424 } 425 426 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 427 func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) { 428 *out = *in 429 if in.RollingUpdate != nil { 430 in, out := &in.RollingUpdate, &out.RollingUpdate 431 *out = new(RollingUpdateDeployment) 432 **out = **in 433 } 434 return 435 } 436 437 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy. 438 func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy { 439 if in == nil { 440 return nil 441 } 442 out := new(DeploymentStrategy) 443 in.DeepCopyInto(out) 444 return out 445 } 446 447 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 448 func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) { 449 *out = *in 450 out.TypeMeta = in.TypeMeta 451 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 452 in.Spec.DeepCopyInto(&out.Spec) 453 in.Status.DeepCopyInto(&out.Status) 454 return 455 } 456 457 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet. 458 func (in *ReplicaSet) DeepCopy() *ReplicaSet { 459 if in == nil { 460 return nil 461 } 462 out := new(ReplicaSet) 463 in.DeepCopyInto(out) 464 return out 465 } 466 467 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 468 func (in *ReplicaSet) DeepCopyObject() runtime.Object { 469 if c := in.DeepCopy(); c != nil { 470 return c 471 } 472 return nil 473 } 474 475 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 476 func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) { 477 *out = *in 478 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 479 return 480 } 481 482 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition. 483 func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition { 484 if in == nil { 485 return nil 486 } 487 out := new(ReplicaSetCondition) 488 in.DeepCopyInto(out) 489 return out 490 } 491 492 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 493 func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) { 494 *out = *in 495 out.TypeMeta = in.TypeMeta 496 in.ListMeta.DeepCopyInto(&out.ListMeta) 497 if in.Items != nil { 498 in, out := &in.Items, &out.Items 499 *out = make([]ReplicaSet, len(*in)) 500 for i := range *in { 501 (*in)[i].DeepCopyInto(&(*out)[i]) 502 } 503 } 504 return 505 } 506 507 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList. 508 func (in *ReplicaSetList) DeepCopy() *ReplicaSetList { 509 if in == nil { 510 return nil 511 } 512 out := new(ReplicaSetList) 513 in.DeepCopyInto(out) 514 return out 515 } 516 517 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 518 func (in *ReplicaSetList) DeepCopyObject() runtime.Object { 519 if c := in.DeepCopy(); c != nil { 520 return c 521 } 522 return nil 523 } 524 525 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 526 func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) { 527 *out = *in 528 if in.Selector != nil { 529 in, out := &in.Selector, &out.Selector 530 *out = new(v1.LabelSelector) 531 (*in).DeepCopyInto(*out) 532 } 533 in.Template.DeepCopyInto(&out.Template) 534 return 535 } 536 537 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec. 538 func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec { 539 if in == nil { 540 return nil 541 } 542 out := new(ReplicaSetSpec) 543 in.DeepCopyInto(out) 544 return out 545 } 546 547 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 548 func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) { 549 *out = *in 550 if in.Conditions != nil { 551 in, out := &in.Conditions, &out.Conditions 552 *out = make([]ReplicaSetCondition, len(*in)) 553 for i := range *in { 554 (*in)[i].DeepCopyInto(&(*out)[i]) 555 } 556 } 557 return 558 } 559 560 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus. 561 func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus { 562 if in == nil { 563 return nil 564 } 565 out := new(ReplicaSetStatus) 566 in.DeepCopyInto(out) 567 return out 568 } 569 570 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 571 func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) { 572 *out = *in 573 return 574 } 575 576 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig. 577 func (in *RollbackConfig) DeepCopy() *RollbackConfig { 578 if in == nil { 579 return nil 580 } 581 out := new(RollbackConfig) 582 in.DeepCopyInto(out) 583 return out 584 } 585 586 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 587 func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) { 588 *out = *in 589 out.MaxUnavailable = in.MaxUnavailable 590 out.MaxSurge = in.MaxSurge 591 return 592 } 593 594 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet. 595 func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet { 596 if in == nil { 597 return nil 598 } 599 out := new(RollingUpdateDaemonSet) 600 in.DeepCopyInto(out) 601 return out 602 } 603 604 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 605 func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) { 606 *out = *in 607 out.MaxUnavailable = in.MaxUnavailable 608 out.MaxSurge = in.MaxSurge 609 return 610 } 611 612 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment. 613 func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment { 614 if in == nil { 615 return nil 616 } 617 out := new(RollingUpdateDeployment) 618 in.DeepCopyInto(out) 619 return out 620 } 621 622 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 623 func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) { 624 *out = *in 625 if in.MaxUnavailable != nil { 626 in, out := &in.MaxUnavailable, &out.MaxUnavailable 627 *out = new(intstr.IntOrString) 628 **out = **in 629 } 630 return 631 } 632 633 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy. 634 func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy { 635 if in == nil { 636 return nil 637 } 638 out := new(RollingUpdateStatefulSetStrategy) 639 in.DeepCopyInto(out) 640 return out 641 } 642 643 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 644 func (in *StatefulSet) DeepCopyInto(out *StatefulSet) { 645 *out = *in 646 out.TypeMeta = in.TypeMeta 647 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 648 in.Spec.DeepCopyInto(&out.Spec) 649 in.Status.DeepCopyInto(&out.Status) 650 return 651 } 652 653 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet. 654 func (in *StatefulSet) DeepCopy() *StatefulSet { 655 if in == nil { 656 return nil 657 } 658 out := new(StatefulSet) 659 in.DeepCopyInto(out) 660 return out 661 } 662 663 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 664 func (in *StatefulSet) DeepCopyObject() runtime.Object { 665 if c := in.DeepCopy(); c != nil { 666 return c 667 } 668 return nil 669 } 670 671 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 672 func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) { 673 *out = *in 674 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 675 return 676 } 677 678 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition. 679 func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition { 680 if in == nil { 681 return nil 682 } 683 out := new(StatefulSetCondition) 684 in.DeepCopyInto(out) 685 return out 686 } 687 688 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 689 func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) { 690 *out = *in 691 out.TypeMeta = in.TypeMeta 692 in.ListMeta.DeepCopyInto(&out.ListMeta) 693 if in.Items != nil { 694 in, out := &in.Items, &out.Items 695 *out = make([]StatefulSet, len(*in)) 696 for i := range *in { 697 (*in)[i].DeepCopyInto(&(*out)[i]) 698 } 699 } 700 return 701 } 702 703 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList. 704 func (in *StatefulSetList) DeepCopy() *StatefulSetList { 705 if in == nil { 706 return nil 707 } 708 out := new(StatefulSetList) 709 in.DeepCopyInto(out) 710 return out 711 } 712 713 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 714 func (in *StatefulSetList) DeepCopyObject() runtime.Object { 715 if c := in.DeepCopy(); c != nil { 716 return c 717 } 718 return nil 719 } 720 721 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 722 func (in *StatefulSetOrdinals) DeepCopyInto(out *StatefulSetOrdinals) { 723 *out = *in 724 return 725 } 726 727 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetOrdinals. 728 func (in *StatefulSetOrdinals) DeepCopy() *StatefulSetOrdinals { 729 if in == nil { 730 return nil 731 } 732 out := new(StatefulSetOrdinals) 733 in.DeepCopyInto(out) 734 return out 735 } 736 737 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 738 func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopyInto(out *StatefulSetPersistentVolumeClaimRetentionPolicy) { 739 *out = *in 740 return 741 } 742 743 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetPersistentVolumeClaimRetentionPolicy. 744 func (in *StatefulSetPersistentVolumeClaimRetentionPolicy) DeepCopy() *StatefulSetPersistentVolumeClaimRetentionPolicy { 745 if in == nil { 746 return nil 747 } 748 out := new(StatefulSetPersistentVolumeClaimRetentionPolicy) 749 in.DeepCopyInto(out) 750 return out 751 } 752 753 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 754 func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) { 755 *out = *in 756 if in.Selector != nil { 757 in, out := &in.Selector, &out.Selector 758 *out = new(v1.LabelSelector) 759 (*in).DeepCopyInto(*out) 760 } 761 in.Template.DeepCopyInto(&out.Template) 762 if in.VolumeClaimTemplates != nil { 763 in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates 764 *out = make([]core.PersistentVolumeClaim, len(*in)) 765 for i := range *in { 766 (*in)[i].DeepCopyInto(&(*out)[i]) 767 } 768 } 769 in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy) 770 if in.RevisionHistoryLimit != nil { 771 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit 772 *out = new(int32) 773 **out = **in 774 } 775 if in.PersistentVolumeClaimRetentionPolicy != nil { 776 in, out := &in.PersistentVolumeClaimRetentionPolicy, &out.PersistentVolumeClaimRetentionPolicy 777 *out = new(StatefulSetPersistentVolumeClaimRetentionPolicy) 778 **out = **in 779 } 780 if in.Ordinals != nil { 781 in, out := &in.Ordinals, &out.Ordinals 782 *out = new(StatefulSetOrdinals) 783 **out = **in 784 } 785 return 786 } 787 788 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec. 789 func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec { 790 if in == nil { 791 return nil 792 } 793 out := new(StatefulSetSpec) 794 in.DeepCopyInto(out) 795 return out 796 } 797 798 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 799 func (in *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) { 800 *out = *in 801 if in.ObservedGeneration != nil { 802 in, out := &in.ObservedGeneration, &out.ObservedGeneration 803 *out = new(int64) 804 **out = **in 805 } 806 if in.CollisionCount != nil { 807 in, out := &in.CollisionCount, &out.CollisionCount 808 *out = new(int32) 809 **out = **in 810 } 811 if in.Conditions != nil { 812 in, out := &in.Conditions, &out.Conditions 813 *out = make([]StatefulSetCondition, len(*in)) 814 for i := range *in { 815 (*in)[i].DeepCopyInto(&(*out)[i]) 816 } 817 } 818 return 819 } 820 821 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus. 822 func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus { 823 if in == nil { 824 return nil 825 } 826 out := new(StatefulSetStatus) 827 in.DeepCopyInto(out) 828 return out 829 } 830 831 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 832 func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) { 833 *out = *in 834 if in.RollingUpdate != nil { 835 in, out := &in.RollingUpdate, &out.RollingUpdate 836 *out = new(RollingUpdateStatefulSetStrategy) 837 (*in).DeepCopyInto(*out) 838 } 839 return 840 } 841 842 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy. 843 func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy { 844 if in == nil { 845 return nil 846 } 847 out := new(StatefulSetUpdateStrategy) 848 in.DeepCopyInto(out) 849 return out 850 }