blob: 20f8051835c933e5c75a38d3f34545233a78b4a7 [file] [log] [blame]
Matteo Scandoloa4285862020-12-01 18:10:10 -08001// +build !ignore_autogenerated
2
3/*
4Copyright The Kubernetes Authors.
5
6Licensed under the Apache License, Version 2.0 (the "License");
7you may not use this file except in compliance with the License.
8You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing, software
13distributed under the License is distributed on an "AS IS" BASIS,
14WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15See the License for the specific language governing permissions and
16limitations under the License.
17*/
18
19// Code generated by deepcopy-gen. DO NOT EDIT.
20
21package v1alpha1
22
23import (
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.
29func (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.
42func (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.
52func (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.
61func (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.
71func (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.
79func (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.
94func (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.
104func (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.
112func (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.
128func (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.
138func (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.
158func (in *Scheduling) DeepCopy() *Scheduling {
159 if in == nil {
160 return nil
161 }
162 out := new(Scheduling)
163 in.DeepCopyInto(out)
164 return out
165}