blob: a1538c13195099a29e56d7fd4ccaecd573f643c5 [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 v1 "k8s.io/api/core/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 *CSIDriver) DeepCopyInto(out *CSIDriver) {
30 *out = *in
31 out.TypeMeta = in.TypeMeta
32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
33 in.Spec.DeepCopyInto(&out.Spec)
34 return
35}
36
37// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriver.
38func (in *CSIDriver) DeepCopy() *CSIDriver {
39 if in == nil {
40 return nil
41 }
42 out := new(CSIDriver)
43 in.DeepCopyInto(out)
44 return out
45}
46
47// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
48func (in *CSIDriver) DeepCopyObject() runtime.Object {
49 if c := in.DeepCopy(); c != nil {
50 return c
51 }
52 return nil
53}
54
55// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
56func (in *CSIDriverList) DeepCopyInto(out *CSIDriverList) {
57 *out = *in
58 out.TypeMeta = in.TypeMeta
59 in.ListMeta.DeepCopyInto(&out.ListMeta)
60 if in.Items != nil {
61 in, out := &in.Items, &out.Items
62 *out = make([]CSIDriver, len(*in))
63 for i := range *in {
64 (*in)[i].DeepCopyInto(&(*out)[i])
65 }
66 }
67 return
68}
69
70// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverList.
71func (in *CSIDriverList) DeepCopy() *CSIDriverList {
72 if in == nil {
73 return nil
74 }
75 out := new(CSIDriverList)
76 in.DeepCopyInto(out)
77 return out
78}
79
80// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
81func (in *CSIDriverList) DeepCopyObject() runtime.Object {
82 if c := in.DeepCopy(); c != nil {
83 return c
84 }
85 return nil
86}
87
88// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
89func (in *CSIDriverSpec) DeepCopyInto(out *CSIDriverSpec) {
90 *out = *in
91 if in.AttachRequired != nil {
92 in, out := &in.AttachRequired, &out.AttachRequired
93 *out = new(bool)
94 **out = **in
95 }
96 if in.PodInfoOnMount != nil {
97 in, out := &in.PodInfoOnMount, &out.PodInfoOnMount
98 *out = new(bool)
99 **out = **in
100 }
101 if in.VolumeLifecycleModes != nil {
102 in, out := &in.VolumeLifecycleModes, &out.VolumeLifecycleModes
103 *out = make([]VolumeLifecycleMode, len(*in))
104 copy(*out, *in)
105 }
106 if in.StorageCapacity != nil {
107 in, out := &in.StorageCapacity, &out.StorageCapacity
108 *out = new(bool)
109 **out = **in
110 }
111 if in.FSGroupPolicy != nil {
112 in, out := &in.FSGroupPolicy, &out.FSGroupPolicy
113 *out = new(FSGroupPolicy)
114 **out = **in
115 }
116 return
117}
118
119// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec.
120func (in *CSIDriverSpec) DeepCopy() *CSIDriverSpec {
121 if in == nil {
122 return nil
123 }
124 out := new(CSIDriverSpec)
125 in.DeepCopyInto(out)
126 return out
127}
128
129// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
130func (in *CSINode) DeepCopyInto(out *CSINode) {
131 *out = *in
132 out.TypeMeta = in.TypeMeta
133 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
134 in.Spec.DeepCopyInto(&out.Spec)
135 return
136}
137
138// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINode.
139func (in *CSINode) DeepCopy() *CSINode {
140 if in == nil {
141 return nil
142 }
143 out := new(CSINode)
144 in.DeepCopyInto(out)
145 return out
146}
147
148// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
149func (in *CSINode) DeepCopyObject() runtime.Object {
150 if c := in.DeepCopy(); c != nil {
151 return c
152 }
153 return nil
154}
155
156// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
157func (in *CSINodeDriver) DeepCopyInto(out *CSINodeDriver) {
158 *out = *in
159 if in.TopologyKeys != nil {
160 in, out := &in.TopologyKeys, &out.TopologyKeys
161 *out = make([]string, len(*in))
162 copy(*out, *in)
163 }
164 if in.Allocatable != nil {
165 in, out := &in.Allocatable, &out.Allocatable
166 *out = new(VolumeNodeResources)
167 (*in).DeepCopyInto(*out)
168 }
169 return
170}
171
172// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeDriver.
173func (in *CSINodeDriver) DeepCopy() *CSINodeDriver {
174 if in == nil {
175 return nil
176 }
177 out := new(CSINodeDriver)
178 in.DeepCopyInto(out)
179 return out
180}
181
182// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
183func (in *CSINodeList) DeepCopyInto(out *CSINodeList) {
184 *out = *in
185 out.TypeMeta = in.TypeMeta
186 in.ListMeta.DeepCopyInto(&out.ListMeta)
187 if in.Items != nil {
188 in, out := &in.Items, &out.Items
189 *out = make([]CSINode, len(*in))
190 for i := range *in {
191 (*in)[i].DeepCopyInto(&(*out)[i])
192 }
193 }
194 return
195}
196
197// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeList.
198func (in *CSINodeList) DeepCopy() *CSINodeList {
199 if in == nil {
200 return nil
201 }
202 out := new(CSINodeList)
203 in.DeepCopyInto(out)
204 return out
205}
206
207// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
208func (in *CSINodeList) DeepCopyObject() runtime.Object {
209 if c := in.DeepCopy(); c != nil {
210 return c
211 }
212 return nil
213}
214
215// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
216func (in *CSINodeSpec) DeepCopyInto(out *CSINodeSpec) {
217 *out = *in
218 if in.Drivers != nil {
219 in, out := &in.Drivers, &out.Drivers
220 *out = make([]CSINodeDriver, len(*in))
221 for i := range *in {
222 (*in)[i].DeepCopyInto(&(*out)[i])
223 }
224 }
225 return
226}
227
228// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeSpec.
229func (in *CSINodeSpec) DeepCopy() *CSINodeSpec {
230 if in == nil {
231 return nil
232 }
233 out := new(CSINodeSpec)
234 in.DeepCopyInto(out)
235 return out
236}
237
238// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
239func (in *StorageClass) DeepCopyInto(out *StorageClass) {
240 *out = *in
241 out.TypeMeta = in.TypeMeta
242 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
243 if in.Parameters != nil {
244 in, out := &in.Parameters, &out.Parameters
245 *out = make(map[string]string, len(*in))
246 for key, val := range *in {
247 (*out)[key] = val
248 }
249 }
250 if in.ReclaimPolicy != nil {
251 in, out := &in.ReclaimPolicy, &out.ReclaimPolicy
252 *out = new(v1.PersistentVolumeReclaimPolicy)
253 **out = **in
254 }
255 if in.MountOptions != nil {
256 in, out := &in.MountOptions, &out.MountOptions
257 *out = make([]string, len(*in))
258 copy(*out, *in)
259 }
260 if in.AllowVolumeExpansion != nil {
261 in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion
262 *out = new(bool)
263 **out = **in
264 }
265 if in.VolumeBindingMode != nil {
266 in, out := &in.VolumeBindingMode, &out.VolumeBindingMode
267 *out = new(VolumeBindingMode)
268 **out = **in
269 }
270 if in.AllowedTopologies != nil {
271 in, out := &in.AllowedTopologies, &out.AllowedTopologies
272 *out = make([]v1.TopologySelectorTerm, len(*in))
273 for i := range *in {
274 (*in)[i].DeepCopyInto(&(*out)[i])
275 }
276 }
277 return
278}
279
280// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
281func (in *StorageClass) DeepCopy() *StorageClass {
282 if in == nil {
283 return nil
284 }
285 out := new(StorageClass)
286 in.DeepCopyInto(out)
287 return out
288}
289
290// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
291func (in *StorageClass) DeepCopyObject() runtime.Object {
292 if c := in.DeepCopy(); c != nil {
293 return c
294 }
295 return nil
296}
297
298// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
299func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
300 *out = *in
301 out.TypeMeta = in.TypeMeta
302 in.ListMeta.DeepCopyInto(&out.ListMeta)
303 if in.Items != nil {
304 in, out := &in.Items, &out.Items
305 *out = make([]StorageClass, len(*in))
306 for i := range *in {
307 (*in)[i].DeepCopyInto(&(*out)[i])
308 }
309 }
310 return
311}
312
313// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
314func (in *StorageClassList) DeepCopy() *StorageClassList {
315 if in == nil {
316 return nil
317 }
318 out := new(StorageClassList)
319 in.DeepCopyInto(out)
320 return out
321}
322
323// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
324func (in *StorageClassList) DeepCopyObject() runtime.Object {
325 if c := in.DeepCopy(); c != nil {
326 return c
327 }
328 return nil
329}
330
331// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
332func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
333 *out = *in
334 out.TypeMeta = in.TypeMeta
335 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
336 in.Spec.DeepCopyInto(&out.Spec)
337 in.Status.DeepCopyInto(&out.Status)
338 return
339}
340
341// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
342func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
343 if in == nil {
344 return nil
345 }
346 out := new(VolumeAttachment)
347 in.DeepCopyInto(out)
348 return out
349}
350
351// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
352func (in *VolumeAttachment) DeepCopyObject() runtime.Object {
353 if c := in.DeepCopy(); c != nil {
354 return c
355 }
356 return nil
357}
358
359// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
360func (in *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
361 *out = *in
362 out.TypeMeta = in.TypeMeta
363 in.ListMeta.DeepCopyInto(&out.ListMeta)
364 if in.Items != nil {
365 in, out := &in.Items, &out.Items
366 *out = make([]VolumeAttachment, len(*in))
367 for i := range *in {
368 (*in)[i].DeepCopyInto(&(*out)[i])
369 }
370 }
371 return
372}
373
374// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentList.
375func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
376 if in == nil {
377 return nil
378 }
379 out := new(VolumeAttachmentList)
380 in.DeepCopyInto(out)
381 return out
382}
383
384// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
385func (in *VolumeAttachmentList) DeepCopyObject() runtime.Object {
386 if c := in.DeepCopy(); c != nil {
387 return c
388 }
389 return nil
390}
391
392// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
393func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
394 *out = *in
395 if in.PersistentVolumeName != nil {
396 in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
397 *out = new(string)
398 **out = **in
399 }
400 if in.InlineVolumeSpec != nil {
401 in, out := &in.InlineVolumeSpec, &out.InlineVolumeSpec
402 *out = new(v1.PersistentVolumeSpec)
403 (*in).DeepCopyInto(*out)
404 }
405 return
406}
407
408// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
409func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
410 if in == nil {
411 return nil
412 }
413 out := new(VolumeAttachmentSource)
414 in.DeepCopyInto(out)
415 return out
416}
417
418// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
419func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
420 *out = *in
421 in.Source.DeepCopyInto(&out.Source)
422 return
423}
424
425// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
426func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
427 if in == nil {
428 return nil
429 }
430 out := new(VolumeAttachmentSpec)
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 *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
437 *out = *in
438 if in.AttachmentMetadata != nil {
439 in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
440 *out = make(map[string]string, len(*in))
441 for key, val := range *in {
442 (*out)[key] = val
443 }
444 }
445 if in.AttachError != nil {
446 in, out := &in.AttachError, &out.AttachError
447 *out = new(VolumeError)
448 (*in).DeepCopyInto(*out)
449 }
450 if in.DetachError != nil {
451 in, out := &in.DetachError, &out.DetachError
452 *out = new(VolumeError)
453 (*in).DeepCopyInto(*out)
454 }
455 return
456}
457
458// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
459func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
460 if in == nil {
461 return nil
462 }
463 out := new(VolumeAttachmentStatus)
464 in.DeepCopyInto(out)
465 return out
466}
467
468// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
469func (in *VolumeError) DeepCopyInto(out *VolumeError) {
470 *out = *in
471 in.Time.DeepCopyInto(&out.Time)
472 return
473}
474
475// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
476func (in *VolumeError) DeepCopy() *VolumeError {
477 if in == nil {
478 return nil
479 }
480 out := new(VolumeError)
481 in.DeepCopyInto(out)
482 return out
483}
484
485// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
486func (in *VolumeNodeResources) DeepCopyInto(out *VolumeNodeResources) {
487 *out = *in
488 if in.Count != nil {
489 in, out := &in.Count, &out.Count
490 *out = new(int32)
491 **out = **in
492 }
493 return
494}
495
496// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeNodeResources.
497func (in *VolumeNodeResources) DeepCopy() *VolumeNodeResources {
498 if in == nil {
499 return nil
500 }
501 out := new(VolumeNodeResources)
502 in.DeepCopyInto(out)
503 return out
504}