Scott Baker | e7144bc | 2019-10-01 14:16:47 -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 | runtime "k8s.io/apimachinery/pkg/runtime" |
| 25 | types "k8s.io/apimachinery/pkg/types" |
| 26 | ) |
| 27 | |
| 28 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 29 | func (in *APIGroup) DeepCopyInto(out *APIGroup) { |
| 30 | *out = *in |
| 31 | out.TypeMeta = in.TypeMeta |
| 32 | if in.Versions != nil { |
| 33 | in, out := &in.Versions, &out.Versions |
| 34 | *out = make([]GroupVersionForDiscovery, len(*in)) |
| 35 | copy(*out, *in) |
| 36 | } |
| 37 | out.PreferredVersion = in.PreferredVersion |
| 38 | if in.ServerAddressByClientCIDRs != nil { |
| 39 | in, out := &in.ServerAddressByClientCIDRs, &out.ServerAddressByClientCIDRs |
| 40 | *out = make([]ServerAddressByClientCIDR, len(*in)) |
| 41 | copy(*out, *in) |
| 42 | } |
| 43 | return |
| 44 | } |
| 45 | |
| 46 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGroup. |
| 47 | func (in *APIGroup) DeepCopy() *APIGroup { |
| 48 | if in == nil { |
| 49 | return nil |
| 50 | } |
| 51 | out := new(APIGroup) |
| 52 | in.DeepCopyInto(out) |
| 53 | return out |
| 54 | } |
| 55 | |
| 56 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 57 | func (in *APIGroup) DeepCopyObject() runtime.Object { |
| 58 | if c := in.DeepCopy(); c != nil { |
| 59 | return c |
| 60 | } |
| 61 | return nil |
| 62 | } |
| 63 | |
| 64 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 65 | func (in *APIGroupList) DeepCopyInto(out *APIGroupList) { |
| 66 | *out = *in |
| 67 | out.TypeMeta = in.TypeMeta |
| 68 | if in.Groups != nil { |
| 69 | in, out := &in.Groups, &out.Groups |
| 70 | *out = make([]APIGroup, len(*in)) |
| 71 | for i := range *in { |
| 72 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 73 | } |
| 74 | } |
| 75 | return |
| 76 | } |
| 77 | |
| 78 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGroupList. |
| 79 | func (in *APIGroupList) DeepCopy() *APIGroupList { |
| 80 | if in == nil { |
| 81 | return nil |
| 82 | } |
| 83 | out := new(APIGroupList) |
| 84 | in.DeepCopyInto(out) |
| 85 | return out |
| 86 | } |
| 87 | |
| 88 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 89 | func (in *APIGroupList) DeepCopyObject() runtime.Object { |
| 90 | if c := in.DeepCopy(); c != nil { |
| 91 | return c |
| 92 | } |
| 93 | return nil |
| 94 | } |
| 95 | |
| 96 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 97 | func (in *APIResource) DeepCopyInto(out *APIResource) { |
| 98 | *out = *in |
| 99 | if in.Verbs != nil { |
| 100 | in, out := &in.Verbs, &out.Verbs |
| 101 | *out = make(Verbs, len(*in)) |
| 102 | copy(*out, *in) |
| 103 | } |
| 104 | if in.ShortNames != nil { |
| 105 | in, out := &in.ShortNames, &out.ShortNames |
| 106 | *out = make([]string, len(*in)) |
| 107 | copy(*out, *in) |
| 108 | } |
| 109 | if in.Categories != nil { |
| 110 | in, out := &in.Categories, &out.Categories |
| 111 | *out = make([]string, len(*in)) |
| 112 | copy(*out, *in) |
| 113 | } |
| 114 | return |
| 115 | } |
| 116 | |
| 117 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResource. |
| 118 | func (in *APIResource) DeepCopy() *APIResource { |
| 119 | if in == nil { |
| 120 | return nil |
| 121 | } |
| 122 | out := new(APIResource) |
| 123 | in.DeepCopyInto(out) |
| 124 | return out |
| 125 | } |
| 126 | |
| 127 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 128 | func (in *APIResourceList) DeepCopyInto(out *APIResourceList) { |
| 129 | *out = *in |
| 130 | out.TypeMeta = in.TypeMeta |
| 131 | if in.APIResources != nil { |
| 132 | in, out := &in.APIResources, &out.APIResources |
| 133 | *out = make([]APIResource, len(*in)) |
| 134 | for i := range *in { |
| 135 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 136 | } |
| 137 | } |
| 138 | return |
| 139 | } |
| 140 | |
| 141 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResourceList. |
| 142 | func (in *APIResourceList) DeepCopy() *APIResourceList { |
| 143 | if in == nil { |
| 144 | return nil |
| 145 | } |
| 146 | out := new(APIResourceList) |
| 147 | in.DeepCopyInto(out) |
| 148 | return out |
| 149 | } |
| 150 | |
| 151 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 152 | func (in *APIResourceList) DeepCopyObject() runtime.Object { |
| 153 | if c := in.DeepCopy(); c != nil { |
| 154 | return c |
| 155 | } |
| 156 | return nil |
| 157 | } |
| 158 | |
| 159 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 160 | func (in *APIVersions) DeepCopyInto(out *APIVersions) { |
| 161 | *out = *in |
| 162 | out.TypeMeta = in.TypeMeta |
| 163 | if in.Versions != nil { |
| 164 | in, out := &in.Versions, &out.Versions |
| 165 | *out = make([]string, len(*in)) |
| 166 | copy(*out, *in) |
| 167 | } |
| 168 | if in.ServerAddressByClientCIDRs != nil { |
| 169 | in, out := &in.ServerAddressByClientCIDRs, &out.ServerAddressByClientCIDRs |
| 170 | *out = make([]ServerAddressByClientCIDR, len(*in)) |
| 171 | copy(*out, *in) |
| 172 | } |
| 173 | return |
| 174 | } |
| 175 | |
| 176 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIVersions. |
| 177 | func (in *APIVersions) DeepCopy() *APIVersions { |
| 178 | if in == nil { |
| 179 | return nil |
| 180 | } |
| 181 | out := new(APIVersions) |
| 182 | in.DeepCopyInto(out) |
| 183 | return out |
| 184 | } |
| 185 | |
| 186 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 187 | func (in *APIVersions) DeepCopyObject() runtime.Object { |
| 188 | if c := in.DeepCopy(); c != nil { |
| 189 | return c |
| 190 | } |
| 191 | return nil |
| 192 | } |
| 193 | |
| 194 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 195 | func (in *CreateOptions) DeepCopyInto(out *CreateOptions) { |
| 196 | *out = *in |
| 197 | out.TypeMeta = in.TypeMeta |
| 198 | if in.DryRun != nil { |
| 199 | in, out := &in.DryRun, &out.DryRun |
| 200 | *out = make([]string, len(*in)) |
| 201 | copy(*out, *in) |
| 202 | } |
| 203 | return |
| 204 | } |
| 205 | |
| 206 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateOptions. |
| 207 | func (in *CreateOptions) DeepCopy() *CreateOptions { |
| 208 | if in == nil { |
| 209 | return nil |
| 210 | } |
| 211 | out := new(CreateOptions) |
| 212 | in.DeepCopyInto(out) |
| 213 | return out |
| 214 | } |
| 215 | |
| 216 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 217 | func (in *CreateOptions) DeepCopyObject() runtime.Object { |
| 218 | if c := in.DeepCopy(); c != nil { |
| 219 | return c |
| 220 | } |
| 221 | return nil |
| 222 | } |
| 223 | |
| 224 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 225 | func (in *DeleteOptions) DeepCopyInto(out *DeleteOptions) { |
| 226 | *out = *in |
| 227 | out.TypeMeta = in.TypeMeta |
| 228 | if in.GracePeriodSeconds != nil { |
| 229 | in, out := &in.GracePeriodSeconds, &out.GracePeriodSeconds |
| 230 | *out = new(int64) |
| 231 | **out = **in |
| 232 | } |
| 233 | if in.Preconditions != nil { |
| 234 | in, out := &in.Preconditions, &out.Preconditions |
| 235 | *out = new(Preconditions) |
| 236 | (*in).DeepCopyInto(*out) |
| 237 | } |
| 238 | if in.OrphanDependents != nil { |
| 239 | in, out := &in.OrphanDependents, &out.OrphanDependents |
| 240 | *out = new(bool) |
| 241 | **out = **in |
| 242 | } |
| 243 | if in.PropagationPolicy != nil { |
| 244 | in, out := &in.PropagationPolicy, &out.PropagationPolicy |
| 245 | *out = new(DeletionPropagation) |
| 246 | **out = **in |
| 247 | } |
| 248 | if in.DryRun != nil { |
| 249 | in, out := &in.DryRun, &out.DryRun |
| 250 | *out = make([]string, len(*in)) |
| 251 | copy(*out, *in) |
| 252 | } |
| 253 | return |
| 254 | } |
| 255 | |
| 256 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteOptions. |
| 257 | func (in *DeleteOptions) DeepCopy() *DeleteOptions { |
| 258 | if in == nil { |
| 259 | return nil |
| 260 | } |
| 261 | out := new(DeleteOptions) |
| 262 | in.DeepCopyInto(out) |
| 263 | return out |
| 264 | } |
| 265 | |
| 266 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 267 | func (in *DeleteOptions) DeepCopyObject() runtime.Object { |
| 268 | if c := in.DeepCopy(); c != nil { |
| 269 | return c |
| 270 | } |
| 271 | return nil |
| 272 | } |
| 273 | |
| 274 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 275 | func (in *Duration) DeepCopyInto(out *Duration) { |
| 276 | *out = *in |
| 277 | return |
| 278 | } |
| 279 | |
| 280 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Duration. |
| 281 | func (in *Duration) DeepCopy() *Duration { |
| 282 | if in == nil { |
| 283 | return nil |
| 284 | } |
| 285 | out := new(Duration) |
| 286 | in.DeepCopyInto(out) |
| 287 | return out |
| 288 | } |
| 289 | |
| 290 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 291 | func (in *ExportOptions) DeepCopyInto(out *ExportOptions) { |
| 292 | *out = *in |
| 293 | out.TypeMeta = in.TypeMeta |
| 294 | return |
| 295 | } |
| 296 | |
| 297 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExportOptions. |
| 298 | func (in *ExportOptions) DeepCopy() *ExportOptions { |
| 299 | if in == nil { |
| 300 | return nil |
| 301 | } |
| 302 | out := new(ExportOptions) |
| 303 | in.DeepCopyInto(out) |
| 304 | return out |
| 305 | } |
| 306 | |
| 307 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 308 | func (in *ExportOptions) DeepCopyObject() runtime.Object { |
| 309 | if c := in.DeepCopy(); c != nil { |
| 310 | return c |
| 311 | } |
| 312 | return nil |
| 313 | } |
| 314 | |
| 315 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 316 | func (in *Fields) DeepCopyInto(out *Fields) { |
| 317 | *out = *in |
| 318 | if in.Map != nil { |
| 319 | in, out := &in.Map, &out.Map |
| 320 | *out = make(map[string]Fields, len(*in)) |
| 321 | for key, val := range *in { |
| 322 | (*out)[key] = *val.DeepCopy() |
| 323 | } |
| 324 | } |
| 325 | return |
| 326 | } |
| 327 | |
| 328 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fields. |
| 329 | func (in *Fields) DeepCopy() *Fields { |
| 330 | if in == nil { |
| 331 | return nil |
| 332 | } |
| 333 | out := new(Fields) |
| 334 | in.DeepCopyInto(out) |
| 335 | return out |
| 336 | } |
| 337 | |
| 338 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 339 | func (in *GetOptions) DeepCopyInto(out *GetOptions) { |
| 340 | *out = *in |
| 341 | out.TypeMeta = in.TypeMeta |
| 342 | return |
| 343 | } |
| 344 | |
| 345 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetOptions. |
| 346 | func (in *GetOptions) DeepCopy() *GetOptions { |
| 347 | if in == nil { |
| 348 | return nil |
| 349 | } |
| 350 | out := new(GetOptions) |
| 351 | in.DeepCopyInto(out) |
| 352 | return out |
| 353 | } |
| 354 | |
| 355 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 356 | func (in *GetOptions) DeepCopyObject() runtime.Object { |
| 357 | if c := in.DeepCopy(); c != nil { |
| 358 | return c |
| 359 | } |
| 360 | return nil |
| 361 | } |
| 362 | |
| 363 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 364 | func (in *GroupKind) DeepCopyInto(out *GroupKind) { |
| 365 | *out = *in |
| 366 | return |
| 367 | } |
| 368 | |
| 369 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupKind. |
| 370 | func (in *GroupKind) DeepCopy() *GroupKind { |
| 371 | if in == nil { |
| 372 | return nil |
| 373 | } |
| 374 | out := new(GroupKind) |
| 375 | in.DeepCopyInto(out) |
| 376 | return out |
| 377 | } |
| 378 | |
| 379 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 380 | func (in *GroupResource) DeepCopyInto(out *GroupResource) { |
| 381 | *out = *in |
| 382 | return |
| 383 | } |
| 384 | |
| 385 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupResource. |
| 386 | func (in *GroupResource) DeepCopy() *GroupResource { |
| 387 | if in == nil { |
| 388 | return nil |
| 389 | } |
| 390 | out := new(GroupResource) |
| 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 *GroupVersion) DeepCopyInto(out *GroupVersion) { |
| 397 | *out = *in |
| 398 | return |
| 399 | } |
| 400 | |
| 401 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersion. |
| 402 | func (in *GroupVersion) DeepCopy() *GroupVersion { |
| 403 | if in == nil { |
| 404 | return nil |
| 405 | } |
| 406 | out := new(GroupVersion) |
| 407 | in.DeepCopyInto(out) |
| 408 | return out |
| 409 | } |
| 410 | |
| 411 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 412 | func (in *GroupVersionForDiscovery) DeepCopyInto(out *GroupVersionForDiscovery) { |
| 413 | *out = *in |
| 414 | return |
| 415 | } |
| 416 | |
| 417 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionForDiscovery. |
| 418 | func (in *GroupVersionForDiscovery) DeepCopy() *GroupVersionForDiscovery { |
| 419 | if in == nil { |
| 420 | return nil |
| 421 | } |
| 422 | out := new(GroupVersionForDiscovery) |
| 423 | in.DeepCopyInto(out) |
| 424 | return out |
| 425 | } |
| 426 | |
| 427 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 428 | func (in *GroupVersionKind) DeepCopyInto(out *GroupVersionKind) { |
| 429 | *out = *in |
| 430 | return |
| 431 | } |
| 432 | |
| 433 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionKind. |
| 434 | func (in *GroupVersionKind) DeepCopy() *GroupVersionKind { |
| 435 | if in == nil { |
| 436 | return nil |
| 437 | } |
| 438 | out := new(GroupVersionKind) |
| 439 | in.DeepCopyInto(out) |
| 440 | return out |
| 441 | } |
| 442 | |
| 443 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 444 | func (in *GroupVersionResource) DeepCopyInto(out *GroupVersionResource) { |
| 445 | *out = *in |
| 446 | return |
| 447 | } |
| 448 | |
| 449 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionResource. |
| 450 | func (in *GroupVersionResource) DeepCopy() *GroupVersionResource { |
| 451 | if in == nil { |
| 452 | return nil |
| 453 | } |
| 454 | out := new(GroupVersionResource) |
| 455 | in.DeepCopyInto(out) |
| 456 | return out |
| 457 | } |
| 458 | |
| 459 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 460 | func (in *Initializer) DeepCopyInto(out *Initializer) { |
| 461 | *out = *in |
| 462 | return |
| 463 | } |
| 464 | |
| 465 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializer. |
| 466 | func (in *Initializer) DeepCopy() *Initializer { |
| 467 | if in == nil { |
| 468 | return nil |
| 469 | } |
| 470 | out := new(Initializer) |
| 471 | in.DeepCopyInto(out) |
| 472 | return out |
| 473 | } |
| 474 | |
| 475 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 476 | func (in *Initializers) DeepCopyInto(out *Initializers) { |
| 477 | *out = *in |
| 478 | if in.Pending != nil { |
| 479 | in, out := &in.Pending, &out.Pending |
| 480 | *out = make([]Initializer, len(*in)) |
| 481 | copy(*out, *in) |
| 482 | } |
| 483 | if in.Result != nil { |
| 484 | in, out := &in.Result, &out.Result |
| 485 | *out = new(Status) |
| 486 | (*in).DeepCopyInto(*out) |
| 487 | } |
| 488 | return |
| 489 | } |
| 490 | |
| 491 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializers. |
| 492 | func (in *Initializers) DeepCopy() *Initializers { |
| 493 | if in == nil { |
| 494 | return nil |
| 495 | } |
| 496 | out := new(Initializers) |
| 497 | in.DeepCopyInto(out) |
| 498 | return out |
| 499 | } |
| 500 | |
| 501 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 502 | func (in *InternalEvent) DeepCopyInto(out *InternalEvent) { |
| 503 | *out = *in |
| 504 | if in.Object != nil { |
| 505 | out.Object = in.Object.DeepCopyObject() |
| 506 | } |
| 507 | return |
| 508 | } |
| 509 | |
| 510 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalEvent. |
| 511 | func (in *InternalEvent) DeepCopy() *InternalEvent { |
| 512 | if in == nil { |
| 513 | return nil |
| 514 | } |
| 515 | out := new(InternalEvent) |
| 516 | in.DeepCopyInto(out) |
| 517 | return out |
| 518 | } |
| 519 | |
| 520 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 521 | func (in *LabelSelector) DeepCopyInto(out *LabelSelector) { |
| 522 | *out = *in |
| 523 | if in.MatchLabels != nil { |
| 524 | in, out := &in.MatchLabels, &out.MatchLabels |
| 525 | *out = make(map[string]string, len(*in)) |
| 526 | for key, val := range *in { |
| 527 | (*out)[key] = val |
| 528 | } |
| 529 | } |
| 530 | if in.MatchExpressions != nil { |
| 531 | in, out := &in.MatchExpressions, &out.MatchExpressions |
| 532 | *out = make([]LabelSelectorRequirement, len(*in)) |
| 533 | for i := range *in { |
| 534 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 535 | } |
| 536 | } |
| 537 | return |
| 538 | } |
| 539 | |
| 540 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelector. |
| 541 | func (in *LabelSelector) DeepCopy() *LabelSelector { |
| 542 | if in == nil { |
| 543 | return nil |
| 544 | } |
| 545 | out := new(LabelSelector) |
| 546 | in.DeepCopyInto(out) |
| 547 | return out |
| 548 | } |
| 549 | |
| 550 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 551 | func (in *LabelSelectorRequirement) DeepCopyInto(out *LabelSelectorRequirement) { |
| 552 | *out = *in |
| 553 | if in.Values != nil { |
| 554 | in, out := &in.Values, &out.Values |
| 555 | *out = make([]string, len(*in)) |
| 556 | copy(*out, *in) |
| 557 | } |
| 558 | return |
| 559 | } |
| 560 | |
| 561 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelSelectorRequirement. |
| 562 | func (in *LabelSelectorRequirement) DeepCopy() *LabelSelectorRequirement { |
| 563 | if in == nil { |
| 564 | return nil |
| 565 | } |
| 566 | out := new(LabelSelectorRequirement) |
| 567 | in.DeepCopyInto(out) |
| 568 | return out |
| 569 | } |
| 570 | |
| 571 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 572 | func (in *List) DeepCopyInto(out *List) { |
| 573 | *out = *in |
| 574 | out.TypeMeta = in.TypeMeta |
| 575 | out.ListMeta = in.ListMeta |
| 576 | if in.Items != nil { |
| 577 | in, out := &in.Items, &out.Items |
| 578 | *out = make([]runtime.RawExtension, len(*in)) |
| 579 | for i := range *in { |
| 580 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 581 | } |
| 582 | } |
| 583 | return |
| 584 | } |
| 585 | |
| 586 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new List. |
| 587 | func (in *List) DeepCopy() *List { |
| 588 | if in == nil { |
| 589 | return nil |
| 590 | } |
| 591 | out := new(List) |
| 592 | in.DeepCopyInto(out) |
| 593 | return out |
| 594 | } |
| 595 | |
| 596 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 597 | func (in *List) DeepCopyObject() runtime.Object { |
| 598 | if c := in.DeepCopy(); c != nil { |
| 599 | return c |
| 600 | } |
| 601 | return nil |
| 602 | } |
| 603 | |
| 604 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 605 | func (in *ListMeta) DeepCopyInto(out *ListMeta) { |
| 606 | *out = *in |
| 607 | return |
| 608 | } |
| 609 | |
| 610 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListMeta. |
| 611 | func (in *ListMeta) DeepCopy() *ListMeta { |
| 612 | if in == nil { |
| 613 | return nil |
| 614 | } |
| 615 | out := new(ListMeta) |
| 616 | in.DeepCopyInto(out) |
| 617 | return out |
| 618 | } |
| 619 | |
| 620 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 621 | func (in *ListOptions) DeepCopyInto(out *ListOptions) { |
| 622 | *out = *in |
| 623 | out.TypeMeta = in.TypeMeta |
| 624 | if in.TimeoutSeconds != nil { |
| 625 | in, out := &in.TimeoutSeconds, &out.TimeoutSeconds |
| 626 | *out = new(int64) |
| 627 | **out = **in |
| 628 | } |
| 629 | return |
| 630 | } |
| 631 | |
| 632 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListOptions. |
| 633 | func (in *ListOptions) DeepCopy() *ListOptions { |
| 634 | if in == nil { |
| 635 | return nil |
| 636 | } |
| 637 | out := new(ListOptions) |
| 638 | in.DeepCopyInto(out) |
| 639 | return out |
| 640 | } |
| 641 | |
| 642 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 643 | func (in *ListOptions) DeepCopyObject() runtime.Object { |
| 644 | if c := in.DeepCopy(); c != nil { |
| 645 | return c |
| 646 | } |
| 647 | return nil |
| 648 | } |
| 649 | |
| 650 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 651 | func (in *ManagedFieldsEntry) DeepCopyInto(out *ManagedFieldsEntry) { |
| 652 | *out = *in |
| 653 | if in.Time != nil { |
| 654 | in, out := &in.Time, &out.Time |
| 655 | *out = (*in).DeepCopy() |
| 656 | } |
| 657 | if in.Fields != nil { |
| 658 | in, out := &in.Fields, &out.Fields |
| 659 | *out = new(Fields) |
| 660 | (*in).DeepCopyInto(*out) |
| 661 | } |
| 662 | return |
| 663 | } |
| 664 | |
| 665 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedFieldsEntry. |
| 666 | func (in *ManagedFieldsEntry) DeepCopy() *ManagedFieldsEntry { |
| 667 | if in == nil { |
| 668 | return nil |
| 669 | } |
| 670 | out := new(ManagedFieldsEntry) |
| 671 | in.DeepCopyInto(out) |
| 672 | return out |
| 673 | } |
| 674 | |
| 675 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicroTime. |
| 676 | func (in *MicroTime) DeepCopy() *MicroTime { |
| 677 | if in == nil { |
| 678 | return nil |
| 679 | } |
| 680 | out := new(MicroTime) |
| 681 | in.DeepCopyInto(out) |
| 682 | return out |
| 683 | } |
| 684 | |
| 685 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 686 | func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta) { |
| 687 | *out = *in |
| 688 | in.CreationTimestamp.DeepCopyInto(&out.CreationTimestamp) |
| 689 | if in.DeletionTimestamp != nil { |
| 690 | in, out := &in.DeletionTimestamp, &out.DeletionTimestamp |
| 691 | *out = (*in).DeepCopy() |
| 692 | } |
| 693 | if in.DeletionGracePeriodSeconds != nil { |
| 694 | in, out := &in.DeletionGracePeriodSeconds, &out.DeletionGracePeriodSeconds |
| 695 | *out = new(int64) |
| 696 | **out = **in |
| 697 | } |
| 698 | if in.Labels != nil { |
| 699 | in, out := &in.Labels, &out.Labels |
| 700 | *out = make(map[string]string, len(*in)) |
| 701 | for key, val := range *in { |
| 702 | (*out)[key] = val |
| 703 | } |
| 704 | } |
| 705 | if in.Annotations != nil { |
| 706 | in, out := &in.Annotations, &out.Annotations |
| 707 | *out = make(map[string]string, len(*in)) |
| 708 | for key, val := range *in { |
| 709 | (*out)[key] = val |
| 710 | } |
| 711 | } |
| 712 | if in.OwnerReferences != nil { |
| 713 | in, out := &in.OwnerReferences, &out.OwnerReferences |
| 714 | *out = make([]OwnerReference, len(*in)) |
| 715 | for i := range *in { |
| 716 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 717 | } |
| 718 | } |
| 719 | if in.Initializers != nil { |
| 720 | in, out := &in.Initializers, &out.Initializers |
| 721 | *out = new(Initializers) |
| 722 | (*in).DeepCopyInto(*out) |
| 723 | } |
| 724 | if in.Finalizers != nil { |
| 725 | in, out := &in.Finalizers, &out.Finalizers |
| 726 | *out = make([]string, len(*in)) |
| 727 | copy(*out, *in) |
| 728 | } |
| 729 | if in.ManagedFields != nil { |
| 730 | in, out := &in.ManagedFields, &out.ManagedFields |
| 731 | *out = make([]ManagedFieldsEntry, len(*in)) |
| 732 | for i := range *in { |
| 733 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 734 | } |
| 735 | } |
| 736 | return |
| 737 | } |
| 738 | |
| 739 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectMeta. |
| 740 | func (in *ObjectMeta) DeepCopy() *ObjectMeta { |
| 741 | if in == nil { |
| 742 | return nil |
| 743 | } |
| 744 | out := new(ObjectMeta) |
| 745 | in.DeepCopyInto(out) |
| 746 | return out |
| 747 | } |
| 748 | |
| 749 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 750 | func (in *OwnerReference) DeepCopyInto(out *OwnerReference) { |
| 751 | *out = *in |
| 752 | if in.Controller != nil { |
| 753 | in, out := &in.Controller, &out.Controller |
| 754 | *out = new(bool) |
| 755 | **out = **in |
| 756 | } |
| 757 | if in.BlockOwnerDeletion != nil { |
| 758 | in, out := &in.BlockOwnerDeletion, &out.BlockOwnerDeletion |
| 759 | *out = new(bool) |
| 760 | **out = **in |
| 761 | } |
| 762 | return |
| 763 | } |
| 764 | |
| 765 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OwnerReference. |
| 766 | func (in *OwnerReference) DeepCopy() *OwnerReference { |
| 767 | if in == nil { |
| 768 | return nil |
| 769 | } |
| 770 | out := new(OwnerReference) |
| 771 | in.DeepCopyInto(out) |
| 772 | return out |
| 773 | } |
| 774 | |
| 775 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 776 | func (in *Patch) DeepCopyInto(out *Patch) { |
| 777 | *out = *in |
| 778 | return |
| 779 | } |
| 780 | |
| 781 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Patch. |
| 782 | func (in *Patch) DeepCopy() *Patch { |
| 783 | if in == nil { |
| 784 | return nil |
| 785 | } |
| 786 | out := new(Patch) |
| 787 | in.DeepCopyInto(out) |
| 788 | return out |
| 789 | } |
| 790 | |
| 791 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 792 | func (in *PatchOptions) DeepCopyInto(out *PatchOptions) { |
| 793 | *out = *in |
| 794 | out.TypeMeta = in.TypeMeta |
| 795 | if in.DryRun != nil { |
| 796 | in, out := &in.DryRun, &out.DryRun |
| 797 | *out = make([]string, len(*in)) |
| 798 | copy(*out, *in) |
| 799 | } |
| 800 | if in.Force != nil { |
| 801 | in, out := &in.Force, &out.Force |
| 802 | *out = new(bool) |
| 803 | **out = **in |
| 804 | } |
| 805 | return |
| 806 | } |
| 807 | |
| 808 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PatchOptions. |
| 809 | func (in *PatchOptions) DeepCopy() *PatchOptions { |
| 810 | if in == nil { |
| 811 | return nil |
| 812 | } |
| 813 | out := new(PatchOptions) |
| 814 | in.DeepCopyInto(out) |
| 815 | return out |
| 816 | } |
| 817 | |
| 818 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 819 | func (in *PatchOptions) DeepCopyObject() runtime.Object { |
| 820 | if c := in.DeepCopy(); c != nil { |
| 821 | return c |
| 822 | } |
| 823 | return nil |
| 824 | } |
| 825 | |
| 826 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 827 | func (in *Preconditions) DeepCopyInto(out *Preconditions) { |
| 828 | *out = *in |
| 829 | if in.UID != nil { |
| 830 | in, out := &in.UID, &out.UID |
| 831 | *out = new(types.UID) |
| 832 | **out = **in |
| 833 | } |
| 834 | if in.ResourceVersion != nil { |
| 835 | in, out := &in.ResourceVersion, &out.ResourceVersion |
| 836 | *out = new(string) |
| 837 | **out = **in |
| 838 | } |
| 839 | return |
| 840 | } |
| 841 | |
| 842 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Preconditions. |
| 843 | func (in *Preconditions) DeepCopy() *Preconditions { |
| 844 | if in == nil { |
| 845 | return nil |
| 846 | } |
| 847 | out := new(Preconditions) |
| 848 | in.DeepCopyInto(out) |
| 849 | return out |
| 850 | } |
| 851 | |
| 852 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 853 | func (in *RootPaths) DeepCopyInto(out *RootPaths) { |
| 854 | *out = *in |
| 855 | if in.Paths != nil { |
| 856 | in, out := &in.Paths, &out.Paths |
| 857 | *out = make([]string, len(*in)) |
| 858 | copy(*out, *in) |
| 859 | } |
| 860 | return |
| 861 | } |
| 862 | |
| 863 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootPaths. |
| 864 | func (in *RootPaths) DeepCopy() *RootPaths { |
| 865 | if in == nil { |
| 866 | return nil |
| 867 | } |
| 868 | out := new(RootPaths) |
| 869 | in.DeepCopyInto(out) |
| 870 | return out |
| 871 | } |
| 872 | |
| 873 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 874 | func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR) { |
| 875 | *out = *in |
| 876 | return |
| 877 | } |
| 878 | |
| 879 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR. |
| 880 | func (in *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR { |
| 881 | if in == nil { |
| 882 | return nil |
| 883 | } |
| 884 | out := new(ServerAddressByClientCIDR) |
| 885 | in.DeepCopyInto(out) |
| 886 | return out |
| 887 | } |
| 888 | |
| 889 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 890 | func (in *Status) DeepCopyInto(out *Status) { |
| 891 | *out = *in |
| 892 | out.TypeMeta = in.TypeMeta |
| 893 | out.ListMeta = in.ListMeta |
| 894 | if in.Details != nil { |
| 895 | in, out := &in.Details, &out.Details |
| 896 | *out = new(StatusDetails) |
| 897 | (*in).DeepCopyInto(*out) |
| 898 | } |
| 899 | return |
| 900 | } |
| 901 | |
| 902 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status. |
| 903 | func (in *Status) DeepCopy() *Status { |
| 904 | if in == nil { |
| 905 | return nil |
| 906 | } |
| 907 | out := new(Status) |
| 908 | in.DeepCopyInto(out) |
| 909 | return out |
| 910 | } |
| 911 | |
| 912 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 913 | func (in *Status) DeepCopyObject() runtime.Object { |
| 914 | if c := in.DeepCopy(); c != nil { |
| 915 | return c |
| 916 | } |
| 917 | return nil |
| 918 | } |
| 919 | |
| 920 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 921 | func (in *StatusCause) DeepCopyInto(out *StatusCause) { |
| 922 | *out = *in |
| 923 | return |
| 924 | } |
| 925 | |
| 926 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusCause. |
| 927 | func (in *StatusCause) DeepCopy() *StatusCause { |
| 928 | if in == nil { |
| 929 | return nil |
| 930 | } |
| 931 | out := new(StatusCause) |
| 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 *StatusDetails) DeepCopyInto(out *StatusDetails) { |
| 938 | *out = *in |
| 939 | if in.Causes != nil { |
| 940 | in, out := &in.Causes, &out.Causes |
| 941 | *out = make([]StatusCause, len(*in)) |
| 942 | copy(*out, *in) |
| 943 | } |
| 944 | return |
| 945 | } |
| 946 | |
| 947 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusDetails. |
| 948 | func (in *StatusDetails) DeepCopy() *StatusDetails { |
| 949 | if in == nil { |
| 950 | return nil |
| 951 | } |
| 952 | out := new(StatusDetails) |
| 953 | in.DeepCopyInto(out) |
| 954 | return out |
| 955 | } |
| 956 | |
| 957 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Time. |
| 958 | func (in *Time) DeepCopy() *Time { |
| 959 | if in == nil { |
| 960 | return nil |
| 961 | } |
| 962 | out := new(Time) |
| 963 | in.DeepCopyInto(out) |
| 964 | return out |
| 965 | } |
| 966 | |
| 967 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 968 | func (in *Timestamp) DeepCopyInto(out *Timestamp) { |
| 969 | *out = *in |
| 970 | return |
| 971 | } |
| 972 | |
| 973 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Timestamp. |
| 974 | func (in *Timestamp) DeepCopy() *Timestamp { |
| 975 | if in == nil { |
| 976 | return nil |
| 977 | } |
| 978 | out := new(Timestamp) |
| 979 | in.DeepCopyInto(out) |
| 980 | return out |
| 981 | } |
| 982 | |
| 983 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 984 | func (in *UpdateOptions) DeepCopyInto(out *UpdateOptions) { |
| 985 | *out = *in |
| 986 | out.TypeMeta = in.TypeMeta |
| 987 | if in.DryRun != nil { |
| 988 | in, out := &in.DryRun, &out.DryRun |
| 989 | *out = make([]string, len(*in)) |
| 990 | copy(*out, *in) |
| 991 | } |
| 992 | return |
| 993 | } |
| 994 | |
| 995 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateOptions. |
| 996 | func (in *UpdateOptions) DeepCopy() *UpdateOptions { |
| 997 | if in == nil { |
| 998 | return nil |
| 999 | } |
| 1000 | out := new(UpdateOptions) |
| 1001 | in.DeepCopyInto(out) |
| 1002 | return out |
| 1003 | } |
| 1004 | |
| 1005 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1006 | func (in *UpdateOptions) DeepCopyObject() runtime.Object { |
| 1007 | if c := in.DeepCopy(); c != nil { |
| 1008 | return c |
| 1009 | } |
| 1010 | return nil |
| 1011 | } |
| 1012 | |
| 1013 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1014 | func (in Verbs) DeepCopyInto(out *Verbs) { |
| 1015 | { |
| 1016 | in := &in |
| 1017 | *out = make(Verbs, len(*in)) |
| 1018 | copy(*out, *in) |
| 1019 | return |
| 1020 | } |
| 1021 | } |
| 1022 | |
| 1023 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Verbs. |
| 1024 | func (in Verbs) DeepCopy() Verbs { |
| 1025 | if in == nil { |
| 1026 | return nil |
| 1027 | } |
| 1028 | out := new(Verbs) |
| 1029 | in.DeepCopyInto(out) |
| 1030 | return *out |
| 1031 | } |
| 1032 | |
| 1033 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1034 | func (in *WatchEvent) DeepCopyInto(out *WatchEvent) { |
| 1035 | *out = *in |
| 1036 | in.Object.DeepCopyInto(&out.Object) |
| 1037 | return |
| 1038 | } |
| 1039 | |
| 1040 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WatchEvent. |
| 1041 | func (in *WatchEvent) DeepCopy() *WatchEvent { |
| 1042 | if in == nil { |
| 1043 | return nil |
| 1044 | } |
| 1045 | out := new(WatchEvent) |
| 1046 | in.DeepCopyInto(out) |
| 1047 | return out |
| 1048 | } |
| 1049 | |
| 1050 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1051 | func (in *WatchEvent) DeepCopyObject() runtime.Object { |
| 1052 | if c := in.DeepCopy(); c != nil { |
| 1053 | return c |
| 1054 | } |
| 1055 | return nil |
| 1056 | } |