blob: e27c6ff3fa995e3c73a23f0817af2ed65755e94c [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 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 *out = new(string)
94 **out = **in
95 }
96 return
97}
98
99// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
100func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
101 if in == nil {
102 return nil
103 }
104 out := new(VolumeAttachmentSource)
105 in.DeepCopyInto(out)
106 return out
107}
108
109// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
110func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
111 *out = *in
112 in.Source.DeepCopyInto(&out.Source)
113 return
114}
115
116// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
117func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
118 if in == nil {
119 return nil
120 }
121 out := new(VolumeAttachmentSpec)
122 in.DeepCopyInto(out)
123 return out
124}
125
126// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
127func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
128 *out = *in
129 if in.AttachmentMetadata != nil {
130 in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
131 *out = make(map[string]string, len(*in))
132 for key, val := range *in {
133 (*out)[key] = val
134 }
135 }
136 if in.AttachError != nil {
137 in, out := &in.AttachError, &out.AttachError
138 *out = new(VolumeError)
139 (*in).DeepCopyInto(*out)
140 }
141 if in.DetachError != nil {
142 in, out := &in.DetachError, &out.DetachError
143 *out = new(VolumeError)
144 (*in).DeepCopyInto(*out)
145 }
146 return
147}
148
149// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
150func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
151 if in == nil {
152 return nil
153 }
154 out := new(VolumeAttachmentStatus)
155 in.DeepCopyInto(out)
156 return out
157}
158
159// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
160func (in *VolumeError) DeepCopyInto(out *VolumeError) {
161 *out = *in
162 in.Time.DeepCopyInto(&out.Time)
163 return
164}
165
166// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
167func (in *VolumeError) DeepCopy() *VolumeError {
168 if in == nil {
169 return nil
170 }
171 out := new(VolumeError)
172 in.DeepCopyInto(out)
173 return out
174}