blob: ee9ac01deadc503e25e0fc3342b78bebab024925 [file] [log] [blame]
Matthias Andreas Benkard832a54e2019-01-29 09:27:38 +01001// +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)
27
28// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
29func (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.
35func (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.
45func (in *ExternalMetricSource) DeepCopyInto(out *ExternalMetricSource) {
46 *out = *in
47 if in.MetricSelector != nil {
48 in, out := &in.MetricSelector, &out.MetricSelector
49 if *in == nil {
50 *out = nil
51 } else {
52 *out = new(meta_v1.LabelSelector)
53 (*in).DeepCopyInto(*out)
54 }
55 }
56 if in.TargetValue != nil {
57 in, out := &in.TargetValue, &out.TargetValue
58 if *in == nil {
59 *out = nil
60 } else {
61 x := (*in).DeepCopy()
62 *out = &x
63 }
64 }
65 if in.TargetAverageValue != nil {
66 in, out := &in.TargetAverageValue, &out.TargetAverageValue
67 if *in == nil {
68 *out = nil
69 } else {
70 x := (*in).DeepCopy()
71 *out = &x
72 }
73 }
74 return
75}
76
77// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricSource.
78func (in *ExternalMetricSource) DeepCopy() *ExternalMetricSource {
79 if in == nil {
80 return nil
81 }
82 out := new(ExternalMetricSource)
83 in.DeepCopyInto(out)
84 return out
85}
86
87// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
88func (in *ExternalMetricStatus) DeepCopyInto(out *ExternalMetricStatus) {
89 *out = *in
90 if in.MetricSelector != nil {
91 in, out := &in.MetricSelector, &out.MetricSelector
92 if *in == nil {
93 *out = nil
94 } else {
95 *out = new(meta_v1.LabelSelector)
96 (*in).DeepCopyInto(*out)
97 }
98 }
99 out.CurrentValue = in.CurrentValue.DeepCopy()
100 if in.CurrentAverageValue != nil {
101 in, out := &in.CurrentAverageValue, &out.CurrentAverageValue
102 if *in == nil {
103 *out = nil
104 } else {
105 x := (*in).DeepCopy()
106 *out = &x
107 }
108 }
109 return
110}
111
112// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricStatus.
113func (in *ExternalMetricStatus) DeepCopy() *ExternalMetricStatus {
114 if in == nil {
115 return nil
116 }
117 out := new(ExternalMetricStatus)
118 in.DeepCopyInto(out)
119 return out
120}
121
122// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
123func (in *HorizontalPodAutoscaler) DeepCopyInto(out *HorizontalPodAutoscaler) {
124 *out = *in
125 out.TypeMeta = in.TypeMeta
126 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
127 in.Spec.DeepCopyInto(&out.Spec)
128 in.Status.DeepCopyInto(&out.Status)
129 return
130}
131
132// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscaler.
133func (in *HorizontalPodAutoscaler) DeepCopy() *HorizontalPodAutoscaler {
134 if in == nil {
135 return nil
136 }
137 out := new(HorizontalPodAutoscaler)
138 in.DeepCopyInto(out)
139 return out
140}
141
142// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
143func (in *HorizontalPodAutoscaler) DeepCopyObject() runtime.Object {
144 if c := in.DeepCopy(); c != nil {
145 return c
146 }
147 return nil
148}
149
150// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
151func (in *HorizontalPodAutoscalerCondition) DeepCopyInto(out *HorizontalPodAutoscalerCondition) {
152 *out = *in
153 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
154 return
155}
156
157// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerCondition.
158func (in *HorizontalPodAutoscalerCondition) DeepCopy() *HorizontalPodAutoscalerCondition {
159 if in == nil {
160 return nil
161 }
162 out := new(HorizontalPodAutoscalerCondition)
163 in.DeepCopyInto(out)
164 return out
165}
166
167// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
168func (in *HorizontalPodAutoscalerList) DeepCopyInto(out *HorizontalPodAutoscalerList) {
169 *out = *in
170 out.TypeMeta = in.TypeMeta
171 out.ListMeta = in.ListMeta
172 if in.Items != nil {
173 in, out := &in.Items, &out.Items
174 *out = make([]HorizontalPodAutoscaler, len(*in))
175 for i := range *in {
176 (*in)[i].DeepCopyInto(&(*out)[i])
177 }
178 }
179 return
180}
181
182// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerList.
183func (in *HorizontalPodAutoscalerList) DeepCopy() *HorizontalPodAutoscalerList {
184 if in == nil {
185 return nil
186 }
187 out := new(HorizontalPodAutoscalerList)
188 in.DeepCopyInto(out)
189 return out
190}
191
192// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
193func (in *HorizontalPodAutoscalerList) DeepCopyObject() runtime.Object {
194 if c := in.DeepCopy(); c != nil {
195 return c
196 }
197 return nil
198}
199
200// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
201func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscalerSpec) {
202 *out = *in
203 out.ScaleTargetRef = in.ScaleTargetRef
204 if in.MinReplicas != nil {
205 in, out := &in.MinReplicas, &out.MinReplicas
206 if *in == nil {
207 *out = nil
208 } else {
209 *out = new(int32)
210 **out = **in
211 }
212 }
213 if in.TargetCPUUtilizationPercentage != nil {
214 in, out := &in.TargetCPUUtilizationPercentage, &out.TargetCPUUtilizationPercentage
215 if *in == nil {
216 *out = nil
217 } else {
218 *out = new(int32)
219 **out = **in
220 }
221 }
222 return
223}
224
225// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec.
226func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec {
227 if in == nil {
228 return nil
229 }
230 out := new(HorizontalPodAutoscalerSpec)
231 in.DeepCopyInto(out)
232 return out
233}
234
235// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
236func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscalerStatus) {
237 *out = *in
238 if in.ObservedGeneration != nil {
239 in, out := &in.ObservedGeneration, &out.ObservedGeneration
240 if *in == nil {
241 *out = nil
242 } else {
243 *out = new(int64)
244 **out = **in
245 }
246 }
247 if in.LastScaleTime != nil {
248 in, out := &in.LastScaleTime, &out.LastScaleTime
249 if *in == nil {
250 *out = nil
251 } else {
252 *out = (*in).DeepCopy()
253 }
254 }
255 if in.CurrentCPUUtilizationPercentage != nil {
256 in, out := &in.CurrentCPUUtilizationPercentage, &out.CurrentCPUUtilizationPercentage
257 if *in == nil {
258 *out = nil
259 } else {
260 *out = new(int32)
261 **out = **in
262 }
263 }
264 return
265}
266
267// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus.
268func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus {
269 if in == nil {
270 return nil
271 }
272 out := new(HorizontalPodAutoscalerStatus)
273 in.DeepCopyInto(out)
274 return out
275}
276
277// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
278func (in *MetricSpec) DeepCopyInto(out *MetricSpec) {
279 *out = *in
280 if in.Object != nil {
281 in, out := &in.Object, &out.Object
282 if *in == nil {
283 *out = nil
284 } else {
285 *out = new(ObjectMetricSource)
286 (*in).DeepCopyInto(*out)
287 }
288 }
289 if in.Pods != nil {
290 in, out := &in.Pods, &out.Pods
291 if *in == nil {
292 *out = nil
293 } else {
294 *out = new(PodsMetricSource)
295 (*in).DeepCopyInto(*out)
296 }
297 }
298 if in.Resource != nil {
299 in, out := &in.Resource, &out.Resource
300 if *in == nil {
301 *out = nil
302 } else {
303 *out = new(ResourceMetricSource)
304 (*in).DeepCopyInto(*out)
305 }
306 }
307 if in.External != nil {
308 in, out := &in.External, &out.External
309 if *in == nil {
310 *out = nil
311 } else {
312 *out = new(ExternalMetricSource)
313 (*in).DeepCopyInto(*out)
314 }
315 }
316 return
317}
318
319// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec.
320func (in *MetricSpec) DeepCopy() *MetricSpec {
321 if in == nil {
322 return nil
323 }
324 out := new(MetricSpec)
325 in.DeepCopyInto(out)
326 return out
327}
328
329// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
330func (in *MetricStatus) DeepCopyInto(out *MetricStatus) {
331 *out = *in
332 if in.Object != nil {
333 in, out := &in.Object, &out.Object
334 if *in == nil {
335 *out = nil
336 } else {
337 *out = new(ObjectMetricStatus)
338 (*in).DeepCopyInto(*out)
339 }
340 }
341 if in.Pods != nil {
342 in, out := &in.Pods, &out.Pods
343 if *in == nil {
344 *out = nil
345 } else {
346 *out = new(PodsMetricStatus)
347 (*in).DeepCopyInto(*out)
348 }
349 }
350 if in.Resource != nil {
351 in, out := &in.Resource, &out.Resource
352 if *in == nil {
353 *out = nil
354 } else {
355 *out = new(ResourceMetricStatus)
356 (*in).DeepCopyInto(*out)
357 }
358 }
359 if in.External != nil {
360 in, out := &in.External, &out.External
361 if *in == nil {
362 *out = nil
363 } else {
364 *out = new(ExternalMetricStatus)
365 (*in).DeepCopyInto(*out)
366 }
367 }
368 return
369}
370
371// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus.
372func (in *MetricStatus) DeepCopy() *MetricStatus {
373 if in == nil {
374 return nil
375 }
376 out := new(MetricStatus)
377 in.DeepCopyInto(out)
378 return out
379}
380
381// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
382func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) {
383 *out = *in
384 out.Target = in.Target
385 out.TargetValue = in.TargetValue.DeepCopy()
386 return
387}
388
389// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource.
390func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource {
391 if in == nil {
392 return nil
393 }
394 out := new(ObjectMetricSource)
395 in.DeepCopyInto(out)
396 return out
397}
398
399// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
400func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) {
401 *out = *in
402 out.Target = in.Target
403 out.CurrentValue = in.CurrentValue.DeepCopy()
404 return
405}
406
407// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus.
408func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus {
409 if in == nil {
410 return nil
411 }
412 out := new(ObjectMetricStatus)
413 in.DeepCopyInto(out)
414 return out
415}
416
417// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
418func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) {
419 *out = *in
420 out.TargetAverageValue = in.TargetAverageValue.DeepCopy()
421 return
422}
423
424// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource.
425func (in *PodsMetricSource) DeepCopy() *PodsMetricSource {
426 if in == nil {
427 return nil
428 }
429 out := new(PodsMetricSource)
430 in.DeepCopyInto(out)
431 return out
432}
433
434// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
435func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) {
436 *out = *in
437 out.CurrentAverageValue = in.CurrentAverageValue.DeepCopy()
438 return
439}
440
441// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus.
442func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus {
443 if in == nil {
444 return nil
445 }
446 out := new(PodsMetricStatus)
447 in.DeepCopyInto(out)
448 return out
449}
450
451// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
452func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) {
453 *out = *in
454 if in.TargetAverageUtilization != nil {
455 in, out := &in.TargetAverageUtilization, &out.TargetAverageUtilization
456 if *in == nil {
457 *out = nil
458 } else {
459 *out = new(int32)
460 **out = **in
461 }
462 }
463 if in.TargetAverageValue != nil {
464 in, out := &in.TargetAverageValue, &out.TargetAverageValue
465 if *in == nil {
466 *out = nil
467 } else {
468 x := (*in).DeepCopy()
469 *out = &x
470 }
471 }
472 return
473}
474
475// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource.
476func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource {
477 if in == nil {
478 return nil
479 }
480 out := new(ResourceMetricSource)
481 in.DeepCopyInto(out)
482 return out
483}
484
485// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
486func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) {
487 *out = *in
488 if in.CurrentAverageUtilization != nil {
489 in, out := &in.CurrentAverageUtilization, &out.CurrentAverageUtilization
490 if *in == nil {
491 *out = nil
492 } else {
493 *out = new(int32)
494 **out = **in
495 }
496 }
497 out.CurrentAverageValue = in.CurrentAverageValue.DeepCopy()
498 return
499}
500
501// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus.
502func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus {
503 if in == nil {
504 return nil
505 }
506 out := new(ResourceMetricStatus)
507 in.DeepCopyInto(out)
508 return out
509}
510
511// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
512func (in *Scale) DeepCopyInto(out *Scale) {
513 *out = *in
514 out.TypeMeta = in.TypeMeta
515 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
516 out.Spec = in.Spec
517 out.Status = in.Status
518 return
519}
520
521// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
522func (in *Scale) DeepCopy() *Scale {
523 if in == nil {
524 return nil
525 }
526 out := new(Scale)
527 in.DeepCopyInto(out)
528 return out
529}
530
531// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
532func (in *Scale) DeepCopyObject() runtime.Object {
533 if c := in.DeepCopy(); c != nil {
534 return c
535 }
536 return nil
537}
538
539// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
540func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
541 *out = *in
542 return
543}
544
545// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
546func (in *ScaleSpec) DeepCopy() *ScaleSpec {
547 if in == nil {
548 return nil
549 }
550 out := new(ScaleSpec)
551 in.DeepCopyInto(out)
552 return out
553}
554
555// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
556func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
557 *out = *in
558 return
559}
560
561// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
562func (in *ScaleStatus) DeepCopy() *ScaleStatus {
563 if in == nil {
564 return nil
565 }
566 out := new(ScaleStatus)
567 in.DeepCopyInto(out)
568 return out
569}