Code refactoring for bpa operator
[icn.git] / cmd / bpa-operator / vendor / k8s.io / api / apps / v1beta1 / zz_generated.deepcopy.go
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 v1beta1
22
23 import (
24         corev1 "k8s.io/api/core/v1"
25         v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
26         runtime "k8s.io/apimachinery/pkg/runtime"
27         intstr "k8s.io/apimachinery/pkg/util/intstr"
28 )
29
30 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
31 func (in *ControllerRevision) DeepCopyInto(out *ControllerRevision) {
32         *out = *in
33         out.TypeMeta = in.TypeMeta
34         in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
35         in.Data.DeepCopyInto(&out.Data)
36         return
37 }
38
39 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
40 func (in *ControllerRevision) DeepCopy() *ControllerRevision {
41         if in == nil {
42                 return nil
43         }
44         out := new(ControllerRevision)
45         in.DeepCopyInto(out)
46         return out
47 }
48
49 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
50 func (in *ControllerRevision) DeepCopyObject() runtime.Object {
51         if c := in.DeepCopy(); c != nil {
52                 return c
53         }
54         return nil
55 }
56
57 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
58 func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList) {
59         *out = *in
60         out.TypeMeta = in.TypeMeta
61         out.ListMeta = in.ListMeta
62         if in.Items != nil {
63                 in, out := &in.Items, &out.Items
64                 *out = make([]ControllerRevision, len(*in))
65                 for i := range *in {
66                         (*in)[i].DeepCopyInto(&(*out)[i])
67                 }
68         }
69         return
70 }
71
72 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList.
73 func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList {
74         if in == nil {
75                 return nil
76         }
77         out := new(ControllerRevisionList)
78         in.DeepCopyInto(out)
79         return out
80 }
81
82 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
83 func (in *ControllerRevisionList) DeepCopyObject() runtime.Object {
84         if c := in.DeepCopy(); c != nil {
85                 return c
86         }
87         return nil
88 }
89
90 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
91 func (in *Deployment) DeepCopyInto(out *Deployment) {
92         *out = *in
93         out.TypeMeta = in.TypeMeta
94         in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
95         in.Spec.DeepCopyInto(&out.Spec)
96         in.Status.DeepCopyInto(&out.Status)
97         return
98 }
99
100 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
101 func (in *Deployment) DeepCopy() *Deployment {
102         if in == nil {
103                 return nil
104         }
105         out := new(Deployment)
106         in.DeepCopyInto(out)
107         return out
108 }
109
110 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
111 func (in *Deployment) DeepCopyObject() runtime.Object {
112         if c := in.DeepCopy(); c != nil {
113                 return c
114         }
115         return nil
116 }
117
118 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
119 func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) {
120         *out = *in
121         in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
122         in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
123         return
124 }
125
126 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition.
127 func (in *DeploymentCondition) DeepCopy() *DeploymentCondition {
128         if in == nil {
129                 return nil
130         }
131         out := new(DeploymentCondition)
132         in.DeepCopyInto(out)
133         return out
134 }
135
136 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
137 func (in *DeploymentList) DeepCopyInto(out *DeploymentList) {
138         *out = *in
139         out.TypeMeta = in.TypeMeta
140         out.ListMeta = in.ListMeta
141         if in.Items != nil {
142                 in, out := &in.Items, &out.Items
143                 *out = make([]Deployment, len(*in))
144                 for i := range *in {
145                         (*in)[i].DeepCopyInto(&(*out)[i])
146                 }
147         }
148         return
149 }
150
151 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList.
152 func (in *DeploymentList) DeepCopy() *DeploymentList {
153         if in == nil {
154                 return nil
155         }
156         out := new(DeploymentList)
157         in.DeepCopyInto(out)
158         return out
159 }
160
161 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
162 func (in *DeploymentList) DeepCopyObject() runtime.Object {
163         if c := in.DeepCopy(); c != nil {
164                 return c
165         }
166         return nil
167 }
168
169 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
170 func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) {
171         *out = *in
172         out.TypeMeta = in.TypeMeta
173         if in.UpdatedAnnotations != nil {
174                 in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations
175                 *out = make(map[string]string, len(*in))
176                 for key, val := range *in {
177                         (*out)[key] = val
178                 }
179         }
180         out.RollbackTo = in.RollbackTo
181         return
182 }
183
184 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback.
185 func (in *DeploymentRollback) DeepCopy() *DeploymentRollback {
186         if in == nil {
187                 return nil
188         }
189         out := new(DeploymentRollback)
190         in.DeepCopyInto(out)
191         return out
192 }
193
194 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
195 func (in *DeploymentRollback) DeepCopyObject() runtime.Object {
196         if c := in.DeepCopy(); c != nil {
197                 return c
198         }
199         return nil
200 }
201
202 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
203 func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) {
204         *out = *in
205         if in.Replicas != nil {
206                 in, out := &in.Replicas, &out.Replicas
207                 *out = new(int32)
208                 **out = **in
209         }
210         if in.Selector != nil {
211                 in, out := &in.Selector, &out.Selector
212                 *out = new(v1.LabelSelector)
213                 (*in).DeepCopyInto(*out)
214         }
215         in.Template.DeepCopyInto(&out.Template)
216         in.Strategy.DeepCopyInto(&out.Strategy)
217         if in.RevisionHistoryLimit != nil {
218                 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
219                 *out = new(int32)
220                 **out = **in
221         }
222         if in.RollbackTo != nil {
223                 in, out := &in.RollbackTo, &out.RollbackTo
224                 *out = new(RollbackConfig)
225                 **out = **in
226         }
227         if in.ProgressDeadlineSeconds != nil {
228                 in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds
229                 *out = new(int32)
230                 **out = **in
231         }
232         return
233 }
234
235 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
236 func (in *DeploymentSpec) DeepCopy() *DeploymentSpec {
237         if in == nil {
238                 return nil
239         }
240         out := new(DeploymentSpec)
241         in.DeepCopyInto(out)
242         return out
243 }
244
245 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
246 func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) {
247         *out = *in
248         if in.Conditions != nil {
249                 in, out := &in.Conditions, &out.Conditions
250                 *out = make([]DeploymentCondition, len(*in))
251                 for i := range *in {
252                         (*in)[i].DeepCopyInto(&(*out)[i])
253                 }
254         }
255         if in.CollisionCount != nil {
256                 in, out := &in.CollisionCount, &out.CollisionCount
257                 *out = new(int32)
258                 **out = **in
259         }
260         return
261 }
262
263 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
264 func (in *DeploymentStatus) DeepCopy() *DeploymentStatus {
265         if in == nil {
266                 return nil
267         }
268         out := new(DeploymentStatus)
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.
274 func (in *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) {
275         *out = *in
276         if in.RollingUpdate != nil {
277                 in, out := &in.RollingUpdate, &out.RollingUpdate
278                 *out = new(RollingUpdateDeployment)
279                 (*in).DeepCopyInto(*out)
280         }
281         return
282 }
283
284 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy.
285 func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy {
286         if in == nil {
287                 return nil
288         }
289         out := new(DeploymentStrategy)
290         in.DeepCopyInto(out)
291         return out
292 }
293
294 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
295 func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) {
296         *out = *in
297         return
298 }
299
300 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig.
301 func (in *RollbackConfig) DeepCopy() *RollbackConfig {
302         if in == nil {
303                 return nil
304         }
305         out := new(RollbackConfig)
306         in.DeepCopyInto(out)
307         return out
308 }
309
310 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
311 func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) {
312         *out = *in
313         if in.MaxUnavailable != nil {
314                 in, out := &in.MaxUnavailable, &out.MaxUnavailable
315                 *out = new(intstr.IntOrString)
316                 **out = **in
317         }
318         if in.MaxSurge != nil {
319                 in, out := &in.MaxSurge, &out.MaxSurge
320                 *out = new(intstr.IntOrString)
321                 **out = **in
322         }
323         return
324 }
325
326 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment.
327 func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment {
328         if in == nil {
329                 return nil
330         }
331         out := new(RollingUpdateDeployment)
332         in.DeepCopyInto(out)
333         return out
334 }
335
336 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
337 func (in *RollingUpdateStatefulSetStrategy) DeepCopyInto(out *RollingUpdateStatefulSetStrategy) {
338         *out = *in
339         if in.Partition != nil {
340                 in, out := &in.Partition, &out.Partition
341                 *out = new(int32)
342                 **out = **in
343         }
344         return
345 }
346
347 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateStatefulSetStrategy.
348 func (in *RollingUpdateStatefulSetStrategy) DeepCopy() *RollingUpdateStatefulSetStrategy {
349         if in == nil {
350                 return nil
351         }
352         out := new(RollingUpdateStatefulSetStrategy)
353         in.DeepCopyInto(out)
354         return out
355 }
356
357 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
358 func (in *Scale) DeepCopyInto(out *Scale) {
359         *out = *in
360         out.TypeMeta = in.TypeMeta
361         in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
362         out.Spec = in.Spec
363         in.Status.DeepCopyInto(&out.Status)
364         return
365 }
366
367 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.
368 func (in *Scale) DeepCopy() *Scale {
369         if in == nil {
370                 return nil
371         }
372         out := new(Scale)
373         in.DeepCopyInto(out)
374         return out
375 }
376
377 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
378 func (in *Scale) DeepCopyObject() runtime.Object {
379         if c := in.DeepCopy(); c != nil {
380                 return c
381         }
382         return nil
383 }
384
385 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
386 func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) {
387         *out = *in
388         return
389 }
390
391 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec.
392 func (in *ScaleSpec) DeepCopy() *ScaleSpec {
393         if in == nil {
394                 return nil
395         }
396         out := new(ScaleSpec)
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 *ScaleStatus) DeepCopyInto(out *ScaleStatus) {
403         *out = *in
404         if in.Selector != nil {
405                 in, out := &in.Selector, &out.Selector
406                 *out = make(map[string]string, len(*in))
407                 for key, val := range *in {
408                         (*out)[key] = val
409                 }
410         }
411         return
412 }
413
414 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
415 func (in *ScaleStatus) DeepCopy() *ScaleStatus {
416         if in == nil {
417                 return nil
418         }
419         out := new(ScaleStatus)
420         in.DeepCopyInto(out)
421         return out
422 }
423
424 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
425 func (in *StatefulSet) DeepCopyInto(out *StatefulSet) {
426         *out = *in
427         out.TypeMeta = in.TypeMeta
428         in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
429         in.Spec.DeepCopyInto(&out.Spec)
430         in.Status.DeepCopyInto(&out.Status)
431         return
432 }
433
434 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSet.
435 func (in *StatefulSet) DeepCopy() *StatefulSet {
436         if in == nil {
437                 return nil
438         }
439         out := new(StatefulSet)
440         in.DeepCopyInto(out)
441         return out
442 }
443
444 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
445 func (in *StatefulSet) DeepCopyObject() runtime.Object {
446         if c := in.DeepCopy(); c != nil {
447                 return c
448         }
449         return nil
450 }
451
452 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
453 func (in *StatefulSetCondition) DeepCopyInto(out *StatefulSetCondition) {
454         *out = *in
455         in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
456         return
457 }
458
459 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetCondition.
460 func (in *StatefulSetCondition) DeepCopy() *StatefulSetCondition {
461         if in == nil {
462                 return nil
463         }
464         out := new(StatefulSetCondition)
465         in.DeepCopyInto(out)
466         return out
467 }
468
469 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
470 func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList) {
471         *out = *in
472         out.TypeMeta = in.TypeMeta
473         out.ListMeta = in.ListMeta
474         if in.Items != nil {
475                 in, out := &in.Items, &out.Items
476                 *out = make([]StatefulSet, len(*in))
477                 for i := range *in {
478                         (*in)[i].DeepCopyInto(&(*out)[i])
479                 }
480         }
481         return
482 }
483
484 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.
485 func (in *StatefulSetList) DeepCopy() *StatefulSetList {
486         if in == nil {
487                 return nil
488         }
489         out := new(StatefulSetList)
490         in.DeepCopyInto(out)
491         return out
492 }
493
494 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
495 func (in *StatefulSetList) DeepCopyObject() runtime.Object {
496         if c := in.DeepCopy(); c != nil {
497                 return c
498         }
499         return nil
500 }
501
502 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
503 func (in *StatefulSetSpec) DeepCopyInto(out *StatefulSetSpec) {
504         *out = *in
505         if in.Replicas != nil {
506                 in, out := &in.Replicas, &out.Replicas
507                 *out = new(int32)
508                 **out = **in
509         }
510         if in.Selector != nil {
511                 in, out := &in.Selector, &out.Selector
512                 *out = new(v1.LabelSelector)
513                 (*in).DeepCopyInto(*out)
514         }
515         in.Template.DeepCopyInto(&out.Template)
516         if in.VolumeClaimTemplates != nil {
517                 in, out := &in.VolumeClaimTemplates, &out.VolumeClaimTemplates
518                 *out = make([]corev1.PersistentVolumeClaim, len(*in))
519                 for i := range *in {
520                         (*in)[i].DeepCopyInto(&(*out)[i])
521                 }
522         }
523         in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy)
524         if in.RevisionHistoryLimit != nil {
525                 in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit
526                 *out = new(int32)
527                 **out = **in
528         }
529         return
530 }
531
532 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetSpec.
533 func (in *StatefulSetSpec) DeepCopy() *StatefulSetSpec {
534         if in == nil {
535                 return nil
536         }
537         out := new(StatefulSetSpec)
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 *StatefulSetStatus) DeepCopyInto(out *StatefulSetStatus) {
544         *out = *in
545         if in.ObservedGeneration != nil {
546                 in, out := &in.ObservedGeneration, &out.ObservedGeneration
547                 *out = new(int64)
548                 **out = **in
549         }
550         if in.CollisionCount != nil {
551                 in, out := &in.CollisionCount, &out.CollisionCount
552                 *out = new(int32)
553                 **out = **in
554         }
555         if in.Conditions != nil {
556                 in, out := &in.Conditions, &out.Conditions
557                 *out = make([]StatefulSetCondition, len(*in))
558                 for i := range *in {
559                         (*in)[i].DeepCopyInto(&(*out)[i])
560                 }
561         }
562         return
563 }
564
565 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetStatus.
566 func (in *StatefulSetStatus) DeepCopy() *StatefulSetStatus {
567         if in == nil {
568                 return nil
569         }
570         out := new(StatefulSetStatus)
571         in.DeepCopyInto(out)
572         return out
573 }
574
575 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
576 func (in *StatefulSetUpdateStrategy) DeepCopyInto(out *StatefulSetUpdateStrategy) {
577         *out = *in
578         if in.RollingUpdate != nil {
579                 in, out := &in.RollingUpdate, &out.RollingUpdate
580                 *out = new(RollingUpdateStatefulSetStrategy)
581                 (*in).DeepCopyInto(*out)
582         }
583         return
584 }
585
586 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetUpdateStrategy.
587 func (in *StatefulSetUpdateStrategy) DeepCopy() *StatefulSetUpdateStrategy {
588         if in == nil {
589                 return nil
590         }
591         out := new(StatefulSetUpdateStrategy)
592         in.DeepCopyInto(out)
593         return out
594 }