blob: 3157ec67812ac78278aa0b63d5d83616d6d5f423 [file] [log] [blame]
sslobodrd046be82019-01-16 10:02:22 -05001// +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 out.ListMeta = in.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 out.ListMeta = in.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 return
191}
192
193// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
194func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
195 if in == nil {
196 return nil
197 }
198 out := new(VolumeAttachmentSource)
199 in.DeepCopyInto(out)
200 return out
201}
202
203// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
204func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
205 *out = *in
206 in.Source.DeepCopyInto(&out.Source)
207 return
208}
209
210// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
211func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
212 if in == nil {
213 return nil
214 }
215 out := new(VolumeAttachmentSpec)
216 in.DeepCopyInto(out)
217 return out
218}
219
220// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
221func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
222 *out = *in
223 if in.AttachmentMetadata != nil {
224 in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
225 *out = make(map[string]string, len(*in))
226 for key, val := range *in {
227 (*out)[key] = val
228 }
229 }
230 if in.AttachError != nil {
231 in, out := &in.AttachError, &out.AttachError
232 *out = new(VolumeError)
233 (*in).DeepCopyInto(*out)
234 }
235 if in.DetachError != nil {
236 in, out := &in.DetachError, &out.DetachError
237 *out = new(VolumeError)
238 (*in).DeepCopyInto(*out)
239 }
240 return
241}
242
243// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
244func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
245 if in == nil {
246 return nil
247 }
248 out := new(VolumeAttachmentStatus)
249 in.DeepCopyInto(out)
250 return out
251}
252
253// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
254func (in *VolumeError) DeepCopyInto(out *VolumeError) {
255 *out = *in
256 in.Time.DeepCopyInto(&out.Time)
257 return
258}
259
260// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
261func (in *VolumeError) DeepCopy() *VolumeError {
262 if in == nil {
263 return nil
264 }
265 out := new(VolumeError)
266 in.DeepCopyInto(out)
267 return out
268}