blob: d1a53755b1d3817e862f141a406c836a964d5c60 [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 v1alpha1
22
23import (
24 runtime "k8s.io/apimachinery/pkg/runtime"
25)
26
27// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
29 *out = *in
30 out.TypeMeta = in.TypeMeta
31 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
32 in.Spec.DeepCopyInto(&out.Spec)
33 in.Status.DeepCopyInto(&out.Status)
34 return
35}
36
37// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
38func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
39 if in == nil {
40 return nil
41 }
42 out := new(VolumeAttachment)
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 *VolumeAttachment) 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 *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
57 *out = *in
58 out.TypeMeta = in.TypeMeta
59 out.ListMeta = in.ListMeta
60 if in.Items != nil {
61 in, out := &in.Items, &out.Items
62 *out = make([]VolumeAttachment, 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 VolumeAttachmentList.
71func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
72 if in == nil {
73 return nil
74 }
75 out := new(VolumeAttachmentList)
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 *VolumeAttachmentList) 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 *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
90 *out = *in
91 if in.PersistentVolumeName != nil {
92 in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
93 if *in == nil {
94 *out = nil
95 } else {
96 *out = new(string)
97 **out = **in
98 }
99 }
100 return
101}
102
103// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
104func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
105 if in == nil {
106 return nil
107 }
108 out := new(VolumeAttachmentSource)
109 in.DeepCopyInto(out)
110 return out
111}
112
113// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
114func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
115 *out = *in
116 in.Source.DeepCopyInto(&out.Source)
117 return
118}
119
120// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
121func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
122 if in == nil {
123 return nil
124 }
125 out := new(VolumeAttachmentSpec)
126 in.DeepCopyInto(out)
127 return out
128}
129
130// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
131func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
132 *out = *in
133 if in.AttachmentMetadata != nil {
134 in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
135 *out = make(map[string]string, len(*in))
136 for key, val := range *in {
137 (*out)[key] = val
138 }
139 }
140 if in.AttachError != nil {
141 in, out := &in.AttachError, &out.AttachError
142 if *in == nil {
143 *out = nil
144 } else {
145 *out = new(VolumeError)
146 (*in).DeepCopyInto(*out)
147 }
148 }
149 if in.DetachError != nil {
150 in, out := &in.DetachError, &out.DetachError
151 if *in == nil {
152 *out = nil
153 } else {
154 *out = new(VolumeError)
155 (*in).DeepCopyInto(*out)
156 }
157 }
158 return
159}
160
161// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
162func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
163 if in == nil {
164 return nil
165 }
166 out := new(VolumeAttachmentStatus)
167 in.DeepCopyInto(out)
168 return out
169}
170
171// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
172func (in *VolumeError) DeepCopyInto(out *VolumeError) {
173 *out = *in
174 in.Time.DeepCopyInto(&out.Time)
175 return
176}
177
178// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
179func (in *VolumeError) DeepCopy() *VolumeError {
180 if in == nil {
181 return nil
182 }
183 out := new(VolumeError)
184 in.DeepCopyInto(out)
185 return out
186}