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