blob: 1980bd1611c09a48e1b9c41e25460b96df3ce2cc [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 v1beta1
22
23import (
24 core_v1 "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 *AllowedFlexVolume) DeepCopyInto(out *AllowedFlexVolume) {
32 *out = *in
33 return
34}
35
36// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedFlexVolume.
37func (in *AllowedFlexVolume) DeepCopy() *AllowedFlexVolume {
38 if in == nil {
39 return nil
40 }
41 out := new(AllowedFlexVolume)
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 *AllowedHostPath) DeepCopyInto(out *AllowedHostPath) {
48 *out = *in
49 return
50}
51
52// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedHostPath.
53func (in *AllowedHostPath) DeepCopy() *AllowedHostPath {
54 if in == nil {
55 return nil
56 }
57 out := new(AllowedHostPath)
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 *Eviction) DeepCopyInto(out *Eviction) {
64 *out = *in
65 out.TypeMeta = in.TypeMeta
66 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
67 if in.DeleteOptions != nil {
68 in, out := &in.DeleteOptions, &out.DeleteOptions
69 if *in == nil {
70 *out = nil
71 } else {
72 *out = new(v1.DeleteOptions)
73 (*in).DeepCopyInto(*out)
74 }
75 }
76 return
77}
78
79// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eviction.
80func (in *Eviction) DeepCopy() *Eviction {
81 if in == nil {
82 return nil
83 }
84 out := new(Eviction)
85 in.DeepCopyInto(out)
86 return out
87}
88
89// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
90func (in *Eviction) DeepCopyObject() runtime.Object {
91 if c := in.DeepCopy(); c != nil {
92 return c
93 }
94 return nil
95}
96
97// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
98func (in *FSGroupStrategyOptions) DeepCopyInto(out *FSGroupStrategyOptions) {
99 *out = *in
100 if in.Ranges != nil {
101 in, out := &in.Ranges, &out.Ranges
102 *out = make([]IDRange, len(*in))
103 copy(*out, *in)
104 }
105 return
106}
107
108// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSGroupStrategyOptions.
109func (in *FSGroupStrategyOptions) DeepCopy() *FSGroupStrategyOptions {
110 if in == nil {
111 return nil
112 }
113 out := new(FSGroupStrategyOptions)
114 in.DeepCopyInto(out)
115 return out
116}
117
118// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
119func (in *HostPortRange) DeepCopyInto(out *HostPortRange) {
120 *out = *in
121 return
122}
123
124// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortRange.
125func (in *HostPortRange) DeepCopy() *HostPortRange {
126 if in == nil {
127 return nil
128 }
129 out := new(HostPortRange)
130 in.DeepCopyInto(out)
131 return out
132}
133
134// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
135func (in *IDRange) DeepCopyInto(out *IDRange) {
136 *out = *in
137 return
138}
139
140// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IDRange.
141func (in *IDRange) DeepCopy() *IDRange {
142 if in == nil {
143 return nil
144 }
145 out := new(IDRange)
146 in.DeepCopyInto(out)
147 return out
148}
149
150// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
151func (in *PodDisruptionBudget) DeepCopyInto(out *PodDisruptionBudget) {
152 *out = *in
153 out.TypeMeta = in.TypeMeta
154 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
155 in.Spec.DeepCopyInto(&out.Spec)
156 in.Status.DeepCopyInto(&out.Status)
157 return
158}
159
160// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget.
161func (in *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget {
162 if in == nil {
163 return nil
164 }
165 out := new(PodDisruptionBudget)
166 in.DeepCopyInto(out)
167 return out
168}
169
170// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
171func (in *PodDisruptionBudget) DeepCopyObject() runtime.Object {
172 if c := in.DeepCopy(); c != nil {
173 return c
174 }
175 return nil
176}
177
178// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
179func (in *PodDisruptionBudgetList) DeepCopyInto(out *PodDisruptionBudgetList) {
180 *out = *in
181 out.TypeMeta = in.TypeMeta
182 out.ListMeta = in.ListMeta
183 if in.Items != nil {
184 in, out := &in.Items, &out.Items
185 *out = make([]PodDisruptionBudget, len(*in))
186 for i := range *in {
187 (*in)[i].DeepCopyInto(&(*out)[i])
188 }
189 }
190 return
191}
192
193// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList.
194func (in *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList {
195 if in == nil {
196 return nil
197 }
198 out := new(PodDisruptionBudgetList)
199 in.DeepCopyInto(out)
200 return out
201}
202
203// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
204func (in *PodDisruptionBudgetList) DeepCopyObject() runtime.Object {
205 if c := in.DeepCopy(); c != nil {
206 return c
207 }
208 return nil
209}
210
211// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
212func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) {
213 *out = *in
214 if in.MinAvailable != nil {
215 in, out := &in.MinAvailable, &out.MinAvailable
216 if *in == nil {
217 *out = nil
218 } else {
219 *out = new(intstr.IntOrString)
220 **out = **in
221 }
222 }
223 if in.Selector != nil {
224 in, out := &in.Selector, &out.Selector
225 if *in == nil {
226 *out = nil
227 } else {
228 *out = new(v1.LabelSelector)
229 (*in).DeepCopyInto(*out)
230 }
231 }
232 if in.MaxUnavailable != nil {
233 in, out := &in.MaxUnavailable, &out.MaxUnavailable
234 if *in == nil {
235 *out = nil
236 } else {
237 *out = new(intstr.IntOrString)
238 **out = **in
239 }
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 out.ListMeta = in.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([]core_v1.Capability, len(*in))
343 copy(*out, *in)
344 }
345 if in.RequiredDropCapabilities != nil {
346 in, out := &in.RequiredDropCapabilities, &out.RequiredDropCapabilities
347 *out = make([]core_v1.Capability, len(*in))
348 copy(*out, *in)
349 }
350 if in.AllowedCapabilities != nil {
351 in, out := &in.AllowedCapabilities, &out.AllowedCapabilities
352 *out = make([]core_v1.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 in.SupplementalGroups.DeepCopyInto(&out.SupplementalGroups)
368 in.FSGroup.DeepCopyInto(&out.FSGroup)
369 if in.DefaultAllowPrivilegeEscalation != nil {
370 in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation
371 if *in == nil {
372 *out = nil
373 } else {
374 *out = new(bool)
375 **out = **in
376 }
377 }
378 if in.AllowPrivilegeEscalation != nil {
379 in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation
380 if *in == nil {
381 *out = nil
382 } else {
383 *out = new(bool)
384 **out = **in
385 }
386 }
387 if in.AllowedHostPaths != nil {
388 in, out := &in.AllowedHostPaths, &out.AllowedHostPaths
389 *out = make([]AllowedHostPath, len(*in))
390 copy(*out, *in)
391 }
392 if in.AllowedFlexVolumes != nil {
393 in, out := &in.AllowedFlexVolumes, &out.AllowedFlexVolumes
394 *out = make([]AllowedFlexVolume, len(*in))
395 copy(*out, *in)
396 }
397 if in.AllowedUnsafeSysctls != nil {
398 in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
399 *out = make([]string, len(*in))
400 copy(*out, *in)
401 }
402 if in.ForbiddenSysctls != nil {
403 in, out := &in.ForbiddenSysctls, &out.ForbiddenSysctls
404 *out = make([]string, len(*in))
405 copy(*out, *in)
406 }
407 return
408}
409
410// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySpec.
411func (in *PodSecurityPolicySpec) DeepCopy() *PodSecurityPolicySpec {
412 if in == nil {
413 return nil
414 }
415 out := new(PodSecurityPolicySpec)
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 *RunAsUserStrategyOptions) DeepCopyInto(out *RunAsUserStrategyOptions) {
422 *out = *in
423 if in.Ranges != nil {
424 in, out := &in.Ranges, &out.Ranges
425 *out = make([]IDRange, len(*in))
426 copy(*out, *in)
427 }
428 return
429}
430
431// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserStrategyOptions.
432func (in *RunAsUserStrategyOptions) DeepCopy() *RunAsUserStrategyOptions {
433 if in == nil {
434 return nil
435 }
436 out := new(RunAsUserStrategyOptions)
437 in.DeepCopyInto(out)
438 return out
439}
440
441// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
442func (in *SELinuxStrategyOptions) DeepCopyInto(out *SELinuxStrategyOptions) {
443 *out = *in
444 if in.SELinuxOptions != nil {
445 in, out := &in.SELinuxOptions, &out.SELinuxOptions
446 if *in == nil {
447 *out = nil
448 } else {
449 *out = new(core_v1.SELinuxOptions)
450 **out = **in
451 }
452 }
453 return
454}
455
456// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxStrategyOptions.
457func (in *SELinuxStrategyOptions) DeepCopy() *SELinuxStrategyOptions {
458 if in == nil {
459 return nil
460 }
461 out := new(SELinuxStrategyOptions)
462 in.DeepCopyInto(out)
463 return out
464}
465
466// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
467func (in *SupplementalGroupsStrategyOptions) DeepCopyInto(out *SupplementalGroupsStrategyOptions) {
468 *out = *in
469 if in.Ranges != nil {
470 in, out := &in.Ranges, &out.Ranges
471 *out = make([]IDRange, len(*in))
472 copy(*out, *in)
473 }
474 return
475}
476
477// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsStrategyOptions.
478func (in *SupplementalGroupsStrategyOptions) DeepCopy() *SupplementalGroupsStrategyOptions {
479 if in == nil {
480 return nil
481 }
482 out := new(SupplementalGroupsStrategyOptions)
483 in.DeepCopyInto(out)
484 return out
485}