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 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 *Overhead) DeepCopyInto(out *Overhead) { |
| 30 | *out = *in |
| 31 | if in.PodFixed != nil { |
| 32 | in, out := &in.PodFixed, &out.PodFixed |
| 33 | *out = make(v1.ResourceList, len(*in)) |
| 34 | for key, val := range *in { |
| 35 | (*out)[key] = val.DeepCopy() |
| 36 | } |
| 37 | } |
| 38 | return |
| 39 | } |
| 40 | |
| 41 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Overhead. |
| 42 | func (in *Overhead) DeepCopy() *Overhead { |
| 43 | if in == nil { |
| 44 | return nil |
| 45 | } |
| 46 | out := new(Overhead) |
| 47 | in.DeepCopyInto(out) |
| 48 | return out |
| 49 | } |
| 50 | |
| 51 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 52 | func (in *RuntimeClass) DeepCopyInto(out *RuntimeClass) { |
| 53 | *out = *in |
| 54 | out.TypeMeta = in.TypeMeta |
| 55 | in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) |
| 56 | in.Spec.DeepCopyInto(&out.Spec) |
| 57 | return |
| 58 | } |
| 59 | |
| 60 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClass. |
| 61 | func (in *RuntimeClass) DeepCopy() *RuntimeClass { |
| 62 | if in == nil { |
| 63 | return nil |
| 64 | } |
| 65 | out := new(RuntimeClass) |
| 66 | in.DeepCopyInto(out) |
| 67 | return out |
| 68 | } |
| 69 | |
| 70 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 71 | func (in *RuntimeClass) DeepCopyObject() runtime.Object { |
| 72 | if c := in.DeepCopy(); c != nil { |
| 73 | return c |
| 74 | } |
| 75 | return nil |
| 76 | } |
| 77 | |
| 78 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 79 | func (in *RuntimeClassList) DeepCopyInto(out *RuntimeClassList) { |
| 80 | *out = *in |
| 81 | out.TypeMeta = in.TypeMeta |
| 82 | in.ListMeta.DeepCopyInto(&out.ListMeta) |
| 83 | if in.Items != nil { |
| 84 | in, out := &in.Items, &out.Items |
| 85 | *out = make([]RuntimeClass, len(*in)) |
| 86 | for i := range *in { |
| 87 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 88 | } |
| 89 | } |
| 90 | return |
| 91 | } |
| 92 | |
| 93 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClassList. |
| 94 | func (in *RuntimeClassList) DeepCopy() *RuntimeClassList { |
| 95 | if in == nil { |
| 96 | return nil |
| 97 | } |
| 98 | out := new(RuntimeClassList) |
| 99 | in.DeepCopyInto(out) |
| 100 | return out |
| 101 | } |
| 102 | |
| 103 | // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. |
| 104 | func (in *RuntimeClassList) DeepCopyObject() runtime.Object { |
| 105 | if c := in.DeepCopy(); c != nil { |
| 106 | return c |
| 107 | } |
| 108 | return nil |
| 109 | } |
| 110 | |
| 111 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 112 | func (in *RuntimeClassSpec) DeepCopyInto(out *RuntimeClassSpec) { |
| 113 | *out = *in |
| 114 | if in.Overhead != nil { |
| 115 | in, out := &in.Overhead, &out.Overhead |
| 116 | *out = new(Overhead) |
| 117 | (*in).DeepCopyInto(*out) |
| 118 | } |
| 119 | if in.Scheduling != nil { |
| 120 | in, out := &in.Scheduling, &out.Scheduling |
| 121 | *out = new(Scheduling) |
| 122 | (*in).DeepCopyInto(*out) |
| 123 | } |
| 124 | return |
| 125 | } |
| 126 | |
| 127 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClassSpec. |
| 128 | func (in *RuntimeClassSpec) DeepCopy() *RuntimeClassSpec { |
| 129 | if in == nil { |
| 130 | return nil |
| 131 | } |
| 132 | out := new(RuntimeClassSpec) |
| 133 | in.DeepCopyInto(out) |
| 134 | return out |
| 135 | } |
| 136 | |
| 137 | // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. |
| 138 | func (in *Scheduling) DeepCopyInto(out *Scheduling) { |
| 139 | *out = *in |
| 140 | if in.NodeSelector != nil { |
| 141 | in, out := &in.NodeSelector, &out.NodeSelector |
| 142 | *out = make(map[string]string, len(*in)) |
| 143 | for key, val := range *in { |
| 144 | (*out)[key] = val |
| 145 | } |
| 146 | } |
| 147 | if in.Tolerations != nil { |
| 148 | in, out := &in.Tolerations, &out.Tolerations |
| 149 | *out = make([]v1.Toleration, len(*in)) |
| 150 | for i := range *in { |
| 151 | (*in)[i].DeepCopyInto(&(*out)[i]) |
| 152 | } |
| 153 | } |
| 154 | return |
| 155 | } |
| 156 | |
| 157 | // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduling. |
| 158 | func (in *Scheduling) DeepCopy() *Scheduling { |
| 159 | if in == nil { |
| 160 | return nil |
| 161 | } |
| 162 | out := new(Scheduling) |
| 163 | in.DeepCopyInto(out) |
| 164 | return out |
| 165 | } |