k8s.io/kubernetes@v1.29.3/pkg/apis/autoscaling/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 autoscaling 23 24 import ( 25 v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 26 runtime "k8s.io/apimachinery/pkg/runtime" 27 ) 28 29 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 30 func (in *ContainerResourceMetricSource) DeepCopyInto(out *ContainerResourceMetricSource) { 31 *out = *in 32 in.Target.DeepCopyInto(&out.Target) 33 return 34 } 35 36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerResourceMetricSource. 37 func (in *ContainerResourceMetricSource) DeepCopy() *ContainerResourceMetricSource { 38 if in == nil { 39 return nil 40 } 41 out := new(ContainerResourceMetricSource) 42 in.DeepCopyInto(out) 43 return out 44 } 45 46 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 47 func (in *ContainerResourceMetricStatus) DeepCopyInto(out *ContainerResourceMetricStatus) { 48 *out = *in 49 in.Current.DeepCopyInto(&out.Current) 50 return 51 } 52 53 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerResourceMetricStatus. 54 func (in *ContainerResourceMetricStatus) DeepCopy() *ContainerResourceMetricStatus { 55 if in == nil { 56 return nil 57 } 58 out := new(ContainerResourceMetricStatus) 59 in.DeepCopyInto(out) 60 return out 61 } 62 63 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 64 func (in *CrossVersionObjectReference) DeepCopyInto(out *CrossVersionObjectReference) { 65 *out = *in 66 return 67 } 68 69 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference. 70 func (in *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference { 71 if in == nil { 72 return nil 73 } 74 out := new(CrossVersionObjectReference) 75 in.DeepCopyInto(out) 76 return out 77 } 78 79 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 80 func (in *ExternalMetricSource) DeepCopyInto(out *ExternalMetricSource) { 81 *out = *in 82 in.Metric.DeepCopyInto(&out.Metric) 83 in.Target.DeepCopyInto(&out.Target) 84 return 85 } 86 87 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricSource. 88 func (in *ExternalMetricSource) DeepCopy() *ExternalMetricSource { 89 if in == nil { 90 return nil 91 } 92 out := new(ExternalMetricSource) 93 in.DeepCopyInto(out) 94 return out 95 } 96 97 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 98 func (in *ExternalMetricStatus) DeepCopyInto(out *ExternalMetricStatus) { 99 *out = *in 100 in.Metric.DeepCopyInto(&out.Metric) 101 in.Current.DeepCopyInto(&out.Current) 102 return 103 } 104 105 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricStatus. 106 func (in *ExternalMetricStatus) DeepCopy() *ExternalMetricStatus { 107 if in == nil { 108 return nil 109 } 110 out := new(ExternalMetricStatus) 111 in.DeepCopyInto(out) 112 return out 113 } 114 115 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 116 func (in *HPAScalingPolicy) DeepCopyInto(out *HPAScalingPolicy) { 117 *out = *in 118 return 119 } 120 121 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HPAScalingPolicy. 122 func (in *HPAScalingPolicy) DeepCopy() *HPAScalingPolicy { 123 if in == nil { 124 return nil 125 } 126 out := new(HPAScalingPolicy) 127 in.DeepCopyInto(out) 128 return out 129 } 130 131 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 132 func (in *HPAScalingRules) DeepCopyInto(out *HPAScalingRules) { 133 *out = *in 134 if in.StabilizationWindowSeconds != nil { 135 in, out := &in.StabilizationWindowSeconds, &out.StabilizationWindowSeconds 136 *out = new(int32) 137 **out = **in 138 } 139 if in.SelectPolicy != nil { 140 in, out := &in.SelectPolicy, &out.SelectPolicy 141 *out = new(ScalingPolicySelect) 142 **out = **in 143 } 144 if in.Policies != nil { 145 in, out := &in.Policies, &out.Policies 146 *out = make([]HPAScalingPolicy, len(*in)) 147 copy(*out, *in) 148 } 149 return 150 } 151 152 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HPAScalingRules. 153 func (in *HPAScalingRules) DeepCopy() *HPAScalingRules { 154 if in == nil { 155 return nil 156 } 157 out := new(HPAScalingRules) 158 in.DeepCopyInto(out) 159 return out 160 } 161 162 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 163 func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler) { 164 *out = *in 165 out.TypeMeta = in.TypeMeta 166 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 167 in.Spec.DeepCopyInto(&out.Spec) 168 in.Status.DeepCopyInto(&out.Status) 169 return 170 } 171 172 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler. 173 func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler { 174 if in == nil { 175 return nil 176 } 177 out := new(HorizontalPodAutoscaler) 178 in.DeepCopyInto(out) 179 return out 180 } 181 182 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 183 func (in *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object { 184 if c := in.DeepCopy(); c != nil { 185 return c 186 } 187 return nil 188 } 189 190 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 191 func (in *HorizontalPodAutoscalerBehavior) DeepCopyInto(out *HorizontalPodAutoscalerBehavior) { 192 *out = *in 193 if in.ScaleUp != nil { 194 in, out := &in.ScaleUp, &out.ScaleUp 195 *out = new(HPAScalingRules) 196 (*in).DeepCopyInto(*out) 197 } 198 if in.ScaleDown != nil { 199 in, out := &in.ScaleDown, &out.ScaleDown 200 *out = new(HPAScalingRules) 201 (*in).DeepCopyInto(*out) 202 } 203 return 204 } 205 206 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerBehavior. 207 func (in *HorizontalPodAutoscalerBehavior) DeepCopy() *HorizontalPodAutoscalerBehavior { 208 if in == nil { 209 return nil 210 } 211 out := new(HorizontalPodAutoscalerBehavior) 212 in.DeepCopyInto(out) 213 return out 214 } 215 216 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 217 func (in *HorizontalPodAutoscalerCondition) DeepCopyInto(out *HorizontalPodAutoscalerCondition) { 218 *out = *in 219 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 220 return 221 } 222 223 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition. 224 func (in *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition { 225 if in == nil { 226 return nil 227 } 228 out := new(HorizontalPodAutoscalerCondition) 229 in.DeepCopyInto(out) 230 return out 231 } 232 233 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 234 func (in *HorizontalPodAutoscalerList) DeepCopyInto(out *HorizontalPodAutoscalerList) { 235 *out = *in 236 out.TypeMeta = in.TypeMeta 237 in.ListMeta.DeepCopyInto(&out.ListMeta) 238 if in.Items != nil { 239 in, out := &in.Items, &out.Items 240 *out = make([]HorizontalPodAutoscaler, len(*in)) 241 for i := range *in { 242 (*in)[i].DeepCopyInto(&(*out)[i]) 243 } 244 } 245 return 246 } 247 248 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList. 249 func (in *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList { 250 if in == nil { 251 return nil 252 } 253 out := new(HorizontalPodAutoscalerList) 254 in.DeepCopyInto(out) 255 return out 256 } 257 258 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 259 func (in *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object { 260 if c := in.DeepCopy(); c != nil { 261 return c 262 } 263 return nil 264 } 265 266 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 267 func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscalerSpec) { 268 *out = *in 269 out.ScaleTargetRef = in.ScaleTargetRef 270 if in.MinReplicas != nil { 271 in, out := &in.MinReplicas, &out.MinReplicas 272 *out = new(int32) 273 **out = **in 274 } 275 if in.Metrics != nil { 276 in, out := &in.Metrics, &out.Metrics 277 *out = make([]MetricSpec, len(*in)) 278 for i := range *in { 279 (*in)[i].DeepCopyInto(&(*out)[i]) 280 } 281 } 282 if in.Behavior != nil { 283 in, out := &in.Behavior, &out.Behavior 284 *out = new(HorizontalPodAutoscalerBehavior) 285 (*in).DeepCopyInto(*out) 286 } 287 return 288 } 289 290 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec. 291 func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec { 292 if in == nil { 293 return nil 294 } 295 out := new(HorizontalPodAutoscalerSpec) 296 in.DeepCopyInto(out) 297 return out 298 } 299 300 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 301 func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscalerStatus) { 302 *out = *in 303 if in.ObservedGeneration != nil { 304 in, out := &in.ObservedGeneration, &out.ObservedGeneration 305 *out = new(int64) 306 **out = **in 307 } 308 if in.LastScaleTime != nil { 309 in, out := &in.LastScaleTime, &out.LastScaleTime 310 *out = (*in).DeepCopy() 311 } 312 if in.CurrentMetrics != nil { 313 in, out := &in.CurrentMetrics, &out.CurrentMetrics 314 *out = make([]MetricStatus, len(*in)) 315 for i := range *in { 316 (*in)[i].DeepCopyInto(&(*out)[i]) 317 } 318 } 319 if in.Conditions != nil { 320 in, out := &in.Conditions, &out.Conditions 321 *out = make([]HorizontalPodAutoscalerCondition, len(*in)) 322 for i := range *in { 323 (*in)[i].DeepCopyInto(&(*out)[i]) 324 } 325 } 326 return 327 } 328 329 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus. 330 func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus { 331 if in == nil { 332 return nil 333 } 334 out := new(HorizontalPodAutoscalerStatus) 335 in.DeepCopyInto(out) 336 return out 337 } 338 339 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 340 func (in *MetricIdentifier) DeepCopyInto(out *MetricIdentifier) { 341 *out = *in 342 if in.Selector != nil { 343 in, out := &in.Selector, &out.Selector 344 *out = new(v1.LabelSelector) 345 (*in).DeepCopyInto(*out) 346 } 347 return 348 } 349 350 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricIdentifier. 351 func (in *MetricIdentifier) DeepCopy() *MetricIdentifier { 352 if in == nil { 353 return nil 354 } 355 out := new(MetricIdentifier) 356 in.DeepCopyInto(out) 357 return out 358 } 359 360 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 361 func (in *MetricSpec) DeepCopyInto(out *MetricSpec) { 362 *out = *in 363 if in.Object != nil { 364 in, out := &in.Object, &out.Object 365 *out = new(ObjectMetricSource) 366 (*in).DeepCopyInto(*out) 367 } 368 if in.Pods != nil { 369 in, out := &in.Pods, &out.Pods 370 *out = new(PodsMetricSource) 371 (*in).DeepCopyInto(*out) 372 } 373 if in.Resource != nil { 374 in, out := &in.Resource, &out.Resource 375 *out = new(ResourceMetricSource) 376 (*in).DeepCopyInto(*out) 377 } 378 if in.ContainerResource != nil { 379 in, out := &in.ContainerResource, &out.ContainerResource 380 *out = new(ContainerResourceMetricSource) 381 (*in).DeepCopyInto(*out) 382 } 383 if in.External != nil { 384 in, out := &in.External, &out.External 385 *out = new(ExternalMetricSource) 386 (*in).DeepCopyInto(*out) 387 } 388 return 389 } 390 391 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec. 392 func (in *MetricSpec) DeepCopy() *MetricSpec { 393 if in == nil { 394 return nil 395 } 396 out := new(MetricSpec) 397 in.DeepCopyInto(out) 398 return out 399 } 400 401 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 402 func (in *MetricStatus) DeepCopyInto(out *MetricStatus) { 403 *out = *in 404 if in.Object != nil { 405 in, out := &in.Object, &out.Object 406 *out = new(ObjectMetricStatus) 407 (*in).DeepCopyInto(*out) 408 } 409 if in.Pods != nil { 410 in, out := &in.Pods, &out.Pods 411 *out = new(PodsMetricStatus) 412 (*in).DeepCopyInto(*out) 413 } 414 if in.Resource != nil { 415 in, out := &in.Resource, &out.Resource 416 *out = new(ResourceMetricStatus) 417 (*in).DeepCopyInto(*out) 418 } 419 if in.ContainerResource != nil { 420 in, out := &in.ContainerResource, &out.ContainerResource 421 *out = new(ContainerResourceMetricStatus) 422 (*in).DeepCopyInto(*out) 423 } 424 if in.External != nil { 425 in, out := &in.External, &out.External 426 *out = new(ExternalMetricStatus) 427 (*in).DeepCopyInto(*out) 428 } 429 return 430 } 431 432 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus. 433 func (in *MetricStatus) DeepCopy() *MetricStatus { 434 if in == nil { 435 return nil 436 } 437 out := new(MetricStatus) 438 in.DeepCopyInto(out) 439 return out 440 } 441 442 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 443 func (in *MetricTarget) DeepCopyInto(out *MetricTarget) { 444 *out = *in 445 if in.Value != nil { 446 in, out := &in.Value, &out.Value 447 x := (*in).DeepCopy() 448 *out = &x 449 } 450 if in.AverageValue != nil { 451 in, out := &in.AverageValue, &out.AverageValue 452 x := (*in).DeepCopy() 453 *out = &x 454 } 455 if in.AverageUtilization != nil { 456 in, out := &in.AverageUtilization, &out.AverageUtilization 457 *out = new(int32) 458 **out = **in 459 } 460 return 461 } 462 463 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricTarget. 464 func (in *MetricTarget) DeepCopy() *MetricTarget { 465 if in == nil { 466 return nil 467 } 468 out := new(MetricTarget) 469 in.DeepCopyInto(out) 470 return out 471 } 472 473 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 474 func (in *MetricValueStatus) DeepCopyInto(out *MetricValueStatus) { 475 *out = *in 476 if in.Value != nil { 477 in, out := &in.Value, &out.Value 478 x := (*in).DeepCopy() 479 *out = &x 480 } 481 if in.AverageValue != nil { 482 in, out := &in.AverageValue, &out.AverageValue 483 x := (*in).DeepCopy() 484 *out = &x 485 } 486 if in.AverageUtilization != nil { 487 in, out := &in.AverageUtilization, &out.AverageUtilization 488 *out = new(int32) 489 **out = **in 490 } 491 return 492 } 493 494 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueStatus. 495 func (in *MetricValueStatus) DeepCopy() *MetricValueStatus { 496 if in == nil { 497 return nil 498 } 499 out := new(MetricValueStatus) 500 in.DeepCopyInto(out) 501 return out 502 } 503 504 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 505 func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) { 506 *out = *in 507 out.DescribedObject = in.DescribedObject 508 in.Target.DeepCopyInto(&out.Target) 509 in.Metric.DeepCopyInto(&out.Metric) 510 return 511 } 512 513 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource. 514 func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource { 515 if in == nil { 516 return nil 517 } 518 out := new(ObjectMetricSource) 519 in.DeepCopyInto(out) 520 return out 521 } 522 523 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 524 func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) { 525 *out = *in 526 in.Metric.DeepCopyInto(&out.Metric) 527 in.Current.DeepCopyInto(&out.Current) 528 out.DescribedObject = in.DescribedObject 529 return 530 } 531 532 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus. 533 func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus { 534 if in == nil { 535 return nil 536 } 537 out := new(ObjectMetricStatus) 538 in.DeepCopyInto(out) 539 return out 540 } 541 542 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 543 func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) { 544 *out = *in 545 in.Metric.DeepCopyInto(&out.Metric) 546 in.Target.DeepCopyInto(&out.Target) 547 return 548 } 549 550 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource. 551 func (in *PodsMetricSource) DeepCopy() *PodsMetricSource { 552 if in == nil { 553 return nil 554 } 555 out := new(PodsMetricSource) 556 in.DeepCopyInto(out) 557 return out 558 } 559 560 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 561 func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) { 562 *out = *in 563 in.Metric.DeepCopyInto(&out.Metric) 564 in.Current.DeepCopyInto(&out.Current) 565 return 566 } 567 568 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus. 569 func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus { 570 if in == nil { 571 return nil 572 } 573 out := new(PodsMetricStatus) 574 in.DeepCopyInto(out) 575 return out 576 } 577 578 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 579 func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) { 580 *out = *in 581 in.Target.DeepCopyInto(&out.Target) 582 return 583 } 584 585 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource. 586 func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource { 587 if in == nil { 588 return nil 589 } 590 out := new(ResourceMetricSource) 591 in.DeepCopyInto(out) 592 return out 593 } 594 595 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 596 func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) { 597 *out = *in 598 in.Current.DeepCopyInto(&out.Current) 599 return 600 } 601 602 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus. 603 func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus { 604 if in == nil { 605 return nil 606 } 607 out := new(ResourceMetricStatus) 608 in.DeepCopyInto(out) 609 return out 610 } 611 612 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 613 func (in *Scale) DeepCopyInto(out *Scale) { 614 *out = *in 615 out.TypeMeta = in.TypeMeta 616 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 617 out.Spec = in.Spec 618 out.Status = in.Status 619 return 620 } 621 622 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale. 623 func (in *Scale) DeepCopy() *Scale { 624 if in == nil { 625 return nil 626 } 627 out := new(Scale) 628 in.DeepCopyInto(out) 629 return out 630 } 631 632 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 633 func (in *Scale) DeepCopyObject() runtime.Object { 634 if c := in.DeepCopy(); c != nil { 635 return c 636 } 637 return nil 638 } 639 640 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 641 func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) { 642 *out = *in 643 return 644 } 645 646 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. 647 func (in *ScaleSpec) DeepCopy() *ScaleSpec { 648 if in == nil { 649 return nil 650 } 651 out := new(ScaleSpec) 652 in.DeepCopyInto(out) 653 return out 654 } 655 656 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 657 func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) { 658 *out = *in 659 return 660 } 661 662 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. 663 func (in *ScaleStatus) DeepCopy() *ScaleStatus { 664 if in == nil { 665 return nil 666 } 667 out := new(ScaleStatus) 668 in.DeepCopyInto(out) 669 return out 670 }