Matteo Scandolo | a428586 | 2020-12-01 18:10:10 -0800 | [diff] [blame^] | 1 | // +build !ignore_autogenerated |
| 2 | |
| 3 | /* |
| 4 | Copyright The Kubernetes Authors. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | */ |
| 18 | |
| 19 | // Code generated by deepcopy-gen. DO NOT EDIT. |
| 20 | |
| 21 | package v2beta2 |
| 22 | |
| 23 | import ( |
| 24 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" |
| 25 | runtime "k8s.io/apimachinery/pkg/runtime" |
| 26 | ) |
| 27 | |
| 28 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 29 | func (in *CrossVersionObjectReference) DeepCopyInto(out *CrossVersionObjectReference) { |
| 30 | *out = *in |
| 31 | return |
| 32 | } |
| 33 | |
| 34 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossVersionObjectReference. |
| 35 | func (in *CrossVersionObjectReference) DeepCopy() *CrossVersionObjectReference { |
| 36 | if in == nil { |
| 37 | return nil |
| 38 | } |
| 39 | out := new(CrossVersionObjectReference) |
| 40 | in.DeepCopyInto(out) |
| 41 | return out |
| 42 | } |
| 43 | |
| 44 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 45 | func (in *ExternalMetricSource) DeepCopyInto(out *ExternalMetricSource) { |
| 46 | *out = *in |
| 47 | in.Metric.DeepCopyInto(&out.Metric) |
| 48 | in.Target.DeepCopyInto(&out.Target) |
| 49 | return |
| 50 | } |
| 51 | |
| 52 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricSource. |
| 53 | func (in *ExternalMetricSource) DeepCopy() *ExternalMetricSource { |
| 54 | if in == nil { |
| 55 | return nil |
| 56 | } |
| 57 | out := new(ExternalMetricSource) |
| 58 | in.DeepCopyInto(out) |
| 59 | return out |
| 60 | } |
| 61 | |
| 62 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 63 | func (in *ExternalMetricStatus) DeepCopyInto(out *ExternalMetricStatus) { |
| 64 | *out = *in |
| 65 | in.Metric.DeepCopyInto(&out.Metric) |
| 66 | in.Current.DeepCopyInto(&out.Current) |
| 67 | return |
| 68 | } |
| 69 | |
| 70 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricStatus. |
| 71 | func (in *ExternalMetricStatus) DeepCopy() *ExternalMetricStatus { |
| 72 | if in == nil { |
| 73 | return nil |
| 74 | } |
| 75 | out := new(ExternalMetricStatus) |
| 76 | in.DeepCopyInto(out) |
| 77 | return out |
| 78 | } |
| 79 | |
| 80 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 81 | func (in *HPAScalingPolicy) DeepCopyInto(out *HPAScalingPolicy) { |
| 82 | *out = *in |
| 83 | return |
| 84 | } |
| 85 | |
| 86 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HPAScalingPolicy. |
| 87 | func (in *HPAScalingPolicy) DeepCopy() *HPAScalingPolicy { |
| 88 | if in == nil { |
| 89 | return nil |
| 90 | } |
| 91 | out := new(HPAScalingPolicy) |
| 92 | in.DeepCopyInto(out) |
| 93 | return out |
| 94 | } |
| 95 | |
| 96 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 97 | func (in *HPAScalingRules) DeepCopyInto(out *HPAScalingRules) { |
| 98 | *out = *in |
| 99 | if in.StabilizationWindowSeconds != nil { |
| 100 | in, out := &in.StabilizationWindowSeconds, &out.StabilizationWindowSeconds |
| 101 | *out = new(int32) |
| 102 | **out = **in |
| 103 | } |
| 104 | if in.SelectPolicy != nil { |
| 105 | in, out := &in.SelectPolicy, &out.SelectPolicy |
| 106 | *out = new(ScalingPolicySelect) |
| 107 | **out = **in |
| 108 | } |
| 109 | if in.Policies != nil { |
| 110 | in, out := &in.Policies, &out.Policies |
| 111 | *out = make([]HPAScalingPolicy, len(*in)) |
| 112 | copy(*out, *in) |
| 113 | } |
| 114 | return |
| 115 | } |
| 116 | |
| 117 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HPAScalingRules. |
| 118 | func (in *HPAScalingRules) DeepCopy() *HPAScalingRules { |
| 119 | if in == nil { |
| 120 | return nil |
| 121 | } |
| 122 | out := new(HPAScalingRules) |
| 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. |
| 128 | func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler) { |
| 129 | *out = *in |
| 130 | out.TypeMeta = in.TypeMeta |
| 131 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 132 | in.Spec.DeepCopyInto(&out.Spec) |
| 133 | in.Status.DeepCopyInto(&out.Status) |
| 134 | return |
| 135 | } |
| 136 | |
| 137 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler. |
| 138 | func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler { |
| 139 | if in == nil { |
| 140 | return nil |
| 141 | } |
| 142 | out := new(HorizontalPodAutoscaler) |
| 143 | in.DeepCopyInto(out) |
| 144 | return out |
| 145 | } |
| 146 | |
| 147 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 148 | func (in *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object { |
| 149 | if c := in.DeepCopy(); c != nil { |
| 150 | return c |
| 151 | } |
| 152 | return nil |
| 153 | } |
| 154 | |
| 155 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 156 | func (in *HorizontalPodAutoscalerBehavior) DeepCopyInto(out *HorizontalPodAutoscalerBehavior) { |
| 157 | *out = *in |
| 158 | if in.ScaleUp != nil { |
| 159 | in, out := &in.ScaleUp, &out.ScaleUp |
| 160 | *out = new(HPAScalingRules) |
| 161 | (*in).DeepCopyInto(*out) |
| 162 | } |
| 163 | if in.ScaleDown != nil { |
| 164 | in, out := &in.ScaleDown, &out.ScaleDown |
| 165 | *out = new(HPAScalingRules) |
| 166 | (*in).DeepCopyInto(*out) |
| 167 | } |
| 168 | return |
| 169 | } |
| 170 | |
| 171 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerBehavior. |
| 172 | func (in *HorizontalPodAutoscalerBehavior) DeepCopy() *HorizontalPodAutoscalerBehavior { |
| 173 | if in == nil { |
| 174 | return nil |
| 175 | } |
| 176 | out := new(HorizontalPodAutoscalerBehavior) |
| 177 | in.DeepCopyInto(out) |
| 178 | return out |
| 179 | } |
| 180 | |
| 181 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 182 | func (in *HorizontalPodAutoscalerCondition) DeepCopyInto(out *HorizontalPodAutoscalerCondition) { |
| 183 | *out = *in |
| 184 | in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| 185 | return |
| 186 | } |
| 187 | |
| 188 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition. |
| 189 | func (in *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition { |
| 190 | if in == nil { |
| 191 | return nil |
| 192 | } |
| 193 | out := new(HorizontalPodAutoscalerCondition) |
| 194 | in.DeepCopyInto(out) |
| 195 | return out |
| 196 | } |
| 197 | |
| 198 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 199 | func (in *HorizontalPodAutoscalerList) DeepCopyInto(out *HorizontalPodAutoscalerList) { |
| 200 | *out = *in |
| 201 | out.TypeMeta = in.TypeMeta |
| 202 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 203 | if in.Items != nil { |
| 204 | in, out := &in.Items, &out.Items |
| 205 | *out = make([]HorizontalPodAutoscaler, len(*in)) |
| 206 | for i := range *in { |
| 207 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 208 | } |
| 209 | } |
| 210 | return |
| 211 | } |
| 212 | |
| 213 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList. |
| 214 | func (in *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList { |
| 215 | if in == nil { |
| 216 | return nil |
| 217 | } |
| 218 | out := new(HorizontalPodAutoscalerList) |
| 219 | in.DeepCopyInto(out) |
| 220 | return out |
| 221 | } |
| 222 | |
| 223 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 224 | func (in *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object { |
| 225 | if c := in.DeepCopy(); c != nil { |
| 226 | return c |
| 227 | } |
| 228 | return nil |
| 229 | } |
| 230 | |
| 231 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 232 | func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscalerSpec) { |
| 233 | *out = *in |
| 234 | out.ScaleTargetRef = in.ScaleTargetRef |
| 235 | if in.MinReplicas != nil { |
| 236 | in, out := &in.MinReplicas, &out.MinReplicas |
| 237 | *out = new(int32) |
| 238 | **out = **in |
| 239 | } |
| 240 | if in.Metrics != nil { |
| 241 | in, out := &in.Metrics, &out.Metrics |
| 242 | *out = make([]MetricSpec, len(*in)) |
| 243 | for i := range *in { |
| 244 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 245 | } |
| 246 | } |
| 247 | if in.Behavior != nil { |
| 248 | in, out := &in.Behavior, &out.Behavior |
| 249 | *out = new(HorizontalPodAutoscalerBehavior) |
| 250 | (*in).DeepCopyInto(*out) |
| 251 | } |
| 252 | return |
| 253 | } |
| 254 | |
| 255 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec. |
| 256 | func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec { |
| 257 | if in == nil { |
| 258 | return nil |
| 259 | } |
| 260 | out := new(HorizontalPodAutoscalerSpec) |
| 261 | in.DeepCopyInto(out) |
| 262 | return out |
| 263 | } |
| 264 | |
| 265 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 266 | func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscalerStatus) { |
| 267 | *out = *in |
| 268 | if in.ObservedGeneration != nil { |
| 269 | in, out := &in.ObservedGeneration, &out.ObservedGeneration |
| 270 | *out = new(int64) |
| 271 | **out = **in |
| 272 | } |
| 273 | if in.LastScaleTime != nil { |
| 274 | in, out := &in.LastScaleTime, &out.LastScaleTime |
| 275 | *out = (*in).DeepCopy() |
| 276 | } |
| 277 | if in.CurrentMetrics != nil { |
| 278 | in, out := &in.CurrentMetrics, &out.CurrentMetrics |
| 279 | *out = make([]MetricStatus, len(*in)) |
| 280 | for i := range *in { |
| 281 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 282 | } |
| 283 | } |
| 284 | if in.Conditions != nil { |
| 285 | in, out := &in.Conditions, &out.Conditions |
| 286 | *out = make([]HorizontalPodAutoscalerCondition, len(*in)) |
| 287 | for i := range *in { |
| 288 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 289 | } |
| 290 | } |
| 291 | return |
| 292 | } |
| 293 | |
| 294 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus. |
| 295 | func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus { |
| 296 | if in == nil { |
| 297 | return nil |
| 298 | } |
| 299 | out := new(HorizontalPodAutoscalerStatus) |
| 300 | in.DeepCopyInto(out) |
| 301 | return out |
| 302 | } |
| 303 | |
| 304 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 305 | func (in *MetricIdentifier) DeepCopyInto(out *MetricIdentifier) { |
| 306 | *out = *in |
| 307 | if in.Selector != nil { |
| 308 | in, out := &in.Selector, &out.Selector |
| 309 | *out = new(v1.LabelSelector) |
| 310 | (*in).DeepCopyInto(*out) |
| 311 | } |
| 312 | return |
| 313 | } |
| 314 | |
| 315 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricIdentifier. |
| 316 | func (in *MetricIdentifier) DeepCopy() *MetricIdentifier { |
| 317 | if in == nil { |
| 318 | return nil |
| 319 | } |
| 320 | out := new(MetricIdentifier) |
| 321 | in.DeepCopyInto(out) |
| 322 | return out |
| 323 | } |
| 324 | |
| 325 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 326 | func (in *MetricSpec) DeepCopyInto(out *MetricSpec) { |
| 327 | *out = *in |
| 328 | if in.Object != nil { |
| 329 | in, out := &in.Object, &out.Object |
| 330 | *out = new(ObjectMetricSource) |
| 331 | (*in).DeepCopyInto(*out) |
| 332 | } |
| 333 | if in.Pods != nil { |
| 334 | in, out := &in.Pods, &out.Pods |
| 335 | *out = new(PodsMetricSource) |
| 336 | (*in).DeepCopyInto(*out) |
| 337 | } |
| 338 | if in.Resource != nil { |
| 339 | in, out := &in.Resource, &out.Resource |
| 340 | *out = new(ResourceMetricSource) |
| 341 | (*in).DeepCopyInto(*out) |
| 342 | } |
| 343 | if in.External != nil { |
| 344 | in, out := &in.External, &out.External |
| 345 | *out = new(ExternalMetricSource) |
| 346 | (*in).DeepCopyInto(*out) |
| 347 | } |
| 348 | return |
| 349 | } |
| 350 | |
| 351 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec. |
| 352 | func (in *MetricSpec) DeepCopy() *MetricSpec { |
| 353 | if in == nil { |
| 354 | return nil |
| 355 | } |
| 356 | out := new(MetricSpec) |
| 357 | in.DeepCopyInto(out) |
| 358 | return out |
| 359 | } |
| 360 | |
| 361 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 362 | func (in *MetricStatus) DeepCopyInto(out *MetricStatus) { |
| 363 | *out = *in |
| 364 | if in.Object != nil { |
| 365 | in, out := &in.Object, &out.Object |
| 366 | *out = new(ObjectMetricStatus) |
| 367 | (*in).DeepCopyInto(*out) |
| 368 | } |
| 369 | if in.Pods != nil { |
| 370 | in, out := &in.Pods, &out.Pods |
| 371 | *out = new(PodsMetricStatus) |
| 372 | (*in).DeepCopyInto(*out) |
| 373 | } |
| 374 | if in.Resource != nil { |
| 375 | in, out := &in.Resource, &out.Resource |
| 376 | *out = new(ResourceMetricStatus) |
| 377 | (*in).DeepCopyInto(*out) |
| 378 | } |
| 379 | if in.External != nil { |
| 380 | in, out := &in.External, &out.External |
| 381 | *out = new(ExternalMetricStatus) |
| 382 | (*in).DeepCopyInto(*out) |
| 383 | } |
| 384 | return |
| 385 | } |
| 386 | |
| 387 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus. |
| 388 | func (in *MetricStatus) DeepCopy() *MetricStatus { |
| 389 | if in == nil { |
| 390 | return nil |
| 391 | } |
| 392 | out := new(MetricStatus) |
| 393 | in.DeepCopyInto(out) |
| 394 | return out |
| 395 | } |
| 396 | |
| 397 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 398 | func (in *MetricTarget) DeepCopyInto(out *MetricTarget) { |
| 399 | *out = *in |
| 400 | if in.Value != nil { |
| 401 | in, out := &in.Value, &out.Value |
| 402 | x := (*in).DeepCopy() |
| 403 | *out = &x |
| 404 | } |
| 405 | if in.AverageValue != nil { |
| 406 | in, out := &in.AverageValue, &out.AverageValue |
| 407 | x := (*in).DeepCopy() |
| 408 | *out = &x |
| 409 | } |
| 410 | if in.AverageUtilization != nil { |
| 411 | in, out := &in.AverageUtilization, &out.AverageUtilization |
| 412 | *out = new(int32) |
| 413 | **out = **in |
| 414 | } |
| 415 | return |
| 416 | } |
| 417 | |
| 418 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricTarget. |
| 419 | func (in *MetricTarget) DeepCopy() *MetricTarget { |
| 420 | if in == nil { |
| 421 | return nil |
| 422 | } |
| 423 | out := new(MetricTarget) |
| 424 | in.DeepCopyInto(out) |
| 425 | return out |
| 426 | } |
| 427 | |
| 428 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 429 | func (in *MetricValueStatus) DeepCopyInto(out *MetricValueStatus) { |
| 430 | *out = *in |
| 431 | if in.Value != nil { |
| 432 | in, out := &in.Value, &out.Value |
| 433 | x := (*in).DeepCopy() |
| 434 | *out = &x |
| 435 | } |
| 436 | if in.AverageValue != nil { |
| 437 | in, out := &in.AverageValue, &out.AverageValue |
| 438 | x := (*in).DeepCopy() |
| 439 | *out = &x |
| 440 | } |
| 441 | if in.AverageUtilization != nil { |
| 442 | in, out := &in.AverageUtilization, &out.AverageUtilization |
| 443 | *out = new(int32) |
| 444 | **out = **in |
| 445 | } |
| 446 | return |
| 447 | } |
| 448 | |
| 449 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricValueStatus. |
| 450 | func (in *MetricValueStatus) DeepCopy() *MetricValueStatus { |
| 451 | if in == nil { |
| 452 | return nil |
| 453 | } |
| 454 | out := new(MetricValueStatus) |
| 455 | in.DeepCopyInto(out) |
| 456 | return out |
| 457 | } |
| 458 | |
| 459 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 460 | func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) { |
| 461 | *out = *in |
| 462 | out.DescribedObject = in.DescribedObject |
| 463 | in.Target.DeepCopyInto(&out.Target) |
| 464 | in.Metric.DeepCopyInto(&out.Metric) |
| 465 | return |
| 466 | } |
| 467 | |
| 468 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource. |
| 469 | func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource { |
| 470 | if in == nil { |
| 471 | return nil |
| 472 | } |
| 473 | out := new(ObjectMetricSource) |
| 474 | in.DeepCopyInto(out) |
| 475 | return out |
| 476 | } |
| 477 | |
| 478 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 479 | func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) { |
| 480 | *out = *in |
| 481 | in.Metric.DeepCopyInto(&out.Metric) |
| 482 | in.Current.DeepCopyInto(&out.Current) |
| 483 | out.DescribedObject = in.DescribedObject |
| 484 | return |
| 485 | } |
| 486 | |
| 487 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus. |
| 488 | func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus { |
| 489 | if in == nil { |
| 490 | return nil |
| 491 | } |
| 492 | out := new(ObjectMetricStatus) |
| 493 | in.DeepCopyInto(out) |
| 494 | return out |
| 495 | } |
| 496 | |
| 497 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 498 | func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) { |
| 499 | *out = *in |
| 500 | in.Metric.DeepCopyInto(&out.Metric) |
| 501 | in.Target.DeepCopyInto(&out.Target) |
| 502 | return |
| 503 | } |
| 504 | |
| 505 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource. |
| 506 | func (in *PodsMetricSource) DeepCopy() *PodsMetricSource { |
| 507 | if in == nil { |
| 508 | return nil |
| 509 | } |
| 510 | out := new(PodsMetricSource) |
| 511 | in.DeepCopyInto(out) |
| 512 | return out |
| 513 | } |
| 514 | |
| 515 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 516 | func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) { |
| 517 | *out = *in |
| 518 | in.Metric.DeepCopyInto(&out.Metric) |
| 519 | in.Current.DeepCopyInto(&out.Current) |
| 520 | return |
| 521 | } |
| 522 | |
| 523 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus. |
| 524 | func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus { |
| 525 | if in == nil { |
| 526 | return nil |
| 527 | } |
| 528 | out := new(PodsMetricStatus) |
| 529 | in.DeepCopyInto(out) |
| 530 | return out |
| 531 | } |
| 532 | |
| 533 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 534 | func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) { |
| 535 | *out = *in |
| 536 | in.Target.DeepCopyInto(&out.Target) |
| 537 | return |
| 538 | } |
| 539 | |
| 540 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource. |
| 541 | func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource { |
| 542 | if in == nil { |
| 543 | return nil |
| 544 | } |
| 545 | out := new(ResourceMetricSource) |
| 546 | in.DeepCopyInto(out) |
| 547 | return out |
| 548 | } |
| 549 | |
| 550 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 551 | func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) { |
| 552 | *out = *in |
| 553 | in.Current.DeepCopyInto(&out.Current) |
| 554 | return |
| 555 | } |
| 556 | |
| 557 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus. |
| 558 | func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus { |
| 559 | if in == nil { |
| 560 | return nil |
| 561 | } |
| 562 | out := new(ResourceMetricStatus) |
| 563 | in.DeepCopyInto(out) |
| 564 | return out |
| 565 | } |