blob: 3debf9df108fcbf8bd3944a8f738e71259c6a241 [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 v1alpha1
22
23import (
24 v1 "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 *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
30 *out = *in
31 out.TypeMeta = in.TypeMeta
32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
33 in.Spec.DeepCopyInto(&out.Spec)
34 in.Status.DeepCopyInto(&out.Status)
35 return
36}
37
38// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
39func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
40 if in == nil {
41 return nil
42 }
43 out := new(VolumeAttachment)
44 in.DeepCopyInto(out)
45 return out
46}
47
48// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
49func (in *VolumeAttachment) DeepCopyObject() runtime.Object {
50 if c := in.DeepCopy(); c != nil {
51 return c
52 }
53 return nil
54}
55
56// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
57func (in *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
58 *out = *in
59 out.TypeMeta = in.TypeMeta
60 in.ListMeta.DeepCopyInto(&out.ListMeta)
61 if in.Items != nil {
62 in, out := &in.Items, &out.Items
63 *out = make([]VolumeAttachment, len(*in))
64 for i := range *in {
65 (*in)[i].DeepCopyInto(&(*out)[i])
66 }
67 }
68 return
69}
70
71// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentList.
72func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
73 if in == nil {
74 return nil
75 }
76 out := new(VolumeAttachmentList)
77 in.DeepCopyInto(out)
78 return out
79}
80
81// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
82func (in *VolumeAttachmentList) DeepCopyObject() runtime.Object {
83 if c := in.DeepCopy(); c != nil {
84 return c
85 }
86 return nil
87}
88
89// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
90func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
91 *out = *in
92 if in.PersistentVolumeName != nil {
93 in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
94 *out = new(string)
95 **out = **in
96 }
97 if in.InlineVolumeSpec != nil {
98 in, out := &in.InlineVolumeSpec, &out.InlineVolumeSpec
99 *out = new(v1.PersistentVolumeSpec)
100 (*in).DeepCopyInto(*out)
101 }
102 return
103}
104
105// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
106func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
107 if in == nil {
108 return nil
109 }
110 out := new(VolumeAttachmentSource)
111 in.DeepCopyInto(out)
112 return out
113}
114
115// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
116func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
117 *out = *in
118 in.Source.DeepCopyInto(&out.Source)
119 return
120}
121
122// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
123func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
124 if in == nil {
125 return nil
126 }
127 out := new(VolumeAttachmentSpec)
128 in.DeepCopyInto(out)
129 return out
130}
131
132// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
133func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
134 *out = *in
135 if in.AttachmentMetadata != nil {
136 in, out := &in.AttachmentMetadata, &out.AttachmentMetadata
137 *out = make(map[string]string, len(*in))
138 for key, val := range *in {
139 (*out)[key] = val
140 }
141 }
142 if in.AttachError != nil {
143 in, out := &in.AttachError, &out.AttachError
144 *out = new(VolumeError)
145 (*in).DeepCopyInto(*out)
146 }
147 if in.DetachError != nil {
148 in, out := &in.DetachError, &out.DetachError
149 *out = new(VolumeError)
150 (*in).DeepCopyInto(*out)
151 }
152 return
153}
154
155// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
156func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
157 if in == nil {
158 return nil
159 }
160 out := new(VolumeAttachmentStatus)
161 in.DeepCopyInto(out)
162 return out
163}
164
165// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
166func (in *VolumeError) DeepCopyInto(out *VolumeError) {
167 *out = *in
168 in.Time.DeepCopyInto(&out.Time)
169 return
170}
171
172// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
173func (in *VolumeError) DeepCopy() *VolumeError {
174 if in == nil {
175 return nil
176 }
177 out := new(VolumeError)
178 in.DeepCopyInto(out)
179 return out
180}