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