kubevirt.io/api@v1.2.0/export/v1alpha1/deepcopy_generated.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright The KubeVirt Authors. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // Code generated by deepcopy-gen. DO NOT EDIT. 21 22 package v1alpha1 23 24 import ( 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. 30 func (in *Condition) DeepCopyInto(out *Condition) { 31 *out = *in 32 in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) 33 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) 34 return 35 } 36 37 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition. 38 func (in *Condition) DeepCopy() *Condition { 39 if in == nil { 40 return nil 41 } 42 out := new(Condition) 43 in.DeepCopyInto(out) 44 return out 45 } 46 47 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 48 func (in *VirtualMachineExport) DeepCopyInto(out *VirtualMachineExport) { 49 *out = *in 50 out.TypeMeta = in.TypeMeta 51 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 52 in.Spec.DeepCopyInto(&out.Spec) 53 if in.Status != nil { 54 in, out := &in.Status, &out.Status 55 *out = new(VirtualMachineExportStatus) 56 (*in).DeepCopyInto(*out) 57 } 58 return 59 } 60 61 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineExport. 62 func (in *VirtualMachineExport) DeepCopy() *VirtualMachineExport { 63 if in == nil { 64 return nil 65 } 66 out := new(VirtualMachineExport) 67 in.DeepCopyInto(out) 68 return out 69 } 70 71 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 72 func (in *VirtualMachineExport) DeepCopyObject() runtime.Object { 73 if c := in.DeepCopy(); c != nil { 74 return c 75 } 76 return nil 77 } 78 79 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 80 func (in *VirtualMachineExportLink) DeepCopyInto(out *VirtualMachineExportLink) { 81 *out = *in 82 if in.Volumes != nil { 83 in, out := &in.Volumes, &out.Volumes 84 *out = make([]VirtualMachineExportVolume, len(*in)) 85 for i := range *in { 86 (*in)[i].DeepCopyInto(&(*out)[i]) 87 } 88 } 89 if in.Manifests != nil { 90 in, out := &in.Manifests, &out.Manifests 91 *out = make([]VirtualMachineExportManifest, len(*in)) 92 copy(*out, *in) 93 } 94 return 95 } 96 97 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineExportLink. 98 func (in *VirtualMachineExportLink) DeepCopy() *VirtualMachineExportLink { 99 if in == nil { 100 return nil 101 } 102 out := new(VirtualMachineExportLink) 103 in.DeepCopyInto(out) 104 return out 105 } 106 107 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 108 func (in *VirtualMachineExportLinks) DeepCopyInto(out *VirtualMachineExportLinks) { 109 *out = *in 110 if in.Internal != nil { 111 in, out := &in.Internal, &out.Internal 112 *out = new(VirtualMachineExportLink) 113 (*in).DeepCopyInto(*out) 114 } 115 if in.External != nil { 116 in, out := &in.External, &out.External 117 *out = new(VirtualMachineExportLink) 118 (*in).DeepCopyInto(*out) 119 } 120 return 121 } 122 123 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineExportLinks. 124 func (in *VirtualMachineExportLinks) DeepCopy() *VirtualMachineExportLinks { 125 if in == nil { 126 return nil 127 } 128 out := new(VirtualMachineExportLinks) 129 in.DeepCopyInto(out) 130 return out 131 } 132 133 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 134 func (in *VirtualMachineExportList) DeepCopyInto(out *VirtualMachineExportList) { 135 *out = *in 136 out.TypeMeta = in.TypeMeta 137 in.ListMeta.DeepCopyInto(&out.ListMeta) 138 if in.Items != nil { 139 in, out := &in.Items, &out.Items 140 *out = make([]VirtualMachineExport, len(*in)) 141 for i := range *in { 142 (*in)[i].DeepCopyInto(&(*out)[i]) 143 } 144 } 145 return 146 } 147 148 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineExportList. 149 func (in *VirtualMachineExportList) DeepCopy() *VirtualMachineExportList { 150 if in == nil { 151 return nil 152 } 153 out := new(VirtualMachineExportList) 154 in.DeepCopyInto(out) 155 return out 156 } 157 158 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 159 func (in *VirtualMachineExportList) DeepCopyObject() runtime.Object { 160 if c := in.DeepCopy(); c != nil { 161 return c 162 } 163 return nil 164 } 165 166 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 167 func (in *VirtualMachineExportManifest) DeepCopyInto(out *VirtualMachineExportManifest) { 168 *out = *in 169 return 170 } 171 172 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineExportManifest. 173 func (in *VirtualMachineExportManifest) DeepCopy() *VirtualMachineExportManifest { 174 if in == nil { 175 return nil 176 } 177 out := new(VirtualMachineExportManifest) 178 in.DeepCopyInto(out) 179 return out 180 } 181 182 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 183 func (in *VirtualMachineExportSpec) DeepCopyInto(out *VirtualMachineExportSpec) { 184 *out = *in 185 in.Source.DeepCopyInto(&out.Source) 186 if in.TokenSecretRef != nil { 187 in, out := &in.TokenSecretRef, &out.TokenSecretRef 188 *out = new(string) 189 **out = **in 190 } 191 if in.TTLDuration != nil { 192 in, out := &in.TTLDuration, &out.TTLDuration 193 *out = new(v1.Duration) 194 **out = **in 195 } 196 return 197 } 198 199 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineExportSpec. 200 func (in *VirtualMachineExportSpec) DeepCopy() *VirtualMachineExportSpec { 201 if in == nil { 202 return nil 203 } 204 out := new(VirtualMachineExportSpec) 205 in.DeepCopyInto(out) 206 return out 207 } 208 209 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 210 func (in *VirtualMachineExportStatus) DeepCopyInto(out *VirtualMachineExportStatus) { 211 *out = *in 212 if in.Links != nil { 213 in, out := &in.Links, &out.Links 214 *out = new(VirtualMachineExportLinks) 215 (*in).DeepCopyInto(*out) 216 } 217 if in.TokenSecretRef != nil { 218 in, out := &in.TokenSecretRef, &out.TokenSecretRef 219 *out = new(string) 220 **out = **in 221 } 222 if in.TTLExpirationTime != nil { 223 in, out := &in.TTLExpirationTime, &out.TTLExpirationTime 224 *out = (*in).DeepCopy() 225 } 226 if in.VirtualMachineName != nil { 227 in, out := &in.VirtualMachineName, &out.VirtualMachineName 228 *out = new(string) 229 **out = **in 230 } 231 if in.Conditions != nil { 232 in, out := &in.Conditions, &out.Conditions 233 *out = make([]Condition, len(*in)) 234 for i := range *in { 235 (*in)[i].DeepCopyInto(&(*out)[i]) 236 } 237 } 238 return 239 } 240 241 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineExportStatus. 242 func (in *VirtualMachineExportStatus) DeepCopy() *VirtualMachineExportStatus { 243 if in == nil { 244 return nil 245 } 246 out := new(VirtualMachineExportStatus) 247 in.DeepCopyInto(out) 248 return out 249 } 250 251 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 252 func (in *VirtualMachineExportVolume) DeepCopyInto(out *VirtualMachineExportVolume) { 253 *out = *in 254 if in.Formats != nil { 255 in, out := &in.Formats, &out.Formats 256 *out = make([]VirtualMachineExportVolumeFormat, len(*in)) 257 copy(*out, *in) 258 } 259 return 260 } 261 262 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineExportVolume. 263 func (in *VirtualMachineExportVolume) DeepCopy() *VirtualMachineExportVolume { 264 if in == nil { 265 return nil 266 } 267 out := new(VirtualMachineExportVolume) 268 in.DeepCopyInto(out) 269 return out 270 } 271 272 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 273 func (in *VirtualMachineExportVolumeFormat) DeepCopyInto(out *VirtualMachineExportVolumeFormat) { 274 *out = *in 275 return 276 } 277 278 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineExportVolumeFormat. 279 func (in *VirtualMachineExportVolumeFormat) DeepCopy() *VirtualMachineExportVolumeFormat { 280 if in == nil { 281 return nil 282 } 283 out := new(VirtualMachineExportVolumeFormat) 284 in.DeepCopyInto(out) 285 return out 286 }