blob: 30594233207405c53d52717549c30077091924f5 [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 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 return
102}
103
104// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIDriverSpec.
105func (in *CSIDriverSpec) DeepCopy() *CSIDriverSpec {
106 if in == nil {
107 return nil
108 }
109 out := new(CSIDriverSpec)
110 in.DeepCopyInto(out)
111 return out
112}
113
114// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
115func (in *CSINode) DeepCopyInto(out *CSINode) {
116 *out = *in
117 out.TypeMeta = in.TypeMeta
118 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
119 in.Spec.DeepCopyInto(&out.Spec)
120 return
121}
122
123// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINode.
124func (in *CSINode) DeepCopy() *CSINode {
125 if in == nil {
126 return nil
127 }
128 out := new(CSINode)
129 in.DeepCopyInto(out)
130 return out
131}
132
133// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
134func (in *CSINode) DeepCopyObject() runtime.Object {
135 if c := in.DeepCopy(); c != nil {
136 return c
137 }
138 return nil
139}
140
141// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
142func (in *CSINodeDriver) DeepCopyInto(out *CSINodeDriver) {
143 *out = *in
144 if in.TopologyKeys != nil {
145 in, out := &in.TopologyKeys, &out.TopologyKeys
146 *out = make([]string, len(*in))
147 copy(*out, *in)
148 }
149 return
150}
151
152// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeDriver.
153func (in *CSINodeDriver) DeepCopy() *CSINodeDriver {
154 if in == nil {
155 return nil
156 }
157 out := new(CSINodeDriver)
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 *CSINodeList) DeepCopyInto(out *CSINodeList) {
164 *out = *in
165 out.TypeMeta = in.TypeMeta
166 in.ListMeta.DeepCopyInto(&out.ListMeta)
167 if in.Items != nil {
168 in, out := &in.Items, &out.Items
169 *out = make([]CSINode, len(*in))
170 for i := range *in {
171 (*in)[i].DeepCopyInto(&(*out)[i])
172 }
173 }
174 return
175}
176
177// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeList.
178func (in *CSINodeList) DeepCopy() *CSINodeList {
179 if in == nil {
180 return nil
181 }
182 out := new(CSINodeList)
183 in.DeepCopyInto(out)
184 return out
185}
186
187// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
188func (in *CSINodeList) DeepCopyObject() runtime.Object {
189 if c := in.DeepCopy(); c != nil {
190 return c
191 }
192 return nil
193}
194
195// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
196func (in *CSINodeSpec) DeepCopyInto(out *CSINodeSpec) {
197 *out = *in
198 if in.Drivers != nil {
199 in, out := &in.Drivers, &out.Drivers
200 *out = make([]CSINodeDriver, len(*in))
201 for i := range *in {
202 (*in)[i].DeepCopyInto(&(*out)[i])
203 }
204 }
205 return
206}
207
208// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSINodeSpec.
209func (in *CSINodeSpec) DeepCopy() *CSINodeSpec {
210 if in == nil {
211 return nil
212 }
213 out := new(CSINodeSpec)
214 in.DeepCopyInto(out)
215 return out
216}
217
218// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
219func (in *StorageClass) DeepCopyInto(out *StorageClass) {
220 *out = *in
221 out.TypeMeta = in.TypeMeta
222 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
223 if in.Parameters != nil {
224 in, out := &in.Parameters, &out.Parameters
225 *out = make(map[string]string, len(*in))
226 for key, val := range *in {
227 (*out)[key] = val
228 }
229 }
230 if in.ReclaimPolicy != nil {
231 in, out := &in.ReclaimPolicy, &out.ReclaimPolicy
232 *out = new(v1.PersistentVolumeReclaimPolicy)
233 **out = **in
234 }
235 if in.MountOptions != nil {
236 in, out := &in.MountOptions, &out.MountOptions
237 *out = make([]string, len(*in))
238 copy(*out, *in)
239 }
240 if in.AllowVolumeExpansion != nil {
241 in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion
242 *out = new(bool)
243 **out = **in
244 }
245 if in.VolumeBindingMode != nil {
246 in, out := &in.VolumeBindingMode, &out.VolumeBindingMode
247 *out = new(VolumeBindingMode)
248 **out = **in
249 }
250 if in.AllowedTopologies != nil {
251 in, out := &in.AllowedTopologies, &out.AllowedTopologies
252 *out = make([]v1.TopologySelectorTerm, len(*in))
253 for i := range *in {
254 (*in)[i].DeepCopyInto(&(*out)[i])
255 }
256 }
257 return
258}
259
260// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
261func (in *StorageClass) DeepCopy() *StorageClass {
262 if in == nil {
263 return nil
264 }
265 out := new(StorageClass)
266 in.DeepCopyInto(out)
267 return out
268}
269
270// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
271func (in *StorageClass) DeepCopyObject() runtime.Object {
272 if c := in.DeepCopy(); c != nil {
273 return c
274 }
275 return nil
276}
277
278// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
279func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
280 *out = *in
281 out.TypeMeta = in.TypeMeta
282 in.ListMeta.DeepCopyInto(&out.ListMeta)
283 if in.Items != nil {
284 in, out := &in.Items, &out.Items
285 *out = make([]StorageClass, len(*in))
286 for i := range *in {
287 (*in)[i].DeepCopyInto(&(*out)[i])
288 }
289 }
290 return
291}
292
293// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
294func (in *StorageClassList) DeepCopy() *StorageClassList {
295 if in == nil {
296 return nil
297 }
298 out := new(StorageClassList)
299 in.DeepCopyInto(out)
300 return out
301}
302
303// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
304func (in *StorageClassList) DeepCopyObject() runtime.Object {
305 if c := in.DeepCopy(); c != nil {
306 return c
307 }
308 return nil
309}
310
311// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
312func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
313 *out = *in
314 out.TypeMeta = in.TypeMeta
315 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
316 in.Spec.DeepCopyInto(&out.Spec)
317 in.Status.DeepCopyInto(&out.Status)
318 return
319}
320
321// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
322func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
323 if in == nil {
324 return nil
325 }
326 out := new(VolumeAttachment)
327 in.DeepCopyInto(out)
328 return out
329}
330
331// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
332func (in *VolumeAttachment) DeepCopyObject() runtime.Object {
333 if c := in.DeepCopy(); c != nil {
334 return c
335 }
336 return nil
337}
338
339// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
340func (in *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
341 *out = *in
342 out.TypeMeta = in.TypeMeta
343 in.ListMeta.DeepCopyInto(&out.ListMeta)
344 if in.Items != nil {
345 in, out := &in.Items, &out.Items
346 *out = make([]VolumeAttachment, len(*in))
347 for i := range *in {
348 (*in)[i].DeepCopyInto(&(*out)[i])
349 }
350 }
351 return
352}
353
354// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentList.
355func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
356 if in == nil {
357 return nil
358 }
359 out := new(VolumeAttachmentList)
360 in.DeepCopyInto(out)
361 return out
362}
363
364// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
365func (in *VolumeAttachmentList) DeepCopyObject() runtime.Object {
366 if c := in.DeepCopy(); c != nil {
367 return c
368 }
369 return nil
370}
371
372// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
373func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
374 *out = *in
375 if in.PersistentVolumeName != nil {
376 in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
377 *out = new(string)
378 **out = **in
379 }
380 if in.InlineVolumeSpec != nil {
381 in, out := &in.InlineVolumeSpec, &out.InlineVolumeSpec
382 *out = new(v1.PersistentVolumeSpec)
383 (*in).DeepCopyInto(*out)
384 }
385 return
386}
387
388// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
389func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
390 if in == nil {
391 return nil
392 }
393 out := new(VolumeAttachmentSource)
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 *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
400 *out = *in
401 in.Source.DeepCopyInto(&out.Source)
402 return
403}
404
405// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
406func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
407 if in == nil {
408 return nil
409 }
410 out := new(VolumeAttachmentSpec)
411 in.DeepCopyInto(out)
412 return out
413}
414
415// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
416func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
417 *out = *in
418 if in.AttachmentMetadata != nil {
419 in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
420 *out = make(map[string]string, len(*in))
421 for key, val := range *in {
422 (*out)[key] = val
423 }
424 }
425 if in.AttachError != nil {
426 in, out := &in.AttachError, &out.AttachError
427 *out = new(VolumeError)
428 (*in).DeepCopyInto(*out)
429 }
430 if in.DetachError != nil {
431 in, out := &in.DetachError, &out.DetachError
432 *out = new(VolumeError)
433 (*in).DeepCopyInto(*out)
434 }
435 return
436}
437
438// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
439func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
440 if in == nil {
441 return nil
442 }
443 out := new(VolumeAttachmentStatus)
444 in.DeepCopyInto(out)
445 return out
446}
447
448// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
449func (in *VolumeError) DeepCopyInto(out *VolumeError) {
450 *out = *in
451 in.Time.DeepCopyInto(&out.Time)
452 return
453}
454
455// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
456func (in *VolumeError) DeepCopy() *VolumeError {
457 if in == nil {
458 return nil
459 }
460 out := new(VolumeError)
461 in.DeepCopyInto(out)
462 return out
463}