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