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 *Eviction) DeepCopyInto(out *Eviction) { |
| 64 | *out = *in |
| 65 | out.TypeMeta = in.TypeMeta |
| 66 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 67 | if in.DeleteOptions != nil { |
| 68 | in, out := &in.DeleteOptions, &out.DeleteOptions |
| 69 | *out = new(v1.DeleteOptions) |
| 70 | (*in).DeepCopyInto(*out) |
| 71 | } |
| 72 | return |
| 73 | } |
| 74 | |
| 75 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eviction. |
| 76 | func (in *Eviction) DeepCopy() *Eviction { |
| 77 | if in == nil { |
| 78 | return nil |
| 79 | } |
| 80 | out := new(Eviction) |
| 81 | in.DeepCopyInto(out) |
| 82 | return out |
| 83 | } |
| 84 | |
| 85 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 86 | func (in *Eviction) DeepCopyObject() runtime.Object { |
| 87 | if c := in.DeepCopy(); c != nil { |
| 88 | return c |
| 89 | } |
| 90 | return nil |
| 91 | } |
| 92 | |
| 93 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 94 | func (in *FSGroupStrategyOptions) DeepCopyInto(out *FSGroupStrategyOptions) { |
| 95 | *out = *in |
| 96 | if in.Ranges != nil { |
| 97 | in, out := &in.Ranges, &out.Ranges |
| 98 | *out = make([]IDRange, len(*in)) |
| 99 | copy(*out, *in) |
| 100 | } |
| 101 | return |
| 102 | } |
| 103 | |
| 104 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSGroupStrategyOptions. |
| 105 | func (in *FSGroupStrategyOptions) DeepCopy() *FSGroupStrategyOptions { |
| 106 | if in == nil { |
| 107 | return nil |
| 108 | } |
| 109 | out := new(FSGroupStrategyOptions) |
| 110 | in.DeepCopyInto(out) |
| 111 | return out |
| 112 | } |
| 113 | |
| 114 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 115 | func (in *HostPortRange) DeepCopyInto(out *HostPortRange) { |
| 116 | *out = *in |
| 117 | return |
| 118 | } |
| 119 | |
| 120 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostPortRange. |
| 121 | func (in *HostPortRange) DeepCopy() *HostPortRange { |
| 122 | if in == nil { |
| 123 | return nil |
| 124 | } |
| 125 | out := new(HostPortRange) |
| 126 | in.DeepCopyInto(out) |
| 127 | return out |
| 128 | } |
| 129 | |
| 130 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 131 | func (in *IDRange) DeepCopyInto(out *IDRange) { |
| 132 | *out = *in |
| 133 | return |
| 134 | } |
| 135 | |
| 136 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IDRange. |
| 137 | func (in *IDRange) DeepCopy() *IDRange { |
| 138 | if in == nil { |
| 139 | return nil |
| 140 | } |
| 141 | out := new(IDRange) |
| 142 | in.DeepCopyInto(out) |
| 143 | return out |
| 144 | } |
| 145 | |
| 146 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 147 | func (in *PodDisruptionBudget) DeepCopyInto(out *PodDisruptionBudget) { |
| 148 | *out = *in |
| 149 | out.TypeMeta = in.TypeMeta |
| 150 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 151 | in.Spec.DeepCopyInto(&out.Spec) |
| 152 | in.Status.DeepCopyInto(&out.Status) |
| 153 | return |
| 154 | } |
| 155 | |
| 156 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudget. |
| 157 | func (in *PodDisruptionBudget) DeepCopy() *PodDisruptionBudget { |
| 158 | if in == nil { |
| 159 | return nil |
| 160 | } |
| 161 | out := new(PodDisruptionBudget) |
| 162 | in.DeepCopyInto(out) |
| 163 | return out |
| 164 | } |
| 165 | |
| 166 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 167 | func (in *PodDisruptionBudget) DeepCopyObject() runtime.Object { |
| 168 | if c := in.DeepCopy(); c != nil { |
| 169 | return c |
| 170 | } |
| 171 | return nil |
| 172 | } |
| 173 | |
| 174 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 175 | func (in *PodDisruptionBudgetList) DeepCopyInto(out *PodDisruptionBudgetList) { |
| 176 | *out = *in |
| 177 | out.TypeMeta = in.TypeMeta |
| 178 | out.ListMeta = in.ListMeta |
| 179 | if in.Items != nil { |
| 180 | in, out := &in.Items, &out.Items |
| 181 | *out = make([]PodDisruptionBudget, len(*in)) |
| 182 | for i := range *in { |
| 183 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 184 | } |
| 185 | } |
| 186 | return |
| 187 | } |
| 188 | |
| 189 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetList. |
| 190 | func (in *PodDisruptionBudgetList) DeepCopy() *PodDisruptionBudgetList { |
| 191 | if in == nil { |
| 192 | return nil |
| 193 | } |
| 194 | out := new(PodDisruptionBudgetList) |
| 195 | in.DeepCopyInto(out) |
| 196 | return out |
| 197 | } |
| 198 | |
| 199 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 200 | func (in *PodDisruptionBudgetList) DeepCopyObject() runtime.Object { |
| 201 | if c := in.DeepCopy(); c != nil { |
| 202 | return c |
| 203 | } |
| 204 | return nil |
| 205 | } |
| 206 | |
| 207 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 208 | func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec) { |
| 209 | *out = *in |
| 210 | if in.MinAvailable != nil { |
| 211 | in, out := &in.MinAvailable, &out.MinAvailable |
| 212 | *out = new(intstr.IntOrString) |
| 213 | **out = **in |
| 214 | } |
| 215 | if in.Selector != nil { |
| 216 | in, out := &in.Selector, &out.Selector |
| 217 | *out = new(v1.LabelSelector) |
| 218 | (*in).DeepCopyInto(*out) |
| 219 | } |
| 220 | if in.MaxUnavailable != nil { |
| 221 | in, out := &in.MaxUnavailable, &out.MaxUnavailable |
| 222 | *out = new(intstr.IntOrString) |
| 223 | **out = **in |
| 224 | } |
| 225 | return |
| 226 | } |
| 227 | |
| 228 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec. |
| 229 | func (in *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec { |
| 230 | if in == nil { |
| 231 | return nil |
| 232 | } |
| 233 | out := new(PodDisruptionBudgetSpec) |
| 234 | in.DeepCopyInto(out) |
| 235 | return out |
| 236 | } |
| 237 | |
| 238 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 239 | func (in *PodDisruptionBudgetStatus) DeepCopyInto(out *PodDisruptionBudgetStatus) { |
| 240 | *out = *in |
| 241 | if in.DisruptedPods != nil { |
| 242 | in, out := &in.DisruptedPods, &out.DisruptedPods |
| 243 | *out = make(map[string]v1.Time, len(*in)) |
| 244 | for key, val := range *in { |
| 245 | (*out)[key] = *val.DeepCopy() |
| 246 | } |
| 247 | } |
| 248 | return |
| 249 | } |
| 250 | |
| 251 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetStatus. |
| 252 | func (in *PodDisruptionBudgetStatus) DeepCopy() *PodDisruptionBudgetStatus { |
| 253 | if in == nil { |
| 254 | return nil |
| 255 | } |
| 256 | out := new(PodDisruptionBudgetStatus) |
| 257 | in.DeepCopyInto(out) |
| 258 | return out |
| 259 | } |
| 260 | |
| 261 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 262 | func (in *PodSecurityPolicy) DeepCopyInto(out *PodSecurityPolicy) { |
| 263 | *out = *in |
| 264 | out.TypeMeta = in.TypeMeta |
| 265 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 266 | in.Spec.DeepCopyInto(&out.Spec) |
| 267 | return |
| 268 | } |
| 269 | |
| 270 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicy. |
| 271 | func (in *PodSecurityPolicy) DeepCopy() *PodSecurityPolicy { |
| 272 | if in == nil { |
| 273 | return nil |
| 274 | } |
| 275 | out := new(PodSecurityPolicy) |
| 276 | in.DeepCopyInto(out) |
| 277 | return out |
| 278 | } |
| 279 | |
| 280 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 281 | func (in *PodSecurityPolicy) DeepCopyObject() runtime.Object { |
| 282 | if c := in.DeepCopy(); c != nil { |
| 283 | return c |
| 284 | } |
| 285 | return nil |
| 286 | } |
| 287 | |
| 288 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 289 | func (in *PodSecurityPolicyList) DeepCopyInto(out *PodSecurityPolicyList) { |
| 290 | *out = *in |
| 291 | out.TypeMeta = in.TypeMeta |
| 292 | out.ListMeta = in.ListMeta |
| 293 | if in.Items != nil { |
| 294 | in, out := &in.Items, &out.Items |
| 295 | *out = make([]PodSecurityPolicy, len(*in)) |
| 296 | for i := range *in { |
| 297 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 298 | } |
| 299 | } |
| 300 | return |
| 301 | } |
| 302 | |
| 303 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicyList. |
| 304 | func (in *PodSecurityPolicyList) DeepCopy() *PodSecurityPolicyList { |
| 305 | if in == nil { |
| 306 | return nil |
| 307 | } |
| 308 | out := new(PodSecurityPolicyList) |
| 309 | in.DeepCopyInto(out) |
| 310 | return out |
| 311 | } |
| 312 | |
| 313 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 314 | func (in *PodSecurityPolicyList) DeepCopyObject() runtime.Object { |
| 315 | if c := in.DeepCopy(); c != nil { |
| 316 | return c |
| 317 | } |
| 318 | return nil |
| 319 | } |
| 320 | |
| 321 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 322 | func (in *PodSecurityPolicySpec) DeepCopyInto(out *PodSecurityPolicySpec) { |
| 323 | *out = *in |
| 324 | if in.DefaultAddCapabilities != nil { |
| 325 | in, out := &in.DefaultAddCapabilities, &out.DefaultAddCapabilities |
| 326 | *out = make([]corev1.Capability, len(*in)) |
| 327 | copy(*out, *in) |
| 328 | } |
| 329 | if in.RequiredDropCapabilities != nil { |
| 330 | in, out := &in.RequiredDropCapabilities, &out.RequiredDropCapabilities |
| 331 | *out = make([]corev1.Capability, len(*in)) |
| 332 | copy(*out, *in) |
| 333 | } |
| 334 | if in.AllowedCapabilities != nil { |
| 335 | in, out := &in.AllowedCapabilities, &out.AllowedCapabilities |
| 336 | *out = make([]corev1.Capability, len(*in)) |
| 337 | copy(*out, *in) |
| 338 | } |
| 339 | if in.Volumes != nil { |
| 340 | in, out := &in.Volumes, &out.Volumes |
| 341 | *out = make([]FSType, len(*in)) |
| 342 | copy(*out, *in) |
| 343 | } |
| 344 | if in.HostPorts != nil { |
| 345 | in, out := &in.HostPorts, &out.HostPorts |
| 346 | *out = make([]HostPortRange, len(*in)) |
| 347 | copy(*out, *in) |
| 348 | } |
| 349 | in.SELinux.DeepCopyInto(&out.SELinux) |
| 350 | in.RunAsUser.DeepCopyInto(&out.RunAsUser) |
| 351 | if in.RunAsGroup != nil { |
| 352 | in, out := &in.RunAsGroup, &out.RunAsGroup |
| 353 | *out = new(RunAsGroupStrategyOptions) |
| 354 | (*in).DeepCopyInto(*out) |
| 355 | } |
| 356 | in.SupplementalGroups.DeepCopyInto(&out.SupplementalGroups) |
| 357 | in.FSGroup.DeepCopyInto(&out.FSGroup) |
| 358 | if in.DefaultAllowPrivilegeEscalation != nil { |
| 359 | in, out := &in.DefaultAllowPrivilegeEscalation, &out.DefaultAllowPrivilegeEscalation |
| 360 | *out = new(bool) |
| 361 | **out = **in |
| 362 | } |
| 363 | if in.AllowPrivilegeEscalation != nil { |
| 364 | in, out := &in.AllowPrivilegeEscalation, &out.AllowPrivilegeEscalation |
| 365 | *out = new(bool) |
| 366 | **out = **in |
| 367 | } |
| 368 | if in.AllowedHostPaths != nil { |
| 369 | in, out := &in.AllowedHostPaths, &out.AllowedHostPaths |
| 370 | *out = make([]AllowedHostPath, len(*in)) |
| 371 | copy(*out, *in) |
| 372 | } |
| 373 | if in.AllowedFlexVolumes != nil { |
| 374 | in, out := &in.AllowedFlexVolumes, &out.AllowedFlexVolumes |
| 375 | *out = make([]AllowedFlexVolume, len(*in)) |
| 376 | copy(*out, *in) |
| 377 | } |
| 378 | if in.AllowedUnsafeSysctls != nil { |
| 379 | in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls |
| 380 | *out = make([]string, len(*in)) |
| 381 | copy(*out, *in) |
| 382 | } |
| 383 | if in.ForbiddenSysctls != nil { |
| 384 | in, out := &in.ForbiddenSysctls, &out.ForbiddenSysctls |
| 385 | *out = make([]string, len(*in)) |
| 386 | copy(*out, *in) |
| 387 | } |
| 388 | if in.AllowedProcMountTypes != nil { |
| 389 | in, out := &in.AllowedProcMountTypes, &out.AllowedProcMountTypes |
| 390 | *out = make([]corev1.ProcMountType, len(*in)) |
| 391 | copy(*out, *in) |
| 392 | } |
| 393 | return |
| 394 | } |
| 395 | |
| 396 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSecurityPolicySpec. |
| 397 | func (in *PodSecurityPolicySpec) DeepCopy() *PodSecurityPolicySpec { |
| 398 | if in == nil { |
| 399 | return nil |
| 400 | } |
| 401 | out := new(PodSecurityPolicySpec) |
| 402 | in.DeepCopyInto(out) |
| 403 | return out |
| 404 | } |
| 405 | |
| 406 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 407 | func (in *RunAsGroupStrategyOptions) DeepCopyInto(out *RunAsGroupStrategyOptions) { |
| 408 | *out = *in |
| 409 | if in.Ranges != nil { |
| 410 | in, out := &in.Ranges, &out.Ranges |
| 411 | *out = make([]IDRange, len(*in)) |
| 412 | copy(*out, *in) |
| 413 | } |
| 414 | return |
| 415 | } |
| 416 | |
| 417 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsGroupStrategyOptions. |
| 418 | func (in *RunAsGroupStrategyOptions) DeepCopy() *RunAsGroupStrategyOptions { |
| 419 | if in == nil { |
| 420 | return nil |
| 421 | } |
| 422 | out := new(RunAsGroupStrategyOptions) |
| 423 | in.DeepCopyInto(out) |
| 424 | return out |
| 425 | } |
| 426 | |
| 427 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 428 | func (in *RunAsUserStrategyOptions) DeepCopyInto(out *RunAsUserStrategyOptions) { |
| 429 | *out = *in |
| 430 | if in.Ranges != nil { |
| 431 | in, out := &in.Ranges, &out.Ranges |
| 432 | *out = make([]IDRange, len(*in)) |
| 433 | copy(*out, *in) |
| 434 | } |
| 435 | return |
| 436 | } |
| 437 | |
| 438 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunAsUserStrategyOptions. |
| 439 | func (in *RunAsUserStrategyOptions) DeepCopy() *RunAsUserStrategyOptions { |
| 440 | if in == nil { |
| 441 | return nil |
| 442 | } |
| 443 | out := new(RunAsUserStrategyOptions) |
| 444 | in.DeepCopyInto(out) |
| 445 | return out |
| 446 | } |
| 447 | |
| 448 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 449 | func (in *SELinuxStrategyOptions) DeepCopyInto(out *SELinuxStrategyOptions) { |
| 450 | *out = *in |
| 451 | if in.SELinuxOptions != nil { |
| 452 | in, out := &in.SELinuxOptions, &out.SELinuxOptions |
| 453 | *out = new(corev1.SELinuxOptions) |
| 454 | **out = **in |
| 455 | } |
| 456 | return |
| 457 | } |
| 458 | |
| 459 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SELinuxStrategyOptions. |
| 460 | func (in *SELinuxStrategyOptions) DeepCopy() *SELinuxStrategyOptions { |
| 461 | if in == nil { |
| 462 | return nil |
| 463 | } |
| 464 | out := new(SELinuxStrategyOptions) |
| 465 | in.DeepCopyInto(out) |
| 466 | return out |
| 467 | } |
| 468 | |
| 469 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 470 | func (in *SupplementalGroupsStrategyOptions) DeepCopyInto(out *SupplementalGroupsStrategyOptions) { |
| 471 | *out = *in |
| 472 | if in.Ranges != nil { |
| 473 | in, out := &in.Ranges, &out.Ranges |
| 474 | *out = make([]IDRange, len(*in)) |
| 475 | copy(*out, *in) |
| 476 | } |
| 477 | return |
| 478 | } |
| 479 | |
| 480 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupplementalGroupsStrategyOptions. |
| 481 | func (in *SupplementalGroupsStrategyOptions) DeepCopy() *SupplementalGroupsStrategyOptions { |
| 482 | if in == nil { |
| 483 | return nil |
| 484 | } |
| 485 | out := new(SupplementalGroupsStrategyOptions) |
| 486 | in.DeepCopyInto(out) |
| 487 | return out |
| 488 | } |