blob: c3989528b2af65bd2d4ef71c05c022063bae8007 [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 v1beta1
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 if in.Overhead != nil {
57 in, out := &in.Overhead, &out.Overhead
58 *out = new(Overhead)
59 (*in).DeepCopyInto(*out)
60 }
61 if in.Scheduling != nil {
62 in, out := &in.Scheduling, &out.Scheduling
63 *out = new(Scheduling)
64 (*in).DeepCopyInto(*out)
65 }
66 return
67}
68
69// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClass.
70func (in *RuntimeClass) DeepCopy() *RuntimeClass {
71 if in == nil {
72 return nil
73 }
74 out := new(RuntimeClass)
75 in.DeepCopyInto(out)
76 return out
77}
78
79// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
80func (in *RuntimeClass) DeepCopyObject() runtime.Object {
81 if c := in.DeepCopy(); c != nil {
82 return c
83 }
84 return nil
85}
86
87// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
88func (in *RuntimeClassList) DeepCopyInto(out *RuntimeClassList) {
89 *out = *in
90 out.TypeMeta = in.TypeMeta
91 in.ListMeta.DeepCopyInto(&out.ListMeta)
92 if in.Items != nil {
93 in, out := &in.Items, &out.Items
94 *out = make([]RuntimeClass, len(*in))
95 for i := range *in {
96 (*in)[i].DeepCopyInto(&(*out)[i])
97 }
98 }
99 return
100}
101
102// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeClassList.
103func (in *RuntimeClassList) DeepCopy() *RuntimeClassList {
104 if in == nil {
105 return nil
106 }
107 out := new(RuntimeClassList)
108 in.DeepCopyInto(out)
109 return out
110}
111
112// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
113func (in *RuntimeClassList) DeepCopyObject() runtime.Object {
114 if c := in.DeepCopy(); c != nil {
115 return c
116 }
117 return nil
118}
119
120// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
121func (in *Scheduling) DeepCopyInto(out *Scheduling) {
122 *out = *in
123 if in.NodeSelector != nil {
124 in, out := &in.NodeSelector, &out.NodeSelector
125 *out = make(map[string]string, len(*in))
126 for key, val := range *in {
127 (*out)[key] = val
128 }
129 }
130 if in.Tolerations != nil {
131 in, out := &in.Tolerations, &out.Tolerations
132 *out = make([]v1.Toleration, len(*in))
133 for i := range *in {
134 (*in)[i].DeepCopyInto(&(*out)[i])
135 }
136 }
137 return
138}
139
140// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduling.
141func (in *Scheduling) DeepCopy() *Scheduling {
142 if in == nil {
143 return nil
144 }
145 out := new(Scheduling)
146 in.DeepCopyInto(out)
147 return out
148}