1 // +build !ignore_autogenerated
4 Copyright The Kubernetes Authors.
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
19 // Code generated by deepcopy-gen. DO NOT EDIT.
24 runtime "k8s.io/apimachinery/pkg/runtime"
27 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
28 func (in *VolumeAttachment) DeepCopyInto(out *VolumeAttachment) {
30 out.TypeMeta = in.TypeMeta
31 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
32 in.Spec.DeepCopyInto(&out.Spec)
33 in.Status.DeepCopyInto(&out.Status)
37 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachment.
38 func (in *VolumeAttachment) DeepCopy() *VolumeAttachment {
42 out := new(VolumeAttachment)
47 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
48 func (in *VolumeAttachment) DeepCopyObject() runtime.Object {
49 if c := in.DeepCopy(); c != nil {
55 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
56 func (in *VolumeAttachmentList) DeepCopyInto(out *VolumeAttachmentList) {
58 out.TypeMeta = in.TypeMeta
59 out.ListMeta = in.ListMeta
61 in, out := &in.Items, &out.Items
62 *out = make([]VolumeAttachment, len(*in))
64 (*in)[i].DeepCopyInto(&(*out)[i])
70 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentList.
71 func (in *VolumeAttachmentList) DeepCopy() *VolumeAttachmentList {
75 out := new(VolumeAttachmentList)
80 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
81 func (in *VolumeAttachmentList) DeepCopyObject() runtime.Object {
82 if c := in.DeepCopy(); c != nil {
88 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
89 func (in *VolumeAttachmentSource) DeepCopyInto(out *VolumeAttachmentSource) {
91 if in.PersistentVolumeName != nil {
92 in, out := &in.PersistentVolumeName, &out.PersistentVolumeName
99 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSource.
100 func (in *VolumeAttachmentSource) DeepCopy() *VolumeAttachmentSource {
104 out := new(VolumeAttachmentSource)
109 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
110 func (in *VolumeAttachmentSpec) DeepCopyInto(out *VolumeAttachmentSpec) {
112 in.Source.DeepCopyInto(&out.Source)
116 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentSpec.
117 func (in *VolumeAttachmentSpec) DeepCopy() *VolumeAttachmentSpec {
121 out := new(VolumeAttachmentSpec)
126 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
127 func (in *VolumeAttachmentStatus) DeepCopyInto(out *VolumeAttachmentStatus) {
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 {
136 if in.AttachError != nil {
137 in, out := &in.AttachError, &out.AttachError
138 *out = new(VolumeError)
139 (*in).DeepCopyInto(*out)
141 if in.DetachError != nil {
142 in, out := &in.DetachError, &out.DetachError
143 *out = new(VolumeError)
144 (*in).DeepCopyInto(*out)
149 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttachmentStatus.
150 func (in *VolumeAttachmentStatus) DeepCopy() *VolumeAttachmentStatus {
154 out := new(VolumeAttachmentStatus)
159 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
160 func (in *VolumeError) DeepCopyInto(out *VolumeError) {
162 in.Time.DeepCopyInto(&out.Time)
166 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeError.
167 func (in *VolumeError) DeepCopy() *VolumeError {
171 out := new(VolumeError)