blob: 7c7c8fde5d18aa49ddcd798549882c868f6086eb [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 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 *StorageClass) DeepCopyInto(out *StorageClass) {
30 *out = *in
31 out.TypeMeta = in.TypeMeta
32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
33 if in.Parameters != nil {
34 in, out := &in.Parameters, &out.Parameters
35 *out = make(map[string]string, len(*in))
36 for key, val := range *in {
37 (*out)[key] = val
38 }
39 }
40 if in.ReclaimPolicy != nil {
41 in, out := &in.ReclaimPolicy, &out.ReclaimPolicy
42 if *in == nil {
43 *out = nil
44 } else {
45 *out = new(v1.PersistentVolumeReclaimPolicy)
46 **out = **in
47 }
48 }
49 if in.MountOptions != nil {
50 in, out := &in.MountOptions, &out.MountOptions
51 *out = make([]string, len(*in))
52 copy(*out, *in)
53 }
54 if in.AllowVolumeExpansion != nil {
55 in, out := &in.AllowVolumeExpansion, &out.AllowVolumeExpansion
56 if *in == nil {
57 *out = nil
58 } else {
59 *out = new(bool)
60 **out = **in
61 }
62 }
63 if in.VolumeBindingMode != nil {
64 in, out := &in.VolumeBindingMode, &out.VolumeBindingMode
65 if *in == nil {
66 *out = nil
67 } else {
68 *out = new(VolumeBindingMode)
69 **out = **in
70 }
71 }
72 if in.AllowedTopologies != nil {
73 in, out := &in.AllowedTopologies, &out.AllowedTopologies
74 *out = make([]v1.TopologySelectorTerm, len(*in))
75 for i := range *in {
76 (*in)[i].DeepCopyInto(&(*out)[i])
77 }
78 }
79 return
80}
81
82// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClass.
83func (in *StorageClass) DeepCopy() *StorageClass {
84 if in == nil {
85 return nil
86 }
87 out := new(StorageClass)
88 in.DeepCopyInto(out)
89 return out
90}
91
92// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
93func (in *StorageClass) DeepCopyObject() runtime.Object {
94 if c := in.DeepCopy(); c != nil {
95 return c
96 }
97 return nil
98}
99
100// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
101func (in *StorageClassList) DeepCopyInto(out *StorageClassList) {
102 *out = *in
103 out.TypeMeta = in.TypeMeta
104 out.ListMeta = in.ListMeta
105 if in.Items != nil {
106 in, out := &in.Items, &out.Items
107 *out = make([]StorageClass, len(*in))
108 for i := range *in {
109 (*in)[i].DeepCopyInto(&(*out)[i])
110 }
111 }
112 return
113}
114
115// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageClassList.
116func (in *StorageClassList) DeepCopy() *StorageClassList {
117 if in == nil {
118 return nil
119 }
120 out := new(StorageClassList)
121 in.DeepCopyInto(out)
122 return out
123}
124
125// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
126func (in *StorageClassList) DeepCopyObject() runtime.Object {
127 if c := in.DeepCopy(); c != nil {
128 return c
129 }
130 return nil
131}
132
133// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
134func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
135 *out = *in
136 out.TypeMeta = in.TypeMeta
137 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
138 in.Spec.DeepCopyInto(&out.Spec)
139 in.Status.DeepCopyInto(&out.Status)
140 return
141}
142
143// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
144func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
145 if in == nil {
146 return nil
147 }
148 out := new(VolumeAttachment)
149 in.DeepCopyInto(out)
150 return out
151}
152
153// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
154func (in *VolumeAttachment) DeepCopyObject() runtime.Object {
155 if c := in.DeepCopy(); c != nil {
156 return c
157 }
158 return nil
159}
160
161// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
162func (in *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
163 *out = *in
164 out.TypeMeta = in.TypeMeta
165 out.ListMeta = in.ListMeta
166 if in.Items != nil {
167 in, out := &in.Items, &out.Items
168 *out = make([]VolumeAttachment, len(*in))
169 for i := range *in {
170 (*in)[i].DeepCopyInto(&(*out)[i])
171 }
172 }
173 return
174}
175
176// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentList.
177func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
178 if in == nil {
179 return nil
180 }
181 out := new(VolumeAttachmentList)
182 in.DeepCopyInto(out)
183 return out
184}
185
186// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
187func (in *VolumeAttachmentList) DeepCopyObject() runtime.Object {
188 if c := in.DeepCopy(); c != nil {
189 return c
190 }
191 return nil
192}
193
194// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
195func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
196 *out = *in
197 if in.PersistentVolumeName != nil {
198 in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
199 if *in == nil {
200 *out = nil
201 } else {
202 *out = new(string)
203 **out = **in
204 }
205 }
206 return
207}
208
209// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
210func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
211 if in == nil {
212 return nil
213 }
214 out := new(VolumeAttachmentSource)
215 in.DeepCopyInto(out)
216 return out
217}
218
219// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
220func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
221 *out = *in
222 in.Source.DeepCopyInto(&out.Source)
223 return
224}
225
226// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
227func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
228 if in == nil {
229 return nil
230 }
231 out := new(VolumeAttachmentSpec)
232 in.DeepCopyInto(out)
233 return out
234}
235
236// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
237func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
238 *out = *in
239 if in.AttachmentMetadata != nil {
240 in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
241 *out = make(map[string]string, len(*in))
242 for key, val := range *in {
243 (*out)[key] = val
244 }
245 }
246 if in.AttachError != nil {
247 in, out := &in.AttachError, &out.AttachError
248 if *in == nil {
249 *out = nil
250 } else {
251 *out = new(VolumeError)
252 (*in).DeepCopyInto(*out)
253 }
254 }
255 if in.DetachError != nil {
256 in, out := &in.DetachError, &out.DetachError
257 if *in == nil {
258 *out = nil
259 } else {
260 *out = new(VolumeError)
261 (*in).DeepCopyInto(*out)
262 }
263 }
264 return
265}
266
267// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
268func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
269 if in == nil {
270 return nil
271 }
272 out := new(VolumeAttachmentStatus)
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 *VolumeError) DeepCopyInto(out *VolumeError) {
279 *out = *in
280 in.Time.DeepCopyInto(&out.Time)
281 return
282}
283
284// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
285func (in *VolumeError) DeepCopy() *VolumeError {
286 if in == nil {
287 return nil
288 }
289 out := new(VolumeError)
290 in.DeepCopyInto(out)
291 return out
292}