blob: b7508f033e3556d921a72240c02f291136405e79 [file] [log] [blame]
Zack Williamse940c7a2019-08-21 14:25:39 -07001/*
2Copyright The Kubernetes Authors.
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16
17// Code generated by protoc-gen-gogo.
18// source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
19// DO NOT EDIT!
20
21/*
22 Package v1 is a generated protocol buffer package.
23
24 It is generated from these files:
25 k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
26
27 It has these top-level messages:
28 APIGroup
29 APIGroupList
30 APIResource
31 APIResourceList
32 APIVersions
33 CreateOptions
34 DeleteOptions
35 Duration
36 ExportOptions
37 GetOptions
38 GroupKind
39 GroupResource
40 GroupVersion
41 GroupVersionForDiscovery
42 GroupVersionKind
43 GroupVersionResource
44 Initializer
45 Initializers
46 LabelSelector
47 LabelSelectorRequirement
48 List
49 ListMeta
50 ListOptions
51 MicroTime
52 ObjectMeta
53 OwnerReference
54 Patch
55 Preconditions
56 RootPaths
57 ServerAddressByClientCIDR
58 Status
59 StatusCause
60 StatusDetails
61 Time
62 Timestamp
63 TypeMeta
64 UpdateOptions
65 Verbs
66 WatchEvent
67*/
68package v1
69
70import proto "github.com/gogo/protobuf/proto"
71import fmt "fmt"
72import math "math"
73
74import k8s_io_apimachinery_pkg_runtime "k8s.io/apimachinery/pkg/runtime"
75
76import time "time"
77import k8s_io_apimachinery_pkg_types "k8s.io/apimachinery/pkg/types"
78
79import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
80
81import strings "strings"
82import reflect "reflect"
83
84import io "io"
85
86// Reference imports to suppress errors if they are not otherwise used.
87var _ = proto.Marshal
88var _ = fmt.Errorf
89var _ = math.Inf
90var _ = time.Kitchen
91
92// This is a compile-time assertion to ensure that this generated file
93// is compatible with the proto package it is being compiled against.
94// A compilation error at this line likely means your copy of the
95// proto package needs to be updated.
96const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
97
98func (m *APIGroup) Reset() { *m = APIGroup{} }
99func (*APIGroup) ProtoMessage() {}
100func (*APIGroup) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
101
102func (m *APIGroupList) Reset() { *m = APIGroupList{} }
103func (*APIGroupList) ProtoMessage() {}
104func (*APIGroupList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
105
106func (m *APIResource) Reset() { *m = APIResource{} }
107func (*APIResource) ProtoMessage() {}
108func (*APIResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
109
110func (m *APIResourceList) Reset() { *m = APIResourceList{} }
111func (*APIResourceList) ProtoMessage() {}
112func (*APIResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
113
114func (m *APIVersions) Reset() { *m = APIVersions{} }
115func (*APIVersions) ProtoMessage() {}
116func (*APIVersions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
117
118func (m *CreateOptions) Reset() { *m = CreateOptions{} }
119func (*CreateOptions) ProtoMessage() {}
120func (*CreateOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
121
122func (m *DeleteOptions) Reset() { *m = DeleteOptions{} }
123func (*DeleteOptions) ProtoMessage() {}
124func (*DeleteOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
125
126func (m *Duration) Reset() { *m = Duration{} }
127func (*Duration) ProtoMessage() {}
128func (*Duration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
129
130func (m *ExportOptions) Reset() { *m = ExportOptions{} }
131func (*ExportOptions) ProtoMessage() {}
132func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
133
134func (m *GetOptions) Reset() { *m = GetOptions{} }
135func (*GetOptions) ProtoMessage() {}
136func (*GetOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
137
138func (m *GroupKind) Reset() { *m = GroupKind{} }
139func (*GroupKind) ProtoMessage() {}
140func (*GroupKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
141
142func (m *GroupResource) Reset() { *m = GroupResource{} }
143func (*GroupResource) ProtoMessage() {}
144func (*GroupResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
145
146func (m *GroupVersion) Reset() { *m = GroupVersion{} }
147func (*GroupVersion) ProtoMessage() {}
148func (*GroupVersion) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} }
149
150func (m *GroupVersionForDiscovery) Reset() { *m = GroupVersionForDiscovery{} }
151func (*GroupVersionForDiscovery) ProtoMessage() {}
152func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int) {
153 return fileDescriptorGenerated, []int{13}
154}
155
156func (m *GroupVersionKind) Reset() { *m = GroupVersionKind{} }
157func (*GroupVersionKind) ProtoMessage() {}
158func (*GroupVersionKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
159
160func (m *GroupVersionResource) Reset() { *m = GroupVersionResource{} }
161func (*GroupVersionResource) ProtoMessage() {}
162func (*GroupVersionResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
163
164func (m *Initializer) Reset() { *m = Initializer{} }
165func (*Initializer) ProtoMessage() {}
166func (*Initializer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
167
168func (m *Initializers) Reset() { *m = Initializers{} }
169func (*Initializers) ProtoMessage() {}
170func (*Initializers) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
171
172func (m *LabelSelector) Reset() { *m = LabelSelector{} }
173func (*LabelSelector) ProtoMessage() {}
174func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} }
175
176func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} }
177func (*LabelSelectorRequirement) ProtoMessage() {}
178func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) {
179 return fileDescriptorGenerated, []int{19}
180}
181
182func (m *List) Reset() { *m = List{} }
183func (*List) ProtoMessage() {}
184func (*List) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
185
186func (m *ListMeta) Reset() { *m = ListMeta{} }
187func (*ListMeta) ProtoMessage() {}
188func (*ListMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
189
190func (m *ListOptions) Reset() { *m = ListOptions{} }
191func (*ListOptions) ProtoMessage() {}
192func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} }
193
194func (m *MicroTime) Reset() { *m = MicroTime{} }
195func (*MicroTime) ProtoMessage() {}
196func (*MicroTime) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} }
197
198func (m *ObjectMeta) Reset() { *m = ObjectMeta{} }
199func (*ObjectMeta) ProtoMessage() {}
200func (*ObjectMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} }
201
202func (m *OwnerReference) Reset() { *m = OwnerReference{} }
203func (*OwnerReference) ProtoMessage() {}
204func (*OwnerReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} }
205
206func (m *Patch) Reset() { *m = Patch{} }
207func (*Patch) ProtoMessage() {}
208func (*Patch) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} }
209
210func (m *Preconditions) Reset() { *m = Preconditions{} }
211func (*Preconditions) ProtoMessage() {}
212func (*Preconditions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} }
213
214func (m *RootPaths) Reset() { *m = RootPaths{} }
215func (*RootPaths) ProtoMessage() {}
216func (*RootPaths) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} }
217
218func (m *ServerAddressByClientCIDR) Reset() { *m = ServerAddressByClientCIDR{} }
219func (*ServerAddressByClientCIDR) ProtoMessage() {}
220func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int) {
221 return fileDescriptorGenerated, []int{29}
222}
223
224func (m *Status) Reset() { *m = Status{} }
225func (*Status) ProtoMessage() {}
226func (*Status) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} }
227
228func (m *StatusCause) Reset() { *m = StatusCause{} }
229func (*StatusCause) ProtoMessage() {}
230func (*StatusCause) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} }
231
232func (m *StatusDetails) Reset() { *m = StatusDetails{} }
233func (*StatusDetails) ProtoMessage() {}
234func (*StatusDetails) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} }
235
236func (m *Time) Reset() { *m = Time{} }
237func (*Time) ProtoMessage() {}
238func (*Time) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} }
239
240func (m *Timestamp) Reset() { *m = Timestamp{} }
241func (*Timestamp) ProtoMessage() {}
242func (*Timestamp) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} }
243
244func (m *TypeMeta) Reset() { *m = TypeMeta{} }
245func (*TypeMeta) ProtoMessage() {}
246func (*TypeMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} }
247
248func (m *UpdateOptions) Reset() { *m = UpdateOptions{} }
249func (*UpdateOptions) ProtoMessage() {}
250func (*UpdateOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} }
251
252func (m *Verbs) Reset() { *m = Verbs{} }
253func (*Verbs) ProtoMessage() {}
254func (*Verbs) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} }
255
256func (m *WatchEvent) Reset() { *m = WatchEvent{} }
257func (*WatchEvent) ProtoMessage() {}
258func (*WatchEvent) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} }
259
260func init() {
261 proto.RegisterType((*APIGroup)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIGroup")
262 proto.RegisterType((*APIGroupList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIGroupList")
263 proto.RegisterType((*APIResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIResource")
264 proto.RegisterType((*APIResourceList)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIResourceList")
265 proto.RegisterType((*APIVersions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.APIVersions")
266 proto.RegisterType((*CreateOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.CreateOptions")
267 proto.RegisterType((*DeleteOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.DeleteOptions")
268 proto.RegisterType((*Duration)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Duration")
269 proto.RegisterType((*ExportOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ExportOptions")
270 proto.RegisterType((*GetOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GetOptions")
271 proto.RegisterType((*GroupKind)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupKind")
272 proto.RegisterType((*GroupResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupResource")
273 proto.RegisterType((*GroupVersion)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersion")
274 proto.RegisterType((*GroupVersionForDiscovery)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery")
275 proto.RegisterType((*GroupVersionKind)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind")
276 proto.RegisterType((*GroupVersionResource)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource")
277 proto.RegisterType((*Initializer)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Initializer")
278 proto.RegisterType((*Initializers)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Initializers")
279 proto.RegisterType((*LabelSelector)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector")
280 proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelectorRequirement")
281 proto.RegisterType((*List)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.List")
282 proto.RegisterType((*ListMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta")
283 proto.RegisterType((*ListOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions")
284 proto.RegisterType((*MicroTime)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime")
285 proto.RegisterType((*ObjectMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta")
286 proto.RegisterType((*OwnerReference)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.OwnerReference")
287 proto.RegisterType((*Patch)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Patch")
288 proto.RegisterType((*Preconditions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Preconditions")
289 proto.RegisterType((*RootPaths)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.RootPaths")
290 proto.RegisterType((*ServerAddressByClientCIDR)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR")
291 proto.RegisterType((*Status)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Status")
292 proto.RegisterType((*StatusCause)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause")
293 proto.RegisterType((*StatusDetails)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails")
294 proto.RegisterType((*Time)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Time")
295 proto.RegisterType((*Timestamp)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Timestamp")
296 proto.RegisterType((*TypeMeta)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.TypeMeta")
297 proto.RegisterType((*UpdateOptions)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.UpdateOptions")
298 proto.RegisterType((*Verbs)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.Verbs")
299 proto.RegisterType((*WatchEvent)(nil), "k8s.io.apimachinery.pkg.apis.meta.v1.WatchEvent")
300}
301func (m *APIGroup) Marshal() (dAtA []byte, err error) {
302 size := m.Size()
303 dAtA = make([]byte, size)
304 n, err := m.MarshalTo(dAtA)
305 if err != nil {
306 return nil, err
307 }
308 return dAtA[:n], nil
309}
310
311func (m *APIGroup) MarshalTo(dAtA []byte) (int, error) {
312 var i int
313 _ = i
314 var l int
315 _ = l
316 dAtA[i] = 0xa
317 i++
318 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
319 i += copy(dAtA[i:], m.Name)
320 if len(m.Versions) > 0 {
321 for _, msg := range m.Versions {
322 dAtA[i] = 0x12
323 i++
324 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
325 n, err := msg.MarshalTo(dAtA[i:])
326 if err != nil {
327 return 0, err
328 }
329 i += n
330 }
331 }
332 dAtA[i] = 0x1a
333 i++
334 i = encodeVarintGenerated(dAtA, i, uint64(m.PreferredVersion.Size()))
335 n1, err := m.PreferredVersion.MarshalTo(dAtA[i:])
336 if err != nil {
337 return 0, err
338 }
339 i += n1
340 if len(m.ServerAddressByClientCIDRs) > 0 {
341 for _, msg := range m.ServerAddressByClientCIDRs {
342 dAtA[i] = 0x22
343 i++
344 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
345 n, err := msg.MarshalTo(dAtA[i:])
346 if err != nil {
347 return 0, err
348 }
349 i += n
350 }
351 }
352 return i, nil
353}
354
355func (m *APIGroupList) Marshal() (dAtA []byte, err error) {
356 size := m.Size()
357 dAtA = make([]byte, size)
358 n, err := m.MarshalTo(dAtA)
359 if err != nil {
360 return nil, err
361 }
362 return dAtA[:n], nil
363}
364
365func (m *APIGroupList) MarshalTo(dAtA []byte) (int, error) {
366 var i int
367 _ = i
368 var l int
369 _ = l
370 if len(m.Groups) > 0 {
371 for _, msg := range m.Groups {
372 dAtA[i] = 0xa
373 i++
374 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
375 n, err := msg.MarshalTo(dAtA[i:])
376 if err != nil {
377 return 0, err
378 }
379 i += n
380 }
381 }
382 return i, nil
383}
384
385func (m *APIResource) Marshal() (dAtA []byte, err error) {
386 size := m.Size()
387 dAtA = make([]byte, size)
388 n, err := m.MarshalTo(dAtA)
389 if err != nil {
390 return nil, err
391 }
392 return dAtA[:n], nil
393}
394
395func (m *APIResource) MarshalTo(dAtA []byte) (int, error) {
396 var i int
397 _ = i
398 var l int
399 _ = l
400 dAtA[i] = 0xa
401 i++
402 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
403 i += copy(dAtA[i:], m.Name)
404 dAtA[i] = 0x10
405 i++
406 if m.Namespaced {
407 dAtA[i] = 1
408 } else {
409 dAtA[i] = 0
410 }
411 i++
412 dAtA[i] = 0x1a
413 i++
414 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
415 i += copy(dAtA[i:], m.Kind)
416 if m.Verbs != nil {
417 dAtA[i] = 0x22
418 i++
419 i = encodeVarintGenerated(dAtA, i, uint64(m.Verbs.Size()))
420 n2, err := m.Verbs.MarshalTo(dAtA[i:])
421 if err != nil {
422 return 0, err
423 }
424 i += n2
425 }
426 if len(m.ShortNames) > 0 {
427 for _, s := range m.ShortNames {
428 dAtA[i] = 0x2a
429 i++
430 l = len(s)
431 for l >= 1<<7 {
432 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
433 l >>= 7
434 i++
435 }
436 dAtA[i] = uint8(l)
437 i++
438 i += copy(dAtA[i:], s)
439 }
440 }
441 dAtA[i] = 0x32
442 i++
443 i = encodeVarintGenerated(dAtA, i, uint64(len(m.SingularName)))
444 i += copy(dAtA[i:], m.SingularName)
445 if len(m.Categories) > 0 {
446 for _, s := range m.Categories {
447 dAtA[i] = 0x3a
448 i++
449 l = len(s)
450 for l >= 1<<7 {
451 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
452 l >>= 7
453 i++
454 }
455 dAtA[i] = uint8(l)
456 i++
457 i += copy(dAtA[i:], s)
458 }
459 }
460 dAtA[i] = 0x42
461 i++
462 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
463 i += copy(dAtA[i:], m.Group)
464 dAtA[i] = 0x4a
465 i++
466 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
467 i += copy(dAtA[i:], m.Version)
468 return i, nil
469}
470
471func (m *APIResourceList) Marshal() (dAtA []byte, err error) {
472 size := m.Size()
473 dAtA = make([]byte, size)
474 n, err := m.MarshalTo(dAtA)
475 if err != nil {
476 return nil, err
477 }
478 return dAtA[:n], nil
479}
480
481func (m *APIResourceList) MarshalTo(dAtA []byte) (int, error) {
482 var i int
483 _ = i
484 var l int
485 _ = l
486 dAtA[i] = 0xa
487 i++
488 i = encodeVarintGenerated(dAtA, i, uint64(len(m.GroupVersion)))
489 i += copy(dAtA[i:], m.GroupVersion)
490 if len(m.APIResources) > 0 {
491 for _, msg := range m.APIResources {
492 dAtA[i] = 0x12
493 i++
494 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
495 n, err := msg.MarshalTo(dAtA[i:])
496 if err != nil {
497 return 0, err
498 }
499 i += n
500 }
501 }
502 return i, nil
503}
504
505func (m *APIVersions) Marshal() (dAtA []byte, err error) {
506 size := m.Size()
507 dAtA = make([]byte, size)
508 n, err := m.MarshalTo(dAtA)
509 if err != nil {
510 return nil, err
511 }
512 return dAtA[:n], nil
513}
514
515func (m *APIVersions) MarshalTo(dAtA []byte) (int, error) {
516 var i int
517 _ = i
518 var l int
519 _ = l
520 if len(m.Versions) > 0 {
521 for _, s := range m.Versions {
522 dAtA[i] = 0xa
523 i++
524 l = len(s)
525 for l >= 1<<7 {
526 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
527 l >>= 7
528 i++
529 }
530 dAtA[i] = uint8(l)
531 i++
532 i += copy(dAtA[i:], s)
533 }
534 }
535 if len(m.ServerAddressByClientCIDRs) > 0 {
536 for _, msg := range m.ServerAddressByClientCIDRs {
537 dAtA[i] = 0x12
538 i++
539 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
540 n, err := msg.MarshalTo(dAtA[i:])
541 if err != nil {
542 return 0, err
543 }
544 i += n
545 }
546 }
547 return i, nil
548}
549
550func (m *CreateOptions) Marshal() (dAtA []byte, err error) {
551 size := m.Size()
552 dAtA = make([]byte, size)
553 n, err := m.MarshalTo(dAtA)
554 if err != nil {
555 return nil, err
556 }
557 return dAtA[:n], nil
558}
559
560func (m *CreateOptions) MarshalTo(dAtA []byte) (int, error) {
561 var i int
562 _ = i
563 var l int
564 _ = l
565 if len(m.DryRun) > 0 {
566 for _, s := range m.DryRun {
567 dAtA[i] = 0xa
568 i++
569 l = len(s)
570 for l >= 1<<7 {
571 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
572 l >>= 7
573 i++
574 }
575 dAtA[i] = uint8(l)
576 i++
577 i += copy(dAtA[i:], s)
578 }
579 }
580 dAtA[i] = 0x10
581 i++
582 if m.IncludeUninitialized {
583 dAtA[i] = 1
584 } else {
585 dAtA[i] = 0
586 }
587 i++
588 return i, nil
589}
590
591func (m *DeleteOptions) Marshal() (dAtA []byte, err error) {
592 size := m.Size()
593 dAtA = make([]byte, size)
594 n, err := m.MarshalTo(dAtA)
595 if err != nil {
596 return nil, err
597 }
598 return dAtA[:n], nil
599}
600
601func (m *DeleteOptions) MarshalTo(dAtA []byte) (int, error) {
602 var i int
603 _ = i
604 var l int
605 _ = l
606 if m.GracePeriodSeconds != nil {
607 dAtA[i] = 0x8
608 i++
609 i = encodeVarintGenerated(dAtA, i, uint64(*m.GracePeriodSeconds))
610 }
611 if m.Preconditions != nil {
612 dAtA[i] = 0x12
613 i++
614 i = encodeVarintGenerated(dAtA, i, uint64(m.Preconditions.Size()))
615 n3, err := m.Preconditions.MarshalTo(dAtA[i:])
616 if err != nil {
617 return 0, err
618 }
619 i += n3
620 }
621 if m.OrphanDependents != nil {
622 dAtA[i] = 0x18
623 i++
624 if *m.OrphanDependents {
625 dAtA[i] = 1
626 } else {
627 dAtA[i] = 0
628 }
629 i++
630 }
631 if m.PropagationPolicy != nil {
632 dAtA[i] = 0x22
633 i++
634 i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PropagationPolicy)))
635 i += copy(dAtA[i:], *m.PropagationPolicy)
636 }
637 if len(m.DryRun) > 0 {
638 for _, s := range m.DryRun {
639 dAtA[i] = 0x2a
640 i++
641 l = len(s)
642 for l >= 1<<7 {
643 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
644 l >>= 7
645 i++
646 }
647 dAtA[i] = uint8(l)
648 i++
649 i += copy(dAtA[i:], s)
650 }
651 }
652 return i, nil
653}
654
655func (m *Duration) Marshal() (dAtA []byte, err error) {
656 size := m.Size()
657 dAtA = make([]byte, size)
658 n, err := m.MarshalTo(dAtA)
659 if err != nil {
660 return nil, err
661 }
662 return dAtA[:n], nil
663}
664
665func (m *Duration) MarshalTo(dAtA []byte) (int, error) {
666 var i int
667 _ = i
668 var l int
669 _ = l
670 dAtA[i] = 0x8
671 i++
672 i = encodeVarintGenerated(dAtA, i, uint64(m.Duration))
673 return i, nil
674}
675
676func (m *ExportOptions) Marshal() (dAtA []byte, err error) {
677 size := m.Size()
678 dAtA = make([]byte, size)
679 n, err := m.MarshalTo(dAtA)
680 if err != nil {
681 return nil, err
682 }
683 return dAtA[:n], nil
684}
685
686func (m *ExportOptions) MarshalTo(dAtA []byte) (int, error) {
687 var i int
688 _ = i
689 var l int
690 _ = l
691 dAtA[i] = 0x8
692 i++
693 if m.Export {
694 dAtA[i] = 1
695 } else {
696 dAtA[i] = 0
697 }
698 i++
699 dAtA[i] = 0x10
700 i++
701 if m.Exact {
702 dAtA[i] = 1
703 } else {
704 dAtA[i] = 0
705 }
706 i++
707 return i, nil
708}
709
710func (m *GetOptions) Marshal() (dAtA []byte, err error) {
711 size := m.Size()
712 dAtA = make([]byte, size)
713 n, err := m.MarshalTo(dAtA)
714 if err != nil {
715 return nil, err
716 }
717 return dAtA[:n], nil
718}
719
720func (m *GetOptions) MarshalTo(dAtA []byte) (int, error) {
721 var i int
722 _ = i
723 var l int
724 _ = l
725 dAtA[i] = 0xa
726 i++
727 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
728 i += copy(dAtA[i:], m.ResourceVersion)
729 dAtA[i] = 0x10
730 i++
731 if m.IncludeUninitialized {
732 dAtA[i] = 1
733 } else {
734 dAtA[i] = 0
735 }
736 i++
737 return i, nil
738}
739
740func (m *GroupKind) Marshal() (dAtA []byte, err error) {
741 size := m.Size()
742 dAtA = make([]byte, size)
743 n, err := m.MarshalTo(dAtA)
744 if err != nil {
745 return nil, err
746 }
747 return dAtA[:n], nil
748}
749
750func (m *GroupKind) MarshalTo(dAtA []byte) (int, error) {
751 var i int
752 _ = i
753 var l int
754 _ = l
755 dAtA[i] = 0xa
756 i++
757 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
758 i += copy(dAtA[i:], m.Group)
759 dAtA[i] = 0x12
760 i++
761 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
762 i += copy(dAtA[i:], m.Kind)
763 return i, nil
764}
765
766func (m *GroupResource) Marshal() (dAtA []byte, err error) {
767 size := m.Size()
768 dAtA = make([]byte, size)
769 n, err := m.MarshalTo(dAtA)
770 if err != nil {
771 return nil, err
772 }
773 return dAtA[:n], nil
774}
775
776func (m *GroupResource) MarshalTo(dAtA []byte) (int, error) {
777 var i int
778 _ = i
779 var l int
780 _ = l
781 dAtA[i] = 0xa
782 i++
783 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
784 i += copy(dAtA[i:], m.Group)
785 dAtA[i] = 0x12
786 i++
787 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource)))
788 i += copy(dAtA[i:], m.Resource)
789 return i, nil
790}
791
792func (m *GroupVersion) Marshal() (dAtA []byte, err error) {
793 size := m.Size()
794 dAtA = make([]byte, size)
795 n, err := m.MarshalTo(dAtA)
796 if err != nil {
797 return nil, err
798 }
799 return dAtA[:n], nil
800}
801
802func (m *GroupVersion) MarshalTo(dAtA []byte) (int, error) {
803 var i int
804 _ = i
805 var l int
806 _ = l
807 dAtA[i] = 0xa
808 i++
809 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
810 i += copy(dAtA[i:], m.Group)
811 dAtA[i] = 0x12
812 i++
813 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
814 i += copy(dAtA[i:], m.Version)
815 return i, nil
816}
817
818func (m *GroupVersionForDiscovery) Marshal() (dAtA []byte, err error) {
819 size := m.Size()
820 dAtA = make([]byte, size)
821 n, err := m.MarshalTo(dAtA)
822 if err != nil {
823 return nil, err
824 }
825 return dAtA[:n], nil
826}
827
828func (m *GroupVersionForDiscovery) MarshalTo(dAtA []byte) (int, error) {
829 var i int
830 _ = i
831 var l int
832 _ = l
833 dAtA[i] = 0xa
834 i++
835 i = encodeVarintGenerated(dAtA, i, uint64(len(m.GroupVersion)))
836 i += copy(dAtA[i:], m.GroupVersion)
837 dAtA[i] = 0x12
838 i++
839 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
840 i += copy(dAtA[i:], m.Version)
841 return i, nil
842}
843
844func (m *GroupVersionKind) Marshal() (dAtA []byte, err error) {
845 size := m.Size()
846 dAtA = make([]byte, size)
847 n, err := m.MarshalTo(dAtA)
848 if err != nil {
849 return nil, err
850 }
851 return dAtA[:n], nil
852}
853
854func (m *GroupVersionKind) MarshalTo(dAtA []byte) (int, error) {
855 var i int
856 _ = i
857 var l int
858 _ = l
859 dAtA[i] = 0xa
860 i++
861 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
862 i += copy(dAtA[i:], m.Group)
863 dAtA[i] = 0x12
864 i++
865 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
866 i += copy(dAtA[i:], m.Version)
867 dAtA[i] = 0x1a
868 i++
869 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
870 i += copy(dAtA[i:], m.Kind)
871 return i, nil
872}
873
874func (m *GroupVersionResource) Marshal() (dAtA []byte, err error) {
875 size := m.Size()
876 dAtA = make([]byte, size)
877 n, err := m.MarshalTo(dAtA)
878 if err != nil {
879 return nil, err
880 }
881 return dAtA[:n], nil
882}
883
884func (m *GroupVersionResource) MarshalTo(dAtA []byte) (int, error) {
885 var i int
886 _ = i
887 var l int
888 _ = l
889 dAtA[i] = 0xa
890 i++
891 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
892 i += copy(dAtA[i:], m.Group)
893 dAtA[i] = 0x12
894 i++
895 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
896 i += copy(dAtA[i:], m.Version)
897 dAtA[i] = 0x1a
898 i++
899 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource)))
900 i += copy(dAtA[i:], m.Resource)
901 return i, nil
902}
903
904func (m *Initializer) Marshal() (dAtA []byte, err error) {
905 size := m.Size()
906 dAtA = make([]byte, size)
907 n, err := m.MarshalTo(dAtA)
908 if err != nil {
909 return nil, err
910 }
911 return dAtA[:n], nil
912}
913
914func (m *Initializer) MarshalTo(dAtA []byte) (int, error) {
915 var i int
916 _ = i
917 var l int
918 _ = l
919 dAtA[i] = 0xa
920 i++
921 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
922 i += copy(dAtA[i:], m.Name)
923 return i, nil
924}
925
926func (m *Initializers) Marshal() (dAtA []byte, err error) {
927 size := m.Size()
928 dAtA = make([]byte, size)
929 n, err := m.MarshalTo(dAtA)
930 if err != nil {
931 return nil, err
932 }
933 return dAtA[:n], nil
934}
935
936func (m *Initializers) MarshalTo(dAtA []byte) (int, error) {
937 var i int
938 _ = i
939 var l int
940 _ = l
941 if len(m.Pending) > 0 {
942 for _, msg := range m.Pending {
943 dAtA[i] = 0xa
944 i++
945 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
946 n, err := msg.MarshalTo(dAtA[i:])
947 if err != nil {
948 return 0, err
949 }
950 i += n
951 }
952 }
953 if m.Result != nil {
954 dAtA[i] = 0x12
955 i++
956 i = encodeVarintGenerated(dAtA, i, uint64(m.Result.Size()))
957 n4, err := m.Result.MarshalTo(dAtA[i:])
958 if err != nil {
959 return 0, err
960 }
961 i += n4
962 }
963 return i, nil
964}
965
966func (m *LabelSelector) Marshal() (dAtA []byte, err error) {
967 size := m.Size()
968 dAtA = make([]byte, size)
969 n, err := m.MarshalTo(dAtA)
970 if err != nil {
971 return nil, err
972 }
973 return dAtA[:n], nil
974}
975
976func (m *LabelSelector) MarshalTo(dAtA []byte) (int, error) {
977 var i int
978 _ = i
979 var l int
980 _ = l
981 if len(m.MatchLabels) > 0 {
982 keysForMatchLabels := make([]string, 0, len(m.MatchLabels))
983 for k := range m.MatchLabels {
984 keysForMatchLabels = append(keysForMatchLabels, string(k))
985 }
986 github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels)
987 for _, k := range keysForMatchLabels {
988 dAtA[i] = 0xa
989 i++
990 v := m.MatchLabels[string(k)]
991 mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
992 i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
993 dAtA[i] = 0xa
994 i++
995 i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
996 i += copy(dAtA[i:], k)
997 dAtA[i] = 0x12
998 i++
999 i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
1000 i += copy(dAtA[i:], v)
1001 }
1002 }
1003 if len(m.MatchExpressions) > 0 {
1004 for _, msg := range m.MatchExpressions {
1005 dAtA[i] = 0x12
1006 i++
1007 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1008 n, err := msg.MarshalTo(dAtA[i:])
1009 if err != nil {
1010 return 0, err
1011 }
1012 i += n
1013 }
1014 }
1015 return i, nil
1016}
1017
1018func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error) {
1019 size := m.Size()
1020 dAtA = make([]byte, size)
1021 n, err := m.MarshalTo(dAtA)
1022 if err != nil {
1023 return nil, err
1024 }
1025 return dAtA[:n], nil
1026}
1027
1028func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error) {
1029 var i int
1030 _ = i
1031 var l int
1032 _ = l
1033 dAtA[i] = 0xa
1034 i++
1035 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
1036 i += copy(dAtA[i:], m.Key)
1037 dAtA[i] = 0x12
1038 i++
1039 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator)))
1040 i += copy(dAtA[i:], m.Operator)
1041 if len(m.Values) > 0 {
1042 for _, s := range m.Values {
1043 dAtA[i] = 0x1a
1044 i++
1045 l = len(s)
1046 for l >= 1<<7 {
1047 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
1048 l >>= 7
1049 i++
1050 }
1051 dAtA[i] = uint8(l)
1052 i++
1053 i += copy(dAtA[i:], s)
1054 }
1055 }
1056 return i, nil
1057}
1058
1059func (m *List) Marshal() (dAtA []byte, err error) {
1060 size := m.Size()
1061 dAtA = make([]byte, size)
1062 n, err := m.MarshalTo(dAtA)
1063 if err != nil {
1064 return nil, err
1065 }
1066 return dAtA[:n], nil
1067}
1068
1069func (m *List) MarshalTo(dAtA []byte) (int, error) {
1070 var i int
1071 _ = i
1072 var l int
1073 _ = l
1074 dAtA[i] = 0xa
1075 i++
1076 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
1077 n5, err := m.ListMeta.MarshalTo(dAtA[i:])
1078 if err != nil {
1079 return 0, err
1080 }
1081 i += n5
1082 if len(m.Items) > 0 {
1083 for _, msg := range m.Items {
1084 dAtA[i] = 0x12
1085 i++
1086 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1087 n, err := msg.MarshalTo(dAtA[i:])
1088 if err != nil {
1089 return 0, err
1090 }
1091 i += n
1092 }
1093 }
1094 return i, nil
1095}
1096
1097func (m *ListMeta) Marshal() (dAtA []byte, err error) {
1098 size := m.Size()
1099 dAtA = make([]byte, size)
1100 n, err := m.MarshalTo(dAtA)
1101 if err != nil {
1102 return nil, err
1103 }
1104 return dAtA[:n], nil
1105}
1106
1107func (m *ListMeta) MarshalTo(dAtA []byte) (int, error) {
1108 var i int
1109 _ = i
1110 var l int
1111 _ = l
1112 dAtA[i] = 0xa
1113 i++
1114 i = encodeVarintGenerated(dAtA, i, uint64(len(m.SelfLink)))
1115 i += copy(dAtA[i:], m.SelfLink)
1116 dAtA[i] = 0x12
1117 i++
1118 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
1119 i += copy(dAtA[i:], m.ResourceVersion)
1120 dAtA[i] = 0x1a
1121 i++
1122 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Continue)))
1123 i += copy(dAtA[i:], m.Continue)
1124 return i, nil
1125}
1126
1127func (m *ListOptions) Marshal() (dAtA []byte, err error) {
1128 size := m.Size()
1129 dAtA = make([]byte, size)
1130 n, err := m.MarshalTo(dAtA)
1131 if err != nil {
1132 return nil, err
1133 }
1134 return dAtA[:n], nil
1135}
1136
1137func (m *ListOptions) MarshalTo(dAtA []byte) (int, error) {
1138 var i int
1139 _ = i
1140 var l int
1141 _ = l
1142 dAtA[i] = 0xa
1143 i++
1144 i = encodeVarintGenerated(dAtA, i, uint64(len(m.LabelSelector)))
1145 i += copy(dAtA[i:], m.LabelSelector)
1146 dAtA[i] = 0x12
1147 i++
1148 i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldSelector)))
1149 i += copy(dAtA[i:], m.FieldSelector)
1150 dAtA[i] = 0x18
1151 i++
1152 if m.Watch {
1153 dAtA[i] = 1
1154 } else {
1155 dAtA[i] = 0
1156 }
1157 i++
1158 dAtA[i] = 0x22
1159 i++
1160 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
1161 i += copy(dAtA[i:], m.ResourceVersion)
1162 if m.TimeoutSeconds != nil {
1163 dAtA[i] = 0x28
1164 i++
1165 i = encodeVarintGenerated(dAtA, i, uint64(*m.TimeoutSeconds))
1166 }
1167 dAtA[i] = 0x30
1168 i++
1169 if m.IncludeUninitialized {
1170 dAtA[i] = 1
1171 } else {
1172 dAtA[i] = 0
1173 }
1174 i++
1175 dAtA[i] = 0x38
1176 i++
1177 i = encodeVarintGenerated(dAtA, i, uint64(m.Limit))
1178 dAtA[i] = 0x42
1179 i++
1180 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Continue)))
1181 i += copy(dAtA[i:], m.Continue)
1182 return i, nil
1183}
1184
1185func (m *ObjectMeta) Marshal() (dAtA []byte, err error) {
1186 size := m.Size()
1187 dAtA = make([]byte, size)
1188 n, err := m.MarshalTo(dAtA)
1189 if err != nil {
1190 return nil, err
1191 }
1192 return dAtA[:n], nil
1193}
1194
1195func (m *ObjectMeta) MarshalTo(dAtA []byte) (int, error) {
1196 var i int
1197 _ = i
1198 var l int
1199 _ = l
1200 dAtA[i] = 0xa
1201 i++
1202 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
1203 i += copy(dAtA[i:], m.Name)
1204 dAtA[i] = 0x12
1205 i++
1206 i = encodeVarintGenerated(dAtA, i, uint64(len(m.GenerateName)))
1207 i += copy(dAtA[i:], m.GenerateName)
1208 dAtA[i] = 0x1a
1209 i++
1210 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
1211 i += copy(dAtA[i:], m.Namespace)
1212 dAtA[i] = 0x22
1213 i++
1214 i = encodeVarintGenerated(dAtA, i, uint64(len(m.SelfLink)))
1215 i += copy(dAtA[i:], m.SelfLink)
1216 dAtA[i] = 0x2a
1217 i++
1218 i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
1219 i += copy(dAtA[i:], m.UID)
1220 dAtA[i] = 0x32
1221 i++
1222 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
1223 i += copy(dAtA[i:], m.ResourceVersion)
1224 dAtA[i] = 0x38
1225 i++
1226 i = encodeVarintGenerated(dAtA, i, uint64(m.Generation))
1227 dAtA[i] = 0x42
1228 i++
1229 i = encodeVarintGenerated(dAtA, i, uint64(m.CreationTimestamp.Size()))
1230 n6, err := m.CreationTimestamp.MarshalTo(dAtA[i:])
1231 if err != nil {
1232 return 0, err
1233 }
1234 i += n6
1235 if m.DeletionTimestamp != nil {
1236 dAtA[i] = 0x4a
1237 i++
1238 i = encodeVarintGenerated(dAtA, i, uint64(m.DeletionTimestamp.Size()))
1239 n7, err := m.DeletionTimestamp.MarshalTo(dAtA[i:])
1240 if err != nil {
1241 return 0, err
1242 }
1243 i += n7
1244 }
1245 if m.DeletionGracePeriodSeconds != nil {
1246 dAtA[i] = 0x50
1247 i++
1248 i = encodeVarintGenerated(dAtA, i, uint64(*m.DeletionGracePeriodSeconds))
1249 }
1250 if len(m.Labels) > 0 {
1251 keysForLabels := make([]string, 0, len(m.Labels))
1252 for k := range m.Labels {
1253 keysForLabels = append(keysForLabels, string(k))
1254 }
1255 github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
1256 for _, k := range keysForLabels {
1257 dAtA[i] = 0x5a
1258 i++
1259 v := m.Labels[string(k)]
1260 mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
1261 i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
1262 dAtA[i] = 0xa
1263 i++
1264 i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
1265 i += copy(dAtA[i:], k)
1266 dAtA[i] = 0x12
1267 i++
1268 i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
1269 i += copy(dAtA[i:], v)
1270 }
1271 }
1272 if len(m.Annotations) > 0 {
1273 keysForAnnotations := make([]string, 0, len(m.Annotations))
1274 for k := range m.Annotations {
1275 keysForAnnotations = append(keysForAnnotations, string(k))
1276 }
1277 github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
1278 for _, k := range keysForAnnotations {
1279 dAtA[i] = 0x62
1280 i++
1281 v := m.Annotations[string(k)]
1282 mapSize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
1283 i = encodeVarintGenerated(dAtA, i, uint64(mapSize))
1284 dAtA[i] = 0xa
1285 i++
1286 i = encodeVarintGenerated(dAtA, i, uint64(len(k)))
1287 i += copy(dAtA[i:], k)
1288 dAtA[i] = 0x12
1289 i++
1290 i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
1291 i += copy(dAtA[i:], v)
1292 }
1293 }
1294 if len(m.OwnerReferences) > 0 {
1295 for _, msg := range m.OwnerReferences {
1296 dAtA[i] = 0x6a
1297 i++
1298 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1299 n, err := msg.MarshalTo(dAtA[i:])
1300 if err != nil {
1301 return 0, err
1302 }
1303 i += n
1304 }
1305 }
1306 if len(m.Finalizers) > 0 {
1307 for _, s := range m.Finalizers {
1308 dAtA[i] = 0x72
1309 i++
1310 l = len(s)
1311 for l >= 1<<7 {
1312 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
1313 l >>= 7
1314 i++
1315 }
1316 dAtA[i] = uint8(l)
1317 i++
1318 i += copy(dAtA[i:], s)
1319 }
1320 }
1321 dAtA[i] = 0x7a
1322 i++
1323 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClusterName)))
1324 i += copy(dAtA[i:], m.ClusterName)
1325 if m.Initializers != nil {
1326 dAtA[i] = 0x82
1327 i++
1328 dAtA[i] = 0x1
1329 i++
1330 i = encodeVarintGenerated(dAtA, i, uint64(m.Initializers.Size()))
1331 n8, err := m.Initializers.MarshalTo(dAtA[i:])
1332 if err != nil {
1333 return 0, err
1334 }
1335 i += n8
1336 }
1337 return i, nil
1338}
1339
1340func (m *OwnerReference) Marshal() (dAtA []byte, err error) {
1341 size := m.Size()
1342 dAtA = make([]byte, size)
1343 n, err := m.MarshalTo(dAtA)
1344 if err != nil {
1345 return nil, err
1346 }
1347 return dAtA[:n], nil
1348}
1349
1350func (m *OwnerReference) MarshalTo(dAtA []byte) (int, error) {
1351 var i int
1352 _ = i
1353 var l int
1354 _ = l
1355 dAtA[i] = 0xa
1356 i++
1357 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
1358 i += copy(dAtA[i:], m.Kind)
1359 dAtA[i] = 0x1a
1360 i++
1361 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
1362 i += copy(dAtA[i:], m.Name)
1363 dAtA[i] = 0x22
1364 i++
1365 i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
1366 i += copy(dAtA[i:], m.UID)
1367 dAtA[i] = 0x2a
1368 i++
1369 i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
1370 i += copy(dAtA[i:], m.APIVersion)
1371 if m.Controller != nil {
1372 dAtA[i] = 0x30
1373 i++
1374 if *m.Controller {
1375 dAtA[i] = 1
1376 } else {
1377 dAtA[i] = 0
1378 }
1379 i++
1380 }
1381 if m.BlockOwnerDeletion != nil {
1382 dAtA[i] = 0x38
1383 i++
1384 if *m.BlockOwnerDeletion {
1385 dAtA[i] = 1
1386 } else {
1387 dAtA[i] = 0
1388 }
1389 i++
1390 }
1391 return i, nil
1392}
1393
1394func (m *Patch) Marshal() (dAtA []byte, err error) {
1395 size := m.Size()
1396 dAtA = make([]byte, size)
1397 n, err := m.MarshalTo(dAtA)
1398 if err != nil {
1399 return nil, err
1400 }
1401 return dAtA[:n], nil
1402}
1403
1404func (m *Patch) MarshalTo(dAtA []byte) (int, error) {
1405 var i int
1406 _ = i
1407 var l int
1408 _ = l
1409 return i, nil
1410}
1411
1412func (m *Preconditions) Marshal() (dAtA []byte, err error) {
1413 size := m.Size()
1414 dAtA = make([]byte, size)
1415 n, err := m.MarshalTo(dAtA)
1416 if err != nil {
1417 return nil, err
1418 }
1419 return dAtA[:n], nil
1420}
1421
1422func (m *Preconditions) MarshalTo(dAtA []byte) (int, error) {
1423 var i int
1424 _ = i
1425 var l int
1426 _ = l
1427 if m.UID != nil {
1428 dAtA[i] = 0xa
1429 i++
1430 i = encodeVarintGenerated(dAtA, i, uint64(len(*m.UID)))
1431 i += copy(dAtA[i:], *m.UID)
1432 }
1433 return i, nil
1434}
1435
1436func (m *RootPaths) Marshal() (dAtA []byte, err error) {
1437 size := m.Size()
1438 dAtA = make([]byte, size)
1439 n, err := m.MarshalTo(dAtA)
1440 if err != nil {
1441 return nil, err
1442 }
1443 return dAtA[:n], nil
1444}
1445
1446func (m *RootPaths) MarshalTo(dAtA []byte) (int, error) {
1447 var i int
1448 _ = i
1449 var l int
1450 _ = l
1451 if len(m.Paths) > 0 {
1452 for _, s := range m.Paths {
1453 dAtA[i] = 0xa
1454 i++
1455 l = len(s)
1456 for l >= 1<<7 {
1457 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
1458 l >>= 7
1459 i++
1460 }
1461 dAtA[i] = uint8(l)
1462 i++
1463 i += copy(dAtA[i:], s)
1464 }
1465 }
1466 return i, nil
1467}
1468
1469func (m *ServerAddressByClientCIDR) Marshal() (dAtA []byte, err error) {
1470 size := m.Size()
1471 dAtA = make([]byte, size)
1472 n, err := m.MarshalTo(dAtA)
1473 if err != nil {
1474 return nil, err
1475 }
1476 return dAtA[:n], nil
1477}
1478
1479func (m *ServerAddressByClientCIDR) MarshalTo(dAtA []byte) (int, error) {
1480 var i int
1481 _ = i
1482 var l int
1483 _ = l
1484 dAtA[i] = 0xa
1485 i++
1486 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ClientCIDR)))
1487 i += copy(dAtA[i:], m.ClientCIDR)
1488 dAtA[i] = 0x12
1489 i++
1490 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServerAddress)))
1491 i += copy(dAtA[i:], m.ServerAddress)
1492 return i, nil
1493}
1494
1495func (m *Status) Marshal() (dAtA []byte, err error) {
1496 size := m.Size()
1497 dAtA = make([]byte, size)
1498 n, err := m.MarshalTo(dAtA)
1499 if err != nil {
1500 return nil, err
1501 }
1502 return dAtA[:n], nil
1503}
1504
1505func (m *Status) MarshalTo(dAtA []byte) (int, error) {
1506 var i int
1507 _ = i
1508 var l int
1509 _ = l
1510 dAtA[i] = 0xa
1511 i++
1512 i = encodeVarintGenerated(dAtA, i, uint64(m.ListMeta.Size()))
1513 n9, err := m.ListMeta.MarshalTo(dAtA[i:])
1514 if err != nil {
1515 return 0, err
1516 }
1517 i += n9
1518 dAtA[i] = 0x12
1519 i++
1520 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
1521 i += copy(dAtA[i:], m.Status)
1522 dAtA[i] = 0x1a
1523 i++
1524 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
1525 i += copy(dAtA[i:], m.Message)
1526 dAtA[i] = 0x22
1527 i++
1528 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
1529 i += copy(dAtA[i:], m.Reason)
1530 if m.Details != nil {
1531 dAtA[i] = 0x2a
1532 i++
1533 i = encodeVarintGenerated(dAtA, i, uint64(m.Details.Size()))
1534 n10, err := m.Details.MarshalTo(dAtA[i:])
1535 if err != nil {
1536 return 0, err
1537 }
1538 i += n10
1539 }
1540 dAtA[i] = 0x30
1541 i++
1542 i = encodeVarintGenerated(dAtA, i, uint64(m.Code))
1543 return i, nil
1544}
1545
1546func (m *StatusCause) Marshal() (dAtA []byte, err error) {
1547 size := m.Size()
1548 dAtA = make([]byte, size)
1549 n, err := m.MarshalTo(dAtA)
1550 if err != nil {
1551 return nil, err
1552 }
1553 return dAtA[:n], nil
1554}
1555
1556func (m *StatusCause) MarshalTo(dAtA []byte) (int, error) {
1557 var i int
1558 _ = i
1559 var l int
1560 _ = l
1561 dAtA[i] = 0xa
1562 i++
1563 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
1564 i += copy(dAtA[i:], m.Type)
1565 dAtA[i] = 0x12
1566 i++
1567 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
1568 i += copy(dAtA[i:], m.Message)
1569 dAtA[i] = 0x1a
1570 i++
1571 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Field)))
1572 i += copy(dAtA[i:], m.Field)
1573 return i, nil
1574}
1575
1576func (m *StatusDetails) Marshal() (dAtA []byte, err error) {
1577 size := m.Size()
1578 dAtA = make([]byte, size)
1579 n, err := m.MarshalTo(dAtA)
1580 if err != nil {
1581 return nil, err
1582 }
1583 return dAtA[:n], nil
1584}
1585
1586func (m *StatusDetails) MarshalTo(dAtA []byte) (int, error) {
1587 var i int
1588 _ = i
1589 var l int
1590 _ = l
1591 dAtA[i] = 0xa
1592 i++
1593 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
1594 i += copy(dAtA[i:], m.Name)
1595 dAtA[i] = 0x12
1596 i++
1597 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
1598 i += copy(dAtA[i:], m.Group)
1599 dAtA[i] = 0x1a
1600 i++
1601 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
1602 i += copy(dAtA[i:], m.Kind)
1603 if len(m.Causes) > 0 {
1604 for _, msg := range m.Causes {
1605 dAtA[i] = 0x22
1606 i++
1607 i = encodeVarintGenerated(dAtA, i, uint64(msg.Size()))
1608 n, err := msg.MarshalTo(dAtA[i:])
1609 if err != nil {
1610 return 0, err
1611 }
1612 i += n
1613 }
1614 }
1615 dAtA[i] = 0x28
1616 i++
1617 i = encodeVarintGenerated(dAtA, i, uint64(m.RetryAfterSeconds))
1618 dAtA[i] = 0x32
1619 i++
1620 i = encodeVarintGenerated(dAtA, i, uint64(len(m.UID)))
1621 i += copy(dAtA[i:], m.UID)
1622 return i, nil
1623}
1624
1625func (m *Timestamp) Marshal() (dAtA []byte, err error) {
1626 size := m.Size()
1627 dAtA = make([]byte, size)
1628 n, err := m.MarshalTo(dAtA)
1629 if err != nil {
1630 return nil, err
1631 }
1632 return dAtA[:n], nil
1633}
1634
1635func (m *Timestamp) MarshalTo(dAtA []byte) (int, error) {
1636 var i int
1637 _ = i
1638 var l int
1639 _ = l
1640 dAtA[i] = 0x8
1641 i++
1642 i = encodeVarintGenerated(dAtA, i, uint64(m.Seconds))
1643 dAtA[i] = 0x10
1644 i++
1645 i = encodeVarintGenerated(dAtA, i, uint64(m.Nanos))
1646 return i, nil
1647}
1648
1649func (m *TypeMeta) Marshal() (dAtA []byte, err error) {
1650 size := m.Size()
1651 dAtA = make([]byte, size)
1652 n, err := m.MarshalTo(dAtA)
1653 if err != nil {
1654 return nil, err
1655 }
1656 return dAtA[:n], nil
1657}
1658
1659func (m *TypeMeta) MarshalTo(dAtA []byte) (int, error) {
1660 var i int
1661 _ = i
1662 var l int
1663 _ = l
1664 dAtA[i] = 0xa
1665 i++
1666 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
1667 i += copy(dAtA[i:], m.Kind)
1668 dAtA[i] = 0x12
1669 i++
1670 i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
1671 i += copy(dAtA[i:], m.APIVersion)
1672 return i, nil
1673}
1674
1675func (m *UpdateOptions) Marshal() (dAtA []byte, err error) {
1676 size := m.Size()
1677 dAtA = make([]byte, size)
1678 n, err := m.MarshalTo(dAtA)
1679 if err != nil {
1680 return nil, err
1681 }
1682 return dAtA[:n], nil
1683}
1684
1685func (m *UpdateOptions) MarshalTo(dAtA []byte) (int, error) {
1686 var i int
1687 _ = i
1688 var l int
1689 _ = l
1690 if len(m.DryRun) > 0 {
1691 for _, s := range m.DryRun {
1692 dAtA[i] = 0xa
1693 i++
1694 l = len(s)
1695 for l >= 1<<7 {
1696 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
1697 l >>= 7
1698 i++
1699 }
1700 dAtA[i] = uint8(l)
1701 i++
1702 i += copy(dAtA[i:], s)
1703 }
1704 }
1705 return i, nil
1706}
1707
1708func (m Verbs) Marshal() (dAtA []byte, err error) {
1709 size := m.Size()
1710 dAtA = make([]byte, size)
1711 n, err := m.MarshalTo(dAtA)
1712 if err != nil {
1713 return nil, err
1714 }
1715 return dAtA[:n], nil
1716}
1717
1718func (m Verbs) MarshalTo(dAtA []byte) (int, error) {
1719 var i int
1720 _ = i
1721 var l int
1722 _ = l
1723 if len(m) > 0 {
1724 for _, s := range m {
1725 dAtA[i] = 0xa
1726 i++
1727 l = len(s)
1728 for l >= 1<<7 {
1729 dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
1730 l >>= 7
1731 i++
1732 }
1733 dAtA[i] = uint8(l)
1734 i++
1735 i += copy(dAtA[i:], s)
1736 }
1737 }
1738 return i, nil
1739}
1740
1741func (m *WatchEvent) Marshal() (dAtA []byte, err error) {
1742 size := m.Size()
1743 dAtA = make([]byte, size)
1744 n, err := m.MarshalTo(dAtA)
1745 if err != nil {
1746 return nil, err
1747 }
1748 return dAtA[:n], nil
1749}
1750
1751func (m *WatchEvent) MarshalTo(dAtA []byte) (int, error) {
1752 var i int
1753 _ = i
1754 var l int
1755 _ = l
1756 dAtA[i] = 0xa
1757 i++
1758 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
1759 i += copy(dAtA[i:], m.Type)
1760 dAtA[i] = 0x12
1761 i++
1762 i = encodeVarintGenerated(dAtA, i, uint64(m.Object.Size()))
1763 n11, err := m.Object.MarshalTo(dAtA[i:])
1764 if err != nil {
1765 return 0, err
1766 }
1767 i += n11
1768 return i, nil
1769}
1770
1771func encodeFixed64Generated(dAtA []byte, offset int, v uint64) int {
1772 dAtA[offset] = uint8(v)
1773 dAtA[offset+1] = uint8(v >> 8)
1774 dAtA[offset+2] = uint8(v >> 16)
1775 dAtA[offset+3] = uint8(v >> 24)
1776 dAtA[offset+4] = uint8(v >> 32)
1777 dAtA[offset+5] = uint8(v >> 40)
1778 dAtA[offset+6] = uint8(v >> 48)
1779 dAtA[offset+7] = uint8(v >> 56)
1780 return offset + 8
1781}
1782func encodeFixed32Generated(dAtA []byte, offset int, v uint32) int {
1783 dAtA[offset] = uint8(v)
1784 dAtA[offset+1] = uint8(v >> 8)
1785 dAtA[offset+2] = uint8(v >> 16)
1786 dAtA[offset+3] = uint8(v >> 24)
1787 return offset + 4
1788}
1789func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
1790 for v >= 1<<7 {
1791 dAtA[offset] = uint8(v&0x7f | 0x80)
1792 v >>= 7
1793 offset++
1794 }
1795 dAtA[offset] = uint8(v)
1796 return offset + 1
1797}
1798func (m *APIGroup) Size() (n int) {
1799 var l int
1800 _ = l
1801 l = len(m.Name)
1802 n += 1 + l + sovGenerated(uint64(l))
1803 if len(m.Versions) > 0 {
1804 for _, e := range m.Versions {
1805 l = e.Size()
1806 n += 1 + l + sovGenerated(uint64(l))
1807 }
1808 }
1809 l = m.PreferredVersion.Size()
1810 n += 1 + l + sovGenerated(uint64(l))
1811 if len(m.ServerAddressByClientCIDRs) > 0 {
1812 for _, e := range m.ServerAddressByClientCIDRs {
1813 l = e.Size()
1814 n += 1 + l + sovGenerated(uint64(l))
1815 }
1816 }
1817 return n
1818}
1819
1820func (m *APIGroupList) Size() (n int) {
1821 var l int
1822 _ = l
1823 if len(m.Groups) > 0 {
1824 for _, e := range m.Groups {
1825 l = e.Size()
1826 n += 1 + l + sovGenerated(uint64(l))
1827 }
1828 }
1829 return n
1830}
1831
1832func (m *APIResource) Size() (n int) {
1833 var l int
1834 _ = l
1835 l = len(m.Name)
1836 n += 1 + l + sovGenerated(uint64(l))
1837 n += 2
1838 l = len(m.Kind)
1839 n += 1 + l + sovGenerated(uint64(l))
1840 if m.Verbs != nil {
1841 l = m.Verbs.Size()
1842 n += 1 + l + sovGenerated(uint64(l))
1843 }
1844 if len(m.ShortNames) > 0 {
1845 for _, s := range m.ShortNames {
1846 l = len(s)
1847 n += 1 + l + sovGenerated(uint64(l))
1848 }
1849 }
1850 l = len(m.SingularName)
1851 n += 1 + l + sovGenerated(uint64(l))
1852 if len(m.Categories) > 0 {
1853 for _, s := range m.Categories {
1854 l = len(s)
1855 n += 1 + l + sovGenerated(uint64(l))
1856 }
1857 }
1858 l = len(m.Group)
1859 n += 1 + l + sovGenerated(uint64(l))
1860 l = len(m.Version)
1861 n += 1 + l + sovGenerated(uint64(l))
1862 return n
1863}
1864
1865func (m *APIResourceList) Size() (n int) {
1866 var l int
1867 _ = l
1868 l = len(m.GroupVersion)
1869 n += 1 + l + sovGenerated(uint64(l))
1870 if len(m.APIResources) > 0 {
1871 for _, e := range m.APIResources {
1872 l = e.Size()
1873 n += 1 + l + sovGenerated(uint64(l))
1874 }
1875 }
1876 return n
1877}
1878
1879func (m *APIVersions) Size() (n int) {
1880 var l int
1881 _ = l
1882 if len(m.Versions) > 0 {
1883 for _, s := range m.Versions {
1884 l = len(s)
1885 n += 1 + l + sovGenerated(uint64(l))
1886 }
1887 }
1888 if len(m.ServerAddressByClientCIDRs) > 0 {
1889 for _, e := range m.ServerAddressByClientCIDRs {
1890 l = e.Size()
1891 n += 1 + l + sovGenerated(uint64(l))
1892 }
1893 }
1894 return n
1895}
1896
1897func (m *CreateOptions) Size() (n int) {
1898 var l int
1899 _ = l
1900 if len(m.DryRun) > 0 {
1901 for _, s := range m.DryRun {
1902 l = len(s)
1903 n += 1 + l + sovGenerated(uint64(l))
1904 }
1905 }
1906 n += 2
1907 return n
1908}
1909
1910func (m *DeleteOptions) Size() (n int) {
1911 var l int
1912 _ = l
1913 if m.GracePeriodSeconds != nil {
1914 n += 1 + sovGenerated(uint64(*m.GracePeriodSeconds))
1915 }
1916 if m.Preconditions != nil {
1917 l = m.Preconditions.Size()
1918 n += 1 + l + sovGenerated(uint64(l))
1919 }
1920 if m.OrphanDependents != nil {
1921 n += 2
1922 }
1923 if m.PropagationPolicy != nil {
1924 l = len(*m.PropagationPolicy)
1925 n += 1 + l + sovGenerated(uint64(l))
1926 }
1927 if len(m.DryRun) > 0 {
1928 for _, s := range m.DryRun {
1929 l = len(s)
1930 n += 1 + l + sovGenerated(uint64(l))
1931 }
1932 }
1933 return n
1934}
1935
1936func (m *Duration) Size() (n int) {
1937 var l int
1938 _ = l
1939 n += 1 + sovGenerated(uint64(m.Duration))
1940 return n
1941}
1942
1943func (m *ExportOptions) Size() (n int) {
1944 var l int
1945 _ = l
1946 n += 2
1947 n += 2
1948 return n
1949}
1950
1951func (m *GetOptions) Size() (n int) {
1952 var l int
1953 _ = l
1954 l = len(m.ResourceVersion)
1955 n += 1 + l + sovGenerated(uint64(l))
1956 n += 2
1957 return n
1958}
1959
1960func (m *GroupKind) Size() (n int) {
1961 var l int
1962 _ = l
1963 l = len(m.Group)
1964 n += 1 + l + sovGenerated(uint64(l))
1965 l = len(m.Kind)
1966 n += 1 + l + sovGenerated(uint64(l))
1967 return n
1968}
1969
1970func (m *GroupResource) Size() (n int) {
1971 var l int
1972 _ = l
1973 l = len(m.Group)
1974 n += 1 + l + sovGenerated(uint64(l))
1975 l = len(m.Resource)
1976 n += 1 + l + sovGenerated(uint64(l))
1977 return n
1978}
1979
1980func (m *GroupVersion) Size() (n int) {
1981 var l int
1982 _ = l
1983 l = len(m.Group)
1984 n += 1 + l + sovGenerated(uint64(l))
1985 l = len(m.Version)
1986 n += 1 + l + sovGenerated(uint64(l))
1987 return n
1988}
1989
1990func (m *GroupVersionForDiscovery) Size() (n int) {
1991 var l int
1992 _ = l
1993 l = len(m.GroupVersion)
1994 n += 1 + l + sovGenerated(uint64(l))
1995 l = len(m.Version)
1996 n += 1 + l + sovGenerated(uint64(l))
1997 return n
1998}
1999
2000func (m *GroupVersionKind) Size() (n int) {
2001 var l int
2002 _ = l
2003 l = len(m.Group)
2004 n += 1 + l + sovGenerated(uint64(l))
2005 l = len(m.Version)
2006 n += 1 + l + sovGenerated(uint64(l))
2007 l = len(m.Kind)
2008 n += 1 + l + sovGenerated(uint64(l))
2009 return n
2010}
2011
2012func (m *GroupVersionResource) Size() (n int) {
2013 var l int
2014 _ = l
2015 l = len(m.Group)
2016 n += 1 + l + sovGenerated(uint64(l))
2017 l = len(m.Version)
2018 n += 1 + l + sovGenerated(uint64(l))
2019 l = len(m.Resource)
2020 n += 1 + l + sovGenerated(uint64(l))
2021 return n
2022}
2023
2024func (m *Initializer) Size() (n int) {
2025 var l int
2026 _ = l
2027 l = len(m.Name)
2028 n += 1 + l + sovGenerated(uint64(l))
2029 return n
2030}
2031
2032func (m *Initializers) Size() (n int) {
2033 var l int
2034 _ = l
2035 if len(m.Pending) > 0 {
2036 for _, e := range m.Pending {
2037 l = e.Size()
2038 n += 1 + l + sovGenerated(uint64(l))
2039 }
2040 }
2041 if m.Result != nil {
2042 l = m.Result.Size()
2043 n += 1 + l + sovGenerated(uint64(l))
2044 }
2045 return n
2046}
2047
2048func (m *LabelSelector) Size() (n int) {
2049 var l int
2050 _ = l
2051 if len(m.MatchLabels) > 0 {
2052 for k, v := range m.MatchLabels {
2053 _ = k
2054 _ = v
2055 mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
2056 n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
2057 }
2058 }
2059 if len(m.MatchExpressions) > 0 {
2060 for _, e := range m.MatchExpressions {
2061 l = e.Size()
2062 n += 1 + l + sovGenerated(uint64(l))
2063 }
2064 }
2065 return n
2066}
2067
2068func (m *LabelSelectorRequirement) Size() (n int) {
2069 var l int
2070 _ = l
2071 l = len(m.Key)
2072 n += 1 + l + sovGenerated(uint64(l))
2073 l = len(m.Operator)
2074 n += 1 + l + sovGenerated(uint64(l))
2075 if len(m.Values) > 0 {
2076 for _, s := range m.Values {
2077 l = len(s)
2078 n += 1 + l + sovGenerated(uint64(l))
2079 }
2080 }
2081 return n
2082}
2083
2084func (m *List) Size() (n int) {
2085 var l int
2086 _ = l
2087 l = m.ListMeta.Size()
2088 n += 1 + l + sovGenerated(uint64(l))
2089 if len(m.Items) > 0 {
2090 for _, e := range m.Items {
2091 l = e.Size()
2092 n += 1 + l + sovGenerated(uint64(l))
2093 }
2094 }
2095 return n
2096}
2097
2098func (m *ListMeta) Size() (n int) {
2099 var l int
2100 _ = l
2101 l = len(m.SelfLink)
2102 n += 1 + l + sovGenerated(uint64(l))
2103 l = len(m.ResourceVersion)
2104 n += 1 + l + sovGenerated(uint64(l))
2105 l = len(m.Continue)
2106 n += 1 + l + sovGenerated(uint64(l))
2107 return n
2108}
2109
2110func (m *ListOptions) Size() (n int) {
2111 var l int
2112 _ = l
2113 l = len(m.LabelSelector)
2114 n += 1 + l + sovGenerated(uint64(l))
2115 l = len(m.FieldSelector)
2116 n += 1 + l + sovGenerated(uint64(l))
2117 n += 2
2118 l = len(m.ResourceVersion)
2119 n += 1 + l + sovGenerated(uint64(l))
2120 if m.TimeoutSeconds != nil {
2121 n += 1 + sovGenerated(uint64(*m.TimeoutSeconds))
2122 }
2123 n += 2
2124 n += 1 + sovGenerated(uint64(m.Limit))
2125 l = len(m.Continue)
2126 n += 1 + l + sovGenerated(uint64(l))
2127 return n
2128}
2129
2130func (m *ObjectMeta) Size() (n int) {
2131 var l int
2132 _ = l
2133 l = len(m.Name)
2134 n += 1 + l + sovGenerated(uint64(l))
2135 l = len(m.GenerateName)
2136 n += 1 + l + sovGenerated(uint64(l))
2137 l = len(m.Namespace)
2138 n += 1 + l + sovGenerated(uint64(l))
2139 l = len(m.SelfLink)
2140 n += 1 + l + sovGenerated(uint64(l))
2141 l = len(m.UID)
2142 n += 1 + l + sovGenerated(uint64(l))
2143 l = len(m.ResourceVersion)
2144 n += 1 + l + sovGenerated(uint64(l))
2145 n += 1 + sovGenerated(uint64(m.Generation))
2146 l = m.CreationTimestamp.Size()
2147 n += 1 + l + sovGenerated(uint64(l))
2148 if m.DeletionTimestamp != nil {
2149 l = m.DeletionTimestamp.Size()
2150 n += 1 + l + sovGenerated(uint64(l))
2151 }
2152 if m.DeletionGracePeriodSeconds != nil {
2153 n += 1 + sovGenerated(uint64(*m.DeletionGracePeriodSeconds))
2154 }
2155 if len(m.Labels) > 0 {
2156 for k, v := range m.Labels {
2157 _ = k
2158 _ = v
2159 mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
2160 n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
2161 }
2162 }
2163 if len(m.Annotations) > 0 {
2164 for k, v := range m.Annotations {
2165 _ = k
2166 _ = v
2167 mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
2168 n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
2169 }
2170 }
2171 if len(m.OwnerReferences) > 0 {
2172 for _, e := range m.OwnerReferences {
2173 l = e.Size()
2174 n += 1 + l + sovGenerated(uint64(l))
2175 }
2176 }
2177 if len(m.Finalizers) > 0 {
2178 for _, s := range m.Finalizers {
2179 l = len(s)
2180 n += 1 + l + sovGenerated(uint64(l))
2181 }
2182 }
2183 l = len(m.ClusterName)
2184 n += 1 + l + sovGenerated(uint64(l))
2185 if m.Initializers != nil {
2186 l = m.Initializers.Size()
2187 n += 2 + l + sovGenerated(uint64(l))
2188 }
2189 return n
2190}
2191
2192func (m *OwnerReference) Size() (n int) {
2193 var l int
2194 _ = l
2195 l = len(m.Kind)
2196 n += 1 + l + sovGenerated(uint64(l))
2197 l = len(m.Name)
2198 n += 1 + l + sovGenerated(uint64(l))
2199 l = len(m.UID)
2200 n += 1 + l + sovGenerated(uint64(l))
2201 l = len(m.APIVersion)
2202 n += 1 + l + sovGenerated(uint64(l))
2203 if m.Controller != nil {
2204 n += 2
2205 }
2206 if m.BlockOwnerDeletion != nil {
2207 n += 2
2208 }
2209 return n
2210}
2211
2212func (m *Patch) Size() (n int) {
2213 var l int
2214 _ = l
2215 return n
2216}
2217
2218func (m *Preconditions) Size() (n int) {
2219 var l int
2220 _ = l
2221 if m.UID != nil {
2222 l = len(*m.UID)
2223 n += 1 + l + sovGenerated(uint64(l))
2224 }
2225 return n
2226}
2227
2228func (m *RootPaths) Size() (n int) {
2229 var l int
2230 _ = l
2231 if len(m.Paths) > 0 {
2232 for _, s := range m.Paths {
2233 l = len(s)
2234 n += 1 + l + sovGenerated(uint64(l))
2235 }
2236 }
2237 return n
2238}
2239
2240func (m *ServerAddressByClientCIDR) Size() (n int) {
2241 var l int
2242 _ = l
2243 l = len(m.ClientCIDR)
2244 n += 1 + l + sovGenerated(uint64(l))
2245 l = len(m.ServerAddress)
2246 n += 1 + l + sovGenerated(uint64(l))
2247 return n
2248}
2249
2250func (m *Status) Size() (n int) {
2251 var l int
2252 _ = l
2253 l = m.ListMeta.Size()
2254 n += 1 + l + sovGenerated(uint64(l))
2255 l = len(m.Status)
2256 n += 1 + l + sovGenerated(uint64(l))
2257 l = len(m.Message)
2258 n += 1 + l + sovGenerated(uint64(l))
2259 l = len(m.Reason)
2260 n += 1 + l + sovGenerated(uint64(l))
2261 if m.Details != nil {
2262 l = m.Details.Size()
2263 n += 1 + l + sovGenerated(uint64(l))
2264 }
2265 n += 1 + sovGenerated(uint64(m.Code))
2266 return n
2267}
2268
2269func (m *StatusCause) Size() (n int) {
2270 var l int
2271 _ = l
2272 l = len(m.Type)
2273 n += 1 + l + sovGenerated(uint64(l))
2274 l = len(m.Message)
2275 n += 1 + l + sovGenerated(uint64(l))
2276 l = len(m.Field)
2277 n += 1 + l + sovGenerated(uint64(l))
2278 return n
2279}
2280
2281func (m *StatusDetails) Size() (n int) {
2282 var l int
2283 _ = l
2284 l = len(m.Name)
2285 n += 1 + l + sovGenerated(uint64(l))
2286 l = len(m.Group)
2287 n += 1 + l + sovGenerated(uint64(l))
2288 l = len(m.Kind)
2289 n += 1 + l + sovGenerated(uint64(l))
2290 if len(m.Causes) > 0 {
2291 for _, e := range m.Causes {
2292 l = e.Size()
2293 n += 1 + l + sovGenerated(uint64(l))
2294 }
2295 }
2296 n += 1 + sovGenerated(uint64(m.RetryAfterSeconds))
2297 l = len(m.UID)
2298 n += 1 + l + sovGenerated(uint64(l))
2299 return n
2300}
2301
2302func (m *Timestamp) Size() (n int) {
2303 var l int
2304 _ = l
2305 n += 1 + sovGenerated(uint64(m.Seconds))
2306 n += 1 + sovGenerated(uint64(m.Nanos))
2307 return n
2308}
2309
2310func (m *TypeMeta) Size() (n int) {
2311 var l int
2312 _ = l
2313 l = len(m.Kind)
2314 n += 1 + l + sovGenerated(uint64(l))
2315 l = len(m.APIVersion)
2316 n += 1 + l + sovGenerated(uint64(l))
2317 return n
2318}
2319
2320func (m *UpdateOptions) Size() (n int) {
2321 var l int
2322 _ = l
2323 if len(m.DryRun) > 0 {
2324 for _, s := range m.DryRun {
2325 l = len(s)
2326 n += 1 + l + sovGenerated(uint64(l))
2327 }
2328 }
2329 return n
2330}
2331
2332func (m Verbs) Size() (n int) {
2333 var l int
2334 _ = l
2335 if len(m) > 0 {
2336 for _, s := range m {
2337 l = len(s)
2338 n += 1 + l + sovGenerated(uint64(l))
2339 }
2340 }
2341 return n
2342}
2343
2344func (m *WatchEvent) Size() (n int) {
2345 var l int
2346 _ = l
2347 l = len(m.Type)
2348 n += 1 + l + sovGenerated(uint64(l))
2349 l = m.Object.Size()
2350 n += 1 + l + sovGenerated(uint64(l))
2351 return n
2352}
2353
2354func sovGenerated(x uint64) (n int) {
2355 for {
2356 n++
2357 x >>= 7
2358 if x == 0 {
2359 break
2360 }
2361 }
2362 return n
2363}
2364func sozGenerated(x uint64) (n int) {
2365 return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
2366}
2367func (this *APIGroup) String() string {
2368 if this == nil {
2369 return "nil"
2370 }
2371 s := strings.Join([]string{`&APIGroup{`,
2372 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
2373 `Versions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Versions), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + `,`,
2374 `PreferredVersion:` + strings.Replace(strings.Replace(this.PreferredVersion.String(), "GroupVersionForDiscovery", "GroupVersionForDiscovery", 1), `&`, ``, 1) + `,`,
2375 `ServerAddressByClientCIDRs:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ServerAddressByClientCIDRs), "ServerAddressByClientCIDR", "ServerAddressByClientCIDR", 1), `&`, ``, 1) + `,`,
2376 `}`,
2377 }, "")
2378 return s
2379}
2380func (this *APIGroupList) String() string {
2381 if this == nil {
2382 return "nil"
2383 }
2384 s := strings.Join([]string{`&APIGroupList{`,
2385 `Groups:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Groups), "APIGroup", "APIGroup", 1), `&`, ``, 1) + `,`,
2386 `}`,
2387 }, "")
2388 return s
2389}
2390func (this *APIResource) String() string {
2391 if this == nil {
2392 return "nil"
2393 }
2394 s := strings.Join([]string{`&APIResource{`,
2395 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
2396 `Namespaced:` + fmt.Sprintf("%v", this.Namespaced) + `,`,
2397 `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
2398 `Verbs:` + strings.Replace(fmt.Sprintf("%v", this.Verbs), "Verbs", "Verbs", 1) + `,`,
2399 `ShortNames:` + fmt.Sprintf("%v", this.ShortNames) + `,`,
2400 `SingularName:` + fmt.Sprintf("%v", this.SingularName) + `,`,
2401 `Categories:` + fmt.Sprintf("%v", this.Categories) + `,`,
2402 `Group:` + fmt.Sprintf("%v", this.Group) + `,`,
2403 `Version:` + fmt.Sprintf("%v", this.Version) + `,`,
2404 `}`,
2405 }, "")
2406 return s
2407}
2408func (this *APIResourceList) String() string {
2409 if this == nil {
2410 return "nil"
2411 }
2412 s := strings.Join([]string{`&APIResourceList{`,
2413 `GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`,
2414 `APIResources:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.APIResources), "APIResource", "APIResource", 1), `&`, ``, 1) + `,`,
2415 `}`,
2416 }, "")
2417 return s
2418}
2419func (this *CreateOptions) String() string {
2420 if this == nil {
2421 return "nil"
2422 }
2423 s := strings.Join([]string{`&CreateOptions{`,
2424 `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`,
2425 `IncludeUninitialized:` + fmt.Sprintf("%v", this.IncludeUninitialized) + `,`,
2426 `}`,
2427 }, "")
2428 return s
2429}
2430func (this *DeleteOptions) String() string {
2431 if this == nil {
2432 return "nil"
2433 }
2434 s := strings.Join([]string{`&DeleteOptions{`,
2435 `GracePeriodSeconds:` + valueToStringGenerated(this.GracePeriodSeconds) + `,`,
2436 `Preconditions:` + strings.Replace(fmt.Sprintf("%v", this.Preconditions), "Preconditions", "Preconditions", 1) + `,`,
2437 `OrphanDependents:` + valueToStringGenerated(this.OrphanDependents) + `,`,
2438 `PropagationPolicy:` + valueToStringGenerated(this.PropagationPolicy) + `,`,
2439 `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`,
2440 `}`,
2441 }, "")
2442 return s
2443}
2444func (this *Duration) String() string {
2445 if this == nil {
2446 return "nil"
2447 }
2448 s := strings.Join([]string{`&Duration{`,
2449 `Duration:` + fmt.Sprintf("%v", this.Duration) + `,`,
2450 `}`,
2451 }, "")
2452 return s
2453}
2454func (this *ExportOptions) String() string {
2455 if this == nil {
2456 return "nil"
2457 }
2458 s := strings.Join([]string{`&ExportOptions{`,
2459 `Export:` + fmt.Sprintf("%v", this.Export) + `,`,
2460 `Exact:` + fmt.Sprintf("%v", this.Exact) + `,`,
2461 `}`,
2462 }, "")
2463 return s
2464}
2465func (this *GetOptions) String() string {
2466 if this == nil {
2467 return "nil"
2468 }
2469 s := strings.Join([]string{`&GetOptions{`,
2470 `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
2471 `IncludeUninitialized:` + fmt.Sprintf("%v", this.IncludeUninitialized) + `,`,
2472 `}`,
2473 }, "")
2474 return s
2475}
2476func (this *GroupVersionForDiscovery) String() string {
2477 if this == nil {
2478 return "nil"
2479 }
2480 s := strings.Join([]string{`&GroupVersionForDiscovery{`,
2481 `GroupVersion:` + fmt.Sprintf("%v", this.GroupVersion) + `,`,
2482 `Version:` + fmt.Sprintf("%v", this.Version) + `,`,
2483 `}`,
2484 }, "")
2485 return s
2486}
2487func (this *Initializer) String() string {
2488 if this == nil {
2489 return "nil"
2490 }
2491 s := strings.Join([]string{`&Initializer{`,
2492 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
2493 `}`,
2494 }, "")
2495 return s
2496}
2497func (this *Initializers) String() string {
2498 if this == nil {
2499 return "nil"
2500 }
2501 s := strings.Join([]string{`&Initializers{`,
2502 `Pending:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Pending), "Initializer", "Initializer", 1), `&`, ``, 1) + `,`,
2503 `Result:` + strings.Replace(fmt.Sprintf("%v", this.Result), "Status", "Status", 1) + `,`,
2504 `}`,
2505 }, "")
2506 return s
2507}
2508func (this *LabelSelector) String() string {
2509 if this == nil {
2510 return "nil"
2511 }
2512 keysForMatchLabels := make([]string, 0, len(this.MatchLabels))
2513 for k := range this.MatchLabels {
2514 keysForMatchLabels = append(keysForMatchLabels, k)
2515 }
2516 github_com_gogo_protobuf_sortkeys.Strings(keysForMatchLabels)
2517 mapStringForMatchLabels := "map[string]string{"
2518 for _, k := range keysForMatchLabels {
2519 mapStringForMatchLabels += fmt.Sprintf("%v: %v,", k, this.MatchLabels[k])
2520 }
2521 mapStringForMatchLabels += "}"
2522 s := strings.Join([]string{`&LabelSelector{`,
2523 `MatchLabels:` + mapStringForMatchLabels + `,`,
2524 `MatchExpressions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.MatchExpressions), "LabelSelectorRequirement", "LabelSelectorRequirement", 1), `&`, ``, 1) + `,`,
2525 `}`,
2526 }, "")
2527 return s
2528}
2529func (this *LabelSelectorRequirement) String() string {
2530 if this == nil {
2531 return "nil"
2532 }
2533 s := strings.Join([]string{`&LabelSelectorRequirement{`,
2534 `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
2535 `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`,
2536 `Values:` + fmt.Sprintf("%v", this.Values) + `,`,
2537 `}`,
2538 }, "")
2539 return s
2540}
2541func (this *List) String() string {
2542 if this == nil {
2543 return "nil"
2544 }
2545 s := strings.Join([]string{`&List{`,
2546 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`,
2547 `Items:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Items), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
2548 `}`,
2549 }, "")
2550 return s
2551}
2552func (this *ListMeta) String() string {
2553 if this == nil {
2554 return "nil"
2555 }
2556 s := strings.Join([]string{`&ListMeta{`,
2557 `SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`,
2558 `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
2559 `Continue:` + fmt.Sprintf("%v", this.Continue) + `,`,
2560 `}`,
2561 }, "")
2562 return s
2563}
2564func (this *ListOptions) String() string {
2565 if this == nil {
2566 return "nil"
2567 }
2568 s := strings.Join([]string{`&ListOptions{`,
2569 `LabelSelector:` + fmt.Sprintf("%v", this.LabelSelector) + `,`,
2570 `FieldSelector:` + fmt.Sprintf("%v", this.FieldSelector) + `,`,
2571 `Watch:` + fmt.Sprintf("%v", this.Watch) + `,`,
2572 `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
2573 `TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`,
2574 `IncludeUninitialized:` + fmt.Sprintf("%v", this.IncludeUninitialized) + `,`,
2575 `Limit:` + fmt.Sprintf("%v", this.Limit) + `,`,
2576 `Continue:` + fmt.Sprintf("%v", this.Continue) + `,`,
2577 `}`,
2578 }, "")
2579 return s
2580}
2581func (this *ObjectMeta) String() string {
2582 if this == nil {
2583 return "nil"
2584 }
2585 keysForLabels := make([]string, 0, len(this.Labels))
2586 for k := range this.Labels {
2587 keysForLabels = append(keysForLabels, k)
2588 }
2589 github_com_gogo_protobuf_sortkeys.Strings(keysForLabels)
2590 mapStringForLabels := "map[string]string{"
2591 for _, k := range keysForLabels {
2592 mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k])
2593 }
2594 mapStringForLabels += "}"
2595 keysForAnnotations := make([]string, 0, len(this.Annotations))
2596 for k := range this.Annotations {
2597 keysForAnnotations = append(keysForAnnotations, k)
2598 }
2599 github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations)
2600 mapStringForAnnotations := "map[string]string{"
2601 for _, k := range keysForAnnotations {
2602 mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k])
2603 }
2604 mapStringForAnnotations += "}"
2605 s := strings.Join([]string{`&ObjectMeta{`,
2606 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
2607 `GenerateName:` + fmt.Sprintf("%v", this.GenerateName) + `,`,
2608 `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
2609 `SelfLink:` + fmt.Sprintf("%v", this.SelfLink) + `,`,
2610 `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
2611 `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
2612 `Generation:` + fmt.Sprintf("%v", this.Generation) + `,`,
2613 `CreationTimestamp:` + strings.Replace(strings.Replace(this.CreationTimestamp.String(), "Time", "Time", 1), `&`, ``, 1) + `,`,
2614 `DeletionTimestamp:` + strings.Replace(fmt.Sprintf("%v", this.DeletionTimestamp), "Time", "Time", 1) + `,`,
2615 `DeletionGracePeriodSeconds:` + valueToStringGenerated(this.DeletionGracePeriodSeconds) + `,`,
2616 `Labels:` + mapStringForLabels + `,`,
2617 `Annotations:` + mapStringForAnnotations + `,`,
2618 `OwnerReferences:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.OwnerReferences), "OwnerReference", "OwnerReference", 1), `&`, ``, 1) + `,`,
2619 `Finalizers:` + fmt.Sprintf("%v", this.Finalizers) + `,`,
2620 `ClusterName:` + fmt.Sprintf("%v", this.ClusterName) + `,`,
2621 `Initializers:` + strings.Replace(fmt.Sprintf("%v", this.Initializers), "Initializers", "Initializers", 1) + `,`,
2622 `}`,
2623 }, "")
2624 return s
2625}
2626func (this *OwnerReference) String() string {
2627 if this == nil {
2628 return "nil"
2629 }
2630 s := strings.Join([]string{`&OwnerReference{`,
2631 `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
2632 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
2633 `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
2634 `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
2635 `Controller:` + valueToStringGenerated(this.Controller) + `,`,
2636 `BlockOwnerDeletion:` + valueToStringGenerated(this.BlockOwnerDeletion) + `,`,
2637 `}`,
2638 }, "")
2639 return s
2640}
2641func (this *Patch) String() string {
2642 if this == nil {
2643 return "nil"
2644 }
2645 s := strings.Join([]string{`&Patch{`,
2646 `}`,
2647 }, "")
2648 return s
2649}
2650func (this *Preconditions) String() string {
2651 if this == nil {
2652 return "nil"
2653 }
2654 s := strings.Join([]string{`&Preconditions{`,
2655 `UID:` + valueToStringGenerated(this.UID) + `,`,
2656 `}`,
2657 }, "")
2658 return s
2659}
2660func (this *RootPaths) String() string {
2661 if this == nil {
2662 return "nil"
2663 }
2664 s := strings.Join([]string{`&RootPaths{`,
2665 `Paths:` + fmt.Sprintf("%v", this.Paths) + `,`,
2666 `}`,
2667 }, "")
2668 return s
2669}
2670func (this *ServerAddressByClientCIDR) String() string {
2671 if this == nil {
2672 return "nil"
2673 }
2674 s := strings.Join([]string{`&ServerAddressByClientCIDR{`,
2675 `ClientCIDR:` + fmt.Sprintf("%v", this.ClientCIDR) + `,`,
2676 `ServerAddress:` + fmt.Sprintf("%v", this.ServerAddress) + `,`,
2677 `}`,
2678 }, "")
2679 return s
2680}
2681func (this *Status) String() string {
2682 if this == nil {
2683 return "nil"
2684 }
2685 s := strings.Join([]string{`&Status{`,
2686 `ListMeta:` + strings.Replace(strings.Replace(this.ListMeta.String(), "ListMeta", "ListMeta", 1), `&`, ``, 1) + `,`,
2687 `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
2688 `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
2689 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
2690 `Details:` + strings.Replace(fmt.Sprintf("%v", this.Details), "StatusDetails", "StatusDetails", 1) + `,`,
2691 `Code:` + fmt.Sprintf("%v", this.Code) + `,`,
2692 `}`,
2693 }, "")
2694 return s
2695}
2696func (this *StatusCause) String() string {
2697 if this == nil {
2698 return "nil"
2699 }
2700 s := strings.Join([]string{`&StatusCause{`,
2701 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
2702 `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
2703 `Field:` + fmt.Sprintf("%v", this.Field) + `,`,
2704 `}`,
2705 }, "")
2706 return s
2707}
2708func (this *StatusDetails) String() string {
2709 if this == nil {
2710 return "nil"
2711 }
2712 s := strings.Join([]string{`&StatusDetails{`,
2713 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
2714 `Group:` + fmt.Sprintf("%v", this.Group) + `,`,
2715 `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
2716 `Causes:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Causes), "StatusCause", "StatusCause", 1), `&`, ``, 1) + `,`,
2717 `RetryAfterSeconds:` + fmt.Sprintf("%v", this.RetryAfterSeconds) + `,`,
2718 `UID:` + fmt.Sprintf("%v", this.UID) + `,`,
2719 `}`,
2720 }, "")
2721 return s
2722}
2723func (this *Timestamp) String() string {
2724 if this == nil {
2725 return "nil"
2726 }
2727 s := strings.Join([]string{`&Timestamp{`,
2728 `Seconds:` + fmt.Sprintf("%v", this.Seconds) + `,`,
2729 `Nanos:` + fmt.Sprintf("%v", this.Nanos) + `,`,
2730 `}`,
2731 }, "")
2732 return s
2733}
2734func (this *TypeMeta) String() string {
2735 if this == nil {
2736 return "nil"
2737 }
2738 s := strings.Join([]string{`&TypeMeta{`,
2739 `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
2740 `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
2741 `}`,
2742 }, "")
2743 return s
2744}
2745func (this *UpdateOptions) String() string {
2746 if this == nil {
2747 return "nil"
2748 }
2749 s := strings.Join([]string{`&UpdateOptions{`,
2750 `DryRun:` + fmt.Sprintf("%v", this.DryRun) + `,`,
2751 `}`,
2752 }, "")
2753 return s
2754}
2755func (this *WatchEvent) String() string {
2756 if this == nil {
2757 return "nil"
2758 }
2759 s := strings.Join([]string{`&WatchEvent{`,
2760 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
2761 `Object:` + strings.Replace(strings.Replace(this.Object.String(), "RawExtension", "k8s_io_apimachinery_pkg_runtime.RawExtension", 1), `&`, ``, 1) + `,`,
2762 `}`,
2763 }, "")
2764 return s
2765}
2766func valueToStringGenerated(v interface{}) string {
2767 rv := reflect.ValueOf(v)
2768 if rv.IsNil() {
2769 return "nil"
2770 }
2771 pv := reflect.Indirect(rv).Interface()
2772 return fmt.Sprintf("*%v", pv)
2773}
2774func (m *APIGroup) Unmarshal(dAtA []byte) error {
2775 l := len(dAtA)
2776 iNdEx := 0
2777 for iNdEx < l {
2778 preIndex := iNdEx
2779 var wire uint64
2780 for shift := uint(0); ; shift += 7 {
2781 if shift >= 64 {
2782 return ErrIntOverflowGenerated
2783 }
2784 if iNdEx >= l {
2785 return io.ErrUnexpectedEOF
2786 }
2787 b := dAtA[iNdEx]
2788 iNdEx++
2789 wire |= (uint64(b) & 0x7F) << shift
2790 if b < 0x80 {
2791 break
2792 }
2793 }
2794 fieldNum := int32(wire >> 3)
2795 wireType := int(wire & 0x7)
2796 if wireType == 4 {
2797 return fmt.Errorf("proto: APIGroup: wiretype end group for non-group")
2798 }
2799 if fieldNum <= 0 {
2800 return fmt.Errorf("proto: APIGroup: illegal tag %d (wire type %d)", fieldNum, wire)
2801 }
2802 switch fieldNum {
2803 case 1:
2804 if wireType != 2 {
2805 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
2806 }
2807 var stringLen uint64
2808 for shift := uint(0); ; shift += 7 {
2809 if shift >= 64 {
2810 return ErrIntOverflowGenerated
2811 }
2812 if iNdEx >= l {
2813 return io.ErrUnexpectedEOF
2814 }
2815 b := dAtA[iNdEx]
2816 iNdEx++
2817 stringLen |= (uint64(b) & 0x7F) << shift
2818 if b < 0x80 {
2819 break
2820 }
2821 }
2822 intStringLen := int(stringLen)
2823 if intStringLen < 0 {
2824 return ErrInvalidLengthGenerated
2825 }
2826 postIndex := iNdEx + intStringLen
2827 if postIndex > l {
2828 return io.ErrUnexpectedEOF
2829 }
2830 m.Name = string(dAtA[iNdEx:postIndex])
2831 iNdEx = postIndex
2832 case 2:
2833 if wireType != 2 {
2834 return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
2835 }
2836 var msglen int
2837 for shift := uint(0); ; shift += 7 {
2838 if shift >= 64 {
2839 return ErrIntOverflowGenerated
2840 }
2841 if iNdEx >= l {
2842 return io.ErrUnexpectedEOF
2843 }
2844 b := dAtA[iNdEx]
2845 iNdEx++
2846 msglen |= (int(b) & 0x7F) << shift
2847 if b < 0x80 {
2848 break
2849 }
2850 }
2851 if msglen < 0 {
2852 return ErrInvalidLengthGenerated
2853 }
2854 postIndex := iNdEx + msglen
2855 if postIndex > l {
2856 return io.ErrUnexpectedEOF
2857 }
2858 m.Versions = append(m.Versions, GroupVersionForDiscovery{})
2859 if err := m.Versions[len(m.Versions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2860 return err
2861 }
2862 iNdEx = postIndex
2863 case 3:
2864 if wireType != 2 {
2865 return fmt.Errorf("proto: wrong wireType = %d for field PreferredVersion", wireType)
2866 }
2867 var msglen int
2868 for shift := uint(0); ; shift += 7 {
2869 if shift >= 64 {
2870 return ErrIntOverflowGenerated
2871 }
2872 if iNdEx >= l {
2873 return io.ErrUnexpectedEOF
2874 }
2875 b := dAtA[iNdEx]
2876 iNdEx++
2877 msglen |= (int(b) & 0x7F) << shift
2878 if b < 0x80 {
2879 break
2880 }
2881 }
2882 if msglen < 0 {
2883 return ErrInvalidLengthGenerated
2884 }
2885 postIndex := iNdEx + msglen
2886 if postIndex > l {
2887 return io.ErrUnexpectedEOF
2888 }
2889 if err := m.PreferredVersion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2890 return err
2891 }
2892 iNdEx = postIndex
2893 case 4:
2894 if wireType != 2 {
2895 return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType)
2896 }
2897 var msglen int
2898 for shift := uint(0); ; shift += 7 {
2899 if shift >= 64 {
2900 return ErrIntOverflowGenerated
2901 }
2902 if iNdEx >= l {
2903 return io.ErrUnexpectedEOF
2904 }
2905 b := dAtA[iNdEx]
2906 iNdEx++
2907 msglen |= (int(b) & 0x7F) << shift
2908 if b < 0x80 {
2909 break
2910 }
2911 }
2912 if msglen < 0 {
2913 return ErrInvalidLengthGenerated
2914 }
2915 postIndex := iNdEx + msglen
2916 if postIndex > l {
2917 return io.ErrUnexpectedEOF
2918 }
2919 m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{})
2920 if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
2921 return err
2922 }
2923 iNdEx = postIndex
2924 default:
2925 iNdEx = preIndex
2926 skippy, err := skipGenerated(dAtA[iNdEx:])
2927 if err != nil {
2928 return err
2929 }
2930 if skippy < 0 {
2931 return ErrInvalidLengthGenerated
2932 }
2933 if (iNdEx + skippy) > l {
2934 return io.ErrUnexpectedEOF
2935 }
2936 iNdEx += skippy
2937 }
2938 }
2939
2940 if iNdEx > l {
2941 return io.ErrUnexpectedEOF
2942 }
2943 return nil
2944}
2945func (m *APIGroupList) Unmarshal(dAtA []byte) error {
2946 l := len(dAtA)
2947 iNdEx := 0
2948 for iNdEx < l {
2949 preIndex := iNdEx
2950 var wire uint64
2951 for shift := uint(0); ; shift += 7 {
2952 if shift >= 64 {
2953 return ErrIntOverflowGenerated
2954 }
2955 if iNdEx >= l {
2956 return io.ErrUnexpectedEOF
2957 }
2958 b := dAtA[iNdEx]
2959 iNdEx++
2960 wire |= (uint64(b) & 0x7F) << shift
2961 if b < 0x80 {
2962 break
2963 }
2964 }
2965 fieldNum := int32(wire >> 3)
2966 wireType := int(wire & 0x7)
2967 if wireType == 4 {
2968 return fmt.Errorf("proto: APIGroupList: wiretype end group for non-group")
2969 }
2970 if fieldNum <= 0 {
2971 return fmt.Errorf("proto: APIGroupList: illegal tag %d (wire type %d)", fieldNum, wire)
2972 }
2973 switch fieldNum {
2974 case 1:
2975 if wireType != 2 {
2976 return fmt.Errorf("proto: wrong wireType = %d for field Groups", wireType)
2977 }
2978 var msglen int
2979 for shift := uint(0); ; shift += 7 {
2980 if shift >= 64 {
2981 return ErrIntOverflowGenerated
2982 }
2983 if iNdEx >= l {
2984 return io.ErrUnexpectedEOF
2985 }
2986 b := dAtA[iNdEx]
2987 iNdEx++
2988 msglen |= (int(b) & 0x7F) << shift
2989 if b < 0x80 {
2990 break
2991 }
2992 }
2993 if msglen < 0 {
2994 return ErrInvalidLengthGenerated
2995 }
2996 postIndex := iNdEx + msglen
2997 if postIndex > l {
2998 return io.ErrUnexpectedEOF
2999 }
3000 m.Groups = append(m.Groups, APIGroup{})
3001 if err := m.Groups[len(m.Groups)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3002 return err
3003 }
3004 iNdEx = postIndex
3005 default:
3006 iNdEx = preIndex
3007 skippy, err := skipGenerated(dAtA[iNdEx:])
3008 if err != nil {
3009 return err
3010 }
3011 if skippy < 0 {
3012 return ErrInvalidLengthGenerated
3013 }
3014 if (iNdEx + skippy) > l {
3015 return io.ErrUnexpectedEOF
3016 }
3017 iNdEx += skippy
3018 }
3019 }
3020
3021 if iNdEx > l {
3022 return io.ErrUnexpectedEOF
3023 }
3024 return nil
3025}
3026func (m *APIResource) Unmarshal(dAtA []byte) error {
3027 l := len(dAtA)
3028 iNdEx := 0
3029 for iNdEx < l {
3030 preIndex := iNdEx
3031 var wire uint64
3032 for shift := uint(0); ; shift += 7 {
3033 if shift >= 64 {
3034 return ErrIntOverflowGenerated
3035 }
3036 if iNdEx >= l {
3037 return io.ErrUnexpectedEOF
3038 }
3039 b := dAtA[iNdEx]
3040 iNdEx++
3041 wire |= (uint64(b) & 0x7F) << shift
3042 if b < 0x80 {
3043 break
3044 }
3045 }
3046 fieldNum := int32(wire >> 3)
3047 wireType := int(wire & 0x7)
3048 if wireType == 4 {
3049 return fmt.Errorf("proto: APIResource: wiretype end group for non-group")
3050 }
3051 if fieldNum <= 0 {
3052 return fmt.Errorf("proto: APIResource: illegal tag %d (wire type %d)", fieldNum, wire)
3053 }
3054 switch fieldNum {
3055 case 1:
3056 if wireType != 2 {
3057 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
3058 }
3059 var stringLen uint64
3060 for shift := uint(0); ; shift += 7 {
3061 if shift >= 64 {
3062 return ErrIntOverflowGenerated
3063 }
3064 if iNdEx >= l {
3065 return io.ErrUnexpectedEOF
3066 }
3067 b := dAtA[iNdEx]
3068 iNdEx++
3069 stringLen |= (uint64(b) & 0x7F) << shift
3070 if b < 0x80 {
3071 break
3072 }
3073 }
3074 intStringLen := int(stringLen)
3075 if intStringLen < 0 {
3076 return ErrInvalidLengthGenerated
3077 }
3078 postIndex := iNdEx + intStringLen
3079 if postIndex > l {
3080 return io.ErrUnexpectedEOF
3081 }
3082 m.Name = string(dAtA[iNdEx:postIndex])
3083 iNdEx = postIndex
3084 case 2:
3085 if wireType != 0 {
3086 return fmt.Errorf("proto: wrong wireType = %d for field Namespaced", wireType)
3087 }
3088 var v int
3089 for shift := uint(0); ; shift += 7 {
3090 if shift >= 64 {
3091 return ErrIntOverflowGenerated
3092 }
3093 if iNdEx >= l {
3094 return io.ErrUnexpectedEOF
3095 }
3096 b := dAtA[iNdEx]
3097 iNdEx++
3098 v |= (int(b) & 0x7F) << shift
3099 if b < 0x80 {
3100 break
3101 }
3102 }
3103 m.Namespaced = bool(v != 0)
3104 case 3:
3105 if wireType != 2 {
3106 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
3107 }
3108 var stringLen uint64
3109 for shift := uint(0); ; shift += 7 {
3110 if shift >= 64 {
3111 return ErrIntOverflowGenerated
3112 }
3113 if iNdEx >= l {
3114 return io.ErrUnexpectedEOF
3115 }
3116 b := dAtA[iNdEx]
3117 iNdEx++
3118 stringLen |= (uint64(b) & 0x7F) << shift
3119 if b < 0x80 {
3120 break
3121 }
3122 }
3123 intStringLen := int(stringLen)
3124 if intStringLen < 0 {
3125 return ErrInvalidLengthGenerated
3126 }
3127 postIndex := iNdEx + intStringLen
3128 if postIndex > l {
3129 return io.ErrUnexpectedEOF
3130 }
3131 m.Kind = string(dAtA[iNdEx:postIndex])
3132 iNdEx = postIndex
3133 case 4:
3134 if wireType != 2 {
3135 return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType)
3136 }
3137 var msglen int
3138 for shift := uint(0); ; shift += 7 {
3139 if shift >= 64 {
3140 return ErrIntOverflowGenerated
3141 }
3142 if iNdEx >= l {
3143 return io.ErrUnexpectedEOF
3144 }
3145 b := dAtA[iNdEx]
3146 iNdEx++
3147 msglen |= (int(b) & 0x7F) << shift
3148 if b < 0x80 {
3149 break
3150 }
3151 }
3152 if msglen < 0 {
3153 return ErrInvalidLengthGenerated
3154 }
3155 postIndex := iNdEx + msglen
3156 if postIndex > l {
3157 return io.ErrUnexpectedEOF
3158 }
3159 if m.Verbs == nil {
3160 m.Verbs = Verbs{}
3161 }
3162 if err := m.Verbs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3163 return err
3164 }
3165 iNdEx = postIndex
3166 case 5:
3167 if wireType != 2 {
3168 return fmt.Errorf("proto: wrong wireType = %d for field ShortNames", wireType)
3169 }
3170 var stringLen uint64
3171 for shift := uint(0); ; shift += 7 {
3172 if shift >= 64 {
3173 return ErrIntOverflowGenerated
3174 }
3175 if iNdEx >= l {
3176 return io.ErrUnexpectedEOF
3177 }
3178 b := dAtA[iNdEx]
3179 iNdEx++
3180 stringLen |= (uint64(b) & 0x7F) << shift
3181 if b < 0x80 {
3182 break
3183 }
3184 }
3185 intStringLen := int(stringLen)
3186 if intStringLen < 0 {
3187 return ErrInvalidLengthGenerated
3188 }
3189 postIndex := iNdEx + intStringLen
3190 if postIndex > l {
3191 return io.ErrUnexpectedEOF
3192 }
3193 m.ShortNames = append(m.ShortNames, string(dAtA[iNdEx:postIndex]))
3194 iNdEx = postIndex
3195 case 6:
3196 if wireType != 2 {
3197 return fmt.Errorf("proto: wrong wireType = %d for field SingularName", wireType)
3198 }
3199 var stringLen uint64
3200 for shift := uint(0); ; shift += 7 {
3201 if shift >= 64 {
3202 return ErrIntOverflowGenerated
3203 }
3204 if iNdEx >= l {
3205 return io.ErrUnexpectedEOF
3206 }
3207 b := dAtA[iNdEx]
3208 iNdEx++
3209 stringLen |= (uint64(b) & 0x7F) << shift
3210 if b < 0x80 {
3211 break
3212 }
3213 }
3214 intStringLen := int(stringLen)
3215 if intStringLen < 0 {
3216 return ErrInvalidLengthGenerated
3217 }
3218 postIndex := iNdEx + intStringLen
3219 if postIndex > l {
3220 return io.ErrUnexpectedEOF
3221 }
3222 m.SingularName = string(dAtA[iNdEx:postIndex])
3223 iNdEx = postIndex
3224 case 7:
3225 if wireType != 2 {
3226 return fmt.Errorf("proto: wrong wireType = %d for field Categories", wireType)
3227 }
3228 var stringLen uint64
3229 for shift := uint(0); ; shift += 7 {
3230 if shift >= 64 {
3231 return ErrIntOverflowGenerated
3232 }
3233 if iNdEx >= l {
3234 return io.ErrUnexpectedEOF
3235 }
3236 b := dAtA[iNdEx]
3237 iNdEx++
3238 stringLen |= (uint64(b) & 0x7F) << shift
3239 if b < 0x80 {
3240 break
3241 }
3242 }
3243 intStringLen := int(stringLen)
3244 if intStringLen < 0 {
3245 return ErrInvalidLengthGenerated
3246 }
3247 postIndex := iNdEx + intStringLen
3248 if postIndex > l {
3249 return io.ErrUnexpectedEOF
3250 }
3251 m.Categories = append(m.Categories, string(dAtA[iNdEx:postIndex]))
3252 iNdEx = postIndex
3253 case 8:
3254 if wireType != 2 {
3255 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
3256 }
3257 var stringLen uint64
3258 for shift := uint(0); ; shift += 7 {
3259 if shift >= 64 {
3260 return ErrIntOverflowGenerated
3261 }
3262 if iNdEx >= l {
3263 return io.ErrUnexpectedEOF
3264 }
3265 b := dAtA[iNdEx]
3266 iNdEx++
3267 stringLen |= (uint64(b) & 0x7F) << shift
3268 if b < 0x80 {
3269 break
3270 }
3271 }
3272 intStringLen := int(stringLen)
3273 if intStringLen < 0 {
3274 return ErrInvalidLengthGenerated
3275 }
3276 postIndex := iNdEx + intStringLen
3277 if postIndex > l {
3278 return io.ErrUnexpectedEOF
3279 }
3280 m.Group = string(dAtA[iNdEx:postIndex])
3281 iNdEx = postIndex
3282 case 9:
3283 if wireType != 2 {
3284 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
3285 }
3286 var stringLen uint64
3287 for shift := uint(0); ; shift += 7 {
3288 if shift >= 64 {
3289 return ErrIntOverflowGenerated
3290 }
3291 if iNdEx >= l {
3292 return io.ErrUnexpectedEOF
3293 }
3294 b := dAtA[iNdEx]
3295 iNdEx++
3296 stringLen |= (uint64(b) & 0x7F) << shift
3297 if b < 0x80 {
3298 break
3299 }
3300 }
3301 intStringLen := int(stringLen)
3302 if intStringLen < 0 {
3303 return ErrInvalidLengthGenerated
3304 }
3305 postIndex := iNdEx + intStringLen
3306 if postIndex > l {
3307 return io.ErrUnexpectedEOF
3308 }
3309 m.Version = string(dAtA[iNdEx:postIndex])
3310 iNdEx = postIndex
3311 default:
3312 iNdEx = preIndex
3313 skippy, err := skipGenerated(dAtA[iNdEx:])
3314 if err != nil {
3315 return err
3316 }
3317 if skippy < 0 {
3318 return ErrInvalidLengthGenerated
3319 }
3320 if (iNdEx + skippy) > l {
3321 return io.ErrUnexpectedEOF
3322 }
3323 iNdEx += skippy
3324 }
3325 }
3326
3327 if iNdEx > l {
3328 return io.ErrUnexpectedEOF
3329 }
3330 return nil
3331}
3332func (m *APIResourceList) Unmarshal(dAtA []byte) error {
3333 l := len(dAtA)
3334 iNdEx := 0
3335 for iNdEx < l {
3336 preIndex := iNdEx
3337 var wire uint64
3338 for shift := uint(0); ; shift += 7 {
3339 if shift >= 64 {
3340 return ErrIntOverflowGenerated
3341 }
3342 if iNdEx >= l {
3343 return io.ErrUnexpectedEOF
3344 }
3345 b := dAtA[iNdEx]
3346 iNdEx++
3347 wire |= (uint64(b) & 0x7F) << shift
3348 if b < 0x80 {
3349 break
3350 }
3351 }
3352 fieldNum := int32(wire >> 3)
3353 wireType := int(wire & 0x7)
3354 if wireType == 4 {
3355 return fmt.Errorf("proto: APIResourceList: wiretype end group for non-group")
3356 }
3357 if fieldNum <= 0 {
3358 return fmt.Errorf("proto: APIResourceList: illegal tag %d (wire type %d)", fieldNum, wire)
3359 }
3360 switch fieldNum {
3361 case 1:
3362 if wireType != 2 {
3363 return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType)
3364 }
3365 var stringLen uint64
3366 for shift := uint(0); ; shift += 7 {
3367 if shift >= 64 {
3368 return ErrIntOverflowGenerated
3369 }
3370 if iNdEx >= l {
3371 return io.ErrUnexpectedEOF
3372 }
3373 b := dAtA[iNdEx]
3374 iNdEx++
3375 stringLen |= (uint64(b) & 0x7F) << shift
3376 if b < 0x80 {
3377 break
3378 }
3379 }
3380 intStringLen := int(stringLen)
3381 if intStringLen < 0 {
3382 return ErrInvalidLengthGenerated
3383 }
3384 postIndex := iNdEx + intStringLen
3385 if postIndex > l {
3386 return io.ErrUnexpectedEOF
3387 }
3388 m.GroupVersion = string(dAtA[iNdEx:postIndex])
3389 iNdEx = postIndex
3390 case 2:
3391 if wireType != 2 {
3392 return fmt.Errorf("proto: wrong wireType = %d for field APIResources", wireType)
3393 }
3394 var msglen int
3395 for shift := uint(0); ; shift += 7 {
3396 if shift >= 64 {
3397 return ErrIntOverflowGenerated
3398 }
3399 if iNdEx >= l {
3400 return io.ErrUnexpectedEOF
3401 }
3402 b := dAtA[iNdEx]
3403 iNdEx++
3404 msglen |= (int(b) & 0x7F) << shift
3405 if b < 0x80 {
3406 break
3407 }
3408 }
3409 if msglen < 0 {
3410 return ErrInvalidLengthGenerated
3411 }
3412 postIndex := iNdEx + msglen
3413 if postIndex > l {
3414 return io.ErrUnexpectedEOF
3415 }
3416 m.APIResources = append(m.APIResources, APIResource{})
3417 if err := m.APIResources[len(m.APIResources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3418 return err
3419 }
3420 iNdEx = postIndex
3421 default:
3422 iNdEx = preIndex
3423 skippy, err := skipGenerated(dAtA[iNdEx:])
3424 if err != nil {
3425 return err
3426 }
3427 if skippy < 0 {
3428 return ErrInvalidLengthGenerated
3429 }
3430 if (iNdEx + skippy) > l {
3431 return io.ErrUnexpectedEOF
3432 }
3433 iNdEx += skippy
3434 }
3435 }
3436
3437 if iNdEx > l {
3438 return io.ErrUnexpectedEOF
3439 }
3440 return nil
3441}
3442func (m *APIVersions) Unmarshal(dAtA []byte) error {
3443 l := len(dAtA)
3444 iNdEx := 0
3445 for iNdEx < l {
3446 preIndex := iNdEx
3447 var wire uint64
3448 for shift := uint(0); ; shift += 7 {
3449 if shift >= 64 {
3450 return ErrIntOverflowGenerated
3451 }
3452 if iNdEx >= l {
3453 return io.ErrUnexpectedEOF
3454 }
3455 b := dAtA[iNdEx]
3456 iNdEx++
3457 wire |= (uint64(b) & 0x7F) << shift
3458 if b < 0x80 {
3459 break
3460 }
3461 }
3462 fieldNum := int32(wire >> 3)
3463 wireType := int(wire & 0x7)
3464 if wireType == 4 {
3465 return fmt.Errorf("proto: APIVersions: wiretype end group for non-group")
3466 }
3467 if fieldNum <= 0 {
3468 return fmt.Errorf("proto: APIVersions: illegal tag %d (wire type %d)", fieldNum, wire)
3469 }
3470 switch fieldNum {
3471 case 1:
3472 if wireType != 2 {
3473 return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
3474 }
3475 var stringLen uint64
3476 for shift := uint(0); ; shift += 7 {
3477 if shift >= 64 {
3478 return ErrIntOverflowGenerated
3479 }
3480 if iNdEx >= l {
3481 return io.ErrUnexpectedEOF
3482 }
3483 b := dAtA[iNdEx]
3484 iNdEx++
3485 stringLen |= (uint64(b) & 0x7F) << shift
3486 if b < 0x80 {
3487 break
3488 }
3489 }
3490 intStringLen := int(stringLen)
3491 if intStringLen < 0 {
3492 return ErrInvalidLengthGenerated
3493 }
3494 postIndex := iNdEx + intStringLen
3495 if postIndex > l {
3496 return io.ErrUnexpectedEOF
3497 }
3498 m.Versions = append(m.Versions, string(dAtA[iNdEx:postIndex]))
3499 iNdEx = postIndex
3500 case 2:
3501 if wireType != 2 {
3502 return fmt.Errorf("proto: wrong wireType = %d for field ServerAddressByClientCIDRs", wireType)
3503 }
3504 var msglen int
3505 for shift := uint(0); ; shift += 7 {
3506 if shift >= 64 {
3507 return ErrIntOverflowGenerated
3508 }
3509 if iNdEx >= l {
3510 return io.ErrUnexpectedEOF
3511 }
3512 b := dAtA[iNdEx]
3513 iNdEx++
3514 msglen |= (int(b) & 0x7F) << shift
3515 if b < 0x80 {
3516 break
3517 }
3518 }
3519 if msglen < 0 {
3520 return ErrInvalidLengthGenerated
3521 }
3522 postIndex := iNdEx + msglen
3523 if postIndex > l {
3524 return io.ErrUnexpectedEOF
3525 }
3526 m.ServerAddressByClientCIDRs = append(m.ServerAddressByClientCIDRs, ServerAddressByClientCIDR{})
3527 if err := m.ServerAddressByClientCIDRs[len(m.ServerAddressByClientCIDRs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3528 return err
3529 }
3530 iNdEx = postIndex
3531 default:
3532 iNdEx = preIndex
3533 skippy, err := skipGenerated(dAtA[iNdEx:])
3534 if err != nil {
3535 return err
3536 }
3537 if skippy < 0 {
3538 return ErrInvalidLengthGenerated
3539 }
3540 if (iNdEx + skippy) > l {
3541 return io.ErrUnexpectedEOF
3542 }
3543 iNdEx += skippy
3544 }
3545 }
3546
3547 if iNdEx > l {
3548 return io.ErrUnexpectedEOF
3549 }
3550 return nil
3551}
3552func (m *CreateOptions) Unmarshal(dAtA []byte) error {
3553 l := len(dAtA)
3554 iNdEx := 0
3555 for iNdEx < l {
3556 preIndex := iNdEx
3557 var wire uint64
3558 for shift := uint(0); ; shift += 7 {
3559 if shift >= 64 {
3560 return ErrIntOverflowGenerated
3561 }
3562 if iNdEx >= l {
3563 return io.ErrUnexpectedEOF
3564 }
3565 b := dAtA[iNdEx]
3566 iNdEx++
3567 wire |= (uint64(b) & 0x7F) << shift
3568 if b < 0x80 {
3569 break
3570 }
3571 }
3572 fieldNum := int32(wire >> 3)
3573 wireType := int(wire & 0x7)
3574 if wireType == 4 {
3575 return fmt.Errorf("proto: CreateOptions: wiretype end group for non-group")
3576 }
3577 if fieldNum <= 0 {
3578 return fmt.Errorf("proto: CreateOptions: illegal tag %d (wire type %d)", fieldNum, wire)
3579 }
3580 switch fieldNum {
3581 case 1:
3582 if wireType != 2 {
3583 return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType)
3584 }
3585 var stringLen uint64
3586 for shift := uint(0); ; shift += 7 {
3587 if shift >= 64 {
3588 return ErrIntOverflowGenerated
3589 }
3590 if iNdEx >= l {
3591 return io.ErrUnexpectedEOF
3592 }
3593 b := dAtA[iNdEx]
3594 iNdEx++
3595 stringLen |= (uint64(b) & 0x7F) << shift
3596 if b < 0x80 {
3597 break
3598 }
3599 }
3600 intStringLen := int(stringLen)
3601 if intStringLen < 0 {
3602 return ErrInvalidLengthGenerated
3603 }
3604 postIndex := iNdEx + intStringLen
3605 if postIndex > l {
3606 return io.ErrUnexpectedEOF
3607 }
3608 m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex]))
3609 iNdEx = postIndex
3610 case 2:
3611 if wireType != 0 {
3612 return fmt.Errorf("proto: wrong wireType = %d for field IncludeUninitialized", wireType)
3613 }
3614 var v int
3615 for shift := uint(0); ; shift += 7 {
3616 if shift >= 64 {
3617 return ErrIntOverflowGenerated
3618 }
3619 if iNdEx >= l {
3620 return io.ErrUnexpectedEOF
3621 }
3622 b := dAtA[iNdEx]
3623 iNdEx++
3624 v |= (int(b) & 0x7F) << shift
3625 if b < 0x80 {
3626 break
3627 }
3628 }
3629 m.IncludeUninitialized = bool(v != 0)
3630 default:
3631 iNdEx = preIndex
3632 skippy, err := skipGenerated(dAtA[iNdEx:])
3633 if err != nil {
3634 return err
3635 }
3636 if skippy < 0 {
3637 return ErrInvalidLengthGenerated
3638 }
3639 if (iNdEx + skippy) > l {
3640 return io.ErrUnexpectedEOF
3641 }
3642 iNdEx += skippy
3643 }
3644 }
3645
3646 if iNdEx > l {
3647 return io.ErrUnexpectedEOF
3648 }
3649 return nil
3650}
3651func (m *DeleteOptions) Unmarshal(dAtA []byte) error {
3652 l := len(dAtA)
3653 iNdEx := 0
3654 for iNdEx < l {
3655 preIndex := iNdEx
3656 var wire uint64
3657 for shift := uint(0); ; shift += 7 {
3658 if shift >= 64 {
3659 return ErrIntOverflowGenerated
3660 }
3661 if iNdEx >= l {
3662 return io.ErrUnexpectedEOF
3663 }
3664 b := dAtA[iNdEx]
3665 iNdEx++
3666 wire |= (uint64(b) & 0x7F) << shift
3667 if b < 0x80 {
3668 break
3669 }
3670 }
3671 fieldNum := int32(wire >> 3)
3672 wireType := int(wire & 0x7)
3673 if wireType == 4 {
3674 return fmt.Errorf("proto: DeleteOptions: wiretype end group for non-group")
3675 }
3676 if fieldNum <= 0 {
3677 return fmt.Errorf("proto: DeleteOptions: illegal tag %d (wire type %d)", fieldNum, wire)
3678 }
3679 switch fieldNum {
3680 case 1:
3681 if wireType != 0 {
3682 return fmt.Errorf("proto: wrong wireType = %d for field GracePeriodSeconds", wireType)
3683 }
3684 var v int64
3685 for shift := uint(0); ; shift += 7 {
3686 if shift >= 64 {
3687 return ErrIntOverflowGenerated
3688 }
3689 if iNdEx >= l {
3690 return io.ErrUnexpectedEOF
3691 }
3692 b := dAtA[iNdEx]
3693 iNdEx++
3694 v |= (int64(b) & 0x7F) << shift
3695 if b < 0x80 {
3696 break
3697 }
3698 }
3699 m.GracePeriodSeconds = &v
3700 case 2:
3701 if wireType != 2 {
3702 return fmt.Errorf("proto: wrong wireType = %d for field Preconditions", wireType)
3703 }
3704 var msglen int
3705 for shift := uint(0); ; shift += 7 {
3706 if shift >= 64 {
3707 return ErrIntOverflowGenerated
3708 }
3709 if iNdEx >= l {
3710 return io.ErrUnexpectedEOF
3711 }
3712 b := dAtA[iNdEx]
3713 iNdEx++
3714 msglen |= (int(b) & 0x7F) << shift
3715 if b < 0x80 {
3716 break
3717 }
3718 }
3719 if msglen < 0 {
3720 return ErrInvalidLengthGenerated
3721 }
3722 postIndex := iNdEx + msglen
3723 if postIndex > l {
3724 return io.ErrUnexpectedEOF
3725 }
3726 if m.Preconditions == nil {
3727 m.Preconditions = &Preconditions{}
3728 }
3729 if err := m.Preconditions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
3730 return err
3731 }
3732 iNdEx = postIndex
3733 case 3:
3734 if wireType != 0 {
3735 return fmt.Errorf("proto: wrong wireType = %d for field OrphanDependents", wireType)
3736 }
3737 var v int
3738 for shift := uint(0); ; shift += 7 {
3739 if shift >= 64 {
3740 return ErrIntOverflowGenerated
3741 }
3742 if iNdEx >= l {
3743 return io.ErrUnexpectedEOF
3744 }
3745 b := dAtA[iNdEx]
3746 iNdEx++
3747 v |= (int(b) & 0x7F) << shift
3748 if b < 0x80 {
3749 break
3750 }
3751 }
3752 b := bool(v != 0)
3753 m.OrphanDependents = &b
3754 case 4:
3755 if wireType != 2 {
3756 return fmt.Errorf("proto: wrong wireType = %d for field PropagationPolicy", wireType)
3757 }
3758 var stringLen uint64
3759 for shift := uint(0); ; shift += 7 {
3760 if shift >= 64 {
3761 return ErrIntOverflowGenerated
3762 }
3763 if iNdEx >= l {
3764 return io.ErrUnexpectedEOF
3765 }
3766 b := dAtA[iNdEx]
3767 iNdEx++
3768 stringLen |= (uint64(b) & 0x7F) << shift
3769 if b < 0x80 {
3770 break
3771 }
3772 }
3773 intStringLen := int(stringLen)
3774 if intStringLen < 0 {
3775 return ErrInvalidLengthGenerated
3776 }
3777 postIndex := iNdEx + intStringLen
3778 if postIndex > l {
3779 return io.ErrUnexpectedEOF
3780 }
3781 s := DeletionPropagation(dAtA[iNdEx:postIndex])
3782 m.PropagationPolicy = &s
3783 iNdEx = postIndex
3784 case 5:
3785 if wireType != 2 {
3786 return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType)
3787 }
3788 var stringLen uint64
3789 for shift := uint(0); ; shift += 7 {
3790 if shift >= 64 {
3791 return ErrIntOverflowGenerated
3792 }
3793 if iNdEx >= l {
3794 return io.ErrUnexpectedEOF
3795 }
3796 b := dAtA[iNdEx]
3797 iNdEx++
3798 stringLen |= (uint64(b) & 0x7F) << shift
3799 if b < 0x80 {
3800 break
3801 }
3802 }
3803 intStringLen := int(stringLen)
3804 if intStringLen < 0 {
3805 return ErrInvalidLengthGenerated
3806 }
3807 postIndex := iNdEx + intStringLen
3808 if postIndex > l {
3809 return io.ErrUnexpectedEOF
3810 }
3811 m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex]))
3812 iNdEx = postIndex
3813 default:
3814 iNdEx = preIndex
3815 skippy, err := skipGenerated(dAtA[iNdEx:])
3816 if err != nil {
3817 return err
3818 }
3819 if skippy < 0 {
3820 return ErrInvalidLengthGenerated
3821 }
3822 if (iNdEx + skippy) > l {
3823 return io.ErrUnexpectedEOF
3824 }
3825 iNdEx += skippy
3826 }
3827 }
3828
3829 if iNdEx > l {
3830 return io.ErrUnexpectedEOF
3831 }
3832 return nil
3833}
3834func (m *Duration) Unmarshal(dAtA []byte) error {
3835 l := len(dAtA)
3836 iNdEx := 0
3837 for iNdEx < l {
3838 preIndex := iNdEx
3839 var wire uint64
3840 for shift := uint(0); ; shift += 7 {
3841 if shift >= 64 {
3842 return ErrIntOverflowGenerated
3843 }
3844 if iNdEx >= l {
3845 return io.ErrUnexpectedEOF
3846 }
3847 b := dAtA[iNdEx]
3848 iNdEx++
3849 wire |= (uint64(b) & 0x7F) << shift
3850 if b < 0x80 {
3851 break
3852 }
3853 }
3854 fieldNum := int32(wire >> 3)
3855 wireType := int(wire & 0x7)
3856 if wireType == 4 {
3857 return fmt.Errorf("proto: Duration: wiretype end group for non-group")
3858 }
3859 if fieldNum <= 0 {
3860 return fmt.Errorf("proto: Duration: illegal tag %d (wire type %d)", fieldNum, wire)
3861 }
3862 switch fieldNum {
3863 case 1:
3864 if wireType != 0 {
3865 return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType)
3866 }
3867 m.Duration = 0
3868 for shift := uint(0); ; shift += 7 {
3869 if shift >= 64 {
3870 return ErrIntOverflowGenerated
3871 }
3872 if iNdEx >= l {
3873 return io.ErrUnexpectedEOF
3874 }
3875 b := dAtA[iNdEx]
3876 iNdEx++
3877 m.Duration |= (time.Duration(b) & 0x7F) << shift
3878 if b < 0x80 {
3879 break
3880 }
3881 }
3882 default:
3883 iNdEx = preIndex
3884 skippy, err := skipGenerated(dAtA[iNdEx:])
3885 if err != nil {
3886 return err
3887 }
3888 if skippy < 0 {
3889 return ErrInvalidLengthGenerated
3890 }
3891 if (iNdEx + skippy) > l {
3892 return io.ErrUnexpectedEOF
3893 }
3894 iNdEx += skippy
3895 }
3896 }
3897
3898 if iNdEx > l {
3899 return io.ErrUnexpectedEOF
3900 }
3901 return nil
3902}
3903func (m *ExportOptions) Unmarshal(dAtA []byte) error {
3904 l := len(dAtA)
3905 iNdEx := 0
3906 for iNdEx < l {
3907 preIndex := iNdEx
3908 var wire uint64
3909 for shift := uint(0); ; shift += 7 {
3910 if shift >= 64 {
3911 return ErrIntOverflowGenerated
3912 }
3913 if iNdEx >= l {
3914 return io.ErrUnexpectedEOF
3915 }
3916 b := dAtA[iNdEx]
3917 iNdEx++
3918 wire |= (uint64(b) & 0x7F) << shift
3919 if b < 0x80 {
3920 break
3921 }
3922 }
3923 fieldNum := int32(wire >> 3)
3924 wireType := int(wire & 0x7)
3925 if wireType == 4 {
3926 return fmt.Errorf("proto: ExportOptions: wiretype end group for non-group")
3927 }
3928 if fieldNum <= 0 {
3929 return fmt.Errorf("proto: ExportOptions: illegal tag %d (wire type %d)", fieldNum, wire)
3930 }
3931 switch fieldNum {
3932 case 1:
3933 if wireType != 0 {
3934 return fmt.Errorf("proto: wrong wireType = %d for field Export", wireType)
3935 }
3936 var v int
3937 for shift := uint(0); ; shift += 7 {
3938 if shift >= 64 {
3939 return ErrIntOverflowGenerated
3940 }
3941 if iNdEx >= l {
3942 return io.ErrUnexpectedEOF
3943 }
3944 b := dAtA[iNdEx]
3945 iNdEx++
3946 v |= (int(b) & 0x7F) << shift
3947 if b < 0x80 {
3948 break
3949 }
3950 }
3951 m.Export = bool(v != 0)
3952 case 2:
3953 if wireType != 0 {
3954 return fmt.Errorf("proto: wrong wireType = %d for field Exact", wireType)
3955 }
3956 var v int
3957 for shift := uint(0); ; shift += 7 {
3958 if shift >= 64 {
3959 return ErrIntOverflowGenerated
3960 }
3961 if iNdEx >= l {
3962 return io.ErrUnexpectedEOF
3963 }
3964 b := dAtA[iNdEx]
3965 iNdEx++
3966 v |= (int(b) & 0x7F) << shift
3967 if b < 0x80 {
3968 break
3969 }
3970 }
3971 m.Exact = bool(v != 0)
3972 default:
3973 iNdEx = preIndex
3974 skippy, err := skipGenerated(dAtA[iNdEx:])
3975 if err != nil {
3976 return err
3977 }
3978 if skippy < 0 {
3979 return ErrInvalidLengthGenerated
3980 }
3981 if (iNdEx + skippy) > l {
3982 return io.ErrUnexpectedEOF
3983 }
3984 iNdEx += skippy
3985 }
3986 }
3987
3988 if iNdEx > l {
3989 return io.ErrUnexpectedEOF
3990 }
3991 return nil
3992}
3993func (m *GetOptions) Unmarshal(dAtA []byte) error {
3994 l := len(dAtA)
3995 iNdEx := 0
3996 for iNdEx < l {
3997 preIndex := iNdEx
3998 var wire uint64
3999 for shift := uint(0); ; shift += 7 {
4000 if shift >= 64 {
4001 return ErrIntOverflowGenerated
4002 }
4003 if iNdEx >= l {
4004 return io.ErrUnexpectedEOF
4005 }
4006 b := dAtA[iNdEx]
4007 iNdEx++
4008 wire |= (uint64(b) & 0x7F) << shift
4009 if b < 0x80 {
4010 break
4011 }
4012 }
4013 fieldNum := int32(wire >> 3)
4014 wireType := int(wire & 0x7)
4015 if wireType == 4 {
4016 return fmt.Errorf("proto: GetOptions: wiretype end group for non-group")
4017 }
4018 if fieldNum <= 0 {
4019 return fmt.Errorf("proto: GetOptions: illegal tag %d (wire type %d)", fieldNum, wire)
4020 }
4021 switch fieldNum {
4022 case 1:
4023 if wireType != 2 {
4024 return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
4025 }
4026 var stringLen uint64
4027 for shift := uint(0); ; shift += 7 {
4028 if shift >= 64 {
4029 return ErrIntOverflowGenerated
4030 }
4031 if iNdEx >= l {
4032 return io.ErrUnexpectedEOF
4033 }
4034 b := dAtA[iNdEx]
4035 iNdEx++
4036 stringLen |= (uint64(b) & 0x7F) << shift
4037 if b < 0x80 {
4038 break
4039 }
4040 }
4041 intStringLen := int(stringLen)
4042 if intStringLen < 0 {
4043 return ErrInvalidLengthGenerated
4044 }
4045 postIndex := iNdEx + intStringLen
4046 if postIndex > l {
4047 return io.ErrUnexpectedEOF
4048 }
4049 m.ResourceVersion = string(dAtA[iNdEx:postIndex])
4050 iNdEx = postIndex
4051 case 2:
4052 if wireType != 0 {
4053 return fmt.Errorf("proto: wrong wireType = %d for field IncludeUninitialized", wireType)
4054 }
4055 var v int
4056 for shift := uint(0); ; shift += 7 {
4057 if shift >= 64 {
4058 return ErrIntOverflowGenerated
4059 }
4060 if iNdEx >= l {
4061 return io.ErrUnexpectedEOF
4062 }
4063 b := dAtA[iNdEx]
4064 iNdEx++
4065 v |= (int(b) & 0x7F) << shift
4066 if b < 0x80 {
4067 break
4068 }
4069 }
4070 m.IncludeUninitialized = bool(v != 0)
4071 default:
4072 iNdEx = preIndex
4073 skippy, err := skipGenerated(dAtA[iNdEx:])
4074 if err != nil {
4075 return err
4076 }
4077 if skippy < 0 {
4078 return ErrInvalidLengthGenerated
4079 }
4080 if (iNdEx + skippy) > l {
4081 return io.ErrUnexpectedEOF
4082 }
4083 iNdEx += skippy
4084 }
4085 }
4086
4087 if iNdEx > l {
4088 return io.ErrUnexpectedEOF
4089 }
4090 return nil
4091}
4092func (m *GroupKind) Unmarshal(dAtA []byte) error {
4093 l := len(dAtA)
4094 iNdEx := 0
4095 for iNdEx < l {
4096 preIndex := iNdEx
4097 var wire uint64
4098 for shift := uint(0); ; shift += 7 {
4099 if shift >= 64 {
4100 return ErrIntOverflowGenerated
4101 }
4102 if iNdEx >= l {
4103 return io.ErrUnexpectedEOF
4104 }
4105 b := dAtA[iNdEx]
4106 iNdEx++
4107 wire |= (uint64(b) & 0x7F) << shift
4108 if b < 0x80 {
4109 break
4110 }
4111 }
4112 fieldNum := int32(wire >> 3)
4113 wireType := int(wire & 0x7)
4114 if wireType == 4 {
4115 return fmt.Errorf("proto: GroupKind: wiretype end group for non-group")
4116 }
4117 if fieldNum <= 0 {
4118 return fmt.Errorf("proto: GroupKind: illegal tag %d (wire type %d)", fieldNum, wire)
4119 }
4120 switch fieldNum {
4121 case 1:
4122 if wireType != 2 {
4123 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
4124 }
4125 var stringLen uint64
4126 for shift := uint(0); ; shift += 7 {
4127 if shift >= 64 {
4128 return ErrIntOverflowGenerated
4129 }
4130 if iNdEx >= l {
4131 return io.ErrUnexpectedEOF
4132 }
4133 b := dAtA[iNdEx]
4134 iNdEx++
4135 stringLen |= (uint64(b) & 0x7F) << shift
4136 if b < 0x80 {
4137 break
4138 }
4139 }
4140 intStringLen := int(stringLen)
4141 if intStringLen < 0 {
4142 return ErrInvalidLengthGenerated
4143 }
4144 postIndex := iNdEx + intStringLen
4145 if postIndex > l {
4146 return io.ErrUnexpectedEOF
4147 }
4148 m.Group = string(dAtA[iNdEx:postIndex])
4149 iNdEx = postIndex
4150 case 2:
4151 if wireType != 2 {
4152 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
4153 }
4154 var stringLen uint64
4155 for shift := uint(0); ; shift += 7 {
4156 if shift >= 64 {
4157 return ErrIntOverflowGenerated
4158 }
4159 if iNdEx >= l {
4160 return io.ErrUnexpectedEOF
4161 }
4162 b := dAtA[iNdEx]
4163 iNdEx++
4164 stringLen |= (uint64(b) & 0x7F) << shift
4165 if b < 0x80 {
4166 break
4167 }
4168 }
4169 intStringLen := int(stringLen)
4170 if intStringLen < 0 {
4171 return ErrInvalidLengthGenerated
4172 }
4173 postIndex := iNdEx + intStringLen
4174 if postIndex > l {
4175 return io.ErrUnexpectedEOF
4176 }
4177 m.Kind = string(dAtA[iNdEx:postIndex])
4178 iNdEx = postIndex
4179 default:
4180 iNdEx = preIndex
4181 skippy, err := skipGenerated(dAtA[iNdEx:])
4182 if err != nil {
4183 return err
4184 }
4185 if skippy < 0 {
4186 return ErrInvalidLengthGenerated
4187 }
4188 if (iNdEx + skippy) > l {
4189 return io.ErrUnexpectedEOF
4190 }
4191 iNdEx += skippy
4192 }
4193 }
4194
4195 if iNdEx > l {
4196 return io.ErrUnexpectedEOF
4197 }
4198 return nil
4199}
4200func (m *GroupResource) Unmarshal(dAtA []byte) error {
4201 l := len(dAtA)
4202 iNdEx := 0
4203 for iNdEx < l {
4204 preIndex := iNdEx
4205 var wire uint64
4206 for shift := uint(0); ; shift += 7 {
4207 if shift >= 64 {
4208 return ErrIntOverflowGenerated
4209 }
4210 if iNdEx >= l {
4211 return io.ErrUnexpectedEOF
4212 }
4213 b := dAtA[iNdEx]
4214 iNdEx++
4215 wire |= (uint64(b) & 0x7F) << shift
4216 if b < 0x80 {
4217 break
4218 }
4219 }
4220 fieldNum := int32(wire >> 3)
4221 wireType := int(wire & 0x7)
4222 if wireType == 4 {
4223 return fmt.Errorf("proto: GroupResource: wiretype end group for non-group")
4224 }
4225 if fieldNum <= 0 {
4226 return fmt.Errorf("proto: GroupResource: illegal tag %d (wire type %d)", fieldNum, wire)
4227 }
4228 switch fieldNum {
4229 case 1:
4230 if wireType != 2 {
4231 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
4232 }
4233 var stringLen uint64
4234 for shift := uint(0); ; shift += 7 {
4235 if shift >= 64 {
4236 return ErrIntOverflowGenerated
4237 }
4238 if iNdEx >= l {
4239 return io.ErrUnexpectedEOF
4240 }
4241 b := dAtA[iNdEx]
4242 iNdEx++
4243 stringLen |= (uint64(b) & 0x7F) << shift
4244 if b < 0x80 {
4245 break
4246 }
4247 }
4248 intStringLen := int(stringLen)
4249 if intStringLen < 0 {
4250 return ErrInvalidLengthGenerated
4251 }
4252 postIndex := iNdEx + intStringLen
4253 if postIndex > l {
4254 return io.ErrUnexpectedEOF
4255 }
4256 m.Group = string(dAtA[iNdEx:postIndex])
4257 iNdEx = postIndex
4258 case 2:
4259 if wireType != 2 {
4260 return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
4261 }
4262 var stringLen uint64
4263 for shift := uint(0); ; shift += 7 {
4264 if shift >= 64 {
4265 return ErrIntOverflowGenerated
4266 }
4267 if iNdEx >= l {
4268 return io.ErrUnexpectedEOF
4269 }
4270 b := dAtA[iNdEx]
4271 iNdEx++
4272 stringLen |= (uint64(b) & 0x7F) << shift
4273 if b < 0x80 {
4274 break
4275 }
4276 }
4277 intStringLen := int(stringLen)
4278 if intStringLen < 0 {
4279 return ErrInvalidLengthGenerated
4280 }
4281 postIndex := iNdEx + intStringLen
4282 if postIndex > l {
4283 return io.ErrUnexpectedEOF
4284 }
4285 m.Resource = string(dAtA[iNdEx:postIndex])
4286 iNdEx = postIndex
4287 default:
4288 iNdEx = preIndex
4289 skippy, err := skipGenerated(dAtA[iNdEx:])
4290 if err != nil {
4291 return err
4292 }
4293 if skippy < 0 {
4294 return ErrInvalidLengthGenerated
4295 }
4296 if (iNdEx + skippy) > l {
4297 return io.ErrUnexpectedEOF
4298 }
4299 iNdEx += skippy
4300 }
4301 }
4302
4303 if iNdEx > l {
4304 return io.ErrUnexpectedEOF
4305 }
4306 return nil
4307}
4308func (m *GroupVersion) Unmarshal(dAtA []byte) error {
4309 l := len(dAtA)
4310 iNdEx := 0
4311 for iNdEx < l {
4312 preIndex := iNdEx
4313 var wire uint64
4314 for shift := uint(0); ; shift += 7 {
4315 if shift >= 64 {
4316 return ErrIntOverflowGenerated
4317 }
4318 if iNdEx >= l {
4319 return io.ErrUnexpectedEOF
4320 }
4321 b := dAtA[iNdEx]
4322 iNdEx++
4323 wire |= (uint64(b) & 0x7F) << shift
4324 if b < 0x80 {
4325 break
4326 }
4327 }
4328 fieldNum := int32(wire >> 3)
4329 wireType := int(wire & 0x7)
4330 if wireType == 4 {
4331 return fmt.Errorf("proto: GroupVersion: wiretype end group for non-group")
4332 }
4333 if fieldNum <= 0 {
4334 return fmt.Errorf("proto: GroupVersion: illegal tag %d (wire type %d)", fieldNum, wire)
4335 }
4336 switch fieldNum {
4337 case 1:
4338 if wireType != 2 {
4339 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
4340 }
4341 var stringLen uint64
4342 for shift := uint(0); ; shift += 7 {
4343 if shift >= 64 {
4344 return ErrIntOverflowGenerated
4345 }
4346 if iNdEx >= l {
4347 return io.ErrUnexpectedEOF
4348 }
4349 b := dAtA[iNdEx]
4350 iNdEx++
4351 stringLen |= (uint64(b) & 0x7F) << shift
4352 if b < 0x80 {
4353 break
4354 }
4355 }
4356 intStringLen := int(stringLen)
4357 if intStringLen < 0 {
4358 return ErrInvalidLengthGenerated
4359 }
4360 postIndex := iNdEx + intStringLen
4361 if postIndex > l {
4362 return io.ErrUnexpectedEOF
4363 }
4364 m.Group = string(dAtA[iNdEx:postIndex])
4365 iNdEx = postIndex
4366 case 2:
4367 if wireType != 2 {
4368 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
4369 }
4370 var stringLen uint64
4371 for shift := uint(0); ; shift += 7 {
4372 if shift >= 64 {
4373 return ErrIntOverflowGenerated
4374 }
4375 if iNdEx >= l {
4376 return io.ErrUnexpectedEOF
4377 }
4378 b := dAtA[iNdEx]
4379 iNdEx++
4380 stringLen |= (uint64(b) & 0x7F) << shift
4381 if b < 0x80 {
4382 break
4383 }
4384 }
4385 intStringLen := int(stringLen)
4386 if intStringLen < 0 {
4387 return ErrInvalidLengthGenerated
4388 }
4389 postIndex := iNdEx + intStringLen
4390 if postIndex > l {
4391 return io.ErrUnexpectedEOF
4392 }
4393 m.Version = string(dAtA[iNdEx:postIndex])
4394 iNdEx = postIndex
4395 default:
4396 iNdEx = preIndex
4397 skippy, err := skipGenerated(dAtA[iNdEx:])
4398 if err != nil {
4399 return err
4400 }
4401 if skippy < 0 {
4402 return ErrInvalidLengthGenerated
4403 }
4404 if (iNdEx + skippy) > l {
4405 return io.ErrUnexpectedEOF
4406 }
4407 iNdEx += skippy
4408 }
4409 }
4410
4411 if iNdEx > l {
4412 return io.ErrUnexpectedEOF
4413 }
4414 return nil
4415}
4416func (m *GroupVersionForDiscovery) Unmarshal(dAtA []byte) error {
4417 l := len(dAtA)
4418 iNdEx := 0
4419 for iNdEx < l {
4420 preIndex := iNdEx
4421 var wire uint64
4422 for shift := uint(0); ; shift += 7 {
4423 if shift >= 64 {
4424 return ErrIntOverflowGenerated
4425 }
4426 if iNdEx >= l {
4427 return io.ErrUnexpectedEOF
4428 }
4429 b := dAtA[iNdEx]
4430 iNdEx++
4431 wire |= (uint64(b) & 0x7F) << shift
4432 if b < 0x80 {
4433 break
4434 }
4435 }
4436 fieldNum := int32(wire >> 3)
4437 wireType := int(wire & 0x7)
4438 if wireType == 4 {
4439 return fmt.Errorf("proto: GroupVersionForDiscovery: wiretype end group for non-group")
4440 }
4441 if fieldNum <= 0 {
4442 return fmt.Errorf("proto: GroupVersionForDiscovery: illegal tag %d (wire type %d)", fieldNum, wire)
4443 }
4444 switch fieldNum {
4445 case 1:
4446 if wireType != 2 {
4447 return fmt.Errorf("proto: wrong wireType = %d for field GroupVersion", wireType)
4448 }
4449 var stringLen uint64
4450 for shift := uint(0); ; shift += 7 {
4451 if shift >= 64 {
4452 return ErrIntOverflowGenerated
4453 }
4454 if iNdEx >= l {
4455 return io.ErrUnexpectedEOF
4456 }
4457 b := dAtA[iNdEx]
4458 iNdEx++
4459 stringLen |= (uint64(b) & 0x7F) << shift
4460 if b < 0x80 {
4461 break
4462 }
4463 }
4464 intStringLen := int(stringLen)
4465 if intStringLen < 0 {
4466 return ErrInvalidLengthGenerated
4467 }
4468 postIndex := iNdEx + intStringLen
4469 if postIndex > l {
4470 return io.ErrUnexpectedEOF
4471 }
4472 m.GroupVersion = string(dAtA[iNdEx:postIndex])
4473 iNdEx = postIndex
4474 case 2:
4475 if wireType != 2 {
4476 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
4477 }
4478 var stringLen uint64
4479 for shift := uint(0); ; shift += 7 {
4480 if shift >= 64 {
4481 return ErrIntOverflowGenerated
4482 }
4483 if iNdEx >= l {
4484 return io.ErrUnexpectedEOF
4485 }
4486 b := dAtA[iNdEx]
4487 iNdEx++
4488 stringLen |= (uint64(b) & 0x7F) << shift
4489 if b < 0x80 {
4490 break
4491 }
4492 }
4493 intStringLen := int(stringLen)
4494 if intStringLen < 0 {
4495 return ErrInvalidLengthGenerated
4496 }
4497 postIndex := iNdEx + intStringLen
4498 if postIndex > l {
4499 return io.ErrUnexpectedEOF
4500 }
4501 m.Version = string(dAtA[iNdEx:postIndex])
4502 iNdEx = postIndex
4503 default:
4504 iNdEx = preIndex
4505 skippy, err := skipGenerated(dAtA[iNdEx:])
4506 if err != nil {
4507 return err
4508 }
4509 if skippy < 0 {
4510 return ErrInvalidLengthGenerated
4511 }
4512 if (iNdEx + skippy) > l {
4513 return io.ErrUnexpectedEOF
4514 }
4515 iNdEx += skippy
4516 }
4517 }
4518
4519 if iNdEx > l {
4520 return io.ErrUnexpectedEOF
4521 }
4522 return nil
4523}
4524func (m *GroupVersionKind) Unmarshal(dAtA []byte) error {
4525 l := len(dAtA)
4526 iNdEx := 0
4527 for iNdEx < l {
4528 preIndex := iNdEx
4529 var wire uint64
4530 for shift := uint(0); ; shift += 7 {
4531 if shift >= 64 {
4532 return ErrIntOverflowGenerated
4533 }
4534 if iNdEx >= l {
4535 return io.ErrUnexpectedEOF
4536 }
4537 b := dAtA[iNdEx]
4538 iNdEx++
4539 wire |= (uint64(b) & 0x7F) << shift
4540 if b < 0x80 {
4541 break
4542 }
4543 }
4544 fieldNum := int32(wire >> 3)
4545 wireType := int(wire & 0x7)
4546 if wireType == 4 {
4547 return fmt.Errorf("proto: GroupVersionKind: wiretype end group for non-group")
4548 }
4549 if fieldNum <= 0 {
4550 return fmt.Errorf("proto: GroupVersionKind: illegal tag %d (wire type %d)", fieldNum, wire)
4551 }
4552 switch fieldNum {
4553 case 1:
4554 if wireType != 2 {
4555 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
4556 }
4557 var stringLen uint64
4558 for shift := uint(0); ; shift += 7 {
4559 if shift >= 64 {
4560 return ErrIntOverflowGenerated
4561 }
4562 if iNdEx >= l {
4563 return io.ErrUnexpectedEOF
4564 }
4565 b := dAtA[iNdEx]
4566 iNdEx++
4567 stringLen |= (uint64(b) & 0x7F) << shift
4568 if b < 0x80 {
4569 break
4570 }
4571 }
4572 intStringLen := int(stringLen)
4573 if intStringLen < 0 {
4574 return ErrInvalidLengthGenerated
4575 }
4576 postIndex := iNdEx + intStringLen
4577 if postIndex > l {
4578 return io.ErrUnexpectedEOF
4579 }
4580 m.Group = string(dAtA[iNdEx:postIndex])
4581 iNdEx = postIndex
4582 case 2:
4583 if wireType != 2 {
4584 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
4585 }
4586 var stringLen uint64
4587 for shift := uint(0); ; shift += 7 {
4588 if shift >= 64 {
4589 return ErrIntOverflowGenerated
4590 }
4591 if iNdEx >= l {
4592 return io.ErrUnexpectedEOF
4593 }
4594 b := dAtA[iNdEx]
4595 iNdEx++
4596 stringLen |= (uint64(b) & 0x7F) << shift
4597 if b < 0x80 {
4598 break
4599 }
4600 }
4601 intStringLen := int(stringLen)
4602 if intStringLen < 0 {
4603 return ErrInvalidLengthGenerated
4604 }
4605 postIndex := iNdEx + intStringLen
4606 if postIndex > l {
4607 return io.ErrUnexpectedEOF
4608 }
4609 m.Version = string(dAtA[iNdEx:postIndex])
4610 iNdEx = postIndex
4611 case 3:
4612 if wireType != 2 {
4613 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
4614 }
4615 var stringLen uint64
4616 for shift := uint(0); ; shift += 7 {
4617 if shift >= 64 {
4618 return ErrIntOverflowGenerated
4619 }
4620 if iNdEx >= l {
4621 return io.ErrUnexpectedEOF
4622 }
4623 b := dAtA[iNdEx]
4624 iNdEx++
4625 stringLen |= (uint64(b) & 0x7F) << shift
4626 if b < 0x80 {
4627 break
4628 }
4629 }
4630 intStringLen := int(stringLen)
4631 if intStringLen < 0 {
4632 return ErrInvalidLengthGenerated
4633 }
4634 postIndex := iNdEx + intStringLen
4635 if postIndex > l {
4636 return io.ErrUnexpectedEOF
4637 }
4638 m.Kind = string(dAtA[iNdEx:postIndex])
4639 iNdEx = postIndex
4640 default:
4641 iNdEx = preIndex
4642 skippy, err := skipGenerated(dAtA[iNdEx:])
4643 if err != nil {
4644 return err
4645 }
4646 if skippy < 0 {
4647 return ErrInvalidLengthGenerated
4648 }
4649 if (iNdEx + skippy) > l {
4650 return io.ErrUnexpectedEOF
4651 }
4652 iNdEx += skippy
4653 }
4654 }
4655
4656 if iNdEx > l {
4657 return io.ErrUnexpectedEOF
4658 }
4659 return nil
4660}
4661func (m *GroupVersionResource) Unmarshal(dAtA []byte) error {
4662 l := len(dAtA)
4663 iNdEx := 0
4664 for iNdEx < l {
4665 preIndex := iNdEx
4666 var wire uint64
4667 for shift := uint(0); ; shift += 7 {
4668 if shift >= 64 {
4669 return ErrIntOverflowGenerated
4670 }
4671 if iNdEx >= l {
4672 return io.ErrUnexpectedEOF
4673 }
4674 b := dAtA[iNdEx]
4675 iNdEx++
4676 wire |= (uint64(b) & 0x7F) << shift
4677 if b < 0x80 {
4678 break
4679 }
4680 }
4681 fieldNum := int32(wire >> 3)
4682 wireType := int(wire & 0x7)
4683 if wireType == 4 {
4684 return fmt.Errorf("proto: GroupVersionResource: wiretype end group for non-group")
4685 }
4686 if fieldNum <= 0 {
4687 return fmt.Errorf("proto: GroupVersionResource: illegal tag %d (wire type %d)", fieldNum, wire)
4688 }
4689 switch fieldNum {
4690 case 1:
4691 if wireType != 2 {
4692 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
4693 }
4694 var stringLen uint64
4695 for shift := uint(0); ; shift += 7 {
4696 if shift >= 64 {
4697 return ErrIntOverflowGenerated
4698 }
4699 if iNdEx >= l {
4700 return io.ErrUnexpectedEOF
4701 }
4702 b := dAtA[iNdEx]
4703 iNdEx++
4704 stringLen |= (uint64(b) & 0x7F) << shift
4705 if b < 0x80 {
4706 break
4707 }
4708 }
4709 intStringLen := int(stringLen)
4710 if intStringLen < 0 {
4711 return ErrInvalidLengthGenerated
4712 }
4713 postIndex := iNdEx + intStringLen
4714 if postIndex > l {
4715 return io.ErrUnexpectedEOF
4716 }
4717 m.Group = string(dAtA[iNdEx:postIndex])
4718 iNdEx = postIndex
4719 case 2:
4720 if wireType != 2 {
4721 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
4722 }
4723 var stringLen uint64
4724 for shift := uint(0); ; shift += 7 {
4725 if shift >= 64 {
4726 return ErrIntOverflowGenerated
4727 }
4728 if iNdEx >= l {
4729 return io.ErrUnexpectedEOF
4730 }
4731 b := dAtA[iNdEx]
4732 iNdEx++
4733 stringLen |= (uint64(b) & 0x7F) << shift
4734 if b < 0x80 {
4735 break
4736 }
4737 }
4738 intStringLen := int(stringLen)
4739 if intStringLen < 0 {
4740 return ErrInvalidLengthGenerated
4741 }
4742 postIndex := iNdEx + intStringLen
4743 if postIndex > l {
4744 return io.ErrUnexpectedEOF
4745 }
4746 m.Version = string(dAtA[iNdEx:postIndex])
4747 iNdEx = postIndex
4748 case 3:
4749 if wireType != 2 {
4750 return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
4751 }
4752 var stringLen uint64
4753 for shift := uint(0); ; shift += 7 {
4754 if shift >= 64 {
4755 return ErrIntOverflowGenerated
4756 }
4757 if iNdEx >= l {
4758 return io.ErrUnexpectedEOF
4759 }
4760 b := dAtA[iNdEx]
4761 iNdEx++
4762 stringLen |= (uint64(b) & 0x7F) << shift
4763 if b < 0x80 {
4764 break
4765 }
4766 }
4767 intStringLen := int(stringLen)
4768 if intStringLen < 0 {
4769 return ErrInvalidLengthGenerated
4770 }
4771 postIndex := iNdEx + intStringLen
4772 if postIndex > l {
4773 return io.ErrUnexpectedEOF
4774 }
4775 m.Resource = string(dAtA[iNdEx:postIndex])
4776 iNdEx = postIndex
4777 default:
4778 iNdEx = preIndex
4779 skippy, err := skipGenerated(dAtA[iNdEx:])
4780 if err != nil {
4781 return err
4782 }
4783 if skippy < 0 {
4784 return ErrInvalidLengthGenerated
4785 }
4786 if (iNdEx + skippy) > l {
4787 return io.ErrUnexpectedEOF
4788 }
4789 iNdEx += skippy
4790 }
4791 }
4792
4793 if iNdEx > l {
4794 return io.ErrUnexpectedEOF
4795 }
4796 return nil
4797}
4798func (m *Initializer) Unmarshal(dAtA []byte) error {
4799 l := len(dAtA)
4800 iNdEx := 0
4801 for iNdEx < l {
4802 preIndex := iNdEx
4803 var wire uint64
4804 for shift := uint(0); ; shift += 7 {
4805 if shift >= 64 {
4806 return ErrIntOverflowGenerated
4807 }
4808 if iNdEx >= l {
4809 return io.ErrUnexpectedEOF
4810 }
4811 b := dAtA[iNdEx]
4812 iNdEx++
4813 wire |= (uint64(b) & 0x7F) << shift
4814 if b < 0x80 {
4815 break
4816 }
4817 }
4818 fieldNum := int32(wire >> 3)
4819 wireType := int(wire & 0x7)
4820 if wireType == 4 {
4821 return fmt.Errorf("proto: Initializer: wiretype end group for non-group")
4822 }
4823 if fieldNum <= 0 {
4824 return fmt.Errorf("proto: Initializer: illegal tag %d (wire type %d)", fieldNum, wire)
4825 }
4826 switch fieldNum {
4827 case 1:
4828 if wireType != 2 {
4829 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
4830 }
4831 var stringLen uint64
4832 for shift := uint(0); ; shift += 7 {
4833 if shift >= 64 {
4834 return ErrIntOverflowGenerated
4835 }
4836 if iNdEx >= l {
4837 return io.ErrUnexpectedEOF
4838 }
4839 b := dAtA[iNdEx]
4840 iNdEx++
4841 stringLen |= (uint64(b) & 0x7F) << shift
4842 if b < 0x80 {
4843 break
4844 }
4845 }
4846 intStringLen := int(stringLen)
4847 if intStringLen < 0 {
4848 return ErrInvalidLengthGenerated
4849 }
4850 postIndex := iNdEx + intStringLen
4851 if postIndex > l {
4852 return io.ErrUnexpectedEOF
4853 }
4854 m.Name = string(dAtA[iNdEx:postIndex])
4855 iNdEx = postIndex
4856 default:
4857 iNdEx = preIndex
4858 skippy, err := skipGenerated(dAtA[iNdEx:])
4859 if err != nil {
4860 return err
4861 }
4862 if skippy < 0 {
4863 return ErrInvalidLengthGenerated
4864 }
4865 if (iNdEx + skippy) > l {
4866 return io.ErrUnexpectedEOF
4867 }
4868 iNdEx += skippy
4869 }
4870 }
4871
4872 if iNdEx > l {
4873 return io.ErrUnexpectedEOF
4874 }
4875 return nil
4876}
4877func (m *Initializers) Unmarshal(dAtA []byte) error {
4878 l := len(dAtA)
4879 iNdEx := 0
4880 for iNdEx < l {
4881 preIndex := iNdEx
4882 var wire uint64
4883 for shift := uint(0); ; shift += 7 {
4884 if shift >= 64 {
4885 return ErrIntOverflowGenerated
4886 }
4887 if iNdEx >= l {
4888 return io.ErrUnexpectedEOF
4889 }
4890 b := dAtA[iNdEx]
4891 iNdEx++
4892 wire |= (uint64(b) & 0x7F) << shift
4893 if b < 0x80 {
4894 break
4895 }
4896 }
4897 fieldNum := int32(wire >> 3)
4898 wireType := int(wire & 0x7)
4899 if wireType == 4 {
4900 return fmt.Errorf("proto: Initializers: wiretype end group for non-group")
4901 }
4902 if fieldNum <= 0 {
4903 return fmt.Errorf("proto: Initializers: illegal tag %d (wire type %d)", fieldNum, wire)
4904 }
4905 switch fieldNum {
4906 case 1:
4907 if wireType != 2 {
4908 return fmt.Errorf("proto: wrong wireType = %d for field Pending", wireType)
4909 }
4910 var msglen int
4911 for shift := uint(0); ; shift += 7 {
4912 if shift >= 64 {
4913 return ErrIntOverflowGenerated
4914 }
4915 if iNdEx >= l {
4916 return io.ErrUnexpectedEOF
4917 }
4918 b := dAtA[iNdEx]
4919 iNdEx++
4920 msglen |= (int(b) & 0x7F) << shift
4921 if b < 0x80 {
4922 break
4923 }
4924 }
4925 if msglen < 0 {
4926 return ErrInvalidLengthGenerated
4927 }
4928 postIndex := iNdEx + msglen
4929 if postIndex > l {
4930 return io.ErrUnexpectedEOF
4931 }
4932 m.Pending = append(m.Pending, Initializer{})
4933 if err := m.Pending[len(m.Pending)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4934 return err
4935 }
4936 iNdEx = postIndex
4937 case 2:
4938 if wireType != 2 {
4939 return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
4940 }
4941 var msglen int
4942 for shift := uint(0); ; shift += 7 {
4943 if shift >= 64 {
4944 return ErrIntOverflowGenerated
4945 }
4946 if iNdEx >= l {
4947 return io.ErrUnexpectedEOF
4948 }
4949 b := dAtA[iNdEx]
4950 iNdEx++
4951 msglen |= (int(b) & 0x7F) << shift
4952 if b < 0x80 {
4953 break
4954 }
4955 }
4956 if msglen < 0 {
4957 return ErrInvalidLengthGenerated
4958 }
4959 postIndex := iNdEx + msglen
4960 if postIndex > l {
4961 return io.ErrUnexpectedEOF
4962 }
4963 if m.Result == nil {
4964 m.Result = &Status{}
4965 }
4966 if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
4967 return err
4968 }
4969 iNdEx = postIndex
4970 default:
4971 iNdEx = preIndex
4972 skippy, err := skipGenerated(dAtA[iNdEx:])
4973 if err != nil {
4974 return err
4975 }
4976 if skippy < 0 {
4977 return ErrInvalidLengthGenerated
4978 }
4979 if (iNdEx + skippy) > l {
4980 return io.ErrUnexpectedEOF
4981 }
4982 iNdEx += skippy
4983 }
4984 }
4985
4986 if iNdEx > l {
4987 return io.ErrUnexpectedEOF
4988 }
4989 return nil
4990}
4991func (m *LabelSelector) Unmarshal(dAtA []byte) error {
4992 l := len(dAtA)
4993 iNdEx := 0
4994 for iNdEx < l {
4995 preIndex := iNdEx
4996 var wire uint64
4997 for shift := uint(0); ; shift += 7 {
4998 if shift >= 64 {
4999 return ErrIntOverflowGenerated
5000 }
5001 if iNdEx >= l {
5002 return io.ErrUnexpectedEOF
5003 }
5004 b := dAtA[iNdEx]
5005 iNdEx++
5006 wire |= (uint64(b) & 0x7F) << shift
5007 if b < 0x80 {
5008 break
5009 }
5010 }
5011 fieldNum := int32(wire >> 3)
5012 wireType := int(wire & 0x7)
5013 if wireType == 4 {
5014 return fmt.Errorf("proto: LabelSelector: wiretype end group for non-group")
5015 }
5016 if fieldNum <= 0 {
5017 return fmt.Errorf("proto: LabelSelector: illegal tag %d (wire type %d)", fieldNum, wire)
5018 }
5019 switch fieldNum {
5020 case 1:
5021 if wireType != 2 {
5022 return fmt.Errorf("proto: wrong wireType = %d for field MatchLabels", wireType)
5023 }
5024 var msglen int
5025 for shift := uint(0); ; shift += 7 {
5026 if shift >= 64 {
5027 return ErrIntOverflowGenerated
5028 }
5029 if iNdEx >= l {
5030 return io.ErrUnexpectedEOF
5031 }
5032 b := dAtA[iNdEx]
5033 iNdEx++
5034 msglen |= (int(b) & 0x7F) << shift
5035 if b < 0x80 {
5036 break
5037 }
5038 }
5039 if msglen < 0 {
5040 return ErrInvalidLengthGenerated
5041 }
5042 postIndex := iNdEx + msglen
5043 if postIndex > l {
5044 return io.ErrUnexpectedEOF
5045 }
5046 var keykey uint64
5047 for shift := uint(0); ; shift += 7 {
5048 if shift >= 64 {
5049 return ErrIntOverflowGenerated
5050 }
5051 if iNdEx >= l {
5052 return io.ErrUnexpectedEOF
5053 }
5054 b := dAtA[iNdEx]
5055 iNdEx++
5056 keykey |= (uint64(b) & 0x7F) << shift
5057 if b < 0x80 {
5058 break
5059 }
5060 }
5061 var stringLenmapkey uint64
5062 for shift := uint(0); ; shift += 7 {
5063 if shift >= 64 {
5064 return ErrIntOverflowGenerated
5065 }
5066 if iNdEx >= l {
5067 return io.ErrUnexpectedEOF
5068 }
5069 b := dAtA[iNdEx]
5070 iNdEx++
5071 stringLenmapkey |= (uint64(b) & 0x7F) << shift
5072 if b < 0x80 {
5073 break
5074 }
5075 }
5076 intStringLenmapkey := int(stringLenmapkey)
5077 if intStringLenmapkey < 0 {
5078 return ErrInvalidLengthGenerated
5079 }
5080 postStringIndexmapkey := iNdEx + intStringLenmapkey
5081 if postStringIndexmapkey > l {
5082 return io.ErrUnexpectedEOF
5083 }
5084 mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
5085 iNdEx = postStringIndexmapkey
5086 if m.MatchLabels == nil {
5087 m.MatchLabels = make(map[string]string)
5088 }
5089 if iNdEx < postIndex {
5090 var valuekey uint64
5091 for shift := uint(0); ; shift += 7 {
5092 if shift >= 64 {
5093 return ErrIntOverflowGenerated
5094 }
5095 if iNdEx >= l {
5096 return io.ErrUnexpectedEOF
5097 }
5098 b := dAtA[iNdEx]
5099 iNdEx++
5100 valuekey |= (uint64(b) & 0x7F) << shift
5101 if b < 0x80 {
5102 break
5103 }
5104 }
5105 var stringLenmapvalue uint64
5106 for shift := uint(0); ; shift += 7 {
5107 if shift >= 64 {
5108 return ErrIntOverflowGenerated
5109 }
5110 if iNdEx >= l {
5111 return io.ErrUnexpectedEOF
5112 }
5113 b := dAtA[iNdEx]
5114 iNdEx++
5115 stringLenmapvalue |= (uint64(b) & 0x7F) << shift
5116 if b < 0x80 {
5117 break
5118 }
5119 }
5120 intStringLenmapvalue := int(stringLenmapvalue)
5121 if intStringLenmapvalue < 0 {
5122 return ErrInvalidLengthGenerated
5123 }
5124 postStringIndexmapvalue := iNdEx + intStringLenmapvalue
5125 if postStringIndexmapvalue > l {
5126 return io.ErrUnexpectedEOF
5127 }
5128 mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
5129 iNdEx = postStringIndexmapvalue
5130 m.MatchLabels[mapkey] = mapvalue
5131 } else {
5132 var mapvalue string
5133 m.MatchLabels[mapkey] = mapvalue
5134 }
5135 iNdEx = postIndex
5136 case 2:
5137 if wireType != 2 {
5138 return fmt.Errorf("proto: wrong wireType = %d for field MatchExpressions", wireType)
5139 }
5140 var msglen int
5141 for shift := uint(0); ; shift += 7 {
5142 if shift >= 64 {
5143 return ErrIntOverflowGenerated
5144 }
5145 if iNdEx >= l {
5146 return io.ErrUnexpectedEOF
5147 }
5148 b := dAtA[iNdEx]
5149 iNdEx++
5150 msglen |= (int(b) & 0x7F) << shift
5151 if b < 0x80 {
5152 break
5153 }
5154 }
5155 if msglen < 0 {
5156 return ErrInvalidLengthGenerated
5157 }
5158 postIndex := iNdEx + msglen
5159 if postIndex > l {
5160 return io.ErrUnexpectedEOF
5161 }
5162 m.MatchExpressions = append(m.MatchExpressions, LabelSelectorRequirement{})
5163 if err := m.MatchExpressions[len(m.MatchExpressions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5164 return err
5165 }
5166 iNdEx = postIndex
5167 default:
5168 iNdEx = preIndex
5169 skippy, err := skipGenerated(dAtA[iNdEx:])
5170 if err != nil {
5171 return err
5172 }
5173 if skippy < 0 {
5174 return ErrInvalidLengthGenerated
5175 }
5176 if (iNdEx + skippy) > l {
5177 return io.ErrUnexpectedEOF
5178 }
5179 iNdEx += skippy
5180 }
5181 }
5182
5183 if iNdEx > l {
5184 return io.ErrUnexpectedEOF
5185 }
5186 return nil
5187}
5188func (m *LabelSelectorRequirement) Unmarshal(dAtA []byte) error {
5189 l := len(dAtA)
5190 iNdEx := 0
5191 for iNdEx < l {
5192 preIndex := iNdEx
5193 var wire uint64
5194 for shift := uint(0); ; shift += 7 {
5195 if shift >= 64 {
5196 return ErrIntOverflowGenerated
5197 }
5198 if iNdEx >= l {
5199 return io.ErrUnexpectedEOF
5200 }
5201 b := dAtA[iNdEx]
5202 iNdEx++
5203 wire |= (uint64(b) & 0x7F) << shift
5204 if b < 0x80 {
5205 break
5206 }
5207 }
5208 fieldNum := int32(wire >> 3)
5209 wireType := int(wire & 0x7)
5210 if wireType == 4 {
5211 return fmt.Errorf("proto: LabelSelectorRequirement: wiretype end group for non-group")
5212 }
5213 if fieldNum <= 0 {
5214 return fmt.Errorf("proto: LabelSelectorRequirement: illegal tag %d (wire type %d)", fieldNum, wire)
5215 }
5216 switch fieldNum {
5217 case 1:
5218 if wireType != 2 {
5219 return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
5220 }
5221 var stringLen uint64
5222 for shift := uint(0); ; shift += 7 {
5223 if shift >= 64 {
5224 return ErrIntOverflowGenerated
5225 }
5226 if iNdEx >= l {
5227 return io.ErrUnexpectedEOF
5228 }
5229 b := dAtA[iNdEx]
5230 iNdEx++
5231 stringLen |= (uint64(b) & 0x7F) << shift
5232 if b < 0x80 {
5233 break
5234 }
5235 }
5236 intStringLen := int(stringLen)
5237 if intStringLen < 0 {
5238 return ErrInvalidLengthGenerated
5239 }
5240 postIndex := iNdEx + intStringLen
5241 if postIndex > l {
5242 return io.ErrUnexpectedEOF
5243 }
5244 m.Key = string(dAtA[iNdEx:postIndex])
5245 iNdEx = postIndex
5246 case 2:
5247 if wireType != 2 {
5248 return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType)
5249 }
5250 var stringLen uint64
5251 for shift := uint(0); ; shift += 7 {
5252 if shift >= 64 {
5253 return ErrIntOverflowGenerated
5254 }
5255 if iNdEx >= l {
5256 return io.ErrUnexpectedEOF
5257 }
5258 b := dAtA[iNdEx]
5259 iNdEx++
5260 stringLen |= (uint64(b) & 0x7F) << shift
5261 if b < 0x80 {
5262 break
5263 }
5264 }
5265 intStringLen := int(stringLen)
5266 if intStringLen < 0 {
5267 return ErrInvalidLengthGenerated
5268 }
5269 postIndex := iNdEx + intStringLen
5270 if postIndex > l {
5271 return io.ErrUnexpectedEOF
5272 }
5273 m.Operator = LabelSelectorOperator(dAtA[iNdEx:postIndex])
5274 iNdEx = postIndex
5275 case 3:
5276 if wireType != 2 {
5277 return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType)
5278 }
5279 var stringLen uint64
5280 for shift := uint(0); ; shift += 7 {
5281 if shift >= 64 {
5282 return ErrIntOverflowGenerated
5283 }
5284 if iNdEx >= l {
5285 return io.ErrUnexpectedEOF
5286 }
5287 b := dAtA[iNdEx]
5288 iNdEx++
5289 stringLen |= (uint64(b) & 0x7F) << shift
5290 if b < 0x80 {
5291 break
5292 }
5293 }
5294 intStringLen := int(stringLen)
5295 if intStringLen < 0 {
5296 return ErrInvalidLengthGenerated
5297 }
5298 postIndex := iNdEx + intStringLen
5299 if postIndex > l {
5300 return io.ErrUnexpectedEOF
5301 }
5302 m.Values = append(m.Values, string(dAtA[iNdEx:postIndex]))
5303 iNdEx = postIndex
5304 default:
5305 iNdEx = preIndex
5306 skippy, err := skipGenerated(dAtA[iNdEx:])
5307 if err != nil {
5308 return err
5309 }
5310 if skippy < 0 {
5311 return ErrInvalidLengthGenerated
5312 }
5313 if (iNdEx + skippy) > l {
5314 return io.ErrUnexpectedEOF
5315 }
5316 iNdEx += skippy
5317 }
5318 }
5319
5320 if iNdEx > l {
5321 return io.ErrUnexpectedEOF
5322 }
5323 return nil
5324}
5325func (m *List) Unmarshal(dAtA []byte) error {
5326 l := len(dAtA)
5327 iNdEx := 0
5328 for iNdEx < l {
5329 preIndex := iNdEx
5330 var wire uint64
5331 for shift := uint(0); ; shift += 7 {
5332 if shift >= 64 {
5333 return ErrIntOverflowGenerated
5334 }
5335 if iNdEx >= l {
5336 return io.ErrUnexpectedEOF
5337 }
5338 b := dAtA[iNdEx]
5339 iNdEx++
5340 wire |= (uint64(b) & 0x7F) << shift
5341 if b < 0x80 {
5342 break
5343 }
5344 }
5345 fieldNum := int32(wire >> 3)
5346 wireType := int(wire & 0x7)
5347 if wireType == 4 {
5348 return fmt.Errorf("proto: List: wiretype end group for non-group")
5349 }
5350 if fieldNum <= 0 {
5351 return fmt.Errorf("proto: List: illegal tag %d (wire type %d)", fieldNum, wire)
5352 }
5353 switch fieldNum {
5354 case 1:
5355 if wireType != 2 {
5356 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
5357 }
5358 var msglen int
5359 for shift := uint(0); ; shift += 7 {
5360 if shift >= 64 {
5361 return ErrIntOverflowGenerated
5362 }
5363 if iNdEx >= l {
5364 return io.ErrUnexpectedEOF
5365 }
5366 b := dAtA[iNdEx]
5367 iNdEx++
5368 msglen |= (int(b) & 0x7F) << shift
5369 if b < 0x80 {
5370 break
5371 }
5372 }
5373 if msglen < 0 {
5374 return ErrInvalidLengthGenerated
5375 }
5376 postIndex := iNdEx + msglen
5377 if postIndex > l {
5378 return io.ErrUnexpectedEOF
5379 }
5380 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5381 return err
5382 }
5383 iNdEx = postIndex
5384 case 2:
5385 if wireType != 2 {
5386 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
5387 }
5388 var msglen int
5389 for shift := uint(0); ; shift += 7 {
5390 if shift >= 64 {
5391 return ErrIntOverflowGenerated
5392 }
5393 if iNdEx >= l {
5394 return io.ErrUnexpectedEOF
5395 }
5396 b := dAtA[iNdEx]
5397 iNdEx++
5398 msglen |= (int(b) & 0x7F) << shift
5399 if b < 0x80 {
5400 break
5401 }
5402 }
5403 if msglen < 0 {
5404 return ErrInvalidLengthGenerated
5405 }
5406 postIndex := iNdEx + msglen
5407 if postIndex > l {
5408 return io.ErrUnexpectedEOF
5409 }
5410 m.Items = append(m.Items, k8s_io_apimachinery_pkg_runtime.RawExtension{})
5411 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
5412 return err
5413 }
5414 iNdEx = postIndex
5415 default:
5416 iNdEx = preIndex
5417 skippy, err := skipGenerated(dAtA[iNdEx:])
5418 if err != nil {
5419 return err
5420 }
5421 if skippy < 0 {
5422 return ErrInvalidLengthGenerated
5423 }
5424 if (iNdEx + skippy) > l {
5425 return io.ErrUnexpectedEOF
5426 }
5427 iNdEx += skippy
5428 }
5429 }
5430
5431 if iNdEx > l {
5432 return io.ErrUnexpectedEOF
5433 }
5434 return nil
5435}
5436func (m *ListMeta) Unmarshal(dAtA []byte) error {
5437 l := len(dAtA)
5438 iNdEx := 0
5439 for iNdEx < l {
5440 preIndex := iNdEx
5441 var wire uint64
5442 for shift := uint(0); ; shift += 7 {
5443 if shift >= 64 {
5444 return ErrIntOverflowGenerated
5445 }
5446 if iNdEx >= l {
5447 return io.ErrUnexpectedEOF
5448 }
5449 b := dAtA[iNdEx]
5450 iNdEx++
5451 wire |= (uint64(b) & 0x7F) << shift
5452 if b < 0x80 {
5453 break
5454 }
5455 }
5456 fieldNum := int32(wire >> 3)
5457 wireType := int(wire & 0x7)
5458 if wireType == 4 {
5459 return fmt.Errorf("proto: ListMeta: wiretype end group for non-group")
5460 }
5461 if fieldNum <= 0 {
5462 return fmt.Errorf("proto: ListMeta: illegal tag %d (wire type %d)", fieldNum, wire)
5463 }
5464 switch fieldNum {
5465 case 1:
5466 if wireType != 2 {
5467 return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType)
5468 }
5469 var stringLen uint64
5470 for shift := uint(0); ; shift += 7 {
5471 if shift >= 64 {
5472 return ErrIntOverflowGenerated
5473 }
5474 if iNdEx >= l {
5475 return io.ErrUnexpectedEOF
5476 }
5477 b := dAtA[iNdEx]
5478 iNdEx++
5479 stringLen |= (uint64(b) & 0x7F) << shift
5480 if b < 0x80 {
5481 break
5482 }
5483 }
5484 intStringLen := int(stringLen)
5485 if intStringLen < 0 {
5486 return ErrInvalidLengthGenerated
5487 }
5488 postIndex := iNdEx + intStringLen
5489 if postIndex > l {
5490 return io.ErrUnexpectedEOF
5491 }
5492 m.SelfLink = string(dAtA[iNdEx:postIndex])
5493 iNdEx = postIndex
5494 case 2:
5495 if wireType != 2 {
5496 return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
5497 }
5498 var stringLen uint64
5499 for shift := uint(0); ; shift += 7 {
5500 if shift >= 64 {
5501 return ErrIntOverflowGenerated
5502 }
5503 if iNdEx >= l {
5504 return io.ErrUnexpectedEOF
5505 }
5506 b := dAtA[iNdEx]
5507 iNdEx++
5508 stringLen |= (uint64(b) & 0x7F) << shift
5509 if b < 0x80 {
5510 break
5511 }
5512 }
5513 intStringLen := int(stringLen)
5514 if intStringLen < 0 {
5515 return ErrInvalidLengthGenerated
5516 }
5517 postIndex := iNdEx + intStringLen
5518 if postIndex > l {
5519 return io.ErrUnexpectedEOF
5520 }
5521 m.ResourceVersion = string(dAtA[iNdEx:postIndex])
5522 iNdEx = postIndex
5523 case 3:
5524 if wireType != 2 {
5525 return fmt.Errorf("proto: wrong wireType = %d for field Continue", wireType)
5526 }
5527 var stringLen uint64
5528 for shift := uint(0); ; shift += 7 {
5529 if shift >= 64 {
5530 return ErrIntOverflowGenerated
5531 }
5532 if iNdEx >= l {
5533 return io.ErrUnexpectedEOF
5534 }
5535 b := dAtA[iNdEx]
5536 iNdEx++
5537 stringLen |= (uint64(b) & 0x7F) << shift
5538 if b < 0x80 {
5539 break
5540 }
5541 }
5542 intStringLen := int(stringLen)
5543 if intStringLen < 0 {
5544 return ErrInvalidLengthGenerated
5545 }
5546 postIndex := iNdEx + intStringLen
5547 if postIndex > l {
5548 return io.ErrUnexpectedEOF
5549 }
5550 m.Continue = string(dAtA[iNdEx:postIndex])
5551 iNdEx = postIndex
5552 default:
5553 iNdEx = preIndex
5554 skippy, err := skipGenerated(dAtA[iNdEx:])
5555 if err != nil {
5556 return err
5557 }
5558 if skippy < 0 {
5559 return ErrInvalidLengthGenerated
5560 }
5561 if (iNdEx + skippy) > l {
5562 return io.ErrUnexpectedEOF
5563 }
5564 iNdEx += skippy
5565 }
5566 }
5567
5568 if iNdEx > l {
5569 return io.ErrUnexpectedEOF
5570 }
5571 return nil
5572}
5573func (m *ListOptions) Unmarshal(dAtA []byte) error {
5574 l := len(dAtA)
5575 iNdEx := 0
5576 for iNdEx < l {
5577 preIndex := iNdEx
5578 var wire uint64
5579 for shift := uint(0); ; shift += 7 {
5580 if shift >= 64 {
5581 return ErrIntOverflowGenerated
5582 }
5583 if iNdEx >= l {
5584 return io.ErrUnexpectedEOF
5585 }
5586 b := dAtA[iNdEx]
5587 iNdEx++
5588 wire |= (uint64(b) & 0x7F) << shift
5589 if b < 0x80 {
5590 break
5591 }
5592 }
5593 fieldNum := int32(wire >> 3)
5594 wireType := int(wire & 0x7)
5595 if wireType == 4 {
5596 return fmt.Errorf("proto: ListOptions: wiretype end group for non-group")
5597 }
5598 if fieldNum <= 0 {
5599 return fmt.Errorf("proto: ListOptions: illegal tag %d (wire type %d)", fieldNum, wire)
5600 }
5601 switch fieldNum {
5602 case 1:
5603 if wireType != 2 {
5604 return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", wireType)
5605 }
5606 var stringLen uint64
5607 for shift := uint(0); ; shift += 7 {
5608 if shift >= 64 {
5609 return ErrIntOverflowGenerated
5610 }
5611 if iNdEx >= l {
5612 return io.ErrUnexpectedEOF
5613 }
5614 b := dAtA[iNdEx]
5615 iNdEx++
5616 stringLen |= (uint64(b) & 0x7F) << shift
5617 if b < 0x80 {
5618 break
5619 }
5620 }
5621 intStringLen := int(stringLen)
5622 if intStringLen < 0 {
5623 return ErrInvalidLengthGenerated
5624 }
5625 postIndex := iNdEx + intStringLen
5626 if postIndex > l {
5627 return io.ErrUnexpectedEOF
5628 }
5629 m.LabelSelector = string(dAtA[iNdEx:postIndex])
5630 iNdEx = postIndex
5631 case 2:
5632 if wireType != 2 {
5633 return fmt.Errorf("proto: wrong wireType = %d for field FieldSelector", wireType)
5634 }
5635 var stringLen uint64
5636 for shift := uint(0); ; shift += 7 {
5637 if shift >= 64 {
5638 return ErrIntOverflowGenerated
5639 }
5640 if iNdEx >= l {
5641 return io.ErrUnexpectedEOF
5642 }
5643 b := dAtA[iNdEx]
5644 iNdEx++
5645 stringLen |= (uint64(b) & 0x7F) << shift
5646 if b < 0x80 {
5647 break
5648 }
5649 }
5650 intStringLen := int(stringLen)
5651 if intStringLen < 0 {
5652 return ErrInvalidLengthGenerated
5653 }
5654 postIndex := iNdEx + intStringLen
5655 if postIndex > l {
5656 return io.ErrUnexpectedEOF
5657 }
5658 m.FieldSelector = string(dAtA[iNdEx:postIndex])
5659 iNdEx = postIndex
5660 case 3:
5661 if wireType != 0 {
5662 return fmt.Errorf("proto: wrong wireType = %d for field Watch", wireType)
5663 }
5664 var v int
5665 for shift := uint(0); ; shift += 7 {
5666 if shift >= 64 {
5667 return ErrIntOverflowGenerated
5668 }
5669 if iNdEx >= l {
5670 return io.ErrUnexpectedEOF
5671 }
5672 b := dAtA[iNdEx]
5673 iNdEx++
5674 v |= (int(b) & 0x7F) << shift
5675 if b < 0x80 {
5676 break
5677 }
5678 }
5679 m.Watch = bool(v != 0)
5680 case 4:
5681 if wireType != 2 {
5682 return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
5683 }
5684 var stringLen uint64
5685 for shift := uint(0); ; shift += 7 {
5686 if shift >= 64 {
5687 return ErrIntOverflowGenerated
5688 }
5689 if iNdEx >= l {
5690 return io.ErrUnexpectedEOF
5691 }
5692 b := dAtA[iNdEx]
5693 iNdEx++
5694 stringLen |= (uint64(b) & 0x7F) << shift
5695 if b < 0x80 {
5696 break
5697 }
5698 }
5699 intStringLen := int(stringLen)
5700 if intStringLen < 0 {
5701 return ErrInvalidLengthGenerated
5702 }
5703 postIndex := iNdEx + intStringLen
5704 if postIndex > l {
5705 return io.ErrUnexpectedEOF
5706 }
5707 m.ResourceVersion = string(dAtA[iNdEx:postIndex])
5708 iNdEx = postIndex
5709 case 5:
5710 if wireType != 0 {
5711 return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType)
5712 }
5713 var v int64
5714 for shift := uint(0); ; shift += 7 {
5715 if shift >= 64 {
5716 return ErrIntOverflowGenerated
5717 }
5718 if iNdEx >= l {
5719 return io.ErrUnexpectedEOF
5720 }
5721 b := dAtA[iNdEx]
5722 iNdEx++
5723 v |= (int64(b) & 0x7F) << shift
5724 if b < 0x80 {
5725 break
5726 }
5727 }
5728 m.TimeoutSeconds = &v
5729 case 6:
5730 if wireType != 0 {
5731 return fmt.Errorf("proto: wrong wireType = %d for field IncludeUninitialized", wireType)
5732 }
5733 var v int
5734 for shift := uint(0); ; shift += 7 {
5735 if shift >= 64 {
5736 return ErrIntOverflowGenerated
5737 }
5738 if iNdEx >= l {
5739 return io.ErrUnexpectedEOF
5740 }
5741 b := dAtA[iNdEx]
5742 iNdEx++
5743 v |= (int(b) & 0x7F) << shift
5744 if b < 0x80 {
5745 break
5746 }
5747 }
5748 m.IncludeUninitialized = bool(v != 0)
5749 case 7:
5750 if wireType != 0 {
5751 return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType)
5752 }
5753 m.Limit = 0
5754 for shift := uint(0); ; shift += 7 {
5755 if shift >= 64 {
5756 return ErrIntOverflowGenerated
5757 }
5758 if iNdEx >= l {
5759 return io.ErrUnexpectedEOF
5760 }
5761 b := dAtA[iNdEx]
5762 iNdEx++
5763 m.Limit |= (int64(b) & 0x7F) << shift
5764 if b < 0x80 {
5765 break
5766 }
5767 }
5768 case 8:
5769 if wireType != 2 {
5770 return fmt.Errorf("proto: wrong wireType = %d for field Continue", wireType)
5771 }
5772 var stringLen uint64
5773 for shift := uint(0); ; shift += 7 {
5774 if shift >= 64 {
5775 return ErrIntOverflowGenerated
5776 }
5777 if iNdEx >= l {
5778 return io.ErrUnexpectedEOF
5779 }
5780 b := dAtA[iNdEx]
5781 iNdEx++
5782 stringLen |= (uint64(b) & 0x7F) << shift
5783 if b < 0x80 {
5784 break
5785 }
5786 }
5787 intStringLen := int(stringLen)
5788 if intStringLen < 0 {
5789 return ErrInvalidLengthGenerated
5790 }
5791 postIndex := iNdEx + intStringLen
5792 if postIndex > l {
5793 return io.ErrUnexpectedEOF
5794 }
5795 m.Continue = string(dAtA[iNdEx:postIndex])
5796 iNdEx = postIndex
5797 default:
5798 iNdEx = preIndex
5799 skippy, err := skipGenerated(dAtA[iNdEx:])
5800 if err != nil {
5801 return err
5802 }
5803 if skippy < 0 {
5804 return ErrInvalidLengthGenerated
5805 }
5806 if (iNdEx + skippy) > l {
5807 return io.ErrUnexpectedEOF
5808 }
5809 iNdEx += skippy
5810 }
5811 }
5812
5813 if iNdEx > l {
5814 return io.ErrUnexpectedEOF
5815 }
5816 return nil
5817}
5818func (m *ObjectMeta) Unmarshal(dAtA []byte) error {
5819 l := len(dAtA)
5820 iNdEx := 0
5821 for iNdEx < l {
5822 preIndex := iNdEx
5823 var wire uint64
5824 for shift := uint(0); ; shift += 7 {
5825 if shift >= 64 {
5826 return ErrIntOverflowGenerated
5827 }
5828 if iNdEx >= l {
5829 return io.ErrUnexpectedEOF
5830 }
5831 b := dAtA[iNdEx]
5832 iNdEx++
5833 wire |= (uint64(b) & 0x7F) << shift
5834 if b < 0x80 {
5835 break
5836 }
5837 }
5838 fieldNum := int32(wire >> 3)
5839 wireType := int(wire & 0x7)
5840 if wireType == 4 {
5841 return fmt.Errorf("proto: ObjectMeta: wiretype end group for non-group")
5842 }
5843 if fieldNum <= 0 {
5844 return fmt.Errorf("proto: ObjectMeta: illegal tag %d (wire type %d)", fieldNum, wire)
5845 }
5846 switch fieldNum {
5847 case 1:
5848 if wireType != 2 {
5849 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
5850 }
5851 var stringLen uint64
5852 for shift := uint(0); ; shift += 7 {
5853 if shift >= 64 {
5854 return ErrIntOverflowGenerated
5855 }
5856 if iNdEx >= l {
5857 return io.ErrUnexpectedEOF
5858 }
5859 b := dAtA[iNdEx]
5860 iNdEx++
5861 stringLen |= (uint64(b) & 0x7F) << shift
5862 if b < 0x80 {
5863 break
5864 }
5865 }
5866 intStringLen := int(stringLen)
5867 if intStringLen < 0 {
5868 return ErrInvalidLengthGenerated
5869 }
5870 postIndex := iNdEx + intStringLen
5871 if postIndex > l {
5872 return io.ErrUnexpectedEOF
5873 }
5874 m.Name = string(dAtA[iNdEx:postIndex])
5875 iNdEx = postIndex
5876 case 2:
5877 if wireType != 2 {
5878 return fmt.Errorf("proto: wrong wireType = %d for field GenerateName", wireType)
5879 }
5880 var stringLen uint64
5881 for shift := uint(0); ; shift += 7 {
5882 if shift >= 64 {
5883 return ErrIntOverflowGenerated
5884 }
5885 if iNdEx >= l {
5886 return io.ErrUnexpectedEOF
5887 }
5888 b := dAtA[iNdEx]
5889 iNdEx++
5890 stringLen |= (uint64(b) & 0x7F) << shift
5891 if b < 0x80 {
5892 break
5893 }
5894 }
5895 intStringLen := int(stringLen)
5896 if intStringLen < 0 {
5897 return ErrInvalidLengthGenerated
5898 }
5899 postIndex := iNdEx + intStringLen
5900 if postIndex > l {
5901 return io.ErrUnexpectedEOF
5902 }
5903 m.GenerateName = string(dAtA[iNdEx:postIndex])
5904 iNdEx = postIndex
5905 case 3:
5906 if wireType != 2 {
5907 return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
5908 }
5909 var stringLen uint64
5910 for shift := uint(0); ; shift += 7 {
5911 if shift >= 64 {
5912 return ErrIntOverflowGenerated
5913 }
5914 if iNdEx >= l {
5915 return io.ErrUnexpectedEOF
5916 }
5917 b := dAtA[iNdEx]
5918 iNdEx++
5919 stringLen |= (uint64(b) & 0x7F) << shift
5920 if b < 0x80 {
5921 break
5922 }
5923 }
5924 intStringLen := int(stringLen)
5925 if intStringLen < 0 {
5926 return ErrInvalidLengthGenerated
5927 }
5928 postIndex := iNdEx + intStringLen
5929 if postIndex > l {
5930 return io.ErrUnexpectedEOF
5931 }
5932 m.Namespace = string(dAtA[iNdEx:postIndex])
5933 iNdEx = postIndex
5934 case 4:
5935 if wireType != 2 {
5936 return fmt.Errorf("proto: wrong wireType = %d for field SelfLink", wireType)
5937 }
5938 var stringLen uint64
5939 for shift := uint(0); ; shift += 7 {
5940 if shift >= 64 {
5941 return ErrIntOverflowGenerated
5942 }
5943 if iNdEx >= l {
5944 return io.ErrUnexpectedEOF
5945 }
5946 b := dAtA[iNdEx]
5947 iNdEx++
5948 stringLen |= (uint64(b) & 0x7F) << shift
5949 if b < 0x80 {
5950 break
5951 }
5952 }
5953 intStringLen := int(stringLen)
5954 if intStringLen < 0 {
5955 return ErrInvalidLengthGenerated
5956 }
5957 postIndex := iNdEx + intStringLen
5958 if postIndex > l {
5959 return io.ErrUnexpectedEOF
5960 }
5961 m.SelfLink = string(dAtA[iNdEx:postIndex])
5962 iNdEx = postIndex
5963 case 5:
5964 if wireType != 2 {
5965 return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
5966 }
5967 var stringLen uint64
5968 for shift := uint(0); ; shift += 7 {
5969 if shift >= 64 {
5970 return ErrIntOverflowGenerated
5971 }
5972 if iNdEx >= l {
5973 return io.ErrUnexpectedEOF
5974 }
5975 b := dAtA[iNdEx]
5976 iNdEx++
5977 stringLen |= (uint64(b) & 0x7F) << shift
5978 if b < 0x80 {
5979 break
5980 }
5981 }
5982 intStringLen := int(stringLen)
5983 if intStringLen < 0 {
5984 return ErrInvalidLengthGenerated
5985 }
5986 postIndex := iNdEx + intStringLen
5987 if postIndex > l {
5988 return io.ErrUnexpectedEOF
5989 }
5990 m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
5991 iNdEx = postIndex
5992 case 6:
5993 if wireType != 2 {
5994 return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
5995 }
5996 var stringLen uint64
5997 for shift := uint(0); ; shift += 7 {
5998 if shift >= 64 {
5999 return ErrIntOverflowGenerated
6000 }
6001 if iNdEx >= l {
6002 return io.ErrUnexpectedEOF
6003 }
6004 b := dAtA[iNdEx]
6005 iNdEx++
6006 stringLen |= (uint64(b) & 0x7F) << shift
6007 if b < 0x80 {
6008 break
6009 }
6010 }
6011 intStringLen := int(stringLen)
6012 if intStringLen < 0 {
6013 return ErrInvalidLengthGenerated
6014 }
6015 postIndex := iNdEx + intStringLen
6016 if postIndex > l {
6017 return io.ErrUnexpectedEOF
6018 }
6019 m.ResourceVersion = string(dAtA[iNdEx:postIndex])
6020 iNdEx = postIndex
6021 case 7:
6022 if wireType != 0 {
6023 return fmt.Errorf("proto: wrong wireType = %d for field Generation", wireType)
6024 }
6025 m.Generation = 0
6026 for shift := uint(0); ; shift += 7 {
6027 if shift >= 64 {
6028 return ErrIntOverflowGenerated
6029 }
6030 if iNdEx >= l {
6031 return io.ErrUnexpectedEOF
6032 }
6033 b := dAtA[iNdEx]
6034 iNdEx++
6035 m.Generation |= (int64(b) & 0x7F) << shift
6036 if b < 0x80 {
6037 break
6038 }
6039 }
6040 case 8:
6041 if wireType != 2 {
6042 return fmt.Errorf("proto: wrong wireType = %d for field CreationTimestamp", wireType)
6043 }
6044 var msglen int
6045 for shift := uint(0); ; shift += 7 {
6046 if shift >= 64 {
6047 return ErrIntOverflowGenerated
6048 }
6049 if iNdEx >= l {
6050 return io.ErrUnexpectedEOF
6051 }
6052 b := dAtA[iNdEx]
6053 iNdEx++
6054 msglen |= (int(b) & 0x7F) << shift
6055 if b < 0x80 {
6056 break
6057 }
6058 }
6059 if msglen < 0 {
6060 return ErrInvalidLengthGenerated
6061 }
6062 postIndex := iNdEx + msglen
6063 if postIndex > l {
6064 return io.ErrUnexpectedEOF
6065 }
6066 if err := m.CreationTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6067 return err
6068 }
6069 iNdEx = postIndex
6070 case 9:
6071 if wireType != 2 {
6072 return fmt.Errorf("proto: wrong wireType = %d for field DeletionTimestamp", wireType)
6073 }
6074 var msglen int
6075 for shift := uint(0); ; shift += 7 {
6076 if shift >= 64 {
6077 return ErrIntOverflowGenerated
6078 }
6079 if iNdEx >= l {
6080 return io.ErrUnexpectedEOF
6081 }
6082 b := dAtA[iNdEx]
6083 iNdEx++
6084 msglen |= (int(b) & 0x7F) << shift
6085 if b < 0x80 {
6086 break
6087 }
6088 }
6089 if msglen < 0 {
6090 return ErrInvalidLengthGenerated
6091 }
6092 postIndex := iNdEx + msglen
6093 if postIndex > l {
6094 return io.ErrUnexpectedEOF
6095 }
6096 if m.DeletionTimestamp == nil {
6097 m.DeletionTimestamp = &Time{}
6098 }
6099 if err := m.DeletionTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6100 return err
6101 }
6102 iNdEx = postIndex
6103 case 10:
6104 if wireType != 0 {
6105 return fmt.Errorf("proto: wrong wireType = %d for field DeletionGracePeriodSeconds", wireType)
6106 }
6107 var v int64
6108 for shift := uint(0); ; shift += 7 {
6109 if shift >= 64 {
6110 return ErrIntOverflowGenerated
6111 }
6112 if iNdEx >= l {
6113 return io.ErrUnexpectedEOF
6114 }
6115 b := dAtA[iNdEx]
6116 iNdEx++
6117 v |= (int64(b) & 0x7F) << shift
6118 if b < 0x80 {
6119 break
6120 }
6121 }
6122 m.DeletionGracePeriodSeconds = &v
6123 case 11:
6124 if wireType != 2 {
6125 return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
6126 }
6127 var msglen int
6128 for shift := uint(0); ; shift += 7 {
6129 if shift >= 64 {
6130 return ErrIntOverflowGenerated
6131 }
6132 if iNdEx >= l {
6133 return io.ErrUnexpectedEOF
6134 }
6135 b := dAtA[iNdEx]
6136 iNdEx++
6137 msglen |= (int(b) & 0x7F) << shift
6138 if b < 0x80 {
6139 break
6140 }
6141 }
6142 if msglen < 0 {
6143 return ErrInvalidLengthGenerated
6144 }
6145 postIndex := iNdEx + msglen
6146 if postIndex > l {
6147 return io.ErrUnexpectedEOF
6148 }
6149 var keykey uint64
6150 for shift := uint(0); ; shift += 7 {
6151 if shift >= 64 {
6152 return ErrIntOverflowGenerated
6153 }
6154 if iNdEx >= l {
6155 return io.ErrUnexpectedEOF
6156 }
6157 b := dAtA[iNdEx]
6158 iNdEx++
6159 keykey |= (uint64(b) & 0x7F) << shift
6160 if b < 0x80 {
6161 break
6162 }
6163 }
6164 var stringLenmapkey uint64
6165 for shift := uint(0); ; shift += 7 {
6166 if shift >= 64 {
6167 return ErrIntOverflowGenerated
6168 }
6169 if iNdEx >= l {
6170 return io.ErrUnexpectedEOF
6171 }
6172 b := dAtA[iNdEx]
6173 iNdEx++
6174 stringLenmapkey |= (uint64(b) & 0x7F) << shift
6175 if b < 0x80 {
6176 break
6177 }
6178 }
6179 intStringLenmapkey := int(stringLenmapkey)
6180 if intStringLenmapkey < 0 {
6181 return ErrInvalidLengthGenerated
6182 }
6183 postStringIndexmapkey := iNdEx + intStringLenmapkey
6184 if postStringIndexmapkey > l {
6185 return io.ErrUnexpectedEOF
6186 }
6187 mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
6188 iNdEx = postStringIndexmapkey
6189 if m.Labels == nil {
6190 m.Labels = make(map[string]string)
6191 }
6192 if iNdEx < postIndex {
6193 var valuekey uint64
6194 for shift := uint(0); ; shift += 7 {
6195 if shift >= 64 {
6196 return ErrIntOverflowGenerated
6197 }
6198 if iNdEx >= l {
6199 return io.ErrUnexpectedEOF
6200 }
6201 b := dAtA[iNdEx]
6202 iNdEx++
6203 valuekey |= (uint64(b) & 0x7F) << shift
6204 if b < 0x80 {
6205 break
6206 }
6207 }
6208 var stringLenmapvalue uint64
6209 for shift := uint(0); ; shift += 7 {
6210 if shift >= 64 {
6211 return ErrIntOverflowGenerated
6212 }
6213 if iNdEx >= l {
6214 return io.ErrUnexpectedEOF
6215 }
6216 b := dAtA[iNdEx]
6217 iNdEx++
6218 stringLenmapvalue |= (uint64(b) & 0x7F) << shift
6219 if b < 0x80 {
6220 break
6221 }
6222 }
6223 intStringLenmapvalue := int(stringLenmapvalue)
6224 if intStringLenmapvalue < 0 {
6225 return ErrInvalidLengthGenerated
6226 }
6227 postStringIndexmapvalue := iNdEx + intStringLenmapvalue
6228 if postStringIndexmapvalue > l {
6229 return io.ErrUnexpectedEOF
6230 }
6231 mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
6232 iNdEx = postStringIndexmapvalue
6233 m.Labels[mapkey] = mapvalue
6234 } else {
6235 var mapvalue string
6236 m.Labels[mapkey] = mapvalue
6237 }
6238 iNdEx = postIndex
6239 case 12:
6240 if wireType != 2 {
6241 return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType)
6242 }
6243 var msglen int
6244 for shift := uint(0); ; shift += 7 {
6245 if shift >= 64 {
6246 return ErrIntOverflowGenerated
6247 }
6248 if iNdEx >= l {
6249 return io.ErrUnexpectedEOF
6250 }
6251 b := dAtA[iNdEx]
6252 iNdEx++
6253 msglen |= (int(b) & 0x7F) << shift
6254 if b < 0x80 {
6255 break
6256 }
6257 }
6258 if msglen < 0 {
6259 return ErrInvalidLengthGenerated
6260 }
6261 postIndex := iNdEx + msglen
6262 if postIndex > l {
6263 return io.ErrUnexpectedEOF
6264 }
6265 var keykey uint64
6266 for shift := uint(0); ; shift += 7 {
6267 if shift >= 64 {
6268 return ErrIntOverflowGenerated
6269 }
6270 if iNdEx >= l {
6271 return io.ErrUnexpectedEOF
6272 }
6273 b := dAtA[iNdEx]
6274 iNdEx++
6275 keykey |= (uint64(b) & 0x7F) << shift
6276 if b < 0x80 {
6277 break
6278 }
6279 }
6280 var stringLenmapkey uint64
6281 for shift := uint(0); ; shift += 7 {
6282 if shift >= 64 {
6283 return ErrIntOverflowGenerated
6284 }
6285 if iNdEx >= l {
6286 return io.ErrUnexpectedEOF
6287 }
6288 b := dAtA[iNdEx]
6289 iNdEx++
6290 stringLenmapkey |= (uint64(b) & 0x7F) << shift
6291 if b < 0x80 {
6292 break
6293 }
6294 }
6295 intStringLenmapkey := int(stringLenmapkey)
6296 if intStringLenmapkey < 0 {
6297 return ErrInvalidLengthGenerated
6298 }
6299 postStringIndexmapkey := iNdEx + intStringLenmapkey
6300 if postStringIndexmapkey > l {
6301 return io.ErrUnexpectedEOF
6302 }
6303 mapkey := string(dAtA[iNdEx:postStringIndexmapkey])
6304 iNdEx = postStringIndexmapkey
6305 if m.Annotations == nil {
6306 m.Annotations = make(map[string]string)
6307 }
6308 if iNdEx < postIndex {
6309 var valuekey uint64
6310 for shift := uint(0); ; shift += 7 {
6311 if shift >= 64 {
6312 return ErrIntOverflowGenerated
6313 }
6314 if iNdEx >= l {
6315 return io.ErrUnexpectedEOF
6316 }
6317 b := dAtA[iNdEx]
6318 iNdEx++
6319 valuekey |= (uint64(b) & 0x7F) << shift
6320 if b < 0x80 {
6321 break
6322 }
6323 }
6324 var stringLenmapvalue uint64
6325 for shift := uint(0); ; shift += 7 {
6326 if shift >= 64 {
6327 return ErrIntOverflowGenerated
6328 }
6329 if iNdEx >= l {
6330 return io.ErrUnexpectedEOF
6331 }
6332 b := dAtA[iNdEx]
6333 iNdEx++
6334 stringLenmapvalue |= (uint64(b) & 0x7F) << shift
6335 if b < 0x80 {
6336 break
6337 }
6338 }
6339 intStringLenmapvalue := int(stringLenmapvalue)
6340 if intStringLenmapvalue < 0 {
6341 return ErrInvalidLengthGenerated
6342 }
6343 postStringIndexmapvalue := iNdEx + intStringLenmapvalue
6344 if postStringIndexmapvalue > l {
6345 return io.ErrUnexpectedEOF
6346 }
6347 mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue])
6348 iNdEx = postStringIndexmapvalue
6349 m.Annotations[mapkey] = mapvalue
6350 } else {
6351 var mapvalue string
6352 m.Annotations[mapkey] = mapvalue
6353 }
6354 iNdEx = postIndex
6355 case 13:
6356 if wireType != 2 {
6357 return fmt.Errorf("proto: wrong wireType = %d for field OwnerReferences", wireType)
6358 }
6359 var msglen int
6360 for shift := uint(0); ; shift += 7 {
6361 if shift >= 64 {
6362 return ErrIntOverflowGenerated
6363 }
6364 if iNdEx >= l {
6365 return io.ErrUnexpectedEOF
6366 }
6367 b := dAtA[iNdEx]
6368 iNdEx++
6369 msglen |= (int(b) & 0x7F) << shift
6370 if b < 0x80 {
6371 break
6372 }
6373 }
6374 if msglen < 0 {
6375 return ErrInvalidLengthGenerated
6376 }
6377 postIndex := iNdEx + msglen
6378 if postIndex > l {
6379 return io.ErrUnexpectedEOF
6380 }
6381 m.OwnerReferences = append(m.OwnerReferences, OwnerReference{})
6382 if err := m.OwnerReferences[len(m.OwnerReferences)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6383 return err
6384 }
6385 iNdEx = postIndex
6386 case 14:
6387 if wireType != 2 {
6388 return fmt.Errorf("proto: wrong wireType = %d for field Finalizers", wireType)
6389 }
6390 var stringLen uint64
6391 for shift := uint(0); ; shift += 7 {
6392 if shift >= 64 {
6393 return ErrIntOverflowGenerated
6394 }
6395 if iNdEx >= l {
6396 return io.ErrUnexpectedEOF
6397 }
6398 b := dAtA[iNdEx]
6399 iNdEx++
6400 stringLen |= (uint64(b) & 0x7F) << shift
6401 if b < 0x80 {
6402 break
6403 }
6404 }
6405 intStringLen := int(stringLen)
6406 if intStringLen < 0 {
6407 return ErrInvalidLengthGenerated
6408 }
6409 postIndex := iNdEx + intStringLen
6410 if postIndex > l {
6411 return io.ErrUnexpectedEOF
6412 }
6413 m.Finalizers = append(m.Finalizers, string(dAtA[iNdEx:postIndex]))
6414 iNdEx = postIndex
6415 case 15:
6416 if wireType != 2 {
6417 return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType)
6418 }
6419 var stringLen uint64
6420 for shift := uint(0); ; shift += 7 {
6421 if shift >= 64 {
6422 return ErrIntOverflowGenerated
6423 }
6424 if iNdEx >= l {
6425 return io.ErrUnexpectedEOF
6426 }
6427 b := dAtA[iNdEx]
6428 iNdEx++
6429 stringLen |= (uint64(b) & 0x7F) << shift
6430 if b < 0x80 {
6431 break
6432 }
6433 }
6434 intStringLen := int(stringLen)
6435 if intStringLen < 0 {
6436 return ErrInvalidLengthGenerated
6437 }
6438 postIndex := iNdEx + intStringLen
6439 if postIndex > l {
6440 return io.ErrUnexpectedEOF
6441 }
6442 m.ClusterName = string(dAtA[iNdEx:postIndex])
6443 iNdEx = postIndex
6444 case 16:
6445 if wireType != 2 {
6446 return fmt.Errorf("proto: wrong wireType = %d for field Initializers", wireType)
6447 }
6448 var msglen int
6449 for shift := uint(0); ; shift += 7 {
6450 if shift >= 64 {
6451 return ErrIntOverflowGenerated
6452 }
6453 if iNdEx >= l {
6454 return io.ErrUnexpectedEOF
6455 }
6456 b := dAtA[iNdEx]
6457 iNdEx++
6458 msglen |= (int(b) & 0x7F) << shift
6459 if b < 0x80 {
6460 break
6461 }
6462 }
6463 if msglen < 0 {
6464 return ErrInvalidLengthGenerated
6465 }
6466 postIndex := iNdEx + msglen
6467 if postIndex > l {
6468 return io.ErrUnexpectedEOF
6469 }
6470 if m.Initializers == nil {
6471 m.Initializers = &Initializers{}
6472 }
6473 if err := m.Initializers.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
6474 return err
6475 }
6476 iNdEx = postIndex
6477 default:
6478 iNdEx = preIndex
6479 skippy, err := skipGenerated(dAtA[iNdEx:])
6480 if err != nil {
6481 return err
6482 }
6483 if skippy < 0 {
6484 return ErrInvalidLengthGenerated
6485 }
6486 if (iNdEx + skippy) > l {
6487 return io.ErrUnexpectedEOF
6488 }
6489 iNdEx += skippy
6490 }
6491 }
6492
6493 if iNdEx > l {
6494 return io.ErrUnexpectedEOF
6495 }
6496 return nil
6497}
6498func (m *OwnerReference) Unmarshal(dAtA []byte) error {
6499 l := len(dAtA)
6500 iNdEx := 0
6501 for iNdEx < l {
6502 preIndex := iNdEx
6503 var wire uint64
6504 for shift := uint(0); ; shift += 7 {
6505 if shift >= 64 {
6506 return ErrIntOverflowGenerated
6507 }
6508 if iNdEx >= l {
6509 return io.ErrUnexpectedEOF
6510 }
6511 b := dAtA[iNdEx]
6512 iNdEx++
6513 wire |= (uint64(b) & 0x7F) << shift
6514 if b < 0x80 {
6515 break
6516 }
6517 }
6518 fieldNum := int32(wire >> 3)
6519 wireType := int(wire & 0x7)
6520 if wireType == 4 {
6521 return fmt.Errorf("proto: OwnerReference: wiretype end group for non-group")
6522 }
6523 if fieldNum <= 0 {
6524 return fmt.Errorf("proto: OwnerReference: illegal tag %d (wire type %d)", fieldNum, wire)
6525 }
6526 switch fieldNum {
6527 case 1:
6528 if wireType != 2 {
6529 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
6530 }
6531 var stringLen uint64
6532 for shift := uint(0); ; shift += 7 {
6533 if shift >= 64 {
6534 return ErrIntOverflowGenerated
6535 }
6536 if iNdEx >= l {
6537 return io.ErrUnexpectedEOF
6538 }
6539 b := dAtA[iNdEx]
6540 iNdEx++
6541 stringLen |= (uint64(b) & 0x7F) << shift
6542 if b < 0x80 {
6543 break
6544 }
6545 }
6546 intStringLen := int(stringLen)
6547 if intStringLen < 0 {
6548 return ErrInvalidLengthGenerated
6549 }
6550 postIndex := iNdEx + intStringLen
6551 if postIndex > l {
6552 return io.ErrUnexpectedEOF
6553 }
6554 m.Kind = string(dAtA[iNdEx:postIndex])
6555 iNdEx = postIndex
6556 case 3:
6557 if wireType != 2 {
6558 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
6559 }
6560 var stringLen uint64
6561 for shift := uint(0); ; shift += 7 {
6562 if shift >= 64 {
6563 return ErrIntOverflowGenerated
6564 }
6565 if iNdEx >= l {
6566 return io.ErrUnexpectedEOF
6567 }
6568 b := dAtA[iNdEx]
6569 iNdEx++
6570 stringLen |= (uint64(b) & 0x7F) << shift
6571 if b < 0x80 {
6572 break
6573 }
6574 }
6575 intStringLen := int(stringLen)
6576 if intStringLen < 0 {
6577 return ErrInvalidLengthGenerated
6578 }
6579 postIndex := iNdEx + intStringLen
6580 if postIndex > l {
6581 return io.ErrUnexpectedEOF
6582 }
6583 m.Name = string(dAtA[iNdEx:postIndex])
6584 iNdEx = postIndex
6585 case 4:
6586 if wireType != 2 {
6587 return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
6588 }
6589 var stringLen uint64
6590 for shift := uint(0); ; shift += 7 {
6591 if shift >= 64 {
6592 return ErrIntOverflowGenerated
6593 }
6594 if iNdEx >= l {
6595 return io.ErrUnexpectedEOF
6596 }
6597 b := dAtA[iNdEx]
6598 iNdEx++
6599 stringLen |= (uint64(b) & 0x7F) << shift
6600 if b < 0x80 {
6601 break
6602 }
6603 }
6604 intStringLen := int(stringLen)
6605 if intStringLen < 0 {
6606 return ErrInvalidLengthGenerated
6607 }
6608 postIndex := iNdEx + intStringLen
6609 if postIndex > l {
6610 return io.ErrUnexpectedEOF
6611 }
6612 m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
6613 iNdEx = postIndex
6614 case 5:
6615 if wireType != 2 {
6616 return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
6617 }
6618 var stringLen uint64
6619 for shift := uint(0); ; shift += 7 {
6620 if shift >= 64 {
6621 return ErrIntOverflowGenerated
6622 }
6623 if iNdEx >= l {
6624 return io.ErrUnexpectedEOF
6625 }
6626 b := dAtA[iNdEx]
6627 iNdEx++
6628 stringLen |= (uint64(b) & 0x7F) << shift
6629 if b < 0x80 {
6630 break
6631 }
6632 }
6633 intStringLen := int(stringLen)
6634 if intStringLen < 0 {
6635 return ErrInvalidLengthGenerated
6636 }
6637 postIndex := iNdEx + intStringLen
6638 if postIndex > l {
6639 return io.ErrUnexpectedEOF
6640 }
6641 m.APIVersion = string(dAtA[iNdEx:postIndex])
6642 iNdEx = postIndex
6643 case 6:
6644 if wireType != 0 {
6645 return fmt.Errorf("proto: wrong wireType = %d for field Controller", wireType)
6646 }
6647 var v int
6648 for shift := uint(0); ; shift += 7 {
6649 if shift >= 64 {
6650 return ErrIntOverflowGenerated
6651 }
6652 if iNdEx >= l {
6653 return io.ErrUnexpectedEOF
6654 }
6655 b := dAtA[iNdEx]
6656 iNdEx++
6657 v |= (int(b) & 0x7F) << shift
6658 if b < 0x80 {
6659 break
6660 }
6661 }
6662 b := bool(v != 0)
6663 m.Controller = &b
6664 case 7:
6665 if wireType != 0 {
6666 return fmt.Errorf("proto: wrong wireType = %d for field BlockOwnerDeletion", wireType)
6667 }
6668 var v int
6669 for shift := uint(0); ; shift += 7 {
6670 if shift >= 64 {
6671 return ErrIntOverflowGenerated
6672 }
6673 if iNdEx >= l {
6674 return io.ErrUnexpectedEOF
6675 }
6676 b := dAtA[iNdEx]
6677 iNdEx++
6678 v |= (int(b) & 0x7F) << shift
6679 if b < 0x80 {
6680 break
6681 }
6682 }
6683 b := bool(v != 0)
6684 m.BlockOwnerDeletion = &b
6685 default:
6686 iNdEx = preIndex
6687 skippy, err := skipGenerated(dAtA[iNdEx:])
6688 if err != nil {
6689 return err
6690 }
6691 if skippy < 0 {
6692 return ErrInvalidLengthGenerated
6693 }
6694 if (iNdEx + skippy) > l {
6695 return io.ErrUnexpectedEOF
6696 }
6697 iNdEx += skippy
6698 }
6699 }
6700
6701 if iNdEx > l {
6702 return io.ErrUnexpectedEOF
6703 }
6704 return nil
6705}
6706func (m *Patch) Unmarshal(dAtA []byte) error {
6707 l := len(dAtA)
6708 iNdEx := 0
6709 for iNdEx < l {
6710 preIndex := iNdEx
6711 var wire uint64
6712 for shift := uint(0); ; shift += 7 {
6713 if shift >= 64 {
6714 return ErrIntOverflowGenerated
6715 }
6716 if iNdEx >= l {
6717 return io.ErrUnexpectedEOF
6718 }
6719 b := dAtA[iNdEx]
6720 iNdEx++
6721 wire |= (uint64(b) & 0x7F) << shift
6722 if b < 0x80 {
6723 break
6724 }
6725 }
6726 fieldNum := int32(wire >> 3)
6727 wireType := int(wire & 0x7)
6728 if wireType == 4 {
6729 return fmt.Errorf("proto: Patch: wiretype end group for non-group")
6730 }
6731 if fieldNum <= 0 {
6732 return fmt.Errorf("proto: Patch: illegal tag %d (wire type %d)", fieldNum, wire)
6733 }
6734 switch fieldNum {
6735 default:
6736 iNdEx = preIndex
6737 skippy, err := skipGenerated(dAtA[iNdEx:])
6738 if err != nil {
6739 return err
6740 }
6741 if skippy < 0 {
6742 return ErrInvalidLengthGenerated
6743 }
6744 if (iNdEx + skippy) > l {
6745 return io.ErrUnexpectedEOF
6746 }
6747 iNdEx += skippy
6748 }
6749 }
6750
6751 if iNdEx > l {
6752 return io.ErrUnexpectedEOF
6753 }
6754 return nil
6755}
6756func (m *Preconditions) Unmarshal(dAtA []byte) error {
6757 l := len(dAtA)
6758 iNdEx := 0
6759 for iNdEx < l {
6760 preIndex := iNdEx
6761 var wire uint64
6762 for shift := uint(0); ; shift += 7 {
6763 if shift >= 64 {
6764 return ErrIntOverflowGenerated
6765 }
6766 if iNdEx >= l {
6767 return io.ErrUnexpectedEOF
6768 }
6769 b := dAtA[iNdEx]
6770 iNdEx++
6771 wire |= (uint64(b) & 0x7F) << shift
6772 if b < 0x80 {
6773 break
6774 }
6775 }
6776 fieldNum := int32(wire >> 3)
6777 wireType := int(wire & 0x7)
6778 if wireType == 4 {
6779 return fmt.Errorf("proto: Preconditions: wiretype end group for non-group")
6780 }
6781 if fieldNum <= 0 {
6782 return fmt.Errorf("proto: Preconditions: illegal tag %d (wire type %d)", fieldNum, wire)
6783 }
6784 switch fieldNum {
6785 case 1:
6786 if wireType != 2 {
6787 return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
6788 }
6789 var stringLen uint64
6790 for shift := uint(0); ; shift += 7 {
6791 if shift >= 64 {
6792 return ErrIntOverflowGenerated
6793 }
6794 if iNdEx >= l {
6795 return io.ErrUnexpectedEOF
6796 }
6797 b := dAtA[iNdEx]
6798 iNdEx++
6799 stringLen |= (uint64(b) & 0x7F) << shift
6800 if b < 0x80 {
6801 break
6802 }
6803 }
6804 intStringLen := int(stringLen)
6805 if intStringLen < 0 {
6806 return ErrInvalidLengthGenerated
6807 }
6808 postIndex := iNdEx + intStringLen
6809 if postIndex > l {
6810 return io.ErrUnexpectedEOF
6811 }
6812 s := k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
6813 m.UID = &s
6814 iNdEx = postIndex
6815 default:
6816 iNdEx = preIndex
6817 skippy, err := skipGenerated(dAtA[iNdEx:])
6818 if err != nil {
6819 return err
6820 }
6821 if skippy < 0 {
6822 return ErrInvalidLengthGenerated
6823 }
6824 if (iNdEx + skippy) > l {
6825 return io.ErrUnexpectedEOF
6826 }
6827 iNdEx += skippy
6828 }
6829 }
6830
6831 if iNdEx > l {
6832 return io.ErrUnexpectedEOF
6833 }
6834 return nil
6835}
6836func (m *RootPaths) Unmarshal(dAtA []byte) error {
6837 l := len(dAtA)
6838 iNdEx := 0
6839 for iNdEx < l {
6840 preIndex := iNdEx
6841 var wire uint64
6842 for shift := uint(0); ; shift += 7 {
6843 if shift >= 64 {
6844 return ErrIntOverflowGenerated
6845 }
6846 if iNdEx >= l {
6847 return io.ErrUnexpectedEOF
6848 }
6849 b := dAtA[iNdEx]
6850 iNdEx++
6851 wire |= (uint64(b) & 0x7F) << shift
6852 if b < 0x80 {
6853 break
6854 }
6855 }
6856 fieldNum := int32(wire >> 3)
6857 wireType := int(wire & 0x7)
6858 if wireType == 4 {
6859 return fmt.Errorf("proto: RootPaths: wiretype end group for non-group")
6860 }
6861 if fieldNum <= 0 {
6862 return fmt.Errorf("proto: RootPaths: illegal tag %d (wire type %d)", fieldNum, wire)
6863 }
6864 switch fieldNum {
6865 case 1:
6866 if wireType != 2 {
6867 return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType)
6868 }
6869 var stringLen uint64
6870 for shift := uint(0); ; shift += 7 {
6871 if shift >= 64 {
6872 return ErrIntOverflowGenerated
6873 }
6874 if iNdEx >= l {
6875 return io.ErrUnexpectedEOF
6876 }
6877 b := dAtA[iNdEx]
6878 iNdEx++
6879 stringLen |= (uint64(b) & 0x7F) << shift
6880 if b < 0x80 {
6881 break
6882 }
6883 }
6884 intStringLen := int(stringLen)
6885 if intStringLen < 0 {
6886 return ErrInvalidLengthGenerated
6887 }
6888 postIndex := iNdEx + intStringLen
6889 if postIndex > l {
6890 return io.ErrUnexpectedEOF
6891 }
6892 m.Paths = append(m.Paths, string(dAtA[iNdEx:postIndex]))
6893 iNdEx = postIndex
6894 default:
6895 iNdEx = preIndex
6896 skippy, err := skipGenerated(dAtA[iNdEx:])
6897 if err != nil {
6898 return err
6899 }
6900 if skippy < 0 {
6901 return ErrInvalidLengthGenerated
6902 }
6903 if (iNdEx + skippy) > l {
6904 return io.ErrUnexpectedEOF
6905 }
6906 iNdEx += skippy
6907 }
6908 }
6909
6910 if iNdEx > l {
6911 return io.ErrUnexpectedEOF
6912 }
6913 return nil
6914}
6915func (m *ServerAddressByClientCIDR) Unmarshal(dAtA []byte) error {
6916 l := len(dAtA)
6917 iNdEx := 0
6918 for iNdEx < l {
6919 preIndex := iNdEx
6920 var wire uint64
6921 for shift := uint(0); ; shift += 7 {
6922 if shift >= 64 {
6923 return ErrIntOverflowGenerated
6924 }
6925 if iNdEx >= l {
6926 return io.ErrUnexpectedEOF
6927 }
6928 b := dAtA[iNdEx]
6929 iNdEx++
6930 wire |= (uint64(b) & 0x7F) << shift
6931 if b < 0x80 {
6932 break
6933 }
6934 }
6935 fieldNum := int32(wire >> 3)
6936 wireType := int(wire & 0x7)
6937 if wireType == 4 {
6938 return fmt.Errorf("proto: ServerAddressByClientCIDR: wiretype end group for non-group")
6939 }
6940 if fieldNum <= 0 {
6941 return fmt.Errorf("proto: ServerAddressByClientCIDR: illegal tag %d (wire type %d)", fieldNum, wire)
6942 }
6943 switch fieldNum {
6944 case 1:
6945 if wireType != 2 {
6946 return fmt.Errorf("proto: wrong wireType = %d for field ClientCIDR", wireType)
6947 }
6948 var stringLen uint64
6949 for shift := uint(0); ; shift += 7 {
6950 if shift >= 64 {
6951 return ErrIntOverflowGenerated
6952 }
6953 if iNdEx >= l {
6954 return io.ErrUnexpectedEOF
6955 }
6956 b := dAtA[iNdEx]
6957 iNdEx++
6958 stringLen |= (uint64(b) & 0x7F) << shift
6959 if b < 0x80 {
6960 break
6961 }
6962 }
6963 intStringLen := int(stringLen)
6964 if intStringLen < 0 {
6965 return ErrInvalidLengthGenerated
6966 }
6967 postIndex := iNdEx + intStringLen
6968 if postIndex > l {
6969 return io.ErrUnexpectedEOF
6970 }
6971 m.ClientCIDR = string(dAtA[iNdEx:postIndex])
6972 iNdEx = postIndex
6973 case 2:
6974 if wireType != 2 {
6975 return fmt.Errorf("proto: wrong wireType = %d for field ServerAddress", wireType)
6976 }
6977 var stringLen uint64
6978 for shift := uint(0); ; shift += 7 {
6979 if shift >= 64 {
6980 return ErrIntOverflowGenerated
6981 }
6982 if iNdEx >= l {
6983 return io.ErrUnexpectedEOF
6984 }
6985 b := dAtA[iNdEx]
6986 iNdEx++
6987 stringLen |= (uint64(b) & 0x7F) << shift
6988 if b < 0x80 {
6989 break
6990 }
6991 }
6992 intStringLen := int(stringLen)
6993 if intStringLen < 0 {
6994 return ErrInvalidLengthGenerated
6995 }
6996 postIndex := iNdEx + intStringLen
6997 if postIndex > l {
6998 return io.ErrUnexpectedEOF
6999 }
7000 m.ServerAddress = string(dAtA[iNdEx:postIndex])
7001 iNdEx = postIndex
7002 default:
7003 iNdEx = preIndex
7004 skippy, err := skipGenerated(dAtA[iNdEx:])
7005 if err != nil {
7006 return err
7007 }
7008 if skippy < 0 {
7009 return ErrInvalidLengthGenerated
7010 }
7011 if (iNdEx + skippy) > l {
7012 return io.ErrUnexpectedEOF
7013 }
7014 iNdEx += skippy
7015 }
7016 }
7017
7018 if iNdEx > l {
7019 return io.ErrUnexpectedEOF
7020 }
7021 return nil
7022}
7023func (m *Status) Unmarshal(dAtA []byte) error {
7024 l := len(dAtA)
7025 iNdEx := 0
7026 for iNdEx < l {
7027 preIndex := iNdEx
7028 var wire uint64
7029 for shift := uint(0); ; shift += 7 {
7030 if shift >= 64 {
7031 return ErrIntOverflowGenerated
7032 }
7033 if iNdEx >= l {
7034 return io.ErrUnexpectedEOF
7035 }
7036 b := dAtA[iNdEx]
7037 iNdEx++
7038 wire |= (uint64(b) & 0x7F) << shift
7039 if b < 0x80 {
7040 break
7041 }
7042 }
7043 fieldNum := int32(wire >> 3)
7044 wireType := int(wire & 0x7)
7045 if wireType == 4 {
7046 return fmt.Errorf("proto: Status: wiretype end group for non-group")
7047 }
7048 if fieldNum <= 0 {
7049 return fmt.Errorf("proto: Status: illegal tag %d (wire type %d)", fieldNum, wire)
7050 }
7051 switch fieldNum {
7052 case 1:
7053 if wireType != 2 {
7054 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
7055 }
7056 var msglen int
7057 for shift := uint(0); ; shift += 7 {
7058 if shift >= 64 {
7059 return ErrIntOverflowGenerated
7060 }
7061 if iNdEx >= l {
7062 return io.ErrUnexpectedEOF
7063 }
7064 b := dAtA[iNdEx]
7065 iNdEx++
7066 msglen |= (int(b) & 0x7F) << shift
7067 if b < 0x80 {
7068 break
7069 }
7070 }
7071 if msglen < 0 {
7072 return ErrInvalidLengthGenerated
7073 }
7074 postIndex := iNdEx + msglen
7075 if postIndex > l {
7076 return io.ErrUnexpectedEOF
7077 }
7078 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7079 return err
7080 }
7081 iNdEx = postIndex
7082 case 2:
7083 if wireType != 2 {
7084 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
7085 }
7086 var stringLen uint64
7087 for shift := uint(0); ; shift += 7 {
7088 if shift >= 64 {
7089 return ErrIntOverflowGenerated
7090 }
7091 if iNdEx >= l {
7092 return io.ErrUnexpectedEOF
7093 }
7094 b := dAtA[iNdEx]
7095 iNdEx++
7096 stringLen |= (uint64(b) & 0x7F) << shift
7097 if b < 0x80 {
7098 break
7099 }
7100 }
7101 intStringLen := int(stringLen)
7102 if intStringLen < 0 {
7103 return ErrInvalidLengthGenerated
7104 }
7105 postIndex := iNdEx + intStringLen
7106 if postIndex > l {
7107 return io.ErrUnexpectedEOF
7108 }
7109 m.Status = string(dAtA[iNdEx:postIndex])
7110 iNdEx = postIndex
7111 case 3:
7112 if wireType != 2 {
7113 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
7114 }
7115 var stringLen uint64
7116 for shift := uint(0); ; shift += 7 {
7117 if shift >= 64 {
7118 return ErrIntOverflowGenerated
7119 }
7120 if iNdEx >= l {
7121 return io.ErrUnexpectedEOF
7122 }
7123 b := dAtA[iNdEx]
7124 iNdEx++
7125 stringLen |= (uint64(b) & 0x7F) << shift
7126 if b < 0x80 {
7127 break
7128 }
7129 }
7130 intStringLen := int(stringLen)
7131 if intStringLen < 0 {
7132 return ErrInvalidLengthGenerated
7133 }
7134 postIndex := iNdEx + intStringLen
7135 if postIndex > l {
7136 return io.ErrUnexpectedEOF
7137 }
7138 m.Message = string(dAtA[iNdEx:postIndex])
7139 iNdEx = postIndex
7140 case 4:
7141 if wireType != 2 {
7142 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
7143 }
7144 var stringLen uint64
7145 for shift := uint(0); ; shift += 7 {
7146 if shift >= 64 {
7147 return ErrIntOverflowGenerated
7148 }
7149 if iNdEx >= l {
7150 return io.ErrUnexpectedEOF
7151 }
7152 b := dAtA[iNdEx]
7153 iNdEx++
7154 stringLen |= (uint64(b) & 0x7F) << shift
7155 if b < 0x80 {
7156 break
7157 }
7158 }
7159 intStringLen := int(stringLen)
7160 if intStringLen < 0 {
7161 return ErrInvalidLengthGenerated
7162 }
7163 postIndex := iNdEx + intStringLen
7164 if postIndex > l {
7165 return io.ErrUnexpectedEOF
7166 }
7167 m.Reason = StatusReason(dAtA[iNdEx:postIndex])
7168 iNdEx = postIndex
7169 case 5:
7170 if wireType != 2 {
7171 return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType)
7172 }
7173 var msglen int
7174 for shift := uint(0); ; shift += 7 {
7175 if shift >= 64 {
7176 return ErrIntOverflowGenerated
7177 }
7178 if iNdEx >= l {
7179 return io.ErrUnexpectedEOF
7180 }
7181 b := dAtA[iNdEx]
7182 iNdEx++
7183 msglen |= (int(b) & 0x7F) << shift
7184 if b < 0x80 {
7185 break
7186 }
7187 }
7188 if msglen < 0 {
7189 return ErrInvalidLengthGenerated
7190 }
7191 postIndex := iNdEx + msglen
7192 if postIndex > l {
7193 return io.ErrUnexpectedEOF
7194 }
7195 if m.Details == nil {
7196 m.Details = &StatusDetails{}
7197 }
7198 if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7199 return err
7200 }
7201 iNdEx = postIndex
7202 case 6:
7203 if wireType != 0 {
7204 return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
7205 }
7206 m.Code = 0
7207 for shift := uint(0); ; shift += 7 {
7208 if shift >= 64 {
7209 return ErrIntOverflowGenerated
7210 }
7211 if iNdEx >= l {
7212 return io.ErrUnexpectedEOF
7213 }
7214 b := dAtA[iNdEx]
7215 iNdEx++
7216 m.Code |= (int32(b) & 0x7F) << shift
7217 if b < 0x80 {
7218 break
7219 }
7220 }
7221 default:
7222 iNdEx = preIndex
7223 skippy, err := skipGenerated(dAtA[iNdEx:])
7224 if err != nil {
7225 return err
7226 }
7227 if skippy < 0 {
7228 return ErrInvalidLengthGenerated
7229 }
7230 if (iNdEx + skippy) > l {
7231 return io.ErrUnexpectedEOF
7232 }
7233 iNdEx += skippy
7234 }
7235 }
7236
7237 if iNdEx > l {
7238 return io.ErrUnexpectedEOF
7239 }
7240 return nil
7241}
7242func (m *StatusCause) Unmarshal(dAtA []byte) error {
7243 l := len(dAtA)
7244 iNdEx := 0
7245 for iNdEx < l {
7246 preIndex := iNdEx
7247 var wire uint64
7248 for shift := uint(0); ; shift += 7 {
7249 if shift >= 64 {
7250 return ErrIntOverflowGenerated
7251 }
7252 if iNdEx >= l {
7253 return io.ErrUnexpectedEOF
7254 }
7255 b := dAtA[iNdEx]
7256 iNdEx++
7257 wire |= (uint64(b) & 0x7F) << shift
7258 if b < 0x80 {
7259 break
7260 }
7261 }
7262 fieldNum := int32(wire >> 3)
7263 wireType := int(wire & 0x7)
7264 if wireType == 4 {
7265 return fmt.Errorf("proto: StatusCause: wiretype end group for non-group")
7266 }
7267 if fieldNum <= 0 {
7268 return fmt.Errorf("proto: StatusCause: illegal tag %d (wire type %d)", fieldNum, wire)
7269 }
7270 switch fieldNum {
7271 case 1:
7272 if wireType != 2 {
7273 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
7274 }
7275 var stringLen uint64
7276 for shift := uint(0); ; shift += 7 {
7277 if shift >= 64 {
7278 return ErrIntOverflowGenerated
7279 }
7280 if iNdEx >= l {
7281 return io.ErrUnexpectedEOF
7282 }
7283 b := dAtA[iNdEx]
7284 iNdEx++
7285 stringLen |= (uint64(b) & 0x7F) << shift
7286 if b < 0x80 {
7287 break
7288 }
7289 }
7290 intStringLen := int(stringLen)
7291 if intStringLen < 0 {
7292 return ErrInvalidLengthGenerated
7293 }
7294 postIndex := iNdEx + intStringLen
7295 if postIndex > l {
7296 return io.ErrUnexpectedEOF
7297 }
7298 m.Type = CauseType(dAtA[iNdEx:postIndex])
7299 iNdEx = postIndex
7300 case 2:
7301 if wireType != 2 {
7302 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
7303 }
7304 var stringLen uint64
7305 for shift := uint(0); ; shift += 7 {
7306 if shift >= 64 {
7307 return ErrIntOverflowGenerated
7308 }
7309 if iNdEx >= l {
7310 return io.ErrUnexpectedEOF
7311 }
7312 b := dAtA[iNdEx]
7313 iNdEx++
7314 stringLen |= (uint64(b) & 0x7F) << shift
7315 if b < 0x80 {
7316 break
7317 }
7318 }
7319 intStringLen := int(stringLen)
7320 if intStringLen < 0 {
7321 return ErrInvalidLengthGenerated
7322 }
7323 postIndex := iNdEx + intStringLen
7324 if postIndex > l {
7325 return io.ErrUnexpectedEOF
7326 }
7327 m.Message = string(dAtA[iNdEx:postIndex])
7328 iNdEx = postIndex
7329 case 3:
7330 if wireType != 2 {
7331 return fmt.Errorf("proto: wrong wireType = %d for field Field", wireType)
7332 }
7333 var stringLen uint64
7334 for shift := uint(0); ; shift += 7 {
7335 if shift >= 64 {
7336 return ErrIntOverflowGenerated
7337 }
7338 if iNdEx >= l {
7339 return io.ErrUnexpectedEOF
7340 }
7341 b := dAtA[iNdEx]
7342 iNdEx++
7343 stringLen |= (uint64(b) & 0x7F) << shift
7344 if b < 0x80 {
7345 break
7346 }
7347 }
7348 intStringLen := int(stringLen)
7349 if intStringLen < 0 {
7350 return ErrInvalidLengthGenerated
7351 }
7352 postIndex := iNdEx + intStringLen
7353 if postIndex > l {
7354 return io.ErrUnexpectedEOF
7355 }
7356 m.Field = string(dAtA[iNdEx:postIndex])
7357 iNdEx = postIndex
7358 default:
7359 iNdEx = preIndex
7360 skippy, err := skipGenerated(dAtA[iNdEx:])
7361 if err != nil {
7362 return err
7363 }
7364 if skippy < 0 {
7365 return ErrInvalidLengthGenerated
7366 }
7367 if (iNdEx + skippy) > l {
7368 return io.ErrUnexpectedEOF
7369 }
7370 iNdEx += skippy
7371 }
7372 }
7373
7374 if iNdEx > l {
7375 return io.ErrUnexpectedEOF
7376 }
7377 return nil
7378}
7379func (m *StatusDetails) Unmarshal(dAtA []byte) error {
7380 l := len(dAtA)
7381 iNdEx := 0
7382 for iNdEx < l {
7383 preIndex := iNdEx
7384 var wire uint64
7385 for shift := uint(0); ; shift += 7 {
7386 if shift >= 64 {
7387 return ErrIntOverflowGenerated
7388 }
7389 if iNdEx >= l {
7390 return io.ErrUnexpectedEOF
7391 }
7392 b := dAtA[iNdEx]
7393 iNdEx++
7394 wire |= (uint64(b) & 0x7F) << shift
7395 if b < 0x80 {
7396 break
7397 }
7398 }
7399 fieldNum := int32(wire >> 3)
7400 wireType := int(wire & 0x7)
7401 if wireType == 4 {
7402 return fmt.Errorf("proto: StatusDetails: wiretype end group for non-group")
7403 }
7404 if fieldNum <= 0 {
7405 return fmt.Errorf("proto: StatusDetails: illegal tag %d (wire type %d)", fieldNum, wire)
7406 }
7407 switch fieldNum {
7408 case 1:
7409 if wireType != 2 {
7410 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
7411 }
7412 var stringLen uint64
7413 for shift := uint(0); ; shift += 7 {
7414 if shift >= 64 {
7415 return ErrIntOverflowGenerated
7416 }
7417 if iNdEx >= l {
7418 return io.ErrUnexpectedEOF
7419 }
7420 b := dAtA[iNdEx]
7421 iNdEx++
7422 stringLen |= (uint64(b) & 0x7F) << shift
7423 if b < 0x80 {
7424 break
7425 }
7426 }
7427 intStringLen := int(stringLen)
7428 if intStringLen < 0 {
7429 return ErrInvalidLengthGenerated
7430 }
7431 postIndex := iNdEx + intStringLen
7432 if postIndex > l {
7433 return io.ErrUnexpectedEOF
7434 }
7435 m.Name = string(dAtA[iNdEx:postIndex])
7436 iNdEx = postIndex
7437 case 2:
7438 if wireType != 2 {
7439 return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
7440 }
7441 var stringLen uint64
7442 for shift := uint(0); ; shift += 7 {
7443 if shift >= 64 {
7444 return ErrIntOverflowGenerated
7445 }
7446 if iNdEx >= l {
7447 return io.ErrUnexpectedEOF
7448 }
7449 b := dAtA[iNdEx]
7450 iNdEx++
7451 stringLen |= (uint64(b) & 0x7F) << shift
7452 if b < 0x80 {
7453 break
7454 }
7455 }
7456 intStringLen := int(stringLen)
7457 if intStringLen < 0 {
7458 return ErrInvalidLengthGenerated
7459 }
7460 postIndex := iNdEx + intStringLen
7461 if postIndex > l {
7462 return io.ErrUnexpectedEOF
7463 }
7464 m.Group = string(dAtA[iNdEx:postIndex])
7465 iNdEx = postIndex
7466 case 3:
7467 if wireType != 2 {
7468 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
7469 }
7470 var stringLen uint64
7471 for shift := uint(0); ; shift += 7 {
7472 if shift >= 64 {
7473 return ErrIntOverflowGenerated
7474 }
7475 if iNdEx >= l {
7476 return io.ErrUnexpectedEOF
7477 }
7478 b := dAtA[iNdEx]
7479 iNdEx++
7480 stringLen |= (uint64(b) & 0x7F) << shift
7481 if b < 0x80 {
7482 break
7483 }
7484 }
7485 intStringLen := int(stringLen)
7486 if intStringLen < 0 {
7487 return ErrInvalidLengthGenerated
7488 }
7489 postIndex := iNdEx + intStringLen
7490 if postIndex > l {
7491 return io.ErrUnexpectedEOF
7492 }
7493 m.Kind = string(dAtA[iNdEx:postIndex])
7494 iNdEx = postIndex
7495 case 4:
7496 if wireType != 2 {
7497 return fmt.Errorf("proto: wrong wireType = %d for field Causes", wireType)
7498 }
7499 var msglen int
7500 for shift := uint(0); ; shift += 7 {
7501 if shift >= 64 {
7502 return ErrIntOverflowGenerated
7503 }
7504 if iNdEx >= l {
7505 return io.ErrUnexpectedEOF
7506 }
7507 b := dAtA[iNdEx]
7508 iNdEx++
7509 msglen |= (int(b) & 0x7F) << shift
7510 if b < 0x80 {
7511 break
7512 }
7513 }
7514 if msglen < 0 {
7515 return ErrInvalidLengthGenerated
7516 }
7517 postIndex := iNdEx + msglen
7518 if postIndex > l {
7519 return io.ErrUnexpectedEOF
7520 }
7521 m.Causes = append(m.Causes, StatusCause{})
7522 if err := m.Causes[len(m.Causes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7523 return err
7524 }
7525 iNdEx = postIndex
7526 case 5:
7527 if wireType != 0 {
7528 return fmt.Errorf("proto: wrong wireType = %d for field RetryAfterSeconds", wireType)
7529 }
7530 m.RetryAfterSeconds = 0
7531 for shift := uint(0); ; shift += 7 {
7532 if shift >= 64 {
7533 return ErrIntOverflowGenerated
7534 }
7535 if iNdEx >= l {
7536 return io.ErrUnexpectedEOF
7537 }
7538 b := dAtA[iNdEx]
7539 iNdEx++
7540 m.RetryAfterSeconds |= (int32(b) & 0x7F) << shift
7541 if b < 0x80 {
7542 break
7543 }
7544 }
7545 case 6:
7546 if wireType != 2 {
7547 return fmt.Errorf("proto: wrong wireType = %d for field UID", wireType)
7548 }
7549 var stringLen uint64
7550 for shift := uint(0); ; shift += 7 {
7551 if shift >= 64 {
7552 return ErrIntOverflowGenerated
7553 }
7554 if iNdEx >= l {
7555 return io.ErrUnexpectedEOF
7556 }
7557 b := dAtA[iNdEx]
7558 iNdEx++
7559 stringLen |= (uint64(b) & 0x7F) << shift
7560 if b < 0x80 {
7561 break
7562 }
7563 }
7564 intStringLen := int(stringLen)
7565 if intStringLen < 0 {
7566 return ErrInvalidLengthGenerated
7567 }
7568 postIndex := iNdEx + intStringLen
7569 if postIndex > l {
7570 return io.ErrUnexpectedEOF
7571 }
7572 m.UID = k8s_io_apimachinery_pkg_types.UID(dAtA[iNdEx:postIndex])
7573 iNdEx = postIndex
7574 default:
7575 iNdEx = preIndex
7576 skippy, err := skipGenerated(dAtA[iNdEx:])
7577 if err != nil {
7578 return err
7579 }
7580 if skippy < 0 {
7581 return ErrInvalidLengthGenerated
7582 }
7583 if (iNdEx + skippy) > l {
7584 return io.ErrUnexpectedEOF
7585 }
7586 iNdEx += skippy
7587 }
7588 }
7589
7590 if iNdEx > l {
7591 return io.ErrUnexpectedEOF
7592 }
7593 return nil
7594}
7595func (m *Timestamp) Unmarshal(dAtA []byte) error {
7596 l := len(dAtA)
7597 iNdEx := 0
7598 for iNdEx < l {
7599 preIndex := iNdEx
7600 var wire uint64
7601 for shift := uint(0); ; shift += 7 {
7602 if shift >= 64 {
7603 return ErrIntOverflowGenerated
7604 }
7605 if iNdEx >= l {
7606 return io.ErrUnexpectedEOF
7607 }
7608 b := dAtA[iNdEx]
7609 iNdEx++
7610 wire |= (uint64(b) & 0x7F) << shift
7611 if b < 0x80 {
7612 break
7613 }
7614 }
7615 fieldNum := int32(wire >> 3)
7616 wireType := int(wire & 0x7)
7617 if wireType == 4 {
7618 return fmt.Errorf("proto: Timestamp: wiretype end group for non-group")
7619 }
7620 if fieldNum <= 0 {
7621 return fmt.Errorf("proto: Timestamp: illegal tag %d (wire type %d)", fieldNum, wire)
7622 }
7623 switch fieldNum {
7624 case 1:
7625 if wireType != 0 {
7626 return fmt.Errorf("proto: wrong wireType = %d for field Seconds", wireType)
7627 }
7628 m.Seconds = 0
7629 for shift := uint(0); ; shift += 7 {
7630 if shift >= 64 {
7631 return ErrIntOverflowGenerated
7632 }
7633 if iNdEx >= l {
7634 return io.ErrUnexpectedEOF
7635 }
7636 b := dAtA[iNdEx]
7637 iNdEx++
7638 m.Seconds |= (int64(b) & 0x7F) << shift
7639 if b < 0x80 {
7640 break
7641 }
7642 }
7643 case 2:
7644 if wireType != 0 {
7645 return fmt.Errorf("proto: wrong wireType = %d for field Nanos", wireType)
7646 }
7647 m.Nanos = 0
7648 for shift := uint(0); ; shift += 7 {
7649 if shift >= 64 {
7650 return ErrIntOverflowGenerated
7651 }
7652 if iNdEx >= l {
7653 return io.ErrUnexpectedEOF
7654 }
7655 b := dAtA[iNdEx]
7656 iNdEx++
7657 m.Nanos |= (int32(b) & 0x7F) << shift
7658 if b < 0x80 {
7659 break
7660 }
7661 }
7662 default:
7663 iNdEx = preIndex
7664 skippy, err := skipGenerated(dAtA[iNdEx:])
7665 if err != nil {
7666 return err
7667 }
7668 if skippy < 0 {
7669 return ErrInvalidLengthGenerated
7670 }
7671 if (iNdEx + skippy) > l {
7672 return io.ErrUnexpectedEOF
7673 }
7674 iNdEx += skippy
7675 }
7676 }
7677
7678 if iNdEx > l {
7679 return io.ErrUnexpectedEOF
7680 }
7681 return nil
7682}
7683func (m *TypeMeta) Unmarshal(dAtA []byte) error {
7684 l := len(dAtA)
7685 iNdEx := 0
7686 for iNdEx < l {
7687 preIndex := iNdEx
7688 var wire uint64
7689 for shift := uint(0); ; shift += 7 {
7690 if shift >= 64 {
7691 return ErrIntOverflowGenerated
7692 }
7693 if iNdEx >= l {
7694 return io.ErrUnexpectedEOF
7695 }
7696 b := dAtA[iNdEx]
7697 iNdEx++
7698 wire |= (uint64(b) & 0x7F) << shift
7699 if b < 0x80 {
7700 break
7701 }
7702 }
7703 fieldNum := int32(wire >> 3)
7704 wireType := int(wire & 0x7)
7705 if wireType == 4 {
7706 return fmt.Errorf("proto: TypeMeta: wiretype end group for non-group")
7707 }
7708 if fieldNum <= 0 {
7709 return fmt.Errorf("proto: TypeMeta: illegal tag %d (wire type %d)", fieldNum, wire)
7710 }
7711 switch fieldNum {
7712 case 1:
7713 if wireType != 2 {
7714 return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
7715 }
7716 var stringLen uint64
7717 for shift := uint(0); ; shift += 7 {
7718 if shift >= 64 {
7719 return ErrIntOverflowGenerated
7720 }
7721 if iNdEx >= l {
7722 return io.ErrUnexpectedEOF
7723 }
7724 b := dAtA[iNdEx]
7725 iNdEx++
7726 stringLen |= (uint64(b) & 0x7F) << shift
7727 if b < 0x80 {
7728 break
7729 }
7730 }
7731 intStringLen := int(stringLen)
7732 if intStringLen < 0 {
7733 return ErrInvalidLengthGenerated
7734 }
7735 postIndex := iNdEx + intStringLen
7736 if postIndex > l {
7737 return io.ErrUnexpectedEOF
7738 }
7739 m.Kind = string(dAtA[iNdEx:postIndex])
7740 iNdEx = postIndex
7741 case 2:
7742 if wireType != 2 {
7743 return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
7744 }
7745 var stringLen uint64
7746 for shift := uint(0); ; shift += 7 {
7747 if shift >= 64 {
7748 return ErrIntOverflowGenerated
7749 }
7750 if iNdEx >= l {
7751 return io.ErrUnexpectedEOF
7752 }
7753 b := dAtA[iNdEx]
7754 iNdEx++
7755 stringLen |= (uint64(b) & 0x7F) << shift
7756 if b < 0x80 {
7757 break
7758 }
7759 }
7760 intStringLen := int(stringLen)
7761 if intStringLen < 0 {
7762 return ErrInvalidLengthGenerated
7763 }
7764 postIndex := iNdEx + intStringLen
7765 if postIndex > l {
7766 return io.ErrUnexpectedEOF
7767 }
7768 m.APIVersion = string(dAtA[iNdEx:postIndex])
7769 iNdEx = postIndex
7770 default:
7771 iNdEx = preIndex
7772 skippy, err := skipGenerated(dAtA[iNdEx:])
7773 if err != nil {
7774 return err
7775 }
7776 if skippy < 0 {
7777 return ErrInvalidLengthGenerated
7778 }
7779 if (iNdEx + skippy) > l {
7780 return io.ErrUnexpectedEOF
7781 }
7782 iNdEx += skippy
7783 }
7784 }
7785
7786 if iNdEx > l {
7787 return io.ErrUnexpectedEOF
7788 }
7789 return nil
7790}
7791func (m *UpdateOptions) Unmarshal(dAtA []byte) error {
7792 l := len(dAtA)
7793 iNdEx := 0
7794 for iNdEx < l {
7795 preIndex := iNdEx
7796 var wire uint64
7797 for shift := uint(0); ; shift += 7 {
7798 if shift >= 64 {
7799 return ErrIntOverflowGenerated
7800 }
7801 if iNdEx >= l {
7802 return io.ErrUnexpectedEOF
7803 }
7804 b := dAtA[iNdEx]
7805 iNdEx++
7806 wire |= (uint64(b) & 0x7F) << shift
7807 if b < 0x80 {
7808 break
7809 }
7810 }
7811 fieldNum := int32(wire >> 3)
7812 wireType := int(wire & 0x7)
7813 if wireType == 4 {
7814 return fmt.Errorf("proto: UpdateOptions: wiretype end group for non-group")
7815 }
7816 if fieldNum <= 0 {
7817 return fmt.Errorf("proto: UpdateOptions: illegal tag %d (wire type %d)", fieldNum, wire)
7818 }
7819 switch fieldNum {
7820 case 1:
7821 if wireType != 2 {
7822 return fmt.Errorf("proto: wrong wireType = %d for field DryRun", wireType)
7823 }
7824 var stringLen uint64
7825 for shift := uint(0); ; shift += 7 {
7826 if shift >= 64 {
7827 return ErrIntOverflowGenerated
7828 }
7829 if iNdEx >= l {
7830 return io.ErrUnexpectedEOF
7831 }
7832 b := dAtA[iNdEx]
7833 iNdEx++
7834 stringLen |= (uint64(b) & 0x7F) << shift
7835 if b < 0x80 {
7836 break
7837 }
7838 }
7839 intStringLen := int(stringLen)
7840 if intStringLen < 0 {
7841 return ErrInvalidLengthGenerated
7842 }
7843 postIndex := iNdEx + intStringLen
7844 if postIndex > l {
7845 return io.ErrUnexpectedEOF
7846 }
7847 m.DryRun = append(m.DryRun, string(dAtA[iNdEx:postIndex]))
7848 iNdEx = postIndex
7849 default:
7850 iNdEx = preIndex
7851 skippy, err := skipGenerated(dAtA[iNdEx:])
7852 if err != nil {
7853 return err
7854 }
7855 if skippy < 0 {
7856 return ErrInvalidLengthGenerated
7857 }
7858 if (iNdEx + skippy) > l {
7859 return io.ErrUnexpectedEOF
7860 }
7861 iNdEx += skippy
7862 }
7863 }
7864
7865 if iNdEx > l {
7866 return io.ErrUnexpectedEOF
7867 }
7868 return nil
7869}
7870func (m *Verbs) Unmarshal(dAtA []byte) error {
7871 l := len(dAtA)
7872 iNdEx := 0
7873 for iNdEx < l {
7874 preIndex := iNdEx
7875 var wire uint64
7876 for shift := uint(0); ; shift += 7 {
7877 if shift >= 64 {
7878 return ErrIntOverflowGenerated
7879 }
7880 if iNdEx >= l {
7881 return io.ErrUnexpectedEOF
7882 }
7883 b := dAtA[iNdEx]
7884 iNdEx++
7885 wire |= (uint64(b) & 0x7F) << shift
7886 if b < 0x80 {
7887 break
7888 }
7889 }
7890 fieldNum := int32(wire >> 3)
7891 wireType := int(wire & 0x7)
7892 if wireType == 4 {
7893 return fmt.Errorf("proto: Verbs: wiretype end group for non-group")
7894 }
7895 if fieldNum <= 0 {
7896 return fmt.Errorf("proto: Verbs: illegal tag %d (wire type %d)", fieldNum, wire)
7897 }
7898 switch fieldNum {
7899 case 1:
7900 if wireType != 2 {
7901 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
7902 }
7903 var stringLen uint64
7904 for shift := uint(0); ; shift += 7 {
7905 if shift >= 64 {
7906 return ErrIntOverflowGenerated
7907 }
7908 if iNdEx >= l {
7909 return io.ErrUnexpectedEOF
7910 }
7911 b := dAtA[iNdEx]
7912 iNdEx++
7913 stringLen |= (uint64(b) & 0x7F) << shift
7914 if b < 0x80 {
7915 break
7916 }
7917 }
7918 intStringLen := int(stringLen)
7919 if intStringLen < 0 {
7920 return ErrInvalidLengthGenerated
7921 }
7922 postIndex := iNdEx + intStringLen
7923 if postIndex > l {
7924 return io.ErrUnexpectedEOF
7925 }
7926 *m = append(*m, string(dAtA[iNdEx:postIndex]))
7927 iNdEx = postIndex
7928 default:
7929 iNdEx = preIndex
7930 skippy, err := skipGenerated(dAtA[iNdEx:])
7931 if err != nil {
7932 return err
7933 }
7934 if skippy < 0 {
7935 return ErrInvalidLengthGenerated
7936 }
7937 if (iNdEx + skippy) > l {
7938 return io.ErrUnexpectedEOF
7939 }
7940 iNdEx += skippy
7941 }
7942 }
7943
7944 if iNdEx > l {
7945 return io.ErrUnexpectedEOF
7946 }
7947 return nil
7948}
7949func (m *WatchEvent) Unmarshal(dAtA []byte) error {
7950 l := len(dAtA)
7951 iNdEx := 0
7952 for iNdEx < l {
7953 preIndex := iNdEx
7954 var wire uint64
7955 for shift := uint(0); ; shift += 7 {
7956 if shift >= 64 {
7957 return ErrIntOverflowGenerated
7958 }
7959 if iNdEx >= l {
7960 return io.ErrUnexpectedEOF
7961 }
7962 b := dAtA[iNdEx]
7963 iNdEx++
7964 wire |= (uint64(b) & 0x7F) << shift
7965 if b < 0x80 {
7966 break
7967 }
7968 }
7969 fieldNum := int32(wire >> 3)
7970 wireType := int(wire & 0x7)
7971 if wireType == 4 {
7972 return fmt.Errorf("proto: WatchEvent: wiretype end group for non-group")
7973 }
7974 if fieldNum <= 0 {
7975 return fmt.Errorf("proto: WatchEvent: illegal tag %d (wire type %d)", fieldNum, wire)
7976 }
7977 switch fieldNum {
7978 case 1:
7979 if wireType != 2 {
7980 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
7981 }
7982 var stringLen uint64
7983 for shift := uint(0); ; shift += 7 {
7984 if shift >= 64 {
7985 return ErrIntOverflowGenerated
7986 }
7987 if iNdEx >= l {
7988 return io.ErrUnexpectedEOF
7989 }
7990 b := dAtA[iNdEx]
7991 iNdEx++
7992 stringLen |= (uint64(b) & 0x7F) << shift
7993 if b < 0x80 {
7994 break
7995 }
7996 }
7997 intStringLen := int(stringLen)
7998 if intStringLen < 0 {
7999 return ErrInvalidLengthGenerated
8000 }
8001 postIndex := iNdEx + intStringLen
8002 if postIndex > l {
8003 return io.ErrUnexpectedEOF
8004 }
8005 m.Type = string(dAtA[iNdEx:postIndex])
8006 iNdEx = postIndex
8007 case 2:
8008 if wireType != 2 {
8009 return fmt.Errorf("proto: wrong wireType = %d for field Object", wireType)
8010 }
8011 var msglen int
8012 for shift := uint(0); ; shift += 7 {
8013 if shift >= 64 {
8014 return ErrIntOverflowGenerated
8015 }
8016 if iNdEx >= l {
8017 return io.ErrUnexpectedEOF
8018 }
8019 b := dAtA[iNdEx]
8020 iNdEx++
8021 msglen |= (int(b) & 0x7F) << shift
8022 if b < 0x80 {
8023 break
8024 }
8025 }
8026 if msglen < 0 {
8027 return ErrInvalidLengthGenerated
8028 }
8029 postIndex := iNdEx + msglen
8030 if postIndex > l {
8031 return io.ErrUnexpectedEOF
8032 }
8033 if err := m.Object.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8034 return err
8035 }
8036 iNdEx = postIndex
8037 default:
8038 iNdEx = preIndex
8039 skippy, err := skipGenerated(dAtA[iNdEx:])
8040 if err != nil {
8041 return err
8042 }
8043 if skippy < 0 {
8044 return ErrInvalidLengthGenerated
8045 }
8046 if (iNdEx + skippy) > l {
8047 return io.ErrUnexpectedEOF
8048 }
8049 iNdEx += skippy
8050 }
8051 }
8052
8053 if iNdEx > l {
8054 return io.ErrUnexpectedEOF
8055 }
8056 return nil
8057}
8058func skipGenerated(dAtA []byte) (n int, err error) {
8059 l := len(dAtA)
8060 iNdEx := 0
8061 for iNdEx < l {
8062 var wire uint64
8063 for shift := uint(0); ; shift += 7 {
8064 if shift >= 64 {
8065 return 0, ErrIntOverflowGenerated
8066 }
8067 if iNdEx >= l {
8068 return 0, io.ErrUnexpectedEOF
8069 }
8070 b := dAtA[iNdEx]
8071 iNdEx++
8072 wire |= (uint64(b) & 0x7F) << shift
8073 if b < 0x80 {
8074 break
8075 }
8076 }
8077 wireType := int(wire & 0x7)
8078 switch wireType {
8079 case 0:
8080 for shift := uint(0); ; shift += 7 {
8081 if shift >= 64 {
8082 return 0, ErrIntOverflowGenerated
8083 }
8084 if iNdEx >= l {
8085 return 0, io.ErrUnexpectedEOF
8086 }
8087 iNdEx++
8088 if dAtA[iNdEx-1] < 0x80 {
8089 break
8090 }
8091 }
8092 return iNdEx, nil
8093 case 1:
8094 iNdEx += 8
8095 return iNdEx, nil
8096 case 2:
8097 var length int
8098 for shift := uint(0); ; shift += 7 {
8099 if shift >= 64 {
8100 return 0, ErrIntOverflowGenerated
8101 }
8102 if iNdEx >= l {
8103 return 0, io.ErrUnexpectedEOF
8104 }
8105 b := dAtA[iNdEx]
8106 iNdEx++
8107 length |= (int(b) & 0x7F) << shift
8108 if b < 0x80 {
8109 break
8110 }
8111 }
8112 iNdEx += length
8113 if length < 0 {
8114 return 0, ErrInvalidLengthGenerated
8115 }
8116 return iNdEx, nil
8117 case 3:
8118 for {
8119 var innerWire uint64
8120 var start int = iNdEx
8121 for shift := uint(0); ; shift += 7 {
8122 if shift >= 64 {
8123 return 0, ErrIntOverflowGenerated
8124 }
8125 if iNdEx >= l {
8126 return 0, io.ErrUnexpectedEOF
8127 }
8128 b := dAtA[iNdEx]
8129 iNdEx++
8130 innerWire |= (uint64(b) & 0x7F) << shift
8131 if b < 0x80 {
8132 break
8133 }
8134 }
8135 innerWireType := int(innerWire & 0x7)
8136 if innerWireType == 4 {
8137 break
8138 }
8139 next, err := skipGenerated(dAtA[start:])
8140 if err != nil {
8141 return 0, err
8142 }
8143 iNdEx = start + next
8144 }
8145 return iNdEx, nil
8146 case 4:
8147 return iNdEx, nil
8148 case 5:
8149 iNdEx += 4
8150 return iNdEx, nil
8151 default:
8152 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
8153 }
8154 }
8155 panic("unreachable")
8156}
8157
8158var (
8159 ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
8160 ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
8161)
8162
8163func init() {
8164 proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto", fileDescriptorGenerated)
8165}
8166
8167var fileDescriptorGenerated = []byte{
8168 // 2465 bytes of a gzipped FileDescriptorProto
8169 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x4d, 0x6c, 0x23, 0x49,
8170 0xf5, 0x4f, 0xdb, 0xb1, 0x63, 0x3f, 0xc7, 0xf9, 0xa8, 0xcd, 0xfe, 0xff, 0xde, 0x08, 0xec, 0x6c,
8171 0x2f, 0x5a, 0x65, 0x61, 0xd6, 0x26, 0x59, 0x58, 0x0d, 0x03, 0x2c, 0xc4, 0x71, 0x66, 0x14, 0xed,
8172 0x64, 0xc6, 0xaa, 0xec, 0x0c, 0x62, 0x18, 0x21, 0x3a, 0xdd, 0x15, 0xa7, 0x49, 0xbb, 0xdb, 0x5b,
8173 0xd5, 0xce, 0x8c, 0xe1, 0xc0, 0x1e, 0x40, 0x70, 0x40, 0x68, 0x8e, 0x9c, 0xd0, 0x8e, 0xe0, 0xc2,
8174 0x95, 0x13, 0x17, 0x38, 0x21, 0x31, 0xc7, 0x91, 0xb8, 0xec, 0x01, 0x59, 0x3b, 0xe6, 0xc0, 0x09,
8175 0x71, 0xcf, 0x09, 0x55, 0x75, 0x75, 0x75, 0xb7, 0x1d, 0x4f, 0xda, 0x3b, 0xbb, 0x88, 0x53, 0xd2,
8176 0xef, 0xe3, 0xf7, 0x5e, 0x55, 0xbd, 0x7a, 0xef, 0xd5, 0x33, 0x1c, 0x9c, 0x5e, 0x65, 0x75, 0xdb,
8177 0x6b, 0x9c, 0xf6, 0x8f, 0x08, 0x75, 0x89, 0x4f, 0x58, 0xe3, 0x8c, 0xb8, 0x96, 0x47, 0x1b, 0x92,
8178 0x61, 0xf4, 0xec, 0xae, 0x61, 0x9e, 0xd8, 0x2e, 0xa1, 0x83, 0x46, 0xef, 0xb4, 0xc3, 0x09, 0xac,
8179 0xd1, 0x25, 0xbe, 0xd1, 0x38, 0xdb, 0x6a, 0x74, 0x88, 0x4b, 0xa8, 0xe1, 0x13, 0xab, 0xde, 0xa3,
8180 0x9e, 0xef, 0xa1, 0x2f, 0x04, 0x5a, 0xf5, 0xb8, 0x56, 0xbd, 0x77, 0xda, 0xe1, 0x04, 0x56, 0xe7,
8181 0x5a, 0xf5, 0xb3, 0xad, 0xf5, 0x37, 0x3b, 0xb6, 0x7f, 0xd2, 0x3f, 0xaa, 0x9b, 0x5e, 0xb7, 0xd1,
8182 0xf1, 0x3a, 0x5e, 0x43, 0x28, 0x1f, 0xf5, 0x8f, 0xc5, 0x97, 0xf8, 0x10, 0xff, 0x05, 0xa0, 0xeb,
8183 0x53, 0x5d, 0xa1, 0x7d, 0xd7, 0xb7, 0xbb, 0x64, 0xdc, 0x8b, 0xf5, 0xb7, 0x2f, 0x53, 0x60, 0xe6,
8184 0x09, 0xe9, 0x1a, 0xe3, 0x7a, 0xfa, 0x5f, 0xb3, 0x50, 0xd8, 0x69, 0xef, 0xdf, 0xa0, 0x5e, 0xbf,
8185 0x87, 0x36, 0x60, 0xde, 0x35, 0xba, 0xa4, 0xa2, 0x6d, 0x68, 0x9b, 0xc5, 0xe6, 0xe2, 0x93, 0x61,
8186 0x6d, 0x6e, 0x34, 0xac, 0xcd, 0xdf, 0x32, 0xba, 0x04, 0x0b, 0x0e, 0x72, 0xa0, 0x70, 0x46, 0x28,
8187 0xb3, 0x3d, 0x97, 0x55, 0x32, 0x1b, 0xd9, 0xcd, 0xd2, 0xf6, 0x3b, 0xf5, 0x34, 0xeb, 0xaf, 0x0b,
8188 0x03, 0x77, 0x03, 0xd5, 0xeb, 0x1e, 0x6d, 0xd9, 0xcc, 0xf4, 0xce, 0x08, 0x1d, 0x34, 0x57, 0xa4,
8189 0x95, 0x82, 0x64, 0x32, 0xac, 0x2c, 0xa0, 0x9f, 0x6a, 0xb0, 0xd2, 0xa3, 0xe4, 0x98, 0x50, 0x4a,
8190 0x2c, 0xc9, 0xaf, 0x64, 0x37, 0xb4, 0x4f, 0xc1, 0x6c, 0x45, 0x9a, 0x5d, 0x69, 0x8f, 0xe1, 0xe3,
8191 0x09, 0x8b, 0xe8, 0xb7, 0x1a, 0xac, 0x33, 0x42, 0xcf, 0x08, 0xdd, 0xb1, 0x2c, 0x4a, 0x18, 0x6b,
8192 0x0e, 0x76, 0x1d, 0x9b, 0xb8, 0xfe, 0xee, 0x7e, 0x0b, 0xb3, 0xca, 0xbc, 0xd8, 0x87, 0x6f, 0xa5,
8193 0x73, 0xe8, 0x70, 0x1a, 0x4e, 0x53, 0x97, 0x1e, 0xad, 0x4f, 0x15, 0x61, 0xf8, 0x39, 0x6e, 0xe8,
8194 0xc7, 0xb0, 0x18, 0x1e, 0xe4, 0x4d, 0x9b, 0xf9, 0xe8, 0x2e, 0xe4, 0x3b, 0xfc, 0x83, 0x55, 0x34,
8195 0xe1, 0x60, 0x3d, 0x9d, 0x83, 0x21, 0x46, 0x73, 0x49, 0xfa, 0x93, 0x17, 0x9f, 0x0c, 0x4b, 0x34,
8196 0xfd, 0x4f, 0x59, 0x28, 0xed, 0xb4, 0xf7, 0x31, 0x61, 0x5e, 0x9f, 0x9a, 0x24, 0x45, 0xd0, 0x6c,
8197 0x03, 0xf0, 0xbf, 0xac, 0x67, 0x98, 0xc4, 0xaa, 0x64, 0x36, 0xb4, 0xcd, 0x42, 0x13, 0x49, 0x39,
8198 0xb8, 0xa5, 0x38, 0x38, 0x26, 0xc5, 0x51, 0x4f, 0x6d, 0xd7, 0x12, 0xa7, 0x1d, 0x43, 0x7d, 0xd7,
8199 0x76, 0x2d, 0x2c, 0x38, 0xe8, 0x26, 0xe4, 0xce, 0x08, 0x3d, 0xe2, 0xfb, 0xcf, 0x03, 0xe2, 0x4b,
8200 0xe9, 0x96, 0x77, 0x97, 0xab, 0x34, 0x8b, 0xa3, 0x61, 0x2d, 0x27, 0xfe, 0xc5, 0x01, 0x08, 0xaa,
8201 0x03, 0xb0, 0x13, 0x8f, 0xfa, 0xc2, 0x9d, 0x4a, 0x6e, 0x23, 0xbb, 0x59, 0x6c, 0x2e, 0x71, 0xff,
8202 0x0e, 0x15, 0x15, 0xc7, 0x24, 0xd0, 0x55, 0x58, 0x64, 0xb6, 0xdb, 0xe9, 0x3b, 0x06, 0xe5, 0x84,
8203 0x4a, 0x5e, 0xf8, 0xb9, 0x26, 0xfd, 0x5c, 0x3c, 0x8c, 0xf1, 0x70, 0x42, 0x92, 0x5b, 0x32, 0x0d,
8204 0x9f, 0x74, 0x3c, 0x6a, 0x13, 0x56, 0x59, 0x88, 0x2c, 0xed, 0x2a, 0x2a, 0x8e, 0x49, 0xa0, 0xd7,
8205 0x20, 0x27, 0x76, 0xbe, 0x52, 0x10, 0x26, 0xca, 0xd2, 0x44, 0x4e, 0x1c, 0x0b, 0x0e, 0x78, 0xe8,
8206 0x0d, 0x58, 0x90, 0xb7, 0xa6, 0x52, 0x14, 0x62, 0xcb, 0x52, 0x6c, 0x21, 0x0c, 0xeb, 0x90, 0xaf,
8207 0xff, 0x41, 0x83, 0xe5, 0xd8, 0xf9, 0x89, 0x58, 0xb9, 0x0a, 0x8b, 0x9d, 0xd8, 0x4d, 0x91, 0x67,
8208 0xa9, 0x56, 0x13, 0xbf, 0x45, 0x38, 0x21, 0x89, 0x08, 0x14, 0xa9, 0x44, 0x0a, 0x33, 0xc2, 0x56,
8209 0xea, 0x40, 0x0b, 0x7d, 0x88, 0x2c, 0xc5, 0x88, 0x0c, 0x47, 0xc8, 0xfa, 0x3f, 0x35, 0x11, 0x74,
8210 0x61, 0x8e, 0x40, 0x9b, 0xb1, 0x3c, 0xa4, 0x89, 0x2d, 0x5c, 0x9c, 0x92, 0x43, 0x2e, 0xb9, 0xbc,
8211 0x99, 0xff, 0x89, 0xcb, 0x7b, 0xad, 0xf0, 0xeb, 0x0f, 0x6b, 0x73, 0x1f, 0xfc, 0x7d, 0x63, 0x4e,
8212 0xff, 0x99, 0x06, 0xe5, 0x5d, 0x4a, 0x0c, 0x9f, 0xdc, 0xee, 0xf9, 0x62, 0x05, 0x3a, 0xe4, 0x2d,
8213 0x3a, 0xc0, 0x7d, 0x57, 0xae, 0x14, 0xf8, 0xa5, 0x6c, 0x09, 0x0a, 0x96, 0x1c, 0xd4, 0x86, 0x35,
8214 0xdb, 0x35, 0x9d, 0xbe, 0x45, 0xee, 0xb8, 0xb6, 0x6b, 0xfb, 0xb6, 0xe1, 0xd8, 0x3f, 0x52, 0x97,
8215 0xed, 0x73, 0xd2, 0xbb, 0xb5, 0xfd, 0x0b, 0x64, 0xf0, 0x85, 0x9a, 0xfa, 0xcf, 0xb3, 0x50, 0x6e,
8216 0x11, 0x87, 0x44, 0x7e, 0x5c, 0x07, 0xd4, 0xa1, 0x86, 0x49, 0xda, 0x84, 0xda, 0x9e, 0x75, 0x48,
8217 0x4c, 0xcf, 0xb5, 0x98, 0x08, 0x95, 0x6c, 0xf3, 0xff, 0x46, 0xc3, 0x1a, 0xba, 0x31, 0xc1, 0xc5,
8218 0x17, 0x68, 0x20, 0x07, 0xca, 0x3d, 0x2a, 0xfe, 0xb7, 0x7d, 0x59, 0x48, 0xf8, 0x05, 0x7e, 0x2b,
8219 0xdd, 0x19, 0xb4, 0xe3, 0xaa, 0xcd, 0xd5, 0xd1, 0xb0, 0x56, 0x4e, 0x90, 0x70, 0x12, 0x1c, 0x7d,
8220 0x1b, 0x56, 0x3c, 0xda, 0x3b, 0x31, 0xdc, 0x16, 0xe9, 0x11, 0xd7, 0x22, 0xae, 0xcf, 0x44, 0x52,
8221 0x29, 0x34, 0xd7, 0x78, 0xfa, 0xbf, 0x3d, 0xc6, 0xc3, 0x13, 0xd2, 0xe8, 0x1e, 0xac, 0xf6, 0xa8,
8222 0xd7, 0x33, 0x3a, 0x06, 0x47, 0x6c, 0x7b, 0x8e, 0x6d, 0x0e, 0x44, 0xd2, 0x29, 0x36, 0xaf, 0x8c,
8223 0x86, 0xb5, 0xd5, 0xf6, 0x38, 0xf3, 0x7c, 0x58, 0x7b, 0x49, 0x6c, 0x1d, 0xa7, 0x44, 0x4c, 0x3c,
8224 0x09, 0x13, 0x3b, 0xdb, 0xdc, 0xb4, 0xb3, 0xd5, 0xf7, 0xa1, 0xd0, 0xea, 0x53, 0xa1, 0x85, 0xbe,
8225 0x09, 0x05, 0x4b, 0xfe, 0x2f, 0x77, 0xfe, 0xd5, 0xb0, 0x7e, 0x86, 0x32, 0xe7, 0xc3, 0x5a, 0x99,
8226 0x57, 0xfc, 0x7a, 0x48, 0xc0, 0x4a, 0x45, 0xbf, 0x0f, 0xe5, 0xbd, 0x87, 0x3d, 0x8f, 0xfa, 0xe1,
8227 0x99, 0xbe, 0x0e, 0x79, 0x22, 0x08, 0x02, 0xad, 0x10, 0x25, 0xfd, 0x40, 0x0c, 0x4b, 0x2e, 0x4f,
8228 0x42, 0xe4, 0xa1, 0x61, 0xfa, 0x32, 0xa0, 0x54, 0x12, 0xda, 0xe3, 0x44, 0x1c, 0xf0, 0xf4, 0xc7,
8229 0x1a, 0xc0, 0x0d, 0xa2, 0xb0, 0x77, 0x60, 0x39, 0xbc, 0xc0, 0xc9, 0xbc, 0xf2, 0xff, 0x52, 0x7b,
8230 0x19, 0x27, 0xd9, 0x78, 0x5c, 0xfe, 0x33, 0x08, 0xeb, 0xfb, 0x50, 0x14, 0xd9, 0x8c, 0x17, 0x92,
8231 0x28, 0xb5, 0x6a, 0xcf, 0x49, 0xad, 0x61, 0x25, 0xca, 0x4c, 0xab, 0x44, 0xb1, 0xcb, 0xeb, 0x40,
8232 0x39, 0xd0, 0x0d, 0x8b, 0x63, 0x2a, 0x0b, 0x57, 0xa0, 0x10, 0x2e, 0x5c, 0x5a, 0x51, 0x4d, 0x51,
8233 0x08, 0x84, 0x95, 0x44, 0xcc, 0xda, 0x09, 0x24, 0x32, 0x73, 0x3a, 0x63, 0xb1, 0x4a, 0x91, 0x79,
8234 0x7e, 0xa5, 0x88, 0x59, 0xfa, 0x09, 0x54, 0xa6, 0x75, 0x52, 0x2f, 0x50, 0x3b, 0xd2, 0xbb, 0xa2,
8235 0xff, 0x4a, 0x83, 0x95, 0x38, 0x52, 0xfa, 0xe3, 0x4b, 0x6f, 0xe4, 0xf2, 0x9e, 0x23, 0xb6, 0x23,
8236 0xbf, 0xd1, 0x60, 0x2d, 0xb1, 0xb4, 0x99, 0x4e, 0x7c, 0x06, 0xa7, 0xe2, 0xc1, 0x91, 0x9d, 0x21,
8237 0x38, 0x1a, 0x50, 0xda, 0x57, 0x71, 0x4f, 0x2f, 0xef, 0xd2, 0xf4, 0x3f, 0x6b, 0xb0, 0x18, 0xd3,
8238 0x60, 0xe8, 0x3e, 0x2c, 0xf0, 0x1c, 0x68, 0xbb, 0x1d, 0xd9, 0x41, 0xa6, 0x2c, 0xec, 0x31, 0x90,
8239 0x68, 0x5d, 0xed, 0x00, 0x09, 0x87, 0x90, 0xa8, 0x0d, 0x79, 0x4a, 0x58, 0xdf, 0xf1, 0x65, 0xfa,
8240 0xbf, 0x92, 0xb2, 0x04, 0xfb, 0x86, 0xdf, 0x67, 0x41, 0x9e, 0xc4, 0x42, 0x1f, 0x4b, 0x1c, 0xfd,
8241 0x6f, 0x19, 0x28, 0xdf, 0x34, 0x8e, 0x88, 0x73, 0x48, 0x1c, 0x62, 0xfa, 0x1e, 0x45, 0x3f, 0x86,
8242 0x52, 0xd7, 0xf0, 0xcd, 0x13, 0x41, 0x0d, 0xfb, 0xe0, 0x56, 0x3a, 0x43, 0x09, 0xa4, 0xfa, 0x41,
8243 0x04, 0xb3, 0xe7, 0xfa, 0x74, 0xd0, 0x7c, 0x49, 0x2e, 0xac, 0x14, 0xe3, 0xe0, 0xb8, 0x35, 0xf1,
8244 0x78, 0x11, 0xdf, 0x7b, 0x0f, 0x7b, 0xbc, 0xe0, 0xcf, 0xfe, 0x66, 0x4a, 0xb8, 0x80, 0xc9, 0xfb,
8245 0x7d, 0x9b, 0x92, 0x2e, 0x71, 0xfd, 0xe8, 0xf1, 0x72, 0x30, 0x86, 0x8f, 0x27, 0x2c, 0xae, 0xbf,
8246 0x03, 0x2b, 0xe3, 0xce, 0xa3, 0x15, 0xc8, 0x9e, 0x92, 0x41, 0x10, 0x0b, 0x98, 0xff, 0x8b, 0xd6,
8247 0x20, 0x77, 0x66, 0x38, 0x7d, 0x99, 0x7f, 0x70, 0xf0, 0x71, 0x2d, 0x73, 0x55, 0xd3, 0x7f, 0xa7,
8248 0x41, 0x65, 0x9a, 0x23, 0xe8, 0xf3, 0x31, 0xa0, 0x66, 0x49, 0x7a, 0x95, 0x7d, 0x97, 0x0c, 0x02,
8249 0xd4, 0x3d, 0x28, 0x78, 0x3d, 0xfe, 0xdc, 0xf4, 0xa8, 0x8c, 0xf3, 0x37, 0xc2, 0xd8, 0xbd, 0x2d,
8250 0xe9, 0xe7, 0xc3, 0xda, 0xcb, 0x09, 0xf8, 0x90, 0x81, 0x95, 0x2a, 0x2f, 0x92, 0xc2, 0x1f, 0x5e,
8251 0xb8, 0x55, 0x91, 0xbc, 0x2b, 0x28, 0x58, 0x72, 0xf4, 0x3f, 0x6a, 0x30, 0x2f, 0x5a, 0xd9, 0xfb,
8252 0x50, 0xe0, 0xfb, 0x67, 0x19, 0xbe, 0x21, 0xfc, 0x4a, 0xfd, 0xf0, 0xe1, 0xda, 0x07, 0xc4, 0x37,
8253 0xa2, 0xfb, 0x15, 0x52, 0xb0, 0x42, 0x44, 0x18, 0x72, 0xb6, 0x4f, 0xba, 0xe1, 0x41, 0xbe, 0x39,
8254 0x15, 0x5a, 0x3e, 0xbb, 0xeb, 0xd8, 0x78, 0xb0, 0xf7, 0xd0, 0x27, 0x2e, 0x3f, 0x8c, 0x28, 0x19,
8255 0xec, 0x73, 0x0c, 0x1c, 0x40, 0xe9, 0xbf, 0xd7, 0x40, 0x99, 0xe2, 0xd7, 0x9d, 0x11, 0xe7, 0xf8,
8256 0xa6, 0xed, 0x9e, 0xca, 0x6d, 0x55, 0xee, 0x1c, 0x4a, 0x3a, 0x56, 0x12, 0x17, 0x95, 0xd8, 0xcc,
8257 0x8c, 0x25, 0xf6, 0x0a, 0x14, 0x4c, 0xcf, 0xf5, 0x6d, 0xb7, 0x3f, 0x91, 0x5f, 0x76, 0x25, 0x1d,
8258 0x2b, 0x09, 0xfd, 0x69, 0x16, 0x4a, 0xdc, 0xd7, 0xb0, 0xc6, 0x7f, 0x1d, 0xca, 0x4e, 0xfc, 0xf4,
8259 0xa4, 0xcf, 0x2f, 0x4b, 0x88, 0xe4, 0x7d, 0xc4, 0x49, 0x59, 0xae, 0x7c, 0x6c, 0x13, 0xc7, 0x52,
8260 0xca, 0x99, 0xa4, 0xf2, 0xf5, 0x38, 0x13, 0x27, 0x65, 0x79, 0x9e, 0x7d, 0xc0, 0xe3, 0x5a, 0x36,
8261 0x73, 0x6a, 0x6b, 0xbf, 0xc3, 0x89, 0x38, 0xe0, 0x5d, 0xb4, 0x3f, 0xf3, 0x33, 0xee, 0xcf, 0x35,
8262 0x58, 0xe2, 0x07, 0xe9, 0xf5, 0xfd, 0xb0, 0xe3, 0xcd, 0x89, 0xbe, 0x0b, 0x8d, 0x86, 0xb5, 0xa5,
8263 0xf7, 0x12, 0x1c, 0x3c, 0x26, 0x39, 0xb5, 0x7d, 0xc9, 0x7f, 0xd2, 0xf6, 0x85, 0xaf, 0xda, 0xb1,
8264 0xbb, 0xb6, 0x5f, 0x59, 0x10, 0x4e, 0xa8, 0x55, 0xdf, 0xe4, 0x44, 0x1c, 0xf0, 0x12, 0x47, 0x5a,
8265 0xb8, 0xf4, 0x48, 0xdf, 0x87, 0xe2, 0x81, 0x6d, 0x52, 0x8f, 0xaf, 0x85, 0x17, 0x26, 0x96, 0x68,
8266 0xec, 0x55, 0x02, 0x0f, 0xd7, 0x18, 0xf2, 0xb9, 0x2b, 0xae, 0xe1, 0x7a, 0x41, 0xfb, 0x9e, 0x8b,
8267 0x5c, 0xb9, 0xc5, 0x89, 0x38, 0xe0, 0x5d, 0x5b, 0xe3, 0xf5, 0xe8, 0x17, 0x8f, 0x6b, 0x73, 0x8f,
8268 0x1e, 0xd7, 0xe6, 0x3e, 0x7c, 0x2c, 0x6b, 0xd3, 0xbf, 0x00, 0xe0, 0xf6, 0xd1, 0x0f, 0x89, 0x19,
8269 0xc4, 0xfc, 0xe5, 0x13, 0x04, 0xde, 0x63, 0xc8, 0xc1, 0x95, 0x78, 0x6d, 0x67, 0xc6, 0x7a, 0x8c,
8270 0x18, 0x0f, 0x27, 0x24, 0x51, 0x03, 0x8a, 0x6a, 0xaa, 0x20, 0xe3, 0x7b, 0x55, 0xaa, 0x15, 0xd5,
8271 0xe8, 0x01, 0x47, 0x32, 0x89, 0x0b, 0x38, 0x7f, 0xe9, 0x05, 0x6c, 0x42, 0xb6, 0x6f, 0x5b, 0x22,
8272 0x24, 0x8a, 0xcd, 0x2f, 0x87, 0x09, 0xf0, 0xce, 0x7e, 0xeb, 0x7c, 0x58, 0x7b, 0x75, 0xda, 0x48,
8273 0xce, 0x1f, 0xf4, 0x08, 0xab, 0xdf, 0xd9, 0x6f, 0x61, 0xae, 0x7c, 0x51, 0x90, 0xe6, 0x67, 0x0c,
8274 0xd2, 0x6d, 0x00, 0xb9, 0x6a, 0xae, 0x1d, 0xc4, 0x86, 0x9a, 0xb0, 0xdc, 0x50, 0x1c, 0x1c, 0x93,
8275 0x42, 0x0c, 0x56, 0x4d, 0xfe, 0xce, 0xb4, 0x3d, 0x97, 0x1f, 0x3d, 0xf3, 0x8d, 0x6e, 0x30, 0x63,
8276 0x28, 0x6d, 0x7f, 0x31, 0x5d, 0xc6, 0xe4, 0x6a, 0xcd, 0x57, 0xa4, 0x99, 0xd5, 0xdd, 0x71, 0x30,
8277 0x3c, 0x89, 0x8f, 0x3c, 0x58, 0xb5, 0xe4, 0xcb, 0x28, 0x32, 0x5a, 0x9c, 0xd9, 0xe8, 0xcb, 0xdc,
8278 0x60, 0x6b, 0x1c, 0x08, 0x4f, 0x62, 0xa3, 0xef, 0xc3, 0x7a, 0x48, 0x9c, 0x7c, 0x9e, 0x56, 0x40,
8279 0xec, 0x54, 0x95, 0x3f, 0xdc, 0x5b, 0x53, 0xa5, 0xf0, 0x73, 0x10, 0x90, 0x05, 0x79, 0x27, 0xe8,
8280 0x2e, 0x4a, 0xa2, 0x22, 0x7c, 0x23, 0xdd, 0x2a, 0xa2, 0xe8, 0xaf, 0xc7, 0xbb, 0x0a, 0xf5, 0xfc,
8281 0x92, 0x0d, 0x85, 0xc4, 0x46, 0x0f, 0xa1, 0x64, 0xb8, 0xae, 0xe7, 0x1b, 0xc1, 0x83, 0x79, 0x51,
8282 0x98, 0xda, 0x99, 0xd9, 0xd4, 0x4e, 0x84, 0x31, 0xd6, 0xc5, 0xc4, 0x38, 0x38, 0x6e, 0x0a, 0x3d,
8283 0x80, 0x65, 0xef, 0x81, 0x4b, 0x28, 0x26, 0xc7, 0x84, 0x12, 0xd7, 0x24, 0xac, 0x52, 0x16, 0xd6,
8284 0xbf, 0x92, 0xd2, 0x7a, 0x42, 0x39, 0x0a, 0xe9, 0x24, 0x9d, 0xe1, 0x71, 0x2b, 0xa8, 0x0e, 0x70,
8285 0x6c, 0xbb, 0xb2, 0x17, 0xad, 0x2c, 0x45, 0x63, 0xb2, 0xeb, 0x8a, 0x8a, 0x63, 0x12, 0xe8, 0xab,
8286 0x50, 0x32, 0x9d, 0x3e, 0xf3, 0x49, 0x30, 0x8f, 0x5b, 0x16, 0x37, 0x48, 0xad, 0x6f, 0x37, 0x62,
8287 0xe1, 0xb8, 0x1c, 0x3a, 0x81, 0x45, 0x3b, 0xd6, 0xf4, 0x56, 0x56, 0x44, 0x2c, 0x6e, 0xcf, 0xdc,
8288 0xe9, 0xb2, 0xe6, 0x0a, 0xcf, 0x44, 0x71, 0x0a, 0x4e, 0x20, 0xaf, 0x7f, 0x0d, 0x4a, 0x9f, 0xb0,
8289 0x07, 0xe3, 0x3d, 0xdc, 0xf8, 0xd1, 0xcd, 0xd4, 0xc3, 0xfd, 0x25, 0x03, 0x4b, 0xc9, 0x0d, 0x57,
8290 0x6f, 0x1d, 0x6d, 0xea, 0x7c, 0x35, 0xcc, 0xca, 0xd9, 0xa9, 0x59, 0x59, 0x26, 0xbf, 0xf9, 0x17,
8291 0x49, 0x7e, 0xdb, 0x00, 0x46, 0xcf, 0x0e, 0xf3, 0x5e, 0x90, 0x47, 0x55, 0xe6, 0x8a, 0x26, 0x7e,
8292 0x38, 0x26, 0x25, 0x26, 0xa8, 0x9e, 0xeb, 0x53, 0xcf, 0x71, 0x08, 0x95, 0xc5, 0x34, 0x98, 0xa0,
8293 0x2a, 0x2a, 0x8e, 0x49, 0xa0, 0xeb, 0x80, 0x8e, 0x1c, 0xcf, 0x3c, 0x15, 0x5b, 0x10, 0xde, 0x73,
8294 0x91, 0x25, 0x0b, 0xc1, 0xe0, 0xaa, 0x39, 0xc1, 0xc5, 0x17, 0x68, 0xe8, 0x0b, 0x90, 0x6b, 0xf3,
8295 0xb6, 0x42, 0xbf, 0x0d, 0xc9, 0x99, 0x13, 0x7a, 0x27, 0xd8, 0x09, 0x4d, 0x0d, 0x85, 0x66, 0xdb,
8296 0x05, 0xfd, 0x0a, 0x14, 0xb1, 0xe7, 0xf9, 0x6d, 0xc3, 0x3f, 0x61, 0xa8, 0x06, 0xb9, 0x1e, 0xff,
8297 0x47, 0x8e, 0xfb, 0xc4, 0xac, 0x5a, 0x70, 0x70, 0x40, 0xd7, 0x7f, 0xa9, 0xc1, 0x2b, 0x53, 0xe7,
8298 0x8c, 0x7c, 0x47, 0x4d, 0xf5, 0x25, 0x5d, 0x52, 0x3b, 0x1a, 0xc9, 0xe1, 0x98, 0x14, 0xef, 0xc4,
8299 0x12, 0xc3, 0xc9, 0xf1, 0x4e, 0x2c, 0x61, 0x0d, 0x27, 0x65, 0xf5, 0x7f, 0x67, 0x20, 0x1f, 0x3c,
8300 0xcb, 0x3e, 0xe3, 0xe6, 0xfb, 0x75, 0xc8, 0x33, 0x61, 0x47, 0xba, 0xa7, 0xb2, 0x65, 0x60, 0x1d,
8301 0x4b, 0x2e, 0x6f, 0x62, 0xba, 0x84, 0x31, 0xa3, 0x13, 0x06, 0xaf, 0x6a, 0x62, 0x0e, 0x02, 0x32,
8302 0x0e, 0xf9, 0xe8, 0x6d, 0xfe, 0x0a, 0x35, 0x98, 0xea, 0x0b, 0xab, 0x21, 0x24, 0x16, 0xd4, 0xf3,
8303 0x61, 0x6d, 0x51, 0x82, 0x8b, 0x6f, 0x2c, 0xa5, 0xd1, 0x3d, 0x58, 0xb0, 0x88, 0x6f, 0xd8, 0x4e,
8304 0xd0, 0x0e, 0xa6, 0x9e, 0x5e, 0x06, 0x60, 0xad, 0x40, 0xb5, 0x59, 0xe2, 0x3e, 0xc9, 0x0f, 0x1c,
8305 0x02, 0xf2, 0x8b, 0x67, 0x7a, 0x56, 0xf0, 0x93, 0x42, 0x2e, 0xba, 0x78, 0xbb, 0x9e, 0x45, 0xb0,
8306 0xe0, 0xe8, 0x8f, 0x34, 0x28, 0x05, 0x48, 0xbb, 0x46, 0x9f, 0x11, 0xb4, 0xa5, 0x56, 0x11, 0x1c,
8307 0x77, 0x58, 0x93, 0xe7, 0xdf, 0x1b, 0xf4, 0xc8, 0xf9, 0xb0, 0x56, 0x14, 0x62, 0xfc, 0x43, 0x2d,
8308 0x20, 0xb6, 0x47, 0x99, 0x4b, 0xf6, 0xe8, 0x35, 0xc8, 0x89, 0xd6, 0x5b, 0x6e, 0xa6, 0x6a, 0xf4,
8309 0x44, 0x7b, 0x8e, 0x03, 0x9e, 0xfe, 0x71, 0x06, 0xca, 0x89, 0xc5, 0xa5, 0xe8, 0xea, 0xd4, 0xa8,
8310 0x24, 0x93, 0x62, 0xfc, 0x36, 0xfd, 0x87, 0xa0, 0xef, 0x42, 0xde, 0xe4, 0xeb, 0x0b, 0x7f, 0x89,
8311 0xdb, 0x9a, 0xe5, 0x28, 0xc4, 0xce, 0x44, 0x91, 0x24, 0x3e, 0x19, 0x96, 0x80, 0xe8, 0x06, 0xac,
8312 0x52, 0xe2, 0xd3, 0xc1, 0xce, 0xb1, 0x4f, 0x68, 0xbc, 0xff, 0xcf, 0x45, 0x7d, 0x0f, 0x1e, 0x17,
8313 0xc0, 0x93, 0x3a, 0x61, 0xaa, 0xcc, 0xbf, 0x40, 0xaa, 0xd4, 0x1d, 0x98, 0xff, 0x2f, 0xf6, 0xe8,
8314 0xdf, 0x83, 0x62, 0xd4, 0x45, 0x7d, 0xca, 0x26, 0xf5, 0x1f, 0x40, 0x81, 0x47, 0x63, 0xd8, 0xfd,
8315 0x5f, 0x52, 0x89, 0x92, 0x35, 0x22, 0x93, 0xa6, 0x46, 0xe8, 0x6f, 0x41, 0xf9, 0x4e, 0xcf, 0x9a,
8316 0xed, 0x57, 0x14, 0x7d, 0x1b, 0x82, 0x1f, 0x05, 0x79, 0x0a, 0x0e, 0x9e, 0xf9, 0xb1, 0x14, 0x1c,
8317 0x7f, 0xb3, 0x27, 0x7f, 0xaf, 0x01, 0xf1, 0xe6, 0xdc, 0x3b, 0x23, 0xae, 0xcf, 0x57, 0xc3, 0x8f,
8318 0x6d, 0x7c, 0x35, 0xe2, 0xee, 0x09, 0x0e, 0xba, 0x03, 0x79, 0x4f, 0xb4, 0x64, 0x72, 0xf0, 0x35,
8319 0xe3, 0x0c, 0x41, 0x85, 0x6a, 0xd0, 0xd7, 0x61, 0x09, 0xd6, 0xdc, 0x7c, 0xf2, 0xac, 0x3a, 0xf7,
8320 0xf4, 0x59, 0x75, 0xee, 0xa3, 0x67, 0xd5, 0xb9, 0x0f, 0x46, 0x55, 0xed, 0xc9, 0xa8, 0xaa, 0x3d,
8321 0x1d, 0x55, 0xb5, 0x8f, 0x46, 0x55, 0xed, 0xe3, 0x51, 0x55, 0x7b, 0xf4, 0x8f, 0xea, 0xdc, 0xbd,
8322 0xcc, 0xd9, 0xd6, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xab, 0xec, 0x02, 0x4a, 0x00, 0x21, 0x00,
8323 0x00,
8324}