blob: c51e05b8f092d7a2669f881654686081016cef4d [file] [log] [blame]
Zack Williamse940c7a2019-08-21 14:25:39 -07001// +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 v2beta1
22
23import (
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.
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(v1.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(v1.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 in.ListMeta.DeepCopyInto(&out.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.Metrics != nil {
190 in, out := &in.Metrics, &out.Metrics
191 *out = make([]MetricSpec, len(*in))
192 for i := range *in {
193 (*in)[i].DeepCopyInto(&(*out)[i])
194 }
195 }
196 return
197}
198
199// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerSpec.
200func (in *HorizontalPodAutoscalerSpec) DeepCopy() *HorizontalPodAutoscalerSpec {
201 if in == nil {
202 return nil
203 }
204 out := new(HorizontalPodAutoscalerSpec)
205 in.DeepCopyInto(out)
206 return out
207}
208
209// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
210func (in *HorizontalPodAutoscalerStatus) DeepCopyInto(out *HorizontalPodAutoscalerStatus) {
211 *out = *in
212 if in.ObservedGeneration != nil {
213 in, out := &in.ObservedGeneration, &out.ObservedGeneration
214 *out = new(int64)
215 **out = **in
216 }
217 if in.LastScaleTime != nil {
218 in, out := &in.LastScaleTime, &out.LastScaleTime
219 *out = (*in).DeepCopy()
220 }
221 if in.CurrentMetrics != nil {
222 in, out := &in.CurrentMetrics, &out.CurrentMetrics
223 *out = make([]MetricStatus, len(*in))
224 for i := range *in {
225 (*in)[i].DeepCopyInto(&(*out)[i])
226 }
227 }
228 if in.Conditions != nil {
229 in, out := &in.Conditions, &out.Conditions
230 *out = make([]HorizontalPodAutoscalerCondition, len(*in))
231 for i := range *in {
232 (*in)[i].DeepCopyInto(&(*out)[i])
233 }
234 }
235 return
236}
237
238// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalPodAutoscalerStatus.
239func (in *HorizontalPodAutoscalerStatus) DeepCopy() *HorizontalPodAutoscalerStatus {
240 if in == nil {
241 return nil
242 }
243 out := new(HorizontalPodAutoscalerStatus)
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.
249func (in *MetricSpec) DeepCopyInto(out *MetricSpec) {
250 *out = *in
251 if in.Object != nil {
252 in, out := &in.Object, &out.Object
253 *out = new(ObjectMetricSource)
254 (*in).DeepCopyInto(*out)
255 }
256 if in.Pods != nil {
257 in, out := &in.Pods, &out.Pods
258 *out = new(PodsMetricSource)
259 (*in).DeepCopyInto(*out)
260 }
261 if in.Resource != nil {
262 in, out := &in.Resource, &out.Resource
263 *out = new(ResourceMetricSource)
264 (*in).DeepCopyInto(*out)
265 }
266 if in.External != nil {
267 in, out := &in.External, &out.External
268 *out = new(ExternalMetricSource)
269 (*in).DeepCopyInto(*out)
270 }
271 return
272}
273
274// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec.
275func (in *MetricSpec) DeepCopy() *MetricSpec {
276 if in == nil {
277 return nil
278 }
279 out := new(MetricSpec)
280 in.DeepCopyInto(out)
281 return out
282}
283
284// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
285func (in *MetricStatus) DeepCopyInto(out *MetricStatus) {
286 *out = *in
287 if in.Object != nil {
288 in, out := &in.Object, &out.Object
289 *out = new(ObjectMetricStatus)
290 (*in).DeepCopyInto(*out)
291 }
292 if in.Pods != nil {
293 in, out := &in.Pods, &out.Pods
294 *out = new(PodsMetricStatus)
295 (*in).DeepCopyInto(*out)
296 }
297 if in.Resource != nil {
298 in, out := &in.Resource, &out.Resource
299 *out = new(ResourceMetricStatus)
300 (*in).DeepCopyInto(*out)
301 }
302 if in.External != nil {
303 in, out := &in.External, &out.External
304 *out = new(ExternalMetricStatus)
305 (*in).DeepCopyInto(*out)
306 }
307 return
308}
309
310// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus.
311func (in *MetricStatus) DeepCopy() *MetricStatus {
312 if in == nil {
313 return nil
314 }
315 out := new(MetricStatus)
316 in.DeepCopyInto(out)
317 return out
318}
319
320// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
321func (in *ObjectMetricSource) DeepCopyInto(out *ObjectMetricSource) {
322 *out = *in
323 out.Target = in.Target
324 out.TargetValue = in.TargetValue.DeepCopy()
325 if in.Selector != nil {
326 in, out := &in.Selector, &out.Selector
327 *out = new(v1.LabelSelector)
328 (*in).DeepCopyInto(*out)
329 }
330 if in.AverageValue != nil {
331 in, out := &in.AverageValue, &out.AverageValue
332 x := (*in).DeepCopy()
333 *out = &x
334 }
335 return
336}
337
338// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricSource.
339func (in *ObjectMetricSource) DeepCopy() *ObjectMetricSource {
340 if in == nil {
341 return nil
342 }
343 out := new(ObjectMetricSource)
344 in.DeepCopyInto(out)
345 return out
346}
347
348// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
349func (in *ObjectMetricStatus) DeepCopyInto(out *ObjectMetricStatus) {
350 *out = *in
351 out.Target = in.Target
352 out.CurrentValue = in.CurrentValue.DeepCopy()
353 if in.Selector != nil {
354 in, out := &in.Selector, &out.Selector
355 *out = new(v1.LabelSelector)
356 (*in).DeepCopyInto(*out)
357 }
358 if in.AverageValue != nil {
359 in, out := &in.AverageValue, &out.AverageValue
360 x := (*in).DeepCopy()
361 *out = &x
362 }
363 return
364}
365
366// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMetricStatus.
367func (in *ObjectMetricStatus) DeepCopy() *ObjectMetricStatus {
368 if in == nil {
369 return nil
370 }
371 out := new(ObjectMetricStatus)
372 in.DeepCopyInto(out)
373 return out
374}
375
376// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
377func (in *PodsMetricSource) DeepCopyInto(out *PodsMetricSource) {
378 *out = *in
379 out.TargetAverageValue = in.TargetAverageValue.DeepCopy()
380 if in.Selector != nil {
381 in, out := &in.Selector, &out.Selector
382 *out = new(v1.LabelSelector)
383 (*in).DeepCopyInto(*out)
384 }
385 return
386}
387
388// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricSource.
389func (in *PodsMetricSource) DeepCopy() *PodsMetricSource {
390 if in == nil {
391 return nil
392 }
393 out := new(PodsMetricSource)
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.
399func (in *PodsMetricStatus) DeepCopyInto(out *PodsMetricStatus) {
400 *out = *in
401 out.CurrentAverageValue = in.CurrentAverageValue.DeepCopy()
402 if in.Selector != nil {
403 in, out := &in.Selector, &out.Selector
404 *out = new(v1.LabelSelector)
405 (*in).DeepCopyInto(*out)
406 }
407 return
408}
409
410// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodsMetricStatus.
411func (in *PodsMetricStatus) DeepCopy() *PodsMetricStatus {
412 if in == nil {
413 return nil
414 }
415 out := new(PodsMetricStatus)
416 in.DeepCopyInto(out)
417 return out
418}
419
420// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
421func (in *ResourceMetricSource) DeepCopyInto(out *ResourceMetricSource) {
422 *out = *in
423 if in.TargetAverageUtilization != nil {
424 in, out := &in.TargetAverageUtilization, &out.TargetAverageUtilization
425 *out = new(int32)
426 **out = **in
427 }
428 if in.TargetAverageValue != nil {
429 in, out := &in.TargetAverageValue, &out.TargetAverageValue
430 x := (*in).DeepCopy()
431 *out = &x
432 }
433 return
434}
435
436// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricSource.
437func (in *ResourceMetricSource) DeepCopy() *ResourceMetricSource {
438 if in == nil {
439 return nil
440 }
441 out := new(ResourceMetricSource)
442 in.DeepCopyInto(out)
443 return out
444}
445
446// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
447func (in *ResourceMetricStatus) DeepCopyInto(out *ResourceMetricStatus) {
448 *out = *in
449 if in.CurrentAverageUtilization != nil {
450 in, out := &in.CurrentAverageUtilization, &out.CurrentAverageUtilization
451 *out = new(int32)
452 **out = **in
453 }
454 out.CurrentAverageValue = in.CurrentAverageValue.DeepCopy()
455 return
456}
457
458// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMetricStatus.
459func (in *ResourceMetricStatus) DeepCopy() *ResourceMetricStatus {
460 if in == nil {
461 return nil
462 }
463 out := new(ResourceMetricStatus)
464 in.DeepCopyInto(out)
465 return out
466}