Scott Baker | e7144bc | 2019-10-01 14:16:47 -0700 | [diff] [blame] | 1 | // +build !ignore_autogenerated |
| 2 | |
| 3 | /* |
| 4 | Copyright The Kubernetes Authors. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | */ |
| 18 | |
| 19 | // Code generated by deepcopy-gen. DO NOT EDIT. |
| 20 | |
| 21 | package v1alpha1 |
| 22 | |
| 23 | import ( |
| 24 | v1 "k8s.io/api/core/v1" |
| 25 | runtime "k8s.io/apimachinery/pkg/runtime" |
| 26 | ) |
| 27 | |
| 28 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 29 | func (in *PodPreset) DeepCopyInto(out *PodPreset) { |
| 30 | *out = *in |
| 31 | out.TypeMeta = in.TypeMeta |
| 32 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 33 | in.Spec.DeepCopyInto(&out.Spec) |
| 34 | return |
| 35 | } |
| 36 | |
| 37 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPreset. |
| 38 | func (in *PodPreset) DeepCopy() *PodPreset { |
| 39 | if in == nil { |
| 40 | return nil |
| 41 | } |
| 42 | out := new(PodPreset) |
| 43 | in.DeepCopyInto(out) |
| 44 | return out |
| 45 | } |
| 46 | |
| 47 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 48 | func (in *PodPreset) DeepCopyObject() runtime.Object { |
| 49 | if c := in.DeepCopy(); c != nil { |
| 50 | return c |
| 51 | } |
| 52 | return nil |
| 53 | } |
| 54 | |
| 55 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 56 | func (in *PodPresetList) DeepCopyInto(out *PodPresetList) { |
| 57 | *out = *in |
| 58 | out.TypeMeta = in.TypeMeta |
girishk | e7ca43b | 2019-10-10 12:30:03 +0000 | [diff] [blame] | 59 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
Scott Baker | e7144bc | 2019-10-01 14:16:47 -0700 | [diff] [blame] | 60 | if in.Items != nil { |
| 61 | in, out := &in.Items, &out.Items |
| 62 | *out = make([]PodPreset, len(*in)) |
| 63 | for i := range *in { |
| 64 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 65 | } |
| 66 | } |
| 67 | return |
| 68 | } |
| 69 | |
| 70 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetList. |
| 71 | func (in *PodPresetList) DeepCopy() *PodPresetList { |
| 72 | if in == nil { |
| 73 | return nil |
| 74 | } |
| 75 | out := new(PodPresetList) |
| 76 | in.DeepCopyInto(out) |
| 77 | return out |
| 78 | } |
| 79 | |
| 80 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 81 | func (in *PodPresetList) DeepCopyObject() runtime.Object { |
| 82 | if c := in.DeepCopy(); c != nil { |
| 83 | return c |
| 84 | } |
| 85 | return nil |
| 86 | } |
| 87 | |
| 88 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 89 | func (in *PodPresetSpec) DeepCopyInto(out *PodPresetSpec) { |
| 90 | *out = *in |
| 91 | in.Selector.DeepCopyInto(&out.Selector) |
| 92 | if in.Env != nil { |
| 93 | in, out := &in.Env, &out.Env |
| 94 | *out = make([]v1.EnvVar, len(*in)) |
| 95 | for i := range *in { |
| 96 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 97 | } |
| 98 | } |
| 99 | if in.EnvFrom != nil { |
| 100 | in, out := &in.EnvFrom, &out.EnvFrom |
| 101 | *out = make([]v1.EnvFromSource, len(*in)) |
| 102 | for i := range *in { |
| 103 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 104 | } |
| 105 | } |
| 106 | if in.Volumes != nil { |
| 107 | in, out := &in.Volumes, &out.Volumes |
| 108 | *out = make([]v1.Volume, len(*in)) |
| 109 | for i := range *in { |
| 110 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 111 | } |
| 112 | } |
| 113 | if in.VolumeMounts != nil { |
| 114 | in, out := &in.VolumeMounts, &out.VolumeMounts |
| 115 | *out = make([]v1.VolumeMount, len(*in)) |
| 116 | for i := range *in { |
| 117 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 118 | } |
| 119 | } |
| 120 | return |
| 121 | } |
| 122 | |
| 123 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodPresetSpec. |
| 124 | func (in *PodPresetSpec) DeepCopy() *PodPresetSpec { |
| 125 | if in == nil { |
| 126 | return nil |
| 127 | } |
| 128 | out := new(PodPresetSpec) |
| 129 | in.DeepCopyInto(out) |
| 130 | return out |
| 131 | } |