Matthias Andreas Benkard | 832a54e | 2019-01-29 09:27:38 +0100 | [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 v1beta1 |
| 22 | |
| 23 | import ( |
| 24 | core_v1 "k8s.io/api/core/v1" |
| 25 | v1 "k8s.io/apimachinery/pkg/apis/meta/v1" |
| 26 | runtime "k8s.io/apimachinery/pkg/runtime" |
| 27 | intstr "k8s.io/apimachinery/pkg/util/intstr" |
| 28 | ) |
| 29 | |
| 30 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 31 | func (in *AllowedFlexVolume) DeepCopyInto(out *AllowedFlexVolume) { |
| 32 | *out = *in |
| 33 | return |
| 34 | } |
| 35 | |
| 36 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedFlexVolume. |
| 37 | func (in *AllowedFlexVolume) DeepCopy() *AllowedFlexVolume { |
| 38 | if in == nil { |
| 39 | return nil |
| 40 | } |
| 41 | out := new(AllowedFlexVolume) |
| 42 | in.DeepCopyInto(out) |
| 43 | return out |
| 44 | } |
| 45 | |
| 46 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 47 | func (in *AllowedHostPath) DeepCopyInto(out *AllowedHostPath) { |
| 48 | *out = *in |
| 49 | return |
| 50 | } |
| 51 | |
| 52 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedHostPath. |
| 53 | func (in *AllowedHostPath) DeepCopy() *AllowedHostPath { |
| 54 | if in == nil { |
| 55 | return nil |
| 56 | } |
| 57 | out := new(AllowedHostPath) |
| 58 | in.DeepCopyInto(out) |
| 59 | return out |
| 60 | } |
| 61 | |
| 62 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 63 | func (in *CustomMetricCurrentStatus) DeepCopyInto(out *CustomMetricCurrentStatus) { |
| 64 | *out = *in |
| 65 | out.CurrentValue = in.CurrentValue.DeepCopy() |
| 66 | return |
| 67 | } |
| 68 | |
| 69 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricCurrentStatus. |
| 70 | func (in *CustomMetricCurrentStatus) DeepCopy() *CustomMetricCurrentStatus { |
| 71 | if in == nil { |
| 72 | return nil |
| 73 | } |
| 74 | out := new(CustomMetricCurrentStatus) |
| 75 | in.DeepCopyInto(out) |
| 76 | return out |
| 77 | } |
| 78 | |
| 79 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 80 | func (in *CustomMetricCurrentStatusList) DeepCopyInto(out *CustomMetricCurrentStatusList) { |
| 81 | *out = *in |
| 82 | if in.Items != nil { |
| 83 | in, out := &in.Items, &out.Items |
| 84 | *out = make([]CustomMetricCurrentStatus, len(*in)) |
| 85 | for i := range *in { |
| 86 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 87 | } |
| 88 | } |
| 89 | return |
| 90 | } |
| 91 | |
| 92 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricCurrentStatusList. |
| 93 | func (in *CustomMetricCurrentStatusList) DeepCopy() *CustomMetricCurrentStatusList { |
| 94 | if in == nil { |
| 95 | return nil |
| 96 | } |
| 97 | out := new(CustomMetricCurrentStatusList) |
| 98 | in.DeepCopyInto(out) |
| 99 | return out |
| 100 | } |
| 101 | |
| 102 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 103 | func (in *CustomMetricTarget) DeepCopyInto(out *CustomMetricTarget) { |
| 104 | *out = *in |
| 105 | out.TargetValue = in.TargetValue.DeepCopy() |
| 106 | return |
| 107 | } |
| 108 | |
| 109 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricTarget. |
| 110 | func (in *CustomMetricTarget) DeepCopy() *CustomMetricTarget { |
| 111 | if in == nil { |
| 112 | return nil |
| 113 | } |
| 114 | out := new(CustomMetricTarget) |
| 115 | in.DeepCopyInto(out) |
| 116 | return out |
| 117 | } |
| 118 | |
| 119 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 120 | func (in *CustomMetricTargetList) DeepCopyInto(out *CustomMetricTargetList) { |
| 121 | *out = *in |
| 122 | if in.Items != nil { |
| 123 | in, out := &in.Items, &out.Items |
| 124 | *out = make([]CustomMetricTarget, len(*in)) |
| 125 | for i := range *in { |
| 126 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 127 | } |
| 128 | } |
| 129 | return |
| 130 | } |
| 131 | |
| 132 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomMetricTargetList. |
| 133 | func (in *CustomMetricTargetList) DeepCopy() *CustomMetricTargetList { |
| 134 | if in == nil { |
| 135 | return nil |
| 136 | } |
| 137 | out := new(CustomMetricTargetList) |
| 138 | in.DeepCopyInto(out) |
| 139 | return out |
| 140 | } |
| 141 | |
| 142 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 143 | func (in *DaemonSet) DeepCopyInto(out *DaemonSet) { |
| 144 | *out = *in |
| 145 | out.TypeMeta = in.TypeMeta |
| 146 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 147 | in.Spec.DeepCopyInto(&out.Spec) |
| 148 | in.Status.DeepCopyInto(&out.Status) |
| 149 | return |
| 150 | } |
| 151 | |
| 152 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSet. |
| 153 | func (in *DaemonSet) DeepCopy() *DaemonSet { |
| 154 | if in == nil { |
| 155 | return nil |
| 156 | } |
| 157 | out := new(DaemonSet) |
| 158 | in.DeepCopyInto(out) |
| 159 | return out |
| 160 | } |
| 161 | |
| 162 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 163 | func (in *DaemonSet) DeepCopyObject() runtime.Object { |
| 164 | if c := in.DeepCopy(); c != nil { |
| 165 | return c |
| 166 | } |
| 167 | return nil |
| 168 | } |
| 169 | |
| 170 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 171 | func (in *DaemonSetCondition) DeepCopyInto(out *DaemonSetCondition) { |
| 172 | *out = *in |
| 173 | in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| 174 | return |
| 175 | } |
| 176 | |
| 177 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetCondition. |
| 178 | func (in *DaemonSetCondition) DeepCopy() *DaemonSetCondition { |
| 179 | if in == nil { |
| 180 | return nil |
| 181 | } |
| 182 | out := new(DaemonSetCondition) |
| 183 | in.DeepCopyInto(out) |
| 184 | return out |
| 185 | } |
| 186 | |
| 187 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 188 | func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList) { |
| 189 | *out = *in |
| 190 | out.TypeMeta = in.TypeMeta |
| 191 | out.ListMeta = in.ListMeta |
| 192 | if in.Items != nil { |
| 193 | in, out := &in.Items, &out.Items |
| 194 | *out = make([]DaemonSet, len(*in)) |
| 195 | for i := range *in { |
| 196 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 197 | } |
| 198 | } |
| 199 | return |
| 200 | } |
| 201 | |
| 202 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList. |
| 203 | func (in *DaemonSetList) DeepCopy() *DaemonSetList { |
| 204 | if in == nil { |
| 205 | return nil |
| 206 | } |
| 207 | out := new(DaemonSetList) |
| 208 | in.DeepCopyInto(out) |
| 209 | return out |
| 210 | } |
| 211 | |
| 212 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 213 | func (in *DaemonSetList) DeepCopyObject() runtime.Object { |
| 214 | if c := in.DeepCopy(); c != nil { |
| 215 | return c |
| 216 | } |
| 217 | return nil |
| 218 | } |
| 219 | |
| 220 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 221 | func (in *DaemonSetSpec) DeepCopyInto(out *DaemonSetSpec) { |
| 222 | *out = *in |
| 223 | if in.Selector != nil { |
| 224 | in, out := &in.Selector, &out.Selector |
| 225 | if *in == nil { |
| 226 | *out = nil |
| 227 | } else { |
| 228 | *out = new(v1.LabelSelector) |
| 229 | (*in).DeepCopyInto(*out) |
| 230 | } |
| 231 | } |
| 232 | in.Template.DeepCopyInto(&out.Template) |
| 233 | in.UpdateStrategy.DeepCopyInto(&out.UpdateStrategy) |
| 234 | if in.RevisionHistoryLimit != nil { |
| 235 | in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit |
| 236 | if *in == nil { |
| 237 | *out = nil |
| 238 | } else { |
| 239 | *out = new(int32) |
| 240 | **out = **in |
| 241 | } |
| 242 | } |
| 243 | return |
| 244 | } |
| 245 | |
| 246 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetSpec. |
| 247 | func (in *DaemonSetSpec) DeepCopy() *DaemonSetSpec { |
| 248 | if in == nil { |
| 249 | return nil |
| 250 | } |
| 251 | out := new(DaemonSetSpec) |
| 252 | in.DeepCopyInto(out) |
| 253 | return out |
| 254 | } |
| 255 | |
| 256 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 257 | func (in *DaemonSetStatus) DeepCopyInto(out *DaemonSetStatus) { |
| 258 | *out = *in |
| 259 | if in.CollisionCount != nil { |
| 260 | in, out := &in.CollisionCount, &out.CollisionCount |
| 261 | if *in == nil { |
| 262 | *out = nil |
| 263 | } else { |
| 264 | *out = new(int32) |
| 265 | **out = **in |
| 266 | } |
| 267 | } |
| 268 | if in.Conditions != nil { |
| 269 | in, out := &in.Conditions, &out.Conditions |
| 270 | *out = make([]DaemonSetCondition, len(*in)) |
| 271 | for i := range *in { |
| 272 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 273 | } |
| 274 | } |
| 275 | return |
| 276 | } |
| 277 | |
| 278 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetStatus. |
| 279 | func (in *DaemonSetStatus) DeepCopy() *DaemonSetStatus { |
| 280 | if in == nil { |
| 281 | return nil |
| 282 | } |
| 283 | out := new(DaemonSetStatus) |
| 284 | in.DeepCopyInto(out) |
| 285 | return out |
| 286 | } |
| 287 | |
| 288 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 289 | func (in *DaemonSetUpdateStrategy) DeepCopyInto(out *DaemonSetUpdateStrategy) { |
| 290 | *out = *in |
| 291 | if in.RollingUpdate != nil { |
| 292 | in, out := &in.RollingUpdate, &out.RollingUpdate |
| 293 | if *in == nil { |
| 294 | *out = nil |
| 295 | } else { |
| 296 | *out = new(RollingUpdateDaemonSet) |
| 297 | (*in).DeepCopyInto(*out) |
| 298 | } |
| 299 | } |
| 300 | return |
| 301 | } |
| 302 | |
| 303 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetUpdateStrategy. |
| 304 | func (in *DaemonSetUpdateStrategy) DeepCopy() *DaemonSetUpdateStrategy { |
| 305 | if in == nil { |
| 306 | return nil |
| 307 | } |
| 308 | out := new(DaemonSetUpdateStrategy) |
| 309 | in.DeepCopyInto(out) |
| 310 | return out |
| 311 | } |
| 312 | |
| 313 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 314 | func (in *Deployment) DeepCopyInto(out *Deployment) { |
| 315 | *out = *in |
| 316 | out.TypeMeta = in.TypeMeta |
| 317 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 318 | in.Spec.DeepCopyInto(&out.Spec) |
| 319 | in.Status.DeepCopyInto(&out.Status) |
| 320 | return |
| 321 | } |
| 322 | |
| 323 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment. |
| 324 | func (in *Deployment) DeepCopy() *Deployment { |
| 325 | if in == nil { |
| 326 | return nil |
| 327 | } |
| 328 | out := new(Deployment) |
| 329 | in.DeepCopyInto(out) |
| 330 | return out |
| 331 | } |
| 332 | |
| 333 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 334 | func (in *Deployment) DeepCopyObject() runtime.Object { |
| 335 | if c := in.DeepCopy(); c != nil { |
| 336 | return c |
| 337 | } |
| 338 | return nil |
| 339 | } |
| 340 | |
| 341 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 342 | func (in *DeploymentCondition) DeepCopyInto(out *DeploymentCondition) { |
| 343 | *out = *in |
| 344 | in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime) |
| 345 | in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| 346 | return |
| 347 | } |
| 348 | |
| 349 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCondition. |
| 350 | func (in *DeploymentCondition) DeepCopy() *DeploymentCondition { |
| 351 | if in == nil { |
| 352 | return nil |
| 353 | } |
| 354 | out := new(DeploymentCondition) |
| 355 | in.DeepCopyInto(out) |
| 356 | return out |
| 357 | } |
| 358 | |
| 359 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 360 | func (in *DeploymentList) DeepCopyInto(out *DeploymentList) { |
| 361 | *out = *in |
| 362 | out.TypeMeta = in.TypeMeta |
| 363 | out.ListMeta = in.ListMeta |
| 364 | if in.Items != nil { |
| 365 | in, out := &in.Items, &out.Items |
| 366 | *out = make([]Deployment, len(*in)) |
| 367 | for i := range *in { |
| 368 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 369 | } |
| 370 | } |
| 371 | return |
| 372 | } |
| 373 | |
| 374 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList. |
| 375 | func (in *DeploymentList) DeepCopy() *DeploymentList { |
| 376 | if in == nil { |
| 377 | return nil |
| 378 | } |
| 379 | out := new(DeploymentList) |
| 380 | in.DeepCopyInto(out) |
| 381 | return out |
| 382 | } |
| 383 | |
| 384 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 385 | func (in *DeploymentList) DeepCopyObject() runtime.Object { |
| 386 | if c := in.DeepCopy(); c != nil { |
| 387 | return c |
| 388 | } |
| 389 | return nil |
| 390 | } |
| 391 | |
| 392 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 393 | func (in *DeploymentRollback) DeepCopyInto(out *DeploymentRollback) { |
| 394 | *out = *in |
| 395 | out.TypeMeta = in.TypeMeta |
| 396 | if in.UpdatedAnnotations != nil { |
| 397 | in, out := &in.UpdatedAnnotations, &out.UpdatedAnnotations |
| 398 | *out = make(map[string]string, len(*in)) |
| 399 | for key, val := range *in { |
| 400 | (*out)[key] = val |
| 401 | } |
| 402 | } |
| 403 | out.RollbackTo = in.RollbackTo |
| 404 | return |
| 405 | } |
| 406 | |
| 407 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentRollback. |
| 408 | func (in *DeploymentRollback) DeepCopy() *DeploymentRollback { |
| 409 | if in == nil { |
| 410 | return nil |
| 411 | } |
| 412 | out := new(DeploymentRollback) |
| 413 | in.DeepCopyInto(out) |
| 414 | return out |
| 415 | } |
| 416 | |
| 417 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 418 | func (in *DeploymentRollback) DeepCopyObject() runtime.Object { |
| 419 | if c := in.DeepCopy(); c != nil { |
| 420 | return c |
| 421 | } |
| 422 | return nil |
| 423 | } |
| 424 | |
| 425 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 426 | func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec) { |
| 427 | *out = *in |
| 428 | if in.Replicas != nil { |
| 429 | in, out := &in.Replicas, &out.Replicas |
| 430 | if *in == nil { |
| 431 | *out = nil |
| 432 | } else { |
| 433 | *out = new(int32) |
| 434 | **out = **in |
| 435 | } |
| 436 | } |
| 437 | if in.Selector != nil { |
| 438 | in, out := &in.Selector, &out.Selector |
| 439 | if *in == nil { |
| 440 | *out = nil |
| 441 | } else { |
| 442 | *out = new(v1.LabelSelector) |
| 443 | (*in).DeepCopyInto(*out) |
| 444 | } |
| 445 | } |
| 446 | in.Template.DeepCopyInto(&out.Template) |
| 447 | in.Strategy.DeepCopyInto(&out.Strategy) |
| 448 | if in.RevisionHistoryLimit != nil { |
| 449 | in, out := &in.RevisionHistoryLimit, &out.RevisionHistoryLimit |
| 450 | if *in == nil { |
| 451 | *out = nil |
| 452 | } else { |
| 453 | *out = new(int32) |
| 454 | **out = **in |
| 455 | } |
| 456 | } |
| 457 | if in.RollbackTo != nil { |
| 458 | in, out := &in.RollbackTo, &out.RollbackTo |
| 459 | if *in == nil { |
| 460 | *out = nil |
| 461 | } else { |
| 462 | *out = new(RollbackConfig) |
| 463 | **out = **in |
| 464 | } |
| 465 | } |
| 466 | if in.ProgressDeadlineSeconds != nil { |
| 467 | in, out := &in.ProgressDeadlineSeconds, &out.ProgressDeadlineSeconds |
| 468 | if *in == nil { |
| 469 | *out = nil |
| 470 | } else { |
| 471 | *out = new(int32) |
| 472 | **out = **in |
| 473 | } |
| 474 | } |
| 475 | return |
| 476 | } |
| 477 | |
| 478 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec. |
| 479 | func (in *DeploymentSpec) DeepCopy() *DeploymentSpec { |
| 480 | if in == nil { |
| 481 | return nil |
| 482 | } |
| 483 | out := new(DeploymentSpec) |
| 484 | in.DeepCopyInto(out) |
| 485 | return out |
| 486 | } |
| 487 | |
| 488 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 489 | func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus) { |
| 490 | *out = *in |
| 491 | if in.Conditions != nil { |
| 492 | in, out := &in.Conditions, &out.Conditions |
| 493 | *out = make([]DeploymentCondition, len(*in)) |
| 494 | for i := range *in { |
| 495 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 496 | } |
| 497 | } |
| 498 | if in.CollisionCount != nil { |
| 499 | in, out := &in.CollisionCount, &out.CollisionCount |
| 500 | if *in == nil { |
| 501 | *out = nil |
| 502 | } else { |
| 503 | *out = new(int32) |
| 504 | **out = **in |
| 505 | } |
| 506 | } |
| 507 | return |
| 508 | } |
| 509 | |
| 510 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus. |
| 511 | func (in *DeploymentStatus) DeepCopy() *DeploymentStatus { |
| 512 | if in == nil { |
| 513 | return nil |
| 514 | } |
| 515 | out := new(DeploymentStatus) |
| 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 *DeploymentStrategy) DeepCopyInto(out *DeploymentStrategy) { |
| 522 | *out = *in |
| 523 | if in.RollingUpdate != nil { |
| 524 | in, out := &in.RollingUpdate, &out.RollingUpdate |
| 525 | if *in == nil { |
| 526 | *out = nil |
| 527 | } else { |
| 528 | *out = new(RollingUpdateDeployment) |
| 529 | (*in).DeepCopyInto(*out) |
| 530 | } |
| 531 | } |
| 532 | return |
| 533 | } |
| 534 | |
| 535 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStrategy. |
| 536 | func (in *DeploymentStrategy) DeepCopy() *DeploymentStrategy { |
| 537 | if in == nil { |
| 538 | return nil |
| 539 | } |
| 540 | out := new(DeploymentStrategy) |
| 541 | in.DeepCopyInto(out) |
| 542 | return out |
| 543 | } |
| 544 | |
| 545 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 546 | func (in *FSGroupStrategyOptions) DeepCopyInto(out *FSGroupStrategyOptions) { |
| 547 | *out = *in |
| 548 | if in.Ranges != nil { |
| 549 | in, out := &in.Ranges, &out.Ranges |
| 550 | *out = make([]IDRange, len(*in)) |
| 551 | copy(*out, *in) |
| 552 | } |
| 553 | return |
| 554 | } |
| 555 | |
| 556 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSGroupStrategyOptions. |
| 557 | func (in *FSGroupStrategyOptions) DeepCopy() *FSGroupStrategyOptions { |
| 558 | if in == nil { |
| 559 | return nil |
| 560 | } |
| 561 | out := new(FSGroupStrategyOptions) |
| 562 | in.DeepCopyInto(out) |
| 563 | return out |
| 564 | } |
| 565 | |
| 566 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 567 | func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) { |
| 568 | *out = *in |
| 569 | out.Backend = in.Backend |
| 570 | return |
| 571 | } |
| 572 | |
| 573 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath. |
| 574 | func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath { |
| 575 | if in == nil { |
| 576 | return nil |
| 577 | } |
| 578 | out := new(HTTPIngressPath) |
| 579 | in.DeepCopyInto(out) |
| 580 | return out |
| 581 | } |
| 582 | |
| 583 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 584 | func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue) { |
| 585 | *out = *in |
| 586 | if in.Paths != nil { |
| 587 | in, out := &in.Paths, &out.Paths |
| 588 | *out = make([]HTTPIngressPath, len(*in)) |
| 589 | copy(*out, *in) |
| 590 | } |
| 591 | return |
| 592 | } |
| 593 | |
| 594 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue. |
| 595 | func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue { |
| 596 | if in == nil { |
| 597 | return nil |
| 598 | } |
| 599 | out := new(HTTPIngressRuleValue) |
| 600 | in.DeepCopyInto(out) |
| 601 | return out |
| 602 | } |
| 603 | |
| 604 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 605 | func (in *HostPortRange) DeepCopyInto(out *HostPortRange) { |
| 606 | *out = *in |
| 607 | return |
| 608 | } |
| 609 | |
| 610 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortRange. |
| 611 | func (in *HostPortRange) DeepCopy() *HostPortRange { |
| 612 | if in == nil { |
| 613 | return nil |
| 614 | } |
| 615 | out := new(HostPortRange) |
| 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 *IDRange) DeepCopyInto(out *IDRange) { |
| 622 | *out = *in |
| 623 | return |
| 624 | } |
| 625 | |
| 626 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IDRange. |
| 627 | func (in *IDRange) DeepCopy() *IDRange { |
| 628 | if in == nil { |
| 629 | return nil |
| 630 | } |
| 631 | out := new(IDRange) |
| 632 | in.DeepCopyInto(out) |
| 633 | return out |
| 634 | } |
| 635 | |
| 636 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 637 | func (in *IPBlock) DeepCopyInto(out *IPBlock) { |
| 638 | *out = *in |
| 639 | if in.Except != nil { |
| 640 | in, out := &in.Except, &out.Except |
| 641 | *out = make([]string, len(*in)) |
| 642 | copy(*out, *in) |
| 643 | } |
| 644 | return |
| 645 | } |
| 646 | |
| 647 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlock. |
| 648 | func (in *IPBlock) DeepCopy() *IPBlock { |
| 649 | if in == nil { |
| 650 | return nil |
| 651 | } |
| 652 | out := new(IPBlock) |
| 653 | in.DeepCopyInto(out) |
| 654 | return out |
| 655 | } |
| 656 | |
| 657 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 658 | func (in *Ingress) DeepCopyInto(out *Ingress) { |
| 659 | *out = *in |
| 660 | out.TypeMeta = in.TypeMeta |
| 661 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 662 | in.Spec.DeepCopyInto(&out.Spec) |
| 663 | in.Status.DeepCopyInto(&out.Status) |
| 664 | return |
| 665 | } |
| 666 | |
| 667 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress. |
| 668 | func (in *Ingress) DeepCopy() *Ingress { |
| 669 | if in == nil { |
| 670 | return nil |
| 671 | } |
| 672 | out := new(Ingress) |
| 673 | in.DeepCopyInto(out) |
| 674 | return out |
| 675 | } |
| 676 | |
| 677 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 678 | func (in *Ingress) DeepCopyObject() runtime.Object { |
| 679 | if c := in.DeepCopy(); c != nil { |
| 680 | return c |
| 681 | } |
| 682 | return nil |
| 683 | } |
| 684 | |
| 685 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 686 | func (in *IngressBackend) DeepCopyInto(out *IngressBackend) { |
| 687 | *out = *in |
| 688 | out.ServicePort = in.ServicePort |
| 689 | return |
| 690 | } |
| 691 | |
| 692 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend. |
| 693 | func (in *IngressBackend) DeepCopy() *IngressBackend { |
| 694 | if in == nil { |
| 695 | return nil |
| 696 | } |
| 697 | out := new(IngressBackend) |
| 698 | in.DeepCopyInto(out) |
| 699 | return out |
| 700 | } |
| 701 | |
| 702 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 703 | func (in *IngressList) DeepCopyInto(out *IngressList) { |
| 704 | *out = *in |
| 705 | out.TypeMeta = in.TypeMeta |
| 706 | out.ListMeta = in.ListMeta |
| 707 | if in.Items != nil { |
| 708 | in, out := &in.Items, &out.Items |
| 709 | *out = make([]Ingress, len(*in)) |
| 710 | for i := range *in { |
| 711 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 712 | } |
| 713 | } |
| 714 | return |
| 715 | } |
| 716 | |
| 717 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList. |
| 718 | func (in *IngressList) DeepCopy() *IngressList { |
| 719 | if in == nil { |
| 720 | return nil |
| 721 | } |
| 722 | out := new(IngressList) |
| 723 | in.DeepCopyInto(out) |
| 724 | return out |
| 725 | } |
| 726 | |
| 727 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 728 | func (in *IngressList) DeepCopyObject() runtime.Object { |
| 729 | if c := in.DeepCopy(); c != nil { |
| 730 | return c |
| 731 | } |
| 732 | return nil |
| 733 | } |
| 734 | |
| 735 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 736 | func (in *IngressRule) DeepCopyInto(out *IngressRule) { |
| 737 | *out = *in |
| 738 | in.IngressRuleValue.DeepCopyInto(&out.IngressRuleValue) |
| 739 | return |
| 740 | } |
| 741 | |
| 742 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule. |
| 743 | func (in *IngressRule) DeepCopy() *IngressRule { |
| 744 | if in == nil { |
| 745 | return nil |
| 746 | } |
| 747 | out := new(IngressRule) |
| 748 | in.DeepCopyInto(out) |
| 749 | return out |
| 750 | } |
| 751 | |
| 752 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 753 | func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue) { |
| 754 | *out = *in |
| 755 | if in.HTTP != nil { |
| 756 | in, out := &in.HTTP, &out.HTTP |
| 757 | if *in == nil { |
| 758 | *out = nil |
| 759 | } else { |
| 760 | *out = new(HTTPIngressRuleValue) |
| 761 | (*in).DeepCopyInto(*out) |
| 762 | } |
| 763 | } |
| 764 | return |
| 765 | } |
| 766 | |
| 767 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue. |
| 768 | func (in *IngressRuleValue) DeepCopy() *IngressRuleValue { |
| 769 | if in == nil { |
| 770 | return nil |
| 771 | } |
| 772 | out := new(IngressRuleValue) |
| 773 | in.DeepCopyInto(out) |
| 774 | return out |
| 775 | } |
| 776 | |
| 777 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 778 | func (in *IngressSpec) DeepCopyInto(out *IngressSpec) { |
| 779 | *out = *in |
| 780 | if in.Backend != nil { |
| 781 | in, out := &in.Backend, &out.Backend |
| 782 | if *in == nil { |
| 783 | *out = nil |
| 784 | } else { |
| 785 | *out = new(IngressBackend) |
| 786 | **out = **in |
| 787 | } |
| 788 | } |
| 789 | if in.TLS != nil { |
| 790 | in, out := &in.TLS, &out.TLS |
| 791 | *out = make([]IngressTLS, len(*in)) |
| 792 | for i := range *in { |
| 793 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 794 | } |
| 795 | } |
| 796 | if in.Rules != nil { |
| 797 | in, out := &in.Rules, &out.Rules |
| 798 | *out = make([]IngressRule, len(*in)) |
| 799 | for i := range *in { |
| 800 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 801 | } |
| 802 | } |
| 803 | return |
| 804 | } |
| 805 | |
| 806 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec. |
| 807 | func (in *IngressSpec) DeepCopy() *IngressSpec { |
| 808 | if in == nil { |
| 809 | return nil |
| 810 | } |
| 811 | out := new(IngressSpec) |
| 812 | in.DeepCopyInto(out) |
| 813 | return out |
| 814 | } |
| 815 | |
| 816 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 817 | func (in *IngressStatus) DeepCopyInto(out *IngressStatus) { |
| 818 | *out = *in |
| 819 | in.LoadBalancer.DeepCopyInto(&out.LoadBalancer) |
| 820 | return |
| 821 | } |
| 822 | |
| 823 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus. |
| 824 | func (in *IngressStatus) DeepCopy() *IngressStatus { |
| 825 | if in == nil { |
| 826 | return nil |
| 827 | } |
| 828 | out := new(IngressStatus) |
| 829 | in.DeepCopyInto(out) |
| 830 | return out |
| 831 | } |
| 832 | |
| 833 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 834 | func (in *IngressTLS) DeepCopyInto(out *IngressTLS) { |
| 835 | *out = *in |
| 836 | if in.Hosts != nil { |
| 837 | in, out := &in.Hosts, &out.Hosts |
| 838 | *out = make([]string, len(*in)) |
| 839 | copy(*out, *in) |
| 840 | } |
| 841 | return |
| 842 | } |
| 843 | |
| 844 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS. |
| 845 | func (in *IngressTLS) DeepCopy() *IngressTLS { |
| 846 | if in == nil { |
| 847 | return nil |
| 848 | } |
| 849 | out := new(IngressTLS) |
| 850 | in.DeepCopyInto(out) |
| 851 | return out |
| 852 | } |
| 853 | |
| 854 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 855 | func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy) { |
| 856 | *out = *in |
| 857 | out.TypeMeta = in.TypeMeta |
| 858 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 859 | in.Spec.DeepCopyInto(&out.Spec) |
| 860 | return |
| 861 | } |
| 862 | |
| 863 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy. |
| 864 | func (in *NetworkPolicy) DeepCopy() *NetworkPolicy { |
| 865 | if in == nil { |
| 866 | return nil |
| 867 | } |
| 868 | out := new(NetworkPolicy) |
| 869 | in.DeepCopyInto(out) |
| 870 | return out |
| 871 | } |
| 872 | |
| 873 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 874 | func (in *NetworkPolicy) DeepCopyObject() runtime.Object { |
| 875 | if c := in.DeepCopy(); c != nil { |
| 876 | return c |
| 877 | } |
| 878 | return nil |
| 879 | } |
| 880 | |
| 881 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 882 | func (in *NetworkPolicyEgressRule) DeepCopyInto(out *NetworkPolicyEgressRule) { |
| 883 | *out = *in |
| 884 | if in.Ports != nil { |
| 885 | in, out := &in.Ports, &out.Ports |
| 886 | *out = make([]NetworkPolicyPort, len(*in)) |
| 887 | for i := range *in { |
| 888 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 889 | } |
| 890 | } |
| 891 | if in.To != nil { |
| 892 | in, out := &in.To, &out.To |
| 893 | *out = make([]NetworkPolicyPeer, len(*in)) |
| 894 | for i := range *in { |
| 895 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 896 | } |
| 897 | } |
| 898 | return |
| 899 | } |
| 900 | |
| 901 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyEgressRule. |
| 902 | func (in *NetworkPolicyEgressRule) DeepCopy() *NetworkPolicyEgressRule { |
| 903 | if in == nil { |
| 904 | return nil |
| 905 | } |
| 906 | out := new(NetworkPolicyEgressRule) |
| 907 | in.DeepCopyInto(out) |
| 908 | return out |
| 909 | } |
| 910 | |
| 911 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 912 | func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule) { |
| 913 | *out = *in |
| 914 | if in.Ports != nil { |
| 915 | in, out := &in.Ports, &out.Ports |
| 916 | *out = make([]NetworkPolicyPort, len(*in)) |
| 917 | for i := range *in { |
| 918 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 919 | } |
| 920 | } |
| 921 | if in.From != nil { |
| 922 | in, out := &in.From, &out.From |
| 923 | *out = make([]NetworkPolicyPeer, len(*in)) |
| 924 | for i := range *in { |
| 925 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 926 | } |
| 927 | } |
| 928 | return |
| 929 | } |
| 930 | |
| 931 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule. |
| 932 | func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule { |
| 933 | if in == nil { |
| 934 | return nil |
| 935 | } |
| 936 | out := new(NetworkPolicyIngressRule) |
| 937 | in.DeepCopyInto(out) |
| 938 | return out |
| 939 | } |
| 940 | |
| 941 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 942 | func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList) { |
| 943 | *out = *in |
| 944 | out.TypeMeta = in.TypeMeta |
| 945 | out.ListMeta = in.ListMeta |
| 946 | if in.Items != nil { |
| 947 | in, out := &in.Items, &out.Items |
| 948 | *out = make([]NetworkPolicy, len(*in)) |
| 949 | for i := range *in { |
| 950 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 951 | } |
| 952 | } |
| 953 | return |
| 954 | } |
| 955 | |
| 956 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList. |
| 957 | func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList { |
| 958 | if in == nil { |
| 959 | return nil |
| 960 | } |
| 961 | out := new(NetworkPolicyList) |
| 962 | in.DeepCopyInto(out) |
| 963 | return out |
| 964 | } |
| 965 | |
| 966 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 967 | func (in *NetworkPolicyList) DeepCopyObject() runtime.Object { |
| 968 | if c := in.DeepCopy(); c != nil { |
| 969 | return c |
| 970 | } |
| 971 | return nil |
| 972 | } |
| 973 | |
| 974 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 975 | func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer) { |
| 976 | *out = *in |
| 977 | if in.PodSelector != nil { |
| 978 | in, out := &in.PodSelector, &out.PodSelector |
| 979 | if *in == nil { |
| 980 | *out = nil |
| 981 | } else { |
| 982 | *out = new(v1.LabelSelector) |
| 983 | (*in).DeepCopyInto(*out) |
| 984 | } |
| 985 | } |
| 986 | if in.NamespaceSelector != nil { |
| 987 | in, out := &in.NamespaceSelector, &out.NamespaceSelector |
| 988 | if *in == nil { |
| 989 | *out = nil |
| 990 | } else { |
| 991 | *out = new(v1.LabelSelector) |
| 992 | (*in).DeepCopyInto(*out) |
| 993 | } |
| 994 | } |
| 995 | if in.IPBlock != nil { |
| 996 | in, out := &in.IPBlock, &out.IPBlock |
| 997 | if *in == nil { |
| 998 | *out = nil |
| 999 | } else { |
| 1000 | *out = new(IPBlock) |
| 1001 | (*in).DeepCopyInto(*out) |
| 1002 | } |
| 1003 | } |
| 1004 | return |
| 1005 | } |
| 1006 | |
| 1007 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer. |
| 1008 | func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer { |
| 1009 | if in == nil { |
| 1010 | return nil |
| 1011 | } |
| 1012 | out := new(NetworkPolicyPeer) |
| 1013 | in.DeepCopyInto(out) |
| 1014 | return out |
| 1015 | } |
| 1016 | |
| 1017 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1018 | func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort) { |
| 1019 | *out = *in |
| 1020 | if in.Protocol != nil { |
| 1021 | in, out := &in.Protocol, &out.Protocol |
| 1022 | if *in == nil { |
| 1023 | *out = nil |
| 1024 | } else { |
| 1025 | *out = new(core_v1.Protocol) |
| 1026 | **out = **in |
| 1027 | } |
| 1028 | } |
| 1029 | if in.Port != nil { |
| 1030 | in, out := &in.Port, &out.Port |
| 1031 | if *in == nil { |
| 1032 | *out = nil |
| 1033 | } else { |
| 1034 | *out = new(intstr.IntOrString) |
| 1035 | **out = **in |
| 1036 | } |
| 1037 | } |
| 1038 | return |
| 1039 | } |
| 1040 | |
| 1041 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort. |
| 1042 | func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort { |
| 1043 | if in == nil { |
| 1044 | return nil |
| 1045 | } |
| 1046 | out := new(NetworkPolicyPort) |
| 1047 | in.DeepCopyInto(out) |
| 1048 | return out |
| 1049 | } |
| 1050 | |
| 1051 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1052 | func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) { |
| 1053 | *out = *in |
| 1054 | in.PodSelector.DeepCopyInto(&out.PodSelector) |
| 1055 | if in.Ingress != nil { |
| 1056 | in, out := &in.Ingress, &out.Ingress |
| 1057 | *out = make([]NetworkPolicyIngressRule, len(*in)) |
| 1058 | for i := range *in { |
| 1059 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1060 | } |
| 1061 | } |
| 1062 | if in.Egress != nil { |
| 1063 | in, out := &in.Egress, &out.Egress |
| 1064 | *out = make([]NetworkPolicyEgressRule, len(*in)) |
| 1065 | for i := range *in { |
| 1066 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1067 | } |
| 1068 | } |
| 1069 | if in.PolicyTypes != nil { |
| 1070 | in, out := &in.PolicyTypes, &out.PolicyTypes |
| 1071 | *out = make([]PolicyType, len(*in)) |
| 1072 | copy(*out, *in) |
| 1073 | } |
| 1074 | return |
| 1075 | } |
| 1076 | |
| 1077 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec. |
| 1078 | func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec { |
| 1079 | if in == nil { |
| 1080 | return nil |
| 1081 | } |
| 1082 | out := new(NetworkPolicySpec) |
| 1083 | in.DeepCopyInto(out) |
| 1084 | return out |
| 1085 | } |
| 1086 | |
| 1087 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1088 | func (in *PodSecurityPolicy) DeepCopyInto(out *PodSecurityPolicy) { |
| 1089 | *out = *in |
| 1090 | out.TypeMeta = in.TypeMeta |
| 1091 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 1092 | in.Spec.DeepCopyInto(&out.Spec) |
| 1093 | return |
| 1094 | } |
| 1095 | |
| 1096 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicy. |
| 1097 | func (in *PodSecurityPolicy) DeepCopy() *PodSecurityPolicy { |
| 1098 | if in == nil { |
| 1099 | return nil |
| 1100 | } |
| 1101 | out := new(PodSecurityPolicy) |
| 1102 | in.DeepCopyInto(out) |
| 1103 | return out |
| 1104 | } |
| 1105 | |
| 1106 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1107 | func (in *PodSecurityPolicy) DeepCopyObject() runtime.Object { |
| 1108 | if c := in.DeepCopy(); c != nil { |
| 1109 | return c |
| 1110 | } |
| 1111 | return nil |
| 1112 | } |
| 1113 | |
| 1114 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1115 | func (in *PodSecurityPolicyList) DeepCopyInto(out *PodSecurityPolicyList) { |
| 1116 | *out = *in |
| 1117 | out.TypeMeta = in.TypeMeta |
| 1118 | out.ListMeta = in.ListMeta |
| 1119 | if in.Items != nil { |
| 1120 | in, out := &in.Items, &out.Items |
| 1121 | *out = make([]PodSecurityPolicy, len(*in)) |
| 1122 | for i := range *in { |
| 1123 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1124 | } |
| 1125 | } |
| 1126 | return |
| 1127 | } |
| 1128 | |
| 1129 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyList. |
| 1130 | func (in *PodSecurityPolicyList) DeepCopy() *PodSecurityPolicyList { |
| 1131 | if in == nil { |
| 1132 | return nil |
| 1133 | } |
| 1134 | out := new(PodSecurityPolicyList) |
| 1135 | in.DeepCopyInto(out) |
| 1136 | return out |
| 1137 | } |
| 1138 | |
| 1139 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1140 | func (in *PodSecurityPolicyList) DeepCopyObject() runtime.Object { |
| 1141 | if c := in.DeepCopy(); c != nil { |
| 1142 | return c |
| 1143 | } |
| 1144 | return nil |
| 1145 | } |
| 1146 | |
| 1147 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1148 | func (in *PodSecurityPolicySpec) DeepCopyInto(out *PodSecurityPolicySpec) { |
| 1149 | *out = *in |
| 1150 | if in.DefaultAddCapabilities != nil { |
| 1151 | in, out := &in.DefaultAddCapabilities, &out.DefaultAddCapabilities |
| 1152 | *out = make([]core_v1.Capability, len(*in)) |
| 1153 | copy(*out, *in) |
| 1154 | } |
| 1155 | if in.RequiredDropCapabilities != nil { |
| 1156 | in, out := &in.RequiredDropCapabilities, &out.RequiredDropCapabilities |
| 1157 | *out = make([]core_v1.Capability, len(*in)) |
| 1158 | copy(*out, *in) |
| 1159 | } |
| 1160 | if in.AllowedCapabilities != nil { |
| 1161 | in, out := &in.AllowedCapabilities, &out.AllowedCapabilities |
| 1162 | *out = make([]core_v1.Capability, len(*in)) |
| 1163 | copy(*out, *in) |
| 1164 | } |
| 1165 | if in.Volumes != nil { |
| 1166 | in, out := &in.Volumes, &out.Volumes |
| 1167 | *out = make([]FSType, len(*in)) |
| 1168 | copy(*out, *in) |
| 1169 | } |
| 1170 | if in.HostPorts != nil { |
| 1171 | in, out := &in.HostPorts, &out.HostPorts |
| 1172 | *out = make([]HostPortRange, len(*in)) |
| 1173 | copy(*out, *in) |
| 1174 | } |
| 1175 | in.SELinux.DeepCopyInto(&out.SELinux) |
| 1176 | in.RunAsUser.DeepCopyInto(&out.RunAsUser) |
| 1177 | in.SupplementalGroups.DeepCopyInto(&out.SupplementalGroups) |
| 1178 | in.FSGroup.DeepCopyInto(&out.FSGroup) |
| 1179 | if in.DefaultAllowPrivilegeEscalation != nil { |
| 1180 | in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation |
| 1181 | if *in == nil { |
| 1182 | *out = nil |
| 1183 | } else { |
| 1184 | *out = new(bool) |
| 1185 | **out = **in |
| 1186 | } |
| 1187 | } |
| 1188 | if in.AllowPrivilegeEscalation != nil { |
| 1189 | in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation |
| 1190 | if *in == nil { |
| 1191 | *out = nil |
| 1192 | } else { |
| 1193 | *out = new(bool) |
| 1194 | **out = **in |
| 1195 | } |
| 1196 | } |
| 1197 | if in.AllowedHostPaths != nil { |
| 1198 | in, out := &in.AllowedHostPaths, &out.AllowedHostPaths |
| 1199 | *out = make([]AllowedHostPath, len(*in)) |
| 1200 | copy(*out, *in) |
| 1201 | } |
| 1202 | if in.AllowedFlexVolumes != nil { |
| 1203 | in, out := &in.AllowedFlexVolumes, &out.AllowedFlexVolumes |
| 1204 | *out = make([]AllowedFlexVolume, len(*in)) |
| 1205 | copy(*out, *in) |
| 1206 | } |
| 1207 | if in.AllowedUnsafeSysctls != nil { |
| 1208 | in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls |
| 1209 | *out = make([]string, len(*in)) |
| 1210 | copy(*out, *in) |
| 1211 | } |
| 1212 | if in.ForbiddenSysctls != nil { |
| 1213 | in, out := &in.ForbiddenSysctls, &out.ForbiddenSysctls |
| 1214 | *out = make([]string, len(*in)) |
| 1215 | copy(*out, *in) |
| 1216 | } |
| 1217 | return |
| 1218 | } |
| 1219 | |
| 1220 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySpec. |
| 1221 | func (in *PodSecurityPolicySpec) DeepCopy() *PodSecurityPolicySpec { |
| 1222 | if in == nil { |
| 1223 | return nil |
| 1224 | } |
| 1225 | out := new(PodSecurityPolicySpec) |
| 1226 | in.DeepCopyInto(out) |
| 1227 | return out |
| 1228 | } |
| 1229 | |
| 1230 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1231 | func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet) { |
| 1232 | *out = *in |
| 1233 | out.TypeMeta = in.TypeMeta |
| 1234 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 1235 | in.Spec.DeepCopyInto(&out.Spec) |
| 1236 | in.Status.DeepCopyInto(&out.Status) |
| 1237 | return |
| 1238 | } |
| 1239 | |
| 1240 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet. |
| 1241 | func (in *ReplicaSet) DeepCopy() *ReplicaSet { |
| 1242 | if in == nil { |
| 1243 | return nil |
| 1244 | } |
| 1245 | out := new(ReplicaSet) |
| 1246 | in.DeepCopyInto(out) |
| 1247 | return out |
| 1248 | } |
| 1249 | |
| 1250 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1251 | func (in *ReplicaSet) DeepCopyObject() runtime.Object { |
| 1252 | if c := in.DeepCopy(); c != nil { |
| 1253 | return c |
| 1254 | } |
| 1255 | return nil |
| 1256 | } |
| 1257 | |
| 1258 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1259 | func (in *ReplicaSetCondition) DeepCopyInto(out *ReplicaSetCondition) { |
| 1260 | *out = *in |
| 1261 | in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime) |
| 1262 | return |
| 1263 | } |
| 1264 | |
| 1265 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetCondition. |
| 1266 | func (in *ReplicaSetCondition) DeepCopy() *ReplicaSetCondition { |
| 1267 | if in == nil { |
| 1268 | return nil |
| 1269 | } |
| 1270 | out := new(ReplicaSetCondition) |
| 1271 | in.DeepCopyInto(out) |
| 1272 | return out |
| 1273 | } |
| 1274 | |
| 1275 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1276 | func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList) { |
| 1277 | *out = *in |
| 1278 | out.TypeMeta = in.TypeMeta |
| 1279 | out.ListMeta = in.ListMeta |
| 1280 | if in.Items != nil { |
| 1281 | in, out := &in.Items, &out.Items |
| 1282 | *out = make([]ReplicaSet, len(*in)) |
| 1283 | for i := range *in { |
| 1284 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1285 | } |
| 1286 | } |
| 1287 | return |
| 1288 | } |
| 1289 | |
| 1290 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList. |
| 1291 | func (in *ReplicaSetList) DeepCopy() *ReplicaSetList { |
| 1292 | if in == nil { |
| 1293 | return nil |
| 1294 | } |
| 1295 | out := new(ReplicaSetList) |
| 1296 | in.DeepCopyInto(out) |
| 1297 | return out |
| 1298 | } |
| 1299 | |
| 1300 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1301 | func (in *ReplicaSetList) DeepCopyObject() runtime.Object { |
| 1302 | if c := in.DeepCopy(); c != nil { |
| 1303 | return c |
| 1304 | } |
| 1305 | return nil |
| 1306 | } |
| 1307 | |
| 1308 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1309 | func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec) { |
| 1310 | *out = *in |
| 1311 | if in.Replicas != nil { |
| 1312 | in, out := &in.Replicas, &out.Replicas |
| 1313 | if *in == nil { |
| 1314 | *out = nil |
| 1315 | } else { |
| 1316 | *out = new(int32) |
| 1317 | **out = **in |
| 1318 | } |
| 1319 | } |
| 1320 | if in.Selector != nil { |
| 1321 | in, out := &in.Selector, &out.Selector |
| 1322 | if *in == nil { |
| 1323 | *out = nil |
| 1324 | } else { |
| 1325 | *out = new(v1.LabelSelector) |
| 1326 | (*in).DeepCopyInto(*out) |
| 1327 | } |
| 1328 | } |
| 1329 | in.Template.DeepCopyInto(&out.Template) |
| 1330 | return |
| 1331 | } |
| 1332 | |
| 1333 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec. |
| 1334 | func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec { |
| 1335 | if in == nil { |
| 1336 | return nil |
| 1337 | } |
| 1338 | out := new(ReplicaSetSpec) |
| 1339 | in.DeepCopyInto(out) |
| 1340 | return out |
| 1341 | } |
| 1342 | |
| 1343 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1344 | func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus) { |
| 1345 | *out = *in |
| 1346 | if in.Conditions != nil { |
| 1347 | in, out := &in.Conditions, &out.Conditions |
| 1348 | *out = make([]ReplicaSetCondition, len(*in)) |
| 1349 | for i := range *in { |
| 1350 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 1351 | } |
| 1352 | } |
| 1353 | return |
| 1354 | } |
| 1355 | |
| 1356 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus. |
| 1357 | func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus { |
| 1358 | if in == nil { |
| 1359 | return nil |
| 1360 | } |
| 1361 | out := new(ReplicaSetStatus) |
| 1362 | in.DeepCopyInto(out) |
| 1363 | return out |
| 1364 | } |
| 1365 | |
| 1366 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1367 | func (in *ReplicationControllerDummy) DeepCopyInto(out *ReplicationControllerDummy) { |
| 1368 | *out = *in |
| 1369 | out.TypeMeta = in.TypeMeta |
| 1370 | return |
| 1371 | } |
| 1372 | |
| 1373 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerDummy. |
| 1374 | func (in *ReplicationControllerDummy) DeepCopy() *ReplicationControllerDummy { |
| 1375 | if in == nil { |
| 1376 | return nil |
| 1377 | } |
| 1378 | out := new(ReplicationControllerDummy) |
| 1379 | in.DeepCopyInto(out) |
| 1380 | return out |
| 1381 | } |
| 1382 | |
| 1383 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1384 | func (in *ReplicationControllerDummy) DeepCopyObject() runtime.Object { |
| 1385 | if c := in.DeepCopy(); c != nil { |
| 1386 | return c |
| 1387 | } |
| 1388 | return nil |
| 1389 | } |
| 1390 | |
| 1391 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1392 | func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig) { |
| 1393 | *out = *in |
| 1394 | return |
| 1395 | } |
| 1396 | |
| 1397 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig. |
| 1398 | func (in *RollbackConfig) DeepCopy() *RollbackConfig { |
| 1399 | if in == nil { |
| 1400 | return nil |
| 1401 | } |
| 1402 | out := new(RollbackConfig) |
| 1403 | in.DeepCopyInto(out) |
| 1404 | return out |
| 1405 | } |
| 1406 | |
| 1407 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1408 | func (in *RollingUpdateDaemonSet) DeepCopyInto(out *RollingUpdateDaemonSet) { |
| 1409 | *out = *in |
| 1410 | if in.MaxUnavailable != nil { |
| 1411 | in, out := &in.MaxUnavailable, &out.MaxUnavailable |
| 1412 | if *in == nil { |
| 1413 | *out = nil |
| 1414 | } else { |
| 1415 | *out = new(intstr.IntOrString) |
| 1416 | **out = **in |
| 1417 | } |
| 1418 | } |
| 1419 | return |
| 1420 | } |
| 1421 | |
| 1422 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDaemonSet. |
| 1423 | func (in *RollingUpdateDaemonSet) DeepCopy() *RollingUpdateDaemonSet { |
| 1424 | if in == nil { |
| 1425 | return nil |
| 1426 | } |
| 1427 | out := new(RollingUpdateDaemonSet) |
| 1428 | in.DeepCopyInto(out) |
| 1429 | return out |
| 1430 | } |
| 1431 | |
| 1432 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1433 | func (in *RollingUpdateDeployment) DeepCopyInto(out *RollingUpdateDeployment) { |
| 1434 | *out = *in |
| 1435 | if in.MaxUnavailable != nil { |
| 1436 | in, out := &in.MaxUnavailable, &out.MaxUnavailable |
| 1437 | if *in == nil { |
| 1438 | *out = nil |
| 1439 | } else { |
| 1440 | *out = new(intstr.IntOrString) |
| 1441 | **out = **in |
| 1442 | } |
| 1443 | } |
| 1444 | if in.MaxSurge != nil { |
| 1445 | in, out := &in.MaxSurge, &out.MaxSurge |
| 1446 | if *in == nil { |
| 1447 | *out = nil |
| 1448 | } else { |
| 1449 | *out = new(intstr.IntOrString) |
| 1450 | **out = **in |
| 1451 | } |
| 1452 | } |
| 1453 | return |
| 1454 | } |
| 1455 | |
| 1456 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollingUpdateDeployment. |
| 1457 | func (in *RollingUpdateDeployment) DeepCopy() *RollingUpdateDeployment { |
| 1458 | if in == nil { |
| 1459 | return nil |
| 1460 | } |
| 1461 | out := new(RollingUpdateDeployment) |
| 1462 | in.DeepCopyInto(out) |
| 1463 | return out |
| 1464 | } |
| 1465 | |
| 1466 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1467 | func (in *RunAsUserStrategyOptions) DeepCopyInto(out *RunAsUserStrategyOptions) { |
| 1468 | *out = *in |
| 1469 | if in.Ranges != nil { |
| 1470 | in, out := &in.Ranges, &out.Ranges |
| 1471 | *out = make([]IDRange, len(*in)) |
| 1472 | copy(*out, *in) |
| 1473 | } |
| 1474 | return |
| 1475 | } |
| 1476 | |
| 1477 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserStrategyOptions. |
| 1478 | func (in *RunAsUserStrategyOptions) DeepCopy() *RunAsUserStrategyOptions { |
| 1479 | if in == nil { |
| 1480 | return nil |
| 1481 | } |
| 1482 | out := new(RunAsUserStrategyOptions) |
| 1483 | in.DeepCopyInto(out) |
| 1484 | return out |
| 1485 | } |
| 1486 | |
| 1487 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1488 | func (in *SELinuxStrategyOptions) DeepCopyInto(out *SELinuxStrategyOptions) { |
| 1489 | *out = *in |
| 1490 | if in.SELinuxOptions != nil { |
| 1491 | in, out := &in.SELinuxOptions, &out.SELinuxOptions |
| 1492 | if *in == nil { |
| 1493 | *out = nil |
| 1494 | } else { |
| 1495 | *out = new(core_v1.SELinuxOptions) |
| 1496 | **out = **in |
| 1497 | } |
| 1498 | } |
| 1499 | return |
| 1500 | } |
| 1501 | |
| 1502 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxStrategyOptions. |
| 1503 | func (in *SELinuxStrategyOptions) DeepCopy() *SELinuxStrategyOptions { |
| 1504 | if in == nil { |
| 1505 | return nil |
| 1506 | } |
| 1507 | out := new(SELinuxStrategyOptions) |
| 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 *Scale) DeepCopyInto(out *Scale) { |
| 1514 | *out = *in |
| 1515 | out.TypeMeta = in.TypeMeta |
| 1516 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 1517 | out.Spec = in.Spec |
| 1518 | in.Status.DeepCopyInto(&out.Status) |
| 1519 | return |
| 1520 | } |
| 1521 | |
| 1522 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale. |
| 1523 | func (in *Scale) DeepCopy() *Scale { |
| 1524 | if in == nil { |
| 1525 | return nil |
| 1526 | } |
| 1527 | out := new(Scale) |
| 1528 | in.DeepCopyInto(out) |
| 1529 | return out |
| 1530 | } |
| 1531 | |
| 1532 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 1533 | func (in *Scale) DeepCopyObject() runtime.Object { |
| 1534 | if c := in.DeepCopy(); c != nil { |
| 1535 | return c |
| 1536 | } |
| 1537 | return nil |
| 1538 | } |
| 1539 | |
| 1540 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1541 | func (in *ScaleSpec) DeepCopyInto(out *ScaleSpec) { |
| 1542 | *out = *in |
| 1543 | return |
| 1544 | } |
| 1545 | |
| 1546 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSpec. |
| 1547 | func (in *ScaleSpec) DeepCopy() *ScaleSpec { |
| 1548 | if in == nil { |
| 1549 | return nil |
| 1550 | } |
| 1551 | out := new(ScaleSpec) |
| 1552 | in.DeepCopyInto(out) |
| 1553 | return out |
| 1554 | } |
| 1555 | |
| 1556 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1557 | func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus) { |
| 1558 | *out = *in |
| 1559 | if in.Selector != nil { |
| 1560 | in, out := &in.Selector, &out.Selector |
| 1561 | *out = make(map[string]string, len(*in)) |
| 1562 | for key, val := range *in { |
| 1563 | (*out)[key] = val |
| 1564 | } |
| 1565 | } |
| 1566 | return |
| 1567 | } |
| 1568 | |
| 1569 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus. |
| 1570 | func (in *ScaleStatus) DeepCopy() *ScaleStatus { |
| 1571 | if in == nil { |
| 1572 | return nil |
| 1573 | } |
| 1574 | out := new(ScaleStatus) |
| 1575 | in.DeepCopyInto(out) |
| 1576 | return out |
| 1577 | } |
| 1578 | |
| 1579 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 1580 | func (in *SupplementalGroupsStrategyOptions) DeepCopyInto(out *SupplementalGroupsStrategyOptions) { |
| 1581 | *out = *in |
| 1582 | if in.Ranges != nil { |
| 1583 | in, out := &in.Ranges, &out.Ranges |
| 1584 | *out = make([]IDRange, len(*in)) |
| 1585 | copy(*out, *in) |
| 1586 | } |
| 1587 | return |
| 1588 | } |
| 1589 | |
| 1590 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsStrategyOptions. |
| 1591 | func (in *SupplementalGroupsStrategyOptions) DeepCopy() *SupplementalGroupsStrategyOptions { |
| 1592 | if in == nil { |
| 1593 | return nil |
| 1594 | } |
| 1595 | out := new(SupplementalGroupsStrategyOptions) |
| 1596 | in.DeepCopyInto(out) |
| 1597 | return out |
| 1598 | } |