Matteo Scandolo | a428586 | 2020-12-01 18:10:10 -0800 | [diff] [blame] | 1 | // +build !ignore_autogenerated |
| 2 | |
| 3 | /* |
| 4 | Copyright The Kubernetes Authors. |
| 5 | |
| 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 |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 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. |
| 17 | */ |
| 18 | |
| 19 | // Code generated by deepcopy-gen. DO NOT EDIT. |
| 20 | |
| 21 | package v1 |
| 22 | |
| 23 | import ( |
| 24 | metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" |
| 25 | runtime "k8s.io/apimachinery/pkg/runtime" |
| 26 | types "k8s.io/apimachinery/pkg/types" |
| 27 | ) |
| 28 | |
| 29 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 30 | func (in *AWSElasticBlockStoreVolumeSource) DeepCopyInto(out *AWSElasticBlockStoreVolumeSource) { |
| 31 | *out = *in |
| 32 | return |
| 33 | } |
| 34 | |
| 35 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSElasticBlockStoreVolumeSource. |
| 36 | func (in *AWSElasticBlockStoreVolumeSource) DeepCopy() *AWSElasticBlockStoreVolumeSource { |
| 37 | if in == nil { |
| 38 | return nil |
| 39 | } |
| 40 | out := new(AWSElasticBlockStoreVolumeSource) |
| 41 | in.DeepCopyInto(out) |
| 42 | return out |
| 43 | } |
| 44 | |
| 45 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 46 | func (in *Affinity) DeepCopyInto(out *Affinity) { |
| 47 | *out = *in |
| 48 | if in.NodeAffinity != nil { |
| 49 | in, out := &in.NodeAffinity, &out.NodeAffinity |
| 50 | *out = new(NodeAffinity) |
| 51 | (*in).DeepCopyInto(*out) |
| 52 | } |
| 53 | if in.PodAffinity != nil { |
| 54 | in, out := &in.PodAffinity, &out.PodAffinity |
| 55 | *out = new(PodAffinity) |
| 56 | (*in).DeepCopyInto(*out) |
| 57 | } |
| 58 | if in.PodAntiAffinity != nil { |
| 59 | in, out := &in.PodAntiAffinity, &out.PodAntiAffinity |
| 60 | *out = new(PodAntiAffinity) |
| 61 | (*in).DeepCopyInto(*out) |
| 62 | } |
| 63 | return |
| 64 | } |
| 65 | |
| 66 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Affinity. |
| 67 | func (in *Affinity) DeepCopy() *Affinity { |
| 68 | if in == nil { |
| 69 | return nil |
| 70 | } |
| 71 | out := new(Affinity) |
| 72 | in.DeepCopyInto(out) |
| 73 | return out |
| 74 | } |
| 75 | |
| 76 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 77 | func (in *AttachedVolume) DeepCopyInto(out *AttachedVolume) { |
| 78 | *out = *in |
| 79 | return |
| 80 | } |
| 81 | |
| 82 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachedVolume. |
| 83 | func (in *AttachedVolume) DeepCopy() *AttachedVolume { |
| 84 | if in == nil { |
| 85 | return nil |
| 86 | } |
| 87 | out := new(AttachedVolume) |
| 88 | in.DeepCopyInto(out) |
| 89 | return out |
| 90 | } |
| 91 | |
| 92 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 93 | func (in *AvoidPods) DeepCopyInto(out *AvoidPods) { |
| 94 | *out = *in |
| 95 | if in.PreferAvoidPods != nil { |
| 96 | in, out := &in.PreferAvoidPods, &out.PreferAvoidPods |
| 97 | *out = make([]PreferAvoidPodsEntry, len(*in)) |
| 98 | for i := range *in { |
| 99 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 100 | } |
| 101 | } |
| 102 | return |
| 103 | } |
| 104 | |
| 105 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvoidPods. |
| 106 | func (in *AvoidPods) DeepCopy() *AvoidPods { |
| 107 | if in == nil { |
| 108 | return nil |
| 109 | } |
| 110 | out := new(AvoidPods) |
| 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. |
| 116 | func (in *AzureDiskVolumeSource) DeepCopyInto(out *AzureDiskVolumeSource) { |
| 117 | *out = *in |
| 118 | if in.CachingMode != nil { |
| 119 | in, out := &in.CachingMode, &out.CachingMode |
| 120 | *out = new(AzureDataDiskCachingMode) |
| 121 | **out = **in |
| 122 | } |
| 123 | if in.FSType != nil { |
| 124 | in, out := &in.FSType, &out.FSType |
| 125 | *out = new(string) |
| 126 | **out = **in |
| 127 | } |
| 128 | if in.ReadOnly != nil { |
| 129 | in, out := &in.ReadOnly, &out.ReadOnly |
| 130 | *out = new(bool) |
| 131 | **out = **in |
| 132 | } |
| 133 | if in.Kind != nil { |
| 134 | in, out := &in.Kind, &out.Kind |
| 135 | *out = new(AzureDataDiskKind) |
| 136 | **out = **in |
| 137 | } |
| 138 | return |
| 139 | } |
| 140 | |
| 141 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureDiskVolumeSource. |
| 142 | func (in *AzureDiskVolumeSource) DeepCopy() *AzureDiskVolumeSource { |
| 143 | if in == nil { |
| 144 | return nil |
| 145 | } |
| 146 | out := new(AzureDiskVolumeSource) |
| 147 | in.DeepCopyInto(out) |
| 148 | return out |
| 149 | } |
| 150 | |
| 151 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 152 | func (in *AzureFilePersistentVolumeSource) DeepCopyInto(out *AzureFilePersistentVolumeSource) { |
| 153 | *out = *in |
| 154 | if in.SecretNamespace != nil { |
| 155 | in, out := &in.SecretNamespace, &out.SecretNamespace |
| 156 | *out = new(string) |
| 157 | **out = **in |
| 158 | } |
| 159 | return |
| 160 | } |
| 161 | |
| 162 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFilePersistentVolumeSource. |
| 163 | func (in *AzureFilePersistentVolumeSource) DeepCopy() *AzureFilePersistentVolumeSource { |
| 164 | if in == nil { |
| 165 | return nil |
| 166 | } |
| 167 | out := new(AzureFilePersistentVolumeSource) |
| 168 | in.DeepCopyInto(out) |
| 169 | return out |
| 170 | } |
| 171 | |
| 172 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 173 | func (in *AzureFileVolumeSource) DeepCopyInto(out *AzureFileVolumeSource) { |
| 174 | *out = *in |
| 175 | return |
| 176 | } |
| 177 | |
| 178 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFileVolumeSource. |
| 179 | func (in *AzureFileVolumeSource) DeepCopy() *AzureFileVolumeSource { |
| 180 | if in == nil { |
| 181 | return nil |
| 182 | } |
| 183 | out := new(AzureFileVolumeSource) |
| 184 | in.DeepCopyInto(out) |
| 185 | return out |
| 186 | } |
| 187 | |
| 188 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 189 | func (in *Binding) DeepCopyInto(out *Binding) { |
| 190 | *out = *in |
| 191 | out.TypeMeta = in.TypeMeta |
| 192 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 193 | out.Target = in.Target |
| 194 | return |
| 195 | } |
| 196 | |
| 197 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding. |
| 198 | func (in *Binding) DeepCopy() *Binding { |
| 199 | if in == nil { |
| 200 | return nil |
| 201 | } |
| 202 | out := new(Binding) |
| 203 | in.DeepCopyInto(out) |
| 204 | return out |
| 205 | } |
| 206 | |
| 207 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 208 | func (in *Binding) DeepCopyObject() runtime.Object { |
| 209 | if c := in.DeepCopy(); c != nil { |
| 210 | return c |
| 211 | } |
| 212 | return nil |
| 213 | } |
| 214 | |
| 215 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 216 | func (in *CSIPersistentVolumeSource) DeepCopyInto(out *CSIPersistentVolumeSource) { |
| 217 | *out = *in |
| 218 | if in.VolumeAttributes != nil { |
| 219 | in, out := &in.VolumeAttributes, &out.VolumeAttributes |
| 220 | *out = make(map[string]string, len(*in)) |
| 221 | for key, val := range *in { |
| 222 | (*out)[key] = val |
| 223 | } |
| 224 | } |
| 225 | if in.ControllerPublishSecretRef != nil { |
| 226 | in, out := &in.ControllerPublishSecretRef, &out.ControllerPublishSecretRef |
| 227 | *out = new(SecretReference) |
| 228 | **out = **in |
| 229 | } |
| 230 | if in.NodeStageSecretRef != nil { |
| 231 | in, out := &in.NodeStageSecretRef, &out.NodeStageSecretRef |
| 232 | *out = new(SecretReference) |
| 233 | **out = **in |
| 234 | } |
| 235 | if in.NodePublishSecretRef != nil { |
| 236 | in, out := &in.NodePublishSecretRef, &out.NodePublishSecretRef |
| 237 | *out = new(SecretReference) |
| 238 | **out = **in |
| 239 | } |
| 240 | if in.ControllerExpandSecretRef != nil { |
| 241 | in, out := &in.ControllerExpandSecretRef, &out.ControllerExpandSecretRef |
| 242 | *out = new(SecretReference) |
| 243 | **out = **in |
| 244 | } |
| 245 | return |
| 246 | } |
| 247 | |
| 248 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIPersistentVolumeSource. |
| 249 | func (in *CSIPersistentVolumeSource) DeepCopy() *CSIPersistentVolumeSource { |
| 250 | if in == nil { |
| 251 | return nil |
| 252 | } |
| 253 | out := new(CSIPersistentVolumeSource) |
| 254 | in.DeepCopyInto(out) |
| 255 | return out |
| 256 | } |
| 257 | |
| 258 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 259 | func (in *CSIVolumeSource) DeepCopyInto(out *CSIVolumeSource) { |
| 260 | *out = *in |
| 261 | if in.ReadOnly != nil { |
| 262 | in, out := &in.ReadOnly, &out.ReadOnly |
| 263 | *out = new(bool) |
| 264 | **out = **in |
| 265 | } |
| 266 | if in.FSType != nil { |
| 267 | in, out := &in.FSType, &out.FSType |
| 268 | *out = new(string) |
| 269 | **out = **in |
| 270 | } |
| 271 | if in.VolumeAttributes != nil { |
| 272 | in, out := &in.VolumeAttributes, &out.VolumeAttributes |
| 273 | *out = make(map[string]string, len(*in)) |
| 274 | for key, val := range *in { |
| 275 | (*out)[key] = val |
| 276 | } |
| 277 | } |
| 278 | if in.NodePublishSecretRef != nil { |
| 279 | in, out := &in.NodePublishSecretRef, &out.NodePublishSecretRef |
| 280 | *out = new(LocalObjectReference) |
| 281 | **out = **in |
| 282 | } |
| 283 | return |
| 284 | } |
| 285 | |
| 286 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSIVolumeSource. |
| 287 | func (in *CSIVolumeSource) DeepCopy() *CSIVolumeSource { |
| 288 | if in == nil { |
| 289 | return nil |
| 290 | } |
| 291 | out := new(CSIVolumeSource) |
| 292 | in.DeepCopyInto(out) |
| 293 | return out |
| 294 | } |
| 295 | |
| 296 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 297 | func (in *Capabilities) DeepCopyInto(out *Capabilities) { |
| 298 | *out = *in |
| 299 | if in.Add != nil { |
| 300 | in, out := &in.Add, &out.Add |
| 301 | *out = make([]Capability, len(*in)) |
| 302 | copy(*out, *in) |
| 303 | } |
| 304 | if in.Drop != nil { |
| 305 | in, out := &in.Drop, &out.Drop |
| 306 | *out = make([]Capability, len(*in)) |
| 307 | copy(*out, *in) |
| 308 | } |
| 309 | return |
| 310 | } |
| 311 | |
| 312 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capabilities. |
| 313 | func (in *Capabilities) DeepCopy() *Capabilities { |
| 314 | if in == nil { |
| 315 | return nil |
| 316 | } |
| 317 | out := new(Capabilities) |
| 318 | in.DeepCopyInto(out) |
| 319 | return out |
| 320 | } |
| 321 | |
| 322 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 323 | func (in *CephFSPersistentVolumeSource) DeepCopyInto(out *CephFSPersistentVolumeSource) { |
| 324 | *out = *in |
| 325 | if in.Monitors != nil { |
| 326 | in, out := &in.Monitors, &out.Monitors |
| 327 | *out = make([]string, len(*in)) |
| 328 | copy(*out, *in) |
| 329 | } |
| 330 | if in.SecretRef != nil { |
| 331 | in, out := &in.SecretRef, &out.SecretRef |
| 332 | *out = new(SecretReference) |
| 333 | **out = **in |
| 334 | } |
| 335 | return |
| 336 | } |
| 337 | |
| 338 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSPersistentVolumeSource. |
| 339 | func (in *CephFSPersistentVolumeSource) DeepCopy() *CephFSPersistentVolumeSource { |
| 340 | if in == nil { |
| 341 | return nil |
| 342 | } |
| 343 | out := new(CephFSPersistentVolumeSource) |
| 344 | in.DeepCopyInto(out) |
| 345 | return out |
| 346 | } |
| 347 | |
| 348 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 349 | func (in *CephFSVolumeSource) DeepCopyInto(out *CephFSVolumeSource) { |
| 350 | *out = *in |
| 351 | if in.Monitors != nil { |
| 352 | in, out := &in.Monitors, &out.Monitors |
| 353 | *out = make([]string, len(*in)) |
| 354 | copy(*out, *in) |
| 355 | } |
| 356 | if in.SecretRef != nil { |
| 357 | in, out := &in.SecretRef, &out.SecretRef |
| 358 | *out = new(LocalObjectReference) |
| 359 | **out = **in |
| 360 | } |
| 361 | return |
| 362 | } |
| 363 | |
| 364 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CephFSVolumeSource. |
| 365 | func (in *CephFSVolumeSource) DeepCopy() *CephFSVolumeSource { |
| 366 | if in == nil { |
| 367 | return nil |
| 368 | } |
| 369 | out := new(CephFSVolumeSource) |
| 370 | in.DeepCopyInto(out) |
| 371 | return out |
| 372 | } |
| 373 | |
| 374 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 375 | func (in *CinderPersistentVolumeSource) DeepCopyInto(out *CinderPersistentVolumeSource) { |
| 376 | *out = *in |
| 377 | if in.SecretRef != nil { |
| 378 | in, out := &in.SecretRef, &out.SecretRef |
| 379 | *out = new(SecretReference) |
| 380 | **out = **in |
| 381 | } |
| 382 | return |
| 383 | } |
| 384 | |
| 385 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderPersistentVolumeSource. |
| 386 | func (in *CinderPersistentVolumeSource) DeepCopy() *CinderPersistentVolumeSource { |
| 387 | if in == nil { |
| 388 | return nil |
| 389 | } |
| 390 | out := new(CinderPersistentVolumeSource) |
| 391 | in.DeepCopyInto(out) |
| 392 | return out |
| 393 | } |
| 394 | |
| 395 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 396 | func (in *CinderVolumeSource) DeepCopyInto(out *CinderVolumeSource) { |
| 397 | *out = *in |
| 398 | if in.SecretRef != nil { |
| 399 | in, out := &in.SecretRef, &out.SecretRef |
| 400 | *out = new(LocalObjectReference) |
| 401 | **out = **in |
| 402 | } |
| 403 | return |
| 404 | } |
| 405 | |
| 406 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderVolumeSource. |
| 407 | func (in *CinderVolumeSource) DeepCopy() *CinderVolumeSource { |
| 408 | if in == nil { |
| 409 | return nil |
| 410 | } |
| 411 | out := new(CinderVolumeSource) |
| 412 | in.DeepCopyInto(out) |
| 413 | return out |
| 414 | } |
| 415 | |
| 416 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 417 | func (in *ClientIPConfig) DeepCopyInto(out *ClientIPConfig) { |
| 418 | *out = *in |
| 419 | if in.TimeoutSeconds != nil { |
| 420 | in, out := &in.TimeoutSeconds, &out.TimeoutSeconds |
| 421 | *out = new(int32) |
| 422 | **out = **in |
| 423 | } |
| 424 | return |
| 425 | } |
| 426 | |
| 427 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientIPConfig. |
| 428 | func (in *ClientIPConfig) DeepCopy() *ClientIPConfig { |
| 429 | if in == nil { |
| 430 | return nil |
| 431 | } |
| 432 | out := new(ClientIPConfig) |
| 433 | in.DeepCopyInto(out) |
| 434 | return out |
| 435 | } |
| 436 | |
| 437 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 438 | func (in *ComponentCondition) DeepCopyInto(out *ComponentCondition) { |
| 439 | *out = *in |
| 440 | return |
| 441 | } |
| 442 | |
| 443 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentCondition. |
| 444 | func (in *ComponentCondition) DeepCopy() *ComponentCondition { |
| 445 | if in == nil { |
| 446 | return nil |
| 447 | } |
| 448 | out := new(ComponentCondition) |
| 449 | in.DeepCopyInto(out) |
| 450 | return out |
| 451 | } |
| 452 | |
| 453 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 454 | func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus) { |
| 455 | *out = *in |
| 456 | out.TypeMeta = in.TypeMeta |
| 457 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 458 | if in.Conditions != nil { |
| 459 | in, out := &in.Conditions, &out.Conditions |
| 460 | *out = make([]ComponentCondition, len(*in)) |
| 461 | copy(*out, *in) |
| 462 | } |
| 463 | return |
| 464 | } |
| 465 | |
| 466 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus. |
| 467 | func (in *ComponentStatus) DeepCopy() *ComponentStatus { |
| 468 | if in == nil { |
| 469 | return nil |
| 470 | } |
| 471 | out := new(ComponentStatus) |
| 472 | in.DeepCopyInto(out) |
| 473 | return out |
| 474 | } |
| 475 | |
| 476 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 477 | func (in *ComponentStatus) DeepCopyObject() runtime.Object { |
| 478 | if c := in.DeepCopy(); c != nil { |
| 479 | return c |
| 480 | } |
| 481 | return nil |
| 482 | } |
| 483 | |
| 484 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 485 | func (in *ComponentStatusList) DeepCopyInto(out *ComponentStatusList) { |
| 486 | *out = *in |
| 487 | out.TypeMeta = in.TypeMeta |
| 488 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 489 | if in.Items != nil { |
| 490 | in, out := &in.Items, &out.Items |
| 491 | *out = make([]ComponentStatus, len(*in)) |
| 492 | for i := range *in { |
| 493 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 494 | } |
| 495 | } |
| 496 | return |
| 497 | } |
| 498 | |
| 499 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatusList. |
| 500 | func (in *ComponentStatusList) DeepCopy() *ComponentStatusList { |
| 501 | if in == nil { |
| 502 | return nil |
| 503 | } |
| 504 | out := new(ComponentStatusList) |
| 505 | in.DeepCopyInto(out) |
| 506 | return out |
| 507 | } |
| 508 | |
| 509 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 510 | func (in *ComponentStatusList) DeepCopyObject() runtime.Object { |
| 511 | if c := in.DeepCopy(); c != nil { |
| 512 | return c |
| 513 | } |
| 514 | return nil |
| 515 | } |
| 516 | |
| 517 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 518 | func (in *ConfigMap) DeepCopyInto(out *ConfigMap) { |
| 519 | *out = *in |
| 520 | out.TypeMeta = in.TypeMeta |
| 521 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 522 | if in.Immutable != nil { |
| 523 | in, out := &in.Immutable, &out.Immutable |
| 524 | *out = new(bool) |
| 525 | **out = **in |
| 526 | } |
| 527 | if in.Data != nil { |
| 528 | in, out := &in.Data, &out.Data |
| 529 | *out = make(map[string]string, len(*in)) |
| 530 | for key, val := range *in { |
| 531 | (*out)[key] = val |
| 532 | } |
| 533 | } |
| 534 | if in.BinaryData != nil { |
| 535 | in, out := &in.BinaryData, &out.BinaryData |
| 536 | *out = make(map[string][]byte, len(*in)) |
| 537 | for key, val := range *in { |
| 538 | var outVal []byte |
| 539 | if val == nil { |
| 540 | (*out)[key] = nil |
| 541 | } else { |
| 542 | in, out := &val, &outVal |
| 543 | *out = make([]byte, len(*in)) |
| 544 | copy(*out, *in) |
| 545 | } |
| 546 | (*out)[key] = outVal |
| 547 | } |
| 548 | } |
| 549 | return |
| 550 | } |
| 551 | |
| 552 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap. |
| 553 | func (in *ConfigMap) DeepCopy() *ConfigMap { |
| 554 | if in == nil { |
| 555 | return nil |
| 556 | } |
| 557 | out := new(ConfigMap) |
| 558 | in.DeepCopyInto(out) |
| 559 | return out |
| 560 | } |
| 561 | |
| 562 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 563 | func (in *ConfigMap) DeepCopyObject() runtime.Object { |
| 564 | if c := in.DeepCopy(); c != nil { |
| 565 | return c |
| 566 | } |
| 567 | return nil |
| 568 | } |
| 569 | |
| 570 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 571 | func (in *ConfigMapEnvSource) DeepCopyInto(out *ConfigMapEnvSource) { |
| 572 | *out = *in |
| 573 | out.LocalObjectReference = in.LocalObjectReference |
| 574 | if in.Optional != nil { |
| 575 | in, out := &in.Optional, &out.Optional |
| 576 | *out = new(bool) |
| 577 | **out = **in |
| 578 | } |
| 579 | return |
| 580 | } |
| 581 | |
| 582 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapEnvSource. |
| 583 | func (in *ConfigMapEnvSource) DeepCopy() *ConfigMapEnvSource { |
| 584 | if in == nil { |
| 585 | return nil |
| 586 | } |
| 587 | out := new(ConfigMapEnvSource) |
| 588 | in.DeepCopyInto(out) |
| 589 | return out |
| 590 | } |
| 591 | |
| 592 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 593 | func (in *ConfigMapKeySelector) DeepCopyInto(out *ConfigMapKeySelector) { |
| 594 | *out = *in |
| 595 | out.LocalObjectReference = in.LocalObjectReference |
| 596 | if in.Optional != nil { |
| 597 | in, out := &in.Optional, &out.Optional |
| 598 | *out = new(bool) |
| 599 | **out = **in |
| 600 | } |
| 601 | return |
| 602 | } |
| 603 | |
| 604 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapKeySelector. |
| 605 | func (in *ConfigMapKeySelector) DeepCopy() *ConfigMapKeySelector { |
| 606 | if in == nil { |
| 607 | return nil |
| 608 | } |
| 609 | out := new(ConfigMapKeySelector) |
| 610 | in.DeepCopyInto(out) |
| 611 | return out |
| 612 | } |
| 613 | |
| 614 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 615 | func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList) { |
| 616 | *out = *in |
| 617 | out.TypeMeta = in.TypeMeta |
| 618 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 619 | if in.Items != nil { |
| 620 | in, out := &in.Items, &out.Items |
| 621 | *out = make([]ConfigMap, len(*in)) |
| 622 | for i := range *in { |
| 623 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 624 | } |
| 625 | } |
| 626 | return |
| 627 | } |
| 628 | |
| 629 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList. |
| 630 | func (in *ConfigMapList) DeepCopy() *ConfigMapList { |
| 631 | if in == nil { |
| 632 | return nil |
| 633 | } |
| 634 | out := new(ConfigMapList) |
| 635 | in.DeepCopyInto(out) |
| 636 | return out |
| 637 | } |
| 638 | |
| 639 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 640 | func (in *ConfigMapList) DeepCopyObject() runtime.Object { |
| 641 | if c := in.DeepCopy(); c != nil { |
| 642 | return c |
| 643 | } |
| 644 | return nil |
| 645 | } |
| 646 | |
| 647 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 648 | func (in *ConfigMapNodeConfigSource) DeepCopyInto(out *ConfigMapNodeConfigSource) { |
| 649 | *out = *in |
| 650 | return |
| 651 | } |
| 652 | |
| 653 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapNodeConfigSource. |
| 654 | func (in *ConfigMapNodeConfigSource) DeepCopy() *ConfigMapNodeConfigSource { |
| 655 | if in == nil { |
| 656 | return nil |
| 657 | } |
| 658 | out := new(ConfigMapNodeConfigSource) |
| 659 | in.DeepCopyInto(out) |
| 660 | return out |
| 661 | } |
| 662 | |
| 663 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 664 | func (in *ConfigMapProjection) DeepCopyInto(out *ConfigMapProjection) { |
| 665 | *out = *in |
| 666 | out.LocalObjectReference = in.LocalObjectReference |
| 667 | if in.Items != nil { |
| 668 | in, out := &in.Items, &out.Items |
| 669 | *out = make([]KeyToPath, len(*in)) |
| 670 | for i := range *in { |
| 671 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 672 | } |
| 673 | } |
| 674 | if in.Optional != nil { |
| 675 | in, out := &in.Optional, &out.Optional |
| 676 | *out = new(bool) |
| 677 | **out = **in |
| 678 | } |
| 679 | return |
| 680 | } |
| 681 | |
| 682 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapProjection. |
| 683 | func (in *ConfigMapProjection) DeepCopy() *ConfigMapProjection { |
| 684 | if in == nil { |
| 685 | return nil |
| 686 | } |
| 687 | out := new(ConfigMapProjection) |
| 688 | in.DeepCopyInto(out) |
| 689 | return out |
| 690 | } |
| 691 | |
| 692 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 693 | func (in *ConfigMapVolumeSource) DeepCopyInto(out *ConfigMapVolumeSource) { |
| 694 | *out = *in |
| 695 | out.LocalObjectReference = in.LocalObjectReference |
| 696 | if in.Items != nil { |
| 697 | in, out := &in.Items, &out.Items |
| 698 | *out = make([]KeyToPath, len(*in)) |
| 699 | for i := range *in { |
| 700 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 701 | } |
| 702 | } |
| 703 | if in.DefaultMode != nil { |
| 704 | in, out := &in.DefaultMode, &out.DefaultMode |
| 705 | *out = new(int32) |
| 706 | **out = **in |
| 707 | } |
| 708 | if in.Optional != nil { |
| 709 | in, out := &in.Optional, &out.Optional |
| 710 | *out = new(bool) |
| 711 | **out = **in |
| 712 | } |
| 713 | return |
| 714 | } |
| 715 | |
| 716 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapVolumeSource. |
| 717 | func (in *ConfigMapVolumeSource) DeepCopy() *ConfigMapVolumeSource { |
| 718 | if in == nil { |
| 719 | return nil |
| 720 | } |
| 721 | out := new(ConfigMapVolumeSource) |
| 722 | in.DeepCopyInto(out) |
| 723 | return out |
| 724 | } |
| 725 | |
| 726 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 727 | func (in *Container) DeepCopyInto(out *Container) { |
| 728 | *out = *in |
| 729 | if in.Command != nil { |
| 730 | in, out := &in.Command, &out.Command |
| 731 | *out = make([]string, len(*in)) |
| 732 | copy(*out, *in) |
| 733 | } |
| 734 | if in.Args != nil { |
| 735 | in, out := &in.Args, &out.Args |
| 736 | *out = make([]string, len(*in)) |
| 737 | copy(*out, *in) |
| 738 | } |
| 739 | if in.Ports != nil { |
| 740 | in, out := &in.Ports, &out.Ports |
| 741 | *out = make([]ContainerPort, len(*in)) |
| 742 | copy(*out, *in) |
| 743 | } |
| 744 | if in.EnvFrom != nil { |
| 745 | in, out := &in.EnvFrom, &out.EnvFrom |
| 746 | *out = make([]EnvFromSource, len(*in)) |
| 747 | for i := range *in { |
| 748 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 749 | } |
| 750 | } |
| 751 | if in.Env != nil { |
| 752 | in, out := &in.Env, &out.Env |
| 753 | *out = make([]EnvVar, len(*in)) |
| 754 | for i := range *in { |
| 755 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 756 | } |
| 757 | } |
| 758 | in.Resources.DeepCopyInto(&out.Resources) |
| 759 | if in.VolumeMounts != nil { |
| 760 | in, out := &in.VolumeMounts, &out.VolumeMounts |
| 761 | *out = make([]VolumeMount, len(*in)) |
| 762 | for i := range *in { |
| 763 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 764 | } |
| 765 | } |
| 766 | if in.VolumeDevices != nil { |
| 767 | in, out := &in.VolumeDevices, &out.VolumeDevices |
| 768 | *out = make([]VolumeDevice, len(*in)) |
| 769 | copy(*out, *in) |
| 770 | } |
| 771 | if in.LivenessProbe != nil { |
| 772 | in, out := &in.LivenessProbe, &out.LivenessProbe |
| 773 | *out = new(Probe) |
| 774 | (*in).DeepCopyInto(*out) |
| 775 | } |
| 776 | if in.ReadinessProbe != nil { |
| 777 | in, out := &in.ReadinessProbe, &out.ReadinessProbe |
| 778 | *out = new(Probe) |
| 779 | (*in).DeepCopyInto(*out) |
| 780 | } |
| 781 | if in.StartupProbe != nil { |
| 782 | in, out := &in.StartupProbe, &out.StartupProbe |
| 783 | *out = new(Probe) |
| 784 | (*in).DeepCopyInto(*out) |
| 785 | } |
| 786 | if in.Lifecycle != nil { |
| 787 | in, out := &in.Lifecycle, &out.Lifecycle |
| 788 | *out = new(Lifecycle) |
| 789 | (*in).DeepCopyInto(*out) |
| 790 | } |
| 791 | if in.SecurityContext != nil { |
| 792 | in, out := &in.SecurityContext, &out.SecurityContext |
| 793 | *out = new(SecurityContext) |
| 794 | (*in).DeepCopyInto(*out) |
| 795 | } |
| 796 | return |
| 797 | } |
| 798 | |
| 799 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container. |
| 800 | func (in *Container) DeepCopy() *Container { |
| 801 | if in == nil { |
| 802 | return nil |
| 803 | } |
| 804 | out := new(Container) |
| 805 | in.DeepCopyInto(out) |
| 806 | return out |
| 807 | } |
| 808 | |
| 809 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 810 | func (in *ContainerImage) DeepCopyInto(out *ContainerImage) { |
| 811 | *out = *in |
| 812 | if in.Names != nil { |
| 813 | in, out := &in.Names, &out.Names |
| 814 | *out = make([]string, len(*in)) |
| 815 | copy(*out, *in) |
| 816 | } |
| 817 | return |
| 818 | } |
| 819 | |
| 820 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage. |
| 821 | func (in *ContainerImage) DeepCopy() *ContainerImage { |
| 822 | if in == nil { |
| 823 | return nil |
| 824 | } |
| 825 | out := new(ContainerImage) |
| 826 | in.DeepCopyInto(out) |
| 827 | return out |
| 828 | } |
| 829 | |
| 830 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 831 | func (in *ContainerPort) DeepCopyInto(out *ContainerPort) { |
| 832 | *out = *in |
| 833 | return |
| 834 | } |
| 835 | |
| 836 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPort. |
| 837 | func (in *ContainerPort) DeepCopy() *ContainerPort { |
| 838 | if in == nil { |
| 839 | return nil |
| 840 | } |
| 841 | out := new(ContainerPort) |
| 842 | in.DeepCopyInto(out) |
| 843 | return out |
| 844 | } |
| 845 | |
| 846 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 847 | func (in *ContainerState) DeepCopyInto(out *ContainerState) { |
| 848 | *out = *in |
| 849 | if in.Waiting != nil { |
| 850 | in, out := &in.Waiting, &out.Waiting |
| 851 | *out = new(ContainerStateWaiting) |
| 852 | **out = **in |
| 853 | } |
| 854 | if in.Running != nil { |
| 855 | in, out := &in.Running, &out.Running |
| 856 | *out = new(ContainerStateRunning) |
| 857 | (*in).DeepCopyInto(*out) |
| 858 | } |
| 859 | if in.Terminated != nil { |
| 860 | in, out := &in.Terminated, &out.Terminated |
| 861 | *out = new(ContainerStateTerminated) |
| 862 | (*in).DeepCopyInto(*out) |
| 863 | } |
| 864 | return |
| 865 | } |
| 866 | |
| 867 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerState. |
| 868 | func (in *ContainerState) DeepCopy() *ContainerState { |
| 869 | if in == nil { |
| 870 | return nil |
| 871 | } |
| 872 | out := new(ContainerState) |
| 873 | in.DeepCopyInto(out) |
| 874 | return out |
| 875 | } |
| 876 | |
| 877 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 878 | func (in *ContainerStateRunning) DeepCopyInto(out *ContainerStateRunning) { |
| 879 | *out = *in |
| 880 | in.StartedAt.DeepCopyInto(&out.StartedAt) |
| 881 | return |
| 882 | } |
| 883 | |
| 884 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateRunning. |
| 885 | func (in *ContainerStateRunning) DeepCopy() *ContainerStateRunning { |
| 886 | if in == nil { |
| 887 | return nil |
| 888 | } |
| 889 | out := new(ContainerStateRunning) |
| 890 | in.DeepCopyInto(out) |
| 891 | return out |
| 892 | } |
| 893 | |
| 894 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 895 | func (in *ContainerStateTerminated) DeepCopyInto(out *ContainerStateTerminated) { |
| 896 | *out = *in |
| 897 | in.StartedAt.DeepCopyInto(&out.StartedAt) |
| 898 | in.FinishedAt.DeepCopyInto(&out.FinishedAt) |
| 899 | return |
| 900 | } |
| 901 | |
| 902 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateTerminated. |
| 903 | func (in *ContainerStateTerminated) DeepCopy() *ContainerStateTerminated { |
| 904 | if in == nil { |
| 905 | return nil |
| 906 | } |
| 907 | out := new(ContainerStateTerminated) |
| 908 | in.DeepCopyInto(out) |
| 909 | return out |
| 910 | } |
| 911 | |
| 912 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 913 | func (in *ContainerStateWaiting) DeepCopyInto(out *ContainerStateWaiting) { |
| 914 | *out = *in |
| 915 | return |
| 916 | } |
| 917 | |
| 918 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateWaiting. |
| 919 | func (in *ContainerStateWaiting) DeepCopy() *ContainerStateWaiting { |
| 920 | if in == nil { |
| 921 | return nil |
| 922 | } |
| 923 | out := new(ContainerStateWaiting) |
| 924 | in.DeepCopyInto(out) |
| 925 | return out |
| 926 | } |
| 927 | |
| 928 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 929 | func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus) { |
| 930 | *out = *in |
| 931 | in.State.DeepCopyInto(&out.State) |
| 932 | in.LastTerminationState.DeepCopyInto(&out.LastTerminationState) |
| 933 | if in.Started != nil { |
| 934 | in, out := &in.Started, &out.Started |
| 935 | *out = new(bool) |
| 936 | **out = **in |
| 937 | } |
| 938 | return |
| 939 | } |
| 940 | |
| 941 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus. |
| 942 | func (in *ContainerStatus) DeepCopy() *ContainerStatus { |
| 943 | if in == nil { |
| 944 | return nil |
| 945 | } |
| 946 | out := new(ContainerStatus) |
| 947 | in.DeepCopyInto(out) |
| 948 | return out |
| 949 | } |
| 950 | |
| 951 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 952 | func (in *DaemonEndpoint) DeepCopyInto(out *DaemonEndpoint) { |
| 953 | *out = *in |
| 954 | return |
| 955 | } |
| 956 | |
| 957 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonEndpoint. |
| 958 | func (in *DaemonEndpoint) DeepCopy() *DaemonEndpoint { |
| 959 | if in == nil { |
| 960 | return nil |
| 961 | } |
| 962 | out := new(DaemonEndpoint) |
| 963 | in.DeepCopyInto(out) |
| 964 | return out |
| 965 | } |
| 966 | |
| 967 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 968 | func (in *DownwardAPIProjection) DeepCopyInto(out *DownwardAPIProjection) { |
| 969 | *out = *in |
| 970 | if in.Items != nil { |
| 971 | in, out := &in.Items, &out.Items |
| 972 | *out = make([]DownwardAPIVolumeFile, len(*in)) |
| 973 | for i := range *in { |
| 974 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 975 | } |
| 976 | } |
| 977 | return |
| 978 | } |
| 979 | |
| 980 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIProjection. |
| 981 | func (in *DownwardAPIProjection) DeepCopy() *DownwardAPIProjection { |
| 982 | if in == nil { |
| 983 | return nil |
| 984 | } |
| 985 | out := new(DownwardAPIProjection) |
| 986 | in.DeepCopyInto(out) |
| 987 | return out |
| 988 | } |
| 989 | |
| 990 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 991 | func (in *DownwardAPIVolumeFile) DeepCopyInto(out *DownwardAPIVolumeFile) { |
| 992 | *out = *in |
| 993 | if in.FieldRef != nil { |
| 994 | in, out := &in.FieldRef, &out.FieldRef |
| 995 | *out = new(ObjectFieldSelector) |
| 996 | **out = **in |
| 997 | } |
| 998 | if in.ResourceFieldRef != nil { |
| 999 | in, out := &in.ResourceFieldRef, &out.ResourceFieldRef |
| 1000 | *out = new(ResourceFieldSelector) |
| 1001 | (*in).DeepCopyInto(*out) |
| 1002 | } |
| 1003 | if in.Mode != nil { |
| 1004 | in, out := &in.Mode, &out.Mode |
| 1005 | *out = new(int32) |
| 1006 | **out = **in |
| 1007 | } |
| 1008 | return |
| 1009 | } |
| 1010 | |
| 1011 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeFile. |
| 1012 | func (in *DownwardAPIVolumeFile) DeepCopy() *DownwardAPIVolumeFile { |
| 1013 | if in == nil { |
| 1014 | return nil |
| 1015 | } |
| 1016 | out := new(DownwardAPIVolumeFile) |
| 1017 | in.DeepCopyInto(out) |
| 1018 | return out |
| 1019 | } |
| 1020 | |
| 1021 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1022 | func (in *DownwardAPIVolumeSource) DeepCopyInto(out *DownwardAPIVolumeSource) { |
| 1023 | *out = *in |
| 1024 | if in.Items != nil { |
| 1025 | in, out := &in.Items, &out.Items |
| 1026 | *out = make([]DownwardAPIVolumeFile, len(*in)) |
| 1027 | for i := range *in { |
| 1028 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1029 | } |
| 1030 | } |
| 1031 | if in.DefaultMode != nil { |
| 1032 | in, out := &in.DefaultMode, &out.DefaultMode |
| 1033 | *out = new(int32) |
| 1034 | **out = **in |
| 1035 | } |
| 1036 | return |
| 1037 | } |
| 1038 | |
| 1039 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DownwardAPIVolumeSource. |
| 1040 | func (in *DownwardAPIVolumeSource) DeepCopy() *DownwardAPIVolumeSource { |
| 1041 | if in == nil { |
| 1042 | return nil |
| 1043 | } |
| 1044 | out := new(DownwardAPIVolumeSource) |
| 1045 | in.DeepCopyInto(out) |
| 1046 | return out |
| 1047 | } |
| 1048 | |
| 1049 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1050 | func (in *EmptyDirVolumeSource) DeepCopyInto(out *EmptyDirVolumeSource) { |
| 1051 | *out = *in |
| 1052 | if in.SizeLimit != nil { |
| 1053 | in, out := &in.SizeLimit, &out.SizeLimit |
| 1054 | x := (*in).DeepCopy() |
| 1055 | *out = &x |
| 1056 | } |
| 1057 | return |
| 1058 | } |
| 1059 | |
| 1060 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmptyDirVolumeSource. |
| 1061 | func (in *EmptyDirVolumeSource) DeepCopy() *EmptyDirVolumeSource { |
| 1062 | if in == nil { |
| 1063 | return nil |
| 1064 | } |
| 1065 | out := new(EmptyDirVolumeSource) |
| 1066 | in.DeepCopyInto(out) |
| 1067 | return out |
| 1068 | } |
| 1069 | |
| 1070 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1071 | func (in *EndpointAddress) DeepCopyInto(out *EndpointAddress) { |
| 1072 | *out = *in |
| 1073 | if in.NodeName != nil { |
| 1074 | in, out := &in.NodeName, &out.NodeName |
| 1075 | *out = new(string) |
| 1076 | **out = **in |
| 1077 | } |
| 1078 | if in.TargetRef != nil { |
| 1079 | in, out := &in.TargetRef, &out.TargetRef |
| 1080 | *out = new(ObjectReference) |
| 1081 | **out = **in |
| 1082 | } |
| 1083 | return |
| 1084 | } |
| 1085 | |
| 1086 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointAddress. |
| 1087 | func (in *EndpointAddress) DeepCopy() *EndpointAddress { |
| 1088 | if in == nil { |
| 1089 | return nil |
| 1090 | } |
| 1091 | out := new(EndpointAddress) |
| 1092 | in.DeepCopyInto(out) |
| 1093 | return out |
| 1094 | } |
| 1095 | |
| 1096 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1097 | func (in *EndpointPort) DeepCopyInto(out *EndpointPort) { |
| 1098 | *out = *in |
| 1099 | if in.AppProtocol != nil { |
| 1100 | in, out := &in.AppProtocol, &out.AppProtocol |
| 1101 | *out = new(string) |
| 1102 | **out = **in |
| 1103 | } |
| 1104 | return |
| 1105 | } |
| 1106 | |
| 1107 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointPort. |
| 1108 | func (in *EndpointPort) DeepCopy() *EndpointPort { |
| 1109 | if in == nil { |
| 1110 | return nil |
| 1111 | } |
| 1112 | out := new(EndpointPort) |
| 1113 | in.DeepCopyInto(out) |
| 1114 | return out |
| 1115 | } |
| 1116 | |
| 1117 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1118 | func (in *EndpointSubset) DeepCopyInto(out *EndpointSubset) { |
| 1119 | *out = *in |
| 1120 | if in.Addresses != nil { |
| 1121 | in, out := &in.Addresses, &out.Addresses |
| 1122 | *out = make([]EndpointAddress, len(*in)) |
| 1123 | for i := range *in { |
| 1124 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1125 | } |
| 1126 | } |
| 1127 | if in.NotReadyAddresses != nil { |
| 1128 | in, out := &in.NotReadyAddresses, &out.NotReadyAddresses |
| 1129 | *out = make([]EndpointAddress, len(*in)) |
| 1130 | for i := range *in { |
| 1131 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1132 | } |
| 1133 | } |
| 1134 | if in.Ports != nil { |
| 1135 | in, out := &in.Ports, &out.Ports |
| 1136 | *out = make([]EndpointPort, len(*in)) |
| 1137 | for i := range *in { |
| 1138 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1139 | } |
| 1140 | } |
| 1141 | return |
| 1142 | } |
| 1143 | |
| 1144 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubset. |
| 1145 | func (in *EndpointSubset) DeepCopy() *EndpointSubset { |
| 1146 | if in == nil { |
| 1147 | return nil |
| 1148 | } |
| 1149 | out := new(EndpointSubset) |
| 1150 | in.DeepCopyInto(out) |
| 1151 | return out |
| 1152 | } |
| 1153 | |
| 1154 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1155 | func (in *Endpoints) DeepCopyInto(out *Endpoints) { |
| 1156 | *out = *in |
| 1157 | out.TypeMeta = in.TypeMeta |
| 1158 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 1159 | if in.Subsets != nil { |
| 1160 | in, out := &in.Subsets, &out.Subsets |
| 1161 | *out = make([]EndpointSubset, len(*in)) |
| 1162 | for i := range *in { |
| 1163 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1164 | } |
| 1165 | } |
| 1166 | return |
| 1167 | } |
| 1168 | |
| 1169 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoints. |
| 1170 | func (in *Endpoints) DeepCopy() *Endpoints { |
| 1171 | if in == nil { |
| 1172 | return nil |
| 1173 | } |
| 1174 | out := new(Endpoints) |
| 1175 | in.DeepCopyInto(out) |
| 1176 | return out |
| 1177 | } |
| 1178 | |
| 1179 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1180 | func (in *Endpoints) DeepCopyObject() runtime.Object { |
| 1181 | if c := in.DeepCopy(); c != nil { |
| 1182 | return c |
| 1183 | } |
| 1184 | return nil |
| 1185 | } |
| 1186 | |
| 1187 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1188 | func (in *EndpointsList) DeepCopyInto(out *EndpointsList) { |
| 1189 | *out = *in |
| 1190 | out.TypeMeta = in.TypeMeta |
| 1191 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 1192 | if in.Items != nil { |
| 1193 | in, out := &in.Items, &out.Items |
| 1194 | *out = make([]Endpoints, len(*in)) |
| 1195 | for i := range *in { |
| 1196 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1197 | } |
| 1198 | } |
| 1199 | return |
| 1200 | } |
| 1201 | |
| 1202 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointsList. |
| 1203 | func (in *EndpointsList) DeepCopy() *EndpointsList { |
| 1204 | if in == nil { |
| 1205 | return nil |
| 1206 | } |
| 1207 | out := new(EndpointsList) |
| 1208 | in.DeepCopyInto(out) |
| 1209 | return out |
| 1210 | } |
| 1211 | |
| 1212 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1213 | func (in *EndpointsList) DeepCopyObject() runtime.Object { |
| 1214 | if c := in.DeepCopy(); c != nil { |
| 1215 | return c |
| 1216 | } |
| 1217 | return nil |
| 1218 | } |
| 1219 | |
| 1220 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1221 | func (in *EnvFromSource) DeepCopyInto(out *EnvFromSource) { |
| 1222 | *out = *in |
| 1223 | if in.ConfigMapRef != nil { |
| 1224 | in, out := &in.ConfigMapRef, &out.ConfigMapRef |
| 1225 | *out = new(ConfigMapEnvSource) |
| 1226 | (*in).DeepCopyInto(*out) |
| 1227 | } |
| 1228 | if in.SecretRef != nil { |
| 1229 | in, out := &in.SecretRef, &out.SecretRef |
| 1230 | *out = new(SecretEnvSource) |
| 1231 | (*in).DeepCopyInto(*out) |
| 1232 | } |
| 1233 | return |
| 1234 | } |
| 1235 | |
| 1236 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvFromSource. |
| 1237 | func (in *EnvFromSource) DeepCopy() *EnvFromSource { |
| 1238 | if in == nil { |
| 1239 | return nil |
| 1240 | } |
| 1241 | out := new(EnvFromSource) |
| 1242 | in.DeepCopyInto(out) |
| 1243 | return out |
| 1244 | } |
| 1245 | |
| 1246 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1247 | func (in *EnvVar) DeepCopyInto(out *EnvVar) { |
| 1248 | *out = *in |
| 1249 | if in.ValueFrom != nil { |
| 1250 | in, out := &in.ValueFrom, &out.ValueFrom |
| 1251 | *out = new(EnvVarSource) |
| 1252 | (*in).DeepCopyInto(*out) |
| 1253 | } |
| 1254 | return |
| 1255 | } |
| 1256 | |
| 1257 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar. |
| 1258 | func (in *EnvVar) DeepCopy() *EnvVar { |
| 1259 | if in == nil { |
| 1260 | return nil |
| 1261 | } |
| 1262 | out := new(EnvVar) |
| 1263 | in.DeepCopyInto(out) |
| 1264 | return out |
| 1265 | } |
| 1266 | |
| 1267 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1268 | func (in *EnvVarSource) DeepCopyInto(out *EnvVarSource) { |
| 1269 | *out = *in |
| 1270 | if in.FieldRef != nil { |
| 1271 | in, out := &in.FieldRef, &out.FieldRef |
| 1272 | *out = new(ObjectFieldSelector) |
| 1273 | **out = **in |
| 1274 | } |
| 1275 | if in.ResourceFieldRef != nil { |
| 1276 | in, out := &in.ResourceFieldRef, &out.ResourceFieldRef |
| 1277 | *out = new(ResourceFieldSelector) |
| 1278 | (*in).DeepCopyInto(*out) |
| 1279 | } |
| 1280 | if in.ConfigMapKeyRef != nil { |
| 1281 | in, out := &in.ConfigMapKeyRef, &out.ConfigMapKeyRef |
| 1282 | *out = new(ConfigMapKeySelector) |
| 1283 | (*in).DeepCopyInto(*out) |
| 1284 | } |
| 1285 | if in.SecretKeyRef != nil { |
| 1286 | in, out := &in.SecretKeyRef, &out.SecretKeyRef |
| 1287 | *out = new(SecretKeySelector) |
| 1288 | (*in).DeepCopyInto(*out) |
| 1289 | } |
| 1290 | return |
| 1291 | } |
| 1292 | |
| 1293 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarSource. |
| 1294 | func (in *EnvVarSource) DeepCopy() *EnvVarSource { |
| 1295 | if in == nil { |
| 1296 | return nil |
| 1297 | } |
| 1298 | out := new(EnvVarSource) |
| 1299 | in.DeepCopyInto(out) |
| 1300 | return out |
| 1301 | } |
| 1302 | |
| 1303 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1304 | func (in *EphemeralContainer) DeepCopyInto(out *EphemeralContainer) { |
| 1305 | *out = *in |
| 1306 | in.EphemeralContainerCommon.DeepCopyInto(&out.EphemeralContainerCommon) |
| 1307 | return |
| 1308 | } |
| 1309 | |
| 1310 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralContainer. |
| 1311 | func (in *EphemeralContainer) DeepCopy() *EphemeralContainer { |
| 1312 | if in == nil { |
| 1313 | return nil |
| 1314 | } |
| 1315 | out := new(EphemeralContainer) |
| 1316 | in.DeepCopyInto(out) |
| 1317 | return out |
| 1318 | } |
| 1319 | |
| 1320 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1321 | func (in *EphemeralContainerCommon) DeepCopyInto(out *EphemeralContainerCommon) { |
| 1322 | *out = *in |
| 1323 | if in.Command != nil { |
| 1324 | in, out := &in.Command, &out.Command |
| 1325 | *out = make([]string, len(*in)) |
| 1326 | copy(*out, *in) |
| 1327 | } |
| 1328 | if in.Args != nil { |
| 1329 | in, out := &in.Args, &out.Args |
| 1330 | *out = make([]string, len(*in)) |
| 1331 | copy(*out, *in) |
| 1332 | } |
| 1333 | if in.Ports != nil { |
| 1334 | in, out := &in.Ports, &out.Ports |
| 1335 | *out = make([]ContainerPort, len(*in)) |
| 1336 | copy(*out, *in) |
| 1337 | } |
| 1338 | if in.EnvFrom != nil { |
| 1339 | in, out := &in.EnvFrom, &out.EnvFrom |
| 1340 | *out = make([]EnvFromSource, len(*in)) |
| 1341 | for i := range *in { |
| 1342 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1343 | } |
| 1344 | } |
| 1345 | if in.Env != nil { |
| 1346 | in, out := &in.Env, &out.Env |
| 1347 | *out = make([]EnvVar, len(*in)) |
| 1348 | for i := range *in { |
| 1349 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1350 | } |
| 1351 | } |
| 1352 | in.Resources.DeepCopyInto(&out.Resources) |
| 1353 | if in.VolumeMounts != nil { |
| 1354 | in, out := &in.VolumeMounts, &out.VolumeMounts |
| 1355 | *out = make([]VolumeMount, len(*in)) |
| 1356 | for i := range *in { |
| 1357 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1358 | } |
| 1359 | } |
| 1360 | if in.VolumeDevices != nil { |
| 1361 | in, out := &in.VolumeDevices, &out.VolumeDevices |
| 1362 | *out = make([]VolumeDevice, len(*in)) |
| 1363 | copy(*out, *in) |
| 1364 | } |
| 1365 | if in.LivenessProbe != nil { |
| 1366 | in, out := &in.LivenessProbe, &out.LivenessProbe |
| 1367 | *out = new(Probe) |
| 1368 | (*in).DeepCopyInto(*out) |
| 1369 | } |
| 1370 | if in.ReadinessProbe != nil { |
| 1371 | in, out := &in.ReadinessProbe, &out.ReadinessProbe |
| 1372 | *out = new(Probe) |
| 1373 | (*in).DeepCopyInto(*out) |
| 1374 | } |
| 1375 | if in.StartupProbe != nil { |
| 1376 | in, out := &in.StartupProbe, &out.StartupProbe |
| 1377 | *out = new(Probe) |
| 1378 | (*in).DeepCopyInto(*out) |
| 1379 | } |
| 1380 | if in.Lifecycle != nil { |
| 1381 | in, out := &in.Lifecycle, &out.Lifecycle |
| 1382 | *out = new(Lifecycle) |
| 1383 | (*in).DeepCopyInto(*out) |
| 1384 | } |
| 1385 | if in.SecurityContext != nil { |
| 1386 | in, out := &in.SecurityContext, &out.SecurityContext |
| 1387 | *out = new(SecurityContext) |
| 1388 | (*in).DeepCopyInto(*out) |
| 1389 | } |
| 1390 | return |
| 1391 | } |
| 1392 | |
| 1393 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralContainerCommon. |
| 1394 | func (in *EphemeralContainerCommon) DeepCopy() *EphemeralContainerCommon { |
| 1395 | if in == nil { |
| 1396 | return nil |
| 1397 | } |
| 1398 | out := new(EphemeralContainerCommon) |
| 1399 | in.DeepCopyInto(out) |
| 1400 | return out |
| 1401 | } |
| 1402 | |
| 1403 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1404 | func (in *EphemeralContainers) DeepCopyInto(out *EphemeralContainers) { |
| 1405 | *out = *in |
| 1406 | out.TypeMeta = in.TypeMeta |
| 1407 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 1408 | if in.EphemeralContainers != nil { |
| 1409 | in, out := &in.EphemeralContainers, &out.EphemeralContainers |
| 1410 | *out = make([]EphemeralContainer, len(*in)) |
| 1411 | for i := range *in { |
| 1412 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1413 | } |
| 1414 | } |
| 1415 | return |
| 1416 | } |
| 1417 | |
| 1418 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralContainers. |
| 1419 | func (in *EphemeralContainers) DeepCopy() *EphemeralContainers { |
| 1420 | if in == nil { |
| 1421 | return nil |
| 1422 | } |
| 1423 | out := new(EphemeralContainers) |
| 1424 | in.DeepCopyInto(out) |
| 1425 | return out |
| 1426 | } |
| 1427 | |
| 1428 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1429 | func (in *EphemeralContainers) DeepCopyObject() runtime.Object { |
| 1430 | if c := in.DeepCopy(); c != nil { |
| 1431 | return c |
| 1432 | } |
| 1433 | return nil |
| 1434 | } |
| 1435 | |
| 1436 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1437 | func (in *EphemeralVolumeSource) DeepCopyInto(out *EphemeralVolumeSource) { |
| 1438 | *out = *in |
| 1439 | if in.VolumeClaimTemplate != nil { |
| 1440 | in, out := &in.VolumeClaimTemplate, &out.VolumeClaimTemplate |
| 1441 | *out = new(PersistentVolumeClaimTemplate) |
| 1442 | (*in).DeepCopyInto(*out) |
| 1443 | } |
| 1444 | return |
| 1445 | } |
| 1446 | |
| 1447 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralVolumeSource. |
| 1448 | func (in *EphemeralVolumeSource) DeepCopy() *EphemeralVolumeSource { |
| 1449 | if in == nil { |
| 1450 | return nil |
| 1451 | } |
| 1452 | out := new(EphemeralVolumeSource) |
| 1453 | in.DeepCopyInto(out) |
| 1454 | return out |
| 1455 | } |
| 1456 | |
| 1457 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1458 | func (in *Event) DeepCopyInto(out *Event) { |
| 1459 | *out = *in |
| 1460 | out.TypeMeta = in.TypeMeta |
| 1461 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 1462 | out.InvolvedObject = in.InvolvedObject |
| 1463 | out.Source = in.Source |
| 1464 | in.FirstTimestamp.DeepCopyInto(&out.FirstTimestamp) |
| 1465 | in.LastTimestamp.DeepCopyInto(&out.LastTimestamp) |
| 1466 | in.EventTime.DeepCopyInto(&out.EventTime) |
| 1467 | if in.Series != nil { |
| 1468 | in, out := &in.Series, &out.Series |
| 1469 | *out = new(EventSeries) |
| 1470 | (*in).DeepCopyInto(*out) |
| 1471 | } |
| 1472 | if in.Related != nil { |
| 1473 | in, out := &in.Related, &out.Related |
| 1474 | *out = new(ObjectReference) |
| 1475 | **out = **in |
| 1476 | } |
| 1477 | return |
| 1478 | } |
| 1479 | |
| 1480 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event. |
| 1481 | func (in *Event) DeepCopy() *Event { |
| 1482 | if in == nil { |
| 1483 | return nil |
| 1484 | } |
| 1485 | out := new(Event) |
| 1486 | in.DeepCopyInto(out) |
| 1487 | return out |
| 1488 | } |
| 1489 | |
| 1490 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1491 | func (in *Event) DeepCopyObject() runtime.Object { |
| 1492 | if c := in.DeepCopy(); c != nil { |
| 1493 | return c |
| 1494 | } |
| 1495 | return nil |
| 1496 | } |
| 1497 | |
| 1498 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1499 | func (in *EventList) DeepCopyInto(out *EventList) { |
| 1500 | *out = *in |
| 1501 | out.TypeMeta = in.TypeMeta |
| 1502 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 1503 | if in.Items != nil { |
| 1504 | in, out := &in.Items, &out.Items |
| 1505 | *out = make([]Event, len(*in)) |
| 1506 | for i := range *in { |
| 1507 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1508 | } |
| 1509 | } |
| 1510 | return |
| 1511 | } |
| 1512 | |
| 1513 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList. |
| 1514 | func (in *EventList) DeepCopy() *EventList { |
| 1515 | if in == nil { |
| 1516 | return nil |
| 1517 | } |
| 1518 | out := new(EventList) |
| 1519 | in.DeepCopyInto(out) |
| 1520 | return out |
| 1521 | } |
| 1522 | |
| 1523 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1524 | func (in *EventList) DeepCopyObject() runtime.Object { |
| 1525 | if c := in.DeepCopy(); c != nil { |
| 1526 | return c |
| 1527 | } |
| 1528 | return nil |
| 1529 | } |
| 1530 | |
| 1531 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1532 | func (in *EventSeries) DeepCopyInto(out *EventSeries) { |
| 1533 | *out = *in |
| 1534 | in.LastObservedTime.DeepCopyInto(&out.LastObservedTime) |
| 1535 | return |
| 1536 | } |
| 1537 | |
| 1538 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSeries. |
| 1539 | func (in *EventSeries) DeepCopy() *EventSeries { |
| 1540 | if in == nil { |
| 1541 | return nil |
| 1542 | } |
| 1543 | out := new(EventSeries) |
| 1544 | in.DeepCopyInto(out) |
| 1545 | return out |
| 1546 | } |
| 1547 | |
| 1548 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1549 | func (in *EventSource) DeepCopyInto(out *EventSource) { |
| 1550 | *out = *in |
| 1551 | return |
| 1552 | } |
| 1553 | |
| 1554 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSource. |
| 1555 | func (in *EventSource) DeepCopy() *EventSource { |
| 1556 | if in == nil { |
| 1557 | return nil |
| 1558 | } |
| 1559 | out := new(EventSource) |
| 1560 | in.DeepCopyInto(out) |
| 1561 | return out |
| 1562 | } |
| 1563 | |
| 1564 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1565 | func (in *ExecAction) DeepCopyInto(out *ExecAction) { |
| 1566 | *out = *in |
| 1567 | if in.Command != nil { |
| 1568 | in, out := &in.Command, &out.Command |
| 1569 | *out = make([]string, len(*in)) |
| 1570 | copy(*out, *in) |
| 1571 | } |
| 1572 | return |
| 1573 | } |
| 1574 | |
| 1575 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction. |
| 1576 | func (in *ExecAction) DeepCopy() *ExecAction { |
| 1577 | if in == nil { |
| 1578 | return nil |
| 1579 | } |
| 1580 | out := new(ExecAction) |
| 1581 | in.DeepCopyInto(out) |
| 1582 | return out |
| 1583 | } |
| 1584 | |
| 1585 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1586 | func (in *FCVolumeSource) DeepCopyInto(out *FCVolumeSource) { |
| 1587 | *out = *in |
| 1588 | if in.TargetWWNs != nil { |
| 1589 | in, out := &in.TargetWWNs, &out.TargetWWNs |
| 1590 | *out = make([]string, len(*in)) |
| 1591 | copy(*out, *in) |
| 1592 | } |
| 1593 | if in.Lun != nil { |
| 1594 | in, out := &in.Lun, &out.Lun |
| 1595 | *out = new(int32) |
| 1596 | **out = **in |
| 1597 | } |
| 1598 | if in.WWIDs != nil { |
| 1599 | in, out := &in.WWIDs, &out.WWIDs |
| 1600 | *out = make([]string, len(*in)) |
| 1601 | copy(*out, *in) |
| 1602 | } |
| 1603 | return |
| 1604 | } |
| 1605 | |
| 1606 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FCVolumeSource. |
| 1607 | func (in *FCVolumeSource) DeepCopy() *FCVolumeSource { |
| 1608 | if in == nil { |
| 1609 | return nil |
| 1610 | } |
| 1611 | out := new(FCVolumeSource) |
| 1612 | in.DeepCopyInto(out) |
| 1613 | return out |
| 1614 | } |
| 1615 | |
| 1616 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1617 | func (in *FlexPersistentVolumeSource) DeepCopyInto(out *FlexPersistentVolumeSource) { |
| 1618 | *out = *in |
| 1619 | if in.SecretRef != nil { |
| 1620 | in, out := &in.SecretRef, &out.SecretRef |
| 1621 | *out = new(SecretReference) |
| 1622 | **out = **in |
| 1623 | } |
| 1624 | if in.Options != nil { |
| 1625 | in, out := &in.Options, &out.Options |
| 1626 | *out = make(map[string]string, len(*in)) |
| 1627 | for key, val := range *in { |
| 1628 | (*out)[key] = val |
| 1629 | } |
| 1630 | } |
| 1631 | return |
| 1632 | } |
| 1633 | |
| 1634 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexPersistentVolumeSource. |
| 1635 | func (in *FlexPersistentVolumeSource) DeepCopy() *FlexPersistentVolumeSource { |
| 1636 | if in == nil { |
| 1637 | return nil |
| 1638 | } |
| 1639 | out := new(FlexPersistentVolumeSource) |
| 1640 | in.DeepCopyInto(out) |
| 1641 | return out |
| 1642 | } |
| 1643 | |
| 1644 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1645 | func (in *FlexVolumeSource) DeepCopyInto(out *FlexVolumeSource) { |
| 1646 | *out = *in |
| 1647 | if in.SecretRef != nil { |
| 1648 | in, out := &in.SecretRef, &out.SecretRef |
| 1649 | *out = new(LocalObjectReference) |
| 1650 | **out = **in |
| 1651 | } |
| 1652 | if in.Options != nil { |
| 1653 | in, out := &in.Options, &out.Options |
| 1654 | *out = make(map[string]string, len(*in)) |
| 1655 | for key, val := range *in { |
| 1656 | (*out)[key] = val |
| 1657 | } |
| 1658 | } |
| 1659 | return |
| 1660 | } |
| 1661 | |
| 1662 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlexVolumeSource. |
| 1663 | func (in *FlexVolumeSource) DeepCopy() *FlexVolumeSource { |
| 1664 | if in == nil { |
| 1665 | return nil |
| 1666 | } |
| 1667 | out := new(FlexVolumeSource) |
| 1668 | in.DeepCopyInto(out) |
| 1669 | return out |
| 1670 | } |
| 1671 | |
| 1672 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1673 | func (in *FlockerVolumeSource) DeepCopyInto(out *FlockerVolumeSource) { |
| 1674 | *out = *in |
| 1675 | return |
| 1676 | } |
| 1677 | |
| 1678 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlockerVolumeSource. |
| 1679 | func (in *FlockerVolumeSource) DeepCopy() *FlockerVolumeSource { |
| 1680 | if in == nil { |
| 1681 | return nil |
| 1682 | } |
| 1683 | out := new(FlockerVolumeSource) |
| 1684 | in.DeepCopyInto(out) |
| 1685 | return out |
| 1686 | } |
| 1687 | |
| 1688 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1689 | func (in *GCEPersistentDiskVolumeSource) DeepCopyInto(out *GCEPersistentDiskVolumeSource) { |
| 1690 | *out = *in |
| 1691 | return |
| 1692 | } |
| 1693 | |
| 1694 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCEPersistentDiskVolumeSource. |
| 1695 | func (in *GCEPersistentDiskVolumeSource) DeepCopy() *GCEPersistentDiskVolumeSource { |
| 1696 | if in == nil { |
| 1697 | return nil |
| 1698 | } |
| 1699 | out := new(GCEPersistentDiskVolumeSource) |
| 1700 | in.DeepCopyInto(out) |
| 1701 | return out |
| 1702 | } |
| 1703 | |
| 1704 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1705 | func (in *GitRepoVolumeSource) DeepCopyInto(out *GitRepoVolumeSource) { |
| 1706 | *out = *in |
| 1707 | return |
| 1708 | } |
| 1709 | |
| 1710 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoVolumeSource. |
| 1711 | func (in *GitRepoVolumeSource) DeepCopy() *GitRepoVolumeSource { |
| 1712 | if in == nil { |
| 1713 | return nil |
| 1714 | } |
| 1715 | out := new(GitRepoVolumeSource) |
| 1716 | in.DeepCopyInto(out) |
| 1717 | return out |
| 1718 | } |
| 1719 | |
| 1720 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1721 | func (in *GlusterfsPersistentVolumeSource) DeepCopyInto(out *GlusterfsPersistentVolumeSource) { |
| 1722 | *out = *in |
| 1723 | if in.EndpointsNamespace != nil { |
| 1724 | in, out := &in.EndpointsNamespace, &out.EndpointsNamespace |
| 1725 | *out = new(string) |
| 1726 | **out = **in |
| 1727 | } |
| 1728 | return |
| 1729 | } |
| 1730 | |
| 1731 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlusterfsPersistentVolumeSource. |
| 1732 | func (in *GlusterfsPersistentVolumeSource) DeepCopy() *GlusterfsPersistentVolumeSource { |
| 1733 | if in == nil { |
| 1734 | return nil |
| 1735 | } |
| 1736 | out := new(GlusterfsPersistentVolumeSource) |
| 1737 | in.DeepCopyInto(out) |
| 1738 | return out |
| 1739 | } |
| 1740 | |
| 1741 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1742 | func (in *GlusterfsVolumeSource) DeepCopyInto(out *GlusterfsVolumeSource) { |
| 1743 | *out = *in |
| 1744 | return |
| 1745 | } |
| 1746 | |
| 1747 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlusterfsVolumeSource. |
| 1748 | func (in *GlusterfsVolumeSource) DeepCopy() *GlusterfsVolumeSource { |
| 1749 | if in == nil { |
| 1750 | return nil |
| 1751 | } |
| 1752 | out := new(GlusterfsVolumeSource) |
| 1753 | in.DeepCopyInto(out) |
| 1754 | return out |
| 1755 | } |
| 1756 | |
| 1757 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1758 | func (in *HTTPGetAction) DeepCopyInto(out *HTTPGetAction) { |
| 1759 | *out = *in |
| 1760 | out.Port = in.Port |
| 1761 | if in.HTTPHeaders != nil { |
| 1762 | in, out := &in.HTTPHeaders, &out.HTTPHeaders |
| 1763 | *out = make([]HTTPHeader, len(*in)) |
| 1764 | copy(*out, *in) |
| 1765 | } |
| 1766 | return |
| 1767 | } |
| 1768 | |
| 1769 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPGetAction. |
| 1770 | func (in *HTTPGetAction) DeepCopy() *HTTPGetAction { |
| 1771 | if in == nil { |
| 1772 | return nil |
| 1773 | } |
| 1774 | out := new(HTTPGetAction) |
| 1775 | in.DeepCopyInto(out) |
| 1776 | return out |
| 1777 | } |
| 1778 | |
| 1779 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1780 | func (in *HTTPHeader) DeepCopyInto(out *HTTPHeader) { |
| 1781 | *out = *in |
| 1782 | return |
| 1783 | } |
| 1784 | |
| 1785 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPHeader. |
| 1786 | func (in *HTTPHeader) DeepCopy() *HTTPHeader { |
| 1787 | if in == nil { |
| 1788 | return nil |
| 1789 | } |
| 1790 | out := new(HTTPHeader) |
| 1791 | in.DeepCopyInto(out) |
| 1792 | return out |
| 1793 | } |
| 1794 | |
| 1795 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1796 | func (in *Handler) DeepCopyInto(out *Handler) { |
| 1797 | *out = *in |
| 1798 | if in.Exec != nil { |
| 1799 | in, out := &in.Exec, &out.Exec |
| 1800 | *out = new(ExecAction) |
| 1801 | (*in).DeepCopyInto(*out) |
| 1802 | } |
| 1803 | if in.HTTPGet != nil { |
| 1804 | in, out := &in.HTTPGet, &out.HTTPGet |
| 1805 | *out = new(HTTPGetAction) |
| 1806 | (*in).DeepCopyInto(*out) |
| 1807 | } |
| 1808 | if in.TCPSocket != nil { |
| 1809 | in, out := &in.TCPSocket, &out.TCPSocket |
| 1810 | *out = new(TCPSocketAction) |
| 1811 | **out = **in |
| 1812 | } |
| 1813 | return |
| 1814 | } |
| 1815 | |
| 1816 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Handler. |
| 1817 | func (in *Handler) DeepCopy() *Handler { |
| 1818 | if in == nil { |
| 1819 | return nil |
| 1820 | } |
| 1821 | out := new(Handler) |
| 1822 | in.DeepCopyInto(out) |
| 1823 | return out |
| 1824 | } |
| 1825 | |
| 1826 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1827 | func (in *HostAlias) DeepCopyInto(out *HostAlias) { |
| 1828 | *out = *in |
| 1829 | if in.Hostnames != nil { |
| 1830 | in, out := &in.Hostnames, &out.Hostnames |
| 1831 | *out = make([]string, len(*in)) |
| 1832 | copy(*out, *in) |
| 1833 | } |
| 1834 | return |
| 1835 | } |
| 1836 | |
| 1837 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAlias. |
| 1838 | func (in *HostAlias) DeepCopy() *HostAlias { |
| 1839 | if in == nil { |
| 1840 | return nil |
| 1841 | } |
| 1842 | out := new(HostAlias) |
| 1843 | in.DeepCopyInto(out) |
| 1844 | return out |
| 1845 | } |
| 1846 | |
| 1847 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1848 | func (in *HostPathVolumeSource) DeepCopyInto(out *HostPathVolumeSource) { |
| 1849 | *out = *in |
| 1850 | if in.Type != nil { |
| 1851 | in, out := &in.Type, &out.Type |
| 1852 | *out = new(HostPathType) |
| 1853 | **out = **in |
| 1854 | } |
| 1855 | return |
| 1856 | } |
| 1857 | |
| 1858 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPathVolumeSource. |
| 1859 | func (in *HostPathVolumeSource) DeepCopy() *HostPathVolumeSource { |
| 1860 | if in == nil { |
| 1861 | return nil |
| 1862 | } |
| 1863 | out := new(HostPathVolumeSource) |
| 1864 | in.DeepCopyInto(out) |
| 1865 | return out |
| 1866 | } |
| 1867 | |
| 1868 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1869 | func (in *ISCSIPersistentVolumeSource) DeepCopyInto(out *ISCSIPersistentVolumeSource) { |
| 1870 | *out = *in |
| 1871 | if in.Portals != nil { |
| 1872 | in, out := &in.Portals, &out.Portals |
| 1873 | *out = make([]string, len(*in)) |
| 1874 | copy(*out, *in) |
| 1875 | } |
| 1876 | if in.SecretRef != nil { |
| 1877 | in, out := &in.SecretRef, &out.SecretRef |
| 1878 | *out = new(SecretReference) |
| 1879 | **out = **in |
| 1880 | } |
| 1881 | if in.InitiatorName != nil { |
| 1882 | in, out := &in.InitiatorName, &out.InitiatorName |
| 1883 | *out = new(string) |
| 1884 | **out = **in |
| 1885 | } |
| 1886 | return |
| 1887 | } |
| 1888 | |
| 1889 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIPersistentVolumeSource. |
| 1890 | func (in *ISCSIPersistentVolumeSource) DeepCopy() *ISCSIPersistentVolumeSource { |
| 1891 | if in == nil { |
| 1892 | return nil |
| 1893 | } |
| 1894 | out := new(ISCSIPersistentVolumeSource) |
| 1895 | in.DeepCopyInto(out) |
| 1896 | return out |
| 1897 | } |
| 1898 | |
| 1899 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1900 | func (in *ISCSIVolumeSource) DeepCopyInto(out *ISCSIVolumeSource) { |
| 1901 | *out = *in |
| 1902 | if in.Portals != nil { |
| 1903 | in, out := &in.Portals, &out.Portals |
| 1904 | *out = make([]string, len(*in)) |
| 1905 | copy(*out, *in) |
| 1906 | } |
| 1907 | if in.SecretRef != nil { |
| 1908 | in, out := &in.SecretRef, &out.SecretRef |
| 1909 | *out = new(LocalObjectReference) |
| 1910 | **out = **in |
| 1911 | } |
| 1912 | if in.InitiatorName != nil { |
| 1913 | in, out := &in.InitiatorName, &out.InitiatorName |
| 1914 | *out = new(string) |
| 1915 | **out = **in |
| 1916 | } |
| 1917 | return |
| 1918 | } |
| 1919 | |
| 1920 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ISCSIVolumeSource. |
| 1921 | func (in *ISCSIVolumeSource) DeepCopy() *ISCSIVolumeSource { |
| 1922 | if in == nil { |
| 1923 | return nil |
| 1924 | } |
| 1925 | out := new(ISCSIVolumeSource) |
| 1926 | in.DeepCopyInto(out) |
| 1927 | return out |
| 1928 | } |
| 1929 | |
| 1930 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1931 | func (in *KeyToPath) DeepCopyInto(out *KeyToPath) { |
| 1932 | *out = *in |
| 1933 | if in.Mode != nil { |
| 1934 | in, out := &in.Mode, &out.Mode |
| 1935 | *out = new(int32) |
| 1936 | **out = **in |
| 1937 | } |
| 1938 | return |
| 1939 | } |
| 1940 | |
| 1941 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyToPath. |
| 1942 | func (in *KeyToPath) DeepCopy() *KeyToPath { |
| 1943 | if in == nil { |
| 1944 | return nil |
| 1945 | } |
| 1946 | out := new(KeyToPath) |
| 1947 | in.DeepCopyInto(out) |
| 1948 | return out |
| 1949 | } |
| 1950 | |
| 1951 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1952 | func (in *Lifecycle) DeepCopyInto(out *Lifecycle) { |
| 1953 | *out = *in |
| 1954 | if in.PostStart != nil { |
| 1955 | in, out := &in.PostStart, &out.PostStart |
| 1956 | *out = new(Handler) |
| 1957 | (*in).DeepCopyInto(*out) |
| 1958 | } |
| 1959 | if in.PreStop != nil { |
| 1960 | in, out := &in.PreStop, &out.PreStop |
| 1961 | *out = new(Handler) |
| 1962 | (*in).DeepCopyInto(*out) |
| 1963 | } |
| 1964 | return |
| 1965 | } |
| 1966 | |
| 1967 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lifecycle. |
| 1968 | func (in *Lifecycle) DeepCopy() *Lifecycle { |
| 1969 | if in == nil { |
| 1970 | return nil |
| 1971 | } |
| 1972 | out := new(Lifecycle) |
| 1973 | in.DeepCopyInto(out) |
| 1974 | return out |
| 1975 | } |
| 1976 | |
| 1977 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1978 | func (in *LimitRange) DeepCopyInto(out *LimitRange) { |
| 1979 | *out = *in |
| 1980 | out.TypeMeta = in.TypeMeta |
| 1981 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 1982 | in.Spec.DeepCopyInto(&out.Spec) |
| 1983 | return |
| 1984 | } |
| 1985 | |
| 1986 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRange. |
| 1987 | func (in *LimitRange) DeepCopy() *LimitRange { |
| 1988 | if in == nil { |
| 1989 | return nil |
| 1990 | } |
| 1991 | out := new(LimitRange) |
| 1992 | in.DeepCopyInto(out) |
| 1993 | return out |
| 1994 | } |
| 1995 | |
| 1996 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1997 | func (in *LimitRange) DeepCopyObject() runtime.Object { |
| 1998 | if c := in.DeepCopy(); c != nil { |
| 1999 | return c |
| 2000 | } |
| 2001 | return nil |
| 2002 | } |
| 2003 | |
| 2004 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2005 | func (in *LimitRangeItem) DeepCopyInto(out *LimitRangeItem) { |
| 2006 | *out = *in |
| 2007 | if in.Max != nil { |
| 2008 | in, out := &in.Max, &out.Max |
| 2009 | *out = make(ResourceList, len(*in)) |
| 2010 | for key, val := range *in { |
| 2011 | (*out)[key] = val.DeepCopy() |
| 2012 | } |
| 2013 | } |
| 2014 | if in.Min != nil { |
| 2015 | in, out := &in.Min, &out.Min |
| 2016 | *out = make(ResourceList, len(*in)) |
| 2017 | for key, val := range *in { |
| 2018 | (*out)[key] = val.DeepCopy() |
| 2019 | } |
| 2020 | } |
| 2021 | if in.Default != nil { |
| 2022 | in, out := &in.Default, &out.Default |
| 2023 | *out = make(ResourceList, len(*in)) |
| 2024 | for key, val := range *in { |
| 2025 | (*out)[key] = val.DeepCopy() |
| 2026 | } |
| 2027 | } |
| 2028 | if in.DefaultRequest != nil { |
| 2029 | in, out := &in.DefaultRequest, &out.DefaultRequest |
| 2030 | *out = make(ResourceList, len(*in)) |
| 2031 | for key, val := range *in { |
| 2032 | (*out)[key] = val.DeepCopy() |
| 2033 | } |
| 2034 | } |
| 2035 | if in.MaxLimitRequestRatio != nil { |
| 2036 | in, out := &in.MaxLimitRequestRatio, &out.MaxLimitRequestRatio |
| 2037 | *out = make(ResourceList, len(*in)) |
| 2038 | for key, val := range *in { |
| 2039 | (*out)[key] = val.DeepCopy() |
| 2040 | } |
| 2041 | } |
| 2042 | return |
| 2043 | } |
| 2044 | |
| 2045 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeItem. |
| 2046 | func (in *LimitRangeItem) DeepCopy() *LimitRangeItem { |
| 2047 | if in == nil { |
| 2048 | return nil |
| 2049 | } |
| 2050 | out := new(LimitRangeItem) |
| 2051 | in.DeepCopyInto(out) |
| 2052 | return out |
| 2053 | } |
| 2054 | |
| 2055 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2056 | func (in *LimitRangeList) DeepCopyInto(out *LimitRangeList) { |
| 2057 | *out = *in |
| 2058 | out.TypeMeta = in.TypeMeta |
| 2059 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 2060 | if in.Items != nil { |
| 2061 | in, out := &in.Items, &out.Items |
| 2062 | *out = make([]LimitRange, len(*in)) |
| 2063 | for i := range *in { |
| 2064 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2065 | } |
| 2066 | } |
| 2067 | return |
| 2068 | } |
| 2069 | |
| 2070 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeList. |
| 2071 | func (in *LimitRangeList) DeepCopy() *LimitRangeList { |
| 2072 | if in == nil { |
| 2073 | return nil |
| 2074 | } |
| 2075 | out := new(LimitRangeList) |
| 2076 | in.DeepCopyInto(out) |
| 2077 | return out |
| 2078 | } |
| 2079 | |
| 2080 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 2081 | func (in *LimitRangeList) DeepCopyObject() runtime.Object { |
| 2082 | if c := in.DeepCopy(); c != nil { |
| 2083 | return c |
| 2084 | } |
| 2085 | return nil |
| 2086 | } |
| 2087 | |
| 2088 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2089 | func (in *LimitRangeSpec) DeepCopyInto(out *LimitRangeSpec) { |
| 2090 | *out = *in |
| 2091 | if in.Limits != nil { |
| 2092 | in, out := &in.Limits, &out.Limits |
| 2093 | *out = make([]LimitRangeItem, len(*in)) |
| 2094 | for i := range *in { |
| 2095 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2096 | } |
| 2097 | } |
| 2098 | return |
| 2099 | } |
| 2100 | |
| 2101 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeSpec. |
| 2102 | func (in *LimitRangeSpec) DeepCopy() *LimitRangeSpec { |
| 2103 | if in == nil { |
| 2104 | return nil |
| 2105 | } |
| 2106 | out := new(LimitRangeSpec) |
| 2107 | in.DeepCopyInto(out) |
| 2108 | return out |
| 2109 | } |
| 2110 | |
| 2111 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2112 | func (in *List) DeepCopyInto(out *List) { |
| 2113 | *out = *in |
| 2114 | out.TypeMeta = in.TypeMeta |
| 2115 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 2116 | if in.Items != nil { |
| 2117 | in, out := &in.Items, &out.Items |
| 2118 | *out = make([]runtime.RawExtension, len(*in)) |
| 2119 | for i := range *in { |
| 2120 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2121 | } |
| 2122 | } |
| 2123 | return |
| 2124 | } |
| 2125 | |
| 2126 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List. |
| 2127 | func (in *List) DeepCopy() *List { |
| 2128 | if in == nil { |
| 2129 | return nil |
| 2130 | } |
| 2131 | out := new(List) |
| 2132 | in.DeepCopyInto(out) |
| 2133 | return out |
| 2134 | } |
| 2135 | |
| 2136 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 2137 | func (in *List) DeepCopyObject() runtime.Object { |
| 2138 | if c := in.DeepCopy(); c != nil { |
| 2139 | return c |
| 2140 | } |
| 2141 | return nil |
| 2142 | } |
| 2143 | |
| 2144 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2145 | func (in *LoadBalancerIngress) DeepCopyInto(out *LoadBalancerIngress) { |
| 2146 | *out = *in |
| 2147 | return |
| 2148 | } |
| 2149 | |
| 2150 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerIngress. |
| 2151 | func (in *LoadBalancerIngress) DeepCopy() *LoadBalancerIngress { |
| 2152 | if in == nil { |
| 2153 | return nil |
| 2154 | } |
| 2155 | out := new(LoadBalancerIngress) |
| 2156 | in.DeepCopyInto(out) |
| 2157 | return out |
| 2158 | } |
| 2159 | |
| 2160 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2161 | func (in *LoadBalancerStatus) DeepCopyInto(out *LoadBalancerStatus) { |
| 2162 | *out = *in |
| 2163 | if in.Ingress != nil { |
| 2164 | in, out := &in.Ingress, &out.Ingress |
| 2165 | *out = make([]LoadBalancerIngress, len(*in)) |
| 2166 | copy(*out, *in) |
| 2167 | } |
| 2168 | return |
| 2169 | } |
| 2170 | |
| 2171 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancerStatus. |
| 2172 | func (in *LoadBalancerStatus) DeepCopy() *LoadBalancerStatus { |
| 2173 | if in == nil { |
| 2174 | return nil |
| 2175 | } |
| 2176 | out := new(LoadBalancerStatus) |
| 2177 | in.DeepCopyInto(out) |
| 2178 | return out |
| 2179 | } |
| 2180 | |
| 2181 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2182 | func (in *LocalObjectReference) DeepCopyInto(out *LocalObjectReference) { |
| 2183 | *out = *in |
| 2184 | return |
| 2185 | } |
| 2186 | |
| 2187 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalObjectReference. |
| 2188 | func (in *LocalObjectReference) DeepCopy() *LocalObjectReference { |
| 2189 | if in == nil { |
| 2190 | return nil |
| 2191 | } |
| 2192 | out := new(LocalObjectReference) |
| 2193 | in.DeepCopyInto(out) |
| 2194 | return out |
| 2195 | } |
| 2196 | |
| 2197 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2198 | func (in *LocalVolumeSource) DeepCopyInto(out *LocalVolumeSource) { |
| 2199 | *out = *in |
| 2200 | if in.FSType != nil { |
| 2201 | in, out := &in.FSType, &out.FSType |
| 2202 | *out = new(string) |
| 2203 | **out = **in |
| 2204 | } |
| 2205 | return |
| 2206 | } |
| 2207 | |
| 2208 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalVolumeSource. |
| 2209 | func (in *LocalVolumeSource) DeepCopy() *LocalVolumeSource { |
| 2210 | if in == nil { |
| 2211 | return nil |
| 2212 | } |
| 2213 | out := new(LocalVolumeSource) |
| 2214 | in.DeepCopyInto(out) |
| 2215 | return out |
| 2216 | } |
| 2217 | |
| 2218 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2219 | func (in *NFSVolumeSource) DeepCopyInto(out *NFSVolumeSource) { |
| 2220 | *out = *in |
| 2221 | return |
| 2222 | } |
| 2223 | |
| 2224 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSVolumeSource. |
| 2225 | func (in *NFSVolumeSource) DeepCopy() *NFSVolumeSource { |
| 2226 | if in == nil { |
| 2227 | return nil |
| 2228 | } |
| 2229 | out := new(NFSVolumeSource) |
| 2230 | in.DeepCopyInto(out) |
| 2231 | return out |
| 2232 | } |
| 2233 | |
| 2234 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2235 | func (in *Namespace) DeepCopyInto(out *Namespace) { |
| 2236 | *out = *in |
| 2237 | out.TypeMeta = in.TypeMeta |
| 2238 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 2239 | in.Spec.DeepCopyInto(&out.Spec) |
| 2240 | in.Status.DeepCopyInto(&out.Status) |
| 2241 | return |
| 2242 | } |
| 2243 | |
| 2244 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. |
| 2245 | func (in *Namespace) DeepCopy() *Namespace { |
| 2246 | if in == nil { |
| 2247 | return nil |
| 2248 | } |
| 2249 | out := new(Namespace) |
| 2250 | in.DeepCopyInto(out) |
| 2251 | return out |
| 2252 | } |
| 2253 | |
| 2254 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 2255 | func (in *Namespace) DeepCopyObject() runtime.Object { |
| 2256 | if c := in.DeepCopy(); c != nil { |
| 2257 | return c |
| 2258 | } |
| 2259 | return nil |
| 2260 | } |
| 2261 | |
| 2262 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2263 | func (in *NamespaceCondition) DeepCopyInto(out *NamespaceCondition) { |
| 2264 | *out = *in |
| 2265 | in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| 2266 | return |
| 2267 | } |
| 2268 | |
| 2269 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceCondition. |
| 2270 | func (in *NamespaceCondition) DeepCopy() *NamespaceCondition { |
| 2271 | if in == nil { |
| 2272 | return nil |
| 2273 | } |
| 2274 | out := new(NamespaceCondition) |
| 2275 | in.DeepCopyInto(out) |
| 2276 | return out |
| 2277 | } |
| 2278 | |
| 2279 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2280 | func (in *NamespaceList) DeepCopyInto(out *NamespaceList) { |
| 2281 | *out = *in |
| 2282 | out.TypeMeta = in.TypeMeta |
| 2283 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 2284 | if in.Items != nil { |
| 2285 | in, out := &in.Items, &out.Items |
| 2286 | *out = make([]Namespace, len(*in)) |
| 2287 | for i := range *in { |
| 2288 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2289 | } |
| 2290 | } |
| 2291 | return |
| 2292 | } |
| 2293 | |
| 2294 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList. |
| 2295 | func (in *NamespaceList) DeepCopy() *NamespaceList { |
| 2296 | if in == nil { |
| 2297 | return nil |
| 2298 | } |
| 2299 | out := new(NamespaceList) |
| 2300 | in.DeepCopyInto(out) |
| 2301 | return out |
| 2302 | } |
| 2303 | |
| 2304 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 2305 | func (in *NamespaceList) DeepCopyObject() runtime.Object { |
| 2306 | if c := in.DeepCopy(); c != nil { |
| 2307 | return c |
| 2308 | } |
| 2309 | return nil |
| 2310 | } |
| 2311 | |
| 2312 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2313 | func (in *NamespaceSpec) DeepCopyInto(out *NamespaceSpec) { |
| 2314 | *out = *in |
| 2315 | if in.Finalizers != nil { |
| 2316 | in, out := &in.Finalizers, &out.Finalizers |
| 2317 | *out = make([]FinalizerName, len(*in)) |
| 2318 | copy(*out, *in) |
| 2319 | } |
| 2320 | return |
| 2321 | } |
| 2322 | |
| 2323 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceSpec. |
| 2324 | func (in *NamespaceSpec) DeepCopy() *NamespaceSpec { |
| 2325 | if in == nil { |
| 2326 | return nil |
| 2327 | } |
| 2328 | out := new(NamespaceSpec) |
| 2329 | in.DeepCopyInto(out) |
| 2330 | return out |
| 2331 | } |
| 2332 | |
| 2333 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2334 | func (in *NamespaceStatus) DeepCopyInto(out *NamespaceStatus) { |
| 2335 | *out = *in |
| 2336 | if in.Conditions != nil { |
| 2337 | in, out := &in.Conditions, &out.Conditions |
| 2338 | *out = make([]NamespaceCondition, len(*in)) |
| 2339 | for i := range *in { |
| 2340 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2341 | } |
| 2342 | } |
| 2343 | return |
| 2344 | } |
| 2345 | |
| 2346 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceStatus. |
| 2347 | func (in *NamespaceStatus) DeepCopy() *NamespaceStatus { |
| 2348 | if in == nil { |
| 2349 | return nil |
| 2350 | } |
| 2351 | out := new(NamespaceStatus) |
| 2352 | in.DeepCopyInto(out) |
| 2353 | return out |
| 2354 | } |
| 2355 | |
| 2356 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2357 | func (in *Node) DeepCopyInto(out *Node) { |
| 2358 | *out = *in |
| 2359 | out.TypeMeta = in.TypeMeta |
| 2360 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 2361 | in.Spec.DeepCopyInto(&out.Spec) |
| 2362 | in.Status.DeepCopyInto(&out.Status) |
| 2363 | return |
| 2364 | } |
| 2365 | |
| 2366 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Node. |
| 2367 | func (in *Node) DeepCopy() *Node { |
| 2368 | if in == nil { |
| 2369 | return nil |
| 2370 | } |
| 2371 | out := new(Node) |
| 2372 | in.DeepCopyInto(out) |
| 2373 | return out |
| 2374 | } |
| 2375 | |
| 2376 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 2377 | func (in *Node) DeepCopyObject() runtime.Object { |
| 2378 | if c := in.DeepCopy(); c != nil { |
| 2379 | return c |
| 2380 | } |
| 2381 | return nil |
| 2382 | } |
| 2383 | |
| 2384 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2385 | func (in *NodeAddress) DeepCopyInto(out *NodeAddress) { |
| 2386 | *out = *in |
| 2387 | return |
| 2388 | } |
| 2389 | |
| 2390 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAddress. |
| 2391 | func (in *NodeAddress) DeepCopy() *NodeAddress { |
| 2392 | if in == nil { |
| 2393 | return nil |
| 2394 | } |
| 2395 | out := new(NodeAddress) |
| 2396 | in.DeepCopyInto(out) |
| 2397 | return out |
| 2398 | } |
| 2399 | |
| 2400 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2401 | func (in *NodeAffinity) DeepCopyInto(out *NodeAffinity) { |
| 2402 | *out = *in |
| 2403 | if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { |
| 2404 | in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution |
| 2405 | *out = new(NodeSelector) |
| 2406 | (*in).DeepCopyInto(*out) |
| 2407 | } |
| 2408 | if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { |
| 2409 | in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution |
| 2410 | *out = make([]PreferredSchedulingTerm, len(*in)) |
| 2411 | for i := range *in { |
| 2412 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2413 | } |
| 2414 | } |
| 2415 | return |
| 2416 | } |
| 2417 | |
| 2418 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAffinity. |
| 2419 | func (in *NodeAffinity) DeepCopy() *NodeAffinity { |
| 2420 | if in == nil { |
| 2421 | return nil |
| 2422 | } |
| 2423 | out := new(NodeAffinity) |
| 2424 | in.DeepCopyInto(out) |
| 2425 | return out |
| 2426 | } |
| 2427 | |
| 2428 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2429 | func (in *NodeCondition) DeepCopyInto(out *NodeCondition) { |
| 2430 | *out = *in |
| 2431 | in.LastHeartbeatTime.DeepCopyInto(&out.LastHeartbeatTime) |
| 2432 | in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| 2433 | return |
| 2434 | } |
| 2435 | |
| 2436 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCondition. |
| 2437 | func (in *NodeCondition) DeepCopy() *NodeCondition { |
| 2438 | if in == nil { |
| 2439 | return nil |
| 2440 | } |
| 2441 | out := new(NodeCondition) |
| 2442 | in.DeepCopyInto(out) |
| 2443 | return out |
| 2444 | } |
| 2445 | |
| 2446 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2447 | func (in *NodeConfigSource) DeepCopyInto(out *NodeConfigSource) { |
| 2448 | *out = *in |
| 2449 | if in.ConfigMap != nil { |
| 2450 | in, out := &in.ConfigMap, &out.ConfigMap |
| 2451 | *out = new(ConfigMapNodeConfigSource) |
| 2452 | **out = **in |
| 2453 | } |
| 2454 | return |
| 2455 | } |
| 2456 | |
| 2457 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigSource. |
| 2458 | func (in *NodeConfigSource) DeepCopy() *NodeConfigSource { |
| 2459 | if in == nil { |
| 2460 | return nil |
| 2461 | } |
| 2462 | out := new(NodeConfigSource) |
| 2463 | in.DeepCopyInto(out) |
| 2464 | return out |
| 2465 | } |
| 2466 | |
| 2467 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2468 | func (in *NodeConfigStatus) DeepCopyInto(out *NodeConfigStatus) { |
| 2469 | *out = *in |
| 2470 | if in.Assigned != nil { |
| 2471 | in, out := &in.Assigned, &out.Assigned |
| 2472 | *out = new(NodeConfigSource) |
| 2473 | (*in).DeepCopyInto(*out) |
| 2474 | } |
| 2475 | if in.Active != nil { |
| 2476 | in, out := &in.Active, &out.Active |
| 2477 | *out = new(NodeConfigSource) |
| 2478 | (*in).DeepCopyInto(*out) |
| 2479 | } |
| 2480 | if in.LastKnownGood != nil { |
| 2481 | in, out := &in.LastKnownGood, &out.LastKnownGood |
| 2482 | *out = new(NodeConfigSource) |
| 2483 | (*in).DeepCopyInto(*out) |
| 2484 | } |
| 2485 | return |
| 2486 | } |
| 2487 | |
| 2488 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfigStatus. |
| 2489 | func (in *NodeConfigStatus) DeepCopy() *NodeConfigStatus { |
| 2490 | if in == nil { |
| 2491 | return nil |
| 2492 | } |
| 2493 | out := new(NodeConfigStatus) |
| 2494 | in.DeepCopyInto(out) |
| 2495 | return out |
| 2496 | } |
| 2497 | |
| 2498 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2499 | func (in *NodeDaemonEndpoints) DeepCopyInto(out *NodeDaemonEndpoints) { |
| 2500 | *out = *in |
| 2501 | out.KubeletEndpoint = in.KubeletEndpoint |
| 2502 | return |
| 2503 | } |
| 2504 | |
| 2505 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeDaemonEndpoints. |
| 2506 | func (in *NodeDaemonEndpoints) DeepCopy() *NodeDaemonEndpoints { |
| 2507 | if in == nil { |
| 2508 | return nil |
| 2509 | } |
| 2510 | out := new(NodeDaemonEndpoints) |
| 2511 | in.DeepCopyInto(out) |
| 2512 | return out |
| 2513 | } |
| 2514 | |
| 2515 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2516 | func (in *NodeList) DeepCopyInto(out *NodeList) { |
| 2517 | *out = *in |
| 2518 | out.TypeMeta = in.TypeMeta |
| 2519 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 2520 | if in.Items != nil { |
| 2521 | in, out := &in.Items, &out.Items |
| 2522 | *out = make([]Node, len(*in)) |
| 2523 | for i := range *in { |
| 2524 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2525 | } |
| 2526 | } |
| 2527 | return |
| 2528 | } |
| 2529 | |
| 2530 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList. |
| 2531 | func (in *NodeList) DeepCopy() *NodeList { |
| 2532 | if in == nil { |
| 2533 | return nil |
| 2534 | } |
| 2535 | out := new(NodeList) |
| 2536 | in.DeepCopyInto(out) |
| 2537 | return out |
| 2538 | } |
| 2539 | |
| 2540 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 2541 | func (in *NodeList) DeepCopyObject() runtime.Object { |
| 2542 | if c := in.DeepCopy(); c != nil { |
| 2543 | return c |
| 2544 | } |
| 2545 | return nil |
| 2546 | } |
| 2547 | |
| 2548 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2549 | func (in *NodeProxyOptions) DeepCopyInto(out *NodeProxyOptions) { |
| 2550 | *out = *in |
| 2551 | out.TypeMeta = in.TypeMeta |
| 2552 | return |
| 2553 | } |
| 2554 | |
| 2555 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeProxyOptions. |
| 2556 | func (in *NodeProxyOptions) DeepCopy() *NodeProxyOptions { |
| 2557 | if in == nil { |
| 2558 | return nil |
| 2559 | } |
| 2560 | out := new(NodeProxyOptions) |
| 2561 | in.DeepCopyInto(out) |
| 2562 | return out |
| 2563 | } |
| 2564 | |
| 2565 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 2566 | func (in *NodeProxyOptions) DeepCopyObject() runtime.Object { |
| 2567 | if c := in.DeepCopy(); c != nil { |
| 2568 | return c |
| 2569 | } |
| 2570 | return nil |
| 2571 | } |
| 2572 | |
| 2573 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2574 | func (in *NodeResources) DeepCopyInto(out *NodeResources) { |
| 2575 | *out = *in |
| 2576 | if in.Capacity != nil { |
| 2577 | in, out := &in.Capacity, &out.Capacity |
| 2578 | *out = make(ResourceList, len(*in)) |
| 2579 | for key, val := range *in { |
| 2580 | (*out)[key] = val.DeepCopy() |
| 2581 | } |
| 2582 | } |
| 2583 | return |
| 2584 | } |
| 2585 | |
| 2586 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResources. |
| 2587 | func (in *NodeResources) DeepCopy() *NodeResources { |
| 2588 | if in == nil { |
| 2589 | return nil |
| 2590 | } |
| 2591 | out := new(NodeResources) |
| 2592 | in.DeepCopyInto(out) |
| 2593 | return out |
| 2594 | } |
| 2595 | |
| 2596 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2597 | func (in *NodeSelector) DeepCopyInto(out *NodeSelector) { |
| 2598 | *out = *in |
| 2599 | if in.NodeSelectorTerms != nil { |
| 2600 | in, out := &in.NodeSelectorTerms, &out.NodeSelectorTerms |
| 2601 | *out = make([]NodeSelectorTerm, len(*in)) |
| 2602 | for i := range *in { |
| 2603 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2604 | } |
| 2605 | } |
| 2606 | return |
| 2607 | } |
| 2608 | |
| 2609 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelector. |
| 2610 | func (in *NodeSelector) DeepCopy() *NodeSelector { |
| 2611 | if in == nil { |
| 2612 | return nil |
| 2613 | } |
| 2614 | out := new(NodeSelector) |
| 2615 | in.DeepCopyInto(out) |
| 2616 | return out |
| 2617 | } |
| 2618 | |
| 2619 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2620 | func (in *NodeSelectorRequirement) DeepCopyInto(out *NodeSelectorRequirement) { |
| 2621 | *out = *in |
| 2622 | if in.Values != nil { |
| 2623 | in, out := &in.Values, &out.Values |
| 2624 | *out = make([]string, len(*in)) |
| 2625 | copy(*out, *in) |
| 2626 | } |
| 2627 | return |
| 2628 | } |
| 2629 | |
| 2630 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorRequirement. |
| 2631 | func (in *NodeSelectorRequirement) DeepCopy() *NodeSelectorRequirement { |
| 2632 | if in == nil { |
| 2633 | return nil |
| 2634 | } |
| 2635 | out := new(NodeSelectorRequirement) |
| 2636 | in.DeepCopyInto(out) |
| 2637 | return out |
| 2638 | } |
| 2639 | |
| 2640 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2641 | func (in *NodeSelectorTerm) DeepCopyInto(out *NodeSelectorTerm) { |
| 2642 | *out = *in |
| 2643 | if in.MatchExpressions != nil { |
| 2644 | in, out := &in.MatchExpressions, &out.MatchExpressions |
| 2645 | *out = make([]NodeSelectorRequirement, len(*in)) |
| 2646 | for i := range *in { |
| 2647 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2648 | } |
| 2649 | } |
| 2650 | if in.MatchFields != nil { |
| 2651 | in, out := &in.MatchFields, &out.MatchFields |
| 2652 | *out = make([]NodeSelectorRequirement, len(*in)) |
| 2653 | for i := range *in { |
| 2654 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2655 | } |
| 2656 | } |
| 2657 | return |
| 2658 | } |
| 2659 | |
| 2660 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSelectorTerm. |
| 2661 | func (in *NodeSelectorTerm) DeepCopy() *NodeSelectorTerm { |
| 2662 | if in == nil { |
| 2663 | return nil |
| 2664 | } |
| 2665 | out := new(NodeSelectorTerm) |
| 2666 | in.DeepCopyInto(out) |
| 2667 | return out |
| 2668 | } |
| 2669 | |
| 2670 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2671 | func (in *NodeSpec) DeepCopyInto(out *NodeSpec) { |
| 2672 | *out = *in |
| 2673 | if in.PodCIDRs != nil { |
| 2674 | in, out := &in.PodCIDRs, &out.PodCIDRs |
| 2675 | *out = make([]string, len(*in)) |
| 2676 | copy(*out, *in) |
| 2677 | } |
| 2678 | if in.Taints != nil { |
| 2679 | in, out := &in.Taints, &out.Taints |
| 2680 | *out = make([]Taint, len(*in)) |
| 2681 | for i := range *in { |
| 2682 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2683 | } |
| 2684 | } |
| 2685 | if in.ConfigSource != nil { |
| 2686 | in, out := &in.ConfigSource, &out.ConfigSource |
| 2687 | *out = new(NodeConfigSource) |
| 2688 | (*in).DeepCopyInto(*out) |
| 2689 | } |
| 2690 | return |
| 2691 | } |
| 2692 | |
| 2693 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSpec. |
| 2694 | func (in *NodeSpec) DeepCopy() *NodeSpec { |
| 2695 | if in == nil { |
| 2696 | return nil |
| 2697 | } |
| 2698 | out := new(NodeSpec) |
| 2699 | in.DeepCopyInto(out) |
| 2700 | return out |
| 2701 | } |
| 2702 | |
| 2703 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2704 | func (in *NodeStatus) DeepCopyInto(out *NodeStatus) { |
| 2705 | *out = *in |
| 2706 | if in.Capacity != nil { |
| 2707 | in, out := &in.Capacity, &out.Capacity |
| 2708 | *out = make(ResourceList, len(*in)) |
| 2709 | for key, val := range *in { |
| 2710 | (*out)[key] = val.DeepCopy() |
| 2711 | } |
| 2712 | } |
| 2713 | if in.Allocatable != nil { |
| 2714 | in, out := &in.Allocatable, &out.Allocatable |
| 2715 | *out = make(ResourceList, len(*in)) |
| 2716 | for key, val := range *in { |
| 2717 | (*out)[key] = val.DeepCopy() |
| 2718 | } |
| 2719 | } |
| 2720 | if in.Conditions != nil { |
| 2721 | in, out := &in.Conditions, &out.Conditions |
| 2722 | *out = make([]NodeCondition, len(*in)) |
| 2723 | for i := range *in { |
| 2724 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2725 | } |
| 2726 | } |
| 2727 | if in.Addresses != nil { |
| 2728 | in, out := &in.Addresses, &out.Addresses |
| 2729 | *out = make([]NodeAddress, len(*in)) |
| 2730 | copy(*out, *in) |
| 2731 | } |
| 2732 | out.DaemonEndpoints = in.DaemonEndpoints |
| 2733 | out.NodeInfo = in.NodeInfo |
| 2734 | if in.Images != nil { |
| 2735 | in, out := &in.Images, &out.Images |
| 2736 | *out = make([]ContainerImage, len(*in)) |
| 2737 | for i := range *in { |
| 2738 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2739 | } |
| 2740 | } |
| 2741 | if in.VolumesInUse != nil { |
| 2742 | in, out := &in.VolumesInUse, &out.VolumesInUse |
| 2743 | *out = make([]UniqueVolumeName, len(*in)) |
| 2744 | copy(*out, *in) |
| 2745 | } |
| 2746 | if in.VolumesAttached != nil { |
| 2747 | in, out := &in.VolumesAttached, &out.VolumesAttached |
| 2748 | *out = make([]AttachedVolume, len(*in)) |
| 2749 | copy(*out, *in) |
| 2750 | } |
| 2751 | if in.Config != nil { |
| 2752 | in, out := &in.Config, &out.Config |
| 2753 | *out = new(NodeConfigStatus) |
| 2754 | (*in).DeepCopyInto(*out) |
| 2755 | } |
| 2756 | return |
| 2757 | } |
| 2758 | |
| 2759 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus. |
| 2760 | func (in *NodeStatus) DeepCopy() *NodeStatus { |
| 2761 | if in == nil { |
| 2762 | return nil |
| 2763 | } |
| 2764 | out := new(NodeStatus) |
| 2765 | in.DeepCopyInto(out) |
| 2766 | return out |
| 2767 | } |
| 2768 | |
| 2769 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2770 | func (in *NodeSystemInfo) DeepCopyInto(out *NodeSystemInfo) { |
| 2771 | *out = *in |
| 2772 | return |
| 2773 | } |
| 2774 | |
| 2775 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeSystemInfo. |
| 2776 | func (in *NodeSystemInfo) DeepCopy() *NodeSystemInfo { |
| 2777 | if in == nil { |
| 2778 | return nil |
| 2779 | } |
| 2780 | out := new(NodeSystemInfo) |
| 2781 | in.DeepCopyInto(out) |
| 2782 | return out |
| 2783 | } |
| 2784 | |
| 2785 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2786 | func (in *ObjectFieldSelector) DeepCopyInto(out *ObjectFieldSelector) { |
| 2787 | *out = *in |
| 2788 | return |
| 2789 | } |
| 2790 | |
| 2791 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectFieldSelector. |
| 2792 | func (in *ObjectFieldSelector) DeepCopy() *ObjectFieldSelector { |
| 2793 | if in == nil { |
| 2794 | return nil |
| 2795 | } |
| 2796 | out := new(ObjectFieldSelector) |
| 2797 | in.DeepCopyInto(out) |
| 2798 | return out |
| 2799 | } |
| 2800 | |
| 2801 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2802 | func (in *ObjectReference) DeepCopyInto(out *ObjectReference) { |
| 2803 | *out = *in |
| 2804 | return |
| 2805 | } |
| 2806 | |
| 2807 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. |
| 2808 | func (in *ObjectReference) DeepCopy() *ObjectReference { |
| 2809 | if in == nil { |
| 2810 | return nil |
| 2811 | } |
| 2812 | out := new(ObjectReference) |
| 2813 | in.DeepCopyInto(out) |
| 2814 | return out |
| 2815 | } |
| 2816 | |
| 2817 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 2818 | func (in *ObjectReference) DeepCopyObject() runtime.Object { |
| 2819 | if c := in.DeepCopy(); c != nil { |
| 2820 | return c |
| 2821 | } |
| 2822 | return nil |
| 2823 | } |
| 2824 | |
| 2825 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2826 | func (in *PersistentVolume) DeepCopyInto(out *PersistentVolume) { |
| 2827 | *out = *in |
| 2828 | out.TypeMeta = in.TypeMeta |
| 2829 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 2830 | in.Spec.DeepCopyInto(&out.Spec) |
| 2831 | out.Status = in.Status |
| 2832 | return |
| 2833 | } |
| 2834 | |
| 2835 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolume. |
| 2836 | func (in *PersistentVolume) DeepCopy() *PersistentVolume { |
| 2837 | if in == nil { |
| 2838 | return nil |
| 2839 | } |
| 2840 | out := new(PersistentVolume) |
| 2841 | in.DeepCopyInto(out) |
| 2842 | return out |
| 2843 | } |
| 2844 | |
| 2845 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 2846 | func (in *PersistentVolume) DeepCopyObject() runtime.Object { |
| 2847 | if c := in.DeepCopy(); c != nil { |
| 2848 | return c |
| 2849 | } |
| 2850 | return nil |
| 2851 | } |
| 2852 | |
| 2853 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2854 | func (in *PersistentVolumeClaim) DeepCopyInto(out *PersistentVolumeClaim) { |
| 2855 | *out = *in |
| 2856 | out.TypeMeta = in.TypeMeta |
| 2857 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 2858 | in.Spec.DeepCopyInto(&out.Spec) |
| 2859 | in.Status.DeepCopyInto(&out.Status) |
| 2860 | return |
| 2861 | } |
| 2862 | |
| 2863 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaim. |
| 2864 | func (in *PersistentVolumeClaim) DeepCopy() *PersistentVolumeClaim { |
| 2865 | if in == nil { |
| 2866 | return nil |
| 2867 | } |
| 2868 | out := new(PersistentVolumeClaim) |
| 2869 | in.DeepCopyInto(out) |
| 2870 | return out |
| 2871 | } |
| 2872 | |
| 2873 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 2874 | func (in *PersistentVolumeClaim) DeepCopyObject() runtime.Object { |
| 2875 | if c := in.DeepCopy(); c != nil { |
| 2876 | return c |
| 2877 | } |
| 2878 | return nil |
| 2879 | } |
| 2880 | |
| 2881 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2882 | func (in *PersistentVolumeClaimCondition) DeepCopyInto(out *PersistentVolumeClaimCondition) { |
| 2883 | *out = *in |
| 2884 | in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) |
| 2885 | in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| 2886 | return |
| 2887 | } |
| 2888 | |
| 2889 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimCondition. |
| 2890 | func (in *PersistentVolumeClaimCondition) DeepCopy() *PersistentVolumeClaimCondition { |
| 2891 | if in == nil { |
| 2892 | return nil |
| 2893 | } |
| 2894 | out := new(PersistentVolumeClaimCondition) |
| 2895 | in.DeepCopyInto(out) |
| 2896 | return out |
| 2897 | } |
| 2898 | |
| 2899 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2900 | func (in *PersistentVolumeClaimList) DeepCopyInto(out *PersistentVolumeClaimList) { |
| 2901 | *out = *in |
| 2902 | out.TypeMeta = in.TypeMeta |
| 2903 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 2904 | if in.Items != nil { |
| 2905 | in, out := &in.Items, &out.Items |
| 2906 | *out = make([]PersistentVolumeClaim, len(*in)) |
| 2907 | for i := range *in { |
| 2908 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2909 | } |
| 2910 | } |
| 2911 | return |
| 2912 | } |
| 2913 | |
| 2914 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimList. |
| 2915 | func (in *PersistentVolumeClaimList) DeepCopy() *PersistentVolumeClaimList { |
| 2916 | if in == nil { |
| 2917 | return nil |
| 2918 | } |
| 2919 | out := new(PersistentVolumeClaimList) |
| 2920 | in.DeepCopyInto(out) |
| 2921 | return out |
| 2922 | } |
| 2923 | |
| 2924 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 2925 | func (in *PersistentVolumeClaimList) DeepCopyObject() runtime.Object { |
| 2926 | if c := in.DeepCopy(); c != nil { |
| 2927 | return c |
| 2928 | } |
| 2929 | return nil |
| 2930 | } |
| 2931 | |
| 2932 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2933 | func (in *PersistentVolumeClaimSpec) DeepCopyInto(out *PersistentVolumeClaimSpec) { |
| 2934 | *out = *in |
| 2935 | if in.AccessModes != nil { |
| 2936 | in, out := &in.AccessModes, &out.AccessModes |
| 2937 | *out = make([]PersistentVolumeAccessMode, len(*in)) |
| 2938 | copy(*out, *in) |
| 2939 | } |
| 2940 | if in.Selector != nil { |
| 2941 | in, out := &in.Selector, &out.Selector |
| 2942 | *out = new(metav1.LabelSelector) |
| 2943 | (*in).DeepCopyInto(*out) |
| 2944 | } |
| 2945 | in.Resources.DeepCopyInto(&out.Resources) |
| 2946 | if in.StorageClassName != nil { |
| 2947 | in, out := &in.StorageClassName, &out.StorageClassName |
| 2948 | *out = new(string) |
| 2949 | **out = **in |
| 2950 | } |
| 2951 | if in.VolumeMode != nil { |
| 2952 | in, out := &in.VolumeMode, &out.VolumeMode |
| 2953 | *out = new(PersistentVolumeMode) |
| 2954 | **out = **in |
| 2955 | } |
| 2956 | if in.DataSource != nil { |
| 2957 | in, out := &in.DataSource, &out.DataSource |
| 2958 | *out = new(TypedLocalObjectReference) |
| 2959 | (*in).DeepCopyInto(*out) |
| 2960 | } |
| 2961 | return |
| 2962 | } |
| 2963 | |
| 2964 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimSpec. |
| 2965 | func (in *PersistentVolumeClaimSpec) DeepCopy() *PersistentVolumeClaimSpec { |
| 2966 | if in == nil { |
| 2967 | return nil |
| 2968 | } |
| 2969 | out := new(PersistentVolumeClaimSpec) |
| 2970 | in.DeepCopyInto(out) |
| 2971 | return out |
| 2972 | } |
| 2973 | |
| 2974 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 2975 | func (in *PersistentVolumeClaimStatus) DeepCopyInto(out *PersistentVolumeClaimStatus) { |
| 2976 | *out = *in |
| 2977 | if in.AccessModes != nil { |
| 2978 | in, out := &in.AccessModes, &out.AccessModes |
| 2979 | *out = make([]PersistentVolumeAccessMode, len(*in)) |
| 2980 | copy(*out, *in) |
| 2981 | } |
| 2982 | if in.Capacity != nil { |
| 2983 | in, out := &in.Capacity, &out.Capacity |
| 2984 | *out = make(ResourceList, len(*in)) |
| 2985 | for key, val := range *in { |
| 2986 | (*out)[key] = val.DeepCopy() |
| 2987 | } |
| 2988 | } |
| 2989 | if in.Conditions != nil { |
| 2990 | in, out := &in.Conditions, &out.Conditions |
| 2991 | *out = make([]PersistentVolumeClaimCondition, len(*in)) |
| 2992 | for i := range *in { |
| 2993 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 2994 | } |
| 2995 | } |
| 2996 | return |
| 2997 | } |
| 2998 | |
| 2999 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimStatus. |
| 3000 | func (in *PersistentVolumeClaimStatus) DeepCopy() *PersistentVolumeClaimStatus { |
| 3001 | if in == nil { |
| 3002 | return nil |
| 3003 | } |
| 3004 | out := new(PersistentVolumeClaimStatus) |
| 3005 | in.DeepCopyInto(out) |
| 3006 | return out |
| 3007 | } |
| 3008 | |
| 3009 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3010 | func (in *PersistentVolumeClaimTemplate) DeepCopyInto(out *PersistentVolumeClaimTemplate) { |
| 3011 | *out = *in |
| 3012 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 3013 | in.Spec.DeepCopyInto(&out.Spec) |
| 3014 | return |
| 3015 | } |
| 3016 | |
| 3017 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimTemplate. |
| 3018 | func (in *PersistentVolumeClaimTemplate) DeepCopy() *PersistentVolumeClaimTemplate { |
| 3019 | if in == nil { |
| 3020 | return nil |
| 3021 | } |
| 3022 | out := new(PersistentVolumeClaimTemplate) |
| 3023 | in.DeepCopyInto(out) |
| 3024 | return out |
| 3025 | } |
| 3026 | |
| 3027 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3028 | func (in *PersistentVolumeClaimVolumeSource) DeepCopyInto(out *PersistentVolumeClaimVolumeSource) { |
| 3029 | *out = *in |
| 3030 | return |
| 3031 | } |
| 3032 | |
| 3033 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimVolumeSource. |
| 3034 | func (in *PersistentVolumeClaimVolumeSource) DeepCopy() *PersistentVolumeClaimVolumeSource { |
| 3035 | if in == nil { |
| 3036 | return nil |
| 3037 | } |
| 3038 | out := new(PersistentVolumeClaimVolumeSource) |
| 3039 | in.DeepCopyInto(out) |
| 3040 | return out |
| 3041 | } |
| 3042 | |
| 3043 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3044 | func (in *PersistentVolumeList) DeepCopyInto(out *PersistentVolumeList) { |
| 3045 | *out = *in |
| 3046 | out.TypeMeta = in.TypeMeta |
| 3047 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 3048 | if in.Items != nil { |
| 3049 | in, out := &in.Items, &out.Items |
| 3050 | *out = make([]PersistentVolume, len(*in)) |
| 3051 | for i := range *in { |
| 3052 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3053 | } |
| 3054 | } |
| 3055 | return |
| 3056 | } |
| 3057 | |
| 3058 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeList. |
| 3059 | func (in *PersistentVolumeList) DeepCopy() *PersistentVolumeList { |
| 3060 | if in == nil { |
| 3061 | return nil |
| 3062 | } |
| 3063 | out := new(PersistentVolumeList) |
| 3064 | in.DeepCopyInto(out) |
| 3065 | return out |
| 3066 | } |
| 3067 | |
| 3068 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 3069 | func (in *PersistentVolumeList) DeepCopyObject() runtime.Object { |
| 3070 | if c := in.DeepCopy(); c != nil { |
| 3071 | return c |
| 3072 | } |
| 3073 | return nil |
| 3074 | } |
| 3075 | |
| 3076 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3077 | func (in *PersistentVolumeSource) DeepCopyInto(out *PersistentVolumeSource) { |
| 3078 | *out = *in |
| 3079 | if in.GCEPersistentDisk != nil { |
| 3080 | in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk |
| 3081 | *out = new(GCEPersistentDiskVolumeSource) |
| 3082 | **out = **in |
| 3083 | } |
| 3084 | if in.AWSElasticBlockStore != nil { |
| 3085 | in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore |
| 3086 | *out = new(AWSElasticBlockStoreVolumeSource) |
| 3087 | **out = **in |
| 3088 | } |
| 3089 | if in.HostPath != nil { |
| 3090 | in, out := &in.HostPath, &out.HostPath |
| 3091 | *out = new(HostPathVolumeSource) |
| 3092 | (*in).DeepCopyInto(*out) |
| 3093 | } |
| 3094 | if in.Glusterfs != nil { |
| 3095 | in, out := &in.Glusterfs, &out.Glusterfs |
| 3096 | *out = new(GlusterfsPersistentVolumeSource) |
| 3097 | (*in).DeepCopyInto(*out) |
| 3098 | } |
| 3099 | if in.NFS != nil { |
| 3100 | in, out := &in.NFS, &out.NFS |
| 3101 | *out = new(NFSVolumeSource) |
| 3102 | **out = **in |
| 3103 | } |
| 3104 | if in.RBD != nil { |
| 3105 | in, out := &in.RBD, &out.RBD |
| 3106 | *out = new(RBDPersistentVolumeSource) |
| 3107 | (*in).DeepCopyInto(*out) |
| 3108 | } |
| 3109 | if in.ISCSI != nil { |
| 3110 | in, out := &in.ISCSI, &out.ISCSI |
| 3111 | *out = new(ISCSIPersistentVolumeSource) |
| 3112 | (*in).DeepCopyInto(*out) |
| 3113 | } |
| 3114 | if in.Cinder != nil { |
| 3115 | in, out := &in.Cinder, &out.Cinder |
| 3116 | *out = new(CinderPersistentVolumeSource) |
| 3117 | (*in).DeepCopyInto(*out) |
| 3118 | } |
| 3119 | if in.CephFS != nil { |
| 3120 | in, out := &in.CephFS, &out.CephFS |
| 3121 | *out = new(CephFSPersistentVolumeSource) |
| 3122 | (*in).DeepCopyInto(*out) |
| 3123 | } |
| 3124 | if in.FC != nil { |
| 3125 | in, out := &in.FC, &out.FC |
| 3126 | *out = new(FCVolumeSource) |
| 3127 | (*in).DeepCopyInto(*out) |
| 3128 | } |
| 3129 | if in.Flocker != nil { |
| 3130 | in, out := &in.Flocker, &out.Flocker |
| 3131 | *out = new(FlockerVolumeSource) |
| 3132 | **out = **in |
| 3133 | } |
| 3134 | if in.FlexVolume != nil { |
| 3135 | in, out := &in.FlexVolume, &out.FlexVolume |
| 3136 | *out = new(FlexPersistentVolumeSource) |
| 3137 | (*in).DeepCopyInto(*out) |
| 3138 | } |
| 3139 | if in.AzureFile != nil { |
| 3140 | in, out := &in.AzureFile, &out.AzureFile |
| 3141 | *out = new(AzureFilePersistentVolumeSource) |
| 3142 | (*in).DeepCopyInto(*out) |
| 3143 | } |
| 3144 | if in.VsphereVolume != nil { |
| 3145 | in, out := &in.VsphereVolume, &out.VsphereVolume |
| 3146 | *out = new(VsphereVirtualDiskVolumeSource) |
| 3147 | **out = **in |
| 3148 | } |
| 3149 | if in.Quobyte != nil { |
| 3150 | in, out := &in.Quobyte, &out.Quobyte |
| 3151 | *out = new(QuobyteVolumeSource) |
| 3152 | **out = **in |
| 3153 | } |
| 3154 | if in.AzureDisk != nil { |
| 3155 | in, out := &in.AzureDisk, &out.AzureDisk |
| 3156 | *out = new(AzureDiskVolumeSource) |
| 3157 | (*in).DeepCopyInto(*out) |
| 3158 | } |
| 3159 | if in.PhotonPersistentDisk != nil { |
| 3160 | in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk |
| 3161 | *out = new(PhotonPersistentDiskVolumeSource) |
| 3162 | **out = **in |
| 3163 | } |
| 3164 | if in.PortworxVolume != nil { |
| 3165 | in, out := &in.PortworxVolume, &out.PortworxVolume |
| 3166 | *out = new(PortworxVolumeSource) |
| 3167 | **out = **in |
| 3168 | } |
| 3169 | if in.ScaleIO != nil { |
| 3170 | in, out := &in.ScaleIO, &out.ScaleIO |
| 3171 | *out = new(ScaleIOPersistentVolumeSource) |
| 3172 | (*in).DeepCopyInto(*out) |
| 3173 | } |
| 3174 | if in.Local != nil { |
| 3175 | in, out := &in.Local, &out.Local |
| 3176 | *out = new(LocalVolumeSource) |
| 3177 | (*in).DeepCopyInto(*out) |
| 3178 | } |
| 3179 | if in.StorageOS != nil { |
| 3180 | in, out := &in.StorageOS, &out.StorageOS |
| 3181 | *out = new(StorageOSPersistentVolumeSource) |
| 3182 | (*in).DeepCopyInto(*out) |
| 3183 | } |
| 3184 | if in.CSI != nil { |
| 3185 | in, out := &in.CSI, &out.CSI |
| 3186 | *out = new(CSIPersistentVolumeSource) |
| 3187 | (*in).DeepCopyInto(*out) |
| 3188 | } |
| 3189 | return |
| 3190 | } |
| 3191 | |
| 3192 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSource. |
| 3193 | func (in *PersistentVolumeSource) DeepCopy() *PersistentVolumeSource { |
| 3194 | if in == nil { |
| 3195 | return nil |
| 3196 | } |
| 3197 | out := new(PersistentVolumeSource) |
| 3198 | in.DeepCopyInto(out) |
| 3199 | return out |
| 3200 | } |
| 3201 | |
| 3202 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3203 | func (in *PersistentVolumeSpec) DeepCopyInto(out *PersistentVolumeSpec) { |
| 3204 | *out = *in |
| 3205 | if in.Capacity != nil { |
| 3206 | in, out := &in.Capacity, &out.Capacity |
| 3207 | *out = make(ResourceList, len(*in)) |
| 3208 | for key, val := range *in { |
| 3209 | (*out)[key] = val.DeepCopy() |
| 3210 | } |
| 3211 | } |
| 3212 | in.PersistentVolumeSource.DeepCopyInto(&out.PersistentVolumeSource) |
| 3213 | if in.AccessModes != nil { |
| 3214 | in, out := &in.AccessModes, &out.AccessModes |
| 3215 | *out = make([]PersistentVolumeAccessMode, len(*in)) |
| 3216 | copy(*out, *in) |
| 3217 | } |
| 3218 | if in.ClaimRef != nil { |
| 3219 | in, out := &in.ClaimRef, &out.ClaimRef |
| 3220 | *out = new(ObjectReference) |
| 3221 | **out = **in |
| 3222 | } |
| 3223 | if in.MountOptions != nil { |
| 3224 | in, out := &in.MountOptions, &out.MountOptions |
| 3225 | *out = make([]string, len(*in)) |
| 3226 | copy(*out, *in) |
| 3227 | } |
| 3228 | if in.VolumeMode != nil { |
| 3229 | in, out := &in.VolumeMode, &out.VolumeMode |
| 3230 | *out = new(PersistentVolumeMode) |
| 3231 | **out = **in |
| 3232 | } |
| 3233 | if in.NodeAffinity != nil { |
| 3234 | in, out := &in.NodeAffinity, &out.NodeAffinity |
| 3235 | *out = new(VolumeNodeAffinity) |
| 3236 | (*in).DeepCopyInto(*out) |
| 3237 | } |
| 3238 | return |
| 3239 | } |
| 3240 | |
| 3241 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeSpec. |
| 3242 | func (in *PersistentVolumeSpec) DeepCopy() *PersistentVolumeSpec { |
| 3243 | if in == nil { |
| 3244 | return nil |
| 3245 | } |
| 3246 | out := new(PersistentVolumeSpec) |
| 3247 | in.DeepCopyInto(out) |
| 3248 | return out |
| 3249 | } |
| 3250 | |
| 3251 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3252 | func (in *PersistentVolumeStatus) DeepCopyInto(out *PersistentVolumeStatus) { |
| 3253 | *out = *in |
| 3254 | return |
| 3255 | } |
| 3256 | |
| 3257 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeStatus. |
| 3258 | func (in *PersistentVolumeStatus) DeepCopy() *PersistentVolumeStatus { |
| 3259 | if in == nil { |
| 3260 | return nil |
| 3261 | } |
| 3262 | out := new(PersistentVolumeStatus) |
| 3263 | in.DeepCopyInto(out) |
| 3264 | return out |
| 3265 | } |
| 3266 | |
| 3267 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3268 | func (in *PhotonPersistentDiskVolumeSource) DeepCopyInto(out *PhotonPersistentDiskVolumeSource) { |
| 3269 | *out = *in |
| 3270 | return |
| 3271 | } |
| 3272 | |
| 3273 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PhotonPersistentDiskVolumeSource. |
| 3274 | func (in *PhotonPersistentDiskVolumeSource) DeepCopy() *PhotonPersistentDiskVolumeSource { |
| 3275 | if in == nil { |
| 3276 | return nil |
| 3277 | } |
| 3278 | out := new(PhotonPersistentDiskVolumeSource) |
| 3279 | in.DeepCopyInto(out) |
| 3280 | return out |
| 3281 | } |
| 3282 | |
| 3283 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3284 | func (in *Pod) DeepCopyInto(out *Pod) { |
| 3285 | *out = *in |
| 3286 | out.TypeMeta = in.TypeMeta |
| 3287 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 3288 | in.Spec.DeepCopyInto(&out.Spec) |
| 3289 | in.Status.DeepCopyInto(&out.Status) |
| 3290 | return |
| 3291 | } |
| 3292 | |
| 3293 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pod. |
| 3294 | func (in *Pod) DeepCopy() *Pod { |
| 3295 | if in == nil { |
| 3296 | return nil |
| 3297 | } |
| 3298 | out := new(Pod) |
| 3299 | in.DeepCopyInto(out) |
| 3300 | return out |
| 3301 | } |
| 3302 | |
| 3303 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 3304 | func (in *Pod) DeepCopyObject() runtime.Object { |
| 3305 | if c := in.DeepCopy(); c != nil { |
| 3306 | return c |
| 3307 | } |
| 3308 | return nil |
| 3309 | } |
| 3310 | |
| 3311 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3312 | func (in *PodAffinity) DeepCopyInto(out *PodAffinity) { |
| 3313 | *out = *in |
| 3314 | if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { |
| 3315 | in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution |
| 3316 | *out = make([]PodAffinityTerm, len(*in)) |
| 3317 | for i := range *in { |
| 3318 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3319 | } |
| 3320 | } |
| 3321 | if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { |
| 3322 | in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution |
| 3323 | *out = make([]WeightedPodAffinityTerm, len(*in)) |
| 3324 | for i := range *in { |
| 3325 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3326 | } |
| 3327 | } |
| 3328 | return |
| 3329 | } |
| 3330 | |
| 3331 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinity. |
| 3332 | func (in *PodAffinity) DeepCopy() *PodAffinity { |
| 3333 | if in == nil { |
| 3334 | return nil |
| 3335 | } |
| 3336 | out := new(PodAffinity) |
| 3337 | in.DeepCopyInto(out) |
| 3338 | return out |
| 3339 | } |
| 3340 | |
| 3341 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3342 | func (in *PodAffinityTerm) DeepCopyInto(out *PodAffinityTerm) { |
| 3343 | *out = *in |
| 3344 | if in.LabelSelector != nil { |
| 3345 | in, out := &in.LabelSelector, &out.LabelSelector |
| 3346 | *out = new(metav1.LabelSelector) |
| 3347 | (*in).DeepCopyInto(*out) |
| 3348 | } |
| 3349 | if in.Namespaces != nil { |
| 3350 | in, out := &in.Namespaces, &out.Namespaces |
| 3351 | *out = make([]string, len(*in)) |
| 3352 | copy(*out, *in) |
| 3353 | } |
| 3354 | return |
| 3355 | } |
| 3356 | |
| 3357 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAffinityTerm. |
| 3358 | func (in *PodAffinityTerm) DeepCopy() *PodAffinityTerm { |
| 3359 | if in == nil { |
| 3360 | return nil |
| 3361 | } |
| 3362 | out := new(PodAffinityTerm) |
| 3363 | in.DeepCopyInto(out) |
| 3364 | return out |
| 3365 | } |
| 3366 | |
| 3367 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3368 | func (in *PodAntiAffinity) DeepCopyInto(out *PodAntiAffinity) { |
| 3369 | *out = *in |
| 3370 | if in.RequiredDuringSchedulingIgnoredDuringExecution != nil { |
| 3371 | in, out := &in.RequiredDuringSchedulingIgnoredDuringExecution, &out.RequiredDuringSchedulingIgnoredDuringExecution |
| 3372 | *out = make([]PodAffinityTerm, len(*in)) |
| 3373 | for i := range *in { |
| 3374 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3375 | } |
| 3376 | } |
| 3377 | if in.PreferredDuringSchedulingIgnoredDuringExecution != nil { |
| 3378 | in, out := &in.PreferredDuringSchedulingIgnoredDuringExecution, &out.PreferredDuringSchedulingIgnoredDuringExecution |
| 3379 | *out = make([]WeightedPodAffinityTerm, len(*in)) |
| 3380 | for i := range *in { |
| 3381 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3382 | } |
| 3383 | } |
| 3384 | return |
| 3385 | } |
| 3386 | |
| 3387 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAntiAffinity. |
| 3388 | func (in *PodAntiAffinity) DeepCopy() *PodAntiAffinity { |
| 3389 | if in == nil { |
| 3390 | return nil |
| 3391 | } |
| 3392 | out := new(PodAntiAffinity) |
| 3393 | in.DeepCopyInto(out) |
| 3394 | return out |
| 3395 | } |
| 3396 | |
| 3397 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3398 | func (in *PodAttachOptions) DeepCopyInto(out *PodAttachOptions) { |
| 3399 | *out = *in |
| 3400 | out.TypeMeta = in.TypeMeta |
| 3401 | return |
| 3402 | } |
| 3403 | |
| 3404 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodAttachOptions. |
| 3405 | func (in *PodAttachOptions) DeepCopy() *PodAttachOptions { |
| 3406 | if in == nil { |
| 3407 | return nil |
| 3408 | } |
| 3409 | out := new(PodAttachOptions) |
| 3410 | in.DeepCopyInto(out) |
| 3411 | return out |
| 3412 | } |
| 3413 | |
| 3414 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 3415 | func (in *PodAttachOptions) DeepCopyObject() runtime.Object { |
| 3416 | if c := in.DeepCopy(); c != nil { |
| 3417 | return c |
| 3418 | } |
| 3419 | return nil |
| 3420 | } |
| 3421 | |
| 3422 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3423 | func (in *PodCondition) DeepCopyInto(out *PodCondition) { |
| 3424 | *out = *in |
| 3425 | in.LastProbeTime.DeepCopyInto(&out.LastProbeTime) |
| 3426 | in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| 3427 | return |
| 3428 | } |
| 3429 | |
| 3430 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCondition. |
| 3431 | func (in *PodCondition) DeepCopy() *PodCondition { |
| 3432 | if in == nil { |
| 3433 | return nil |
| 3434 | } |
| 3435 | out := new(PodCondition) |
| 3436 | in.DeepCopyInto(out) |
| 3437 | return out |
| 3438 | } |
| 3439 | |
| 3440 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3441 | func (in *PodDNSConfig) DeepCopyInto(out *PodDNSConfig) { |
| 3442 | *out = *in |
| 3443 | if in.Nameservers != nil { |
| 3444 | in, out := &in.Nameservers, &out.Nameservers |
| 3445 | *out = make([]string, len(*in)) |
| 3446 | copy(*out, *in) |
| 3447 | } |
| 3448 | if in.Searches != nil { |
| 3449 | in, out := &in.Searches, &out.Searches |
| 3450 | *out = make([]string, len(*in)) |
| 3451 | copy(*out, *in) |
| 3452 | } |
| 3453 | if in.Options != nil { |
| 3454 | in, out := &in.Options, &out.Options |
| 3455 | *out = make([]PodDNSConfigOption, len(*in)) |
| 3456 | for i := range *in { |
| 3457 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3458 | } |
| 3459 | } |
| 3460 | return |
| 3461 | } |
| 3462 | |
| 3463 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDNSConfig. |
| 3464 | func (in *PodDNSConfig) DeepCopy() *PodDNSConfig { |
| 3465 | if in == nil { |
| 3466 | return nil |
| 3467 | } |
| 3468 | out := new(PodDNSConfig) |
| 3469 | in.DeepCopyInto(out) |
| 3470 | return out |
| 3471 | } |
| 3472 | |
| 3473 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3474 | func (in *PodDNSConfigOption) DeepCopyInto(out *PodDNSConfigOption) { |
| 3475 | *out = *in |
| 3476 | if in.Value != nil { |
| 3477 | in, out := &in.Value, &out.Value |
| 3478 | *out = new(string) |
| 3479 | **out = **in |
| 3480 | } |
| 3481 | return |
| 3482 | } |
| 3483 | |
| 3484 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDNSConfigOption. |
| 3485 | func (in *PodDNSConfigOption) DeepCopy() *PodDNSConfigOption { |
| 3486 | if in == nil { |
| 3487 | return nil |
| 3488 | } |
| 3489 | out := new(PodDNSConfigOption) |
| 3490 | in.DeepCopyInto(out) |
| 3491 | return out |
| 3492 | } |
| 3493 | |
| 3494 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3495 | func (in *PodExecOptions) DeepCopyInto(out *PodExecOptions) { |
| 3496 | *out = *in |
| 3497 | out.TypeMeta = in.TypeMeta |
| 3498 | if in.Command != nil { |
| 3499 | in, out := &in.Command, &out.Command |
| 3500 | *out = make([]string, len(*in)) |
| 3501 | copy(*out, *in) |
| 3502 | } |
| 3503 | return |
| 3504 | } |
| 3505 | |
| 3506 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodExecOptions. |
| 3507 | func (in *PodExecOptions) DeepCopy() *PodExecOptions { |
| 3508 | if in == nil { |
| 3509 | return nil |
| 3510 | } |
| 3511 | out := new(PodExecOptions) |
| 3512 | in.DeepCopyInto(out) |
| 3513 | return out |
| 3514 | } |
| 3515 | |
| 3516 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 3517 | func (in *PodExecOptions) DeepCopyObject() runtime.Object { |
| 3518 | if c := in.DeepCopy(); c != nil { |
| 3519 | return c |
| 3520 | } |
| 3521 | return nil |
| 3522 | } |
| 3523 | |
| 3524 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3525 | func (in *PodIP) DeepCopyInto(out *PodIP) { |
| 3526 | *out = *in |
| 3527 | return |
| 3528 | } |
| 3529 | |
| 3530 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodIP. |
| 3531 | func (in *PodIP) DeepCopy() *PodIP { |
| 3532 | if in == nil { |
| 3533 | return nil |
| 3534 | } |
| 3535 | out := new(PodIP) |
| 3536 | in.DeepCopyInto(out) |
| 3537 | return out |
| 3538 | } |
| 3539 | |
| 3540 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3541 | func (in *PodList) DeepCopyInto(out *PodList) { |
| 3542 | *out = *in |
| 3543 | out.TypeMeta = in.TypeMeta |
| 3544 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 3545 | if in.Items != nil { |
| 3546 | in, out := &in.Items, &out.Items |
| 3547 | *out = make([]Pod, len(*in)) |
| 3548 | for i := range *in { |
| 3549 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3550 | } |
| 3551 | } |
| 3552 | return |
| 3553 | } |
| 3554 | |
| 3555 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList. |
| 3556 | func (in *PodList) DeepCopy() *PodList { |
| 3557 | if in == nil { |
| 3558 | return nil |
| 3559 | } |
| 3560 | out := new(PodList) |
| 3561 | in.DeepCopyInto(out) |
| 3562 | return out |
| 3563 | } |
| 3564 | |
| 3565 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 3566 | func (in *PodList) DeepCopyObject() runtime.Object { |
| 3567 | if c := in.DeepCopy(); c != nil { |
| 3568 | return c |
| 3569 | } |
| 3570 | return nil |
| 3571 | } |
| 3572 | |
| 3573 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3574 | func (in *PodLogOptions) DeepCopyInto(out *PodLogOptions) { |
| 3575 | *out = *in |
| 3576 | out.TypeMeta = in.TypeMeta |
| 3577 | if in.SinceSeconds != nil { |
| 3578 | in, out := &in.SinceSeconds, &out.SinceSeconds |
| 3579 | *out = new(int64) |
| 3580 | **out = **in |
| 3581 | } |
| 3582 | if in.SinceTime != nil { |
| 3583 | in, out := &in.SinceTime, &out.SinceTime |
| 3584 | *out = (*in).DeepCopy() |
| 3585 | } |
| 3586 | if in.TailLines != nil { |
| 3587 | in, out := &in.TailLines, &out.TailLines |
| 3588 | *out = new(int64) |
| 3589 | **out = **in |
| 3590 | } |
| 3591 | if in.LimitBytes != nil { |
| 3592 | in, out := &in.LimitBytes, &out.LimitBytes |
| 3593 | *out = new(int64) |
| 3594 | **out = **in |
| 3595 | } |
| 3596 | return |
| 3597 | } |
| 3598 | |
| 3599 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLogOptions. |
| 3600 | func (in *PodLogOptions) DeepCopy() *PodLogOptions { |
| 3601 | if in == nil { |
| 3602 | return nil |
| 3603 | } |
| 3604 | out := new(PodLogOptions) |
| 3605 | in.DeepCopyInto(out) |
| 3606 | return out |
| 3607 | } |
| 3608 | |
| 3609 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 3610 | func (in *PodLogOptions) DeepCopyObject() runtime.Object { |
| 3611 | if c := in.DeepCopy(); c != nil { |
| 3612 | return c |
| 3613 | } |
| 3614 | return nil |
| 3615 | } |
| 3616 | |
| 3617 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3618 | func (in *PodPortForwardOptions) DeepCopyInto(out *PodPortForwardOptions) { |
| 3619 | *out = *in |
| 3620 | out.TypeMeta = in.TypeMeta |
| 3621 | if in.Ports != nil { |
| 3622 | in, out := &in.Ports, &out.Ports |
| 3623 | *out = make([]int32, len(*in)) |
| 3624 | copy(*out, *in) |
| 3625 | } |
| 3626 | return |
| 3627 | } |
| 3628 | |
| 3629 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPortForwardOptions. |
| 3630 | func (in *PodPortForwardOptions) DeepCopy() *PodPortForwardOptions { |
| 3631 | if in == nil { |
| 3632 | return nil |
| 3633 | } |
| 3634 | out := new(PodPortForwardOptions) |
| 3635 | in.DeepCopyInto(out) |
| 3636 | return out |
| 3637 | } |
| 3638 | |
| 3639 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 3640 | func (in *PodPortForwardOptions) DeepCopyObject() runtime.Object { |
| 3641 | if c := in.DeepCopy(); c != nil { |
| 3642 | return c |
| 3643 | } |
| 3644 | return nil |
| 3645 | } |
| 3646 | |
| 3647 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3648 | func (in *PodProxyOptions) DeepCopyInto(out *PodProxyOptions) { |
| 3649 | *out = *in |
| 3650 | out.TypeMeta = in.TypeMeta |
| 3651 | return |
| 3652 | } |
| 3653 | |
| 3654 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodProxyOptions. |
| 3655 | func (in *PodProxyOptions) DeepCopy() *PodProxyOptions { |
| 3656 | if in == nil { |
| 3657 | return nil |
| 3658 | } |
| 3659 | out := new(PodProxyOptions) |
| 3660 | in.DeepCopyInto(out) |
| 3661 | return out |
| 3662 | } |
| 3663 | |
| 3664 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 3665 | func (in *PodProxyOptions) DeepCopyObject() runtime.Object { |
| 3666 | if c := in.DeepCopy(); c != nil { |
| 3667 | return c |
| 3668 | } |
| 3669 | return nil |
| 3670 | } |
| 3671 | |
| 3672 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3673 | func (in *PodReadinessGate) DeepCopyInto(out *PodReadinessGate) { |
| 3674 | *out = *in |
| 3675 | return |
| 3676 | } |
| 3677 | |
| 3678 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodReadinessGate. |
| 3679 | func (in *PodReadinessGate) DeepCopy() *PodReadinessGate { |
| 3680 | if in == nil { |
| 3681 | return nil |
| 3682 | } |
| 3683 | out := new(PodReadinessGate) |
| 3684 | in.DeepCopyInto(out) |
| 3685 | return out |
| 3686 | } |
| 3687 | |
| 3688 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3689 | func (in *PodSecurityContext) DeepCopyInto(out *PodSecurityContext) { |
| 3690 | *out = *in |
| 3691 | if in.SELinuxOptions != nil { |
| 3692 | in, out := &in.SELinuxOptions, &out.SELinuxOptions |
| 3693 | *out = new(SELinuxOptions) |
| 3694 | **out = **in |
| 3695 | } |
| 3696 | if in.WindowsOptions != nil { |
| 3697 | in, out := &in.WindowsOptions, &out.WindowsOptions |
| 3698 | *out = new(WindowsSecurityContextOptions) |
| 3699 | (*in).DeepCopyInto(*out) |
| 3700 | } |
| 3701 | if in.RunAsUser != nil { |
| 3702 | in, out := &in.RunAsUser, &out.RunAsUser |
| 3703 | *out = new(int64) |
| 3704 | **out = **in |
| 3705 | } |
| 3706 | if in.RunAsGroup != nil { |
| 3707 | in, out := &in.RunAsGroup, &out.RunAsGroup |
| 3708 | *out = new(int64) |
| 3709 | **out = **in |
| 3710 | } |
| 3711 | if in.RunAsNonRoot != nil { |
| 3712 | in, out := &in.RunAsNonRoot, &out.RunAsNonRoot |
| 3713 | *out = new(bool) |
| 3714 | **out = **in |
| 3715 | } |
| 3716 | if in.SupplementalGroups != nil { |
| 3717 | in, out := &in.SupplementalGroups, &out.SupplementalGroups |
| 3718 | *out = make([]int64, len(*in)) |
| 3719 | copy(*out, *in) |
| 3720 | } |
| 3721 | if in.FSGroup != nil { |
| 3722 | in, out := &in.FSGroup, &out.FSGroup |
| 3723 | *out = new(int64) |
| 3724 | **out = **in |
| 3725 | } |
| 3726 | if in.Sysctls != nil { |
| 3727 | in, out := &in.Sysctls, &out.Sysctls |
| 3728 | *out = make([]Sysctl, len(*in)) |
| 3729 | copy(*out, *in) |
| 3730 | } |
| 3731 | if in.FSGroupChangePolicy != nil { |
| 3732 | in, out := &in.FSGroupChangePolicy, &out.FSGroupChangePolicy |
| 3733 | *out = new(PodFSGroupChangePolicy) |
| 3734 | **out = **in |
| 3735 | } |
| 3736 | if in.SeccompProfile != nil { |
| 3737 | in, out := &in.SeccompProfile, &out.SeccompProfile |
| 3738 | *out = new(SeccompProfile) |
| 3739 | (*in).DeepCopyInto(*out) |
| 3740 | } |
| 3741 | return |
| 3742 | } |
| 3743 | |
| 3744 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityContext. |
| 3745 | func (in *PodSecurityContext) DeepCopy() *PodSecurityContext { |
| 3746 | if in == nil { |
| 3747 | return nil |
| 3748 | } |
| 3749 | out := new(PodSecurityContext) |
| 3750 | in.DeepCopyInto(out) |
| 3751 | return out |
| 3752 | } |
| 3753 | |
| 3754 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3755 | func (in *PodSignature) DeepCopyInto(out *PodSignature) { |
| 3756 | *out = *in |
| 3757 | if in.PodController != nil { |
| 3758 | in, out := &in.PodController, &out.PodController |
| 3759 | *out = new(metav1.OwnerReference) |
| 3760 | (*in).DeepCopyInto(*out) |
| 3761 | } |
| 3762 | return |
| 3763 | } |
| 3764 | |
| 3765 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSignature. |
| 3766 | func (in *PodSignature) DeepCopy() *PodSignature { |
| 3767 | if in == nil { |
| 3768 | return nil |
| 3769 | } |
| 3770 | out := new(PodSignature) |
| 3771 | in.DeepCopyInto(out) |
| 3772 | return out |
| 3773 | } |
| 3774 | |
| 3775 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3776 | func (in *PodSpec) DeepCopyInto(out *PodSpec) { |
| 3777 | *out = *in |
| 3778 | if in.Volumes != nil { |
| 3779 | in, out := &in.Volumes, &out.Volumes |
| 3780 | *out = make([]Volume, len(*in)) |
| 3781 | for i := range *in { |
| 3782 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3783 | } |
| 3784 | } |
| 3785 | if in.InitContainers != nil { |
| 3786 | in, out := &in.InitContainers, &out.InitContainers |
| 3787 | *out = make([]Container, len(*in)) |
| 3788 | for i := range *in { |
| 3789 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3790 | } |
| 3791 | } |
| 3792 | if in.Containers != nil { |
| 3793 | in, out := &in.Containers, &out.Containers |
| 3794 | *out = make([]Container, len(*in)) |
| 3795 | for i := range *in { |
| 3796 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3797 | } |
| 3798 | } |
| 3799 | if in.EphemeralContainers != nil { |
| 3800 | in, out := &in.EphemeralContainers, &out.EphemeralContainers |
| 3801 | *out = make([]EphemeralContainer, len(*in)) |
| 3802 | for i := range *in { |
| 3803 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3804 | } |
| 3805 | } |
| 3806 | if in.TerminationGracePeriodSeconds != nil { |
| 3807 | in, out := &in.TerminationGracePeriodSeconds, &out.TerminationGracePeriodSeconds |
| 3808 | *out = new(int64) |
| 3809 | **out = **in |
| 3810 | } |
| 3811 | if in.ActiveDeadlineSeconds != nil { |
| 3812 | in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds |
| 3813 | *out = new(int64) |
| 3814 | **out = **in |
| 3815 | } |
| 3816 | if in.NodeSelector != nil { |
| 3817 | in, out := &in.NodeSelector, &out.NodeSelector |
| 3818 | *out = make(map[string]string, len(*in)) |
| 3819 | for key, val := range *in { |
| 3820 | (*out)[key] = val |
| 3821 | } |
| 3822 | } |
| 3823 | if in.AutomountServiceAccountToken != nil { |
| 3824 | in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken |
| 3825 | *out = new(bool) |
| 3826 | **out = **in |
| 3827 | } |
| 3828 | if in.ShareProcessNamespace != nil { |
| 3829 | in, out := &in.ShareProcessNamespace, &out.ShareProcessNamespace |
| 3830 | *out = new(bool) |
| 3831 | **out = **in |
| 3832 | } |
| 3833 | if in.SecurityContext != nil { |
| 3834 | in, out := &in.SecurityContext, &out.SecurityContext |
| 3835 | *out = new(PodSecurityContext) |
| 3836 | (*in).DeepCopyInto(*out) |
| 3837 | } |
| 3838 | if in.ImagePullSecrets != nil { |
| 3839 | in, out := &in.ImagePullSecrets, &out.ImagePullSecrets |
| 3840 | *out = make([]LocalObjectReference, len(*in)) |
| 3841 | copy(*out, *in) |
| 3842 | } |
| 3843 | if in.Affinity != nil { |
| 3844 | in, out := &in.Affinity, &out.Affinity |
| 3845 | *out = new(Affinity) |
| 3846 | (*in).DeepCopyInto(*out) |
| 3847 | } |
| 3848 | if in.Tolerations != nil { |
| 3849 | in, out := &in.Tolerations, &out.Tolerations |
| 3850 | *out = make([]Toleration, len(*in)) |
| 3851 | for i := range *in { |
| 3852 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3853 | } |
| 3854 | } |
| 3855 | if in.HostAliases != nil { |
| 3856 | in, out := &in.HostAliases, &out.HostAliases |
| 3857 | *out = make([]HostAlias, len(*in)) |
| 3858 | for i := range *in { |
| 3859 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3860 | } |
| 3861 | } |
| 3862 | if in.Priority != nil { |
| 3863 | in, out := &in.Priority, &out.Priority |
| 3864 | *out = new(int32) |
| 3865 | **out = **in |
| 3866 | } |
| 3867 | if in.DNSConfig != nil { |
| 3868 | in, out := &in.DNSConfig, &out.DNSConfig |
| 3869 | *out = new(PodDNSConfig) |
| 3870 | (*in).DeepCopyInto(*out) |
| 3871 | } |
| 3872 | if in.ReadinessGates != nil { |
| 3873 | in, out := &in.ReadinessGates, &out.ReadinessGates |
| 3874 | *out = make([]PodReadinessGate, len(*in)) |
| 3875 | copy(*out, *in) |
| 3876 | } |
| 3877 | if in.RuntimeClassName != nil { |
| 3878 | in, out := &in.RuntimeClassName, &out.RuntimeClassName |
| 3879 | *out = new(string) |
| 3880 | **out = **in |
| 3881 | } |
| 3882 | if in.EnableServiceLinks != nil { |
| 3883 | in, out := &in.EnableServiceLinks, &out.EnableServiceLinks |
| 3884 | *out = new(bool) |
| 3885 | **out = **in |
| 3886 | } |
| 3887 | if in.PreemptionPolicy != nil { |
| 3888 | in, out := &in.PreemptionPolicy, &out.PreemptionPolicy |
| 3889 | *out = new(PreemptionPolicy) |
| 3890 | **out = **in |
| 3891 | } |
| 3892 | if in.Overhead != nil { |
| 3893 | in, out := &in.Overhead, &out.Overhead |
| 3894 | *out = make(ResourceList, len(*in)) |
| 3895 | for key, val := range *in { |
| 3896 | (*out)[key] = val.DeepCopy() |
| 3897 | } |
| 3898 | } |
| 3899 | if in.TopologySpreadConstraints != nil { |
| 3900 | in, out := &in.TopologySpreadConstraints, &out.TopologySpreadConstraints |
| 3901 | *out = make([]TopologySpreadConstraint, len(*in)) |
| 3902 | for i := range *in { |
| 3903 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3904 | } |
| 3905 | } |
| 3906 | if in.SetHostnameAsFQDN != nil { |
| 3907 | in, out := &in.SetHostnameAsFQDN, &out.SetHostnameAsFQDN |
| 3908 | *out = new(bool) |
| 3909 | **out = **in |
| 3910 | } |
| 3911 | return |
| 3912 | } |
| 3913 | |
| 3914 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec. |
| 3915 | func (in *PodSpec) DeepCopy() *PodSpec { |
| 3916 | if in == nil { |
| 3917 | return nil |
| 3918 | } |
| 3919 | out := new(PodSpec) |
| 3920 | in.DeepCopyInto(out) |
| 3921 | return out |
| 3922 | } |
| 3923 | |
| 3924 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3925 | func (in *PodStatus) DeepCopyInto(out *PodStatus) { |
| 3926 | *out = *in |
| 3927 | if in.Conditions != nil { |
| 3928 | in, out := &in.Conditions, &out.Conditions |
| 3929 | *out = make([]PodCondition, len(*in)) |
| 3930 | for i := range *in { |
| 3931 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3932 | } |
| 3933 | } |
| 3934 | if in.PodIPs != nil { |
| 3935 | in, out := &in.PodIPs, &out.PodIPs |
| 3936 | *out = make([]PodIP, len(*in)) |
| 3937 | copy(*out, *in) |
| 3938 | } |
| 3939 | if in.StartTime != nil { |
| 3940 | in, out := &in.StartTime, &out.StartTime |
| 3941 | *out = (*in).DeepCopy() |
| 3942 | } |
| 3943 | if in.InitContainerStatuses != nil { |
| 3944 | in, out := &in.InitContainerStatuses, &out.InitContainerStatuses |
| 3945 | *out = make([]ContainerStatus, len(*in)) |
| 3946 | for i := range *in { |
| 3947 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3948 | } |
| 3949 | } |
| 3950 | if in.ContainerStatuses != nil { |
| 3951 | in, out := &in.ContainerStatuses, &out.ContainerStatuses |
| 3952 | *out = make([]ContainerStatus, len(*in)) |
| 3953 | for i := range *in { |
| 3954 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3955 | } |
| 3956 | } |
| 3957 | if in.EphemeralContainerStatuses != nil { |
| 3958 | in, out := &in.EphemeralContainerStatuses, &out.EphemeralContainerStatuses |
| 3959 | *out = make([]ContainerStatus, len(*in)) |
| 3960 | for i := range *in { |
| 3961 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 3962 | } |
| 3963 | } |
| 3964 | return |
| 3965 | } |
| 3966 | |
| 3967 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatus. |
| 3968 | func (in *PodStatus) DeepCopy() *PodStatus { |
| 3969 | if in == nil { |
| 3970 | return nil |
| 3971 | } |
| 3972 | out := new(PodStatus) |
| 3973 | in.DeepCopyInto(out) |
| 3974 | return out |
| 3975 | } |
| 3976 | |
| 3977 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 3978 | func (in *PodStatusResult) DeepCopyInto(out *PodStatusResult) { |
| 3979 | *out = *in |
| 3980 | out.TypeMeta = in.TypeMeta |
| 3981 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 3982 | in.Status.DeepCopyInto(&out.Status) |
| 3983 | return |
| 3984 | } |
| 3985 | |
| 3986 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodStatusResult. |
| 3987 | func (in *PodStatusResult) DeepCopy() *PodStatusResult { |
| 3988 | if in == nil { |
| 3989 | return nil |
| 3990 | } |
| 3991 | out := new(PodStatusResult) |
| 3992 | in.DeepCopyInto(out) |
| 3993 | return out |
| 3994 | } |
| 3995 | |
| 3996 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 3997 | func (in *PodStatusResult) DeepCopyObject() runtime.Object { |
| 3998 | if c := in.DeepCopy(); c != nil { |
| 3999 | return c |
| 4000 | } |
| 4001 | return nil |
| 4002 | } |
| 4003 | |
| 4004 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4005 | func (in *PodTemplate) DeepCopyInto(out *PodTemplate) { |
| 4006 | *out = *in |
| 4007 | out.TypeMeta = in.TypeMeta |
| 4008 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 4009 | in.Template.DeepCopyInto(&out.Template) |
| 4010 | return |
| 4011 | } |
| 4012 | |
| 4013 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplate. |
| 4014 | func (in *PodTemplate) DeepCopy() *PodTemplate { |
| 4015 | if in == nil { |
| 4016 | return nil |
| 4017 | } |
| 4018 | out := new(PodTemplate) |
| 4019 | in.DeepCopyInto(out) |
| 4020 | return out |
| 4021 | } |
| 4022 | |
| 4023 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 4024 | func (in *PodTemplate) DeepCopyObject() runtime.Object { |
| 4025 | if c := in.DeepCopy(); c != nil { |
| 4026 | return c |
| 4027 | } |
| 4028 | return nil |
| 4029 | } |
| 4030 | |
| 4031 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4032 | func (in *PodTemplateList) DeepCopyInto(out *PodTemplateList) { |
| 4033 | *out = *in |
| 4034 | out.TypeMeta = in.TypeMeta |
| 4035 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 4036 | if in.Items != nil { |
| 4037 | in, out := &in.Items, &out.Items |
| 4038 | *out = make([]PodTemplate, len(*in)) |
| 4039 | for i := range *in { |
| 4040 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 4041 | } |
| 4042 | } |
| 4043 | return |
| 4044 | } |
| 4045 | |
| 4046 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateList. |
| 4047 | func (in *PodTemplateList) DeepCopy() *PodTemplateList { |
| 4048 | if in == nil { |
| 4049 | return nil |
| 4050 | } |
| 4051 | out := new(PodTemplateList) |
| 4052 | in.DeepCopyInto(out) |
| 4053 | return out |
| 4054 | } |
| 4055 | |
| 4056 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 4057 | func (in *PodTemplateList) DeepCopyObject() runtime.Object { |
| 4058 | if c := in.DeepCopy(); c != nil { |
| 4059 | return c |
| 4060 | } |
| 4061 | return nil |
| 4062 | } |
| 4063 | |
| 4064 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4065 | func (in *PodTemplateSpec) DeepCopyInto(out *PodTemplateSpec) { |
| 4066 | *out = *in |
| 4067 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 4068 | in.Spec.DeepCopyInto(&out.Spec) |
| 4069 | return |
| 4070 | } |
| 4071 | |
| 4072 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTemplateSpec. |
| 4073 | func (in *PodTemplateSpec) DeepCopy() *PodTemplateSpec { |
| 4074 | if in == nil { |
| 4075 | return nil |
| 4076 | } |
| 4077 | out := new(PodTemplateSpec) |
| 4078 | in.DeepCopyInto(out) |
| 4079 | return out |
| 4080 | } |
| 4081 | |
| 4082 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4083 | func (in *PortworxVolumeSource) DeepCopyInto(out *PortworxVolumeSource) { |
| 4084 | *out = *in |
| 4085 | return |
| 4086 | } |
| 4087 | |
| 4088 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortworxVolumeSource. |
| 4089 | func (in *PortworxVolumeSource) DeepCopy() *PortworxVolumeSource { |
| 4090 | if in == nil { |
| 4091 | return nil |
| 4092 | } |
| 4093 | out := new(PortworxVolumeSource) |
| 4094 | in.DeepCopyInto(out) |
| 4095 | return out |
| 4096 | } |
| 4097 | |
| 4098 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4099 | func (in *Preconditions) DeepCopyInto(out *Preconditions) { |
| 4100 | *out = *in |
| 4101 | if in.UID != nil { |
| 4102 | in, out := &in.UID, &out.UID |
| 4103 | *out = new(types.UID) |
| 4104 | **out = **in |
| 4105 | } |
| 4106 | return |
| 4107 | } |
| 4108 | |
| 4109 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions. |
| 4110 | func (in *Preconditions) DeepCopy() *Preconditions { |
| 4111 | if in == nil { |
| 4112 | return nil |
| 4113 | } |
| 4114 | out := new(Preconditions) |
| 4115 | in.DeepCopyInto(out) |
| 4116 | return out |
| 4117 | } |
| 4118 | |
| 4119 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4120 | func (in *PreferAvoidPodsEntry) DeepCopyInto(out *PreferAvoidPodsEntry) { |
| 4121 | *out = *in |
| 4122 | in.PodSignature.DeepCopyInto(&out.PodSignature) |
| 4123 | in.EvictionTime.DeepCopyInto(&out.EvictionTime) |
| 4124 | return |
| 4125 | } |
| 4126 | |
| 4127 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferAvoidPodsEntry. |
| 4128 | func (in *PreferAvoidPodsEntry) DeepCopy() *PreferAvoidPodsEntry { |
| 4129 | if in == nil { |
| 4130 | return nil |
| 4131 | } |
| 4132 | out := new(PreferAvoidPodsEntry) |
| 4133 | in.DeepCopyInto(out) |
| 4134 | return out |
| 4135 | } |
| 4136 | |
| 4137 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4138 | func (in *PreferredSchedulingTerm) DeepCopyInto(out *PreferredSchedulingTerm) { |
| 4139 | *out = *in |
| 4140 | in.Preference.DeepCopyInto(&out.Preference) |
| 4141 | return |
| 4142 | } |
| 4143 | |
| 4144 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferredSchedulingTerm. |
| 4145 | func (in *PreferredSchedulingTerm) DeepCopy() *PreferredSchedulingTerm { |
| 4146 | if in == nil { |
| 4147 | return nil |
| 4148 | } |
| 4149 | out := new(PreferredSchedulingTerm) |
| 4150 | in.DeepCopyInto(out) |
| 4151 | return out |
| 4152 | } |
| 4153 | |
| 4154 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4155 | func (in *Probe) DeepCopyInto(out *Probe) { |
| 4156 | *out = *in |
| 4157 | in.Handler.DeepCopyInto(&out.Handler) |
| 4158 | return |
| 4159 | } |
| 4160 | |
| 4161 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe. |
| 4162 | func (in *Probe) DeepCopy() *Probe { |
| 4163 | if in == nil { |
| 4164 | return nil |
| 4165 | } |
| 4166 | out := new(Probe) |
| 4167 | in.DeepCopyInto(out) |
| 4168 | return out |
| 4169 | } |
| 4170 | |
| 4171 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4172 | func (in *ProjectedVolumeSource) DeepCopyInto(out *ProjectedVolumeSource) { |
| 4173 | *out = *in |
| 4174 | if in.Sources != nil { |
| 4175 | in, out := &in.Sources, &out.Sources |
| 4176 | *out = make([]VolumeProjection, len(*in)) |
| 4177 | for i := range *in { |
| 4178 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 4179 | } |
| 4180 | } |
| 4181 | if in.DefaultMode != nil { |
| 4182 | in, out := &in.DefaultMode, &out.DefaultMode |
| 4183 | *out = new(int32) |
| 4184 | **out = **in |
| 4185 | } |
| 4186 | return |
| 4187 | } |
| 4188 | |
| 4189 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectedVolumeSource. |
| 4190 | func (in *ProjectedVolumeSource) DeepCopy() *ProjectedVolumeSource { |
| 4191 | if in == nil { |
| 4192 | return nil |
| 4193 | } |
| 4194 | out := new(ProjectedVolumeSource) |
| 4195 | in.DeepCopyInto(out) |
| 4196 | return out |
| 4197 | } |
| 4198 | |
| 4199 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4200 | func (in *QuobyteVolumeSource) DeepCopyInto(out *QuobyteVolumeSource) { |
| 4201 | *out = *in |
| 4202 | return |
| 4203 | } |
| 4204 | |
| 4205 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QuobyteVolumeSource. |
| 4206 | func (in *QuobyteVolumeSource) DeepCopy() *QuobyteVolumeSource { |
| 4207 | if in == nil { |
| 4208 | return nil |
| 4209 | } |
| 4210 | out := new(QuobyteVolumeSource) |
| 4211 | in.DeepCopyInto(out) |
| 4212 | return out |
| 4213 | } |
| 4214 | |
| 4215 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4216 | func (in *RBDPersistentVolumeSource) DeepCopyInto(out *RBDPersistentVolumeSource) { |
| 4217 | *out = *in |
| 4218 | if in.CephMonitors != nil { |
| 4219 | in, out := &in.CephMonitors, &out.CephMonitors |
| 4220 | *out = make([]string, len(*in)) |
| 4221 | copy(*out, *in) |
| 4222 | } |
| 4223 | if in.SecretRef != nil { |
| 4224 | in, out := &in.SecretRef, &out.SecretRef |
| 4225 | *out = new(SecretReference) |
| 4226 | **out = **in |
| 4227 | } |
| 4228 | return |
| 4229 | } |
| 4230 | |
| 4231 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBDPersistentVolumeSource. |
| 4232 | func (in *RBDPersistentVolumeSource) DeepCopy() *RBDPersistentVolumeSource { |
| 4233 | if in == nil { |
| 4234 | return nil |
| 4235 | } |
| 4236 | out := new(RBDPersistentVolumeSource) |
| 4237 | in.DeepCopyInto(out) |
| 4238 | return out |
| 4239 | } |
| 4240 | |
| 4241 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4242 | func (in *RBDVolumeSource) DeepCopyInto(out *RBDVolumeSource) { |
| 4243 | *out = *in |
| 4244 | if in.CephMonitors != nil { |
| 4245 | in, out := &in.CephMonitors, &out.CephMonitors |
| 4246 | *out = make([]string, len(*in)) |
| 4247 | copy(*out, *in) |
| 4248 | } |
| 4249 | if in.SecretRef != nil { |
| 4250 | in, out := &in.SecretRef, &out.SecretRef |
| 4251 | *out = new(LocalObjectReference) |
| 4252 | **out = **in |
| 4253 | } |
| 4254 | return |
| 4255 | } |
| 4256 | |
| 4257 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RBDVolumeSource. |
| 4258 | func (in *RBDVolumeSource) DeepCopy() *RBDVolumeSource { |
| 4259 | if in == nil { |
| 4260 | return nil |
| 4261 | } |
| 4262 | out := new(RBDVolumeSource) |
| 4263 | in.DeepCopyInto(out) |
| 4264 | return out |
| 4265 | } |
| 4266 | |
| 4267 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4268 | func (in *RangeAllocation) DeepCopyInto(out *RangeAllocation) { |
| 4269 | *out = *in |
| 4270 | out.TypeMeta = in.TypeMeta |
| 4271 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 4272 | if in.Data != nil { |
| 4273 | in, out := &in.Data, &out.Data |
| 4274 | *out = make([]byte, len(*in)) |
| 4275 | copy(*out, *in) |
| 4276 | } |
| 4277 | return |
| 4278 | } |
| 4279 | |
| 4280 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangeAllocation. |
| 4281 | func (in *RangeAllocation) DeepCopy() *RangeAllocation { |
| 4282 | if in == nil { |
| 4283 | return nil |
| 4284 | } |
| 4285 | out := new(RangeAllocation) |
| 4286 | in.DeepCopyInto(out) |
| 4287 | return out |
| 4288 | } |
| 4289 | |
| 4290 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 4291 | func (in *RangeAllocation) DeepCopyObject() runtime.Object { |
| 4292 | if c := in.DeepCopy(); c != nil { |
| 4293 | return c |
| 4294 | } |
| 4295 | return nil |
| 4296 | } |
| 4297 | |
| 4298 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4299 | func (in *ReplicationController) DeepCopyInto(out *ReplicationController) { |
| 4300 | *out = *in |
| 4301 | out.TypeMeta = in.TypeMeta |
| 4302 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 4303 | in.Spec.DeepCopyInto(&out.Spec) |
| 4304 | in.Status.DeepCopyInto(&out.Status) |
| 4305 | return |
| 4306 | } |
| 4307 | |
| 4308 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationController. |
| 4309 | func (in *ReplicationController) DeepCopy() *ReplicationController { |
| 4310 | if in == nil { |
| 4311 | return nil |
| 4312 | } |
| 4313 | out := new(ReplicationController) |
| 4314 | in.DeepCopyInto(out) |
| 4315 | return out |
| 4316 | } |
| 4317 | |
| 4318 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 4319 | func (in *ReplicationController) DeepCopyObject() runtime.Object { |
| 4320 | if c := in.DeepCopy(); c != nil { |
| 4321 | return c |
| 4322 | } |
| 4323 | return nil |
| 4324 | } |
| 4325 | |
| 4326 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4327 | func (in *ReplicationControllerCondition) DeepCopyInto(out *ReplicationControllerCondition) { |
| 4328 | *out = *in |
| 4329 | in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| 4330 | return |
| 4331 | } |
| 4332 | |
| 4333 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerCondition. |
| 4334 | func (in *ReplicationControllerCondition) DeepCopy() *ReplicationControllerCondition { |
| 4335 | if in == nil { |
| 4336 | return nil |
| 4337 | } |
| 4338 | out := new(ReplicationControllerCondition) |
| 4339 | in.DeepCopyInto(out) |
| 4340 | return out |
| 4341 | } |
| 4342 | |
| 4343 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4344 | func (in *ReplicationControllerList) DeepCopyInto(out *ReplicationControllerList) { |
| 4345 | *out = *in |
| 4346 | out.TypeMeta = in.TypeMeta |
| 4347 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 4348 | if in.Items != nil { |
| 4349 | in, out := &in.Items, &out.Items |
| 4350 | *out = make([]ReplicationController, len(*in)) |
| 4351 | for i := range *in { |
| 4352 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 4353 | } |
| 4354 | } |
| 4355 | return |
| 4356 | } |
| 4357 | |
| 4358 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerList. |
| 4359 | func (in *ReplicationControllerList) DeepCopy() *ReplicationControllerList { |
| 4360 | if in == nil { |
| 4361 | return nil |
| 4362 | } |
| 4363 | out := new(ReplicationControllerList) |
| 4364 | in.DeepCopyInto(out) |
| 4365 | return out |
| 4366 | } |
| 4367 | |
| 4368 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 4369 | func (in *ReplicationControllerList) DeepCopyObject() runtime.Object { |
| 4370 | if c := in.DeepCopy(); c != nil { |
| 4371 | return c |
| 4372 | } |
| 4373 | return nil |
| 4374 | } |
| 4375 | |
| 4376 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4377 | func (in *ReplicationControllerSpec) DeepCopyInto(out *ReplicationControllerSpec) { |
| 4378 | *out = *in |
| 4379 | if in.Replicas != nil { |
| 4380 | in, out := &in.Replicas, &out.Replicas |
| 4381 | *out = new(int32) |
| 4382 | **out = **in |
| 4383 | } |
| 4384 | if in.Selector != nil { |
| 4385 | in, out := &in.Selector, &out.Selector |
| 4386 | *out = make(map[string]string, len(*in)) |
| 4387 | for key, val := range *in { |
| 4388 | (*out)[key] = val |
| 4389 | } |
| 4390 | } |
| 4391 | if in.Template != nil { |
| 4392 | in, out := &in.Template, &out.Template |
| 4393 | *out = new(PodTemplateSpec) |
| 4394 | (*in).DeepCopyInto(*out) |
| 4395 | } |
| 4396 | return |
| 4397 | } |
| 4398 | |
| 4399 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerSpec. |
| 4400 | func (in *ReplicationControllerSpec) DeepCopy() *ReplicationControllerSpec { |
| 4401 | if in == nil { |
| 4402 | return nil |
| 4403 | } |
| 4404 | out := new(ReplicationControllerSpec) |
| 4405 | in.DeepCopyInto(out) |
| 4406 | return out |
| 4407 | } |
| 4408 | |
| 4409 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4410 | func (in *ReplicationControllerStatus) DeepCopyInto(out *ReplicationControllerStatus) { |
| 4411 | *out = *in |
| 4412 | if in.Conditions != nil { |
| 4413 | in, out := &in.Conditions, &out.Conditions |
| 4414 | *out = make([]ReplicationControllerCondition, len(*in)) |
| 4415 | for i := range *in { |
| 4416 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 4417 | } |
| 4418 | } |
| 4419 | return |
| 4420 | } |
| 4421 | |
| 4422 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerStatus. |
| 4423 | func (in *ReplicationControllerStatus) DeepCopy() *ReplicationControllerStatus { |
| 4424 | if in == nil { |
| 4425 | return nil |
| 4426 | } |
| 4427 | out := new(ReplicationControllerStatus) |
| 4428 | in.DeepCopyInto(out) |
| 4429 | return out |
| 4430 | } |
| 4431 | |
| 4432 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4433 | func (in *ResourceFieldSelector) DeepCopyInto(out *ResourceFieldSelector) { |
| 4434 | *out = *in |
| 4435 | out.Divisor = in.Divisor.DeepCopy() |
| 4436 | return |
| 4437 | } |
| 4438 | |
| 4439 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFieldSelector. |
| 4440 | func (in *ResourceFieldSelector) DeepCopy() *ResourceFieldSelector { |
| 4441 | if in == nil { |
| 4442 | return nil |
| 4443 | } |
| 4444 | out := new(ResourceFieldSelector) |
| 4445 | in.DeepCopyInto(out) |
| 4446 | return out |
| 4447 | } |
| 4448 | |
| 4449 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4450 | func (in ResourceList) DeepCopyInto(out *ResourceList) { |
| 4451 | { |
| 4452 | in := &in |
| 4453 | *out = make(ResourceList, len(*in)) |
| 4454 | for key, val := range *in { |
| 4455 | (*out)[key] = val.DeepCopy() |
| 4456 | } |
| 4457 | return |
| 4458 | } |
| 4459 | } |
| 4460 | |
| 4461 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceList. |
| 4462 | func (in ResourceList) DeepCopy() ResourceList { |
| 4463 | if in == nil { |
| 4464 | return nil |
| 4465 | } |
| 4466 | out := new(ResourceList) |
| 4467 | in.DeepCopyInto(out) |
| 4468 | return *out |
| 4469 | } |
| 4470 | |
| 4471 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4472 | func (in *ResourceQuota) DeepCopyInto(out *ResourceQuota) { |
| 4473 | *out = *in |
| 4474 | out.TypeMeta = in.TypeMeta |
| 4475 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 4476 | in.Spec.DeepCopyInto(&out.Spec) |
| 4477 | in.Status.DeepCopyInto(&out.Status) |
| 4478 | return |
| 4479 | } |
| 4480 | |
| 4481 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuota. |
| 4482 | func (in *ResourceQuota) DeepCopy() *ResourceQuota { |
| 4483 | if in == nil { |
| 4484 | return nil |
| 4485 | } |
| 4486 | out := new(ResourceQuota) |
| 4487 | in.DeepCopyInto(out) |
| 4488 | return out |
| 4489 | } |
| 4490 | |
| 4491 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 4492 | func (in *ResourceQuota) DeepCopyObject() runtime.Object { |
| 4493 | if c := in.DeepCopy(); c != nil { |
| 4494 | return c |
| 4495 | } |
| 4496 | return nil |
| 4497 | } |
| 4498 | |
| 4499 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4500 | func (in *ResourceQuotaList) DeepCopyInto(out *ResourceQuotaList) { |
| 4501 | *out = *in |
| 4502 | out.TypeMeta = in.TypeMeta |
| 4503 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 4504 | if in.Items != nil { |
| 4505 | in, out := &in.Items, &out.Items |
| 4506 | *out = make([]ResourceQuota, len(*in)) |
| 4507 | for i := range *in { |
| 4508 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 4509 | } |
| 4510 | } |
| 4511 | return |
| 4512 | } |
| 4513 | |
| 4514 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaList. |
| 4515 | func (in *ResourceQuotaList) DeepCopy() *ResourceQuotaList { |
| 4516 | if in == nil { |
| 4517 | return nil |
| 4518 | } |
| 4519 | out := new(ResourceQuotaList) |
| 4520 | in.DeepCopyInto(out) |
| 4521 | return out |
| 4522 | } |
| 4523 | |
| 4524 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 4525 | func (in *ResourceQuotaList) DeepCopyObject() runtime.Object { |
| 4526 | if c := in.DeepCopy(); c != nil { |
| 4527 | return c |
| 4528 | } |
| 4529 | return nil |
| 4530 | } |
| 4531 | |
| 4532 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4533 | func (in *ResourceQuotaSpec) DeepCopyInto(out *ResourceQuotaSpec) { |
| 4534 | *out = *in |
| 4535 | if in.Hard != nil { |
| 4536 | in, out := &in.Hard, &out.Hard |
| 4537 | *out = make(ResourceList, len(*in)) |
| 4538 | for key, val := range *in { |
| 4539 | (*out)[key] = val.DeepCopy() |
| 4540 | } |
| 4541 | } |
| 4542 | if in.Scopes != nil { |
| 4543 | in, out := &in.Scopes, &out.Scopes |
| 4544 | *out = make([]ResourceQuotaScope, len(*in)) |
| 4545 | copy(*out, *in) |
| 4546 | } |
| 4547 | if in.ScopeSelector != nil { |
| 4548 | in, out := &in.ScopeSelector, &out.ScopeSelector |
| 4549 | *out = new(ScopeSelector) |
| 4550 | (*in).DeepCopyInto(*out) |
| 4551 | } |
| 4552 | return |
| 4553 | } |
| 4554 | |
| 4555 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaSpec. |
| 4556 | func (in *ResourceQuotaSpec) DeepCopy() *ResourceQuotaSpec { |
| 4557 | if in == nil { |
| 4558 | return nil |
| 4559 | } |
| 4560 | out := new(ResourceQuotaSpec) |
| 4561 | in.DeepCopyInto(out) |
| 4562 | return out |
| 4563 | } |
| 4564 | |
| 4565 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4566 | func (in *ResourceQuotaStatus) DeepCopyInto(out *ResourceQuotaStatus) { |
| 4567 | *out = *in |
| 4568 | if in.Hard != nil { |
| 4569 | in, out := &in.Hard, &out.Hard |
| 4570 | *out = make(ResourceList, len(*in)) |
| 4571 | for key, val := range *in { |
| 4572 | (*out)[key] = val.DeepCopy() |
| 4573 | } |
| 4574 | } |
| 4575 | if in.Used != nil { |
| 4576 | in, out := &in.Used, &out.Used |
| 4577 | *out = make(ResourceList, len(*in)) |
| 4578 | for key, val := range *in { |
| 4579 | (*out)[key] = val.DeepCopy() |
| 4580 | } |
| 4581 | } |
| 4582 | return |
| 4583 | } |
| 4584 | |
| 4585 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaStatus. |
| 4586 | func (in *ResourceQuotaStatus) DeepCopy() *ResourceQuotaStatus { |
| 4587 | if in == nil { |
| 4588 | return nil |
| 4589 | } |
| 4590 | out := new(ResourceQuotaStatus) |
| 4591 | in.DeepCopyInto(out) |
| 4592 | return out |
| 4593 | } |
| 4594 | |
| 4595 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4596 | func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements) { |
| 4597 | *out = *in |
| 4598 | if in.Limits != nil { |
| 4599 | in, out := &in.Limits, &out.Limits |
| 4600 | *out = make(ResourceList, len(*in)) |
| 4601 | for key, val := range *in { |
| 4602 | (*out)[key] = val.DeepCopy() |
| 4603 | } |
| 4604 | } |
| 4605 | if in.Requests != nil { |
| 4606 | in, out := &in.Requests, &out.Requests |
| 4607 | *out = make(ResourceList, len(*in)) |
| 4608 | for key, val := range *in { |
| 4609 | (*out)[key] = val.DeepCopy() |
| 4610 | } |
| 4611 | } |
| 4612 | return |
| 4613 | } |
| 4614 | |
| 4615 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements. |
| 4616 | func (in *ResourceRequirements) DeepCopy() *ResourceRequirements { |
| 4617 | if in == nil { |
| 4618 | return nil |
| 4619 | } |
| 4620 | out := new(ResourceRequirements) |
| 4621 | in.DeepCopyInto(out) |
| 4622 | return out |
| 4623 | } |
| 4624 | |
| 4625 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4626 | func (in *SELinuxOptions) DeepCopyInto(out *SELinuxOptions) { |
| 4627 | *out = *in |
| 4628 | return |
| 4629 | } |
| 4630 | |
| 4631 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxOptions. |
| 4632 | func (in *SELinuxOptions) DeepCopy() *SELinuxOptions { |
| 4633 | if in == nil { |
| 4634 | return nil |
| 4635 | } |
| 4636 | out := new(SELinuxOptions) |
| 4637 | in.DeepCopyInto(out) |
| 4638 | return out |
| 4639 | } |
| 4640 | |
| 4641 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4642 | func (in *ScaleIOPersistentVolumeSource) DeepCopyInto(out *ScaleIOPersistentVolumeSource) { |
| 4643 | *out = *in |
| 4644 | if in.SecretRef != nil { |
| 4645 | in, out := &in.SecretRef, &out.SecretRef |
| 4646 | *out = new(SecretReference) |
| 4647 | **out = **in |
| 4648 | } |
| 4649 | return |
| 4650 | } |
| 4651 | |
| 4652 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOPersistentVolumeSource. |
| 4653 | func (in *ScaleIOPersistentVolumeSource) DeepCopy() *ScaleIOPersistentVolumeSource { |
| 4654 | if in == nil { |
| 4655 | return nil |
| 4656 | } |
| 4657 | out := new(ScaleIOPersistentVolumeSource) |
| 4658 | in.DeepCopyInto(out) |
| 4659 | return out |
| 4660 | } |
| 4661 | |
| 4662 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4663 | func (in *ScaleIOVolumeSource) DeepCopyInto(out *ScaleIOVolumeSource) { |
| 4664 | *out = *in |
| 4665 | if in.SecretRef != nil { |
| 4666 | in, out := &in.SecretRef, &out.SecretRef |
| 4667 | *out = new(LocalObjectReference) |
| 4668 | **out = **in |
| 4669 | } |
| 4670 | return |
| 4671 | } |
| 4672 | |
| 4673 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleIOVolumeSource. |
| 4674 | func (in *ScaleIOVolumeSource) DeepCopy() *ScaleIOVolumeSource { |
| 4675 | if in == nil { |
| 4676 | return nil |
| 4677 | } |
| 4678 | out := new(ScaleIOVolumeSource) |
| 4679 | in.DeepCopyInto(out) |
| 4680 | return out |
| 4681 | } |
| 4682 | |
| 4683 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4684 | func (in *ScopeSelector) DeepCopyInto(out *ScopeSelector) { |
| 4685 | *out = *in |
| 4686 | if in.MatchExpressions != nil { |
| 4687 | in, out := &in.MatchExpressions, &out.MatchExpressions |
| 4688 | *out = make([]ScopedResourceSelectorRequirement, len(*in)) |
| 4689 | for i := range *in { |
| 4690 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 4691 | } |
| 4692 | } |
| 4693 | return |
| 4694 | } |
| 4695 | |
| 4696 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeSelector. |
| 4697 | func (in *ScopeSelector) DeepCopy() *ScopeSelector { |
| 4698 | if in == nil { |
| 4699 | return nil |
| 4700 | } |
| 4701 | out := new(ScopeSelector) |
| 4702 | in.DeepCopyInto(out) |
| 4703 | return out |
| 4704 | } |
| 4705 | |
| 4706 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4707 | func (in *ScopedResourceSelectorRequirement) DeepCopyInto(out *ScopedResourceSelectorRequirement) { |
| 4708 | *out = *in |
| 4709 | if in.Values != nil { |
| 4710 | in, out := &in.Values, &out.Values |
| 4711 | *out = make([]string, len(*in)) |
| 4712 | copy(*out, *in) |
| 4713 | } |
| 4714 | return |
| 4715 | } |
| 4716 | |
| 4717 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopedResourceSelectorRequirement. |
| 4718 | func (in *ScopedResourceSelectorRequirement) DeepCopy() *ScopedResourceSelectorRequirement { |
| 4719 | if in == nil { |
| 4720 | return nil |
| 4721 | } |
| 4722 | out := new(ScopedResourceSelectorRequirement) |
| 4723 | in.DeepCopyInto(out) |
| 4724 | return out |
| 4725 | } |
| 4726 | |
| 4727 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4728 | func (in *SeccompProfile) DeepCopyInto(out *SeccompProfile) { |
| 4729 | *out = *in |
| 4730 | if in.LocalhostProfile != nil { |
| 4731 | in, out := &in.LocalhostProfile, &out.LocalhostProfile |
| 4732 | *out = new(string) |
| 4733 | **out = **in |
| 4734 | } |
| 4735 | return |
| 4736 | } |
| 4737 | |
| 4738 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeccompProfile. |
| 4739 | func (in *SeccompProfile) DeepCopy() *SeccompProfile { |
| 4740 | if in == nil { |
| 4741 | return nil |
| 4742 | } |
| 4743 | out := new(SeccompProfile) |
| 4744 | in.DeepCopyInto(out) |
| 4745 | return out |
| 4746 | } |
| 4747 | |
| 4748 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4749 | func (in *Secret) DeepCopyInto(out *Secret) { |
| 4750 | *out = *in |
| 4751 | out.TypeMeta = in.TypeMeta |
| 4752 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 4753 | if in.Immutable != nil { |
| 4754 | in, out := &in.Immutable, &out.Immutable |
| 4755 | *out = new(bool) |
| 4756 | **out = **in |
| 4757 | } |
| 4758 | if in.Data != nil { |
| 4759 | in, out := &in.Data, &out.Data |
| 4760 | *out = make(map[string][]byte, len(*in)) |
| 4761 | for key, val := range *in { |
| 4762 | var outVal []byte |
| 4763 | if val == nil { |
| 4764 | (*out)[key] = nil |
| 4765 | } else { |
| 4766 | in, out := &val, &outVal |
| 4767 | *out = make([]byte, len(*in)) |
| 4768 | copy(*out, *in) |
| 4769 | } |
| 4770 | (*out)[key] = outVal |
| 4771 | } |
| 4772 | } |
| 4773 | if in.StringData != nil { |
| 4774 | in, out := &in.StringData, &out.StringData |
| 4775 | *out = make(map[string]string, len(*in)) |
| 4776 | for key, val := range *in { |
| 4777 | (*out)[key] = val |
| 4778 | } |
| 4779 | } |
| 4780 | return |
| 4781 | } |
| 4782 | |
| 4783 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret. |
| 4784 | func (in *Secret) DeepCopy() *Secret { |
| 4785 | if in == nil { |
| 4786 | return nil |
| 4787 | } |
| 4788 | out := new(Secret) |
| 4789 | in.DeepCopyInto(out) |
| 4790 | return out |
| 4791 | } |
| 4792 | |
| 4793 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 4794 | func (in *Secret) DeepCopyObject() runtime.Object { |
| 4795 | if c := in.DeepCopy(); c != nil { |
| 4796 | return c |
| 4797 | } |
| 4798 | return nil |
| 4799 | } |
| 4800 | |
| 4801 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4802 | func (in *SecretEnvSource) DeepCopyInto(out *SecretEnvSource) { |
| 4803 | *out = *in |
| 4804 | out.LocalObjectReference = in.LocalObjectReference |
| 4805 | if in.Optional != nil { |
| 4806 | in, out := &in.Optional, &out.Optional |
| 4807 | *out = new(bool) |
| 4808 | **out = **in |
| 4809 | } |
| 4810 | return |
| 4811 | } |
| 4812 | |
| 4813 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretEnvSource. |
| 4814 | func (in *SecretEnvSource) DeepCopy() *SecretEnvSource { |
| 4815 | if in == nil { |
| 4816 | return nil |
| 4817 | } |
| 4818 | out := new(SecretEnvSource) |
| 4819 | in.DeepCopyInto(out) |
| 4820 | return out |
| 4821 | } |
| 4822 | |
| 4823 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4824 | func (in *SecretKeySelector) DeepCopyInto(out *SecretKeySelector) { |
| 4825 | *out = *in |
| 4826 | out.LocalObjectReference = in.LocalObjectReference |
| 4827 | if in.Optional != nil { |
| 4828 | in, out := &in.Optional, &out.Optional |
| 4829 | *out = new(bool) |
| 4830 | **out = **in |
| 4831 | } |
| 4832 | return |
| 4833 | } |
| 4834 | |
| 4835 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeySelector. |
| 4836 | func (in *SecretKeySelector) DeepCopy() *SecretKeySelector { |
| 4837 | if in == nil { |
| 4838 | return nil |
| 4839 | } |
| 4840 | out := new(SecretKeySelector) |
| 4841 | in.DeepCopyInto(out) |
| 4842 | return out |
| 4843 | } |
| 4844 | |
| 4845 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4846 | func (in *SecretList) DeepCopyInto(out *SecretList) { |
| 4847 | *out = *in |
| 4848 | out.TypeMeta = in.TypeMeta |
| 4849 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 4850 | if in.Items != nil { |
| 4851 | in, out := &in.Items, &out.Items |
| 4852 | *out = make([]Secret, len(*in)) |
| 4853 | for i := range *in { |
| 4854 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 4855 | } |
| 4856 | } |
| 4857 | return |
| 4858 | } |
| 4859 | |
| 4860 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList. |
| 4861 | func (in *SecretList) DeepCopy() *SecretList { |
| 4862 | if in == nil { |
| 4863 | return nil |
| 4864 | } |
| 4865 | out := new(SecretList) |
| 4866 | in.DeepCopyInto(out) |
| 4867 | return out |
| 4868 | } |
| 4869 | |
| 4870 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 4871 | func (in *SecretList) DeepCopyObject() runtime.Object { |
| 4872 | if c := in.DeepCopy(); c != nil { |
| 4873 | return c |
| 4874 | } |
| 4875 | return nil |
| 4876 | } |
| 4877 | |
| 4878 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4879 | func (in *SecretProjection) DeepCopyInto(out *SecretProjection) { |
| 4880 | *out = *in |
| 4881 | out.LocalObjectReference = in.LocalObjectReference |
| 4882 | if in.Items != nil { |
| 4883 | in, out := &in.Items, &out.Items |
| 4884 | *out = make([]KeyToPath, len(*in)) |
| 4885 | for i := range *in { |
| 4886 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 4887 | } |
| 4888 | } |
| 4889 | if in.Optional != nil { |
| 4890 | in, out := &in.Optional, &out.Optional |
| 4891 | *out = new(bool) |
| 4892 | **out = **in |
| 4893 | } |
| 4894 | return |
| 4895 | } |
| 4896 | |
| 4897 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretProjection. |
| 4898 | func (in *SecretProjection) DeepCopy() *SecretProjection { |
| 4899 | if in == nil { |
| 4900 | return nil |
| 4901 | } |
| 4902 | out := new(SecretProjection) |
| 4903 | in.DeepCopyInto(out) |
| 4904 | return out |
| 4905 | } |
| 4906 | |
| 4907 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4908 | func (in *SecretReference) DeepCopyInto(out *SecretReference) { |
| 4909 | *out = *in |
| 4910 | return |
| 4911 | } |
| 4912 | |
| 4913 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference. |
| 4914 | func (in *SecretReference) DeepCopy() *SecretReference { |
| 4915 | if in == nil { |
| 4916 | return nil |
| 4917 | } |
| 4918 | out := new(SecretReference) |
| 4919 | in.DeepCopyInto(out) |
| 4920 | return out |
| 4921 | } |
| 4922 | |
| 4923 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4924 | func (in *SecretVolumeSource) DeepCopyInto(out *SecretVolumeSource) { |
| 4925 | *out = *in |
| 4926 | if in.Items != nil { |
| 4927 | in, out := &in.Items, &out.Items |
| 4928 | *out = make([]KeyToPath, len(*in)) |
| 4929 | for i := range *in { |
| 4930 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 4931 | } |
| 4932 | } |
| 4933 | if in.DefaultMode != nil { |
| 4934 | in, out := &in.DefaultMode, &out.DefaultMode |
| 4935 | *out = new(int32) |
| 4936 | **out = **in |
| 4937 | } |
| 4938 | if in.Optional != nil { |
| 4939 | in, out := &in.Optional, &out.Optional |
| 4940 | *out = new(bool) |
| 4941 | **out = **in |
| 4942 | } |
| 4943 | return |
| 4944 | } |
| 4945 | |
| 4946 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretVolumeSource. |
| 4947 | func (in *SecretVolumeSource) DeepCopy() *SecretVolumeSource { |
| 4948 | if in == nil { |
| 4949 | return nil |
| 4950 | } |
| 4951 | out := new(SecretVolumeSource) |
| 4952 | in.DeepCopyInto(out) |
| 4953 | return out |
| 4954 | } |
| 4955 | |
| 4956 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 4957 | func (in *SecurityContext) DeepCopyInto(out *SecurityContext) { |
| 4958 | *out = *in |
| 4959 | if in.Capabilities != nil { |
| 4960 | in, out := &in.Capabilities, &out.Capabilities |
| 4961 | *out = new(Capabilities) |
| 4962 | (*in).DeepCopyInto(*out) |
| 4963 | } |
| 4964 | if in.Privileged != nil { |
| 4965 | in, out := &in.Privileged, &out.Privileged |
| 4966 | *out = new(bool) |
| 4967 | **out = **in |
| 4968 | } |
| 4969 | if in.SELinuxOptions != nil { |
| 4970 | in, out := &in.SELinuxOptions, &out.SELinuxOptions |
| 4971 | *out = new(SELinuxOptions) |
| 4972 | **out = **in |
| 4973 | } |
| 4974 | if in.WindowsOptions != nil { |
| 4975 | in, out := &in.WindowsOptions, &out.WindowsOptions |
| 4976 | *out = new(WindowsSecurityContextOptions) |
| 4977 | (*in).DeepCopyInto(*out) |
| 4978 | } |
| 4979 | if in.RunAsUser != nil { |
| 4980 | in, out := &in.RunAsUser, &out.RunAsUser |
| 4981 | *out = new(int64) |
| 4982 | **out = **in |
| 4983 | } |
| 4984 | if in.RunAsGroup != nil { |
| 4985 | in, out := &in.RunAsGroup, &out.RunAsGroup |
| 4986 | *out = new(int64) |
| 4987 | **out = **in |
| 4988 | } |
| 4989 | if in.RunAsNonRoot != nil { |
| 4990 | in, out := &in.RunAsNonRoot, &out.RunAsNonRoot |
| 4991 | *out = new(bool) |
| 4992 | **out = **in |
| 4993 | } |
| 4994 | if in.ReadOnlyRootFilesystem != nil { |
| 4995 | in, out := &in.ReadOnlyRootFilesystem, &out.ReadOnlyRootFilesystem |
| 4996 | *out = new(bool) |
| 4997 | **out = **in |
| 4998 | } |
| 4999 | if in.AllowPrivilegeEscalation != nil { |
| 5000 | in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation |
| 5001 | *out = new(bool) |
| 5002 | **out = **in |
| 5003 | } |
| 5004 | if in.ProcMount != nil { |
| 5005 | in, out := &in.ProcMount, &out.ProcMount |
| 5006 | *out = new(ProcMountType) |
| 5007 | **out = **in |
| 5008 | } |
| 5009 | if in.SeccompProfile != nil { |
| 5010 | in, out := &in.SeccompProfile, &out.SeccompProfile |
| 5011 | *out = new(SeccompProfile) |
| 5012 | (*in).DeepCopyInto(*out) |
| 5013 | } |
| 5014 | return |
| 5015 | } |
| 5016 | |
| 5017 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityContext. |
| 5018 | func (in *SecurityContext) DeepCopy() *SecurityContext { |
| 5019 | if in == nil { |
| 5020 | return nil |
| 5021 | } |
| 5022 | out := new(SecurityContext) |
| 5023 | in.DeepCopyInto(out) |
| 5024 | return out |
| 5025 | } |
| 5026 | |
| 5027 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5028 | func (in *SerializedReference) DeepCopyInto(out *SerializedReference) { |
| 5029 | *out = *in |
| 5030 | out.TypeMeta = in.TypeMeta |
| 5031 | out.Reference = in.Reference |
| 5032 | return |
| 5033 | } |
| 5034 | |
| 5035 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SerializedReference. |
| 5036 | func (in *SerializedReference) DeepCopy() *SerializedReference { |
| 5037 | if in == nil { |
| 5038 | return nil |
| 5039 | } |
| 5040 | out := new(SerializedReference) |
| 5041 | in.DeepCopyInto(out) |
| 5042 | return out |
| 5043 | } |
| 5044 | |
| 5045 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 5046 | func (in *SerializedReference) DeepCopyObject() runtime.Object { |
| 5047 | if c := in.DeepCopy(); c != nil { |
| 5048 | return c |
| 5049 | } |
| 5050 | return nil |
| 5051 | } |
| 5052 | |
| 5053 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5054 | func (in *Service) DeepCopyInto(out *Service) { |
| 5055 | *out = *in |
| 5056 | out.TypeMeta = in.TypeMeta |
| 5057 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 5058 | in.Spec.DeepCopyInto(&out.Spec) |
| 5059 | in.Status.DeepCopyInto(&out.Status) |
| 5060 | return |
| 5061 | } |
| 5062 | |
| 5063 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service. |
| 5064 | func (in *Service) DeepCopy() *Service { |
| 5065 | if in == nil { |
| 5066 | return nil |
| 5067 | } |
| 5068 | out := new(Service) |
| 5069 | in.DeepCopyInto(out) |
| 5070 | return out |
| 5071 | } |
| 5072 | |
| 5073 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 5074 | func (in *Service) DeepCopyObject() runtime.Object { |
| 5075 | if c := in.DeepCopy(); c != nil { |
| 5076 | return c |
| 5077 | } |
| 5078 | return nil |
| 5079 | } |
| 5080 | |
| 5081 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5082 | func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount) { |
| 5083 | *out = *in |
| 5084 | out.TypeMeta = in.TypeMeta |
| 5085 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 5086 | if in.Secrets != nil { |
| 5087 | in, out := &in.Secrets, &out.Secrets |
| 5088 | *out = make([]ObjectReference, len(*in)) |
| 5089 | copy(*out, *in) |
| 5090 | } |
| 5091 | if in.ImagePullSecrets != nil { |
| 5092 | in, out := &in.ImagePullSecrets, &out.ImagePullSecrets |
| 5093 | *out = make([]LocalObjectReference, len(*in)) |
| 5094 | copy(*out, *in) |
| 5095 | } |
| 5096 | if in.AutomountServiceAccountToken != nil { |
| 5097 | in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken |
| 5098 | *out = new(bool) |
| 5099 | **out = **in |
| 5100 | } |
| 5101 | return |
| 5102 | } |
| 5103 | |
| 5104 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount. |
| 5105 | func (in *ServiceAccount) DeepCopy() *ServiceAccount { |
| 5106 | if in == nil { |
| 5107 | return nil |
| 5108 | } |
| 5109 | out := new(ServiceAccount) |
| 5110 | in.DeepCopyInto(out) |
| 5111 | return out |
| 5112 | } |
| 5113 | |
| 5114 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 5115 | func (in *ServiceAccount) DeepCopyObject() runtime.Object { |
| 5116 | if c := in.DeepCopy(); c != nil { |
| 5117 | return c |
| 5118 | } |
| 5119 | return nil |
| 5120 | } |
| 5121 | |
| 5122 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5123 | func (in *ServiceAccountList) DeepCopyInto(out *ServiceAccountList) { |
| 5124 | *out = *in |
| 5125 | out.TypeMeta = in.TypeMeta |
| 5126 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 5127 | if in.Items != nil { |
| 5128 | in, out := &in.Items, &out.Items |
| 5129 | *out = make([]ServiceAccount, len(*in)) |
| 5130 | for i := range *in { |
| 5131 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 5132 | } |
| 5133 | } |
| 5134 | return |
| 5135 | } |
| 5136 | |
| 5137 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountList. |
| 5138 | func (in *ServiceAccountList) DeepCopy() *ServiceAccountList { |
| 5139 | if in == nil { |
| 5140 | return nil |
| 5141 | } |
| 5142 | out := new(ServiceAccountList) |
| 5143 | in.DeepCopyInto(out) |
| 5144 | return out |
| 5145 | } |
| 5146 | |
| 5147 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 5148 | func (in *ServiceAccountList) DeepCopyObject() runtime.Object { |
| 5149 | if c := in.DeepCopy(); c != nil { |
| 5150 | return c |
| 5151 | } |
| 5152 | return nil |
| 5153 | } |
| 5154 | |
| 5155 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5156 | func (in *ServiceAccountTokenProjection) DeepCopyInto(out *ServiceAccountTokenProjection) { |
| 5157 | *out = *in |
| 5158 | if in.ExpirationSeconds != nil { |
| 5159 | in, out := &in.ExpirationSeconds, &out.ExpirationSeconds |
| 5160 | *out = new(int64) |
| 5161 | **out = **in |
| 5162 | } |
| 5163 | return |
| 5164 | } |
| 5165 | |
| 5166 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountTokenProjection. |
| 5167 | func (in *ServiceAccountTokenProjection) DeepCopy() *ServiceAccountTokenProjection { |
| 5168 | if in == nil { |
| 5169 | return nil |
| 5170 | } |
| 5171 | out := new(ServiceAccountTokenProjection) |
| 5172 | in.DeepCopyInto(out) |
| 5173 | return out |
| 5174 | } |
| 5175 | |
| 5176 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5177 | func (in *ServiceList) DeepCopyInto(out *ServiceList) { |
| 5178 | *out = *in |
| 5179 | out.TypeMeta = in.TypeMeta |
| 5180 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 5181 | if in.Items != nil { |
| 5182 | in, out := &in.Items, &out.Items |
| 5183 | *out = make([]Service, len(*in)) |
| 5184 | for i := range *in { |
| 5185 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 5186 | } |
| 5187 | } |
| 5188 | return |
| 5189 | } |
| 5190 | |
| 5191 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList. |
| 5192 | func (in *ServiceList) DeepCopy() *ServiceList { |
| 5193 | if in == nil { |
| 5194 | return nil |
| 5195 | } |
| 5196 | out := new(ServiceList) |
| 5197 | in.DeepCopyInto(out) |
| 5198 | return out |
| 5199 | } |
| 5200 | |
| 5201 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 5202 | func (in *ServiceList) DeepCopyObject() runtime.Object { |
| 5203 | if c := in.DeepCopy(); c != nil { |
| 5204 | return c |
| 5205 | } |
| 5206 | return nil |
| 5207 | } |
| 5208 | |
| 5209 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5210 | func (in *ServicePort) DeepCopyInto(out *ServicePort) { |
| 5211 | *out = *in |
| 5212 | if in.AppProtocol != nil { |
| 5213 | in, out := &in.AppProtocol, &out.AppProtocol |
| 5214 | *out = new(string) |
| 5215 | **out = **in |
| 5216 | } |
| 5217 | out.TargetPort = in.TargetPort |
| 5218 | return |
| 5219 | } |
| 5220 | |
| 5221 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServicePort. |
| 5222 | func (in *ServicePort) DeepCopy() *ServicePort { |
| 5223 | if in == nil { |
| 5224 | return nil |
| 5225 | } |
| 5226 | out := new(ServicePort) |
| 5227 | in.DeepCopyInto(out) |
| 5228 | return out |
| 5229 | } |
| 5230 | |
| 5231 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5232 | func (in *ServiceProxyOptions) DeepCopyInto(out *ServiceProxyOptions) { |
| 5233 | *out = *in |
| 5234 | out.TypeMeta = in.TypeMeta |
| 5235 | return |
| 5236 | } |
| 5237 | |
| 5238 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProxyOptions. |
| 5239 | func (in *ServiceProxyOptions) DeepCopy() *ServiceProxyOptions { |
| 5240 | if in == nil { |
| 5241 | return nil |
| 5242 | } |
| 5243 | out := new(ServiceProxyOptions) |
| 5244 | in.DeepCopyInto(out) |
| 5245 | return out |
| 5246 | } |
| 5247 | |
| 5248 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 5249 | func (in *ServiceProxyOptions) DeepCopyObject() runtime.Object { |
| 5250 | if c := in.DeepCopy(); c != nil { |
| 5251 | return c |
| 5252 | } |
| 5253 | return nil |
| 5254 | } |
| 5255 | |
| 5256 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5257 | func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) { |
| 5258 | *out = *in |
| 5259 | if in.Ports != nil { |
| 5260 | in, out := &in.Ports, &out.Ports |
| 5261 | *out = make([]ServicePort, len(*in)) |
| 5262 | for i := range *in { |
| 5263 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 5264 | } |
| 5265 | } |
| 5266 | if in.Selector != nil { |
| 5267 | in, out := &in.Selector, &out.Selector |
| 5268 | *out = make(map[string]string, len(*in)) |
| 5269 | for key, val := range *in { |
| 5270 | (*out)[key] = val |
| 5271 | } |
| 5272 | } |
| 5273 | if in.ExternalIPs != nil { |
| 5274 | in, out := &in.ExternalIPs, &out.ExternalIPs |
| 5275 | *out = make([]string, len(*in)) |
| 5276 | copy(*out, *in) |
| 5277 | } |
| 5278 | if in.LoadBalancerSourceRanges != nil { |
| 5279 | in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges |
| 5280 | *out = make([]string, len(*in)) |
| 5281 | copy(*out, *in) |
| 5282 | } |
| 5283 | if in.SessionAffinityConfig != nil { |
| 5284 | in, out := &in.SessionAffinityConfig, &out.SessionAffinityConfig |
| 5285 | *out = new(SessionAffinityConfig) |
| 5286 | (*in).DeepCopyInto(*out) |
| 5287 | } |
| 5288 | if in.IPFamily != nil { |
| 5289 | in, out := &in.IPFamily, &out.IPFamily |
| 5290 | *out = new(IPFamily) |
| 5291 | **out = **in |
| 5292 | } |
| 5293 | if in.TopologyKeys != nil { |
| 5294 | in, out := &in.TopologyKeys, &out.TopologyKeys |
| 5295 | *out = make([]string, len(*in)) |
| 5296 | copy(*out, *in) |
| 5297 | } |
| 5298 | return |
| 5299 | } |
| 5300 | |
| 5301 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec. |
| 5302 | func (in *ServiceSpec) DeepCopy() *ServiceSpec { |
| 5303 | if in == nil { |
| 5304 | return nil |
| 5305 | } |
| 5306 | out := new(ServiceSpec) |
| 5307 | in.DeepCopyInto(out) |
| 5308 | return out |
| 5309 | } |
| 5310 | |
| 5311 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5312 | func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus) { |
| 5313 | *out = *in |
| 5314 | in.LoadBalancer.DeepCopyInto(&out.LoadBalancer) |
| 5315 | return |
| 5316 | } |
| 5317 | |
| 5318 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus. |
| 5319 | func (in *ServiceStatus) DeepCopy() *ServiceStatus { |
| 5320 | if in == nil { |
| 5321 | return nil |
| 5322 | } |
| 5323 | out := new(ServiceStatus) |
| 5324 | in.DeepCopyInto(out) |
| 5325 | return out |
| 5326 | } |
| 5327 | |
| 5328 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5329 | func (in *SessionAffinityConfig) DeepCopyInto(out *SessionAffinityConfig) { |
| 5330 | *out = *in |
| 5331 | if in.ClientIP != nil { |
| 5332 | in, out := &in.ClientIP, &out.ClientIP |
| 5333 | *out = new(ClientIPConfig) |
| 5334 | (*in).DeepCopyInto(*out) |
| 5335 | } |
| 5336 | return |
| 5337 | } |
| 5338 | |
| 5339 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionAffinityConfig. |
| 5340 | func (in *SessionAffinityConfig) DeepCopy() *SessionAffinityConfig { |
| 5341 | if in == nil { |
| 5342 | return nil |
| 5343 | } |
| 5344 | out := new(SessionAffinityConfig) |
| 5345 | in.DeepCopyInto(out) |
| 5346 | return out |
| 5347 | } |
| 5348 | |
| 5349 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5350 | func (in *StorageOSPersistentVolumeSource) DeepCopyInto(out *StorageOSPersistentVolumeSource) { |
| 5351 | *out = *in |
| 5352 | if in.SecretRef != nil { |
| 5353 | in, out := &in.SecretRef, &out.SecretRef |
| 5354 | *out = new(ObjectReference) |
| 5355 | **out = **in |
| 5356 | } |
| 5357 | return |
| 5358 | } |
| 5359 | |
| 5360 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSPersistentVolumeSource. |
| 5361 | func (in *StorageOSPersistentVolumeSource) DeepCopy() *StorageOSPersistentVolumeSource { |
| 5362 | if in == nil { |
| 5363 | return nil |
| 5364 | } |
| 5365 | out := new(StorageOSPersistentVolumeSource) |
| 5366 | in.DeepCopyInto(out) |
| 5367 | return out |
| 5368 | } |
| 5369 | |
| 5370 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5371 | func (in *StorageOSVolumeSource) DeepCopyInto(out *StorageOSVolumeSource) { |
| 5372 | *out = *in |
| 5373 | if in.SecretRef != nil { |
| 5374 | in, out := &in.SecretRef, &out.SecretRef |
| 5375 | *out = new(LocalObjectReference) |
| 5376 | **out = **in |
| 5377 | } |
| 5378 | return |
| 5379 | } |
| 5380 | |
| 5381 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageOSVolumeSource. |
| 5382 | func (in *StorageOSVolumeSource) DeepCopy() *StorageOSVolumeSource { |
| 5383 | if in == nil { |
| 5384 | return nil |
| 5385 | } |
| 5386 | out := new(StorageOSVolumeSource) |
| 5387 | in.DeepCopyInto(out) |
| 5388 | return out |
| 5389 | } |
| 5390 | |
| 5391 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5392 | func (in *Sysctl) DeepCopyInto(out *Sysctl) { |
| 5393 | *out = *in |
| 5394 | return |
| 5395 | } |
| 5396 | |
| 5397 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sysctl. |
| 5398 | func (in *Sysctl) DeepCopy() *Sysctl { |
| 5399 | if in == nil { |
| 5400 | return nil |
| 5401 | } |
| 5402 | out := new(Sysctl) |
| 5403 | in.DeepCopyInto(out) |
| 5404 | return out |
| 5405 | } |
| 5406 | |
| 5407 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5408 | func (in *TCPSocketAction) DeepCopyInto(out *TCPSocketAction) { |
| 5409 | *out = *in |
| 5410 | out.Port = in.Port |
| 5411 | return |
| 5412 | } |
| 5413 | |
| 5414 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPSocketAction. |
| 5415 | func (in *TCPSocketAction) DeepCopy() *TCPSocketAction { |
| 5416 | if in == nil { |
| 5417 | return nil |
| 5418 | } |
| 5419 | out := new(TCPSocketAction) |
| 5420 | in.DeepCopyInto(out) |
| 5421 | return out |
| 5422 | } |
| 5423 | |
| 5424 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5425 | func (in *Taint) DeepCopyInto(out *Taint) { |
| 5426 | *out = *in |
| 5427 | if in.TimeAdded != nil { |
| 5428 | in, out := &in.TimeAdded, &out.TimeAdded |
| 5429 | *out = (*in).DeepCopy() |
| 5430 | } |
| 5431 | return |
| 5432 | } |
| 5433 | |
| 5434 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint. |
| 5435 | func (in *Taint) DeepCopy() *Taint { |
| 5436 | if in == nil { |
| 5437 | return nil |
| 5438 | } |
| 5439 | out := new(Taint) |
| 5440 | in.DeepCopyInto(out) |
| 5441 | return out |
| 5442 | } |
| 5443 | |
| 5444 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5445 | func (in *Toleration) DeepCopyInto(out *Toleration) { |
| 5446 | *out = *in |
| 5447 | if in.TolerationSeconds != nil { |
| 5448 | in, out := &in.TolerationSeconds, &out.TolerationSeconds |
| 5449 | *out = new(int64) |
| 5450 | **out = **in |
| 5451 | } |
| 5452 | return |
| 5453 | } |
| 5454 | |
| 5455 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Toleration. |
| 5456 | func (in *Toleration) DeepCopy() *Toleration { |
| 5457 | if in == nil { |
| 5458 | return nil |
| 5459 | } |
| 5460 | out := new(Toleration) |
| 5461 | in.DeepCopyInto(out) |
| 5462 | return out |
| 5463 | } |
| 5464 | |
| 5465 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5466 | func (in *TopologySelectorLabelRequirement) DeepCopyInto(out *TopologySelectorLabelRequirement) { |
| 5467 | *out = *in |
| 5468 | if in.Values != nil { |
| 5469 | in, out := &in.Values, &out.Values |
| 5470 | *out = make([]string, len(*in)) |
| 5471 | copy(*out, *in) |
| 5472 | } |
| 5473 | return |
| 5474 | } |
| 5475 | |
| 5476 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySelectorLabelRequirement. |
| 5477 | func (in *TopologySelectorLabelRequirement) DeepCopy() *TopologySelectorLabelRequirement { |
| 5478 | if in == nil { |
| 5479 | return nil |
| 5480 | } |
| 5481 | out := new(TopologySelectorLabelRequirement) |
| 5482 | in.DeepCopyInto(out) |
| 5483 | return out |
| 5484 | } |
| 5485 | |
| 5486 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5487 | func (in *TopologySelectorTerm) DeepCopyInto(out *TopologySelectorTerm) { |
| 5488 | *out = *in |
| 5489 | if in.MatchLabelExpressions != nil { |
| 5490 | in, out := &in.MatchLabelExpressions, &out.MatchLabelExpressions |
| 5491 | *out = make([]TopologySelectorLabelRequirement, len(*in)) |
| 5492 | for i := range *in { |
| 5493 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 5494 | } |
| 5495 | } |
| 5496 | return |
| 5497 | } |
| 5498 | |
| 5499 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySelectorTerm. |
| 5500 | func (in *TopologySelectorTerm) DeepCopy() *TopologySelectorTerm { |
| 5501 | if in == nil { |
| 5502 | return nil |
| 5503 | } |
| 5504 | out := new(TopologySelectorTerm) |
| 5505 | in.DeepCopyInto(out) |
| 5506 | return out |
| 5507 | } |
| 5508 | |
| 5509 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5510 | func (in *TopologySpreadConstraint) DeepCopyInto(out *TopologySpreadConstraint) { |
| 5511 | *out = *in |
| 5512 | if in.LabelSelector != nil { |
| 5513 | in, out := &in.LabelSelector, &out.LabelSelector |
| 5514 | *out = new(metav1.LabelSelector) |
| 5515 | (*in).DeepCopyInto(*out) |
| 5516 | } |
| 5517 | return |
| 5518 | } |
| 5519 | |
| 5520 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TopologySpreadConstraint. |
| 5521 | func (in *TopologySpreadConstraint) DeepCopy() *TopologySpreadConstraint { |
| 5522 | if in == nil { |
| 5523 | return nil |
| 5524 | } |
| 5525 | out := new(TopologySpreadConstraint) |
| 5526 | in.DeepCopyInto(out) |
| 5527 | return out |
| 5528 | } |
| 5529 | |
| 5530 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5531 | func (in *TypedLocalObjectReference) DeepCopyInto(out *TypedLocalObjectReference) { |
| 5532 | *out = *in |
| 5533 | if in.APIGroup != nil { |
| 5534 | in, out := &in.APIGroup, &out.APIGroup |
| 5535 | *out = new(string) |
| 5536 | **out = **in |
| 5537 | } |
| 5538 | return |
| 5539 | } |
| 5540 | |
| 5541 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TypedLocalObjectReference. |
| 5542 | func (in *TypedLocalObjectReference) DeepCopy() *TypedLocalObjectReference { |
| 5543 | if in == nil { |
| 5544 | return nil |
| 5545 | } |
| 5546 | out := new(TypedLocalObjectReference) |
| 5547 | in.DeepCopyInto(out) |
| 5548 | return out |
| 5549 | } |
| 5550 | |
| 5551 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5552 | func (in *Volume) DeepCopyInto(out *Volume) { |
| 5553 | *out = *in |
| 5554 | in.VolumeSource.DeepCopyInto(&out.VolumeSource) |
| 5555 | return |
| 5556 | } |
| 5557 | |
| 5558 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume. |
| 5559 | func (in *Volume) DeepCopy() *Volume { |
| 5560 | if in == nil { |
| 5561 | return nil |
| 5562 | } |
| 5563 | out := new(Volume) |
| 5564 | in.DeepCopyInto(out) |
| 5565 | return out |
| 5566 | } |
| 5567 | |
| 5568 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5569 | func (in *VolumeDevice) DeepCopyInto(out *VolumeDevice) { |
| 5570 | *out = *in |
| 5571 | return |
| 5572 | } |
| 5573 | |
| 5574 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeDevice. |
| 5575 | func (in *VolumeDevice) DeepCopy() *VolumeDevice { |
| 5576 | if in == nil { |
| 5577 | return nil |
| 5578 | } |
| 5579 | out := new(VolumeDevice) |
| 5580 | in.DeepCopyInto(out) |
| 5581 | return out |
| 5582 | } |
| 5583 | |
| 5584 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5585 | func (in *VolumeMount) DeepCopyInto(out *VolumeMount) { |
| 5586 | *out = *in |
| 5587 | if in.MountPropagation != nil { |
| 5588 | in, out := &in.MountPropagation, &out.MountPropagation |
| 5589 | *out = new(MountPropagationMode) |
| 5590 | **out = **in |
| 5591 | } |
| 5592 | return |
| 5593 | } |
| 5594 | |
| 5595 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMount. |
| 5596 | func (in *VolumeMount) DeepCopy() *VolumeMount { |
| 5597 | if in == nil { |
| 5598 | return nil |
| 5599 | } |
| 5600 | out := new(VolumeMount) |
| 5601 | in.DeepCopyInto(out) |
| 5602 | return out |
| 5603 | } |
| 5604 | |
| 5605 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5606 | func (in *VolumeNodeAffinity) DeepCopyInto(out *VolumeNodeAffinity) { |
| 5607 | *out = *in |
| 5608 | if in.Required != nil { |
| 5609 | in, out := &in.Required, &out.Required |
| 5610 | *out = new(NodeSelector) |
| 5611 | (*in).DeepCopyInto(*out) |
| 5612 | } |
| 5613 | return |
| 5614 | } |
| 5615 | |
| 5616 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeNodeAffinity. |
| 5617 | func (in *VolumeNodeAffinity) DeepCopy() *VolumeNodeAffinity { |
| 5618 | if in == nil { |
| 5619 | return nil |
| 5620 | } |
| 5621 | out := new(VolumeNodeAffinity) |
| 5622 | in.DeepCopyInto(out) |
| 5623 | return out |
| 5624 | } |
| 5625 | |
| 5626 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5627 | func (in *VolumeProjection) DeepCopyInto(out *VolumeProjection) { |
| 5628 | *out = *in |
| 5629 | if in.Secret != nil { |
| 5630 | in, out := &in.Secret, &out.Secret |
| 5631 | *out = new(SecretProjection) |
| 5632 | (*in).DeepCopyInto(*out) |
| 5633 | } |
| 5634 | if in.DownwardAPI != nil { |
| 5635 | in, out := &in.DownwardAPI, &out.DownwardAPI |
| 5636 | *out = new(DownwardAPIProjection) |
| 5637 | (*in).DeepCopyInto(*out) |
| 5638 | } |
| 5639 | if in.ConfigMap != nil { |
| 5640 | in, out := &in.ConfigMap, &out.ConfigMap |
| 5641 | *out = new(ConfigMapProjection) |
| 5642 | (*in).DeepCopyInto(*out) |
| 5643 | } |
| 5644 | if in.ServiceAccountToken != nil { |
| 5645 | in, out := &in.ServiceAccountToken, &out.ServiceAccountToken |
| 5646 | *out = new(ServiceAccountTokenProjection) |
| 5647 | (*in).DeepCopyInto(*out) |
| 5648 | } |
| 5649 | return |
| 5650 | } |
| 5651 | |
| 5652 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeProjection. |
| 5653 | func (in *VolumeProjection) DeepCopy() *VolumeProjection { |
| 5654 | if in == nil { |
| 5655 | return nil |
| 5656 | } |
| 5657 | out := new(VolumeProjection) |
| 5658 | in.DeepCopyInto(out) |
| 5659 | return out |
| 5660 | } |
| 5661 | |
| 5662 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5663 | func (in *VolumeSource) DeepCopyInto(out *VolumeSource) { |
| 5664 | *out = *in |
| 5665 | if in.HostPath != nil { |
| 5666 | in, out := &in.HostPath, &out.HostPath |
| 5667 | *out = new(HostPathVolumeSource) |
| 5668 | (*in).DeepCopyInto(*out) |
| 5669 | } |
| 5670 | if in.EmptyDir != nil { |
| 5671 | in, out := &in.EmptyDir, &out.EmptyDir |
| 5672 | *out = new(EmptyDirVolumeSource) |
| 5673 | (*in).DeepCopyInto(*out) |
| 5674 | } |
| 5675 | if in.GCEPersistentDisk != nil { |
| 5676 | in, out := &in.GCEPersistentDisk, &out.GCEPersistentDisk |
| 5677 | *out = new(GCEPersistentDiskVolumeSource) |
| 5678 | **out = **in |
| 5679 | } |
| 5680 | if in.AWSElasticBlockStore != nil { |
| 5681 | in, out := &in.AWSElasticBlockStore, &out.AWSElasticBlockStore |
| 5682 | *out = new(AWSElasticBlockStoreVolumeSource) |
| 5683 | **out = **in |
| 5684 | } |
| 5685 | if in.GitRepo != nil { |
| 5686 | in, out := &in.GitRepo, &out.GitRepo |
| 5687 | *out = new(GitRepoVolumeSource) |
| 5688 | **out = **in |
| 5689 | } |
| 5690 | if in.Secret != nil { |
| 5691 | in, out := &in.Secret, &out.Secret |
| 5692 | *out = new(SecretVolumeSource) |
| 5693 | (*in).DeepCopyInto(*out) |
| 5694 | } |
| 5695 | if in.NFS != nil { |
| 5696 | in, out := &in.NFS, &out.NFS |
| 5697 | *out = new(NFSVolumeSource) |
| 5698 | **out = **in |
| 5699 | } |
| 5700 | if in.ISCSI != nil { |
| 5701 | in, out := &in.ISCSI, &out.ISCSI |
| 5702 | *out = new(ISCSIVolumeSource) |
| 5703 | (*in).DeepCopyInto(*out) |
| 5704 | } |
| 5705 | if in.Glusterfs != nil { |
| 5706 | in, out := &in.Glusterfs, &out.Glusterfs |
| 5707 | *out = new(GlusterfsVolumeSource) |
| 5708 | **out = **in |
| 5709 | } |
| 5710 | if in.PersistentVolumeClaim != nil { |
| 5711 | in, out := &in.PersistentVolumeClaim, &out.PersistentVolumeClaim |
| 5712 | *out = new(PersistentVolumeClaimVolumeSource) |
| 5713 | **out = **in |
| 5714 | } |
| 5715 | if in.RBD != nil { |
| 5716 | in, out := &in.RBD, &out.RBD |
| 5717 | *out = new(RBDVolumeSource) |
| 5718 | (*in).DeepCopyInto(*out) |
| 5719 | } |
| 5720 | if in.FlexVolume != nil { |
| 5721 | in, out := &in.FlexVolume, &out.FlexVolume |
| 5722 | *out = new(FlexVolumeSource) |
| 5723 | (*in).DeepCopyInto(*out) |
| 5724 | } |
| 5725 | if in.Cinder != nil { |
| 5726 | in, out := &in.Cinder, &out.Cinder |
| 5727 | *out = new(CinderVolumeSource) |
| 5728 | (*in).DeepCopyInto(*out) |
| 5729 | } |
| 5730 | if in.CephFS != nil { |
| 5731 | in, out := &in.CephFS, &out.CephFS |
| 5732 | *out = new(CephFSVolumeSource) |
| 5733 | (*in).DeepCopyInto(*out) |
| 5734 | } |
| 5735 | if in.Flocker != nil { |
| 5736 | in, out := &in.Flocker, &out.Flocker |
| 5737 | *out = new(FlockerVolumeSource) |
| 5738 | **out = **in |
| 5739 | } |
| 5740 | if in.DownwardAPI != nil { |
| 5741 | in, out := &in.DownwardAPI, &out.DownwardAPI |
| 5742 | *out = new(DownwardAPIVolumeSource) |
| 5743 | (*in).DeepCopyInto(*out) |
| 5744 | } |
| 5745 | if in.FC != nil { |
| 5746 | in, out := &in.FC, &out.FC |
| 5747 | *out = new(FCVolumeSource) |
| 5748 | (*in).DeepCopyInto(*out) |
| 5749 | } |
| 5750 | if in.AzureFile != nil { |
| 5751 | in, out := &in.AzureFile, &out.AzureFile |
| 5752 | *out = new(AzureFileVolumeSource) |
| 5753 | **out = **in |
| 5754 | } |
| 5755 | if in.ConfigMap != nil { |
| 5756 | in, out := &in.ConfigMap, &out.ConfigMap |
| 5757 | *out = new(ConfigMapVolumeSource) |
| 5758 | (*in).DeepCopyInto(*out) |
| 5759 | } |
| 5760 | if in.VsphereVolume != nil { |
| 5761 | in, out := &in.VsphereVolume, &out.VsphereVolume |
| 5762 | *out = new(VsphereVirtualDiskVolumeSource) |
| 5763 | **out = **in |
| 5764 | } |
| 5765 | if in.Quobyte != nil { |
| 5766 | in, out := &in.Quobyte, &out.Quobyte |
| 5767 | *out = new(QuobyteVolumeSource) |
| 5768 | **out = **in |
| 5769 | } |
| 5770 | if in.AzureDisk != nil { |
| 5771 | in, out := &in.AzureDisk, &out.AzureDisk |
| 5772 | *out = new(AzureDiskVolumeSource) |
| 5773 | (*in).DeepCopyInto(*out) |
| 5774 | } |
| 5775 | if in.PhotonPersistentDisk != nil { |
| 5776 | in, out := &in.PhotonPersistentDisk, &out.PhotonPersistentDisk |
| 5777 | *out = new(PhotonPersistentDiskVolumeSource) |
| 5778 | **out = **in |
| 5779 | } |
| 5780 | if in.Projected != nil { |
| 5781 | in, out := &in.Projected, &out.Projected |
| 5782 | *out = new(ProjectedVolumeSource) |
| 5783 | (*in).DeepCopyInto(*out) |
| 5784 | } |
| 5785 | if in.PortworxVolume != nil { |
| 5786 | in, out := &in.PortworxVolume, &out.PortworxVolume |
| 5787 | *out = new(PortworxVolumeSource) |
| 5788 | **out = **in |
| 5789 | } |
| 5790 | if in.ScaleIO != nil { |
| 5791 | in, out := &in.ScaleIO, &out.ScaleIO |
| 5792 | *out = new(ScaleIOVolumeSource) |
| 5793 | (*in).DeepCopyInto(*out) |
| 5794 | } |
| 5795 | if in.StorageOS != nil { |
| 5796 | in, out := &in.StorageOS, &out.StorageOS |
| 5797 | *out = new(StorageOSVolumeSource) |
| 5798 | (*in).DeepCopyInto(*out) |
| 5799 | } |
| 5800 | if in.CSI != nil { |
| 5801 | in, out := &in.CSI, &out.CSI |
| 5802 | *out = new(CSIVolumeSource) |
| 5803 | (*in).DeepCopyInto(*out) |
| 5804 | } |
| 5805 | if in.Ephemeral != nil { |
| 5806 | in, out := &in.Ephemeral, &out.Ephemeral |
| 5807 | *out = new(EphemeralVolumeSource) |
| 5808 | (*in).DeepCopyInto(*out) |
| 5809 | } |
| 5810 | return |
| 5811 | } |
| 5812 | |
| 5813 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSource. |
| 5814 | func (in *VolumeSource) DeepCopy() *VolumeSource { |
| 5815 | if in == nil { |
| 5816 | return nil |
| 5817 | } |
| 5818 | out := new(VolumeSource) |
| 5819 | in.DeepCopyInto(out) |
| 5820 | return out |
| 5821 | } |
| 5822 | |
| 5823 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5824 | func (in *VsphereVirtualDiskVolumeSource) DeepCopyInto(out *VsphereVirtualDiskVolumeSource) { |
| 5825 | *out = *in |
| 5826 | return |
| 5827 | } |
| 5828 | |
| 5829 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereVirtualDiskVolumeSource. |
| 5830 | func (in *VsphereVirtualDiskVolumeSource) DeepCopy() *VsphereVirtualDiskVolumeSource { |
| 5831 | if in == nil { |
| 5832 | return nil |
| 5833 | } |
| 5834 | out := new(VsphereVirtualDiskVolumeSource) |
| 5835 | in.DeepCopyInto(out) |
| 5836 | return out |
| 5837 | } |
| 5838 | |
| 5839 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5840 | func (in *WeightedPodAffinityTerm) DeepCopyInto(out *WeightedPodAffinityTerm) { |
| 5841 | *out = *in |
| 5842 | in.PodAffinityTerm.DeepCopyInto(&out.PodAffinityTerm) |
| 5843 | return |
| 5844 | } |
| 5845 | |
| 5846 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedPodAffinityTerm. |
| 5847 | func (in *WeightedPodAffinityTerm) DeepCopy() *WeightedPodAffinityTerm { |
| 5848 | if in == nil { |
| 5849 | return nil |
| 5850 | } |
| 5851 | out := new(WeightedPodAffinityTerm) |
| 5852 | in.DeepCopyInto(out) |
| 5853 | return out |
| 5854 | } |
| 5855 | |
| 5856 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 5857 | func (in *WindowsSecurityContextOptions) DeepCopyInto(out *WindowsSecurityContextOptions) { |
| 5858 | *out = *in |
| 5859 | if in.GMSACredentialSpecName != nil { |
| 5860 | in, out := &in.GMSACredentialSpecName, &out.GMSACredentialSpecName |
| 5861 | *out = new(string) |
| 5862 | **out = **in |
| 5863 | } |
| 5864 | if in.GMSACredentialSpec != nil { |
| 5865 | in, out := &in.GMSACredentialSpec, &out.GMSACredentialSpec |
| 5866 | *out = new(string) |
| 5867 | **out = **in |
| 5868 | } |
| 5869 | if in.RunAsUserName != nil { |
| 5870 | in, out := &in.RunAsUserName, &out.RunAsUserName |
| 5871 | *out = new(string) |
| 5872 | **out = **in |
| 5873 | } |
| 5874 | return |
| 5875 | } |
| 5876 | |
| 5877 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowsSecurityContextOptions. |
| 5878 | func (in *WindowsSecurityContextOptions) DeepCopy() *WindowsSecurityContextOptions { |
| 5879 | if in == nil { |
| 5880 | return nil |
| 5881 | } |
| 5882 | out := new(WindowsSecurityContextOptions) |
| 5883 | in.DeepCopyInto(out) |
| 5884 | return out |
| 5885 | } |