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