...
1
2
3
18
19
20
21 package v1beta1
22
23 import (
24 "k8s.io/apimachinery/pkg/runtime"
25 "sigs.k8s.io/gateway-api/apis/v1"
26 )
27
28
29 func (in *Gateway) DeepCopyInto(out *Gateway) {
30 *out = *in
31 out.TypeMeta = in.TypeMeta
32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
33 in.Spec.DeepCopyInto(&out.Spec)
34 in.Status.DeepCopyInto(&out.Status)
35 }
36
37
38 func (in *Gateway) DeepCopy() *Gateway {
39 if in == nil {
40 return nil
41 }
42 out := new(Gateway)
43 in.DeepCopyInto(out)
44 return out
45 }
46
47
48 func (in *Gateway) DeepCopyObject() runtime.Object {
49 if c := in.DeepCopy(); c != nil {
50 return c
51 }
52 return nil
53 }
54
55
56 func (in *GatewayClass) DeepCopyInto(out *GatewayClass) {
57 *out = *in
58 out.TypeMeta = in.TypeMeta
59 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
60 in.Spec.DeepCopyInto(&out.Spec)
61 in.Status.DeepCopyInto(&out.Status)
62 }
63
64
65 func (in *GatewayClass) DeepCopy() *GatewayClass {
66 if in == nil {
67 return nil
68 }
69 out := new(GatewayClass)
70 in.DeepCopyInto(out)
71 return out
72 }
73
74
75 func (in *GatewayClass) DeepCopyObject() runtime.Object {
76 if c := in.DeepCopy(); c != nil {
77 return c
78 }
79 return nil
80 }
81
82
83 func (in *GatewayClassList) DeepCopyInto(out *GatewayClassList) {
84 *out = *in
85 out.TypeMeta = in.TypeMeta
86 in.ListMeta.DeepCopyInto(&out.ListMeta)
87 if in.Items != nil {
88 in, out := &in.Items, &out.Items
89 *out = make([]GatewayClass, len(*in))
90 for i := range *in {
91 (*in)[i].DeepCopyInto(&(*out)[i])
92 }
93 }
94 }
95
96
97 func (in *GatewayClassList) DeepCopy() *GatewayClassList {
98 if in == nil {
99 return nil
100 }
101 out := new(GatewayClassList)
102 in.DeepCopyInto(out)
103 return out
104 }
105
106
107 func (in *GatewayClassList) DeepCopyObject() runtime.Object {
108 if c := in.DeepCopy(); c != nil {
109 return c
110 }
111 return nil
112 }
113
114
115 func (in *GatewayList) DeepCopyInto(out *GatewayList) {
116 *out = *in
117 out.TypeMeta = in.TypeMeta
118 in.ListMeta.DeepCopyInto(&out.ListMeta)
119 if in.Items != nil {
120 in, out := &in.Items, &out.Items
121 *out = make([]Gateway, len(*in))
122 for i := range *in {
123 (*in)[i].DeepCopyInto(&(*out)[i])
124 }
125 }
126 }
127
128
129 func (in *GatewayList) DeepCopy() *GatewayList {
130 if in == nil {
131 return nil
132 }
133 out := new(GatewayList)
134 in.DeepCopyInto(out)
135 return out
136 }
137
138
139 func (in *GatewayList) DeepCopyObject() runtime.Object {
140 if c := in.DeepCopy(); c != nil {
141 return c
142 }
143 return nil
144 }
145
146
147 func (in *HTTPRoute) DeepCopyInto(out *HTTPRoute) {
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 }
154
155
156 func (in *HTTPRoute) DeepCopy() *HTTPRoute {
157 if in == nil {
158 return nil
159 }
160 out := new(HTTPRoute)
161 in.DeepCopyInto(out)
162 return out
163 }
164
165
166 func (in *HTTPRoute) DeepCopyObject() runtime.Object {
167 if c := in.DeepCopy(); c != nil {
168 return c
169 }
170 return nil
171 }
172
173
174 func (in *HTTPRouteList) DeepCopyInto(out *HTTPRouteList) {
175 *out = *in
176 out.TypeMeta = in.TypeMeta
177 in.ListMeta.DeepCopyInto(&out.ListMeta)
178 if in.Items != nil {
179 in, out := &in.Items, &out.Items
180 *out = make([]HTTPRoute, len(*in))
181 for i := range *in {
182 (*in)[i].DeepCopyInto(&(*out)[i])
183 }
184 }
185 }
186
187
188 func (in *HTTPRouteList) DeepCopy() *HTTPRouteList {
189 if in == nil {
190 return nil
191 }
192 out := new(HTTPRouteList)
193 in.DeepCopyInto(out)
194 return out
195 }
196
197
198 func (in *HTTPRouteList) DeepCopyObject() runtime.Object {
199 if c := in.DeepCopy(); c != nil {
200 return c
201 }
202 return nil
203 }
204
205
206 func (in *ReferenceGrant) DeepCopyInto(out *ReferenceGrant) {
207 *out = *in
208 out.TypeMeta = in.TypeMeta
209 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
210 in.Spec.DeepCopyInto(&out.Spec)
211 }
212
213
214 func (in *ReferenceGrant) DeepCopy() *ReferenceGrant {
215 if in == nil {
216 return nil
217 }
218 out := new(ReferenceGrant)
219 in.DeepCopyInto(out)
220 return out
221 }
222
223
224 func (in *ReferenceGrant) DeepCopyObject() runtime.Object {
225 if c := in.DeepCopy(); c != nil {
226 return c
227 }
228 return nil
229 }
230
231
232 func (in *ReferenceGrantFrom) DeepCopyInto(out *ReferenceGrantFrom) {
233 *out = *in
234 }
235
236
237 func (in *ReferenceGrantFrom) DeepCopy() *ReferenceGrantFrom {
238 if in == nil {
239 return nil
240 }
241 out := new(ReferenceGrantFrom)
242 in.DeepCopyInto(out)
243 return out
244 }
245
246
247 func (in *ReferenceGrantList) DeepCopyInto(out *ReferenceGrantList) {
248 *out = *in
249 out.TypeMeta = in.TypeMeta
250 in.ListMeta.DeepCopyInto(&out.ListMeta)
251 if in.Items != nil {
252 in, out := &in.Items, &out.Items
253 *out = make([]ReferenceGrant, len(*in))
254 for i := range *in {
255 (*in)[i].DeepCopyInto(&(*out)[i])
256 }
257 }
258 }
259
260
261 func (in *ReferenceGrantList) DeepCopy() *ReferenceGrantList {
262 if in == nil {
263 return nil
264 }
265 out := new(ReferenceGrantList)
266 in.DeepCopyInto(out)
267 return out
268 }
269
270
271 func (in *ReferenceGrantList) DeepCopyObject() runtime.Object {
272 if c := in.DeepCopy(); c != nil {
273 return c
274 }
275 return nil
276 }
277
278
279 func (in *ReferenceGrantSpec) DeepCopyInto(out *ReferenceGrantSpec) {
280 *out = *in
281 if in.From != nil {
282 in, out := &in.From, &out.From
283 *out = make([]ReferenceGrantFrom, len(*in))
284 copy(*out, *in)
285 }
286 if in.To != nil {
287 in, out := &in.To, &out.To
288 *out = make([]ReferenceGrantTo, len(*in))
289 for i := range *in {
290 (*in)[i].DeepCopyInto(&(*out)[i])
291 }
292 }
293 }
294
295
296 func (in *ReferenceGrantSpec) DeepCopy() *ReferenceGrantSpec {
297 if in == nil {
298 return nil
299 }
300 out := new(ReferenceGrantSpec)
301 in.DeepCopyInto(out)
302 return out
303 }
304
305
306 func (in *ReferenceGrantTo) DeepCopyInto(out *ReferenceGrantTo) {
307 *out = *in
308 if in.Name != nil {
309 in, out := &in.Name, &out.Name
310 *out = new(v1.ObjectName)
311 **out = **in
312 }
313 }
314
315
316 func (in *ReferenceGrantTo) DeepCopy() *ReferenceGrantTo {
317 if in == nil {
318 return nil
319 }
320 out := new(ReferenceGrantTo)
321 in.DeepCopyInto(out)
322 return out
323 }
324
View as plain text