blob: 75851e124a18dc1a11046a4d2860c5f2e7cae58b [file] [log] [blame]
Matteo Scandoloa4285862020-12-01 18:10:10 -08001// +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 v1beta1
22
23import (
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.
31func (in *AllowedCSIDriver) DeepCopyInto(out *AllowedCSIDriver) {
32 *out = *in
33 return
34}
35
36// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedCSIDriver.
37func (in *AllowedCSIDriver) DeepCopy() *AllowedCSIDriver {
38 if in == nil {
39 return nil
40 }
41 out := new(AllowedCSIDriver)
42 in.DeepCopyInto(out)
43 return out
44}
45
46// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
47func (in *AllowedFlexVolume) DeepCopyInto(out *AllowedFlexVolume) {
48 *out = *in
49 return
50}
51
52// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedFlexVolume.
53func (in *AllowedFlexVolume) DeepCopy() *AllowedFlexVolume {
54 if in == nil {
55 return nil
56 }
57 out := new(AllowedFlexVolume)
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.
63func (in *AllowedHostPath) DeepCopyInto(out *AllowedHostPath) {
64 *out = *in
65 return
66}
67
68// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedHostPath.
69func (in *AllowedHostPath) DeepCopy() *AllowedHostPath {
70 if in == nil {
71 return nil
72 }
73 out := new(AllowedHostPath)
74 in.DeepCopyInto(out)
75 return out
76}
77
78// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
79func (in *Eviction) DeepCopyInto(out *Eviction) {
80 *out = *in
81 out.TypeMeta = in.TypeMeta
82 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
83 if in.DeleteOptions != nil {
84 in, out := &in.DeleteOptions, &out.DeleteOptions
85 *out = new(v1.DeleteOptions)
86 (*in).DeepCopyInto(*out)
87 }
88 return
89}
90
91// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eviction.
92func (in *Eviction) DeepCopy() *Eviction {
93 if in == nil {
94 return nil
95 }
96 out := new(Eviction)
97 in.DeepCopyInto(out)
98 return out
99}
100
101// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
102func (in *Eviction) DeepCopyObject() runtime.Object {
103 if c := in.DeepCopy(); c != nil {
104 return c
105 }
106 return nil
107}
108
109// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
110func (in *FSGroupStrategyOptions) DeepCopyInto(out *FSGroupStrategyOptions) {
111 *out = *in
112 if in.Ranges != nil {
113 in, out := &in.Ranges, &out.Ranges
114 *out = make([]IDRange, len(*in))
115 copy(*out, *in)
116 }
117 return
118}
119
120// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSGroupStrategyOptions.
121func (in *FSGroupStrategyOptions) DeepCopy() *FSGroupStrategyOptions {
122 if in == nil {
123 return nil
124 }
125 out := new(FSGroupStrategyOptions)
126 in.DeepCopyInto(out)
127 return out
128}
129
130// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
131func (in *HostPortRange) DeepCopyInto(out *HostPortRange) {
132 *out = *in
133 return
134}
135
136// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortRange.
137func (in *HostPortRange) DeepCopy() *HostPortRange {
138 if in == nil {
139 return nil
140 }
141 out := new(HostPortRange)
142 in.DeepCopyInto(out)
143 return out
144}
145
146// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
147func (in *IDRange) DeepCopyInto(out *IDRange) {
148 *out = *in
149 return
150}
151
152// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IDRange.
153func (in *IDRange) DeepCopy() *IDRange {
154 if in == nil {
155 return nil
156 }
157 out := new(IDRange)
158 in.DeepCopyInto(out)
159 return out
160}
161
162// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
163func (in *PodDisruptionBudget) DeepCopyInto(out *PodDisruptionBudget) {
164 *out = *in
165 out.TypeMeta = in.TypeMeta
166 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
167 in.Spec.DeepCopyInto(&out.Spec)
168 in.Status.DeepCopyInto(&out.Status)
169 return
170}
171
172// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget.
173func (in *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget {
174 if in == nil {
175 return nil
176 }
177 out := new(PodDisruptionBudget)
178 in.DeepCopyInto(out)
179 return out
180}
181
182// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
183func (in *PodDisruptionBudget) DeepCopyObject() runtime.Object {
184 if c := in.DeepCopy(); c != nil {
185 return c
186 }
187 return nil
188}
189
190// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
191func (in *PodDisruptionBudgetList) DeepCopyInto(out *PodDisruptionBudgetList) {
192 *out = *in
193 out.TypeMeta = in.TypeMeta
194 in.ListMeta.DeepCopyInto(&out.ListMeta)
195 if in.Items != nil {
196 in, out := &in.Items, &out.Items
197 *out = make([]PodDisruptionBudget, len(*in))
198 for i := range *in {
199 (*in)[i].DeepCopyInto(&(*out)[i])
200 }
201 }
202 return
203}
204
205// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList.
206func (in *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList {
207 if in == nil {
208 return nil
209 }
210 out := new(PodDisruptionBudgetList)
211 in.DeepCopyInto(out)
212 return out
213}
214
215// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
216func (in *PodDisruptionBudgetList) DeepCopyObject() runtime.Object {
217 if c := in.DeepCopy(); c != nil {
218 return c
219 }
220 return nil
221}
222
223// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
224func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) {
225 *out = *in
226 if in.MinAvailable != nil {
227 in, out := &in.MinAvailable, &out.MinAvailable
228 *out = new(intstr.IntOrString)
229 **out = **in
230 }
231 if in.Selector != nil {
232 in, out := &in.Selector, &out.Selector
233 *out = new(v1.LabelSelector)
234 (*in).DeepCopyInto(*out)
235 }
236 if in.MaxUnavailable != nil {
237 in, out := &in.MaxUnavailable, &out.MaxUnavailable
238 *out = new(intstr.IntOrString)
239 **out = **in
240 }
241 return
242}
243
244// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec.
245func (in *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec {
246 if in == nil {
247 return nil
248 }
249 out := new(PodDisruptionBudgetSpec)
250 in.DeepCopyInto(out)
251 return out
252}
253
254// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
255func (in *PodDisruptionBudgetStatus) DeepCopyInto(out *PodDisruptionBudgetStatus) {
256 *out = *in
257 if in.DisruptedPods != nil {
258 in, out := &in.DisruptedPods, &out.DisruptedPods
259 *out = make(map[string]v1.Time, len(*in))
260 for key, val := range *in {
261 (*out)[key] = *val.DeepCopy()
262 }
263 }
264 return
265}
266
267// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus.
268func (in *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus {
269 if in == nil {
270 return nil
271 }
272 out := new(PodDisruptionBudgetStatus)
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 *PodSecurityPolicy) DeepCopyInto(out *PodSecurityPolicy) {
279 *out = *in
280 out.TypeMeta = in.TypeMeta
281 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
282 in.Spec.DeepCopyInto(&out.Spec)
283 return
284}
285
286// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicy.
287func (in *PodSecurityPolicy) DeepCopy() *PodSecurityPolicy {
288 if in == nil {
289 return nil
290 }
291 out := new(PodSecurityPolicy)
292 in.DeepCopyInto(out)
293 return out
294}
295
296// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
297func (in *PodSecurityPolicy) DeepCopyObject() runtime.Object {
298 if c := in.DeepCopy(); c != nil {
299 return c
300 }
301 return nil
302}
303
304// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
305func (in *PodSecurityPolicyList) DeepCopyInto(out *PodSecurityPolicyList) {
306 *out = *in
307 out.TypeMeta = in.TypeMeta
308 in.ListMeta.DeepCopyInto(&out.ListMeta)
309 if in.Items != nil {
310 in, out := &in.Items, &out.Items
311 *out = make([]PodSecurityPolicy, len(*in))
312 for i := range *in {
313 (*in)[i].DeepCopyInto(&(*out)[i])
314 }
315 }
316 return
317}
318
319// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyList.
320func (in *PodSecurityPolicyList) DeepCopy() *PodSecurityPolicyList {
321 if in == nil {
322 return nil
323 }
324 out := new(PodSecurityPolicyList)
325 in.DeepCopyInto(out)
326 return out
327}
328
329// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
330func (in *PodSecurityPolicyList) DeepCopyObject() runtime.Object {
331 if c := in.DeepCopy(); c != nil {
332 return c
333 }
334 return nil
335}
336
337// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
338func (in *PodSecurityPolicySpec) DeepCopyInto(out *PodSecurityPolicySpec) {
339 *out = *in
340 if in.DefaultAddCapabilities != nil {
341 in, out := &in.DefaultAddCapabilities, &out.DefaultAddCapabilities
342 *out = make([]corev1.Capability, len(*in))
343 copy(*out, *in)
344 }
345 if in.RequiredDropCapabilities != nil {
346 in, out := &in.RequiredDropCapabilities, &out.RequiredDropCapabilities
347 *out = make([]corev1.Capability, len(*in))
348 copy(*out, *in)
349 }
350 if in.AllowedCapabilities != nil {
351 in, out := &in.AllowedCapabilities, &out.AllowedCapabilities
352 *out = make([]corev1.Capability, len(*in))
353 copy(*out, *in)
354 }
355 if in.Volumes != nil {
356 in, out := &in.Volumes, &out.Volumes
357 *out = make([]FSType, len(*in))
358 copy(*out, *in)
359 }
360 if in.HostPorts != nil {
361 in, out := &in.HostPorts, &out.HostPorts
362 *out = make([]HostPortRange, len(*in))
363 copy(*out, *in)
364 }
365 in.SELinux.DeepCopyInto(&out.SELinux)
366 in.RunAsUser.DeepCopyInto(&out.RunAsUser)
367 if in.RunAsGroup != nil {
368 in, out := &in.RunAsGroup, &out.RunAsGroup
369 *out = new(RunAsGroupStrategyOptions)
370 (*in).DeepCopyInto(*out)
371 }
372 in.SupplementalGroups.DeepCopyInto(&out.SupplementalGroups)
373 in.FSGroup.DeepCopyInto(&out.FSGroup)
374 if in.DefaultAllowPrivilegeEscalation != nil {
375 in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation
376 *out = new(bool)
377 **out = **in
378 }
379 if in.AllowPrivilegeEscalation != nil {
380 in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation
381 *out = new(bool)
382 **out = **in
383 }
384 if in.AllowedHostPaths != nil {
385 in, out := &in.AllowedHostPaths, &out.AllowedHostPaths
386 *out = make([]AllowedHostPath, len(*in))
387 copy(*out, *in)
388 }
389 if in.AllowedFlexVolumes != nil {
390 in, out := &in.AllowedFlexVolumes, &out.AllowedFlexVolumes
391 *out = make([]AllowedFlexVolume, len(*in))
392 copy(*out, *in)
393 }
394 if in.AllowedCSIDrivers != nil {
395 in, out := &in.AllowedCSIDrivers, &out.AllowedCSIDrivers
396 *out = make([]AllowedCSIDriver, len(*in))
397 copy(*out, *in)
398 }
399 if in.AllowedUnsafeSysctls != nil {
400 in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
401 *out = make([]string, len(*in))
402 copy(*out, *in)
403 }
404 if in.ForbiddenSysctls != nil {
405 in, out := &in.ForbiddenSysctls, &out.ForbiddenSysctls
406 *out = make([]string, len(*in))
407 copy(*out, *in)
408 }
409 if in.AllowedProcMountTypes != nil {
410 in, out := &in.AllowedProcMountTypes, &out.AllowedProcMountTypes
411 *out = make([]corev1.ProcMountType, len(*in))
412 copy(*out, *in)
413 }
414 if in.RuntimeClass != nil {
415 in, out := &in.RuntimeClass, &out.RuntimeClass
416 *out = new(RuntimeClassStrategyOptions)
417 (*in).DeepCopyInto(*out)
418 }
419 return
420}
421
422// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySpec.
423func (in *PodSecurityPolicySpec) DeepCopy() *PodSecurityPolicySpec {
424 if in == nil {
425 return nil
426 }
427 out := new(PodSecurityPolicySpec)
428 in.DeepCopyInto(out)
429 return out
430}
431
432// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
433func (in *RunAsGroupStrategyOptions) DeepCopyInto(out *RunAsGroupStrategyOptions) {
434 *out = *in
435 if in.Ranges != nil {
436 in, out := &in.Ranges, &out.Ranges
437 *out = make([]IDRange, len(*in))
438 copy(*out, *in)
439 }
440 return
441}
442
443// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsGroupStrategyOptions.
444func (in *RunAsGroupStrategyOptions) DeepCopy() *RunAsGroupStrategyOptions {
445 if in == nil {
446 return nil
447 }
448 out := new(RunAsGroupStrategyOptions)
449 in.DeepCopyInto(out)
450 return out
451}
452
453// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
454func (in *RunAsUserStrategyOptions) DeepCopyInto(out *RunAsUserStrategyOptions) {
455 *out = *in
456 if in.Ranges != nil {
457 in, out := &in.Ranges, &out.Ranges
458 *out = make([]IDRange, len(*in))
459 copy(*out, *in)
460 }
461 return
462}
463
464// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserStrategyOptions.
465func (in *RunAsUserStrategyOptions) DeepCopy() *RunAsUserStrategyOptions {
466 if in == nil {
467 return nil
468 }
469 out := new(RunAsUserStrategyOptions)
470 in.DeepCopyInto(out)
471 return out
472}
473
474// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
475func (in *RuntimeClassStrategyOptions) DeepCopyInto(out *RuntimeClassStrategyOptions) {
476 *out = *in
477 if in.AllowedRuntimeClassNames != nil {
478 in, out := &in.AllowedRuntimeClassNames, &out.AllowedRuntimeClassNames
479 *out = make([]string, len(*in))
480 copy(*out, *in)
481 }
482 if in.DefaultRuntimeClassName != nil {
483 in, out := &in.DefaultRuntimeClassName, &out.DefaultRuntimeClassName
484 *out = new(string)
485 **out = **in
486 }
487 return
488}
489
490// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClassStrategyOptions.
491func (in *RuntimeClassStrategyOptions) DeepCopy() *RuntimeClassStrategyOptions {
492 if in == nil {
493 return nil
494 }
495 out := new(RuntimeClassStrategyOptions)
496 in.DeepCopyInto(out)
497 return out
498}
499
500// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
501func (in *SELinuxStrategyOptions) DeepCopyInto(out *SELinuxStrategyOptions) {
502 *out = *in
503 if in.SELinuxOptions != nil {
504 in, out := &in.SELinuxOptions, &out.SELinuxOptions
505 *out = new(corev1.SELinuxOptions)
506 **out = **in
507 }
508 return
509}
510
511// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxStrategyOptions.
512func (in *SELinuxStrategyOptions) DeepCopy() *SELinuxStrategyOptions {
513 if in == nil {
514 return nil
515 }
516 out := new(SELinuxStrategyOptions)
517 in.DeepCopyInto(out)
518 return out
519}
520
521// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
522func (in *SupplementalGroupsStrategyOptions) DeepCopyInto(out *SupplementalGroupsStrategyOptions) {
523 *out = *in
524 if in.Ranges != nil {
525 in, out := &in.Ranges, &out.Ranges
526 *out = make([]IDRange, len(*in))
527 copy(*out, *in)
528 }
529 return
530}
531
532// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsStrategyOptions.
533func (in *SupplementalGroupsStrategyOptions) DeepCopy() *SupplementalGroupsStrategyOptions {
534 if in == nil {
535 return nil
536 }
537 out := new(SupplementalGroupsStrategyOptions)
538 in.DeepCopyInto(out)
539 return out
540}