blob: 7f3b357ba8e0f13923918aafbcc775d9f942e708 [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 v1alpha1
22
23import (
24 corev1 "k8s.io/api/core/v1"
25 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
26 runtime "k8s.io/apimachinery/pkg/runtime"
27)
28
29// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
30func (in *CSIStorageCapacity) DeepCopyInto(out *CSIStorageCapacity) {
31 *out = *in
32 out.TypeMeta = in.TypeMeta
33 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
34 if in.NodeTopology != nil {
35 in, out := &in.NodeTopology, &out.NodeTopology
36 *out = new(v1.LabelSelector)
37 (*in).DeepCopyInto(*out)
38 }
39 if in.Capacity != nil {
40 in, out := &in.Capacity, &out.Capacity
41 x := (*in).DeepCopy()
42 *out = &x
43 }
44 return
45}
46
47// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIStorageCapacity.
48func (in *CSIStorageCapacity) DeepCopy() *CSIStorageCapacity {
49 if in == nil {
50 return nil
51 }
52 out := new(CSIStorageCapacity)
53 in.DeepCopyInto(out)
54 return out
55}
56
57// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
58func (in *CSIStorageCapacity) DeepCopyObject() runtime.Object {
59 if c := in.DeepCopy(); c != nil {
60 return c
61 }
62 return nil
63}
64
65// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
66func (in *CSIStorageCapacityList) DeepCopyInto(out *CSIStorageCapacityList) {
67 *out = *in
68 out.TypeMeta = in.TypeMeta
69 in.ListMeta.DeepCopyInto(&out.ListMeta)
70 if in.Items != nil {
71 in, out := &in.Items, &out.Items
72 *out = make([]CSIStorageCapacity, len(*in))
73 for i := range *in {
74 (*in)[i].DeepCopyInto(&(*out)[i])
75 }
76 }
77 return
78}
79
80// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIStorageCapacityList.
81func (in *CSIStorageCapacityList) DeepCopy() *CSIStorageCapacityList {
82 if in == nil {
83 return nil
84 }
85 out := new(CSIStorageCapacityList)
86 in.DeepCopyInto(out)
87 return out
88}
89
90// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
91func (in *CSIStorageCapacityList) DeepCopyObject() runtime.Object {
92 if c := in.DeepCopy(); c != nil {
93 return c
94 }
95 return nil
96}
97
98// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
99func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
100 *out = *in
101 out.TypeMeta = in.TypeMeta
102 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
103 in.Spec.DeepCopyInto(&out.Spec)
104 in.Status.DeepCopyInto(&out.Status)
105 return
106}
107
108// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
109func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
110 if in == nil {
111 return nil
112 }
113 out := new(VolumeAttachment)
114 in.DeepCopyInto(out)
115 return out
116}
117
118// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
119func (in *VolumeAttachment) DeepCopyObject() runtime.Object {
120 if c := in.DeepCopy(); c != nil {
121 return c
122 }
123 return nil
124}
125
126// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
127func (in *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
128 *out = *in
129 out.TypeMeta = in.TypeMeta
130 in.ListMeta.DeepCopyInto(&out.ListMeta)
131 if in.Items != nil {
132 in, out := &in.Items, &out.Items
133 *out = make([]VolumeAttachment, len(*in))
134 for i := range *in {
135 (*in)[i].DeepCopyInto(&(*out)[i])
136 }
137 }
138 return
139}
140
141// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentList.
142func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
143 if in == nil {
144 return nil
145 }
146 out := new(VolumeAttachmentList)
147 in.DeepCopyInto(out)
148 return out
149}
150
151// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
152func (in *VolumeAttachmentList) DeepCopyObject() runtime.Object {
153 if c := in.DeepCopy(); c != nil {
154 return c
155 }
156 return nil
157}
158
159// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
160func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
161 *out = *in
162 if in.PersistentVolumeName != nil {
163 in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
164 *out = new(string)
165 **out = **in
166 }
167 if in.InlineVolumeSpec != nil {
168 in, out := &in.InlineVolumeSpec, &out.InlineVolumeSpec
169 *out = new(corev1.PersistentVolumeSpec)
170 (*in).DeepCopyInto(*out)
171 }
172 return
173}
174
175// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
176func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
177 if in == nil {
178 return nil
179 }
180 out := new(VolumeAttachmentSource)
181 in.DeepCopyInto(out)
182 return out
183}
184
185// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
186func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
187 *out = *in
188 in.Source.DeepCopyInto(&out.Source)
189 return
190}
191
192// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
193func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
194 if in == nil {
195 return nil
196 }
197 out := new(VolumeAttachmentSpec)
198 in.DeepCopyInto(out)
199 return out
200}
201
202// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
203func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
204 *out = *in
205 if in.AttachmentMetadata != nil {
206 in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
207 *out = make(map[string]string, len(*in))
208 for key, val := range *in {
209 (*out)[key] = val
210 }
211 }
212 if in.AttachError != nil {
213 in, out := &in.AttachError, &out.AttachError
214 *out = new(VolumeError)
215 (*in).DeepCopyInto(*out)
216 }
217 if in.DetachError != nil {
218 in, out := &in.DetachError, &out.DetachError
219 *out = new(VolumeError)
220 (*in).DeepCopyInto(*out)
221 }
222 return
223}
224
225// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
226func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
227 if in == nil {
228 return nil
229 }
230 out := new(VolumeAttachmentStatus)
231 in.DeepCopyInto(out)
232 return out
233}
234
235// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
236func (in *VolumeError) DeepCopyInto(out *VolumeError) {
237 *out = *in
238 in.Time.DeepCopyInto(&out.Time)
239 return
240}
241
242// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
243func (in *VolumeError) DeepCopy() *VolumeError {
244 if in == nil {
245 return nil
246 }
247 out := new(VolumeError)
248 in.DeepCopyInto(out)
249 return out
250}