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