blob: bd37f432c46c8b75e06bf307955b933dcf93adf9 [file] [log] [blame]
Matteo Scandoloa4285862020-12-01 18:10:10 -08001/*
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. DO NOT EDIT.
18// source: k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto
19
20package v1beta1
21
22import (
23 fmt "fmt"
24
25 io "io"
26
27 proto "github.com/gogo/protobuf/proto"
28 github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
29 k8s_io_api_core_v1 "k8s.io/api/core/v1"
30 v11 "k8s.io/api/core/v1"
31 v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
32
33 math "math"
34 math_bits "math/bits"
35 reflect "reflect"
36 strings "strings"
37
38 intstr "k8s.io/apimachinery/pkg/util/intstr"
39)
40
41// Reference imports to suppress errors if they are not otherwise used.
42var _ = proto.Marshal
43var _ = fmt.Errorf
44var _ = math.Inf
45
46// This is a compile-time assertion to ensure that this generated file
47// is compatible with the proto package it is being compiled against.
48// A compilation error at this line likely means your copy of the
49// proto package needs to be updated.
50const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
51
52func (m *AllowedCSIDriver) Reset() { *m = AllowedCSIDriver{} }
53func (*AllowedCSIDriver) ProtoMessage() {}
54func (*AllowedCSIDriver) Descriptor() ([]byte, []int) {
55 return fileDescriptor_cdc93917efc28165, []int{0}
56}
57func (m *AllowedCSIDriver) XXX_Unmarshal(b []byte) error {
58 return m.Unmarshal(b)
59}
60func (m *AllowedCSIDriver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
61 b = b[:cap(b)]
62 n, err := m.MarshalToSizedBuffer(b)
63 if err != nil {
64 return nil, err
65 }
66 return b[:n], nil
67}
68func (m *AllowedCSIDriver) XXX_Merge(src proto.Message) {
69 xxx_messageInfo_AllowedCSIDriver.Merge(m, src)
70}
71func (m *AllowedCSIDriver) XXX_Size() int {
72 return m.Size()
73}
74func (m *AllowedCSIDriver) XXX_DiscardUnknown() {
75 xxx_messageInfo_AllowedCSIDriver.DiscardUnknown(m)
76}
77
78var xxx_messageInfo_AllowedCSIDriver proto.InternalMessageInfo
79
80func (m *AllowedFlexVolume) Reset() { *m = AllowedFlexVolume{} }
81func (*AllowedFlexVolume) ProtoMessage() {}
82func (*AllowedFlexVolume) Descriptor() ([]byte, []int) {
83 return fileDescriptor_cdc93917efc28165, []int{1}
84}
85func (m *AllowedFlexVolume) XXX_Unmarshal(b []byte) error {
86 return m.Unmarshal(b)
87}
88func (m *AllowedFlexVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
89 b = b[:cap(b)]
90 n, err := m.MarshalToSizedBuffer(b)
91 if err != nil {
92 return nil, err
93 }
94 return b[:n], nil
95}
96func (m *AllowedFlexVolume) XXX_Merge(src proto.Message) {
97 xxx_messageInfo_AllowedFlexVolume.Merge(m, src)
98}
99func (m *AllowedFlexVolume) XXX_Size() int {
100 return m.Size()
101}
102func (m *AllowedFlexVolume) XXX_DiscardUnknown() {
103 xxx_messageInfo_AllowedFlexVolume.DiscardUnknown(m)
104}
105
106var xxx_messageInfo_AllowedFlexVolume proto.InternalMessageInfo
107
108func (m *AllowedHostPath) Reset() { *m = AllowedHostPath{} }
109func (*AllowedHostPath) ProtoMessage() {}
110func (*AllowedHostPath) Descriptor() ([]byte, []int) {
111 return fileDescriptor_cdc93917efc28165, []int{2}
112}
113func (m *AllowedHostPath) XXX_Unmarshal(b []byte) error {
114 return m.Unmarshal(b)
115}
116func (m *AllowedHostPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
117 b = b[:cap(b)]
118 n, err := m.MarshalToSizedBuffer(b)
119 if err != nil {
120 return nil, err
121 }
122 return b[:n], nil
123}
124func (m *AllowedHostPath) XXX_Merge(src proto.Message) {
125 xxx_messageInfo_AllowedHostPath.Merge(m, src)
126}
127func (m *AllowedHostPath) XXX_Size() int {
128 return m.Size()
129}
130func (m *AllowedHostPath) XXX_DiscardUnknown() {
131 xxx_messageInfo_AllowedHostPath.DiscardUnknown(m)
132}
133
134var xxx_messageInfo_AllowedHostPath proto.InternalMessageInfo
135
136func (m *DaemonSet) Reset() { *m = DaemonSet{} }
137func (*DaemonSet) ProtoMessage() {}
138func (*DaemonSet) Descriptor() ([]byte, []int) {
139 return fileDescriptor_cdc93917efc28165, []int{3}
140}
141func (m *DaemonSet) XXX_Unmarshal(b []byte) error {
142 return m.Unmarshal(b)
143}
144func (m *DaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
145 b = b[:cap(b)]
146 n, err := m.MarshalToSizedBuffer(b)
147 if err != nil {
148 return nil, err
149 }
150 return b[:n], nil
151}
152func (m *DaemonSet) XXX_Merge(src proto.Message) {
153 xxx_messageInfo_DaemonSet.Merge(m, src)
154}
155func (m *DaemonSet) XXX_Size() int {
156 return m.Size()
157}
158func (m *DaemonSet) XXX_DiscardUnknown() {
159 xxx_messageInfo_DaemonSet.DiscardUnknown(m)
160}
161
162var xxx_messageInfo_DaemonSet proto.InternalMessageInfo
163
164func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} }
165func (*DaemonSetCondition) ProtoMessage() {}
166func (*DaemonSetCondition) Descriptor() ([]byte, []int) {
167 return fileDescriptor_cdc93917efc28165, []int{4}
168}
169func (m *DaemonSetCondition) XXX_Unmarshal(b []byte) error {
170 return m.Unmarshal(b)
171}
172func (m *DaemonSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
173 b = b[:cap(b)]
174 n, err := m.MarshalToSizedBuffer(b)
175 if err != nil {
176 return nil, err
177 }
178 return b[:n], nil
179}
180func (m *DaemonSetCondition) XXX_Merge(src proto.Message) {
181 xxx_messageInfo_DaemonSetCondition.Merge(m, src)
182}
183func (m *DaemonSetCondition) XXX_Size() int {
184 return m.Size()
185}
186func (m *DaemonSetCondition) XXX_DiscardUnknown() {
187 xxx_messageInfo_DaemonSetCondition.DiscardUnknown(m)
188}
189
190var xxx_messageInfo_DaemonSetCondition proto.InternalMessageInfo
191
192func (m *DaemonSetList) Reset() { *m = DaemonSetList{} }
193func (*DaemonSetList) ProtoMessage() {}
194func (*DaemonSetList) Descriptor() ([]byte, []int) {
195 return fileDescriptor_cdc93917efc28165, []int{5}
196}
197func (m *DaemonSetList) XXX_Unmarshal(b []byte) error {
198 return m.Unmarshal(b)
199}
200func (m *DaemonSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
201 b = b[:cap(b)]
202 n, err := m.MarshalToSizedBuffer(b)
203 if err != nil {
204 return nil, err
205 }
206 return b[:n], nil
207}
208func (m *DaemonSetList) XXX_Merge(src proto.Message) {
209 xxx_messageInfo_DaemonSetList.Merge(m, src)
210}
211func (m *DaemonSetList) XXX_Size() int {
212 return m.Size()
213}
214func (m *DaemonSetList) XXX_DiscardUnknown() {
215 xxx_messageInfo_DaemonSetList.DiscardUnknown(m)
216}
217
218var xxx_messageInfo_DaemonSetList proto.InternalMessageInfo
219
220func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} }
221func (*DaemonSetSpec) ProtoMessage() {}
222func (*DaemonSetSpec) Descriptor() ([]byte, []int) {
223 return fileDescriptor_cdc93917efc28165, []int{6}
224}
225func (m *DaemonSetSpec) XXX_Unmarshal(b []byte) error {
226 return m.Unmarshal(b)
227}
228func (m *DaemonSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
229 b = b[:cap(b)]
230 n, err := m.MarshalToSizedBuffer(b)
231 if err != nil {
232 return nil, err
233 }
234 return b[:n], nil
235}
236func (m *DaemonSetSpec) XXX_Merge(src proto.Message) {
237 xxx_messageInfo_DaemonSetSpec.Merge(m, src)
238}
239func (m *DaemonSetSpec) XXX_Size() int {
240 return m.Size()
241}
242func (m *DaemonSetSpec) XXX_DiscardUnknown() {
243 xxx_messageInfo_DaemonSetSpec.DiscardUnknown(m)
244}
245
246var xxx_messageInfo_DaemonSetSpec proto.InternalMessageInfo
247
248func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} }
249func (*DaemonSetStatus) ProtoMessage() {}
250func (*DaemonSetStatus) Descriptor() ([]byte, []int) {
251 return fileDescriptor_cdc93917efc28165, []int{7}
252}
253func (m *DaemonSetStatus) XXX_Unmarshal(b []byte) error {
254 return m.Unmarshal(b)
255}
256func (m *DaemonSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
257 b = b[:cap(b)]
258 n, err := m.MarshalToSizedBuffer(b)
259 if err != nil {
260 return nil, err
261 }
262 return b[:n], nil
263}
264func (m *DaemonSetStatus) XXX_Merge(src proto.Message) {
265 xxx_messageInfo_DaemonSetStatus.Merge(m, src)
266}
267func (m *DaemonSetStatus) XXX_Size() int {
268 return m.Size()
269}
270func (m *DaemonSetStatus) XXX_DiscardUnknown() {
271 xxx_messageInfo_DaemonSetStatus.DiscardUnknown(m)
272}
273
274var xxx_messageInfo_DaemonSetStatus proto.InternalMessageInfo
275
276func (m *DaemonSetUpdateStrategy) Reset() { *m = DaemonSetUpdateStrategy{} }
277func (*DaemonSetUpdateStrategy) ProtoMessage() {}
278func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int) {
279 return fileDescriptor_cdc93917efc28165, []int{8}
280}
281func (m *DaemonSetUpdateStrategy) XXX_Unmarshal(b []byte) error {
282 return m.Unmarshal(b)
283}
284func (m *DaemonSetUpdateStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
285 b = b[:cap(b)]
286 n, err := m.MarshalToSizedBuffer(b)
287 if err != nil {
288 return nil, err
289 }
290 return b[:n], nil
291}
292func (m *DaemonSetUpdateStrategy) XXX_Merge(src proto.Message) {
293 xxx_messageInfo_DaemonSetUpdateStrategy.Merge(m, src)
294}
295func (m *DaemonSetUpdateStrategy) XXX_Size() int {
296 return m.Size()
297}
298func (m *DaemonSetUpdateStrategy) XXX_DiscardUnknown() {
299 xxx_messageInfo_DaemonSetUpdateStrategy.DiscardUnknown(m)
300}
301
302var xxx_messageInfo_DaemonSetUpdateStrategy proto.InternalMessageInfo
303
304func (m *Deployment) Reset() { *m = Deployment{} }
305func (*Deployment) ProtoMessage() {}
306func (*Deployment) Descriptor() ([]byte, []int) {
307 return fileDescriptor_cdc93917efc28165, []int{9}
308}
309func (m *Deployment) XXX_Unmarshal(b []byte) error {
310 return m.Unmarshal(b)
311}
312func (m *Deployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
313 b = b[:cap(b)]
314 n, err := m.MarshalToSizedBuffer(b)
315 if err != nil {
316 return nil, err
317 }
318 return b[:n], nil
319}
320func (m *Deployment) XXX_Merge(src proto.Message) {
321 xxx_messageInfo_Deployment.Merge(m, src)
322}
323func (m *Deployment) XXX_Size() int {
324 return m.Size()
325}
326func (m *Deployment) XXX_DiscardUnknown() {
327 xxx_messageInfo_Deployment.DiscardUnknown(m)
328}
329
330var xxx_messageInfo_Deployment proto.InternalMessageInfo
331
332func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
333func (*DeploymentCondition) ProtoMessage() {}
334func (*DeploymentCondition) Descriptor() ([]byte, []int) {
335 return fileDescriptor_cdc93917efc28165, []int{10}
336}
337func (m *DeploymentCondition) XXX_Unmarshal(b []byte) error {
338 return m.Unmarshal(b)
339}
340func (m *DeploymentCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
341 b = b[:cap(b)]
342 n, err := m.MarshalToSizedBuffer(b)
343 if err != nil {
344 return nil, err
345 }
346 return b[:n], nil
347}
348func (m *DeploymentCondition) XXX_Merge(src proto.Message) {
349 xxx_messageInfo_DeploymentCondition.Merge(m, src)
350}
351func (m *DeploymentCondition) XXX_Size() int {
352 return m.Size()
353}
354func (m *DeploymentCondition) XXX_DiscardUnknown() {
355 xxx_messageInfo_DeploymentCondition.DiscardUnknown(m)
356}
357
358var xxx_messageInfo_DeploymentCondition proto.InternalMessageInfo
359
360func (m *DeploymentList) Reset() { *m = DeploymentList{} }
361func (*DeploymentList) ProtoMessage() {}
362func (*DeploymentList) Descriptor() ([]byte, []int) {
363 return fileDescriptor_cdc93917efc28165, []int{11}
364}
365func (m *DeploymentList) XXX_Unmarshal(b []byte) error {
366 return m.Unmarshal(b)
367}
368func (m *DeploymentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
369 b = b[:cap(b)]
370 n, err := m.MarshalToSizedBuffer(b)
371 if err != nil {
372 return nil, err
373 }
374 return b[:n], nil
375}
376func (m *DeploymentList) XXX_Merge(src proto.Message) {
377 xxx_messageInfo_DeploymentList.Merge(m, src)
378}
379func (m *DeploymentList) XXX_Size() int {
380 return m.Size()
381}
382func (m *DeploymentList) XXX_DiscardUnknown() {
383 xxx_messageInfo_DeploymentList.DiscardUnknown(m)
384}
385
386var xxx_messageInfo_DeploymentList proto.InternalMessageInfo
387
388func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} }
389func (*DeploymentRollback) ProtoMessage() {}
390func (*DeploymentRollback) Descriptor() ([]byte, []int) {
391 return fileDescriptor_cdc93917efc28165, []int{12}
392}
393func (m *DeploymentRollback) XXX_Unmarshal(b []byte) error {
394 return m.Unmarshal(b)
395}
396func (m *DeploymentRollback) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
397 b = b[:cap(b)]
398 n, err := m.MarshalToSizedBuffer(b)
399 if err != nil {
400 return nil, err
401 }
402 return b[:n], nil
403}
404func (m *DeploymentRollback) XXX_Merge(src proto.Message) {
405 xxx_messageInfo_DeploymentRollback.Merge(m, src)
406}
407func (m *DeploymentRollback) XXX_Size() int {
408 return m.Size()
409}
410func (m *DeploymentRollback) XXX_DiscardUnknown() {
411 xxx_messageInfo_DeploymentRollback.DiscardUnknown(m)
412}
413
414var xxx_messageInfo_DeploymentRollback proto.InternalMessageInfo
415
416func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
417func (*DeploymentSpec) ProtoMessage() {}
418func (*DeploymentSpec) Descriptor() ([]byte, []int) {
419 return fileDescriptor_cdc93917efc28165, []int{13}
420}
421func (m *DeploymentSpec) XXX_Unmarshal(b []byte) error {
422 return m.Unmarshal(b)
423}
424func (m *DeploymentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
425 b = b[:cap(b)]
426 n, err := m.MarshalToSizedBuffer(b)
427 if err != nil {
428 return nil, err
429 }
430 return b[:n], nil
431}
432func (m *DeploymentSpec) XXX_Merge(src proto.Message) {
433 xxx_messageInfo_DeploymentSpec.Merge(m, src)
434}
435func (m *DeploymentSpec) XXX_Size() int {
436 return m.Size()
437}
438func (m *DeploymentSpec) XXX_DiscardUnknown() {
439 xxx_messageInfo_DeploymentSpec.DiscardUnknown(m)
440}
441
442var xxx_messageInfo_DeploymentSpec proto.InternalMessageInfo
443
444func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
445func (*DeploymentStatus) ProtoMessage() {}
446func (*DeploymentStatus) Descriptor() ([]byte, []int) {
447 return fileDescriptor_cdc93917efc28165, []int{14}
448}
449func (m *DeploymentStatus) XXX_Unmarshal(b []byte) error {
450 return m.Unmarshal(b)
451}
452func (m *DeploymentStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
453 b = b[:cap(b)]
454 n, err := m.MarshalToSizedBuffer(b)
455 if err != nil {
456 return nil, err
457 }
458 return b[:n], nil
459}
460func (m *DeploymentStatus) XXX_Merge(src proto.Message) {
461 xxx_messageInfo_DeploymentStatus.Merge(m, src)
462}
463func (m *DeploymentStatus) XXX_Size() int {
464 return m.Size()
465}
466func (m *DeploymentStatus) XXX_DiscardUnknown() {
467 xxx_messageInfo_DeploymentStatus.DiscardUnknown(m)
468}
469
470var xxx_messageInfo_DeploymentStatus proto.InternalMessageInfo
471
472func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
473func (*DeploymentStrategy) ProtoMessage() {}
474func (*DeploymentStrategy) Descriptor() ([]byte, []int) {
475 return fileDescriptor_cdc93917efc28165, []int{15}
476}
477func (m *DeploymentStrategy) XXX_Unmarshal(b []byte) error {
478 return m.Unmarshal(b)
479}
480func (m *DeploymentStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
481 b = b[:cap(b)]
482 n, err := m.MarshalToSizedBuffer(b)
483 if err != nil {
484 return nil, err
485 }
486 return b[:n], nil
487}
488func (m *DeploymentStrategy) XXX_Merge(src proto.Message) {
489 xxx_messageInfo_DeploymentStrategy.Merge(m, src)
490}
491func (m *DeploymentStrategy) XXX_Size() int {
492 return m.Size()
493}
494func (m *DeploymentStrategy) XXX_DiscardUnknown() {
495 xxx_messageInfo_DeploymentStrategy.DiscardUnknown(m)
496}
497
498var xxx_messageInfo_DeploymentStrategy proto.InternalMessageInfo
499
500func (m *FSGroupStrategyOptions) Reset() { *m = FSGroupStrategyOptions{} }
501func (*FSGroupStrategyOptions) ProtoMessage() {}
502func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) {
503 return fileDescriptor_cdc93917efc28165, []int{16}
504}
505func (m *FSGroupStrategyOptions) XXX_Unmarshal(b []byte) error {
506 return m.Unmarshal(b)
507}
508func (m *FSGroupStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
509 b = b[:cap(b)]
510 n, err := m.MarshalToSizedBuffer(b)
511 if err != nil {
512 return nil, err
513 }
514 return b[:n], nil
515}
516func (m *FSGroupStrategyOptions) XXX_Merge(src proto.Message) {
517 xxx_messageInfo_FSGroupStrategyOptions.Merge(m, src)
518}
519func (m *FSGroupStrategyOptions) XXX_Size() int {
520 return m.Size()
521}
522func (m *FSGroupStrategyOptions) XXX_DiscardUnknown() {
523 xxx_messageInfo_FSGroupStrategyOptions.DiscardUnknown(m)
524}
525
526var xxx_messageInfo_FSGroupStrategyOptions proto.InternalMessageInfo
527
528func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} }
529func (*HTTPIngressPath) ProtoMessage() {}
530func (*HTTPIngressPath) Descriptor() ([]byte, []int) {
531 return fileDescriptor_cdc93917efc28165, []int{17}
532}
533func (m *HTTPIngressPath) XXX_Unmarshal(b []byte) error {
534 return m.Unmarshal(b)
535}
536func (m *HTTPIngressPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
537 b = b[:cap(b)]
538 n, err := m.MarshalToSizedBuffer(b)
539 if err != nil {
540 return nil, err
541 }
542 return b[:n], nil
543}
544func (m *HTTPIngressPath) XXX_Merge(src proto.Message) {
545 xxx_messageInfo_HTTPIngressPath.Merge(m, src)
546}
547func (m *HTTPIngressPath) XXX_Size() int {
548 return m.Size()
549}
550func (m *HTTPIngressPath) XXX_DiscardUnknown() {
551 xxx_messageInfo_HTTPIngressPath.DiscardUnknown(m)
552}
553
554var xxx_messageInfo_HTTPIngressPath proto.InternalMessageInfo
555
556func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} }
557func (*HTTPIngressRuleValue) ProtoMessage() {}
558func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) {
559 return fileDescriptor_cdc93917efc28165, []int{18}
560}
561func (m *HTTPIngressRuleValue) XXX_Unmarshal(b []byte) error {
562 return m.Unmarshal(b)
563}
564func (m *HTTPIngressRuleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
565 b = b[:cap(b)]
566 n, err := m.MarshalToSizedBuffer(b)
567 if err != nil {
568 return nil, err
569 }
570 return b[:n], nil
571}
572func (m *HTTPIngressRuleValue) XXX_Merge(src proto.Message) {
573 xxx_messageInfo_HTTPIngressRuleValue.Merge(m, src)
574}
575func (m *HTTPIngressRuleValue) XXX_Size() int {
576 return m.Size()
577}
578func (m *HTTPIngressRuleValue) XXX_DiscardUnknown() {
579 xxx_messageInfo_HTTPIngressRuleValue.DiscardUnknown(m)
580}
581
582var xxx_messageInfo_HTTPIngressRuleValue proto.InternalMessageInfo
583
584func (m *HostPortRange) Reset() { *m = HostPortRange{} }
585func (*HostPortRange) ProtoMessage() {}
586func (*HostPortRange) Descriptor() ([]byte, []int) {
587 return fileDescriptor_cdc93917efc28165, []int{19}
588}
589func (m *HostPortRange) XXX_Unmarshal(b []byte) error {
590 return m.Unmarshal(b)
591}
592func (m *HostPortRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
593 b = b[:cap(b)]
594 n, err := m.MarshalToSizedBuffer(b)
595 if err != nil {
596 return nil, err
597 }
598 return b[:n], nil
599}
600func (m *HostPortRange) XXX_Merge(src proto.Message) {
601 xxx_messageInfo_HostPortRange.Merge(m, src)
602}
603func (m *HostPortRange) XXX_Size() int {
604 return m.Size()
605}
606func (m *HostPortRange) XXX_DiscardUnknown() {
607 xxx_messageInfo_HostPortRange.DiscardUnknown(m)
608}
609
610var xxx_messageInfo_HostPortRange proto.InternalMessageInfo
611
612func (m *IDRange) Reset() { *m = IDRange{} }
613func (*IDRange) ProtoMessage() {}
614func (*IDRange) Descriptor() ([]byte, []int) {
615 return fileDescriptor_cdc93917efc28165, []int{20}
616}
617func (m *IDRange) XXX_Unmarshal(b []byte) error {
618 return m.Unmarshal(b)
619}
620func (m *IDRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
621 b = b[:cap(b)]
622 n, err := m.MarshalToSizedBuffer(b)
623 if err != nil {
624 return nil, err
625 }
626 return b[:n], nil
627}
628func (m *IDRange) XXX_Merge(src proto.Message) {
629 xxx_messageInfo_IDRange.Merge(m, src)
630}
631func (m *IDRange) XXX_Size() int {
632 return m.Size()
633}
634func (m *IDRange) XXX_DiscardUnknown() {
635 xxx_messageInfo_IDRange.DiscardUnknown(m)
636}
637
638var xxx_messageInfo_IDRange proto.InternalMessageInfo
639
640func (m *IPBlock) Reset() { *m = IPBlock{} }
641func (*IPBlock) ProtoMessage() {}
642func (*IPBlock) Descriptor() ([]byte, []int) {
643 return fileDescriptor_cdc93917efc28165, []int{21}
644}
645func (m *IPBlock) XXX_Unmarshal(b []byte) error {
646 return m.Unmarshal(b)
647}
648func (m *IPBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
649 b = b[:cap(b)]
650 n, err := m.MarshalToSizedBuffer(b)
651 if err != nil {
652 return nil, err
653 }
654 return b[:n], nil
655}
656func (m *IPBlock) XXX_Merge(src proto.Message) {
657 xxx_messageInfo_IPBlock.Merge(m, src)
658}
659func (m *IPBlock) XXX_Size() int {
660 return m.Size()
661}
662func (m *IPBlock) XXX_DiscardUnknown() {
663 xxx_messageInfo_IPBlock.DiscardUnknown(m)
664}
665
666var xxx_messageInfo_IPBlock proto.InternalMessageInfo
667
668func (m *Ingress) Reset() { *m = Ingress{} }
669func (*Ingress) ProtoMessage() {}
670func (*Ingress) Descriptor() ([]byte, []int) {
671 return fileDescriptor_cdc93917efc28165, []int{22}
672}
673func (m *Ingress) XXX_Unmarshal(b []byte) error {
674 return m.Unmarshal(b)
675}
676func (m *Ingress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
677 b = b[:cap(b)]
678 n, err := m.MarshalToSizedBuffer(b)
679 if err != nil {
680 return nil, err
681 }
682 return b[:n], nil
683}
684func (m *Ingress) XXX_Merge(src proto.Message) {
685 xxx_messageInfo_Ingress.Merge(m, src)
686}
687func (m *Ingress) XXX_Size() int {
688 return m.Size()
689}
690func (m *Ingress) XXX_DiscardUnknown() {
691 xxx_messageInfo_Ingress.DiscardUnknown(m)
692}
693
694var xxx_messageInfo_Ingress proto.InternalMessageInfo
695
696func (m *IngressBackend) Reset() { *m = IngressBackend{} }
697func (*IngressBackend) ProtoMessage() {}
698func (*IngressBackend) Descriptor() ([]byte, []int) {
699 return fileDescriptor_cdc93917efc28165, []int{23}
700}
701func (m *IngressBackend) XXX_Unmarshal(b []byte) error {
702 return m.Unmarshal(b)
703}
704func (m *IngressBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
705 b = b[:cap(b)]
706 n, err := m.MarshalToSizedBuffer(b)
707 if err != nil {
708 return nil, err
709 }
710 return b[:n], nil
711}
712func (m *IngressBackend) XXX_Merge(src proto.Message) {
713 xxx_messageInfo_IngressBackend.Merge(m, src)
714}
715func (m *IngressBackend) XXX_Size() int {
716 return m.Size()
717}
718func (m *IngressBackend) XXX_DiscardUnknown() {
719 xxx_messageInfo_IngressBackend.DiscardUnknown(m)
720}
721
722var xxx_messageInfo_IngressBackend proto.InternalMessageInfo
723
724func (m *IngressList) Reset() { *m = IngressList{} }
725func (*IngressList) ProtoMessage() {}
726func (*IngressList) Descriptor() ([]byte, []int) {
727 return fileDescriptor_cdc93917efc28165, []int{24}
728}
729func (m *IngressList) XXX_Unmarshal(b []byte) error {
730 return m.Unmarshal(b)
731}
732func (m *IngressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
733 b = b[:cap(b)]
734 n, err := m.MarshalToSizedBuffer(b)
735 if err != nil {
736 return nil, err
737 }
738 return b[:n], nil
739}
740func (m *IngressList) XXX_Merge(src proto.Message) {
741 xxx_messageInfo_IngressList.Merge(m, src)
742}
743func (m *IngressList) XXX_Size() int {
744 return m.Size()
745}
746func (m *IngressList) XXX_DiscardUnknown() {
747 xxx_messageInfo_IngressList.DiscardUnknown(m)
748}
749
750var xxx_messageInfo_IngressList proto.InternalMessageInfo
751
752func (m *IngressRule) Reset() { *m = IngressRule{} }
753func (*IngressRule) ProtoMessage() {}
754func (*IngressRule) Descriptor() ([]byte, []int) {
755 return fileDescriptor_cdc93917efc28165, []int{25}
756}
757func (m *IngressRule) XXX_Unmarshal(b []byte) error {
758 return m.Unmarshal(b)
759}
760func (m *IngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
761 b = b[:cap(b)]
762 n, err := m.MarshalToSizedBuffer(b)
763 if err != nil {
764 return nil, err
765 }
766 return b[:n], nil
767}
768func (m *IngressRule) XXX_Merge(src proto.Message) {
769 xxx_messageInfo_IngressRule.Merge(m, src)
770}
771func (m *IngressRule) XXX_Size() int {
772 return m.Size()
773}
774func (m *IngressRule) XXX_DiscardUnknown() {
775 xxx_messageInfo_IngressRule.DiscardUnknown(m)
776}
777
778var xxx_messageInfo_IngressRule proto.InternalMessageInfo
779
780func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} }
781func (*IngressRuleValue) ProtoMessage() {}
782func (*IngressRuleValue) Descriptor() ([]byte, []int) {
783 return fileDescriptor_cdc93917efc28165, []int{26}
784}
785func (m *IngressRuleValue) XXX_Unmarshal(b []byte) error {
786 return m.Unmarshal(b)
787}
788func (m *IngressRuleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
789 b = b[:cap(b)]
790 n, err := m.MarshalToSizedBuffer(b)
791 if err != nil {
792 return nil, err
793 }
794 return b[:n], nil
795}
796func (m *IngressRuleValue) XXX_Merge(src proto.Message) {
797 xxx_messageInfo_IngressRuleValue.Merge(m, src)
798}
799func (m *IngressRuleValue) XXX_Size() int {
800 return m.Size()
801}
802func (m *IngressRuleValue) XXX_DiscardUnknown() {
803 xxx_messageInfo_IngressRuleValue.DiscardUnknown(m)
804}
805
806var xxx_messageInfo_IngressRuleValue proto.InternalMessageInfo
807
808func (m *IngressSpec) Reset() { *m = IngressSpec{} }
809func (*IngressSpec) ProtoMessage() {}
810func (*IngressSpec) Descriptor() ([]byte, []int) {
811 return fileDescriptor_cdc93917efc28165, []int{27}
812}
813func (m *IngressSpec) XXX_Unmarshal(b []byte) error {
814 return m.Unmarshal(b)
815}
816func (m *IngressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
817 b = b[:cap(b)]
818 n, err := m.MarshalToSizedBuffer(b)
819 if err != nil {
820 return nil, err
821 }
822 return b[:n], nil
823}
824func (m *IngressSpec) XXX_Merge(src proto.Message) {
825 xxx_messageInfo_IngressSpec.Merge(m, src)
826}
827func (m *IngressSpec) XXX_Size() int {
828 return m.Size()
829}
830func (m *IngressSpec) XXX_DiscardUnknown() {
831 xxx_messageInfo_IngressSpec.DiscardUnknown(m)
832}
833
834var xxx_messageInfo_IngressSpec proto.InternalMessageInfo
835
836func (m *IngressStatus) Reset() { *m = IngressStatus{} }
837func (*IngressStatus) ProtoMessage() {}
838func (*IngressStatus) Descriptor() ([]byte, []int) {
839 return fileDescriptor_cdc93917efc28165, []int{28}
840}
841func (m *IngressStatus) XXX_Unmarshal(b []byte) error {
842 return m.Unmarshal(b)
843}
844func (m *IngressStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
845 b = b[:cap(b)]
846 n, err := m.MarshalToSizedBuffer(b)
847 if err != nil {
848 return nil, err
849 }
850 return b[:n], nil
851}
852func (m *IngressStatus) XXX_Merge(src proto.Message) {
853 xxx_messageInfo_IngressStatus.Merge(m, src)
854}
855func (m *IngressStatus) XXX_Size() int {
856 return m.Size()
857}
858func (m *IngressStatus) XXX_DiscardUnknown() {
859 xxx_messageInfo_IngressStatus.DiscardUnknown(m)
860}
861
862var xxx_messageInfo_IngressStatus proto.InternalMessageInfo
863
864func (m *IngressTLS) Reset() { *m = IngressTLS{} }
865func (*IngressTLS) ProtoMessage() {}
866func (*IngressTLS) Descriptor() ([]byte, []int) {
867 return fileDescriptor_cdc93917efc28165, []int{29}
868}
869func (m *IngressTLS) XXX_Unmarshal(b []byte) error {
870 return m.Unmarshal(b)
871}
872func (m *IngressTLS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
873 b = b[:cap(b)]
874 n, err := m.MarshalToSizedBuffer(b)
875 if err != nil {
876 return nil, err
877 }
878 return b[:n], nil
879}
880func (m *IngressTLS) XXX_Merge(src proto.Message) {
881 xxx_messageInfo_IngressTLS.Merge(m, src)
882}
883func (m *IngressTLS) XXX_Size() int {
884 return m.Size()
885}
886func (m *IngressTLS) XXX_DiscardUnknown() {
887 xxx_messageInfo_IngressTLS.DiscardUnknown(m)
888}
889
890var xxx_messageInfo_IngressTLS proto.InternalMessageInfo
891
892func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} }
893func (*NetworkPolicy) ProtoMessage() {}
894func (*NetworkPolicy) Descriptor() ([]byte, []int) {
895 return fileDescriptor_cdc93917efc28165, []int{30}
896}
897func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error {
898 return m.Unmarshal(b)
899}
900func (m *NetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
901 b = b[:cap(b)]
902 n, err := m.MarshalToSizedBuffer(b)
903 if err != nil {
904 return nil, err
905 }
906 return b[:n], nil
907}
908func (m *NetworkPolicy) XXX_Merge(src proto.Message) {
909 xxx_messageInfo_NetworkPolicy.Merge(m, src)
910}
911func (m *NetworkPolicy) XXX_Size() int {
912 return m.Size()
913}
914func (m *NetworkPolicy) XXX_DiscardUnknown() {
915 xxx_messageInfo_NetworkPolicy.DiscardUnknown(m)
916}
917
918var xxx_messageInfo_NetworkPolicy proto.InternalMessageInfo
919
920func (m *NetworkPolicyEgressRule) Reset() { *m = NetworkPolicyEgressRule{} }
921func (*NetworkPolicyEgressRule) ProtoMessage() {}
922func (*NetworkPolicyEgressRule) Descriptor() ([]byte, []int) {
923 return fileDescriptor_cdc93917efc28165, []int{31}
924}
925func (m *NetworkPolicyEgressRule) XXX_Unmarshal(b []byte) error {
926 return m.Unmarshal(b)
927}
928func (m *NetworkPolicyEgressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
929 b = b[:cap(b)]
930 n, err := m.MarshalToSizedBuffer(b)
931 if err != nil {
932 return nil, err
933 }
934 return b[:n], nil
935}
936func (m *NetworkPolicyEgressRule) XXX_Merge(src proto.Message) {
937 xxx_messageInfo_NetworkPolicyEgressRule.Merge(m, src)
938}
939func (m *NetworkPolicyEgressRule) XXX_Size() int {
940 return m.Size()
941}
942func (m *NetworkPolicyEgressRule) XXX_DiscardUnknown() {
943 xxx_messageInfo_NetworkPolicyEgressRule.DiscardUnknown(m)
944}
945
946var xxx_messageInfo_NetworkPolicyEgressRule proto.InternalMessageInfo
947
948func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} }
949func (*NetworkPolicyIngressRule) ProtoMessage() {}
950func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) {
951 return fileDescriptor_cdc93917efc28165, []int{32}
952}
953func (m *NetworkPolicyIngressRule) XXX_Unmarshal(b []byte) error {
954 return m.Unmarshal(b)
955}
956func (m *NetworkPolicyIngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
957 b = b[:cap(b)]
958 n, err := m.MarshalToSizedBuffer(b)
959 if err != nil {
960 return nil, err
961 }
962 return b[:n], nil
963}
964func (m *NetworkPolicyIngressRule) XXX_Merge(src proto.Message) {
965 xxx_messageInfo_NetworkPolicyIngressRule.Merge(m, src)
966}
967func (m *NetworkPolicyIngressRule) XXX_Size() int {
968 return m.Size()
969}
970func (m *NetworkPolicyIngressRule) XXX_DiscardUnknown() {
971 xxx_messageInfo_NetworkPolicyIngressRule.DiscardUnknown(m)
972}
973
974var xxx_messageInfo_NetworkPolicyIngressRule proto.InternalMessageInfo
975
976func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} }
977func (*NetworkPolicyList) ProtoMessage() {}
978func (*NetworkPolicyList) Descriptor() ([]byte, []int) {
979 return fileDescriptor_cdc93917efc28165, []int{33}
980}
981func (m *NetworkPolicyList) XXX_Unmarshal(b []byte) error {
982 return m.Unmarshal(b)
983}
984func (m *NetworkPolicyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
985 b = b[:cap(b)]
986 n, err := m.MarshalToSizedBuffer(b)
987 if err != nil {
988 return nil, err
989 }
990 return b[:n], nil
991}
992func (m *NetworkPolicyList) XXX_Merge(src proto.Message) {
993 xxx_messageInfo_NetworkPolicyList.Merge(m, src)
994}
995func (m *NetworkPolicyList) XXX_Size() int {
996 return m.Size()
997}
998func (m *NetworkPolicyList) XXX_DiscardUnknown() {
999 xxx_messageInfo_NetworkPolicyList.DiscardUnknown(m)
1000}
1001
1002var xxx_messageInfo_NetworkPolicyList proto.InternalMessageInfo
1003
1004func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} }
1005func (*NetworkPolicyPeer) ProtoMessage() {}
1006func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) {
1007 return fileDescriptor_cdc93917efc28165, []int{34}
1008}
1009func (m *NetworkPolicyPeer) XXX_Unmarshal(b []byte) error {
1010 return m.Unmarshal(b)
1011}
1012func (m *NetworkPolicyPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1013 b = b[:cap(b)]
1014 n, err := m.MarshalToSizedBuffer(b)
1015 if err != nil {
1016 return nil, err
1017 }
1018 return b[:n], nil
1019}
1020func (m *NetworkPolicyPeer) XXX_Merge(src proto.Message) {
1021 xxx_messageInfo_NetworkPolicyPeer.Merge(m, src)
1022}
1023func (m *NetworkPolicyPeer) XXX_Size() int {
1024 return m.Size()
1025}
1026func (m *NetworkPolicyPeer) XXX_DiscardUnknown() {
1027 xxx_messageInfo_NetworkPolicyPeer.DiscardUnknown(m)
1028}
1029
1030var xxx_messageInfo_NetworkPolicyPeer proto.InternalMessageInfo
1031
1032func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} }
1033func (*NetworkPolicyPort) ProtoMessage() {}
1034func (*NetworkPolicyPort) Descriptor() ([]byte, []int) {
1035 return fileDescriptor_cdc93917efc28165, []int{35}
1036}
1037func (m *NetworkPolicyPort) XXX_Unmarshal(b []byte) error {
1038 return m.Unmarshal(b)
1039}
1040func (m *NetworkPolicyPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1041 b = b[:cap(b)]
1042 n, err := m.MarshalToSizedBuffer(b)
1043 if err != nil {
1044 return nil, err
1045 }
1046 return b[:n], nil
1047}
1048func (m *NetworkPolicyPort) XXX_Merge(src proto.Message) {
1049 xxx_messageInfo_NetworkPolicyPort.Merge(m, src)
1050}
1051func (m *NetworkPolicyPort) XXX_Size() int {
1052 return m.Size()
1053}
1054func (m *NetworkPolicyPort) XXX_DiscardUnknown() {
1055 xxx_messageInfo_NetworkPolicyPort.DiscardUnknown(m)
1056}
1057
1058var xxx_messageInfo_NetworkPolicyPort proto.InternalMessageInfo
1059
1060func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} }
1061func (*NetworkPolicySpec) ProtoMessage() {}
1062func (*NetworkPolicySpec) Descriptor() ([]byte, []int) {
1063 return fileDescriptor_cdc93917efc28165, []int{36}
1064}
1065func (m *NetworkPolicySpec) XXX_Unmarshal(b []byte) error {
1066 return m.Unmarshal(b)
1067}
1068func (m *NetworkPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1069 b = b[:cap(b)]
1070 n, err := m.MarshalToSizedBuffer(b)
1071 if err != nil {
1072 return nil, err
1073 }
1074 return b[:n], nil
1075}
1076func (m *NetworkPolicySpec) XXX_Merge(src proto.Message) {
1077 xxx_messageInfo_NetworkPolicySpec.Merge(m, src)
1078}
1079func (m *NetworkPolicySpec) XXX_Size() int {
1080 return m.Size()
1081}
1082func (m *NetworkPolicySpec) XXX_DiscardUnknown() {
1083 xxx_messageInfo_NetworkPolicySpec.DiscardUnknown(m)
1084}
1085
1086var xxx_messageInfo_NetworkPolicySpec proto.InternalMessageInfo
1087
1088func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} }
1089func (*PodSecurityPolicy) ProtoMessage() {}
1090func (*PodSecurityPolicy) Descriptor() ([]byte, []int) {
1091 return fileDescriptor_cdc93917efc28165, []int{37}
1092}
1093func (m *PodSecurityPolicy) XXX_Unmarshal(b []byte) error {
1094 return m.Unmarshal(b)
1095}
1096func (m *PodSecurityPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1097 b = b[:cap(b)]
1098 n, err := m.MarshalToSizedBuffer(b)
1099 if err != nil {
1100 return nil, err
1101 }
1102 return b[:n], nil
1103}
1104func (m *PodSecurityPolicy) XXX_Merge(src proto.Message) {
1105 xxx_messageInfo_PodSecurityPolicy.Merge(m, src)
1106}
1107func (m *PodSecurityPolicy) XXX_Size() int {
1108 return m.Size()
1109}
1110func (m *PodSecurityPolicy) XXX_DiscardUnknown() {
1111 xxx_messageInfo_PodSecurityPolicy.DiscardUnknown(m)
1112}
1113
1114var xxx_messageInfo_PodSecurityPolicy proto.InternalMessageInfo
1115
1116func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} }
1117func (*PodSecurityPolicyList) ProtoMessage() {}
1118func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) {
1119 return fileDescriptor_cdc93917efc28165, []int{38}
1120}
1121func (m *PodSecurityPolicyList) XXX_Unmarshal(b []byte) error {
1122 return m.Unmarshal(b)
1123}
1124func (m *PodSecurityPolicyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1125 b = b[:cap(b)]
1126 n, err := m.MarshalToSizedBuffer(b)
1127 if err != nil {
1128 return nil, err
1129 }
1130 return b[:n], nil
1131}
1132func (m *PodSecurityPolicyList) XXX_Merge(src proto.Message) {
1133 xxx_messageInfo_PodSecurityPolicyList.Merge(m, src)
1134}
1135func (m *PodSecurityPolicyList) XXX_Size() int {
1136 return m.Size()
1137}
1138func (m *PodSecurityPolicyList) XXX_DiscardUnknown() {
1139 xxx_messageInfo_PodSecurityPolicyList.DiscardUnknown(m)
1140}
1141
1142var xxx_messageInfo_PodSecurityPolicyList proto.InternalMessageInfo
1143
1144func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} }
1145func (*PodSecurityPolicySpec) ProtoMessage() {}
1146func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) {
1147 return fileDescriptor_cdc93917efc28165, []int{39}
1148}
1149func (m *PodSecurityPolicySpec) XXX_Unmarshal(b []byte) error {
1150 return m.Unmarshal(b)
1151}
1152func (m *PodSecurityPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1153 b = b[:cap(b)]
1154 n, err := m.MarshalToSizedBuffer(b)
1155 if err != nil {
1156 return nil, err
1157 }
1158 return b[:n], nil
1159}
1160func (m *PodSecurityPolicySpec) XXX_Merge(src proto.Message) {
1161 xxx_messageInfo_PodSecurityPolicySpec.Merge(m, src)
1162}
1163func (m *PodSecurityPolicySpec) XXX_Size() int {
1164 return m.Size()
1165}
1166func (m *PodSecurityPolicySpec) XXX_DiscardUnknown() {
1167 xxx_messageInfo_PodSecurityPolicySpec.DiscardUnknown(m)
1168}
1169
1170var xxx_messageInfo_PodSecurityPolicySpec proto.InternalMessageInfo
1171
1172func (m *ReplicaSet) Reset() { *m = ReplicaSet{} }
1173func (*ReplicaSet) ProtoMessage() {}
1174func (*ReplicaSet) Descriptor() ([]byte, []int) {
1175 return fileDescriptor_cdc93917efc28165, []int{40}
1176}
1177func (m *ReplicaSet) XXX_Unmarshal(b []byte) error {
1178 return m.Unmarshal(b)
1179}
1180func (m *ReplicaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1181 b = b[:cap(b)]
1182 n, err := m.MarshalToSizedBuffer(b)
1183 if err != nil {
1184 return nil, err
1185 }
1186 return b[:n], nil
1187}
1188func (m *ReplicaSet) XXX_Merge(src proto.Message) {
1189 xxx_messageInfo_ReplicaSet.Merge(m, src)
1190}
1191func (m *ReplicaSet) XXX_Size() int {
1192 return m.Size()
1193}
1194func (m *ReplicaSet) XXX_DiscardUnknown() {
1195 xxx_messageInfo_ReplicaSet.DiscardUnknown(m)
1196}
1197
1198var xxx_messageInfo_ReplicaSet proto.InternalMessageInfo
1199
1200func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} }
1201func (*ReplicaSetCondition) ProtoMessage() {}
1202func (*ReplicaSetCondition) Descriptor() ([]byte, []int) {
1203 return fileDescriptor_cdc93917efc28165, []int{41}
1204}
1205func (m *ReplicaSetCondition) XXX_Unmarshal(b []byte) error {
1206 return m.Unmarshal(b)
1207}
1208func (m *ReplicaSetCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1209 b = b[:cap(b)]
1210 n, err := m.MarshalToSizedBuffer(b)
1211 if err != nil {
1212 return nil, err
1213 }
1214 return b[:n], nil
1215}
1216func (m *ReplicaSetCondition) XXX_Merge(src proto.Message) {
1217 xxx_messageInfo_ReplicaSetCondition.Merge(m, src)
1218}
1219func (m *ReplicaSetCondition) XXX_Size() int {
1220 return m.Size()
1221}
1222func (m *ReplicaSetCondition) XXX_DiscardUnknown() {
1223 xxx_messageInfo_ReplicaSetCondition.DiscardUnknown(m)
1224}
1225
1226var xxx_messageInfo_ReplicaSetCondition proto.InternalMessageInfo
1227
1228func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} }
1229func (*ReplicaSetList) ProtoMessage() {}
1230func (*ReplicaSetList) Descriptor() ([]byte, []int) {
1231 return fileDescriptor_cdc93917efc28165, []int{42}
1232}
1233func (m *ReplicaSetList) XXX_Unmarshal(b []byte) error {
1234 return m.Unmarshal(b)
1235}
1236func (m *ReplicaSetList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1237 b = b[:cap(b)]
1238 n, err := m.MarshalToSizedBuffer(b)
1239 if err != nil {
1240 return nil, err
1241 }
1242 return b[:n], nil
1243}
1244func (m *ReplicaSetList) XXX_Merge(src proto.Message) {
1245 xxx_messageInfo_ReplicaSetList.Merge(m, src)
1246}
1247func (m *ReplicaSetList) XXX_Size() int {
1248 return m.Size()
1249}
1250func (m *ReplicaSetList) XXX_DiscardUnknown() {
1251 xxx_messageInfo_ReplicaSetList.DiscardUnknown(m)
1252}
1253
1254var xxx_messageInfo_ReplicaSetList proto.InternalMessageInfo
1255
1256func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} }
1257func (*ReplicaSetSpec) ProtoMessage() {}
1258func (*ReplicaSetSpec) Descriptor() ([]byte, []int) {
1259 return fileDescriptor_cdc93917efc28165, []int{43}
1260}
1261func (m *ReplicaSetSpec) XXX_Unmarshal(b []byte) error {
1262 return m.Unmarshal(b)
1263}
1264func (m *ReplicaSetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1265 b = b[:cap(b)]
1266 n, err := m.MarshalToSizedBuffer(b)
1267 if err != nil {
1268 return nil, err
1269 }
1270 return b[:n], nil
1271}
1272func (m *ReplicaSetSpec) XXX_Merge(src proto.Message) {
1273 xxx_messageInfo_ReplicaSetSpec.Merge(m, src)
1274}
1275func (m *ReplicaSetSpec) XXX_Size() int {
1276 return m.Size()
1277}
1278func (m *ReplicaSetSpec) XXX_DiscardUnknown() {
1279 xxx_messageInfo_ReplicaSetSpec.DiscardUnknown(m)
1280}
1281
1282var xxx_messageInfo_ReplicaSetSpec proto.InternalMessageInfo
1283
1284func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} }
1285func (*ReplicaSetStatus) ProtoMessage() {}
1286func (*ReplicaSetStatus) Descriptor() ([]byte, []int) {
1287 return fileDescriptor_cdc93917efc28165, []int{44}
1288}
1289func (m *ReplicaSetStatus) XXX_Unmarshal(b []byte) error {
1290 return m.Unmarshal(b)
1291}
1292func (m *ReplicaSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1293 b = b[:cap(b)]
1294 n, err := m.MarshalToSizedBuffer(b)
1295 if err != nil {
1296 return nil, err
1297 }
1298 return b[:n], nil
1299}
1300func (m *ReplicaSetStatus) XXX_Merge(src proto.Message) {
1301 xxx_messageInfo_ReplicaSetStatus.Merge(m, src)
1302}
1303func (m *ReplicaSetStatus) XXX_Size() int {
1304 return m.Size()
1305}
1306func (m *ReplicaSetStatus) XXX_DiscardUnknown() {
1307 xxx_messageInfo_ReplicaSetStatus.DiscardUnknown(m)
1308}
1309
1310var xxx_messageInfo_ReplicaSetStatus proto.InternalMessageInfo
1311
1312func (m *RollbackConfig) Reset() { *m = RollbackConfig{} }
1313func (*RollbackConfig) ProtoMessage() {}
1314func (*RollbackConfig) Descriptor() ([]byte, []int) {
1315 return fileDescriptor_cdc93917efc28165, []int{45}
1316}
1317func (m *RollbackConfig) XXX_Unmarshal(b []byte) error {
1318 return m.Unmarshal(b)
1319}
1320func (m *RollbackConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1321 b = b[:cap(b)]
1322 n, err := m.MarshalToSizedBuffer(b)
1323 if err != nil {
1324 return nil, err
1325 }
1326 return b[:n], nil
1327}
1328func (m *RollbackConfig) XXX_Merge(src proto.Message) {
1329 xxx_messageInfo_RollbackConfig.Merge(m, src)
1330}
1331func (m *RollbackConfig) XXX_Size() int {
1332 return m.Size()
1333}
1334func (m *RollbackConfig) XXX_DiscardUnknown() {
1335 xxx_messageInfo_RollbackConfig.DiscardUnknown(m)
1336}
1337
1338var xxx_messageInfo_RollbackConfig proto.InternalMessageInfo
1339
1340func (m *RollingUpdateDaemonSet) Reset() { *m = RollingUpdateDaemonSet{} }
1341func (*RollingUpdateDaemonSet) ProtoMessage() {}
1342func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int) {
1343 return fileDescriptor_cdc93917efc28165, []int{46}
1344}
1345func (m *RollingUpdateDaemonSet) XXX_Unmarshal(b []byte) error {
1346 return m.Unmarshal(b)
1347}
1348func (m *RollingUpdateDaemonSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1349 b = b[:cap(b)]
1350 n, err := m.MarshalToSizedBuffer(b)
1351 if err != nil {
1352 return nil, err
1353 }
1354 return b[:n], nil
1355}
1356func (m *RollingUpdateDaemonSet) XXX_Merge(src proto.Message) {
1357 xxx_messageInfo_RollingUpdateDaemonSet.Merge(m, src)
1358}
1359func (m *RollingUpdateDaemonSet) XXX_Size() int {
1360 return m.Size()
1361}
1362func (m *RollingUpdateDaemonSet) XXX_DiscardUnknown() {
1363 xxx_messageInfo_RollingUpdateDaemonSet.DiscardUnknown(m)
1364}
1365
1366var xxx_messageInfo_RollingUpdateDaemonSet proto.InternalMessageInfo
1367
1368func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
1369func (*RollingUpdateDeployment) ProtoMessage() {}
1370func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
1371 return fileDescriptor_cdc93917efc28165, []int{47}
1372}
1373func (m *RollingUpdateDeployment) XXX_Unmarshal(b []byte) error {
1374 return m.Unmarshal(b)
1375}
1376func (m *RollingUpdateDeployment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1377 b = b[:cap(b)]
1378 n, err := m.MarshalToSizedBuffer(b)
1379 if err != nil {
1380 return nil, err
1381 }
1382 return b[:n], nil
1383}
1384func (m *RollingUpdateDeployment) XXX_Merge(src proto.Message) {
1385 xxx_messageInfo_RollingUpdateDeployment.Merge(m, src)
1386}
1387func (m *RollingUpdateDeployment) XXX_Size() int {
1388 return m.Size()
1389}
1390func (m *RollingUpdateDeployment) XXX_DiscardUnknown() {
1391 xxx_messageInfo_RollingUpdateDeployment.DiscardUnknown(m)
1392}
1393
1394var xxx_messageInfo_RollingUpdateDeployment proto.InternalMessageInfo
1395
1396func (m *RunAsGroupStrategyOptions) Reset() { *m = RunAsGroupStrategyOptions{} }
1397func (*RunAsGroupStrategyOptions) ProtoMessage() {}
1398func (*RunAsGroupStrategyOptions) Descriptor() ([]byte, []int) {
1399 return fileDescriptor_cdc93917efc28165, []int{48}
1400}
1401func (m *RunAsGroupStrategyOptions) XXX_Unmarshal(b []byte) error {
1402 return m.Unmarshal(b)
1403}
1404func (m *RunAsGroupStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1405 b = b[:cap(b)]
1406 n, err := m.MarshalToSizedBuffer(b)
1407 if err != nil {
1408 return nil, err
1409 }
1410 return b[:n], nil
1411}
1412func (m *RunAsGroupStrategyOptions) XXX_Merge(src proto.Message) {
1413 xxx_messageInfo_RunAsGroupStrategyOptions.Merge(m, src)
1414}
1415func (m *RunAsGroupStrategyOptions) XXX_Size() int {
1416 return m.Size()
1417}
1418func (m *RunAsGroupStrategyOptions) XXX_DiscardUnknown() {
1419 xxx_messageInfo_RunAsGroupStrategyOptions.DiscardUnknown(m)
1420}
1421
1422var xxx_messageInfo_RunAsGroupStrategyOptions proto.InternalMessageInfo
1423
1424func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} }
1425func (*RunAsUserStrategyOptions) ProtoMessage() {}
1426func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) {
1427 return fileDescriptor_cdc93917efc28165, []int{49}
1428}
1429func (m *RunAsUserStrategyOptions) XXX_Unmarshal(b []byte) error {
1430 return m.Unmarshal(b)
1431}
1432func (m *RunAsUserStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1433 b = b[:cap(b)]
1434 n, err := m.MarshalToSizedBuffer(b)
1435 if err != nil {
1436 return nil, err
1437 }
1438 return b[:n], nil
1439}
1440func (m *RunAsUserStrategyOptions) XXX_Merge(src proto.Message) {
1441 xxx_messageInfo_RunAsUserStrategyOptions.Merge(m, src)
1442}
1443func (m *RunAsUserStrategyOptions) XXX_Size() int {
1444 return m.Size()
1445}
1446func (m *RunAsUserStrategyOptions) XXX_DiscardUnknown() {
1447 xxx_messageInfo_RunAsUserStrategyOptions.DiscardUnknown(m)
1448}
1449
1450var xxx_messageInfo_RunAsUserStrategyOptions proto.InternalMessageInfo
1451
1452func (m *RuntimeClassStrategyOptions) Reset() { *m = RuntimeClassStrategyOptions{} }
1453func (*RuntimeClassStrategyOptions) ProtoMessage() {}
1454func (*RuntimeClassStrategyOptions) Descriptor() ([]byte, []int) {
1455 return fileDescriptor_cdc93917efc28165, []int{50}
1456}
1457func (m *RuntimeClassStrategyOptions) XXX_Unmarshal(b []byte) error {
1458 return m.Unmarshal(b)
1459}
1460func (m *RuntimeClassStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1461 b = b[:cap(b)]
1462 n, err := m.MarshalToSizedBuffer(b)
1463 if err != nil {
1464 return nil, err
1465 }
1466 return b[:n], nil
1467}
1468func (m *RuntimeClassStrategyOptions) XXX_Merge(src proto.Message) {
1469 xxx_messageInfo_RuntimeClassStrategyOptions.Merge(m, src)
1470}
1471func (m *RuntimeClassStrategyOptions) XXX_Size() int {
1472 return m.Size()
1473}
1474func (m *RuntimeClassStrategyOptions) XXX_DiscardUnknown() {
1475 xxx_messageInfo_RuntimeClassStrategyOptions.DiscardUnknown(m)
1476}
1477
1478var xxx_messageInfo_RuntimeClassStrategyOptions proto.InternalMessageInfo
1479
1480func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} }
1481func (*SELinuxStrategyOptions) ProtoMessage() {}
1482func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) {
1483 return fileDescriptor_cdc93917efc28165, []int{51}
1484}
1485func (m *SELinuxStrategyOptions) XXX_Unmarshal(b []byte) error {
1486 return m.Unmarshal(b)
1487}
1488func (m *SELinuxStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1489 b = b[:cap(b)]
1490 n, err := m.MarshalToSizedBuffer(b)
1491 if err != nil {
1492 return nil, err
1493 }
1494 return b[:n], nil
1495}
1496func (m *SELinuxStrategyOptions) XXX_Merge(src proto.Message) {
1497 xxx_messageInfo_SELinuxStrategyOptions.Merge(m, src)
1498}
1499func (m *SELinuxStrategyOptions) XXX_Size() int {
1500 return m.Size()
1501}
1502func (m *SELinuxStrategyOptions) XXX_DiscardUnknown() {
1503 xxx_messageInfo_SELinuxStrategyOptions.DiscardUnknown(m)
1504}
1505
1506var xxx_messageInfo_SELinuxStrategyOptions proto.InternalMessageInfo
1507
1508func (m *Scale) Reset() { *m = Scale{} }
1509func (*Scale) ProtoMessage() {}
1510func (*Scale) Descriptor() ([]byte, []int) {
1511 return fileDescriptor_cdc93917efc28165, []int{52}
1512}
1513func (m *Scale) XXX_Unmarshal(b []byte) error {
1514 return m.Unmarshal(b)
1515}
1516func (m *Scale) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1517 b = b[:cap(b)]
1518 n, err := m.MarshalToSizedBuffer(b)
1519 if err != nil {
1520 return nil, err
1521 }
1522 return b[:n], nil
1523}
1524func (m *Scale) XXX_Merge(src proto.Message) {
1525 xxx_messageInfo_Scale.Merge(m, src)
1526}
1527func (m *Scale) XXX_Size() int {
1528 return m.Size()
1529}
1530func (m *Scale) XXX_DiscardUnknown() {
1531 xxx_messageInfo_Scale.DiscardUnknown(m)
1532}
1533
1534var xxx_messageInfo_Scale proto.InternalMessageInfo
1535
1536func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
1537func (*ScaleSpec) ProtoMessage() {}
1538func (*ScaleSpec) Descriptor() ([]byte, []int) {
1539 return fileDescriptor_cdc93917efc28165, []int{53}
1540}
1541func (m *ScaleSpec) XXX_Unmarshal(b []byte) error {
1542 return m.Unmarshal(b)
1543}
1544func (m *ScaleSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1545 b = b[:cap(b)]
1546 n, err := m.MarshalToSizedBuffer(b)
1547 if err != nil {
1548 return nil, err
1549 }
1550 return b[:n], nil
1551}
1552func (m *ScaleSpec) XXX_Merge(src proto.Message) {
1553 xxx_messageInfo_ScaleSpec.Merge(m, src)
1554}
1555func (m *ScaleSpec) XXX_Size() int {
1556 return m.Size()
1557}
1558func (m *ScaleSpec) XXX_DiscardUnknown() {
1559 xxx_messageInfo_ScaleSpec.DiscardUnknown(m)
1560}
1561
1562var xxx_messageInfo_ScaleSpec proto.InternalMessageInfo
1563
1564func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
1565func (*ScaleStatus) ProtoMessage() {}
1566func (*ScaleStatus) Descriptor() ([]byte, []int) {
1567 return fileDescriptor_cdc93917efc28165, []int{54}
1568}
1569func (m *ScaleStatus) XXX_Unmarshal(b []byte) error {
1570 return m.Unmarshal(b)
1571}
1572func (m *ScaleStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1573 b = b[:cap(b)]
1574 n, err := m.MarshalToSizedBuffer(b)
1575 if err != nil {
1576 return nil, err
1577 }
1578 return b[:n], nil
1579}
1580func (m *ScaleStatus) XXX_Merge(src proto.Message) {
1581 xxx_messageInfo_ScaleStatus.Merge(m, src)
1582}
1583func (m *ScaleStatus) XXX_Size() int {
1584 return m.Size()
1585}
1586func (m *ScaleStatus) XXX_DiscardUnknown() {
1587 xxx_messageInfo_ScaleStatus.DiscardUnknown(m)
1588}
1589
1590var xxx_messageInfo_ScaleStatus proto.InternalMessageInfo
1591
1592func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} }
1593func (*SupplementalGroupsStrategyOptions) ProtoMessage() {}
1594func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) {
1595 return fileDescriptor_cdc93917efc28165, []int{55}
1596}
1597func (m *SupplementalGroupsStrategyOptions) XXX_Unmarshal(b []byte) error {
1598 return m.Unmarshal(b)
1599}
1600func (m *SupplementalGroupsStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
1601 b = b[:cap(b)]
1602 n, err := m.MarshalToSizedBuffer(b)
1603 if err != nil {
1604 return nil, err
1605 }
1606 return b[:n], nil
1607}
1608func (m *SupplementalGroupsStrategyOptions) XXX_Merge(src proto.Message) {
1609 xxx_messageInfo_SupplementalGroupsStrategyOptions.Merge(m, src)
1610}
1611func (m *SupplementalGroupsStrategyOptions) XXX_Size() int {
1612 return m.Size()
1613}
1614func (m *SupplementalGroupsStrategyOptions) XXX_DiscardUnknown() {
1615 xxx_messageInfo_SupplementalGroupsStrategyOptions.DiscardUnknown(m)
1616}
1617
1618var xxx_messageInfo_SupplementalGroupsStrategyOptions proto.InternalMessageInfo
1619
1620func init() {
1621 proto.RegisterType((*AllowedCSIDriver)(nil), "k8s.io.api.extensions.v1beta1.AllowedCSIDriver")
1622 proto.RegisterType((*AllowedFlexVolume)(nil), "k8s.io.api.extensions.v1beta1.AllowedFlexVolume")
1623 proto.RegisterType((*AllowedHostPath)(nil), "k8s.io.api.extensions.v1beta1.AllowedHostPath")
1624 proto.RegisterType((*DaemonSet)(nil), "k8s.io.api.extensions.v1beta1.DaemonSet")
1625 proto.RegisterType((*DaemonSetCondition)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetCondition")
1626 proto.RegisterType((*DaemonSetList)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetList")
1627 proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetSpec")
1628 proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetStatus")
1629 proto.RegisterType((*DaemonSetUpdateStrategy)(nil), "k8s.io.api.extensions.v1beta1.DaemonSetUpdateStrategy")
1630 proto.RegisterType((*Deployment)(nil), "k8s.io.api.extensions.v1beta1.Deployment")
1631 proto.RegisterType((*DeploymentCondition)(nil), "k8s.io.api.extensions.v1beta1.DeploymentCondition")
1632 proto.RegisterType((*DeploymentList)(nil), "k8s.io.api.extensions.v1beta1.DeploymentList")
1633 proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.api.extensions.v1beta1.DeploymentRollback")
1634 proto.RegisterMapType((map[string]string)(nil), "k8s.io.api.extensions.v1beta1.DeploymentRollback.UpdatedAnnotationsEntry")
1635 proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.api.extensions.v1beta1.DeploymentSpec")
1636 proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.api.extensions.v1beta1.DeploymentStatus")
1637 proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.api.extensions.v1beta1.DeploymentStrategy")
1638 proto.RegisterType((*FSGroupStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.FSGroupStrategyOptions")
1639 proto.RegisterType((*HTTPIngressPath)(nil), "k8s.io.api.extensions.v1beta1.HTTPIngressPath")
1640 proto.RegisterType((*HTTPIngressRuleValue)(nil), "k8s.io.api.extensions.v1beta1.HTTPIngressRuleValue")
1641 proto.RegisterType((*HostPortRange)(nil), "k8s.io.api.extensions.v1beta1.HostPortRange")
1642 proto.RegisterType((*IDRange)(nil), "k8s.io.api.extensions.v1beta1.IDRange")
1643 proto.RegisterType((*IPBlock)(nil), "k8s.io.api.extensions.v1beta1.IPBlock")
1644 proto.RegisterType((*Ingress)(nil), "k8s.io.api.extensions.v1beta1.Ingress")
1645 proto.RegisterType((*IngressBackend)(nil), "k8s.io.api.extensions.v1beta1.IngressBackend")
1646 proto.RegisterType((*IngressList)(nil), "k8s.io.api.extensions.v1beta1.IngressList")
1647 proto.RegisterType((*IngressRule)(nil), "k8s.io.api.extensions.v1beta1.IngressRule")
1648 proto.RegisterType((*IngressRuleValue)(nil), "k8s.io.api.extensions.v1beta1.IngressRuleValue")
1649 proto.RegisterType((*IngressSpec)(nil), "k8s.io.api.extensions.v1beta1.IngressSpec")
1650 proto.RegisterType((*IngressStatus)(nil), "k8s.io.api.extensions.v1beta1.IngressStatus")
1651 proto.RegisterType((*IngressTLS)(nil), "k8s.io.api.extensions.v1beta1.IngressTLS")
1652 proto.RegisterType((*NetworkPolicy)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicy")
1653 proto.RegisterType((*NetworkPolicyEgressRule)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyEgressRule")
1654 proto.RegisterType((*NetworkPolicyIngressRule)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyIngressRule")
1655 proto.RegisterType((*NetworkPolicyList)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyList")
1656 proto.RegisterType((*NetworkPolicyPeer)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyPeer")
1657 proto.RegisterType((*NetworkPolicyPort)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicyPort")
1658 proto.RegisterType((*NetworkPolicySpec)(nil), "k8s.io.api.extensions.v1beta1.NetworkPolicySpec")
1659 proto.RegisterType((*PodSecurityPolicy)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicy")
1660 proto.RegisterType((*PodSecurityPolicyList)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicyList")
1661 proto.RegisterType((*PodSecurityPolicySpec)(nil), "k8s.io.api.extensions.v1beta1.PodSecurityPolicySpec")
1662 proto.RegisterType((*ReplicaSet)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSet")
1663 proto.RegisterType((*ReplicaSetCondition)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetCondition")
1664 proto.RegisterType((*ReplicaSetList)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetList")
1665 proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetSpec")
1666 proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.api.extensions.v1beta1.ReplicaSetStatus")
1667 proto.RegisterType((*RollbackConfig)(nil), "k8s.io.api.extensions.v1beta1.RollbackConfig")
1668 proto.RegisterType((*RollingUpdateDaemonSet)(nil), "k8s.io.api.extensions.v1beta1.RollingUpdateDaemonSet")
1669 proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.api.extensions.v1beta1.RollingUpdateDeployment")
1670 proto.RegisterType((*RunAsGroupStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.RunAsGroupStrategyOptions")
1671 proto.RegisterType((*RunAsUserStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.RunAsUserStrategyOptions")
1672 proto.RegisterType((*RuntimeClassStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.RuntimeClassStrategyOptions")
1673 proto.RegisterType((*SELinuxStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.SELinuxStrategyOptions")
1674 proto.RegisterType((*Scale)(nil), "k8s.io.api.extensions.v1beta1.Scale")
1675 proto.RegisterType((*ScaleSpec)(nil), "k8s.io.api.extensions.v1beta1.ScaleSpec")
1676 proto.RegisterType((*ScaleStatus)(nil), "k8s.io.api.extensions.v1beta1.ScaleStatus")
1677 proto.RegisterMapType((map[string]string)(nil), "k8s.io.api.extensions.v1beta1.ScaleStatus.SelectorEntry")
1678 proto.RegisterType((*SupplementalGroupsStrategyOptions)(nil), "k8s.io.api.extensions.v1beta1.SupplementalGroupsStrategyOptions")
1679}
1680
1681func init() {
1682 proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto", fileDescriptor_cdc93917efc28165)
1683}
1684
1685var fileDescriptor_cdc93917efc28165 = []byte{
1686 // 3743 bytes of a gzipped FileDescriptorProto
1687 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0x4d, 0x6c, 0x1c, 0xc7,
1688 0x72, 0xd6, 0xec, 0x2e, 0xb9, 0xcb, 0xe2, 0x7f, 0x93, 0x22, 0xf7, 0x49, 0x4f, 0x5c, 0xbd, 0x31,
1689 0xa0, 0xc8, 0x8e, 0xb4, 0x6b, 0xc9, 0x92, 0x9e, 0x22, 0x21, 0xef, 0x99, 0x4b, 0x8a, 0x12, 0x5f,
1690 0xf8, 0xb3, 0xee, 0x25, 0x65, 0xc3, 0x88, 0x1d, 0x0f, 0x77, 0x9b, 0xcb, 0x11, 0x67, 0x67, 0xc6,
1691 0xd3, 0xb3, 0x34, 0x17, 0xc8, 0x21, 0x87, 0x20, 0x80, 0x81, 0x00, 0xc9, 0xc5, 0x49, 0x8e, 0x31,
1692 0x02, 0xe4, 0x94, 0x20, 0xc7, 0xe4, 0x60, 0x18, 0x09, 0xe2, 0x00, 0x42, 0xe0, 0x04, 0xbe, 0xc5,
1693 0x27, 0x22, 0xa6, 0x4f, 0x41, 0x4e, 0xb9, 0x05, 0x3a, 0x05, 0xdd, 0xd3, 0xf3, 0x3f, 0xc3, 0x1d,
1694 0xd2, 0x12, 0x11, 0x03, 0xef, 0x24, 0x6e, 0x57, 0xd5, 0x57, 0xd5, 0xdd, 0xd5, 0x55, 0xd5, 0x3d,
1695 0x25, 0x58, 0xd9, 0xbf, 0x4f, 0xab, 0xaa, 0x51, 0xdb, 0xef, 0xed, 0x10, 0x4b, 0x27, 0x36, 0xa1,
1696 0xb5, 0x03, 0xa2, 0xb7, 0x0d, 0xab, 0x26, 0x08, 0x8a, 0xa9, 0xd6, 0xc8, 0xa1, 0x4d, 0x74, 0xaa,
1697 0x1a, 0x3a, 0xad, 0x1d, 0xdc, 0xda, 0x21, 0xb6, 0x72, 0xab, 0xd6, 0x21, 0x3a, 0xb1, 0x14, 0x9b,
1698 0xb4, 0xab, 0xa6, 0x65, 0xd8, 0x06, 0xba, 0xe2, 0xb0, 0x57, 0x15, 0x53, 0xad, 0xfa, 0xec, 0x55,
1699 0xc1, 0x7e, 0xe9, 0x66, 0x47, 0xb5, 0xf7, 0x7a, 0x3b, 0xd5, 0x96, 0xd1, 0xad, 0x75, 0x8c, 0x8e,
1700 0x51, 0xe3, 0x52, 0x3b, 0xbd, 0x5d, 0xfe, 0x8b, 0xff, 0xe0, 0x7f, 0x39, 0x68, 0x97, 0xe4, 0x80,
1701 0xf2, 0x96, 0x61, 0x91, 0xda, 0x41, 0x4c, 0xe3, 0xa5, 0x3b, 0x3e, 0x4f, 0x57, 0x69, 0xed, 0xa9,
1702 0x3a, 0xb1, 0xfa, 0x35, 0x73, 0xbf, 0xc3, 0x06, 0x68, 0xad, 0x4b, 0x6c, 0x25, 0x49, 0xaa, 0x96,
1703 0x26, 0x65, 0xf5, 0x74, 0x5b, 0xed, 0x92, 0x98, 0xc0, 0xbd, 0x41, 0x02, 0xb4, 0xb5, 0x47, 0xba,
1704 0x4a, 0x4c, 0xee, 0xad, 0x34, 0xb9, 0x9e, 0xad, 0x6a, 0x35, 0x55, 0xb7, 0xa9, 0x6d, 0x45, 0x85,
1705 0xe4, 0x3b, 0x30, 0xb5, 0xa8, 0x69, 0xc6, 0x27, 0xa4, 0xbd, 0xd4, 0x5c, 0x5d, 0xb6, 0xd4, 0x03,
1706 0x62, 0xa1, 0xab, 0x50, 0xd0, 0x95, 0x2e, 0x29, 0x4b, 0x57, 0xa5, 0xeb, 0x23, 0xf5, 0xb1, 0xe7,
1707 0x47, 0x95, 0x0b, 0xc7, 0x47, 0x95, 0xc2, 0x86, 0xd2, 0x25, 0x98, 0x53, 0xe4, 0x87, 0x30, 0x2d,
1708 0xa4, 0x56, 0x34, 0x72, 0xf8, 0xd4, 0xd0, 0x7a, 0x5d, 0x82, 0xae, 0xc1, 0x70, 0x9b, 0x03, 0x08,
1709 0xc1, 0x09, 0x21, 0x38, 0xec, 0xc0, 0x62, 0x41, 0x95, 0x29, 0x4c, 0x0a, 0xe1, 0x27, 0x06, 0xb5,
1710 0x1b, 0x8a, 0xbd, 0x87, 0x6e, 0x03, 0x98, 0x8a, 0xbd, 0xd7, 0xb0, 0xc8, 0xae, 0x7a, 0x28, 0xc4,
1711 0x91, 0x10, 0x87, 0x86, 0x47, 0xc1, 0x01, 0x2e, 0x74, 0x03, 0x4a, 0x16, 0x51, 0xda, 0x9b, 0xba,
1712 0xd6, 0x2f, 0xe7, 0xae, 0x4a, 0xd7, 0x4b, 0xf5, 0x29, 0x21, 0x51, 0xc2, 0x62, 0x1c, 0x7b, 0x1c,
1713 0xf2, 0x67, 0x39, 0x18, 0x59, 0x56, 0x48, 0xd7, 0xd0, 0x9b, 0xc4, 0x46, 0x1f, 0x41, 0x89, 0x6d,
1714 0x57, 0x5b, 0xb1, 0x15, 0xae, 0x6d, 0xf4, 0xf6, 0x9b, 0x55, 0xdf, 0x9d, 0xbc, 0xd5, 0xab, 0x9a,
1715 0xfb, 0x1d, 0x36, 0x40, 0xab, 0x8c, 0xbb, 0x7a, 0x70, 0xab, 0xba, 0xb9, 0xf3, 0x8c, 0xb4, 0xec,
1716 0x75, 0x62, 0x2b, 0xbe, 0x7d, 0xfe, 0x18, 0xf6, 0x50, 0xd1, 0x06, 0x14, 0xa8, 0x49, 0x5a, 0xdc,
1717 0xb2, 0xd1, 0xdb, 0x37, 0xaa, 0x27, 0x3a, 0x6b, 0xd5, 0xb3, 0xac, 0x69, 0x92, 0x96, 0xbf, 0xe2,
1718 0xec, 0x17, 0xe6, 0x38, 0xe8, 0x29, 0x0c, 0x53, 0x5b, 0xb1, 0x7b, 0xb4, 0x9c, 0xe7, 0x88, 0xd5,
1719 0xcc, 0x88, 0x5c, 0xca, 0xdf, 0x0c, 0xe7, 0x37, 0x16, 0x68, 0xf2, 0x7f, 0xe5, 0x00, 0x79, 0xbc,
1720 0x4b, 0x86, 0xde, 0x56, 0x6d, 0xd5, 0xd0, 0xd1, 0x03, 0x28, 0xd8, 0x7d, 0xd3, 0x75, 0x81, 0x6b,
1721 0xae, 0x41, 0x5b, 0x7d, 0x93, 0xbc, 0x38, 0xaa, 0xcc, 0xc5, 0x25, 0x18, 0x05, 0x73, 0x19, 0xb4,
1722 0xe6, 0x99, 0x9a, 0xe3, 0xd2, 0x77, 0xc2, 0xaa, 0x5f, 0x1c, 0x55, 0x12, 0x0e, 0x5b, 0xd5, 0x43,
1723 0x0a, 0x1b, 0x88, 0x0e, 0x00, 0x69, 0x0a, 0xb5, 0xb7, 0x2c, 0x45, 0xa7, 0x8e, 0x26, 0xb5, 0x4b,
1724 0xc4, 0x22, 0xbc, 0x91, 0x6d, 0xd3, 0x98, 0x44, 0xfd, 0x92, 0xb0, 0x02, 0xad, 0xc5, 0xd0, 0x70,
1725 0x82, 0x06, 0xe6, 0xcd, 0x16, 0x51, 0xa8, 0xa1, 0x97, 0x0b, 0x61, 0x6f, 0xc6, 0x7c, 0x14, 0x0b,
1726 0x2a, 0x7a, 0x1d, 0x8a, 0x5d, 0x42, 0xa9, 0xd2, 0x21, 0xe5, 0x21, 0xce, 0x38, 0x29, 0x18, 0x8b,
1727 0xeb, 0xce, 0x30, 0x76, 0xe9, 0xf2, 0x17, 0x12, 0x8c, 0x7b, 0x2b, 0xb7, 0xa6, 0x52, 0x1b, 0xfd,
1728 0x6e, 0xcc, 0x0f, 0xab, 0xd9, 0xa6, 0xc4, 0xa4, 0xb9, 0x17, 0x7a, 0x3e, 0xef, 0x8e, 0x04, 0x7c,
1729 0x70, 0x1d, 0x86, 0x54, 0x9b, 0x74, 0xd9, 0x3e, 0xe4, 0xaf, 0x8f, 0xde, 0xbe, 0x9e, 0xd5, 0x65,
1730 0xea, 0xe3, 0x02, 0x74, 0x68, 0x95, 0x89, 0x63, 0x07, 0x45, 0xfe, 0xb3, 0x42, 0xc0, 0x7c, 0xe6,
1731 0x9a, 0xe8, 0x03, 0x28, 0x51, 0xa2, 0x91, 0x96, 0x6d, 0x58, 0xc2, 0xfc, 0xb7, 0x32, 0x9a, 0xaf,
1732 0xec, 0x10, 0xad, 0x29, 0x44, 0xeb, 0x63, 0xcc, 0x7e, 0xf7, 0x17, 0xf6, 0x20, 0xd1, 0x3b, 0x50,
1733 0xb2, 0x49, 0xd7, 0xd4, 0x14, 0x9b, 0x88, 0x73, 0xf4, 0x5a, 0x70, 0x0a, 0xcc, 0x73, 0x18, 0x58,
1734 0xc3, 0x68, 0x6f, 0x09, 0x36, 0x7e, 0x7c, 0xbc, 0x25, 0x71, 0x47, 0xb1, 0x07, 0x83, 0x0e, 0x60,
1735 0xa2, 0x67, 0xb6, 0x19, 0xa7, 0xcd, 0xa2, 0x60, 0xa7, 0x2f, 0x3c, 0xe9, 0x5e, 0xd6, 0xb5, 0xd9,
1736 0x0e, 0x49, 0xd7, 0xe7, 0x84, 0xae, 0x89, 0xf0, 0x38, 0x8e, 0x68, 0x41, 0x8b, 0x30, 0xd9, 0x55,
1737 0x75, 0x16, 0x97, 0xfa, 0x4d, 0xd2, 0x32, 0xf4, 0x36, 0xe5, 0x6e, 0x35, 0x54, 0x9f, 0x17, 0x00,
1738 0x93, 0xeb, 0x61, 0x32, 0x8e, 0xf2, 0xa3, 0x5f, 0x01, 0x72, 0xa7, 0xf1, 0xd8, 0x09, 0xe2, 0xaa,
1739 0xa1, 0x73, 0x9f, 0xcb, 0xfb, 0xce, 0xbd, 0x15, 0xe3, 0xc0, 0x09, 0x52, 0x68, 0x0d, 0x66, 0x2d,
1740 0x72, 0xa0, 0xb2, 0x39, 0x3e, 0x51, 0xa9, 0x6d, 0x58, 0xfd, 0x35, 0xb5, 0xab, 0xda, 0xe5, 0x61,
1741 0x6e, 0x53, 0xf9, 0xf8, 0xa8, 0x32, 0x8b, 0x13, 0xe8, 0x38, 0x51, 0x4a, 0xfe, 0xf3, 0x61, 0x98,
1742 0x8c, 0xc4, 0x1b, 0xf4, 0x14, 0xe6, 0x5a, 0x3d, 0xcb, 0x22, 0xba, 0xbd, 0xd1, 0xeb, 0xee, 0x10,
1743 0xab, 0xd9, 0xda, 0x23, 0xed, 0x9e, 0x46, 0xda, 0xdc, 0x51, 0x86, 0xea, 0x0b, 0xc2, 0xe2, 0xb9,
1744 0xa5, 0x44, 0x2e, 0x9c, 0x22, 0xcd, 0x56, 0x41, 0xe7, 0x43, 0xeb, 0x2a, 0xa5, 0x1e, 0x66, 0x8e,
1745 0x63, 0x7a, 0xab, 0xb0, 0x11, 0xe3, 0xc0, 0x09, 0x52, 0xcc, 0xc6, 0x36, 0xa1, 0xaa, 0x45, 0xda,
1746 0x51, 0x1b, 0xf3, 0x61, 0x1b, 0x97, 0x13, 0xb9, 0x70, 0x8a, 0x34, 0xba, 0x0b, 0xa3, 0x8e, 0x36,
1747 0xbe, 0x7f, 0x62, 0xa3, 0x67, 0x04, 0xd8, 0xe8, 0x86, 0x4f, 0xc2, 0x41, 0x3e, 0x36, 0x35, 0x63,
1748 0x87, 0x12, 0xeb, 0x80, 0xb4, 0xd3, 0x37, 0x78, 0x33, 0xc6, 0x81, 0x13, 0xa4, 0xd8, 0xd4, 0x1c,
1749 0x0f, 0x8c, 0x4d, 0x6d, 0x38, 0x3c, 0xb5, 0xed, 0x44, 0x2e, 0x9c, 0x22, 0xcd, 0xfc, 0xd8, 0x31,
1750 0x79, 0xf1, 0x40, 0x51, 0x35, 0x65, 0x47, 0x23, 0xe5, 0x62, 0xd8, 0x8f, 0x37, 0xc2, 0x64, 0x1c,
1751 0xe5, 0x47, 0x8f, 0x61, 0xda, 0x19, 0xda, 0xd6, 0x15, 0x0f, 0xa4, 0xc4, 0x41, 0x7e, 0x22, 0x40,
1752 0xa6, 0x37, 0xa2, 0x0c, 0x38, 0x2e, 0x83, 0x1e, 0xc0, 0x44, 0xcb, 0xd0, 0x34, 0xee, 0x8f, 0x4b,
1753 0x46, 0x4f, 0xb7, 0xcb, 0x23, 0x1c, 0x05, 0xb1, 0xf3, 0xb8, 0x14, 0xa2, 0xe0, 0x08, 0x27, 0x22,
1754 0x00, 0x2d, 0x37, 0xe1, 0xd0, 0x32, 0xf0, 0xf8, 0x78, 0x2b, 0x6b, 0x0c, 0xf0, 0x52, 0x95, 0x5f,
1755 0x03, 0x78, 0x43, 0x14, 0x07, 0x80, 0xe5, 0x7f, 0x95, 0x60, 0x3e, 0x25, 0x74, 0xa0, 0x5f, 0x86,
1756 0x52, 0xec, 0x6f, 0x46, 0x52, 0xec, 0xe5, 0x14, 0xb1, 0x40, 0x9e, 0xd5, 0x61, 0xdc, 0x62, 0xb3,
1757 0xd2, 0x3b, 0x0e, 0x8b, 0x88, 0x91, 0x77, 0x07, 0x4c, 0x03, 0x07, 0x65, 0xfc, 0x98, 0x3f, 0x7d,
1758 0x7c, 0x54, 0x19, 0x0f, 0xd1, 0x70, 0x18, 0x5e, 0xfe, 0x8b, 0x1c, 0xc0, 0x32, 0x31, 0x35, 0xa3,
1759 0xdf, 0x25, 0xfa, 0x79, 0xd4, 0x50, 0x9b, 0xa1, 0x1a, 0xea, 0xe6, 0xa0, 0xed, 0xf1, 0x4c, 0x4b,
1760 0x2d, 0xa2, 0xde, 0x8d, 0x14, 0x51, 0xb5, 0xec, 0x90, 0x27, 0x57, 0x51, 0xff, 0x91, 0x87, 0x19,
1761 0x9f, 0xd9, 0x2f, 0xa3, 0x1e, 0x86, 0xf6, 0xf8, 0x37, 0x22, 0x7b, 0x3c, 0x9f, 0x20, 0xf2, 0xca,
1762 0xea, 0xa8, 0x67, 0x30, 0xc1, 0xaa, 0x1c, 0x67, 0x2f, 0x79, 0x0d, 0x35, 0x7c, 0xea, 0x1a, 0xca,
1763 0xcb, 0x76, 0x6b, 0x21, 0x24, 0x1c, 0x41, 0x4e, 0xa9, 0xd9, 0x8a, 0x3f, 0xc6, 0x9a, 0xed, 0x4b,
1764 0x09, 0x26, 0xfc, 0x6d, 0x3a, 0x87, 0xa2, 0x6d, 0x23, 0x5c, 0xb4, 0xbd, 0x9e, 0xd9, 0x45, 0x53,
1765 0xaa, 0xb6, 0xff, 0x65, 0x05, 0xbe, 0xc7, 0xc4, 0x0e, 0xf8, 0x8e, 0xd2, 0xda, 0x1f, 0x7c, 0xc7,
1766 0x43, 0x9f, 0x49, 0x80, 0x44, 0x16, 0x58, 0xd4, 0x75, 0xc3, 0x56, 0x9c, 0x58, 0xe9, 0x98, 0xb5,
1767 0x9a, 0xd9, 0x2c, 0x57, 0x63, 0x75, 0x3b, 0x86, 0xf5, 0x48, 0xb7, 0xad, 0xbe, 0xbf, 0xc9, 0x71,
1768 0x06, 0x9c, 0x60, 0x00, 0x52, 0x00, 0x2c, 0x81, 0xb9, 0x65, 0x88, 0x83, 0x7c, 0x33, 0x43, 0xcc,
1769 0x63, 0x02, 0x4b, 0x86, 0xbe, 0xab, 0x76, 0xfc, 0xb0, 0x83, 0x3d, 0x20, 0x1c, 0x00, 0xbd, 0xf4,
1770 0x08, 0xe6, 0x53, 0xac, 0x45, 0x53, 0x90, 0xdf, 0x27, 0x7d, 0x67, 0xd9, 0x30, 0xfb, 0x13, 0xcd,
1771 0xc2, 0xd0, 0x81, 0xa2, 0xf5, 0x9c, 0xf0, 0x3b, 0x82, 0x9d, 0x1f, 0x0f, 0x72, 0xf7, 0x25, 0xf9,
1772 0x8b, 0xa1, 0xa0, 0xef, 0xf0, 0x8a, 0xf9, 0x3a, 0xbb, 0xb4, 0x9a, 0x9a, 0xda, 0x52, 0xa8, 0x28,
1773 0x84, 0xc6, 0x9c, 0x0b, 0xab, 0x33, 0x86, 0x3d, 0x6a, 0xa8, 0xb6, 0xce, 0xbd, 0xda, 0xda, 0x3a,
1774 0xff, 0x72, 0x6a, 0xeb, 0xdf, 0x83, 0x12, 0x75, 0xab, 0xea, 0x02, 0x87, 0xbc, 0x75, 0x8a, 0xf8,
1775 0x2a, 0x0a, 0x6a, 0x4f, 0x81, 0x57, 0x4a, 0x7b, 0xa0, 0x49, 0x45, 0xf4, 0xd0, 0x29, 0x8b, 0xe8,
1776 0x97, 0x5a, 0xf8, 0xb2, 0x78, 0x63, 0x2a, 0x3d, 0x4a, 0xda, 0x3c, 0xb6, 0x95, 0xfc, 0x78, 0xd3,
1777 0xe0, 0xa3, 0x58, 0x50, 0xd1, 0x07, 0x21, 0x97, 0x2d, 0x9d, 0xc5, 0x65, 0x27, 0xd2, 0xdd, 0x15,
1778 0x6d, 0xc3, 0xbc, 0x69, 0x19, 0x1d, 0x8b, 0x50, 0xba, 0x4c, 0x94, 0xb6, 0xa6, 0xea, 0xc4, 0x5d,
1779 0x1f, 0xa7, 0x22, 0xba, 0x7c, 0x7c, 0x54, 0x99, 0x6f, 0x24, 0xb3, 0xe0, 0x34, 0x59, 0xf9, 0x79,
1780 0x01, 0xa6, 0xa2, 0x19, 0x30, 0xa5, 0x48, 0x95, 0xce, 0x54, 0xa4, 0xde, 0x08, 0x1c, 0x06, 0xa7,
1781 0x82, 0x0f, 0xbc, 0xe0, 0xc4, 0x0e, 0xc4, 0x22, 0x4c, 0x8a, 0x68, 0xe0, 0x12, 0x45, 0x99, 0xee,
1782 0xed, 0xfe, 0x76, 0x98, 0x8c, 0xa3, 0xfc, 0xe8, 0x21, 0x8c, 0x5b, 0xbc, 0xee, 0x76, 0x01, 0x9c,
1783 0xda, 0xf5, 0xa2, 0x00, 0x18, 0xc7, 0x41, 0x22, 0x0e, 0xf3, 0xb2, 0xba, 0xd5, 0x2f, 0x47, 0x5d,
1784 0x80, 0x42, 0xb8, 0x6e, 0x5d, 0x8c, 0x32, 0xe0, 0xb8, 0x0c, 0x5a, 0x87, 0x99, 0x9e, 0x1e, 0x87,
1785 0x72, 0x5c, 0xf9, 0xb2, 0x80, 0x9a, 0xd9, 0x8e, 0xb3, 0xe0, 0x24, 0x39, 0xb4, 0x1b, 0x2a, 0x65,
1786 0x87, 0x79, 0x78, 0xbe, 0x9d, 0xf9, 0xe0, 0x65, 0xae, 0x65, 0x13, 0xca, 0xed, 0x52, 0xd6, 0x72,
1787 0x5b, 0xfe, 0x27, 0x29, 0x98, 0x84, 0xbc, 0x12, 0x78, 0xd0, 0x2b, 0x53, 0x4c, 0x22, 0x50, 0x1d,
1788 0x19, 0xc9, 0xd5, 0xef, 0xbd, 0x53, 0x55, 0xbf, 0x7e, 0xf2, 0x1c, 0x5c, 0xfe, 0x7e, 0x2e, 0xc1,
1789 0xdc, 0x4a, 0xf3, 0xb1, 0x65, 0xf4, 0x4c, 0xd7, 0x9c, 0x4d, 0xd3, 0x59, 0x9a, 0x9f, 0x43, 0xc1,
1790 0xea, 0x69, 0xee, 0x3c, 0x5e, 0x73, 0xe7, 0x81, 0x7b, 0x1a, 0x9b, 0xc7, 0x4c, 0x44, 0xca, 0x99,
1791 0x04, 0x13, 0x40, 0x1b, 0x30, 0x6c, 0x29, 0x7a, 0x87, 0xb8, 0x69, 0xf5, 0xda, 0x00, 0xeb, 0x57,
1792 0x97, 0x31, 0x63, 0x0f, 0x14, 0x36, 0x5c, 0x1a, 0x0b, 0x14, 0xf9, 0x9f, 0x25, 0x98, 0x7c, 0xb2,
1793 0xb5, 0xd5, 0x58, 0xd5, 0xf9, 0x89, 0xe6, 0x6f, 0xab, 0x57, 0xa1, 0x60, 0x2a, 0xf6, 0x5e, 0x34,
1794 0xd3, 0x33, 0x1a, 0xe6, 0x14, 0x74, 0x07, 0x4a, 0xec, 0x5f, 0x66, 0x17, 0x3f, 0x52, 0x23, 0x3c,
1795 0x10, 0x96, 0x1a, 0x62, 0xec, 0x45, 0xe0, 0x6f, 0xec, 0x71, 0xa2, 0xf7, 0xa0, 0xc8, 0xe2, 0x0f,
1796 0xd1, 0xdb, 0x19, 0x0b, 0x74, 0x61, 0x54, 0xdd, 0x11, 0xf2, 0x6b, 0x2e, 0x31, 0x80, 0x5d, 0x38,
1797 0x79, 0x1f, 0x66, 0x03, 0x93, 0x60, 0xab, 0xf8, 0x94, 0xe5, 0x54, 0xd4, 0x84, 0x21, 0xa6, 0x9d,
1798 0x65, 0xce, 0x7c, 0x86, 0x27, 0xd0, 0xc8, 0x42, 0xf8, 0xf5, 0x11, 0xfb, 0x45, 0xb1, 0x83, 0x25,
1799 0xaf, 0xc3, 0x38, 0x7f, 0x86, 0x36, 0x2c, 0x9b, 0x2f, 0x26, 0xba, 0x02, 0xf9, 0xae, 0xaa, 0x8b,
1800 0xec, 0x3c, 0x2a, 0x64, 0xf2, 0x2c, 0xb3, 0xb0, 0x71, 0x4e, 0x56, 0x0e, 0x45, 0xbc, 0xf2, 0xc9,
1801 0xca, 0x21, 0x66, 0xe3, 0xf2, 0x63, 0x28, 0x8a, 0x4d, 0x0a, 0x02, 0xe5, 0x4f, 0x06, 0xca, 0x27,
1802 0x00, 0x6d, 0x42, 0x71, 0xb5, 0x51, 0xd7, 0x0c, 0xa7, 0x56, 0x6b, 0xa9, 0x6d, 0x2b, 0xba, 0x83,
1803 0x4b, 0xab, 0xcb, 0x18, 0x73, 0x0a, 0x92, 0x61, 0x98, 0x1c, 0xb6, 0x88, 0x69, 0x73, 0x3f, 0x1a,
1804 0xa9, 0x03, 0xf3, 0x8d, 0x47, 0x7c, 0x04, 0x0b, 0x8a, 0xfc, 0x27, 0x39, 0x28, 0x8a, 0xe5, 0x38,
1805 0x87, 0xbb, 0xdb, 0x5a, 0xe8, 0xee, 0xf6, 0x46, 0x36, 0xd7, 0x48, 0xbd, 0xb8, 0x6d, 0x45, 0x2e,
1806 0x6e, 0x37, 0x32, 0xe2, 0x9d, 0x7c, 0x6b, 0xfb, 0x34, 0x07, 0x13, 0x61, 0xa7, 0x44, 0x77, 0x61,
1807 0x94, 0xa5, 0x29, 0xb5, 0x45, 0x36, 0xfc, 0xea, 0xd8, 0x7b, 0xba, 0x69, 0xfa, 0x24, 0x1c, 0xe4,
1808 0x43, 0x1d, 0x4f, 0x8c, 0xf9, 0x91, 0x98, 0x74, 0xfa, 0x92, 0xf6, 0x6c, 0x55, 0xab, 0x3a, 0x1f,
1809 0x64, 0xaa, 0xab, 0xba, 0xbd, 0x69, 0x35, 0x6d, 0x4b, 0xd5, 0x3b, 0x31, 0x45, 0xdc, 0x29, 0x83,
1810 0xc8, 0xe8, 0x5d, 0x96, 0x32, 0xa9, 0xd1, 0xb3, 0x5a, 0x24, 0xa9, 0xf4, 0x75, 0xcb, 0x36, 0x76,
1811 0x40, 0xdb, 0x6b, 0x46, 0x4b, 0xd1, 0x9c, 0xcd, 0xc1, 0x64, 0x97, 0x58, 0x44, 0x6f, 0x11, 0xb7,
1812 0xdc, 0x74, 0x20, 0xb0, 0x07, 0x26, 0xff, 0x83, 0x04, 0xa3, 0x62, 0x2d, 0xce, 0xe1, 0x92, 0xf3,
1813 0x3b, 0xe1, 0x4b, 0xce, 0xb5, 0x8c, 0x91, 0x23, 0xf9, 0x86, 0xf3, 0xd7, 0xbe, 0xe9, 0x2c, 0x56,
1814 0xb0, 0xe3, 0xb2, 0x67, 0x50, 0x3b, 0x7a, 0x5c, 0xd8, 0x29, 0xc7, 0x9c, 0x82, 0x7a, 0x30, 0xa5,
1815 0x46, 0x82, 0x8b, 0xd8, 0xb3, 0x5a, 0x36, 0x4b, 0x3c, 0xb1, 0x7a, 0x59, 0xc0, 0x4f, 0x45, 0x29,
1816 0x38, 0xa6, 0x42, 0x26, 0x10, 0xe3, 0x42, 0xef, 0x40, 0x61, 0xcf, 0xb6, 0xcd, 0x84, 0xe7, 0xf3,
1817 0x01, 0x21, 0xcd, 0x37, 0xa1, 0xc4, 0x67, 0xb7, 0xb5, 0xd5, 0xc0, 0x1c, 0x4a, 0xfe, 0xc7, 0x9c,
1818 0xb7, 0x1e, 0xfc, 0xce, 0xf1, 0xb6, 0x37, 0xdb, 0x25, 0x4d, 0xa1, 0x94, 0x3b, 0xb6, 0x73, 0x3f,
1819 0x9e, 0x0d, 0x18, 0xee, 0xd1, 0x70, 0x8c, 0x1b, 0x6d, 0xf9, 0xa1, 0x5e, 0x3a, 0x4b, 0xa8, 0x1f,
1820 0x4d, 0x0a, 0xf3, 0xe8, 0x09, 0xe4, 0x6d, 0x2d, 0xeb, 0x3d, 0x57, 0x20, 0x6e, 0xad, 0x35, 0xfd,
1821 0x58, 0xb9, 0xb5, 0xd6, 0xc4, 0x0c, 0x02, 0x6d, 0xc2, 0x10, 0x4b, 0xa7, 0x2c, 0x3a, 0xe4, 0xb3,
1822 0x47, 0x1b, 0xb6, 0x82, 0xbe, 0x4b, 0xb1, 0x5f, 0x14, 0x3b, 0x38, 0xf2, 0xc7, 0x30, 0x1e, 0x0a,
1823 0x21, 0xe8, 0x23, 0x18, 0xd3, 0x0c, 0xa5, 0x5d, 0x57, 0x34, 0x45, 0x6f, 0x11, 0xf7, 0x6b, 0xc7,
1824 0xb5, 0xa4, 0xb3, 0xb7, 0x16, 0xe0, 0x13, 0x01, 0x68, 0x56, 0x28, 0x19, 0x0b, 0xd2, 0x70, 0x08,
1825 0x51, 0x56, 0x00, 0xfc, 0x39, 0xa2, 0x0a, 0x0c, 0x31, 0x4f, 0x75, 0x52, 0xdd, 0x48, 0x7d, 0x84,
1826 0x59, 0xc8, 0x1c, 0x98, 0x62, 0x67, 0x1c, 0xdd, 0x06, 0xa0, 0xa4, 0x65, 0x11, 0x9b, 0x6f, 0x67,
1827 0x2e, 0xfc, 0xc5, 0xb4, 0xe9, 0x51, 0x70, 0x80, 0x4b, 0xfe, 0x17, 0x09, 0xc6, 0x37, 0x88, 0xfd,
1828 0x89, 0x61, 0xed, 0x37, 0x0c, 0x4d, 0x6d, 0xf5, 0xcf, 0x21, 0x0f, 0xe0, 0x50, 0x1e, 0x78, 0x73,
1829 0xc0, 0xce, 0x84, 0xac, 0x4b, 0xcb, 0x06, 0xf2, 0x97, 0x12, 0xcc, 0x87, 0x38, 0x1f, 0xf9, 0x87,
1830 0x7f, 0x1b, 0x86, 0x4c, 0xc3, 0xb2, 0xdd, 0x1a, 0xe1, 0x54, 0x0a, 0x59, 0x84, 0x0d, 0x54, 0x09,
1831 0x0c, 0x06, 0x3b, 0x68, 0x68, 0x0d, 0x72, 0xb6, 0x21, 0x5c, 0xf5, 0x74, 0x98, 0x84, 0x58, 0x75,
1832 0x10, 0x98, 0xb9, 0x2d, 0x03, 0xe7, 0x6c, 0x83, 0x6d, 0x44, 0x39, 0xc4, 0x15, 0x0c, 0x5f, 0xaf,
1833 0x68, 0x06, 0x18, 0x0a, 0xbb, 0x96, 0xd1, 0x3d, 0xf3, 0x1c, 0xbc, 0x8d, 0x58, 0xb1, 0x8c, 0x2e,
1834 0xe6, 0x58, 0xf2, 0x57, 0x12, 0x4c, 0x87, 0x38, 0xcf, 0x21, 0x75, 0xbc, 0x13, 0x4e, 0x1d, 0x37,
1835 0x4e, 0x33, 0x91, 0x94, 0x04, 0xf2, 0x55, 0x2e, 0x32, 0x0d, 0x36, 0x61, 0xb4, 0x0b, 0xa3, 0xa6,
1836 0xd1, 0x6e, 0xbe, 0x84, 0xef, 0x9b, 0x93, 0x2c, 0xa5, 0x37, 0x7c, 0x2c, 0x1c, 0x04, 0x46, 0x87,
1837 0x30, 0xad, 0x2b, 0x5d, 0x42, 0x4d, 0xa5, 0x45, 0x9a, 0x2f, 0xe1, 0xc5, 0xe7, 0x22, 0xff, 0x80,
1838 0x12, 0x45, 0xc4, 0x71, 0x25, 0x68, 0x1d, 0x8a, 0xaa, 0xc9, 0x4b, 0x4c, 0x51, 0x4b, 0x0c, 0xcc,
1839 0xc3, 0x4e, 0x41, 0xea, 0xc4, 0x73, 0xf1, 0x03, 0xbb, 0x18, 0xf2, 0xdf, 0x44, 0xbd, 0x81, 0x57,
1840 0x2c, 0x8f, 0xa1, 0xc4, 0x3b, 0x4d, 0x5a, 0x86, 0xe6, 0x7e, 0xea, 0xe0, 0x97, 0x0b, 0x31, 0xf6,
1841 0xe2, 0xa8, 0x72, 0x39, 0xe1, 0x15, 0xdb, 0x25, 0x63, 0x4f, 0x18, 0x6d, 0x40, 0xc1, 0xfc, 0x21,
1842 0xc5, 0x15, 0x4f, 0x93, 0xbc, 0xa2, 0xe2, 0x38, 0xf2, 0x1f, 0xe6, 0x23, 0xe6, 0xf2, 0x64, 0xf9,
1843 0xec, 0xa5, 0xed, 0xba, 0x57, 0xcc, 0xa5, 0xee, 0xfc, 0x0e, 0x14, 0x45, 0xaa, 0x15, 0xce, 0xfc,
1844 0xf3, 0xd3, 0x38, 0x73, 0x30, 0x8b, 0x79, 0x77, 0x29, 0x77, 0xd0, 0x05, 0x46, 0x1f, 0xc2, 0x30,
1845 0x71, 0x54, 0x38, 0xb9, 0xf1, 0xde, 0x69, 0x54, 0xf8, 0x71, 0xd5, 0xaf, 0xa1, 0xc5, 0x98, 0x40,
1846 0x45, 0xbf, 0x64, 0xeb, 0xc5, 0x78, 0x59, 0xc9, 0x49, 0xcb, 0x05, 0x9e, 0xae, 0xae, 0x38, 0xd3,
1847 0xf6, 0x86, 0x5f, 0x1c, 0x55, 0xc0, 0xff, 0x89, 0x83, 0x12, 0xf2, 0xbf, 0x49, 0x30, 0xcd, 0x57,
1848 0xa8, 0xd5, 0xb3, 0x54, 0xbb, 0x7f, 0x6e, 0x89, 0xe9, 0x69, 0x28, 0x31, 0xdd, 0x19, 0xb0, 0x2c,
1849 0x31, 0x0b, 0x53, 0x93, 0xd3, 0xd7, 0x12, 0x5c, 0x8c, 0x71, 0x9f, 0x43, 0x5c, 0xdc, 0x0e, 0xc7,
1850 0xc5, 0x37, 0x4f, 0x3b, 0xa1, 0x94, 0xd8, 0xf8, 0x3f, 0xd3, 0x09, 0xd3, 0xe1, 0x27, 0xe5, 0x36,
1851 0x80, 0x69, 0xa9, 0x07, 0xaa, 0x46, 0x3a, 0xe2, 0xab, 0x7e, 0x29, 0xd0, 0xb3, 0xe5, 0x51, 0x70,
1852 0x80, 0x0b, 0x51, 0x98, 0x6b, 0x93, 0x5d, 0xa5, 0xa7, 0xd9, 0x8b, 0xed, 0xf6, 0x92, 0x62, 0x2a,
1853 0x3b, 0xaa, 0xa6, 0xda, 0xaa, 0x78, 0xff, 0x18, 0xa9, 0x3f, 0x74, 0xbe, 0xb6, 0x27, 0x71, 0xbc,
1854 0x38, 0xaa, 0x5c, 0x49, 0xfa, 0xdc, 0xe5, 0xb2, 0xf4, 0x71, 0x0a, 0x34, 0xea, 0x43, 0xd9, 0x22,
1855 0x1f, 0xf7, 0x54, 0x8b, 0xb4, 0x97, 0x2d, 0xc3, 0x0c, 0xa9, 0xcd, 0x73, 0xb5, 0xbf, 0x7d, 0x7c,
1856 0x54, 0x29, 0xe3, 0x14, 0x9e, 0xc1, 0x8a, 0x53, 0xe1, 0xd1, 0x33, 0x98, 0x51, 0x44, 0x77, 0x5d,
1857 0x50, 0xab, 0x73, 0x4a, 0xee, 0x1f, 0x1f, 0x55, 0x66, 0x16, 0xe3, 0xe4, 0xc1, 0x0a, 0x93, 0x40,
1858 0x51, 0x0d, 0x8a, 0x07, 0xbc, 0x11, 0x8f, 0x96, 0x87, 0x38, 0x3e, 0x4b, 0x04, 0x45, 0xa7, 0x37,
1859 0x8f, 0x61, 0x0e, 0xaf, 0x34, 0xf9, 0xe9, 0x73, 0xb9, 0xd8, 0x5d, 0x97, 0xd5, 0x92, 0xe2, 0xc4,
1860 0xf3, 0x27, 0xf0, 0x92, 0x1f, 0xb5, 0x9e, 0xf8, 0x24, 0x1c, 0xe4, 0x43, 0x1f, 0xc0, 0xc8, 0x9e,
1861 0x78, 0x30, 0xa1, 0xe5, 0x62, 0xa6, 0x24, 0x1c, 0x7a, 0x60, 0xa9, 0x4f, 0x0b, 0x15, 0x23, 0xee,
1862 0x30, 0xc5, 0x3e, 0x22, 0x7a, 0x1d, 0x8a, 0xfc, 0xc7, 0xea, 0x32, 0x7f, 0x5f, 0x2c, 0xf9, 0xb1,
1863 0xed, 0x89, 0x33, 0x8c, 0x5d, 0xba, 0xcb, 0xba, 0xda, 0x58, 0xe2, 0xef, 0xdc, 0x11, 0xd6, 0xd5,
1864 0xc6, 0x12, 0x76, 0xe9, 0xe8, 0x23, 0x28, 0x52, 0xb2, 0xa6, 0xea, 0xbd, 0xc3, 0x32, 0x64, 0xfa,
1865 0x4a, 0xde, 0x7c, 0xc4, 0xb9, 0x23, 0x2f, 0x7d, 0xbe, 0x06, 0x41, 0xc7, 0x2e, 0x2c, 0xda, 0x83,
1866 0x11, 0xab, 0xa7, 0x2f, 0xd2, 0x6d, 0x4a, 0xac, 0xf2, 0x28, 0xd7, 0x31, 0x28, 0x9c, 0x63, 0x97,
1867 0x3f, 0xaa, 0xc5, 0x5b, 0x21, 0x8f, 0x03, 0xfb, 0xe0, 0x68, 0x0f, 0x80, 0xff, 0xe0, 0x8f, 0x8a,
1868 0xe5, 0x39, 0xae, 0xea, 0x7e, 0x16, 0x55, 0x49, 0x6f, 0x97, 0xe2, 0xc3, 0x82, 0x47, 0xc6, 0x01,
1869 0x6c, 0xf4, 0xc7, 0x12, 0x20, 0xda, 0x33, 0x4d, 0x8d, 0x74, 0x89, 0x6e, 0x2b, 0x1a, 0x1f, 0xa5,
1870 0xe5, 0x31, 0xae, 0xf2, 0xed, 0x41, 0x2b, 0x18, 0x13, 0x8c, 0xaa, 0xf6, 0xbe, 0x17, 0xc4, 0x59,
1871 0x71, 0x82, 0x5e, 0xb6, 0x89, 0xbb, 0x62, 0xd6, 0xe3, 0x99, 0x36, 0x31, 0xf9, 0xb9, 0xd6, 0xdf,
1872 0x44, 0x41, 0xc7, 0x2e, 0x2c, 0x7a, 0x0a, 0x73, 0x6e, 0xc7, 0x28, 0x36, 0x0c, 0x7b, 0x45, 0xd5,
1873 0x08, 0xed, 0x53, 0x9b, 0x74, 0xcb, 0x13, 0xdc, 0xc1, 0xbc, 0xb6, 0x19, 0x9c, 0xc8, 0x85, 0x53,
1874 0xa4, 0x51, 0x17, 0x2a, 0x6e, 0x70, 0x62, 0x27, 0xd7, 0x8b, 0x8e, 0x8f, 0x68, 0x4b, 0xd1, 0x9c,
1875 0x4f, 0x28, 0x93, 0x5c, 0xc1, 0x6b, 0xc7, 0x47, 0x95, 0xca, 0xf2, 0xc9, 0xac, 0x78, 0x10, 0x16,
1876 0x7a, 0x0f, 0xca, 0x4a, 0x9a, 0x9e, 0x29, 0xae, 0xe7, 0xa7, 0x2c, 0xe2, 0xa5, 0x2a, 0x48, 0x95,
1877 0x46, 0x36, 0x4c, 0x29, 0xe1, 0xde, 0x5d, 0x5a, 0x9e, 0xce, 0xf4, 0x1a, 0x1b, 0x69, 0xf9, 0xf5,
1878 0x1f, 0x4e, 0x22, 0x04, 0x8a, 0x63, 0x1a, 0xd0, 0xef, 0x03, 0x52, 0xa2, 0xed, 0xc6, 0xb4, 0x8c,
1879 0x32, 0x25, 0xba, 0x58, 0x9f, 0xb2, 0xef, 0x76, 0x31, 0x12, 0xc5, 0x09, 0x7a, 0x58, 0x81, 0xae,
1880 0x44, 0x5a, 0xa4, 0x69, 0x79, 0x9e, 0x2b, 0xaf, 0x65, 0x53, 0xee, 0xc9, 0x05, 0xbe, 0x14, 0x45,
1881 0x11, 0x71, 0x5c, 0x09, 0x5a, 0x83, 0x59, 0x31, 0xb8, 0xad, 0x53, 0x65, 0x97, 0x34, 0xfb, 0xb4,
1882 0x65, 0x6b, 0xb4, 0x3c, 0xc3, 0xe3, 0x3b, 0xff, 0x5a, 0xb9, 0x98, 0x40, 0xc7, 0x89, 0x52, 0xe8,
1883 0x6d, 0x98, 0xda, 0x35, 0xac, 0x1d, 0xb5, 0xdd, 0x26, 0xba, 0x8b, 0x34, 0xcb, 0x91, 0xf8, 0x3b,
1884 0xd0, 0x4a, 0x84, 0x86, 0x63, 0xdc, 0x88, 0xc2, 0x45, 0x81, 0xdc, 0xb0, 0x8c, 0xd6, 0xba, 0xd1,
1885 0xd3, 0x6d, 0xa7, 0xec, 0xbb, 0xe8, 0xa5, 0xd1, 0x8b, 0x8b, 0x49, 0x0c, 0x2f, 0x8e, 0x2a, 0x57,
1886 0x93, 0xab, 0x7c, 0x9f, 0x09, 0x27, 0x63, 0x23, 0x13, 0xc6, 0x44, 0xe3, 0x3b, 0x7f, 0x90, 0x2a,
1887 0x97, 0xf9, 0xd1, 0x7f, 0x30, 0x38, 0xe0, 0x79, 0x22, 0xd1, 0xf3, 0x3f, 0x75, 0x7c, 0x54, 0x19,
1888 0x0b, 0x32, 0xe0, 0x90, 0x06, 0xde, 0xe8, 0x24, 0x3e, 0xaf, 0x9d, 0x4f, 0xb3, 0xf8, 0xe9, 0x1a,
1889 0x9d, 0x7c, 0xd3, 0x5e, 0x5a, 0xa3, 0x53, 0x00, 0xf2, 0xe4, 0x27, 0xf3, 0xff, 0xce, 0xc1, 0x8c,
1890 0xcf, 0x9c, 0xb9, 0xd1, 0x29, 0x41, 0xe4, 0xd7, 0x0d, 0xe3, 0xd9, 0x9a, 0x8f, 0xfc, 0xa5, 0xfb,
1891 0xff, 0xd7, 0x7c, 0xe4, 0xdb, 0x96, 0x72, 0x7b, 0xf8, 0xbb, 0x5c, 0x70, 0x02, 0xa7, 0xec, 0x80,
1892 0x79, 0x09, 0x3d, 0xd3, 0x3f, 0xba, 0x26, 0x1a, 0xf9, 0xeb, 0x3c, 0x4c, 0x45, 0x4f, 0x63, 0xa8,
1893 0x51, 0x42, 0x1a, 0xd8, 0x28, 0xd1, 0x80, 0xd9, 0xdd, 0x9e, 0xa6, 0xf5, 0xf9, 0x1c, 0x02, 0xdd,
1894 0x12, 0xce, 0x27, 0xcb, 0x9f, 0x0a, 0xc9, 0xd9, 0x95, 0x04, 0x1e, 0x9c, 0x28, 0x19, 0xef, 0x9b,
1895 0x28, 0xfc, 0xd0, 0xbe, 0x89, 0xa1, 0x33, 0xf4, 0x4d, 0x24, 0xb7, 0x9e, 0xe4, 0xcf, 0xd4, 0x7a,
1896 0x72, 0x96, 0xa6, 0x89, 0x84, 0x20, 0x36, 0xb0, 0x01, 0xf8, 0x17, 0x30, 0x11, 0x6e, 0xe4, 0x71,
1897 0xf6, 0xd2, 0xe9, 0x25, 0x12, 0x9f, 0x86, 0x03, 0x7b, 0xe9, 0x8c, 0x63, 0x8f, 0x43, 0xfe, 0x23,
1898 0x09, 0xe6, 0x92, 0x1b, 0x76, 0x91, 0x06, 0x13, 0x5d, 0xe5, 0x30, 0xd8, 0x44, 0x2d, 0x9d, 0xf1,
1899 0x65, 0x8c, 0x77, 0x70, 0xac, 0x87, 0xb0, 0x70, 0x04, 0x5b, 0xfe, 0x5e, 0x82, 0xf9, 0x94, 0xde,
1900 0x89, 0xf3, 0xb5, 0x04, 0xbd, 0x0f, 0xa5, 0xae, 0x72, 0xd8, 0xec, 0x59, 0x1d, 0x72, 0xe6, 0xb7,
1901 0x40, 0x7e, 0xa0, 0xd7, 0x05, 0x0a, 0xf6, 0xf0, 0xe4, 0xbf, 0x92, 0xe0, 0x27, 0xa9, 0x57, 0x25,
1902 0x74, 0x2f, 0xd4, 0xe6, 0x21, 0x47, 0xda, 0x3c, 0x50, 0x5c, 0xf0, 0x15, 0x75, 0x79, 0x7c, 0x2e,
1903 0x41, 0x39, 0xed, 0xee, 0x88, 0xee, 0x86, 0x8c, 0xfc, 0x59, 0xc4, 0xc8, 0xe9, 0x98, 0xdc, 0x2b,
1904 0xb2, 0xf1, 0xdf, 0x25, 0xb8, 0x7c, 0x42, 0x0d, 0xe6, 0x5d, 0x51, 0x48, 0x3b, 0xc8, 0xc5, 0x9f,
1905 0xad, 0xc5, 0x37, 0x2f, 0xff, 0x8a, 0x92, 0xc0, 0x83, 0x53, 0xa5, 0xd1, 0x36, 0xcc, 0x8b, 0xfb,
1906 0x51, 0x94, 0x26, 0xca, 0x0b, 0xde, 0x0d, 0xb7, 0x9c, 0xcc, 0x82, 0xd3, 0x64, 0xe5, 0xbf, 0x95,
1907 0x60, 0x2e, 0xf9, 0x51, 0x00, 0xbd, 0x15, 0x5a, 0xf2, 0x4a, 0x64, 0xc9, 0x27, 0x23, 0x52, 0x62,
1908 0xc1, 0x3f, 0x84, 0x09, 0xf1, 0x74, 0x20, 0x60, 0x84, 0x33, 0xcb, 0x49, 0x19, 0x44, 0x40, 0xb8,
1909 0x05, 0x2c, 0x3f, 0x26, 0xe1, 0x31, 0x1c, 0x41, 0x93, 0x3f, 0xcd, 0xc1, 0x50, 0xb3, 0xa5, 0x68,
1910 0xe4, 0x1c, 0xea, 0xd7, 0x5f, 0x85, 0xea, 0xd7, 0x41, 0xff, 0xcf, 0x8c, 0x5b, 0x95, 0x5a, 0xba,
1911 0xe2, 0x48, 0xe9, 0xfa, 0x46, 0x26, 0xb4, 0x93, 0xab, 0xd6, 0xdf, 0x82, 0x11, 0x4f, 0xe9, 0xe9,
1912 0x92, 0xa9, 0xfc, 0x97, 0x39, 0x18, 0x0d, 0xa8, 0x38, 0x65, 0x2a, 0xde, 0x0d, 0xd5, 0x1f, 0xf9,
1913 0x0c, 0x0f, 0x35, 0x01, 0x5d, 0x55, 0xb7, 0xe2, 0x70, 0xfa, 0xa4, 0xfd, 0xce, 0xd8, 0x78, 0x21,
1914 0xf2, 0x0b, 0x98, 0xb0, 0x15, 0xab, 0x43, 0x6c, 0xef, 0xc3, 0x85, 0xd3, 0xc7, 0xe5, 0x35, 0xec,
1915 0x6f, 0x85, 0xa8, 0x38, 0xc2, 0x7d, 0xe9, 0x21, 0x8c, 0x87, 0x94, 0x9d, 0xaa, 0xcd, 0xf9, 0xef,
1916 0x25, 0xf8, 0xd9, 0xc0, 0xc7, 0x1e, 0x54, 0x0f, 0x1d, 0x92, 0x6a, 0xe4, 0x90, 0x2c, 0xa4, 0x03,
1917 0xbc, 0xba, 0x76, 0xb9, 0xfa, 0xcd, 0xe7, 0xdf, 0x2d, 0x5c, 0xf8, 0xe6, 0xbb, 0x85, 0x0b, 0xdf,
1918 0x7e, 0xb7, 0x70, 0xe1, 0x0f, 0x8e, 0x17, 0xa4, 0xe7, 0xc7, 0x0b, 0xd2, 0x37, 0xc7, 0x0b, 0xd2,
1919 0xb7, 0xc7, 0x0b, 0xd2, 0x7f, 0x1e, 0x2f, 0x48, 0x7f, 0xfa, 0xfd, 0xc2, 0x85, 0xf7, 0x8b, 0x02,
1920 0xee, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x98, 0xf4, 0xad, 0x8a, 0xba, 0x3e, 0x00, 0x00,
1921}
1922
1923func (m *AllowedCSIDriver) Marshal() (dAtA []byte, err error) {
1924 size := m.Size()
1925 dAtA = make([]byte, size)
1926 n, err := m.MarshalToSizedBuffer(dAtA[:size])
1927 if err != nil {
1928 return nil, err
1929 }
1930 return dAtA[:n], nil
1931}
1932
1933func (m *AllowedCSIDriver) MarshalTo(dAtA []byte) (int, error) {
1934 size := m.Size()
1935 return m.MarshalToSizedBuffer(dAtA[:size])
1936}
1937
1938func (m *AllowedCSIDriver) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1939 i := len(dAtA)
1940 _ = i
1941 var l int
1942 _ = l
1943 i -= len(m.Name)
1944 copy(dAtA[i:], m.Name)
1945 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
1946 i--
1947 dAtA[i] = 0xa
1948 return len(dAtA) - i, nil
1949}
1950
1951func (m *AllowedFlexVolume) Marshal() (dAtA []byte, err error) {
1952 size := m.Size()
1953 dAtA = make([]byte, size)
1954 n, err := m.MarshalToSizedBuffer(dAtA[:size])
1955 if err != nil {
1956 return nil, err
1957 }
1958 return dAtA[:n], nil
1959}
1960
1961func (m *AllowedFlexVolume) MarshalTo(dAtA []byte) (int, error) {
1962 size := m.Size()
1963 return m.MarshalToSizedBuffer(dAtA[:size])
1964}
1965
1966func (m *AllowedFlexVolume) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1967 i := len(dAtA)
1968 _ = i
1969 var l int
1970 _ = l
1971 i -= len(m.Driver)
1972 copy(dAtA[i:], m.Driver)
1973 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Driver)))
1974 i--
1975 dAtA[i] = 0xa
1976 return len(dAtA) - i, nil
1977}
1978
1979func (m *AllowedHostPath) Marshal() (dAtA []byte, err error) {
1980 size := m.Size()
1981 dAtA = make([]byte, size)
1982 n, err := m.MarshalToSizedBuffer(dAtA[:size])
1983 if err != nil {
1984 return nil, err
1985 }
1986 return dAtA[:n], nil
1987}
1988
1989func (m *AllowedHostPath) MarshalTo(dAtA []byte) (int, error) {
1990 size := m.Size()
1991 return m.MarshalToSizedBuffer(dAtA[:size])
1992}
1993
1994func (m *AllowedHostPath) MarshalToSizedBuffer(dAtA []byte) (int, error) {
1995 i := len(dAtA)
1996 _ = i
1997 var l int
1998 _ = l
1999 i--
2000 if m.ReadOnly {
2001 dAtA[i] = 1
2002 } else {
2003 dAtA[i] = 0
2004 }
2005 i--
2006 dAtA[i] = 0x10
2007 i -= len(m.PathPrefix)
2008 copy(dAtA[i:], m.PathPrefix)
2009 i = encodeVarintGenerated(dAtA, i, uint64(len(m.PathPrefix)))
2010 i--
2011 dAtA[i] = 0xa
2012 return len(dAtA) - i, nil
2013}
2014
2015func (m *DaemonSet) Marshal() (dAtA []byte, err error) {
2016 size := m.Size()
2017 dAtA = make([]byte, size)
2018 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2019 if err != nil {
2020 return nil, err
2021 }
2022 return dAtA[:n], nil
2023}
2024
2025func (m *DaemonSet) MarshalTo(dAtA []byte) (int, error) {
2026 size := m.Size()
2027 return m.MarshalToSizedBuffer(dAtA[:size])
2028}
2029
2030func (m *DaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2031 i := len(dAtA)
2032 _ = i
2033 var l int
2034 _ = l
2035 {
2036 size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
2037 if err != nil {
2038 return 0, err
2039 }
2040 i -= size
2041 i = encodeVarintGenerated(dAtA, i, uint64(size))
2042 }
2043 i--
2044 dAtA[i] = 0x1a
2045 {
2046 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
2047 if err != nil {
2048 return 0, err
2049 }
2050 i -= size
2051 i = encodeVarintGenerated(dAtA, i, uint64(size))
2052 }
2053 i--
2054 dAtA[i] = 0x12
2055 {
2056 size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
2057 if err != nil {
2058 return 0, err
2059 }
2060 i -= size
2061 i = encodeVarintGenerated(dAtA, i, uint64(size))
2062 }
2063 i--
2064 dAtA[i] = 0xa
2065 return len(dAtA) - i, nil
2066}
2067
2068func (m *DaemonSetCondition) Marshal() (dAtA []byte, err error) {
2069 size := m.Size()
2070 dAtA = make([]byte, size)
2071 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2072 if err != nil {
2073 return nil, err
2074 }
2075 return dAtA[:n], nil
2076}
2077
2078func (m *DaemonSetCondition) MarshalTo(dAtA []byte) (int, error) {
2079 size := m.Size()
2080 return m.MarshalToSizedBuffer(dAtA[:size])
2081}
2082
2083func (m *DaemonSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2084 i := len(dAtA)
2085 _ = i
2086 var l int
2087 _ = l
2088 i -= len(m.Message)
2089 copy(dAtA[i:], m.Message)
2090 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
2091 i--
2092 dAtA[i] = 0x2a
2093 i -= len(m.Reason)
2094 copy(dAtA[i:], m.Reason)
2095 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
2096 i--
2097 dAtA[i] = 0x22
2098 {
2099 size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
2100 if err != nil {
2101 return 0, err
2102 }
2103 i -= size
2104 i = encodeVarintGenerated(dAtA, i, uint64(size))
2105 }
2106 i--
2107 dAtA[i] = 0x1a
2108 i -= len(m.Status)
2109 copy(dAtA[i:], m.Status)
2110 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
2111 i--
2112 dAtA[i] = 0x12
2113 i -= len(m.Type)
2114 copy(dAtA[i:], m.Type)
2115 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
2116 i--
2117 dAtA[i] = 0xa
2118 return len(dAtA) - i, nil
2119}
2120
2121func (m *DaemonSetList) Marshal() (dAtA []byte, err error) {
2122 size := m.Size()
2123 dAtA = make([]byte, size)
2124 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2125 if err != nil {
2126 return nil, err
2127 }
2128 return dAtA[:n], nil
2129}
2130
2131func (m *DaemonSetList) MarshalTo(dAtA []byte) (int, error) {
2132 size := m.Size()
2133 return m.MarshalToSizedBuffer(dAtA[:size])
2134}
2135
2136func (m *DaemonSetList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2137 i := len(dAtA)
2138 _ = i
2139 var l int
2140 _ = l
2141 if len(m.Items) > 0 {
2142 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
2143 {
2144 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
2145 if err != nil {
2146 return 0, err
2147 }
2148 i -= size
2149 i = encodeVarintGenerated(dAtA, i, uint64(size))
2150 }
2151 i--
2152 dAtA[i] = 0x12
2153 }
2154 }
2155 {
2156 size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
2157 if err != nil {
2158 return 0, err
2159 }
2160 i -= size
2161 i = encodeVarintGenerated(dAtA, i, uint64(size))
2162 }
2163 i--
2164 dAtA[i] = 0xa
2165 return len(dAtA) - i, nil
2166}
2167
2168func (m *DaemonSetSpec) Marshal() (dAtA []byte, err error) {
2169 size := m.Size()
2170 dAtA = make([]byte, size)
2171 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2172 if err != nil {
2173 return nil, err
2174 }
2175 return dAtA[:n], nil
2176}
2177
2178func (m *DaemonSetSpec) MarshalTo(dAtA []byte) (int, error) {
2179 size := m.Size()
2180 return m.MarshalToSizedBuffer(dAtA[:size])
2181}
2182
2183func (m *DaemonSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2184 i := len(dAtA)
2185 _ = i
2186 var l int
2187 _ = l
2188 if m.RevisionHistoryLimit != nil {
2189 i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
2190 i--
2191 dAtA[i] = 0x30
2192 }
2193 i = encodeVarintGenerated(dAtA, i, uint64(m.TemplateGeneration))
2194 i--
2195 dAtA[i] = 0x28
2196 i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
2197 i--
2198 dAtA[i] = 0x20
2199 {
2200 size, err := m.UpdateStrategy.MarshalToSizedBuffer(dAtA[:i])
2201 if err != nil {
2202 return 0, err
2203 }
2204 i -= size
2205 i = encodeVarintGenerated(dAtA, i, uint64(size))
2206 }
2207 i--
2208 dAtA[i] = 0x1a
2209 {
2210 size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
2211 if err != nil {
2212 return 0, err
2213 }
2214 i -= size
2215 i = encodeVarintGenerated(dAtA, i, uint64(size))
2216 }
2217 i--
2218 dAtA[i] = 0x12
2219 if m.Selector != nil {
2220 {
2221 size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
2222 if err != nil {
2223 return 0, err
2224 }
2225 i -= size
2226 i = encodeVarintGenerated(dAtA, i, uint64(size))
2227 }
2228 i--
2229 dAtA[i] = 0xa
2230 }
2231 return len(dAtA) - i, nil
2232}
2233
2234func (m *DaemonSetStatus) Marshal() (dAtA []byte, err error) {
2235 size := m.Size()
2236 dAtA = make([]byte, size)
2237 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2238 if err != nil {
2239 return nil, err
2240 }
2241 return dAtA[:n], nil
2242}
2243
2244func (m *DaemonSetStatus) MarshalTo(dAtA []byte) (int, error) {
2245 size := m.Size()
2246 return m.MarshalToSizedBuffer(dAtA[:size])
2247}
2248
2249func (m *DaemonSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2250 i := len(dAtA)
2251 _ = i
2252 var l int
2253 _ = l
2254 if len(m.Conditions) > 0 {
2255 for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
2256 {
2257 size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
2258 if err != nil {
2259 return 0, err
2260 }
2261 i -= size
2262 i = encodeVarintGenerated(dAtA, i, uint64(size))
2263 }
2264 i--
2265 dAtA[i] = 0x52
2266 }
2267 }
2268 if m.CollisionCount != nil {
2269 i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
2270 i--
2271 dAtA[i] = 0x48
2272 }
2273 i = encodeVarintGenerated(dAtA, i, uint64(m.NumberUnavailable))
2274 i--
2275 dAtA[i] = 0x40
2276 i = encodeVarintGenerated(dAtA, i, uint64(m.NumberAvailable))
2277 i--
2278 dAtA[i] = 0x38
2279 i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedNumberScheduled))
2280 i--
2281 dAtA[i] = 0x30
2282 i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
2283 i--
2284 dAtA[i] = 0x28
2285 i = encodeVarintGenerated(dAtA, i, uint64(m.NumberReady))
2286 i--
2287 dAtA[i] = 0x20
2288 i = encodeVarintGenerated(dAtA, i, uint64(m.DesiredNumberScheduled))
2289 i--
2290 dAtA[i] = 0x18
2291 i = encodeVarintGenerated(dAtA, i, uint64(m.NumberMisscheduled))
2292 i--
2293 dAtA[i] = 0x10
2294 i = encodeVarintGenerated(dAtA, i, uint64(m.CurrentNumberScheduled))
2295 i--
2296 dAtA[i] = 0x8
2297 return len(dAtA) - i, nil
2298}
2299
2300func (m *DaemonSetUpdateStrategy) Marshal() (dAtA []byte, err error) {
2301 size := m.Size()
2302 dAtA = make([]byte, size)
2303 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2304 if err != nil {
2305 return nil, err
2306 }
2307 return dAtA[:n], nil
2308}
2309
2310func (m *DaemonSetUpdateStrategy) MarshalTo(dAtA []byte) (int, error) {
2311 size := m.Size()
2312 return m.MarshalToSizedBuffer(dAtA[:size])
2313}
2314
2315func (m *DaemonSetUpdateStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2316 i := len(dAtA)
2317 _ = i
2318 var l int
2319 _ = l
2320 if m.RollingUpdate != nil {
2321 {
2322 size, err := m.RollingUpdate.MarshalToSizedBuffer(dAtA[:i])
2323 if err != nil {
2324 return 0, err
2325 }
2326 i -= size
2327 i = encodeVarintGenerated(dAtA, i, uint64(size))
2328 }
2329 i--
2330 dAtA[i] = 0x12
2331 }
2332 i -= len(m.Type)
2333 copy(dAtA[i:], m.Type)
2334 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
2335 i--
2336 dAtA[i] = 0xa
2337 return len(dAtA) - i, nil
2338}
2339
2340func (m *Deployment) Marshal() (dAtA []byte, err error) {
2341 size := m.Size()
2342 dAtA = make([]byte, size)
2343 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2344 if err != nil {
2345 return nil, err
2346 }
2347 return dAtA[:n], nil
2348}
2349
2350func (m *Deployment) MarshalTo(dAtA []byte) (int, error) {
2351 size := m.Size()
2352 return m.MarshalToSizedBuffer(dAtA[:size])
2353}
2354
2355func (m *Deployment) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2356 i := len(dAtA)
2357 _ = i
2358 var l int
2359 _ = l
2360 {
2361 size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
2362 if err != nil {
2363 return 0, err
2364 }
2365 i -= size
2366 i = encodeVarintGenerated(dAtA, i, uint64(size))
2367 }
2368 i--
2369 dAtA[i] = 0x1a
2370 {
2371 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
2372 if err != nil {
2373 return 0, err
2374 }
2375 i -= size
2376 i = encodeVarintGenerated(dAtA, i, uint64(size))
2377 }
2378 i--
2379 dAtA[i] = 0x12
2380 {
2381 size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
2382 if err != nil {
2383 return 0, err
2384 }
2385 i -= size
2386 i = encodeVarintGenerated(dAtA, i, uint64(size))
2387 }
2388 i--
2389 dAtA[i] = 0xa
2390 return len(dAtA) - i, nil
2391}
2392
2393func (m *DeploymentCondition) Marshal() (dAtA []byte, err error) {
2394 size := m.Size()
2395 dAtA = make([]byte, size)
2396 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2397 if err != nil {
2398 return nil, err
2399 }
2400 return dAtA[:n], nil
2401}
2402
2403func (m *DeploymentCondition) MarshalTo(dAtA []byte) (int, error) {
2404 size := m.Size()
2405 return m.MarshalToSizedBuffer(dAtA[:size])
2406}
2407
2408func (m *DeploymentCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2409 i := len(dAtA)
2410 _ = i
2411 var l int
2412 _ = l
2413 {
2414 size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
2415 if err != nil {
2416 return 0, err
2417 }
2418 i -= size
2419 i = encodeVarintGenerated(dAtA, i, uint64(size))
2420 }
2421 i--
2422 dAtA[i] = 0x3a
2423 {
2424 size, err := m.LastUpdateTime.MarshalToSizedBuffer(dAtA[:i])
2425 if err != nil {
2426 return 0, err
2427 }
2428 i -= size
2429 i = encodeVarintGenerated(dAtA, i, uint64(size))
2430 }
2431 i--
2432 dAtA[i] = 0x32
2433 i -= len(m.Message)
2434 copy(dAtA[i:], m.Message)
2435 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
2436 i--
2437 dAtA[i] = 0x2a
2438 i -= len(m.Reason)
2439 copy(dAtA[i:], m.Reason)
2440 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
2441 i--
2442 dAtA[i] = 0x22
2443 i -= len(m.Status)
2444 copy(dAtA[i:], m.Status)
2445 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
2446 i--
2447 dAtA[i] = 0x12
2448 i -= len(m.Type)
2449 copy(dAtA[i:], m.Type)
2450 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
2451 i--
2452 dAtA[i] = 0xa
2453 return len(dAtA) - i, nil
2454}
2455
2456func (m *DeploymentList) Marshal() (dAtA []byte, err error) {
2457 size := m.Size()
2458 dAtA = make([]byte, size)
2459 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2460 if err != nil {
2461 return nil, err
2462 }
2463 return dAtA[:n], nil
2464}
2465
2466func (m *DeploymentList) MarshalTo(dAtA []byte) (int, error) {
2467 size := m.Size()
2468 return m.MarshalToSizedBuffer(dAtA[:size])
2469}
2470
2471func (m *DeploymentList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2472 i := len(dAtA)
2473 _ = i
2474 var l int
2475 _ = l
2476 if len(m.Items) > 0 {
2477 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
2478 {
2479 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
2480 if err != nil {
2481 return 0, err
2482 }
2483 i -= size
2484 i = encodeVarintGenerated(dAtA, i, uint64(size))
2485 }
2486 i--
2487 dAtA[i] = 0x12
2488 }
2489 }
2490 {
2491 size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
2492 if err != nil {
2493 return 0, err
2494 }
2495 i -= size
2496 i = encodeVarintGenerated(dAtA, i, uint64(size))
2497 }
2498 i--
2499 dAtA[i] = 0xa
2500 return len(dAtA) - i, nil
2501}
2502
2503func (m *DeploymentRollback) Marshal() (dAtA []byte, err error) {
2504 size := m.Size()
2505 dAtA = make([]byte, size)
2506 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2507 if err != nil {
2508 return nil, err
2509 }
2510 return dAtA[:n], nil
2511}
2512
2513func (m *DeploymentRollback) MarshalTo(dAtA []byte) (int, error) {
2514 size := m.Size()
2515 return m.MarshalToSizedBuffer(dAtA[:size])
2516}
2517
2518func (m *DeploymentRollback) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2519 i := len(dAtA)
2520 _ = i
2521 var l int
2522 _ = l
2523 {
2524 size, err := m.RollbackTo.MarshalToSizedBuffer(dAtA[:i])
2525 if err != nil {
2526 return 0, err
2527 }
2528 i -= size
2529 i = encodeVarintGenerated(dAtA, i, uint64(size))
2530 }
2531 i--
2532 dAtA[i] = 0x1a
2533 if len(m.UpdatedAnnotations) > 0 {
2534 keysForUpdatedAnnotations := make([]string, 0, len(m.UpdatedAnnotations))
2535 for k := range m.UpdatedAnnotations {
2536 keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, string(k))
2537 }
2538 github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
2539 for iNdEx := len(keysForUpdatedAnnotations) - 1; iNdEx >= 0; iNdEx-- {
2540 v := m.UpdatedAnnotations[string(keysForUpdatedAnnotations[iNdEx])]
2541 baseI := i
2542 i -= len(v)
2543 copy(dAtA[i:], v)
2544 i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
2545 i--
2546 dAtA[i] = 0x12
2547 i -= len(keysForUpdatedAnnotations[iNdEx])
2548 copy(dAtA[i:], keysForUpdatedAnnotations[iNdEx])
2549 i = encodeVarintGenerated(dAtA, i, uint64(len(keysForUpdatedAnnotations[iNdEx])))
2550 i--
2551 dAtA[i] = 0xa
2552 i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
2553 i--
2554 dAtA[i] = 0x12
2555 }
2556 }
2557 i -= len(m.Name)
2558 copy(dAtA[i:], m.Name)
2559 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
2560 i--
2561 dAtA[i] = 0xa
2562 return len(dAtA) - i, nil
2563}
2564
2565func (m *DeploymentSpec) Marshal() (dAtA []byte, err error) {
2566 size := m.Size()
2567 dAtA = make([]byte, size)
2568 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2569 if err != nil {
2570 return nil, err
2571 }
2572 return dAtA[:n], nil
2573}
2574
2575func (m *DeploymentSpec) MarshalTo(dAtA []byte) (int, error) {
2576 size := m.Size()
2577 return m.MarshalToSizedBuffer(dAtA[:size])
2578}
2579
2580func (m *DeploymentSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2581 i := len(dAtA)
2582 _ = i
2583 var l int
2584 _ = l
2585 if m.ProgressDeadlineSeconds != nil {
2586 i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
2587 i--
2588 dAtA[i] = 0x48
2589 }
2590 if m.RollbackTo != nil {
2591 {
2592 size, err := m.RollbackTo.MarshalToSizedBuffer(dAtA[:i])
2593 if err != nil {
2594 return 0, err
2595 }
2596 i -= size
2597 i = encodeVarintGenerated(dAtA, i, uint64(size))
2598 }
2599 i--
2600 dAtA[i] = 0x42
2601 }
2602 i--
2603 if m.Paused {
2604 dAtA[i] = 1
2605 } else {
2606 dAtA[i] = 0
2607 }
2608 i--
2609 dAtA[i] = 0x38
2610 if m.RevisionHistoryLimit != nil {
2611 i = encodeVarintGenerated(dAtA, i, uint64(*m.RevisionHistoryLimit))
2612 i--
2613 dAtA[i] = 0x30
2614 }
2615 i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
2616 i--
2617 dAtA[i] = 0x28
2618 {
2619 size, err := m.Strategy.MarshalToSizedBuffer(dAtA[:i])
2620 if err != nil {
2621 return 0, err
2622 }
2623 i -= size
2624 i = encodeVarintGenerated(dAtA, i, uint64(size))
2625 }
2626 i--
2627 dAtA[i] = 0x22
2628 {
2629 size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
2630 if err != nil {
2631 return 0, err
2632 }
2633 i -= size
2634 i = encodeVarintGenerated(dAtA, i, uint64(size))
2635 }
2636 i--
2637 dAtA[i] = 0x1a
2638 if m.Selector != nil {
2639 {
2640 size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
2641 if err != nil {
2642 return 0, err
2643 }
2644 i -= size
2645 i = encodeVarintGenerated(dAtA, i, uint64(size))
2646 }
2647 i--
2648 dAtA[i] = 0x12
2649 }
2650 if m.Replicas != nil {
2651 i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
2652 i--
2653 dAtA[i] = 0x8
2654 }
2655 return len(dAtA) - i, nil
2656}
2657
2658func (m *DeploymentStatus) Marshal() (dAtA []byte, err error) {
2659 size := m.Size()
2660 dAtA = make([]byte, size)
2661 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2662 if err != nil {
2663 return nil, err
2664 }
2665 return dAtA[:n], nil
2666}
2667
2668func (m *DeploymentStatus) MarshalTo(dAtA []byte) (int, error) {
2669 size := m.Size()
2670 return m.MarshalToSizedBuffer(dAtA[:size])
2671}
2672
2673func (m *DeploymentStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2674 i := len(dAtA)
2675 _ = i
2676 var l int
2677 _ = l
2678 if m.CollisionCount != nil {
2679 i = encodeVarintGenerated(dAtA, i, uint64(*m.CollisionCount))
2680 i--
2681 dAtA[i] = 0x40
2682 }
2683 i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
2684 i--
2685 dAtA[i] = 0x38
2686 if len(m.Conditions) > 0 {
2687 for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
2688 {
2689 size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
2690 if err != nil {
2691 return 0, err
2692 }
2693 i -= size
2694 i = encodeVarintGenerated(dAtA, i, uint64(size))
2695 }
2696 i--
2697 dAtA[i] = 0x32
2698 }
2699 }
2700 i = encodeVarintGenerated(dAtA, i, uint64(m.UnavailableReplicas))
2701 i--
2702 dAtA[i] = 0x28
2703 i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
2704 i--
2705 dAtA[i] = 0x20
2706 i = encodeVarintGenerated(dAtA, i, uint64(m.UpdatedReplicas))
2707 i--
2708 dAtA[i] = 0x18
2709 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
2710 i--
2711 dAtA[i] = 0x10
2712 i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
2713 i--
2714 dAtA[i] = 0x8
2715 return len(dAtA) - i, nil
2716}
2717
2718func (m *DeploymentStrategy) Marshal() (dAtA []byte, err error) {
2719 size := m.Size()
2720 dAtA = make([]byte, size)
2721 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2722 if err != nil {
2723 return nil, err
2724 }
2725 return dAtA[:n], nil
2726}
2727
2728func (m *DeploymentStrategy) MarshalTo(dAtA []byte) (int, error) {
2729 size := m.Size()
2730 return m.MarshalToSizedBuffer(dAtA[:size])
2731}
2732
2733func (m *DeploymentStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2734 i := len(dAtA)
2735 _ = i
2736 var l int
2737 _ = l
2738 if m.RollingUpdate != nil {
2739 {
2740 size, err := m.RollingUpdate.MarshalToSizedBuffer(dAtA[:i])
2741 if err != nil {
2742 return 0, err
2743 }
2744 i -= size
2745 i = encodeVarintGenerated(dAtA, i, uint64(size))
2746 }
2747 i--
2748 dAtA[i] = 0x12
2749 }
2750 i -= len(m.Type)
2751 copy(dAtA[i:], m.Type)
2752 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
2753 i--
2754 dAtA[i] = 0xa
2755 return len(dAtA) - i, nil
2756}
2757
2758func (m *FSGroupStrategyOptions) Marshal() (dAtA []byte, err error) {
2759 size := m.Size()
2760 dAtA = make([]byte, size)
2761 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2762 if err != nil {
2763 return nil, err
2764 }
2765 return dAtA[:n], nil
2766}
2767
2768func (m *FSGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
2769 size := m.Size()
2770 return m.MarshalToSizedBuffer(dAtA[:size])
2771}
2772
2773func (m *FSGroupStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2774 i := len(dAtA)
2775 _ = i
2776 var l int
2777 _ = l
2778 if len(m.Ranges) > 0 {
2779 for iNdEx := len(m.Ranges) - 1; iNdEx >= 0; iNdEx-- {
2780 {
2781 size, err := m.Ranges[iNdEx].MarshalToSizedBuffer(dAtA[:i])
2782 if err != nil {
2783 return 0, err
2784 }
2785 i -= size
2786 i = encodeVarintGenerated(dAtA, i, uint64(size))
2787 }
2788 i--
2789 dAtA[i] = 0x12
2790 }
2791 }
2792 i -= len(m.Rule)
2793 copy(dAtA[i:], m.Rule)
2794 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
2795 i--
2796 dAtA[i] = 0xa
2797 return len(dAtA) - i, nil
2798}
2799
2800func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error) {
2801 size := m.Size()
2802 dAtA = make([]byte, size)
2803 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2804 if err != nil {
2805 return nil, err
2806 }
2807 return dAtA[:n], nil
2808}
2809
2810func (m *HTTPIngressPath) MarshalTo(dAtA []byte) (int, error) {
2811 size := m.Size()
2812 return m.MarshalToSizedBuffer(dAtA[:size])
2813}
2814
2815func (m *HTTPIngressPath) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2816 i := len(dAtA)
2817 _ = i
2818 var l int
2819 _ = l
2820 if m.PathType != nil {
2821 i -= len(*m.PathType)
2822 copy(dAtA[i:], *m.PathType)
2823 i = encodeVarintGenerated(dAtA, i, uint64(len(*m.PathType)))
2824 i--
2825 dAtA[i] = 0x1a
2826 }
2827 {
2828 size, err := m.Backend.MarshalToSizedBuffer(dAtA[:i])
2829 if err != nil {
2830 return 0, err
2831 }
2832 i -= size
2833 i = encodeVarintGenerated(dAtA, i, uint64(size))
2834 }
2835 i--
2836 dAtA[i] = 0x12
2837 i -= len(m.Path)
2838 copy(dAtA[i:], m.Path)
2839 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Path)))
2840 i--
2841 dAtA[i] = 0xa
2842 return len(dAtA) - i, nil
2843}
2844
2845func (m *HTTPIngressRuleValue) Marshal() (dAtA []byte, err error) {
2846 size := m.Size()
2847 dAtA = make([]byte, size)
2848 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2849 if err != nil {
2850 return nil, err
2851 }
2852 return dAtA[:n], nil
2853}
2854
2855func (m *HTTPIngressRuleValue) MarshalTo(dAtA []byte) (int, error) {
2856 size := m.Size()
2857 return m.MarshalToSizedBuffer(dAtA[:size])
2858}
2859
2860func (m *HTTPIngressRuleValue) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2861 i := len(dAtA)
2862 _ = i
2863 var l int
2864 _ = l
2865 if len(m.Paths) > 0 {
2866 for iNdEx := len(m.Paths) - 1; iNdEx >= 0; iNdEx-- {
2867 {
2868 size, err := m.Paths[iNdEx].MarshalToSizedBuffer(dAtA[:i])
2869 if err != nil {
2870 return 0, err
2871 }
2872 i -= size
2873 i = encodeVarintGenerated(dAtA, i, uint64(size))
2874 }
2875 i--
2876 dAtA[i] = 0xa
2877 }
2878 }
2879 return len(dAtA) - i, nil
2880}
2881
2882func (m *HostPortRange) Marshal() (dAtA []byte, err error) {
2883 size := m.Size()
2884 dAtA = make([]byte, size)
2885 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2886 if err != nil {
2887 return nil, err
2888 }
2889 return dAtA[:n], nil
2890}
2891
2892func (m *HostPortRange) MarshalTo(dAtA []byte) (int, error) {
2893 size := m.Size()
2894 return m.MarshalToSizedBuffer(dAtA[:size])
2895}
2896
2897func (m *HostPortRange) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2898 i := len(dAtA)
2899 _ = i
2900 var l int
2901 _ = l
2902 i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
2903 i--
2904 dAtA[i] = 0x10
2905 i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
2906 i--
2907 dAtA[i] = 0x8
2908 return len(dAtA) - i, nil
2909}
2910
2911func (m *IDRange) Marshal() (dAtA []byte, err error) {
2912 size := m.Size()
2913 dAtA = make([]byte, size)
2914 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2915 if err != nil {
2916 return nil, err
2917 }
2918 return dAtA[:n], nil
2919}
2920
2921func (m *IDRange) MarshalTo(dAtA []byte) (int, error) {
2922 size := m.Size()
2923 return m.MarshalToSizedBuffer(dAtA[:size])
2924}
2925
2926func (m *IDRange) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2927 i := len(dAtA)
2928 _ = i
2929 var l int
2930 _ = l
2931 i = encodeVarintGenerated(dAtA, i, uint64(m.Max))
2932 i--
2933 dAtA[i] = 0x10
2934 i = encodeVarintGenerated(dAtA, i, uint64(m.Min))
2935 i--
2936 dAtA[i] = 0x8
2937 return len(dAtA) - i, nil
2938}
2939
2940func (m *IPBlock) Marshal() (dAtA []byte, err error) {
2941 size := m.Size()
2942 dAtA = make([]byte, size)
2943 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2944 if err != nil {
2945 return nil, err
2946 }
2947 return dAtA[:n], nil
2948}
2949
2950func (m *IPBlock) MarshalTo(dAtA []byte) (int, error) {
2951 size := m.Size()
2952 return m.MarshalToSizedBuffer(dAtA[:size])
2953}
2954
2955func (m *IPBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2956 i := len(dAtA)
2957 _ = i
2958 var l int
2959 _ = l
2960 if len(m.Except) > 0 {
2961 for iNdEx := len(m.Except) - 1; iNdEx >= 0; iNdEx-- {
2962 i -= len(m.Except[iNdEx])
2963 copy(dAtA[i:], m.Except[iNdEx])
2964 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Except[iNdEx])))
2965 i--
2966 dAtA[i] = 0x12
2967 }
2968 }
2969 i -= len(m.CIDR)
2970 copy(dAtA[i:], m.CIDR)
2971 i = encodeVarintGenerated(dAtA, i, uint64(len(m.CIDR)))
2972 i--
2973 dAtA[i] = 0xa
2974 return len(dAtA) - i, nil
2975}
2976
2977func (m *Ingress) Marshal() (dAtA []byte, err error) {
2978 size := m.Size()
2979 dAtA = make([]byte, size)
2980 n, err := m.MarshalToSizedBuffer(dAtA[:size])
2981 if err != nil {
2982 return nil, err
2983 }
2984 return dAtA[:n], nil
2985}
2986
2987func (m *Ingress) MarshalTo(dAtA []byte) (int, error) {
2988 size := m.Size()
2989 return m.MarshalToSizedBuffer(dAtA[:size])
2990}
2991
2992func (m *Ingress) MarshalToSizedBuffer(dAtA []byte) (int, error) {
2993 i := len(dAtA)
2994 _ = i
2995 var l int
2996 _ = l
2997 {
2998 size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
2999 if err != nil {
3000 return 0, err
3001 }
3002 i -= size
3003 i = encodeVarintGenerated(dAtA, i, uint64(size))
3004 }
3005 i--
3006 dAtA[i] = 0x1a
3007 {
3008 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
3009 if err != nil {
3010 return 0, err
3011 }
3012 i -= size
3013 i = encodeVarintGenerated(dAtA, i, uint64(size))
3014 }
3015 i--
3016 dAtA[i] = 0x12
3017 {
3018 size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
3019 if err != nil {
3020 return 0, err
3021 }
3022 i -= size
3023 i = encodeVarintGenerated(dAtA, i, uint64(size))
3024 }
3025 i--
3026 dAtA[i] = 0xa
3027 return len(dAtA) - i, nil
3028}
3029
3030func (m *IngressBackend) Marshal() (dAtA []byte, err error) {
3031 size := m.Size()
3032 dAtA = make([]byte, size)
3033 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3034 if err != nil {
3035 return nil, err
3036 }
3037 return dAtA[:n], nil
3038}
3039
3040func (m *IngressBackend) MarshalTo(dAtA []byte) (int, error) {
3041 size := m.Size()
3042 return m.MarshalToSizedBuffer(dAtA[:size])
3043}
3044
3045func (m *IngressBackend) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3046 i := len(dAtA)
3047 _ = i
3048 var l int
3049 _ = l
3050 if m.Resource != nil {
3051 {
3052 size, err := m.Resource.MarshalToSizedBuffer(dAtA[:i])
3053 if err != nil {
3054 return 0, err
3055 }
3056 i -= size
3057 i = encodeVarintGenerated(dAtA, i, uint64(size))
3058 }
3059 i--
3060 dAtA[i] = 0x1a
3061 }
3062 {
3063 size, err := m.ServicePort.MarshalToSizedBuffer(dAtA[:i])
3064 if err != nil {
3065 return 0, err
3066 }
3067 i -= size
3068 i = encodeVarintGenerated(dAtA, i, uint64(size))
3069 }
3070 i--
3071 dAtA[i] = 0x12
3072 i -= len(m.ServiceName)
3073 copy(dAtA[i:], m.ServiceName)
3074 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ServiceName)))
3075 i--
3076 dAtA[i] = 0xa
3077 return len(dAtA) - i, nil
3078}
3079
3080func (m *IngressList) Marshal() (dAtA []byte, err error) {
3081 size := m.Size()
3082 dAtA = make([]byte, size)
3083 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3084 if err != nil {
3085 return nil, err
3086 }
3087 return dAtA[:n], nil
3088}
3089
3090func (m *IngressList) MarshalTo(dAtA []byte) (int, error) {
3091 size := m.Size()
3092 return m.MarshalToSizedBuffer(dAtA[:size])
3093}
3094
3095func (m *IngressList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3096 i := len(dAtA)
3097 _ = i
3098 var l int
3099 _ = l
3100 if len(m.Items) > 0 {
3101 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
3102 {
3103 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3104 if err != nil {
3105 return 0, err
3106 }
3107 i -= size
3108 i = encodeVarintGenerated(dAtA, i, uint64(size))
3109 }
3110 i--
3111 dAtA[i] = 0x12
3112 }
3113 }
3114 {
3115 size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
3116 if err != nil {
3117 return 0, err
3118 }
3119 i -= size
3120 i = encodeVarintGenerated(dAtA, i, uint64(size))
3121 }
3122 i--
3123 dAtA[i] = 0xa
3124 return len(dAtA) - i, nil
3125}
3126
3127func (m *IngressRule) Marshal() (dAtA []byte, err error) {
3128 size := m.Size()
3129 dAtA = make([]byte, size)
3130 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3131 if err != nil {
3132 return nil, err
3133 }
3134 return dAtA[:n], nil
3135}
3136
3137func (m *IngressRule) MarshalTo(dAtA []byte) (int, error) {
3138 size := m.Size()
3139 return m.MarshalToSizedBuffer(dAtA[:size])
3140}
3141
3142func (m *IngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3143 i := len(dAtA)
3144 _ = i
3145 var l int
3146 _ = l
3147 {
3148 size, err := m.IngressRuleValue.MarshalToSizedBuffer(dAtA[:i])
3149 if err != nil {
3150 return 0, err
3151 }
3152 i -= size
3153 i = encodeVarintGenerated(dAtA, i, uint64(size))
3154 }
3155 i--
3156 dAtA[i] = 0x12
3157 i -= len(m.Host)
3158 copy(dAtA[i:], m.Host)
3159 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Host)))
3160 i--
3161 dAtA[i] = 0xa
3162 return len(dAtA) - i, nil
3163}
3164
3165func (m *IngressRuleValue) Marshal() (dAtA []byte, err error) {
3166 size := m.Size()
3167 dAtA = make([]byte, size)
3168 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3169 if err != nil {
3170 return nil, err
3171 }
3172 return dAtA[:n], nil
3173}
3174
3175func (m *IngressRuleValue) MarshalTo(dAtA []byte) (int, error) {
3176 size := m.Size()
3177 return m.MarshalToSizedBuffer(dAtA[:size])
3178}
3179
3180func (m *IngressRuleValue) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3181 i := len(dAtA)
3182 _ = i
3183 var l int
3184 _ = l
3185 if m.HTTP != nil {
3186 {
3187 size, err := m.HTTP.MarshalToSizedBuffer(dAtA[:i])
3188 if err != nil {
3189 return 0, err
3190 }
3191 i -= size
3192 i = encodeVarintGenerated(dAtA, i, uint64(size))
3193 }
3194 i--
3195 dAtA[i] = 0xa
3196 }
3197 return len(dAtA) - i, nil
3198}
3199
3200func (m *IngressSpec) Marshal() (dAtA []byte, err error) {
3201 size := m.Size()
3202 dAtA = make([]byte, size)
3203 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3204 if err != nil {
3205 return nil, err
3206 }
3207 return dAtA[:n], nil
3208}
3209
3210func (m *IngressSpec) MarshalTo(dAtA []byte) (int, error) {
3211 size := m.Size()
3212 return m.MarshalToSizedBuffer(dAtA[:size])
3213}
3214
3215func (m *IngressSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3216 i := len(dAtA)
3217 _ = i
3218 var l int
3219 _ = l
3220 if m.IngressClassName != nil {
3221 i -= len(*m.IngressClassName)
3222 copy(dAtA[i:], *m.IngressClassName)
3223 i = encodeVarintGenerated(dAtA, i, uint64(len(*m.IngressClassName)))
3224 i--
3225 dAtA[i] = 0x22
3226 }
3227 if len(m.Rules) > 0 {
3228 for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- {
3229 {
3230 size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3231 if err != nil {
3232 return 0, err
3233 }
3234 i -= size
3235 i = encodeVarintGenerated(dAtA, i, uint64(size))
3236 }
3237 i--
3238 dAtA[i] = 0x1a
3239 }
3240 }
3241 if len(m.TLS) > 0 {
3242 for iNdEx := len(m.TLS) - 1; iNdEx >= 0; iNdEx-- {
3243 {
3244 size, err := m.TLS[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3245 if err != nil {
3246 return 0, err
3247 }
3248 i -= size
3249 i = encodeVarintGenerated(dAtA, i, uint64(size))
3250 }
3251 i--
3252 dAtA[i] = 0x12
3253 }
3254 }
3255 if m.Backend != nil {
3256 {
3257 size, err := m.Backend.MarshalToSizedBuffer(dAtA[:i])
3258 if err != nil {
3259 return 0, err
3260 }
3261 i -= size
3262 i = encodeVarintGenerated(dAtA, i, uint64(size))
3263 }
3264 i--
3265 dAtA[i] = 0xa
3266 }
3267 return len(dAtA) - i, nil
3268}
3269
3270func (m *IngressStatus) Marshal() (dAtA []byte, err error) {
3271 size := m.Size()
3272 dAtA = make([]byte, size)
3273 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3274 if err != nil {
3275 return nil, err
3276 }
3277 return dAtA[:n], nil
3278}
3279
3280func (m *IngressStatus) MarshalTo(dAtA []byte) (int, error) {
3281 size := m.Size()
3282 return m.MarshalToSizedBuffer(dAtA[:size])
3283}
3284
3285func (m *IngressStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3286 i := len(dAtA)
3287 _ = i
3288 var l int
3289 _ = l
3290 {
3291 size, err := m.LoadBalancer.MarshalToSizedBuffer(dAtA[:i])
3292 if err != nil {
3293 return 0, err
3294 }
3295 i -= size
3296 i = encodeVarintGenerated(dAtA, i, uint64(size))
3297 }
3298 i--
3299 dAtA[i] = 0xa
3300 return len(dAtA) - i, nil
3301}
3302
3303func (m *IngressTLS) Marshal() (dAtA []byte, err error) {
3304 size := m.Size()
3305 dAtA = make([]byte, size)
3306 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3307 if err != nil {
3308 return nil, err
3309 }
3310 return dAtA[:n], nil
3311}
3312
3313func (m *IngressTLS) MarshalTo(dAtA []byte) (int, error) {
3314 size := m.Size()
3315 return m.MarshalToSizedBuffer(dAtA[:size])
3316}
3317
3318func (m *IngressTLS) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3319 i := len(dAtA)
3320 _ = i
3321 var l int
3322 _ = l
3323 i -= len(m.SecretName)
3324 copy(dAtA[i:], m.SecretName)
3325 i = encodeVarintGenerated(dAtA, i, uint64(len(m.SecretName)))
3326 i--
3327 dAtA[i] = 0x12
3328 if len(m.Hosts) > 0 {
3329 for iNdEx := len(m.Hosts) - 1; iNdEx >= 0; iNdEx-- {
3330 i -= len(m.Hosts[iNdEx])
3331 copy(dAtA[i:], m.Hosts[iNdEx])
3332 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Hosts[iNdEx])))
3333 i--
3334 dAtA[i] = 0xa
3335 }
3336 }
3337 return len(dAtA) - i, nil
3338}
3339
3340func (m *NetworkPolicy) Marshal() (dAtA []byte, err error) {
3341 size := m.Size()
3342 dAtA = make([]byte, size)
3343 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3344 if err != nil {
3345 return nil, err
3346 }
3347 return dAtA[:n], nil
3348}
3349
3350func (m *NetworkPolicy) MarshalTo(dAtA []byte) (int, error) {
3351 size := m.Size()
3352 return m.MarshalToSizedBuffer(dAtA[:size])
3353}
3354
3355func (m *NetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3356 i := len(dAtA)
3357 _ = i
3358 var l int
3359 _ = l
3360 {
3361 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
3362 if err != nil {
3363 return 0, err
3364 }
3365 i -= size
3366 i = encodeVarintGenerated(dAtA, i, uint64(size))
3367 }
3368 i--
3369 dAtA[i] = 0x12
3370 {
3371 size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
3372 if err != nil {
3373 return 0, err
3374 }
3375 i -= size
3376 i = encodeVarintGenerated(dAtA, i, uint64(size))
3377 }
3378 i--
3379 dAtA[i] = 0xa
3380 return len(dAtA) - i, nil
3381}
3382
3383func (m *NetworkPolicyEgressRule) Marshal() (dAtA []byte, err error) {
3384 size := m.Size()
3385 dAtA = make([]byte, size)
3386 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3387 if err != nil {
3388 return nil, err
3389 }
3390 return dAtA[:n], nil
3391}
3392
3393func (m *NetworkPolicyEgressRule) MarshalTo(dAtA []byte) (int, error) {
3394 size := m.Size()
3395 return m.MarshalToSizedBuffer(dAtA[:size])
3396}
3397
3398func (m *NetworkPolicyEgressRule) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3399 i := len(dAtA)
3400 _ = i
3401 var l int
3402 _ = l
3403 if len(m.To) > 0 {
3404 for iNdEx := len(m.To) - 1; iNdEx >= 0; iNdEx-- {
3405 {
3406 size, err := m.To[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3407 if err != nil {
3408 return 0, err
3409 }
3410 i -= size
3411 i = encodeVarintGenerated(dAtA, i, uint64(size))
3412 }
3413 i--
3414 dAtA[i] = 0x12
3415 }
3416 }
3417 if len(m.Ports) > 0 {
3418 for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- {
3419 {
3420 size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3421 if err != nil {
3422 return 0, err
3423 }
3424 i -= size
3425 i = encodeVarintGenerated(dAtA, i, uint64(size))
3426 }
3427 i--
3428 dAtA[i] = 0xa
3429 }
3430 }
3431 return len(dAtA) - i, nil
3432}
3433
3434func (m *NetworkPolicyIngressRule) Marshal() (dAtA []byte, err error) {
3435 size := m.Size()
3436 dAtA = make([]byte, size)
3437 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3438 if err != nil {
3439 return nil, err
3440 }
3441 return dAtA[:n], nil
3442}
3443
3444func (m *NetworkPolicyIngressRule) MarshalTo(dAtA []byte) (int, error) {
3445 size := m.Size()
3446 return m.MarshalToSizedBuffer(dAtA[:size])
3447}
3448
3449func (m *NetworkPolicyIngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3450 i := len(dAtA)
3451 _ = i
3452 var l int
3453 _ = l
3454 if len(m.From) > 0 {
3455 for iNdEx := len(m.From) - 1; iNdEx >= 0; iNdEx-- {
3456 {
3457 size, err := m.From[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3458 if err != nil {
3459 return 0, err
3460 }
3461 i -= size
3462 i = encodeVarintGenerated(dAtA, i, uint64(size))
3463 }
3464 i--
3465 dAtA[i] = 0x12
3466 }
3467 }
3468 if len(m.Ports) > 0 {
3469 for iNdEx := len(m.Ports) - 1; iNdEx >= 0; iNdEx-- {
3470 {
3471 size, err := m.Ports[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3472 if err != nil {
3473 return 0, err
3474 }
3475 i -= size
3476 i = encodeVarintGenerated(dAtA, i, uint64(size))
3477 }
3478 i--
3479 dAtA[i] = 0xa
3480 }
3481 }
3482 return len(dAtA) - i, nil
3483}
3484
3485func (m *NetworkPolicyList) Marshal() (dAtA []byte, err error) {
3486 size := m.Size()
3487 dAtA = make([]byte, size)
3488 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3489 if err != nil {
3490 return nil, err
3491 }
3492 return dAtA[:n], nil
3493}
3494
3495func (m *NetworkPolicyList) MarshalTo(dAtA []byte) (int, error) {
3496 size := m.Size()
3497 return m.MarshalToSizedBuffer(dAtA[:size])
3498}
3499
3500func (m *NetworkPolicyList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3501 i := len(dAtA)
3502 _ = i
3503 var l int
3504 _ = l
3505 if len(m.Items) > 0 {
3506 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
3507 {
3508 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3509 if err != nil {
3510 return 0, err
3511 }
3512 i -= size
3513 i = encodeVarintGenerated(dAtA, i, uint64(size))
3514 }
3515 i--
3516 dAtA[i] = 0x12
3517 }
3518 }
3519 {
3520 size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
3521 if err != nil {
3522 return 0, err
3523 }
3524 i -= size
3525 i = encodeVarintGenerated(dAtA, i, uint64(size))
3526 }
3527 i--
3528 dAtA[i] = 0xa
3529 return len(dAtA) - i, nil
3530}
3531
3532func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error) {
3533 size := m.Size()
3534 dAtA = make([]byte, size)
3535 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3536 if err != nil {
3537 return nil, err
3538 }
3539 return dAtA[:n], nil
3540}
3541
3542func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error) {
3543 size := m.Size()
3544 return m.MarshalToSizedBuffer(dAtA[:size])
3545}
3546
3547func (m *NetworkPolicyPeer) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3548 i := len(dAtA)
3549 _ = i
3550 var l int
3551 _ = l
3552 if m.IPBlock != nil {
3553 {
3554 size, err := m.IPBlock.MarshalToSizedBuffer(dAtA[:i])
3555 if err != nil {
3556 return 0, err
3557 }
3558 i -= size
3559 i = encodeVarintGenerated(dAtA, i, uint64(size))
3560 }
3561 i--
3562 dAtA[i] = 0x1a
3563 }
3564 if m.NamespaceSelector != nil {
3565 {
3566 size, err := m.NamespaceSelector.MarshalToSizedBuffer(dAtA[:i])
3567 if err != nil {
3568 return 0, err
3569 }
3570 i -= size
3571 i = encodeVarintGenerated(dAtA, i, uint64(size))
3572 }
3573 i--
3574 dAtA[i] = 0x12
3575 }
3576 if m.PodSelector != nil {
3577 {
3578 size, err := m.PodSelector.MarshalToSizedBuffer(dAtA[:i])
3579 if err != nil {
3580 return 0, err
3581 }
3582 i -= size
3583 i = encodeVarintGenerated(dAtA, i, uint64(size))
3584 }
3585 i--
3586 dAtA[i] = 0xa
3587 }
3588 return len(dAtA) - i, nil
3589}
3590
3591func (m *NetworkPolicyPort) Marshal() (dAtA []byte, err error) {
3592 size := m.Size()
3593 dAtA = make([]byte, size)
3594 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3595 if err != nil {
3596 return nil, err
3597 }
3598 return dAtA[:n], nil
3599}
3600
3601func (m *NetworkPolicyPort) MarshalTo(dAtA []byte) (int, error) {
3602 size := m.Size()
3603 return m.MarshalToSizedBuffer(dAtA[:size])
3604}
3605
3606func (m *NetworkPolicyPort) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3607 i := len(dAtA)
3608 _ = i
3609 var l int
3610 _ = l
3611 if m.Port != nil {
3612 {
3613 size, err := m.Port.MarshalToSizedBuffer(dAtA[:i])
3614 if err != nil {
3615 return 0, err
3616 }
3617 i -= size
3618 i = encodeVarintGenerated(dAtA, i, uint64(size))
3619 }
3620 i--
3621 dAtA[i] = 0x12
3622 }
3623 if m.Protocol != nil {
3624 i -= len(*m.Protocol)
3625 copy(dAtA[i:], *m.Protocol)
3626 i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Protocol)))
3627 i--
3628 dAtA[i] = 0xa
3629 }
3630 return len(dAtA) - i, nil
3631}
3632
3633func (m *NetworkPolicySpec) Marshal() (dAtA []byte, err error) {
3634 size := m.Size()
3635 dAtA = make([]byte, size)
3636 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3637 if err != nil {
3638 return nil, err
3639 }
3640 return dAtA[:n], nil
3641}
3642
3643func (m *NetworkPolicySpec) MarshalTo(dAtA []byte) (int, error) {
3644 size := m.Size()
3645 return m.MarshalToSizedBuffer(dAtA[:size])
3646}
3647
3648func (m *NetworkPolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3649 i := len(dAtA)
3650 _ = i
3651 var l int
3652 _ = l
3653 if len(m.PolicyTypes) > 0 {
3654 for iNdEx := len(m.PolicyTypes) - 1; iNdEx >= 0; iNdEx-- {
3655 i -= len(m.PolicyTypes[iNdEx])
3656 copy(dAtA[i:], m.PolicyTypes[iNdEx])
3657 i = encodeVarintGenerated(dAtA, i, uint64(len(m.PolicyTypes[iNdEx])))
3658 i--
3659 dAtA[i] = 0x22
3660 }
3661 }
3662 if len(m.Egress) > 0 {
3663 for iNdEx := len(m.Egress) - 1; iNdEx >= 0; iNdEx-- {
3664 {
3665 size, err := m.Egress[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3666 if err != nil {
3667 return 0, err
3668 }
3669 i -= size
3670 i = encodeVarintGenerated(dAtA, i, uint64(size))
3671 }
3672 i--
3673 dAtA[i] = 0x1a
3674 }
3675 }
3676 if len(m.Ingress) > 0 {
3677 for iNdEx := len(m.Ingress) - 1; iNdEx >= 0; iNdEx-- {
3678 {
3679 size, err := m.Ingress[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3680 if err != nil {
3681 return 0, err
3682 }
3683 i -= size
3684 i = encodeVarintGenerated(dAtA, i, uint64(size))
3685 }
3686 i--
3687 dAtA[i] = 0x12
3688 }
3689 }
3690 {
3691 size, err := m.PodSelector.MarshalToSizedBuffer(dAtA[:i])
3692 if err != nil {
3693 return 0, err
3694 }
3695 i -= size
3696 i = encodeVarintGenerated(dAtA, i, uint64(size))
3697 }
3698 i--
3699 dAtA[i] = 0xa
3700 return len(dAtA) - i, nil
3701}
3702
3703func (m *PodSecurityPolicy) Marshal() (dAtA []byte, err error) {
3704 size := m.Size()
3705 dAtA = make([]byte, size)
3706 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3707 if err != nil {
3708 return nil, err
3709 }
3710 return dAtA[:n], nil
3711}
3712
3713func (m *PodSecurityPolicy) MarshalTo(dAtA []byte) (int, error) {
3714 size := m.Size()
3715 return m.MarshalToSizedBuffer(dAtA[:size])
3716}
3717
3718func (m *PodSecurityPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3719 i := len(dAtA)
3720 _ = i
3721 var l int
3722 _ = l
3723 {
3724 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
3725 if err != nil {
3726 return 0, err
3727 }
3728 i -= size
3729 i = encodeVarintGenerated(dAtA, i, uint64(size))
3730 }
3731 i--
3732 dAtA[i] = 0x12
3733 {
3734 size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
3735 if err != nil {
3736 return 0, err
3737 }
3738 i -= size
3739 i = encodeVarintGenerated(dAtA, i, uint64(size))
3740 }
3741 i--
3742 dAtA[i] = 0xa
3743 return len(dAtA) - i, nil
3744}
3745
3746func (m *PodSecurityPolicyList) Marshal() (dAtA []byte, err error) {
3747 size := m.Size()
3748 dAtA = make([]byte, size)
3749 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3750 if err != nil {
3751 return nil, err
3752 }
3753 return dAtA[:n], nil
3754}
3755
3756func (m *PodSecurityPolicyList) MarshalTo(dAtA []byte) (int, error) {
3757 size := m.Size()
3758 return m.MarshalToSizedBuffer(dAtA[:size])
3759}
3760
3761func (m *PodSecurityPolicyList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3762 i := len(dAtA)
3763 _ = i
3764 var l int
3765 _ = l
3766 if len(m.Items) > 0 {
3767 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
3768 {
3769 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3770 if err != nil {
3771 return 0, err
3772 }
3773 i -= size
3774 i = encodeVarintGenerated(dAtA, i, uint64(size))
3775 }
3776 i--
3777 dAtA[i] = 0x12
3778 }
3779 }
3780 {
3781 size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
3782 if err != nil {
3783 return 0, err
3784 }
3785 i -= size
3786 i = encodeVarintGenerated(dAtA, i, uint64(size))
3787 }
3788 i--
3789 dAtA[i] = 0xa
3790 return len(dAtA) - i, nil
3791}
3792
3793func (m *PodSecurityPolicySpec) Marshal() (dAtA []byte, err error) {
3794 size := m.Size()
3795 dAtA = make([]byte, size)
3796 n, err := m.MarshalToSizedBuffer(dAtA[:size])
3797 if err != nil {
3798 return nil, err
3799 }
3800 return dAtA[:n], nil
3801}
3802
3803func (m *PodSecurityPolicySpec) MarshalTo(dAtA []byte) (int, error) {
3804 size := m.Size()
3805 return m.MarshalToSizedBuffer(dAtA[:size])
3806}
3807
3808func (m *PodSecurityPolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
3809 i := len(dAtA)
3810 _ = i
3811 var l int
3812 _ = l
3813 if m.RuntimeClass != nil {
3814 {
3815 size, err := m.RuntimeClass.MarshalToSizedBuffer(dAtA[:i])
3816 if err != nil {
3817 return 0, err
3818 }
3819 i -= size
3820 i = encodeVarintGenerated(dAtA, i, uint64(size))
3821 }
3822 i--
3823 dAtA[i] = 0x1
3824 i--
3825 dAtA[i] = 0xc2
3826 }
3827 if len(m.AllowedCSIDrivers) > 0 {
3828 for iNdEx := len(m.AllowedCSIDrivers) - 1; iNdEx >= 0; iNdEx-- {
3829 {
3830 size, err := m.AllowedCSIDrivers[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3831 if err != nil {
3832 return 0, err
3833 }
3834 i -= size
3835 i = encodeVarintGenerated(dAtA, i, uint64(size))
3836 }
3837 i--
3838 dAtA[i] = 0x1
3839 i--
3840 dAtA[i] = 0xba
3841 }
3842 }
3843 if m.RunAsGroup != nil {
3844 {
3845 size, err := m.RunAsGroup.MarshalToSizedBuffer(dAtA[:i])
3846 if err != nil {
3847 return 0, err
3848 }
3849 i -= size
3850 i = encodeVarintGenerated(dAtA, i, uint64(size))
3851 }
3852 i--
3853 dAtA[i] = 0x1
3854 i--
3855 dAtA[i] = 0xb2
3856 }
3857 if len(m.AllowedProcMountTypes) > 0 {
3858 for iNdEx := len(m.AllowedProcMountTypes) - 1; iNdEx >= 0; iNdEx-- {
3859 i -= len(m.AllowedProcMountTypes[iNdEx])
3860 copy(dAtA[i:], m.AllowedProcMountTypes[iNdEx])
3861 i = encodeVarintGenerated(dAtA, i, uint64(len(m.AllowedProcMountTypes[iNdEx])))
3862 i--
3863 dAtA[i] = 0x1
3864 i--
3865 dAtA[i] = 0xaa
3866 }
3867 }
3868 if len(m.ForbiddenSysctls) > 0 {
3869 for iNdEx := len(m.ForbiddenSysctls) - 1; iNdEx >= 0; iNdEx-- {
3870 i -= len(m.ForbiddenSysctls[iNdEx])
3871 copy(dAtA[i:], m.ForbiddenSysctls[iNdEx])
3872 i = encodeVarintGenerated(dAtA, i, uint64(len(m.ForbiddenSysctls[iNdEx])))
3873 i--
3874 dAtA[i] = 0x1
3875 i--
3876 dAtA[i] = 0xa2
3877 }
3878 }
3879 if len(m.AllowedUnsafeSysctls) > 0 {
3880 for iNdEx := len(m.AllowedUnsafeSysctls) - 1; iNdEx >= 0; iNdEx-- {
3881 i -= len(m.AllowedUnsafeSysctls[iNdEx])
3882 copy(dAtA[i:], m.AllowedUnsafeSysctls[iNdEx])
3883 i = encodeVarintGenerated(dAtA, i, uint64(len(m.AllowedUnsafeSysctls[iNdEx])))
3884 i--
3885 dAtA[i] = 0x1
3886 i--
3887 dAtA[i] = 0x9a
3888 }
3889 }
3890 if len(m.AllowedFlexVolumes) > 0 {
3891 for iNdEx := len(m.AllowedFlexVolumes) - 1; iNdEx >= 0; iNdEx-- {
3892 {
3893 size, err := m.AllowedFlexVolumes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3894 if err != nil {
3895 return 0, err
3896 }
3897 i -= size
3898 i = encodeVarintGenerated(dAtA, i, uint64(size))
3899 }
3900 i--
3901 dAtA[i] = 0x1
3902 i--
3903 dAtA[i] = 0x92
3904 }
3905 }
3906 if len(m.AllowedHostPaths) > 0 {
3907 for iNdEx := len(m.AllowedHostPaths) - 1; iNdEx >= 0; iNdEx-- {
3908 {
3909 size, err := m.AllowedHostPaths[iNdEx].MarshalToSizedBuffer(dAtA[:i])
3910 if err != nil {
3911 return 0, err
3912 }
3913 i -= size
3914 i = encodeVarintGenerated(dAtA, i, uint64(size))
3915 }
3916 i--
3917 dAtA[i] = 0x1
3918 i--
3919 dAtA[i] = 0x8a
3920 }
3921 }
3922 if m.AllowPrivilegeEscalation != nil {
3923 i--
3924 if *m.AllowPrivilegeEscalation {
3925 dAtA[i] = 1
3926 } else {
3927 dAtA[i] = 0
3928 }
3929 i--
3930 dAtA[i] = 0x1
3931 i--
3932 dAtA[i] = 0x80
3933 }
3934 if m.DefaultAllowPrivilegeEscalation != nil {
3935 i--
3936 if *m.DefaultAllowPrivilegeEscalation {
3937 dAtA[i] = 1
3938 } else {
3939 dAtA[i] = 0
3940 }
3941 i--
3942 dAtA[i] = 0x78
3943 }
3944 i--
3945 if m.ReadOnlyRootFilesystem {
3946 dAtA[i] = 1
3947 } else {
3948 dAtA[i] = 0
3949 }
3950 i--
3951 dAtA[i] = 0x70
3952 {
3953 size, err := m.FSGroup.MarshalToSizedBuffer(dAtA[:i])
3954 if err != nil {
3955 return 0, err
3956 }
3957 i -= size
3958 i = encodeVarintGenerated(dAtA, i, uint64(size))
3959 }
3960 i--
3961 dAtA[i] = 0x6a
3962 {
3963 size, err := m.SupplementalGroups.MarshalToSizedBuffer(dAtA[:i])
3964 if err != nil {
3965 return 0, err
3966 }
3967 i -= size
3968 i = encodeVarintGenerated(dAtA, i, uint64(size))
3969 }
3970 i--
3971 dAtA[i] = 0x62
3972 {
3973 size, err := m.RunAsUser.MarshalToSizedBuffer(dAtA[:i])
3974 if err != nil {
3975 return 0, err
3976 }
3977 i -= size
3978 i = encodeVarintGenerated(dAtA, i, uint64(size))
3979 }
3980 i--
3981 dAtA[i] = 0x5a
3982 {
3983 size, err := m.SELinux.MarshalToSizedBuffer(dAtA[:i])
3984 if err != nil {
3985 return 0, err
3986 }
3987 i -= size
3988 i = encodeVarintGenerated(dAtA, i, uint64(size))
3989 }
3990 i--
3991 dAtA[i] = 0x52
3992 i--
3993 if m.HostIPC {
3994 dAtA[i] = 1
3995 } else {
3996 dAtA[i] = 0
3997 }
3998 i--
3999 dAtA[i] = 0x48
4000 i--
4001 if m.HostPID {
4002 dAtA[i] = 1
4003 } else {
4004 dAtA[i] = 0
4005 }
4006 i--
4007 dAtA[i] = 0x40
4008 if len(m.HostPorts) > 0 {
4009 for iNdEx := len(m.HostPorts) - 1; iNdEx >= 0; iNdEx-- {
4010 {
4011 size, err := m.HostPorts[iNdEx].MarshalToSizedBuffer(dAtA[:i])
4012 if err != nil {
4013 return 0, err
4014 }
4015 i -= size
4016 i = encodeVarintGenerated(dAtA, i, uint64(size))
4017 }
4018 i--
4019 dAtA[i] = 0x3a
4020 }
4021 }
4022 i--
4023 if m.HostNetwork {
4024 dAtA[i] = 1
4025 } else {
4026 dAtA[i] = 0
4027 }
4028 i--
4029 dAtA[i] = 0x30
4030 if len(m.Volumes) > 0 {
4031 for iNdEx := len(m.Volumes) - 1; iNdEx >= 0; iNdEx-- {
4032 i -= len(m.Volumes[iNdEx])
4033 copy(dAtA[i:], m.Volumes[iNdEx])
4034 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Volumes[iNdEx])))
4035 i--
4036 dAtA[i] = 0x2a
4037 }
4038 }
4039 if len(m.AllowedCapabilities) > 0 {
4040 for iNdEx := len(m.AllowedCapabilities) - 1; iNdEx >= 0; iNdEx-- {
4041 i -= len(m.AllowedCapabilities[iNdEx])
4042 copy(dAtA[i:], m.AllowedCapabilities[iNdEx])
4043 i = encodeVarintGenerated(dAtA, i, uint64(len(m.AllowedCapabilities[iNdEx])))
4044 i--
4045 dAtA[i] = 0x22
4046 }
4047 }
4048 if len(m.RequiredDropCapabilities) > 0 {
4049 for iNdEx := len(m.RequiredDropCapabilities) - 1; iNdEx >= 0; iNdEx-- {
4050 i -= len(m.RequiredDropCapabilities[iNdEx])
4051 copy(dAtA[i:], m.RequiredDropCapabilities[iNdEx])
4052 i = encodeVarintGenerated(dAtA, i, uint64(len(m.RequiredDropCapabilities[iNdEx])))
4053 i--
4054 dAtA[i] = 0x1a
4055 }
4056 }
4057 if len(m.DefaultAddCapabilities) > 0 {
4058 for iNdEx := len(m.DefaultAddCapabilities) - 1; iNdEx >= 0; iNdEx-- {
4059 i -= len(m.DefaultAddCapabilities[iNdEx])
4060 copy(dAtA[i:], m.DefaultAddCapabilities[iNdEx])
4061 i = encodeVarintGenerated(dAtA, i, uint64(len(m.DefaultAddCapabilities[iNdEx])))
4062 i--
4063 dAtA[i] = 0x12
4064 }
4065 }
4066 i--
4067 if m.Privileged {
4068 dAtA[i] = 1
4069 } else {
4070 dAtA[i] = 0
4071 }
4072 i--
4073 dAtA[i] = 0x8
4074 return len(dAtA) - i, nil
4075}
4076
4077func (m *ReplicaSet) Marshal() (dAtA []byte, err error) {
4078 size := m.Size()
4079 dAtA = make([]byte, size)
4080 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4081 if err != nil {
4082 return nil, err
4083 }
4084 return dAtA[:n], nil
4085}
4086
4087func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error) {
4088 size := m.Size()
4089 return m.MarshalToSizedBuffer(dAtA[:size])
4090}
4091
4092func (m *ReplicaSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4093 i := len(dAtA)
4094 _ = i
4095 var l int
4096 _ = l
4097 {
4098 size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
4099 if err != nil {
4100 return 0, err
4101 }
4102 i -= size
4103 i = encodeVarintGenerated(dAtA, i, uint64(size))
4104 }
4105 i--
4106 dAtA[i] = 0x1a
4107 {
4108 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
4109 if err != nil {
4110 return 0, err
4111 }
4112 i -= size
4113 i = encodeVarintGenerated(dAtA, i, uint64(size))
4114 }
4115 i--
4116 dAtA[i] = 0x12
4117 {
4118 size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
4119 if err != nil {
4120 return 0, err
4121 }
4122 i -= size
4123 i = encodeVarintGenerated(dAtA, i, uint64(size))
4124 }
4125 i--
4126 dAtA[i] = 0xa
4127 return len(dAtA) - i, nil
4128}
4129
4130func (m *ReplicaSetCondition) Marshal() (dAtA []byte, err error) {
4131 size := m.Size()
4132 dAtA = make([]byte, size)
4133 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4134 if err != nil {
4135 return nil, err
4136 }
4137 return dAtA[:n], nil
4138}
4139
4140func (m *ReplicaSetCondition) MarshalTo(dAtA []byte) (int, error) {
4141 size := m.Size()
4142 return m.MarshalToSizedBuffer(dAtA[:size])
4143}
4144
4145func (m *ReplicaSetCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4146 i := len(dAtA)
4147 _ = i
4148 var l int
4149 _ = l
4150 i -= len(m.Message)
4151 copy(dAtA[i:], m.Message)
4152 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
4153 i--
4154 dAtA[i] = 0x2a
4155 i -= len(m.Reason)
4156 copy(dAtA[i:], m.Reason)
4157 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
4158 i--
4159 dAtA[i] = 0x22
4160 {
4161 size, err := m.LastTransitionTime.MarshalToSizedBuffer(dAtA[:i])
4162 if err != nil {
4163 return 0, err
4164 }
4165 i -= size
4166 i = encodeVarintGenerated(dAtA, i, uint64(size))
4167 }
4168 i--
4169 dAtA[i] = 0x1a
4170 i -= len(m.Status)
4171 copy(dAtA[i:], m.Status)
4172 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
4173 i--
4174 dAtA[i] = 0x12
4175 i -= len(m.Type)
4176 copy(dAtA[i:], m.Type)
4177 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
4178 i--
4179 dAtA[i] = 0xa
4180 return len(dAtA) - i, nil
4181}
4182
4183func (m *ReplicaSetList) Marshal() (dAtA []byte, err error) {
4184 size := m.Size()
4185 dAtA = make([]byte, size)
4186 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4187 if err != nil {
4188 return nil, err
4189 }
4190 return dAtA[:n], nil
4191}
4192
4193func (m *ReplicaSetList) MarshalTo(dAtA []byte) (int, error) {
4194 size := m.Size()
4195 return m.MarshalToSizedBuffer(dAtA[:size])
4196}
4197
4198func (m *ReplicaSetList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4199 i := len(dAtA)
4200 _ = i
4201 var l int
4202 _ = l
4203 if len(m.Items) > 0 {
4204 for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
4205 {
4206 size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
4207 if err != nil {
4208 return 0, err
4209 }
4210 i -= size
4211 i = encodeVarintGenerated(dAtA, i, uint64(size))
4212 }
4213 i--
4214 dAtA[i] = 0x12
4215 }
4216 }
4217 {
4218 size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
4219 if err != nil {
4220 return 0, err
4221 }
4222 i -= size
4223 i = encodeVarintGenerated(dAtA, i, uint64(size))
4224 }
4225 i--
4226 dAtA[i] = 0xa
4227 return len(dAtA) - i, nil
4228}
4229
4230func (m *ReplicaSetSpec) Marshal() (dAtA []byte, err error) {
4231 size := m.Size()
4232 dAtA = make([]byte, size)
4233 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4234 if err != nil {
4235 return nil, err
4236 }
4237 return dAtA[:n], nil
4238}
4239
4240func (m *ReplicaSetSpec) MarshalTo(dAtA []byte) (int, error) {
4241 size := m.Size()
4242 return m.MarshalToSizedBuffer(dAtA[:size])
4243}
4244
4245func (m *ReplicaSetSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4246 i := len(dAtA)
4247 _ = i
4248 var l int
4249 _ = l
4250 i = encodeVarintGenerated(dAtA, i, uint64(m.MinReadySeconds))
4251 i--
4252 dAtA[i] = 0x20
4253 {
4254 size, err := m.Template.MarshalToSizedBuffer(dAtA[:i])
4255 if err != nil {
4256 return 0, err
4257 }
4258 i -= size
4259 i = encodeVarintGenerated(dAtA, i, uint64(size))
4260 }
4261 i--
4262 dAtA[i] = 0x1a
4263 if m.Selector != nil {
4264 {
4265 size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
4266 if err != nil {
4267 return 0, err
4268 }
4269 i -= size
4270 i = encodeVarintGenerated(dAtA, i, uint64(size))
4271 }
4272 i--
4273 dAtA[i] = 0x12
4274 }
4275 if m.Replicas != nil {
4276 i = encodeVarintGenerated(dAtA, i, uint64(*m.Replicas))
4277 i--
4278 dAtA[i] = 0x8
4279 }
4280 return len(dAtA) - i, nil
4281}
4282
4283func (m *ReplicaSetStatus) Marshal() (dAtA []byte, err error) {
4284 size := m.Size()
4285 dAtA = make([]byte, size)
4286 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4287 if err != nil {
4288 return nil, err
4289 }
4290 return dAtA[:n], nil
4291}
4292
4293func (m *ReplicaSetStatus) MarshalTo(dAtA []byte) (int, error) {
4294 size := m.Size()
4295 return m.MarshalToSizedBuffer(dAtA[:size])
4296}
4297
4298func (m *ReplicaSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4299 i := len(dAtA)
4300 _ = i
4301 var l int
4302 _ = l
4303 if len(m.Conditions) > 0 {
4304 for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
4305 {
4306 size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
4307 if err != nil {
4308 return 0, err
4309 }
4310 i -= size
4311 i = encodeVarintGenerated(dAtA, i, uint64(size))
4312 }
4313 i--
4314 dAtA[i] = 0x32
4315 }
4316 }
4317 i = encodeVarintGenerated(dAtA, i, uint64(m.AvailableReplicas))
4318 i--
4319 dAtA[i] = 0x28
4320 i = encodeVarintGenerated(dAtA, i, uint64(m.ReadyReplicas))
4321 i--
4322 dAtA[i] = 0x20
4323 i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
4324 i--
4325 dAtA[i] = 0x18
4326 i = encodeVarintGenerated(dAtA, i, uint64(m.FullyLabeledReplicas))
4327 i--
4328 dAtA[i] = 0x10
4329 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
4330 i--
4331 dAtA[i] = 0x8
4332 return len(dAtA) - i, nil
4333}
4334
4335func (m *RollbackConfig) Marshal() (dAtA []byte, err error) {
4336 size := m.Size()
4337 dAtA = make([]byte, size)
4338 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4339 if err != nil {
4340 return nil, err
4341 }
4342 return dAtA[:n], nil
4343}
4344
4345func (m *RollbackConfig) MarshalTo(dAtA []byte) (int, error) {
4346 size := m.Size()
4347 return m.MarshalToSizedBuffer(dAtA[:size])
4348}
4349
4350func (m *RollbackConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4351 i := len(dAtA)
4352 _ = i
4353 var l int
4354 _ = l
4355 i = encodeVarintGenerated(dAtA, i, uint64(m.Revision))
4356 i--
4357 dAtA[i] = 0x8
4358 return len(dAtA) - i, nil
4359}
4360
4361func (m *RollingUpdateDaemonSet) Marshal() (dAtA []byte, err error) {
4362 size := m.Size()
4363 dAtA = make([]byte, size)
4364 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4365 if err != nil {
4366 return nil, err
4367 }
4368 return dAtA[:n], nil
4369}
4370
4371func (m *RollingUpdateDaemonSet) MarshalTo(dAtA []byte) (int, error) {
4372 size := m.Size()
4373 return m.MarshalToSizedBuffer(dAtA[:size])
4374}
4375
4376func (m *RollingUpdateDaemonSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4377 i := len(dAtA)
4378 _ = i
4379 var l int
4380 _ = l
4381 if m.MaxUnavailable != nil {
4382 {
4383 size, err := m.MaxUnavailable.MarshalToSizedBuffer(dAtA[:i])
4384 if err != nil {
4385 return 0, err
4386 }
4387 i -= size
4388 i = encodeVarintGenerated(dAtA, i, uint64(size))
4389 }
4390 i--
4391 dAtA[i] = 0xa
4392 }
4393 return len(dAtA) - i, nil
4394}
4395
4396func (m *RollingUpdateDeployment) Marshal() (dAtA []byte, err error) {
4397 size := m.Size()
4398 dAtA = make([]byte, size)
4399 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4400 if err != nil {
4401 return nil, err
4402 }
4403 return dAtA[:n], nil
4404}
4405
4406func (m *RollingUpdateDeployment) MarshalTo(dAtA []byte) (int, error) {
4407 size := m.Size()
4408 return m.MarshalToSizedBuffer(dAtA[:size])
4409}
4410
4411func (m *RollingUpdateDeployment) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4412 i := len(dAtA)
4413 _ = i
4414 var l int
4415 _ = l
4416 if m.MaxSurge != nil {
4417 {
4418 size, err := m.MaxSurge.MarshalToSizedBuffer(dAtA[:i])
4419 if err != nil {
4420 return 0, err
4421 }
4422 i -= size
4423 i = encodeVarintGenerated(dAtA, i, uint64(size))
4424 }
4425 i--
4426 dAtA[i] = 0x12
4427 }
4428 if m.MaxUnavailable != nil {
4429 {
4430 size, err := m.MaxUnavailable.MarshalToSizedBuffer(dAtA[:i])
4431 if err != nil {
4432 return 0, err
4433 }
4434 i -= size
4435 i = encodeVarintGenerated(dAtA, i, uint64(size))
4436 }
4437 i--
4438 dAtA[i] = 0xa
4439 }
4440 return len(dAtA) - i, nil
4441}
4442
4443func (m *RunAsGroupStrategyOptions) Marshal() (dAtA []byte, err error) {
4444 size := m.Size()
4445 dAtA = make([]byte, size)
4446 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4447 if err != nil {
4448 return nil, err
4449 }
4450 return dAtA[:n], nil
4451}
4452
4453func (m *RunAsGroupStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
4454 size := m.Size()
4455 return m.MarshalToSizedBuffer(dAtA[:size])
4456}
4457
4458func (m *RunAsGroupStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4459 i := len(dAtA)
4460 _ = i
4461 var l int
4462 _ = l
4463 if len(m.Ranges) > 0 {
4464 for iNdEx := len(m.Ranges) - 1; iNdEx >= 0; iNdEx-- {
4465 {
4466 size, err := m.Ranges[iNdEx].MarshalToSizedBuffer(dAtA[:i])
4467 if err != nil {
4468 return 0, err
4469 }
4470 i -= size
4471 i = encodeVarintGenerated(dAtA, i, uint64(size))
4472 }
4473 i--
4474 dAtA[i] = 0x12
4475 }
4476 }
4477 i -= len(m.Rule)
4478 copy(dAtA[i:], m.Rule)
4479 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
4480 i--
4481 dAtA[i] = 0xa
4482 return len(dAtA) - i, nil
4483}
4484
4485func (m *RunAsUserStrategyOptions) Marshal() (dAtA []byte, err error) {
4486 size := m.Size()
4487 dAtA = make([]byte, size)
4488 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4489 if err != nil {
4490 return nil, err
4491 }
4492 return dAtA[:n], nil
4493}
4494
4495func (m *RunAsUserStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
4496 size := m.Size()
4497 return m.MarshalToSizedBuffer(dAtA[:size])
4498}
4499
4500func (m *RunAsUserStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4501 i := len(dAtA)
4502 _ = i
4503 var l int
4504 _ = l
4505 if len(m.Ranges) > 0 {
4506 for iNdEx := len(m.Ranges) - 1; iNdEx >= 0; iNdEx-- {
4507 {
4508 size, err := m.Ranges[iNdEx].MarshalToSizedBuffer(dAtA[:i])
4509 if err != nil {
4510 return 0, err
4511 }
4512 i -= size
4513 i = encodeVarintGenerated(dAtA, i, uint64(size))
4514 }
4515 i--
4516 dAtA[i] = 0x12
4517 }
4518 }
4519 i -= len(m.Rule)
4520 copy(dAtA[i:], m.Rule)
4521 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
4522 i--
4523 dAtA[i] = 0xa
4524 return len(dAtA) - i, nil
4525}
4526
4527func (m *RuntimeClassStrategyOptions) Marshal() (dAtA []byte, err error) {
4528 size := m.Size()
4529 dAtA = make([]byte, size)
4530 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4531 if err != nil {
4532 return nil, err
4533 }
4534 return dAtA[:n], nil
4535}
4536
4537func (m *RuntimeClassStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
4538 size := m.Size()
4539 return m.MarshalToSizedBuffer(dAtA[:size])
4540}
4541
4542func (m *RuntimeClassStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4543 i := len(dAtA)
4544 _ = i
4545 var l int
4546 _ = l
4547 if m.DefaultRuntimeClassName != nil {
4548 i -= len(*m.DefaultRuntimeClassName)
4549 copy(dAtA[i:], *m.DefaultRuntimeClassName)
4550 i = encodeVarintGenerated(dAtA, i, uint64(len(*m.DefaultRuntimeClassName)))
4551 i--
4552 dAtA[i] = 0x12
4553 }
4554 if len(m.AllowedRuntimeClassNames) > 0 {
4555 for iNdEx := len(m.AllowedRuntimeClassNames) - 1; iNdEx >= 0; iNdEx-- {
4556 i -= len(m.AllowedRuntimeClassNames[iNdEx])
4557 copy(dAtA[i:], m.AllowedRuntimeClassNames[iNdEx])
4558 i = encodeVarintGenerated(dAtA, i, uint64(len(m.AllowedRuntimeClassNames[iNdEx])))
4559 i--
4560 dAtA[i] = 0xa
4561 }
4562 }
4563 return len(dAtA) - i, nil
4564}
4565
4566func (m *SELinuxStrategyOptions) Marshal() (dAtA []byte, err error) {
4567 size := m.Size()
4568 dAtA = make([]byte, size)
4569 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4570 if err != nil {
4571 return nil, err
4572 }
4573 return dAtA[:n], nil
4574}
4575
4576func (m *SELinuxStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
4577 size := m.Size()
4578 return m.MarshalToSizedBuffer(dAtA[:size])
4579}
4580
4581func (m *SELinuxStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4582 i := len(dAtA)
4583 _ = i
4584 var l int
4585 _ = l
4586 if m.SELinuxOptions != nil {
4587 {
4588 size, err := m.SELinuxOptions.MarshalToSizedBuffer(dAtA[:i])
4589 if err != nil {
4590 return 0, err
4591 }
4592 i -= size
4593 i = encodeVarintGenerated(dAtA, i, uint64(size))
4594 }
4595 i--
4596 dAtA[i] = 0x12
4597 }
4598 i -= len(m.Rule)
4599 copy(dAtA[i:], m.Rule)
4600 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
4601 i--
4602 dAtA[i] = 0xa
4603 return len(dAtA) - i, nil
4604}
4605
4606func (m *Scale) Marshal() (dAtA []byte, err error) {
4607 size := m.Size()
4608 dAtA = make([]byte, size)
4609 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4610 if err != nil {
4611 return nil, err
4612 }
4613 return dAtA[:n], nil
4614}
4615
4616func (m *Scale) MarshalTo(dAtA []byte) (int, error) {
4617 size := m.Size()
4618 return m.MarshalToSizedBuffer(dAtA[:size])
4619}
4620
4621func (m *Scale) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4622 i := len(dAtA)
4623 _ = i
4624 var l int
4625 _ = l
4626 {
4627 size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
4628 if err != nil {
4629 return 0, err
4630 }
4631 i -= size
4632 i = encodeVarintGenerated(dAtA, i, uint64(size))
4633 }
4634 i--
4635 dAtA[i] = 0x1a
4636 {
4637 size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
4638 if err != nil {
4639 return 0, err
4640 }
4641 i -= size
4642 i = encodeVarintGenerated(dAtA, i, uint64(size))
4643 }
4644 i--
4645 dAtA[i] = 0x12
4646 {
4647 size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
4648 if err != nil {
4649 return 0, err
4650 }
4651 i -= size
4652 i = encodeVarintGenerated(dAtA, i, uint64(size))
4653 }
4654 i--
4655 dAtA[i] = 0xa
4656 return len(dAtA) - i, nil
4657}
4658
4659func (m *ScaleSpec) Marshal() (dAtA []byte, err error) {
4660 size := m.Size()
4661 dAtA = make([]byte, size)
4662 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4663 if err != nil {
4664 return nil, err
4665 }
4666 return dAtA[:n], nil
4667}
4668
4669func (m *ScaleSpec) MarshalTo(dAtA []byte) (int, error) {
4670 size := m.Size()
4671 return m.MarshalToSizedBuffer(dAtA[:size])
4672}
4673
4674func (m *ScaleSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4675 i := len(dAtA)
4676 _ = i
4677 var l int
4678 _ = l
4679 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
4680 i--
4681 dAtA[i] = 0x8
4682 return len(dAtA) - i, nil
4683}
4684
4685func (m *ScaleStatus) Marshal() (dAtA []byte, err error) {
4686 size := m.Size()
4687 dAtA = make([]byte, size)
4688 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4689 if err != nil {
4690 return nil, err
4691 }
4692 return dAtA[:n], nil
4693}
4694
4695func (m *ScaleStatus) MarshalTo(dAtA []byte) (int, error) {
4696 size := m.Size()
4697 return m.MarshalToSizedBuffer(dAtA[:size])
4698}
4699
4700func (m *ScaleStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4701 i := len(dAtA)
4702 _ = i
4703 var l int
4704 _ = l
4705 i -= len(m.TargetSelector)
4706 copy(dAtA[i:], m.TargetSelector)
4707 i = encodeVarintGenerated(dAtA, i, uint64(len(m.TargetSelector)))
4708 i--
4709 dAtA[i] = 0x1a
4710 if len(m.Selector) > 0 {
4711 keysForSelector := make([]string, 0, len(m.Selector))
4712 for k := range m.Selector {
4713 keysForSelector = append(keysForSelector, string(k))
4714 }
4715 github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
4716 for iNdEx := len(keysForSelector) - 1; iNdEx >= 0; iNdEx-- {
4717 v := m.Selector[string(keysForSelector[iNdEx])]
4718 baseI := i
4719 i -= len(v)
4720 copy(dAtA[i:], v)
4721 i = encodeVarintGenerated(dAtA, i, uint64(len(v)))
4722 i--
4723 dAtA[i] = 0x12
4724 i -= len(keysForSelector[iNdEx])
4725 copy(dAtA[i:], keysForSelector[iNdEx])
4726 i = encodeVarintGenerated(dAtA, i, uint64(len(keysForSelector[iNdEx])))
4727 i--
4728 dAtA[i] = 0xa
4729 i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
4730 i--
4731 dAtA[i] = 0x12
4732 }
4733 }
4734 i = encodeVarintGenerated(dAtA, i, uint64(m.Replicas))
4735 i--
4736 dAtA[i] = 0x8
4737 return len(dAtA) - i, nil
4738}
4739
4740func (m *SupplementalGroupsStrategyOptions) Marshal() (dAtA []byte, err error) {
4741 size := m.Size()
4742 dAtA = make([]byte, size)
4743 n, err := m.MarshalToSizedBuffer(dAtA[:size])
4744 if err != nil {
4745 return nil, err
4746 }
4747 return dAtA[:n], nil
4748}
4749
4750func (m *SupplementalGroupsStrategyOptions) MarshalTo(dAtA []byte) (int, error) {
4751 size := m.Size()
4752 return m.MarshalToSizedBuffer(dAtA[:size])
4753}
4754
4755func (m *SupplementalGroupsStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
4756 i := len(dAtA)
4757 _ = i
4758 var l int
4759 _ = l
4760 if len(m.Ranges) > 0 {
4761 for iNdEx := len(m.Ranges) - 1; iNdEx >= 0; iNdEx-- {
4762 {
4763 size, err := m.Ranges[iNdEx].MarshalToSizedBuffer(dAtA[:i])
4764 if err != nil {
4765 return 0, err
4766 }
4767 i -= size
4768 i = encodeVarintGenerated(dAtA, i, uint64(size))
4769 }
4770 i--
4771 dAtA[i] = 0x12
4772 }
4773 }
4774 i -= len(m.Rule)
4775 copy(dAtA[i:], m.Rule)
4776 i = encodeVarintGenerated(dAtA, i, uint64(len(m.Rule)))
4777 i--
4778 dAtA[i] = 0xa
4779 return len(dAtA) - i, nil
4780}
4781
4782func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
4783 offset -= sovGenerated(v)
4784 base := offset
4785 for v >= 1<<7 {
4786 dAtA[offset] = uint8(v&0x7f | 0x80)
4787 v >>= 7
4788 offset++
4789 }
4790 dAtA[offset] = uint8(v)
4791 return base
4792}
4793func (m *AllowedCSIDriver) Size() (n int) {
4794 if m == nil {
4795 return 0
4796 }
4797 var l int
4798 _ = l
4799 l = len(m.Name)
4800 n += 1 + l + sovGenerated(uint64(l))
4801 return n
4802}
4803
4804func (m *AllowedFlexVolume) Size() (n int) {
4805 if m == nil {
4806 return 0
4807 }
4808 var l int
4809 _ = l
4810 l = len(m.Driver)
4811 n += 1 + l + sovGenerated(uint64(l))
4812 return n
4813}
4814
4815func (m *AllowedHostPath) Size() (n int) {
4816 if m == nil {
4817 return 0
4818 }
4819 var l int
4820 _ = l
4821 l = len(m.PathPrefix)
4822 n += 1 + l + sovGenerated(uint64(l))
4823 n += 2
4824 return n
4825}
4826
4827func (m *DaemonSet) Size() (n int) {
4828 if m == nil {
4829 return 0
4830 }
4831 var l int
4832 _ = l
4833 l = m.ObjectMeta.Size()
4834 n += 1 + l + sovGenerated(uint64(l))
4835 l = m.Spec.Size()
4836 n += 1 + l + sovGenerated(uint64(l))
4837 l = m.Status.Size()
4838 n += 1 + l + sovGenerated(uint64(l))
4839 return n
4840}
4841
4842func (m *DaemonSetCondition) Size() (n int) {
4843 if m == nil {
4844 return 0
4845 }
4846 var l int
4847 _ = l
4848 l = len(m.Type)
4849 n += 1 + l + sovGenerated(uint64(l))
4850 l = len(m.Status)
4851 n += 1 + l + sovGenerated(uint64(l))
4852 l = m.LastTransitionTime.Size()
4853 n += 1 + l + sovGenerated(uint64(l))
4854 l = len(m.Reason)
4855 n += 1 + l + sovGenerated(uint64(l))
4856 l = len(m.Message)
4857 n += 1 + l + sovGenerated(uint64(l))
4858 return n
4859}
4860
4861func (m *DaemonSetList) Size() (n int) {
4862 if m == nil {
4863 return 0
4864 }
4865 var l int
4866 _ = l
4867 l = m.ListMeta.Size()
4868 n += 1 + l + sovGenerated(uint64(l))
4869 if len(m.Items) > 0 {
4870 for _, e := range m.Items {
4871 l = e.Size()
4872 n += 1 + l + sovGenerated(uint64(l))
4873 }
4874 }
4875 return n
4876}
4877
4878func (m *DaemonSetSpec) Size() (n int) {
4879 if m == nil {
4880 return 0
4881 }
4882 var l int
4883 _ = l
4884 if m.Selector != nil {
4885 l = m.Selector.Size()
4886 n += 1 + l + sovGenerated(uint64(l))
4887 }
4888 l = m.Template.Size()
4889 n += 1 + l + sovGenerated(uint64(l))
4890 l = m.UpdateStrategy.Size()
4891 n += 1 + l + sovGenerated(uint64(l))
4892 n += 1 + sovGenerated(uint64(m.MinReadySeconds))
4893 n += 1 + sovGenerated(uint64(m.TemplateGeneration))
4894 if m.RevisionHistoryLimit != nil {
4895 n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
4896 }
4897 return n
4898}
4899
4900func (m *DaemonSetStatus) Size() (n int) {
4901 if m == nil {
4902 return 0
4903 }
4904 var l int
4905 _ = l
4906 n += 1 + sovGenerated(uint64(m.CurrentNumberScheduled))
4907 n += 1 + sovGenerated(uint64(m.NumberMisscheduled))
4908 n += 1 + sovGenerated(uint64(m.DesiredNumberScheduled))
4909 n += 1 + sovGenerated(uint64(m.NumberReady))
4910 n += 1 + sovGenerated(uint64(m.ObservedGeneration))
4911 n += 1 + sovGenerated(uint64(m.UpdatedNumberScheduled))
4912 n += 1 + sovGenerated(uint64(m.NumberAvailable))
4913 n += 1 + sovGenerated(uint64(m.NumberUnavailable))
4914 if m.CollisionCount != nil {
4915 n += 1 + sovGenerated(uint64(*m.CollisionCount))
4916 }
4917 if len(m.Conditions) > 0 {
4918 for _, e := range m.Conditions {
4919 l = e.Size()
4920 n += 1 + l + sovGenerated(uint64(l))
4921 }
4922 }
4923 return n
4924}
4925
4926func (m *DaemonSetUpdateStrategy) Size() (n int) {
4927 if m == nil {
4928 return 0
4929 }
4930 var l int
4931 _ = l
4932 l = len(m.Type)
4933 n += 1 + l + sovGenerated(uint64(l))
4934 if m.RollingUpdate != nil {
4935 l = m.RollingUpdate.Size()
4936 n += 1 + l + sovGenerated(uint64(l))
4937 }
4938 return n
4939}
4940
4941func (m *Deployment) Size() (n int) {
4942 if m == nil {
4943 return 0
4944 }
4945 var l int
4946 _ = l
4947 l = m.ObjectMeta.Size()
4948 n += 1 + l + sovGenerated(uint64(l))
4949 l = m.Spec.Size()
4950 n += 1 + l + sovGenerated(uint64(l))
4951 l = m.Status.Size()
4952 n += 1 + l + sovGenerated(uint64(l))
4953 return n
4954}
4955
4956func (m *DeploymentCondition) Size() (n int) {
4957 if m == nil {
4958 return 0
4959 }
4960 var l int
4961 _ = l
4962 l = len(m.Type)
4963 n += 1 + l + sovGenerated(uint64(l))
4964 l = len(m.Status)
4965 n += 1 + l + sovGenerated(uint64(l))
4966 l = len(m.Reason)
4967 n += 1 + l + sovGenerated(uint64(l))
4968 l = len(m.Message)
4969 n += 1 + l + sovGenerated(uint64(l))
4970 l = m.LastUpdateTime.Size()
4971 n += 1 + l + sovGenerated(uint64(l))
4972 l = m.LastTransitionTime.Size()
4973 n += 1 + l + sovGenerated(uint64(l))
4974 return n
4975}
4976
4977func (m *DeploymentList) Size() (n int) {
4978 if m == nil {
4979 return 0
4980 }
4981 var l int
4982 _ = l
4983 l = m.ListMeta.Size()
4984 n += 1 + l + sovGenerated(uint64(l))
4985 if len(m.Items) > 0 {
4986 for _, e := range m.Items {
4987 l = e.Size()
4988 n += 1 + l + sovGenerated(uint64(l))
4989 }
4990 }
4991 return n
4992}
4993
4994func (m *DeploymentRollback) Size() (n int) {
4995 if m == nil {
4996 return 0
4997 }
4998 var l int
4999 _ = l
5000 l = len(m.Name)
5001 n += 1 + l + sovGenerated(uint64(l))
5002 if len(m.UpdatedAnnotations) > 0 {
5003 for k, v := range m.UpdatedAnnotations {
5004 _ = k
5005 _ = v
5006 mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
5007 n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
5008 }
5009 }
5010 l = m.RollbackTo.Size()
5011 n += 1 + l + sovGenerated(uint64(l))
5012 return n
5013}
5014
5015func (m *DeploymentSpec) Size() (n int) {
5016 if m == nil {
5017 return 0
5018 }
5019 var l int
5020 _ = l
5021 if m.Replicas != nil {
5022 n += 1 + sovGenerated(uint64(*m.Replicas))
5023 }
5024 if m.Selector != nil {
5025 l = m.Selector.Size()
5026 n += 1 + l + sovGenerated(uint64(l))
5027 }
5028 l = m.Template.Size()
5029 n += 1 + l + sovGenerated(uint64(l))
5030 l = m.Strategy.Size()
5031 n += 1 + l + sovGenerated(uint64(l))
5032 n += 1 + sovGenerated(uint64(m.MinReadySeconds))
5033 if m.RevisionHistoryLimit != nil {
5034 n += 1 + sovGenerated(uint64(*m.RevisionHistoryLimit))
5035 }
5036 n += 2
5037 if m.RollbackTo != nil {
5038 l = m.RollbackTo.Size()
5039 n += 1 + l + sovGenerated(uint64(l))
5040 }
5041 if m.ProgressDeadlineSeconds != nil {
5042 n += 1 + sovGenerated(uint64(*m.ProgressDeadlineSeconds))
5043 }
5044 return n
5045}
5046
5047func (m *DeploymentStatus) Size() (n int) {
5048 if m == nil {
5049 return 0
5050 }
5051 var l int
5052 _ = l
5053 n += 1 + sovGenerated(uint64(m.ObservedGeneration))
5054 n += 1 + sovGenerated(uint64(m.Replicas))
5055 n += 1 + sovGenerated(uint64(m.UpdatedReplicas))
5056 n += 1 + sovGenerated(uint64(m.AvailableReplicas))
5057 n += 1 + sovGenerated(uint64(m.UnavailableReplicas))
5058 if len(m.Conditions) > 0 {
5059 for _, e := range m.Conditions {
5060 l = e.Size()
5061 n += 1 + l + sovGenerated(uint64(l))
5062 }
5063 }
5064 n += 1 + sovGenerated(uint64(m.ReadyReplicas))
5065 if m.CollisionCount != nil {
5066 n += 1 + sovGenerated(uint64(*m.CollisionCount))
5067 }
5068 return n
5069}
5070
5071func (m *DeploymentStrategy) Size() (n int) {
5072 if m == nil {
5073 return 0
5074 }
5075 var l int
5076 _ = l
5077 l = len(m.Type)
5078 n += 1 + l + sovGenerated(uint64(l))
5079 if m.RollingUpdate != nil {
5080 l = m.RollingUpdate.Size()
5081 n += 1 + l + sovGenerated(uint64(l))
5082 }
5083 return n
5084}
5085
5086func (m *FSGroupStrategyOptions) Size() (n int) {
5087 if m == nil {
5088 return 0
5089 }
5090 var l int
5091 _ = l
5092 l = len(m.Rule)
5093 n += 1 + l + sovGenerated(uint64(l))
5094 if len(m.Ranges) > 0 {
5095 for _, e := range m.Ranges {
5096 l = e.Size()
5097 n += 1 + l + sovGenerated(uint64(l))
5098 }
5099 }
5100 return n
5101}
5102
5103func (m *HTTPIngressPath) Size() (n int) {
5104 if m == nil {
5105 return 0
5106 }
5107 var l int
5108 _ = l
5109 l = len(m.Path)
5110 n += 1 + l + sovGenerated(uint64(l))
5111 l = m.Backend.Size()
5112 n += 1 + l + sovGenerated(uint64(l))
5113 if m.PathType != nil {
5114 l = len(*m.PathType)
5115 n += 1 + l + sovGenerated(uint64(l))
5116 }
5117 return n
5118}
5119
5120func (m *HTTPIngressRuleValue) Size() (n int) {
5121 if m == nil {
5122 return 0
5123 }
5124 var l int
5125 _ = l
5126 if len(m.Paths) > 0 {
5127 for _, e := range m.Paths {
5128 l = e.Size()
5129 n += 1 + l + sovGenerated(uint64(l))
5130 }
5131 }
5132 return n
5133}
5134
5135func (m *HostPortRange) Size() (n int) {
5136 if m == nil {
5137 return 0
5138 }
5139 var l int
5140 _ = l
5141 n += 1 + sovGenerated(uint64(m.Min))
5142 n += 1 + sovGenerated(uint64(m.Max))
5143 return n
5144}
5145
5146func (m *IDRange) Size() (n int) {
5147 if m == nil {
5148 return 0
5149 }
5150 var l int
5151 _ = l
5152 n += 1 + sovGenerated(uint64(m.Min))
5153 n += 1 + sovGenerated(uint64(m.Max))
5154 return n
5155}
5156
5157func (m *IPBlock) Size() (n int) {
5158 if m == nil {
5159 return 0
5160 }
5161 var l int
5162 _ = l
5163 l = len(m.CIDR)
5164 n += 1 + l + sovGenerated(uint64(l))
5165 if len(m.Except) > 0 {
5166 for _, s := range m.Except {
5167 l = len(s)
5168 n += 1 + l + sovGenerated(uint64(l))
5169 }
5170 }
5171 return n
5172}
5173
5174func (m *Ingress) Size() (n int) {
5175 if m == nil {
5176 return 0
5177 }
5178 var l int
5179 _ = l
5180 l = m.ObjectMeta.Size()
5181 n += 1 + l + sovGenerated(uint64(l))
5182 l = m.Spec.Size()
5183 n += 1 + l + sovGenerated(uint64(l))
5184 l = m.Status.Size()
5185 n += 1 + l + sovGenerated(uint64(l))
5186 return n
5187}
5188
5189func (m *IngressBackend) Size() (n int) {
5190 if m == nil {
5191 return 0
5192 }
5193 var l int
5194 _ = l
5195 l = len(m.ServiceName)
5196 n += 1 + l + sovGenerated(uint64(l))
5197 l = m.ServicePort.Size()
5198 n += 1 + l + sovGenerated(uint64(l))
5199 if m.Resource != nil {
5200 l = m.Resource.Size()
5201 n += 1 + l + sovGenerated(uint64(l))
5202 }
5203 return n
5204}
5205
5206func (m *IngressList) Size() (n int) {
5207 if m == nil {
5208 return 0
5209 }
5210 var l int
5211 _ = l
5212 l = m.ListMeta.Size()
5213 n += 1 + l + sovGenerated(uint64(l))
5214 if len(m.Items) > 0 {
5215 for _, e := range m.Items {
5216 l = e.Size()
5217 n += 1 + l + sovGenerated(uint64(l))
5218 }
5219 }
5220 return n
5221}
5222
5223func (m *IngressRule) Size() (n int) {
5224 if m == nil {
5225 return 0
5226 }
5227 var l int
5228 _ = l
5229 l = len(m.Host)
5230 n += 1 + l + sovGenerated(uint64(l))
5231 l = m.IngressRuleValue.Size()
5232 n += 1 + l + sovGenerated(uint64(l))
5233 return n
5234}
5235
5236func (m *IngressRuleValue) Size() (n int) {
5237 if m == nil {
5238 return 0
5239 }
5240 var l int
5241 _ = l
5242 if m.HTTP != nil {
5243 l = m.HTTP.Size()
5244 n += 1 + l + sovGenerated(uint64(l))
5245 }
5246 return n
5247}
5248
5249func (m *IngressSpec) Size() (n int) {
5250 if m == nil {
5251 return 0
5252 }
5253 var l int
5254 _ = l
5255 if m.Backend != nil {
5256 l = m.Backend.Size()
5257 n += 1 + l + sovGenerated(uint64(l))
5258 }
5259 if len(m.TLS) > 0 {
5260 for _, e := range m.TLS {
5261 l = e.Size()
5262 n += 1 + l + sovGenerated(uint64(l))
5263 }
5264 }
5265 if len(m.Rules) > 0 {
5266 for _, e := range m.Rules {
5267 l = e.Size()
5268 n += 1 + l + sovGenerated(uint64(l))
5269 }
5270 }
5271 if m.IngressClassName != nil {
5272 l = len(*m.IngressClassName)
5273 n += 1 + l + sovGenerated(uint64(l))
5274 }
5275 return n
5276}
5277
5278func (m *IngressStatus) Size() (n int) {
5279 if m == nil {
5280 return 0
5281 }
5282 var l int
5283 _ = l
5284 l = m.LoadBalancer.Size()
5285 n += 1 + l + sovGenerated(uint64(l))
5286 return n
5287}
5288
5289func (m *IngressTLS) Size() (n int) {
5290 if m == nil {
5291 return 0
5292 }
5293 var l int
5294 _ = l
5295 if len(m.Hosts) > 0 {
5296 for _, s := range m.Hosts {
5297 l = len(s)
5298 n += 1 + l + sovGenerated(uint64(l))
5299 }
5300 }
5301 l = len(m.SecretName)
5302 n += 1 + l + sovGenerated(uint64(l))
5303 return n
5304}
5305
5306func (m *NetworkPolicy) Size() (n int) {
5307 if m == nil {
5308 return 0
5309 }
5310 var l int
5311 _ = l
5312 l = m.ObjectMeta.Size()
5313 n += 1 + l + sovGenerated(uint64(l))
5314 l = m.Spec.Size()
5315 n += 1 + l + sovGenerated(uint64(l))
5316 return n
5317}
5318
5319func (m *NetworkPolicyEgressRule) Size() (n int) {
5320 if m == nil {
5321 return 0
5322 }
5323 var l int
5324 _ = l
5325 if len(m.Ports) > 0 {
5326 for _, e := range m.Ports {
5327 l = e.Size()
5328 n += 1 + l + sovGenerated(uint64(l))
5329 }
5330 }
5331 if len(m.To) > 0 {
5332 for _, e := range m.To {
5333 l = e.Size()
5334 n += 1 + l + sovGenerated(uint64(l))
5335 }
5336 }
5337 return n
5338}
5339
5340func (m *NetworkPolicyIngressRule) Size() (n int) {
5341 if m == nil {
5342 return 0
5343 }
5344 var l int
5345 _ = l
5346 if len(m.Ports) > 0 {
5347 for _, e := range m.Ports {
5348 l = e.Size()
5349 n += 1 + l + sovGenerated(uint64(l))
5350 }
5351 }
5352 if len(m.From) > 0 {
5353 for _, e := range m.From {
5354 l = e.Size()
5355 n += 1 + l + sovGenerated(uint64(l))
5356 }
5357 }
5358 return n
5359}
5360
5361func (m *NetworkPolicyList) Size() (n int) {
5362 if m == nil {
5363 return 0
5364 }
5365 var l int
5366 _ = l
5367 l = m.ListMeta.Size()
5368 n += 1 + l + sovGenerated(uint64(l))
5369 if len(m.Items) > 0 {
5370 for _, e := range m.Items {
5371 l = e.Size()
5372 n += 1 + l + sovGenerated(uint64(l))
5373 }
5374 }
5375 return n
5376}
5377
5378func (m *NetworkPolicyPeer) Size() (n int) {
5379 if m == nil {
5380 return 0
5381 }
5382 var l int
5383 _ = l
5384 if m.PodSelector != nil {
5385 l = m.PodSelector.Size()
5386 n += 1 + l + sovGenerated(uint64(l))
5387 }
5388 if m.NamespaceSelector != nil {
5389 l = m.NamespaceSelector.Size()
5390 n += 1 + l + sovGenerated(uint64(l))
5391 }
5392 if m.IPBlock != nil {
5393 l = m.IPBlock.Size()
5394 n += 1 + l + sovGenerated(uint64(l))
5395 }
5396 return n
5397}
5398
5399func (m *NetworkPolicyPort) Size() (n int) {
5400 if m == nil {
5401 return 0
5402 }
5403 var l int
5404 _ = l
5405 if m.Protocol != nil {
5406 l = len(*m.Protocol)
5407 n += 1 + l + sovGenerated(uint64(l))
5408 }
5409 if m.Port != nil {
5410 l = m.Port.Size()
5411 n += 1 + l + sovGenerated(uint64(l))
5412 }
5413 return n
5414}
5415
5416func (m *NetworkPolicySpec) Size() (n int) {
5417 if m == nil {
5418 return 0
5419 }
5420 var l int
5421 _ = l
5422 l = m.PodSelector.Size()
5423 n += 1 + l + sovGenerated(uint64(l))
5424 if len(m.Ingress) > 0 {
5425 for _, e := range m.Ingress {
5426 l = e.Size()
5427 n += 1 + l + sovGenerated(uint64(l))
5428 }
5429 }
5430 if len(m.Egress) > 0 {
5431 for _, e := range m.Egress {
5432 l = e.Size()
5433 n += 1 + l + sovGenerated(uint64(l))
5434 }
5435 }
5436 if len(m.PolicyTypes) > 0 {
5437 for _, s := range m.PolicyTypes {
5438 l = len(s)
5439 n += 1 + l + sovGenerated(uint64(l))
5440 }
5441 }
5442 return n
5443}
5444
5445func (m *PodSecurityPolicy) Size() (n int) {
5446 if m == nil {
5447 return 0
5448 }
5449 var l int
5450 _ = l
5451 l = m.ObjectMeta.Size()
5452 n += 1 + l + sovGenerated(uint64(l))
5453 l = m.Spec.Size()
5454 n += 1 + l + sovGenerated(uint64(l))
5455 return n
5456}
5457
5458func (m *PodSecurityPolicyList) Size() (n int) {
5459 if m == nil {
5460 return 0
5461 }
5462 var l int
5463 _ = l
5464 l = m.ListMeta.Size()
5465 n += 1 + l + sovGenerated(uint64(l))
5466 if len(m.Items) > 0 {
5467 for _, e := range m.Items {
5468 l = e.Size()
5469 n += 1 + l + sovGenerated(uint64(l))
5470 }
5471 }
5472 return n
5473}
5474
5475func (m *PodSecurityPolicySpec) Size() (n int) {
5476 if m == nil {
5477 return 0
5478 }
5479 var l int
5480 _ = l
5481 n += 2
5482 if len(m.DefaultAddCapabilities) > 0 {
5483 for _, s := range m.DefaultAddCapabilities {
5484 l = len(s)
5485 n += 1 + l + sovGenerated(uint64(l))
5486 }
5487 }
5488 if len(m.RequiredDropCapabilities) > 0 {
5489 for _, s := range m.RequiredDropCapabilities {
5490 l = len(s)
5491 n += 1 + l + sovGenerated(uint64(l))
5492 }
5493 }
5494 if len(m.AllowedCapabilities) > 0 {
5495 for _, s := range m.AllowedCapabilities {
5496 l = len(s)
5497 n += 1 + l + sovGenerated(uint64(l))
5498 }
5499 }
5500 if len(m.Volumes) > 0 {
5501 for _, s := range m.Volumes {
5502 l = len(s)
5503 n += 1 + l + sovGenerated(uint64(l))
5504 }
5505 }
5506 n += 2
5507 if len(m.HostPorts) > 0 {
5508 for _, e := range m.HostPorts {
5509 l = e.Size()
5510 n += 1 + l + sovGenerated(uint64(l))
5511 }
5512 }
5513 n += 2
5514 n += 2
5515 l = m.SELinux.Size()
5516 n += 1 + l + sovGenerated(uint64(l))
5517 l = m.RunAsUser.Size()
5518 n += 1 + l + sovGenerated(uint64(l))
5519 l = m.SupplementalGroups.Size()
5520 n += 1 + l + sovGenerated(uint64(l))
5521 l = m.FSGroup.Size()
5522 n += 1 + l + sovGenerated(uint64(l))
5523 n += 2
5524 if m.DefaultAllowPrivilegeEscalation != nil {
5525 n += 2
5526 }
5527 if m.AllowPrivilegeEscalation != nil {
5528 n += 3
5529 }
5530 if len(m.AllowedHostPaths) > 0 {
5531 for _, e := range m.AllowedHostPaths {
5532 l = e.Size()
5533 n += 2 + l + sovGenerated(uint64(l))
5534 }
5535 }
5536 if len(m.AllowedFlexVolumes) > 0 {
5537 for _, e := range m.AllowedFlexVolumes {
5538 l = e.Size()
5539 n += 2 + l + sovGenerated(uint64(l))
5540 }
5541 }
5542 if len(m.AllowedUnsafeSysctls) > 0 {
5543 for _, s := range m.AllowedUnsafeSysctls {
5544 l = len(s)
5545 n += 2 + l + sovGenerated(uint64(l))
5546 }
5547 }
5548 if len(m.ForbiddenSysctls) > 0 {
5549 for _, s := range m.ForbiddenSysctls {
5550 l = len(s)
5551 n += 2 + l + sovGenerated(uint64(l))
5552 }
5553 }
5554 if len(m.AllowedProcMountTypes) > 0 {
5555 for _, s := range m.AllowedProcMountTypes {
5556 l = len(s)
5557 n += 2 + l + sovGenerated(uint64(l))
5558 }
5559 }
5560 if m.RunAsGroup != nil {
5561 l = m.RunAsGroup.Size()
5562 n += 2 + l + sovGenerated(uint64(l))
5563 }
5564 if len(m.AllowedCSIDrivers) > 0 {
5565 for _, e := range m.AllowedCSIDrivers {
5566 l = e.Size()
5567 n += 2 + l + sovGenerated(uint64(l))
5568 }
5569 }
5570 if m.RuntimeClass != nil {
5571 l = m.RuntimeClass.Size()
5572 n += 2 + l + sovGenerated(uint64(l))
5573 }
5574 return n
5575}
5576
5577func (m *ReplicaSet) Size() (n int) {
5578 if m == nil {
5579 return 0
5580 }
5581 var l int
5582 _ = l
5583 l = m.ObjectMeta.Size()
5584 n += 1 + l + sovGenerated(uint64(l))
5585 l = m.Spec.Size()
5586 n += 1 + l + sovGenerated(uint64(l))
5587 l = m.Status.Size()
5588 n += 1 + l + sovGenerated(uint64(l))
5589 return n
5590}
5591
5592func (m *ReplicaSetCondition) Size() (n int) {
5593 if m == nil {
5594 return 0
5595 }
5596 var l int
5597 _ = l
5598 l = len(m.Type)
5599 n += 1 + l + sovGenerated(uint64(l))
5600 l = len(m.Status)
5601 n += 1 + l + sovGenerated(uint64(l))
5602 l = m.LastTransitionTime.Size()
5603 n += 1 + l + sovGenerated(uint64(l))
5604 l = len(m.Reason)
5605 n += 1 + l + sovGenerated(uint64(l))
5606 l = len(m.Message)
5607 n += 1 + l + sovGenerated(uint64(l))
5608 return n
5609}
5610
5611func (m *ReplicaSetList) Size() (n int) {
5612 if m == nil {
5613 return 0
5614 }
5615 var l int
5616 _ = l
5617 l = m.ListMeta.Size()
5618 n += 1 + l + sovGenerated(uint64(l))
5619 if len(m.Items) > 0 {
5620 for _, e := range m.Items {
5621 l = e.Size()
5622 n += 1 + l + sovGenerated(uint64(l))
5623 }
5624 }
5625 return n
5626}
5627
5628func (m *ReplicaSetSpec) Size() (n int) {
5629 if m == nil {
5630 return 0
5631 }
5632 var l int
5633 _ = l
5634 if m.Replicas != nil {
5635 n += 1 + sovGenerated(uint64(*m.Replicas))
5636 }
5637 if m.Selector != nil {
5638 l = m.Selector.Size()
5639 n += 1 + l + sovGenerated(uint64(l))
5640 }
5641 l = m.Template.Size()
5642 n += 1 + l + sovGenerated(uint64(l))
5643 n += 1 + sovGenerated(uint64(m.MinReadySeconds))
5644 return n
5645}
5646
5647func (m *ReplicaSetStatus) Size() (n int) {
5648 if m == nil {
5649 return 0
5650 }
5651 var l int
5652 _ = l
5653 n += 1 + sovGenerated(uint64(m.Replicas))
5654 n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas))
5655 n += 1 + sovGenerated(uint64(m.ObservedGeneration))
5656 n += 1 + sovGenerated(uint64(m.ReadyReplicas))
5657 n += 1 + sovGenerated(uint64(m.AvailableReplicas))
5658 if len(m.Conditions) > 0 {
5659 for _, e := range m.Conditions {
5660 l = e.Size()
5661 n += 1 + l + sovGenerated(uint64(l))
5662 }
5663 }
5664 return n
5665}
5666
5667func (m *RollbackConfig) Size() (n int) {
5668 if m == nil {
5669 return 0
5670 }
5671 var l int
5672 _ = l
5673 n += 1 + sovGenerated(uint64(m.Revision))
5674 return n
5675}
5676
5677func (m *RollingUpdateDaemonSet) Size() (n int) {
5678 if m == nil {
5679 return 0
5680 }
5681 var l int
5682 _ = l
5683 if m.MaxUnavailable != nil {
5684 l = m.MaxUnavailable.Size()
5685 n += 1 + l + sovGenerated(uint64(l))
5686 }
5687 return n
5688}
5689
5690func (m *RollingUpdateDeployment) Size() (n int) {
5691 if m == nil {
5692 return 0
5693 }
5694 var l int
5695 _ = l
5696 if m.MaxUnavailable != nil {
5697 l = m.MaxUnavailable.Size()
5698 n += 1 + l + sovGenerated(uint64(l))
5699 }
5700 if m.MaxSurge != nil {
5701 l = m.MaxSurge.Size()
5702 n += 1 + l + sovGenerated(uint64(l))
5703 }
5704 return n
5705}
5706
5707func (m *RunAsGroupStrategyOptions) Size() (n int) {
5708 if m == nil {
5709 return 0
5710 }
5711 var l int
5712 _ = l
5713 l = len(m.Rule)
5714 n += 1 + l + sovGenerated(uint64(l))
5715 if len(m.Ranges) > 0 {
5716 for _, e := range m.Ranges {
5717 l = e.Size()
5718 n += 1 + l + sovGenerated(uint64(l))
5719 }
5720 }
5721 return n
5722}
5723
5724func (m *RunAsUserStrategyOptions) Size() (n int) {
5725 if m == nil {
5726 return 0
5727 }
5728 var l int
5729 _ = l
5730 l = len(m.Rule)
5731 n += 1 + l + sovGenerated(uint64(l))
5732 if len(m.Ranges) > 0 {
5733 for _, e := range m.Ranges {
5734 l = e.Size()
5735 n += 1 + l + sovGenerated(uint64(l))
5736 }
5737 }
5738 return n
5739}
5740
5741func (m *RuntimeClassStrategyOptions) Size() (n int) {
5742 if m == nil {
5743 return 0
5744 }
5745 var l int
5746 _ = l
5747 if len(m.AllowedRuntimeClassNames) > 0 {
5748 for _, s := range m.AllowedRuntimeClassNames {
5749 l = len(s)
5750 n += 1 + l + sovGenerated(uint64(l))
5751 }
5752 }
5753 if m.DefaultRuntimeClassName != nil {
5754 l = len(*m.DefaultRuntimeClassName)
5755 n += 1 + l + sovGenerated(uint64(l))
5756 }
5757 return n
5758}
5759
5760func (m *SELinuxStrategyOptions) Size() (n int) {
5761 if m == nil {
5762 return 0
5763 }
5764 var l int
5765 _ = l
5766 l = len(m.Rule)
5767 n += 1 + l + sovGenerated(uint64(l))
5768 if m.SELinuxOptions != nil {
5769 l = m.SELinuxOptions.Size()
5770 n += 1 + l + sovGenerated(uint64(l))
5771 }
5772 return n
5773}
5774
5775func (m *Scale) Size() (n int) {
5776 if m == nil {
5777 return 0
5778 }
5779 var l int
5780 _ = l
5781 l = m.ObjectMeta.Size()
5782 n += 1 + l + sovGenerated(uint64(l))
5783 l = m.Spec.Size()
5784 n += 1 + l + sovGenerated(uint64(l))
5785 l = m.Status.Size()
5786 n += 1 + l + sovGenerated(uint64(l))
5787 return n
5788}
5789
5790func (m *ScaleSpec) Size() (n int) {
5791 if m == nil {
5792 return 0
5793 }
5794 var l int
5795 _ = l
5796 n += 1 + sovGenerated(uint64(m.Replicas))
5797 return n
5798}
5799
5800func (m *ScaleStatus) Size() (n int) {
5801 if m == nil {
5802 return 0
5803 }
5804 var l int
5805 _ = l
5806 n += 1 + sovGenerated(uint64(m.Replicas))
5807 if len(m.Selector) > 0 {
5808 for k, v := range m.Selector {
5809 _ = k
5810 _ = v
5811 mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + len(v) + sovGenerated(uint64(len(v)))
5812 n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
5813 }
5814 }
5815 l = len(m.TargetSelector)
5816 n += 1 + l + sovGenerated(uint64(l))
5817 return n
5818}
5819
5820func (m *SupplementalGroupsStrategyOptions) Size() (n int) {
5821 if m == nil {
5822 return 0
5823 }
5824 var l int
5825 _ = l
5826 l = len(m.Rule)
5827 n += 1 + l + sovGenerated(uint64(l))
5828 if len(m.Ranges) > 0 {
5829 for _, e := range m.Ranges {
5830 l = e.Size()
5831 n += 1 + l + sovGenerated(uint64(l))
5832 }
5833 }
5834 return n
5835}
5836
5837func sovGenerated(x uint64) (n int) {
5838 return (math_bits.Len64(x|1) + 6) / 7
5839}
5840func sozGenerated(x uint64) (n int) {
5841 return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
5842}
5843func (this *AllowedCSIDriver) String() string {
5844 if this == nil {
5845 return "nil"
5846 }
5847 s := strings.Join([]string{`&AllowedCSIDriver{`,
5848 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
5849 `}`,
5850 }, "")
5851 return s
5852}
5853func (this *AllowedFlexVolume) String() string {
5854 if this == nil {
5855 return "nil"
5856 }
5857 s := strings.Join([]string{`&AllowedFlexVolume{`,
5858 `Driver:` + fmt.Sprintf("%v", this.Driver) + `,`,
5859 `}`,
5860 }, "")
5861 return s
5862}
5863func (this *AllowedHostPath) String() string {
5864 if this == nil {
5865 return "nil"
5866 }
5867 s := strings.Join([]string{`&AllowedHostPath{`,
5868 `PathPrefix:` + fmt.Sprintf("%v", this.PathPrefix) + `,`,
5869 `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
5870 `}`,
5871 }, "")
5872 return s
5873}
5874func (this *DaemonSet) String() string {
5875 if this == nil {
5876 return "nil"
5877 }
5878 s := strings.Join([]string{`&DaemonSet{`,
5879 `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
5880 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DaemonSetSpec", "DaemonSetSpec", 1), `&`, ``, 1) + `,`,
5881 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DaemonSetStatus", "DaemonSetStatus", 1), `&`, ``, 1) + `,`,
5882 `}`,
5883 }, "")
5884 return s
5885}
5886func (this *DaemonSetCondition) String() string {
5887 if this == nil {
5888 return "nil"
5889 }
5890 s := strings.Join([]string{`&DaemonSetCondition{`,
5891 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
5892 `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
5893 `LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
5894 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
5895 `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
5896 `}`,
5897 }, "")
5898 return s
5899}
5900func (this *DaemonSetList) String() string {
5901 if this == nil {
5902 return "nil"
5903 }
5904 repeatedStringForItems := "[]DaemonSet{"
5905 for _, f := range this.Items {
5906 repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "DaemonSet", "DaemonSet", 1), `&`, ``, 1) + ","
5907 }
5908 repeatedStringForItems += "}"
5909 s := strings.Join([]string{`&DaemonSetList{`,
5910 `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
5911 `Items:` + repeatedStringForItems + `,`,
5912 `}`,
5913 }, "")
5914 return s
5915}
5916func (this *DaemonSetSpec) String() string {
5917 if this == nil {
5918 return "nil"
5919 }
5920 s := strings.Join([]string{`&DaemonSetSpec{`,
5921 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
5922 `Template:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "v11.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
5923 `UpdateStrategy:` + strings.Replace(strings.Replace(this.UpdateStrategy.String(), "DaemonSetUpdateStrategy", "DaemonSetUpdateStrategy", 1), `&`, ``, 1) + `,`,
5924 `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
5925 `TemplateGeneration:` + fmt.Sprintf("%v", this.TemplateGeneration) + `,`,
5926 `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
5927 `}`,
5928 }, "")
5929 return s
5930}
5931func (this *DaemonSetStatus) String() string {
5932 if this == nil {
5933 return "nil"
5934 }
5935 repeatedStringForConditions := "[]DaemonSetCondition{"
5936 for _, f := range this.Conditions {
5937 repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "DaemonSetCondition", "DaemonSetCondition", 1), `&`, ``, 1) + ","
5938 }
5939 repeatedStringForConditions += "}"
5940 s := strings.Join([]string{`&DaemonSetStatus{`,
5941 `CurrentNumberScheduled:` + fmt.Sprintf("%v", this.CurrentNumberScheduled) + `,`,
5942 `NumberMisscheduled:` + fmt.Sprintf("%v", this.NumberMisscheduled) + `,`,
5943 `DesiredNumberScheduled:` + fmt.Sprintf("%v", this.DesiredNumberScheduled) + `,`,
5944 `NumberReady:` + fmt.Sprintf("%v", this.NumberReady) + `,`,
5945 `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
5946 `UpdatedNumberScheduled:` + fmt.Sprintf("%v", this.UpdatedNumberScheduled) + `,`,
5947 `NumberAvailable:` + fmt.Sprintf("%v", this.NumberAvailable) + `,`,
5948 `NumberUnavailable:` + fmt.Sprintf("%v", this.NumberUnavailable) + `,`,
5949 `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
5950 `Conditions:` + repeatedStringForConditions + `,`,
5951 `}`,
5952 }, "")
5953 return s
5954}
5955func (this *DaemonSetUpdateStrategy) String() string {
5956 if this == nil {
5957 return "nil"
5958 }
5959 s := strings.Join([]string{`&DaemonSetUpdateStrategy{`,
5960 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
5961 `RollingUpdate:` + strings.Replace(this.RollingUpdate.String(), "RollingUpdateDaemonSet", "RollingUpdateDaemonSet", 1) + `,`,
5962 `}`,
5963 }, "")
5964 return s
5965}
5966func (this *Deployment) String() string {
5967 if this == nil {
5968 return "nil"
5969 }
5970 s := strings.Join([]string{`&Deployment{`,
5971 `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
5972 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "DeploymentSpec", "DeploymentSpec", 1), `&`, ``, 1) + `,`,
5973 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "DeploymentStatus", "DeploymentStatus", 1), `&`, ``, 1) + `,`,
5974 `}`,
5975 }, "")
5976 return s
5977}
5978func (this *DeploymentCondition) String() string {
5979 if this == nil {
5980 return "nil"
5981 }
5982 s := strings.Join([]string{`&DeploymentCondition{`,
5983 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
5984 `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
5985 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
5986 `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
5987 `LastUpdateTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastUpdateTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
5988 `LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
5989 `}`,
5990 }, "")
5991 return s
5992}
5993func (this *DeploymentList) String() string {
5994 if this == nil {
5995 return "nil"
5996 }
5997 repeatedStringForItems := "[]Deployment{"
5998 for _, f := range this.Items {
5999 repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "Deployment", "Deployment", 1), `&`, ``, 1) + ","
6000 }
6001 repeatedStringForItems += "}"
6002 s := strings.Join([]string{`&DeploymentList{`,
6003 `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
6004 `Items:` + repeatedStringForItems + `,`,
6005 `}`,
6006 }, "")
6007 return s
6008}
6009func (this *DeploymentRollback) String() string {
6010 if this == nil {
6011 return "nil"
6012 }
6013 keysForUpdatedAnnotations := make([]string, 0, len(this.UpdatedAnnotations))
6014 for k := range this.UpdatedAnnotations {
6015 keysForUpdatedAnnotations = append(keysForUpdatedAnnotations, k)
6016 }
6017 github_com_gogo_protobuf_sortkeys.Strings(keysForUpdatedAnnotations)
6018 mapStringForUpdatedAnnotations := "map[string]string{"
6019 for _, k := range keysForUpdatedAnnotations {
6020 mapStringForUpdatedAnnotations += fmt.Sprintf("%v: %v,", k, this.UpdatedAnnotations[k])
6021 }
6022 mapStringForUpdatedAnnotations += "}"
6023 s := strings.Join([]string{`&DeploymentRollback{`,
6024 `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
6025 `UpdatedAnnotations:` + mapStringForUpdatedAnnotations + `,`,
6026 `RollbackTo:` + strings.Replace(strings.Replace(this.RollbackTo.String(), "RollbackConfig", "RollbackConfig", 1), `&`, ``, 1) + `,`,
6027 `}`,
6028 }, "")
6029 return s
6030}
6031func (this *DeploymentSpec) String() string {
6032 if this == nil {
6033 return "nil"
6034 }
6035 s := strings.Join([]string{`&DeploymentSpec{`,
6036 `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
6037 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
6038 `Template:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "v11.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
6039 `Strategy:` + strings.Replace(strings.Replace(this.Strategy.String(), "DeploymentStrategy", "DeploymentStrategy", 1), `&`, ``, 1) + `,`,
6040 `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
6041 `RevisionHistoryLimit:` + valueToStringGenerated(this.RevisionHistoryLimit) + `,`,
6042 `Paused:` + fmt.Sprintf("%v", this.Paused) + `,`,
6043 `RollbackTo:` + strings.Replace(this.RollbackTo.String(), "RollbackConfig", "RollbackConfig", 1) + `,`,
6044 `ProgressDeadlineSeconds:` + valueToStringGenerated(this.ProgressDeadlineSeconds) + `,`,
6045 `}`,
6046 }, "")
6047 return s
6048}
6049func (this *DeploymentStatus) String() string {
6050 if this == nil {
6051 return "nil"
6052 }
6053 repeatedStringForConditions := "[]DeploymentCondition{"
6054 for _, f := range this.Conditions {
6055 repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "DeploymentCondition", "DeploymentCondition", 1), `&`, ``, 1) + ","
6056 }
6057 repeatedStringForConditions += "}"
6058 s := strings.Join([]string{`&DeploymentStatus{`,
6059 `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
6060 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
6061 `UpdatedReplicas:` + fmt.Sprintf("%v", this.UpdatedReplicas) + `,`,
6062 `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
6063 `UnavailableReplicas:` + fmt.Sprintf("%v", this.UnavailableReplicas) + `,`,
6064 `Conditions:` + repeatedStringForConditions + `,`,
6065 `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
6066 `CollisionCount:` + valueToStringGenerated(this.CollisionCount) + `,`,
6067 `}`,
6068 }, "")
6069 return s
6070}
6071func (this *DeploymentStrategy) String() string {
6072 if this == nil {
6073 return "nil"
6074 }
6075 s := strings.Join([]string{`&DeploymentStrategy{`,
6076 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
6077 `RollingUpdate:` + strings.Replace(this.RollingUpdate.String(), "RollingUpdateDeployment", "RollingUpdateDeployment", 1) + `,`,
6078 `}`,
6079 }, "")
6080 return s
6081}
6082func (this *FSGroupStrategyOptions) String() string {
6083 if this == nil {
6084 return "nil"
6085 }
6086 repeatedStringForRanges := "[]IDRange{"
6087 for _, f := range this.Ranges {
6088 repeatedStringForRanges += strings.Replace(strings.Replace(f.String(), "IDRange", "IDRange", 1), `&`, ``, 1) + ","
6089 }
6090 repeatedStringForRanges += "}"
6091 s := strings.Join([]string{`&FSGroupStrategyOptions{`,
6092 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
6093 `Ranges:` + repeatedStringForRanges + `,`,
6094 `}`,
6095 }, "")
6096 return s
6097}
6098func (this *HTTPIngressPath) String() string {
6099 if this == nil {
6100 return "nil"
6101 }
6102 s := strings.Join([]string{`&HTTPIngressPath{`,
6103 `Path:` + fmt.Sprintf("%v", this.Path) + `,`,
6104 `Backend:` + strings.Replace(strings.Replace(this.Backend.String(), "IngressBackend", "IngressBackend", 1), `&`, ``, 1) + `,`,
6105 `PathType:` + valueToStringGenerated(this.PathType) + `,`,
6106 `}`,
6107 }, "")
6108 return s
6109}
6110func (this *HTTPIngressRuleValue) String() string {
6111 if this == nil {
6112 return "nil"
6113 }
6114 repeatedStringForPaths := "[]HTTPIngressPath{"
6115 for _, f := range this.Paths {
6116 repeatedStringForPaths += strings.Replace(strings.Replace(f.String(), "HTTPIngressPath", "HTTPIngressPath", 1), `&`, ``, 1) + ","
6117 }
6118 repeatedStringForPaths += "}"
6119 s := strings.Join([]string{`&HTTPIngressRuleValue{`,
6120 `Paths:` + repeatedStringForPaths + `,`,
6121 `}`,
6122 }, "")
6123 return s
6124}
6125func (this *HostPortRange) String() string {
6126 if this == nil {
6127 return "nil"
6128 }
6129 s := strings.Join([]string{`&HostPortRange{`,
6130 `Min:` + fmt.Sprintf("%v", this.Min) + `,`,
6131 `Max:` + fmt.Sprintf("%v", this.Max) + `,`,
6132 `}`,
6133 }, "")
6134 return s
6135}
6136func (this *IDRange) String() string {
6137 if this == nil {
6138 return "nil"
6139 }
6140 s := strings.Join([]string{`&IDRange{`,
6141 `Min:` + fmt.Sprintf("%v", this.Min) + `,`,
6142 `Max:` + fmt.Sprintf("%v", this.Max) + `,`,
6143 `}`,
6144 }, "")
6145 return s
6146}
6147func (this *IPBlock) String() string {
6148 if this == nil {
6149 return "nil"
6150 }
6151 s := strings.Join([]string{`&IPBlock{`,
6152 `CIDR:` + fmt.Sprintf("%v", this.CIDR) + `,`,
6153 `Except:` + fmt.Sprintf("%v", this.Except) + `,`,
6154 `}`,
6155 }, "")
6156 return s
6157}
6158func (this *Ingress) String() string {
6159 if this == nil {
6160 return "nil"
6161 }
6162 s := strings.Join([]string{`&Ingress{`,
6163 `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
6164 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "IngressSpec", "IngressSpec", 1), `&`, ``, 1) + `,`,
6165 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "IngressStatus", "IngressStatus", 1), `&`, ``, 1) + `,`,
6166 `}`,
6167 }, "")
6168 return s
6169}
6170func (this *IngressBackend) String() string {
6171 if this == nil {
6172 return "nil"
6173 }
6174 s := strings.Join([]string{`&IngressBackend{`,
6175 `ServiceName:` + fmt.Sprintf("%v", this.ServiceName) + `,`,
6176 `ServicePort:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ServicePort), "IntOrString", "intstr.IntOrString", 1), `&`, ``, 1) + `,`,
6177 `Resource:` + strings.Replace(fmt.Sprintf("%v", this.Resource), "TypedLocalObjectReference", "v11.TypedLocalObjectReference", 1) + `,`,
6178 `}`,
6179 }, "")
6180 return s
6181}
6182func (this *IngressList) String() string {
6183 if this == nil {
6184 return "nil"
6185 }
6186 repeatedStringForItems := "[]Ingress{"
6187 for _, f := range this.Items {
6188 repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "Ingress", "Ingress", 1), `&`, ``, 1) + ","
6189 }
6190 repeatedStringForItems += "}"
6191 s := strings.Join([]string{`&IngressList{`,
6192 `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
6193 `Items:` + repeatedStringForItems + `,`,
6194 `}`,
6195 }, "")
6196 return s
6197}
6198func (this *IngressRule) String() string {
6199 if this == nil {
6200 return "nil"
6201 }
6202 s := strings.Join([]string{`&IngressRule{`,
6203 `Host:` + fmt.Sprintf("%v", this.Host) + `,`,
6204 `IngressRuleValue:` + strings.Replace(strings.Replace(this.IngressRuleValue.String(), "IngressRuleValue", "IngressRuleValue", 1), `&`, ``, 1) + `,`,
6205 `}`,
6206 }, "")
6207 return s
6208}
6209func (this *IngressRuleValue) String() string {
6210 if this == nil {
6211 return "nil"
6212 }
6213 s := strings.Join([]string{`&IngressRuleValue{`,
6214 `HTTP:` + strings.Replace(this.HTTP.String(), "HTTPIngressRuleValue", "HTTPIngressRuleValue", 1) + `,`,
6215 `}`,
6216 }, "")
6217 return s
6218}
6219func (this *IngressSpec) String() string {
6220 if this == nil {
6221 return "nil"
6222 }
6223 repeatedStringForTLS := "[]IngressTLS{"
6224 for _, f := range this.TLS {
6225 repeatedStringForTLS += strings.Replace(strings.Replace(f.String(), "IngressTLS", "IngressTLS", 1), `&`, ``, 1) + ","
6226 }
6227 repeatedStringForTLS += "}"
6228 repeatedStringForRules := "[]IngressRule{"
6229 for _, f := range this.Rules {
6230 repeatedStringForRules += strings.Replace(strings.Replace(f.String(), "IngressRule", "IngressRule", 1), `&`, ``, 1) + ","
6231 }
6232 repeatedStringForRules += "}"
6233 s := strings.Join([]string{`&IngressSpec{`,
6234 `Backend:` + strings.Replace(this.Backend.String(), "IngressBackend", "IngressBackend", 1) + `,`,
6235 `TLS:` + repeatedStringForTLS + `,`,
6236 `Rules:` + repeatedStringForRules + `,`,
6237 `IngressClassName:` + valueToStringGenerated(this.IngressClassName) + `,`,
6238 `}`,
6239 }, "")
6240 return s
6241}
6242func (this *IngressStatus) String() string {
6243 if this == nil {
6244 return "nil"
6245 }
6246 s := strings.Join([]string{`&IngressStatus{`,
6247 `LoadBalancer:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LoadBalancer), "LoadBalancerStatus", "v11.LoadBalancerStatus", 1), `&`, ``, 1) + `,`,
6248 `}`,
6249 }, "")
6250 return s
6251}
6252func (this *IngressTLS) String() string {
6253 if this == nil {
6254 return "nil"
6255 }
6256 s := strings.Join([]string{`&IngressTLS{`,
6257 `Hosts:` + fmt.Sprintf("%v", this.Hosts) + `,`,
6258 `SecretName:` + fmt.Sprintf("%v", this.SecretName) + `,`,
6259 `}`,
6260 }, "")
6261 return s
6262}
6263func (this *NetworkPolicy) String() string {
6264 if this == nil {
6265 return "nil"
6266 }
6267 s := strings.Join([]string{`&NetworkPolicy{`,
6268 `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
6269 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "NetworkPolicySpec", "NetworkPolicySpec", 1), `&`, ``, 1) + `,`,
6270 `}`,
6271 }, "")
6272 return s
6273}
6274func (this *NetworkPolicyEgressRule) String() string {
6275 if this == nil {
6276 return "nil"
6277 }
6278 repeatedStringForPorts := "[]NetworkPolicyPort{"
6279 for _, f := range this.Ports {
6280 repeatedStringForPorts += strings.Replace(strings.Replace(f.String(), "NetworkPolicyPort", "NetworkPolicyPort", 1), `&`, ``, 1) + ","
6281 }
6282 repeatedStringForPorts += "}"
6283 repeatedStringForTo := "[]NetworkPolicyPeer{"
6284 for _, f := range this.To {
6285 repeatedStringForTo += strings.Replace(strings.Replace(f.String(), "NetworkPolicyPeer", "NetworkPolicyPeer", 1), `&`, ``, 1) + ","
6286 }
6287 repeatedStringForTo += "}"
6288 s := strings.Join([]string{`&NetworkPolicyEgressRule{`,
6289 `Ports:` + repeatedStringForPorts + `,`,
6290 `To:` + repeatedStringForTo + `,`,
6291 `}`,
6292 }, "")
6293 return s
6294}
6295func (this *NetworkPolicyIngressRule) String() string {
6296 if this == nil {
6297 return "nil"
6298 }
6299 repeatedStringForPorts := "[]NetworkPolicyPort{"
6300 for _, f := range this.Ports {
6301 repeatedStringForPorts += strings.Replace(strings.Replace(f.String(), "NetworkPolicyPort", "NetworkPolicyPort", 1), `&`, ``, 1) + ","
6302 }
6303 repeatedStringForPorts += "}"
6304 repeatedStringForFrom := "[]NetworkPolicyPeer{"
6305 for _, f := range this.From {
6306 repeatedStringForFrom += strings.Replace(strings.Replace(f.String(), "NetworkPolicyPeer", "NetworkPolicyPeer", 1), `&`, ``, 1) + ","
6307 }
6308 repeatedStringForFrom += "}"
6309 s := strings.Join([]string{`&NetworkPolicyIngressRule{`,
6310 `Ports:` + repeatedStringForPorts + `,`,
6311 `From:` + repeatedStringForFrom + `,`,
6312 `}`,
6313 }, "")
6314 return s
6315}
6316func (this *NetworkPolicyList) String() string {
6317 if this == nil {
6318 return "nil"
6319 }
6320 repeatedStringForItems := "[]NetworkPolicy{"
6321 for _, f := range this.Items {
6322 repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "NetworkPolicy", "NetworkPolicy", 1), `&`, ``, 1) + ","
6323 }
6324 repeatedStringForItems += "}"
6325 s := strings.Join([]string{`&NetworkPolicyList{`,
6326 `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
6327 `Items:` + repeatedStringForItems + `,`,
6328 `}`,
6329 }, "")
6330 return s
6331}
6332func (this *NetworkPolicyPeer) String() string {
6333 if this == nil {
6334 return "nil"
6335 }
6336 s := strings.Join([]string{`&NetworkPolicyPeer{`,
6337 `PodSelector:` + strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
6338 `NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
6339 `IPBlock:` + strings.Replace(this.IPBlock.String(), "IPBlock", "IPBlock", 1) + `,`,
6340 `}`,
6341 }, "")
6342 return s
6343}
6344func (this *NetworkPolicyPort) String() string {
6345 if this == nil {
6346 return "nil"
6347 }
6348 s := strings.Join([]string{`&NetworkPolicyPort{`,
6349 `Protocol:` + valueToStringGenerated(this.Protocol) + `,`,
6350 `Port:` + strings.Replace(fmt.Sprintf("%v", this.Port), "IntOrString", "intstr.IntOrString", 1) + `,`,
6351 `}`,
6352 }, "")
6353 return s
6354}
6355func (this *NetworkPolicySpec) String() string {
6356 if this == nil {
6357 return "nil"
6358 }
6359 repeatedStringForIngress := "[]NetworkPolicyIngressRule{"
6360 for _, f := range this.Ingress {
6361 repeatedStringForIngress += strings.Replace(strings.Replace(f.String(), "NetworkPolicyIngressRule", "NetworkPolicyIngressRule", 1), `&`, ``, 1) + ","
6362 }
6363 repeatedStringForIngress += "}"
6364 repeatedStringForEgress := "[]NetworkPolicyEgressRule{"
6365 for _, f := range this.Egress {
6366 repeatedStringForEgress += strings.Replace(strings.Replace(f.String(), "NetworkPolicyEgressRule", "NetworkPolicyEgressRule", 1), `&`, ``, 1) + ","
6367 }
6368 repeatedStringForEgress += "}"
6369 s := strings.Join([]string{`&NetworkPolicySpec{`,
6370 `PodSelector:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.PodSelector), "LabelSelector", "v1.LabelSelector", 1), `&`, ``, 1) + `,`,
6371 `Ingress:` + repeatedStringForIngress + `,`,
6372 `Egress:` + repeatedStringForEgress + `,`,
6373 `PolicyTypes:` + fmt.Sprintf("%v", this.PolicyTypes) + `,`,
6374 `}`,
6375 }, "")
6376 return s
6377}
6378func (this *PodSecurityPolicy) String() string {
6379 if this == nil {
6380 return "nil"
6381 }
6382 s := strings.Join([]string{`&PodSecurityPolicy{`,
6383 `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
6384 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "PodSecurityPolicySpec", "PodSecurityPolicySpec", 1), `&`, ``, 1) + `,`,
6385 `}`,
6386 }, "")
6387 return s
6388}
6389func (this *PodSecurityPolicyList) String() string {
6390 if this == nil {
6391 return "nil"
6392 }
6393 repeatedStringForItems := "[]PodSecurityPolicy{"
6394 for _, f := range this.Items {
6395 repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "PodSecurityPolicy", "PodSecurityPolicy", 1), `&`, ``, 1) + ","
6396 }
6397 repeatedStringForItems += "}"
6398 s := strings.Join([]string{`&PodSecurityPolicyList{`,
6399 `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
6400 `Items:` + repeatedStringForItems + `,`,
6401 `}`,
6402 }, "")
6403 return s
6404}
6405func (this *PodSecurityPolicySpec) String() string {
6406 if this == nil {
6407 return "nil"
6408 }
6409 repeatedStringForHostPorts := "[]HostPortRange{"
6410 for _, f := range this.HostPorts {
6411 repeatedStringForHostPorts += strings.Replace(strings.Replace(f.String(), "HostPortRange", "HostPortRange", 1), `&`, ``, 1) + ","
6412 }
6413 repeatedStringForHostPorts += "}"
6414 repeatedStringForAllowedHostPaths := "[]AllowedHostPath{"
6415 for _, f := range this.AllowedHostPaths {
6416 repeatedStringForAllowedHostPaths += strings.Replace(strings.Replace(f.String(), "AllowedHostPath", "AllowedHostPath", 1), `&`, ``, 1) + ","
6417 }
6418 repeatedStringForAllowedHostPaths += "}"
6419 repeatedStringForAllowedFlexVolumes := "[]AllowedFlexVolume{"
6420 for _, f := range this.AllowedFlexVolumes {
6421 repeatedStringForAllowedFlexVolumes += strings.Replace(strings.Replace(f.String(), "AllowedFlexVolume", "AllowedFlexVolume", 1), `&`, ``, 1) + ","
6422 }
6423 repeatedStringForAllowedFlexVolumes += "}"
6424 repeatedStringForAllowedCSIDrivers := "[]AllowedCSIDriver{"
6425 for _, f := range this.AllowedCSIDrivers {
6426 repeatedStringForAllowedCSIDrivers += strings.Replace(strings.Replace(f.String(), "AllowedCSIDriver", "AllowedCSIDriver", 1), `&`, ``, 1) + ","
6427 }
6428 repeatedStringForAllowedCSIDrivers += "}"
6429 s := strings.Join([]string{`&PodSecurityPolicySpec{`,
6430 `Privileged:` + fmt.Sprintf("%v", this.Privileged) + `,`,
6431 `DefaultAddCapabilities:` + fmt.Sprintf("%v", this.DefaultAddCapabilities) + `,`,
6432 `RequiredDropCapabilities:` + fmt.Sprintf("%v", this.RequiredDropCapabilities) + `,`,
6433 `AllowedCapabilities:` + fmt.Sprintf("%v", this.AllowedCapabilities) + `,`,
6434 `Volumes:` + fmt.Sprintf("%v", this.Volumes) + `,`,
6435 `HostNetwork:` + fmt.Sprintf("%v", this.HostNetwork) + `,`,
6436 `HostPorts:` + repeatedStringForHostPorts + `,`,
6437 `HostPID:` + fmt.Sprintf("%v", this.HostPID) + `,`,
6438 `HostIPC:` + fmt.Sprintf("%v", this.HostIPC) + `,`,
6439 `SELinux:` + strings.Replace(strings.Replace(this.SELinux.String(), "SELinuxStrategyOptions", "SELinuxStrategyOptions", 1), `&`, ``, 1) + `,`,
6440 `RunAsUser:` + strings.Replace(strings.Replace(this.RunAsUser.String(), "RunAsUserStrategyOptions", "RunAsUserStrategyOptions", 1), `&`, ``, 1) + `,`,
6441 `SupplementalGroups:` + strings.Replace(strings.Replace(this.SupplementalGroups.String(), "SupplementalGroupsStrategyOptions", "SupplementalGroupsStrategyOptions", 1), `&`, ``, 1) + `,`,
6442 `FSGroup:` + strings.Replace(strings.Replace(this.FSGroup.String(), "FSGroupStrategyOptions", "FSGroupStrategyOptions", 1), `&`, ``, 1) + `,`,
6443 `ReadOnlyRootFilesystem:` + fmt.Sprintf("%v", this.ReadOnlyRootFilesystem) + `,`,
6444 `DefaultAllowPrivilegeEscalation:` + valueToStringGenerated(this.DefaultAllowPrivilegeEscalation) + `,`,
6445 `AllowPrivilegeEscalation:` + valueToStringGenerated(this.AllowPrivilegeEscalation) + `,`,
6446 `AllowedHostPaths:` + repeatedStringForAllowedHostPaths + `,`,
6447 `AllowedFlexVolumes:` + repeatedStringForAllowedFlexVolumes + `,`,
6448 `AllowedUnsafeSysctls:` + fmt.Sprintf("%v", this.AllowedUnsafeSysctls) + `,`,
6449 `ForbiddenSysctls:` + fmt.Sprintf("%v", this.ForbiddenSysctls) + `,`,
6450 `AllowedProcMountTypes:` + fmt.Sprintf("%v", this.AllowedProcMountTypes) + `,`,
6451 `RunAsGroup:` + strings.Replace(this.RunAsGroup.String(), "RunAsGroupStrategyOptions", "RunAsGroupStrategyOptions", 1) + `,`,
6452 `AllowedCSIDrivers:` + repeatedStringForAllowedCSIDrivers + `,`,
6453 `RuntimeClass:` + strings.Replace(this.RuntimeClass.String(), "RuntimeClassStrategyOptions", "RuntimeClassStrategyOptions", 1) + `,`,
6454 `}`,
6455 }, "")
6456 return s
6457}
6458func (this *ReplicaSet) String() string {
6459 if this == nil {
6460 return "nil"
6461 }
6462 s := strings.Join([]string{`&ReplicaSet{`,
6463 `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
6464 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ReplicaSetSpec", "ReplicaSetSpec", 1), `&`, ``, 1) + `,`,
6465 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ReplicaSetStatus", "ReplicaSetStatus", 1), `&`, ``, 1) + `,`,
6466 `}`,
6467 }, "")
6468 return s
6469}
6470func (this *ReplicaSetCondition) String() string {
6471 if this == nil {
6472 return "nil"
6473 }
6474 s := strings.Join([]string{`&ReplicaSetCondition{`,
6475 `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
6476 `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
6477 `LastTransitionTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastTransitionTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
6478 `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
6479 `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
6480 `}`,
6481 }, "")
6482 return s
6483}
6484func (this *ReplicaSetList) String() string {
6485 if this == nil {
6486 return "nil"
6487 }
6488 repeatedStringForItems := "[]ReplicaSet{"
6489 for _, f := range this.Items {
6490 repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "ReplicaSet", "ReplicaSet", 1), `&`, ``, 1) + ","
6491 }
6492 repeatedStringForItems += "}"
6493 s := strings.Join([]string{`&ReplicaSetList{`,
6494 `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
6495 `Items:` + repeatedStringForItems + `,`,
6496 `}`,
6497 }, "")
6498 return s
6499}
6500func (this *ReplicaSetSpec) String() string {
6501 if this == nil {
6502 return "nil"
6503 }
6504 s := strings.Join([]string{`&ReplicaSetSpec{`,
6505 `Replicas:` + valueToStringGenerated(this.Replicas) + `,`,
6506 `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
6507 `Template:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "v11.PodTemplateSpec", 1), `&`, ``, 1) + `,`,
6508 `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`,
6509 `}`,
6510 }, "")
6511 return s
6512}
6513func (this *ReplicaSetStatus) String() string {
6514 if this == nil {
6515 return "nil"
6516 }
6517 repeatedStringForConditions := "[]ReplicaSetCondition{"
6518 for _, f := range this.Conditions {
6519 repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "ReplicaSetCondition", "ReplicaSetCondition", 1), `&`, ``, 1) + ","
6520 }
6521 repeatedStringForConditions += "}"
6522 s := strings.Join([]string{`&ReplicaSetStatus{`,
6523 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
6524 `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`,
6525 `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
6526 `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`,
6527 `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`,
6528 `Conditions:` + repeatedStringForConditions + `,`,
6529 `}`,
6530 }, "")
6531 return s
6532}
6533func (this *RollbackConfig) String() string {
6534 if this == nil {
6535 return "nil"
6536 }
6537 s := strings.Join([]string{`&RollbackConfig{`,
6538 `Revision:` + fmt.Sprintf("%v", this.Revision) + `,`,
6539 `}`,
6540 }, "")
6541 return s
6542}
6543func (this *RollingUpdateDaemonSet) String() string {
6544 if this == nil {
6545 return "nil"
6546 }
6547 s := strings.Join([]string{`&RollingUpdateDaemonSet{`,
6548 `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "intstr.IntOrString", 1) + `,`,
6549 `}`,
6550 }, "")
6551 return s
6552}
6553func (this *RollingUpdateDeployment) String() string {
6554 if this == nil {
6555 return "nil"
6556 }
6557 s := strings.Join([]string{`&RollingUpdateDeployment{`,
6558 `MaxUnavailable:` + strings.Replace(fmt.Sprintf("%v", this.MaxUnavailable), "IntOrString", "intstr.IntOrString", 1) + `,`,
6559 `MaxSurge:` + strings.Replace(fmt.Sprintf("%v", this.MaxSurge), "IntOrString", "intstr.IntOrString", 1) + `,`,
6560 `}`,
6561 }, "")
6562 return s
6563}
6564func (this *RunAsGroupStrategyOptions) String() string {
6565 if this == nil {
6566 return "nil"
6567 }
6568 repeatedStringForRanges := "[]IDRange{"
6569 for _, f := range this.Ranges {
6570 repeatedStringForRanges += strings.Replace(strings.Replace(f.String(), "IDRange", "IDRange", 1), `&`, ``, 1) + ","
6571 }
6572 repeatedStringForRanges += "}"
6573 s := strings.Join([]string{`&RunAsGroupStrategyOptions{`,
6574 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
6575 `Ranges:` + repeatedStringForRanges + `,`,
6576 `}`,
6577 }, "")
6578 return s
6579}
6580func (this *RunAsUserStrategyOptions) String() string {
6581 if this == nil {
6582 return "nil"
6583 }
6584 repeatedStringForRanges := "[]IDRange{"
6585 for _, f := range this.Ranges {
6586 repeatedStringForRanges += strings.Replace(strings.Replace(f.String(), "IDRange", "IDRange", 1), `&`, ``, 1) + ","
6587 }
6588 repeatedStringForRanges += "}"
6589 s := strings.Join([]string{`&RunAsUserStrategyOptions{`,
6590 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
6591 `Ranges:` + repeatedStringForRanges + `,`,
6592 `}`,
6593 }, "")
6594 return s
6595}
6596func (this *RuntimeClassStrategyOptions) String() string {
6597 if this == nil {
6598 return "nil"
6599 }
6600 s := strings.Join([]string{`&RuntimeClassStrategyOptions{`,
6601 `AllowedRuntimeClassNames:` + fmt.Sprintf("%v", this.AllowedRuntimeClassNames) + `,`,
6602 `DefaultRuntimeClassName:` + valueToStringGenerated(this.DefaultRuntimeClassName) + `,`,
6603 `}`,
6604 }, "")
6605 return s
6606}
6607func (this *SELinuxStrategyOptions) String() string {
6608 if this == nil {
6609 return "nil"
6610 }
6611 s := strings.Join([]string{`&SELinuxStrategyOptions{`,
6612 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
6613 `SELinuxOptions:` + strings.Replace(fmt.Sprintf("%v", this.SELinuxOptions), "SELinuxOptions", "v11.SELinuxOptions", 1) + `,`,
6614 `}`,
6615 }, "")
6616 return s
6617}
6618func (this *Scale) String() string {
6619 if this == nil {
6620 return "nil"
6621 }
6622 s := strings.Join([]string{`&Scale{`,
6623 `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
6624 `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ScaleSpec", "ScaleSpec", 1), `&`, ``, 1) + `,`,
6625 `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ScaleStatus", "ScaleStatus", 1), `&`, ``, 1) + `,`,
6626 `}`,
6627 }, "")
6628 return s
6629}
6630func (this *ScaleSpec) String() string {
6631 if this == nil {
6632 return "nil"
6633 }
6634 s := strings.Join([]string{`&ScaleSpec{`,
6635 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
6636 `}`,
6637 }, "")
6638 return s
6639}
6640func (this *ScaleStatus) String() string {
6641 if this == nil {
6642 return "nil"
6643 }
6644 keysForSelector := make([]string, 0, len(this.Selector))
6645 for k := range this.Selector {
6646 keysForSelector = append(keysForSelector, k)
6647 }
6648 github_com_gogo_protobuf_sortkeys.Strings(keysForSelector)
6649 mapStringForSelector := "map[string]string{"
6650 for _, k := range keysForSelector {
6651 mapStringForSelector += fmt.Sprintf("%v: %v,", k, this.Selector[k])
6652 }
6653 mapStringForSelector += "}"
6654 s := strings.Join([]string{`&ScaleStatus{`,
6655 `Replicas:` + fmt.Sprintf("%v", this.Replicas) + `,`,
6656 `Selector:` + mapStringForSelector + `,`,
6657 `TargetSelector:` + fmt.Sprintf("%v", this.TargetSelector) + `,`,
6658 `}`,
6659 }, "")
6660 return s
6661}
6662func (this *SupplementalGroupsStrategyOptions) String() string {
6663 if this == nil {
6664 return "nil"
6665 }
6666 repeatedStringForRanges := "[]IDRange{"
6667 for _, f := range this.Ranges {
6668 repeatedStringForRanges += strings.Replace(strings.Replace(f.String(), "IDRange", "IDRange", 1), `&`, ``, 1) + ","
6669 }
6670 repeatedStringForRanges += "}"
6671 s := strings.Join([]string{`&SupplementalGroupsStrategyOptions{`,
6672 `Rule:` + fmt.Sprintf("%v", this.Rule) + `,`,
6673 `Ranges:` + repeatedStringForRanges + `,`,
6674 `}`,
6675 }, "")
6676 return s
6677}
6678func valueToStringGenerated(v interface{}) string {
6679 rv := reflect.ValueOf(v)
6680 if rv.IsNil() {
6681 return "nil"
6682 }
6683 pv := reflect.Indirect(rv).Interface()
6684 return fmt.Sprintf("*%v", pv)
6685}
6686func (m *AllowedCSIDriver) Unmarshal(dAtA []byte) error {
6687 l := len(dAtA)
6688 iNdEx := 0
6689 for iNdEx < l {
6690 preIndex := iNdEx
6691 var wire uint64
6692 for shift := uint(0); ; shift += 7 {
6693 if shift >= 64 {
6694 return ErrIntOverflowGenerated
6695 }
6696 if iNdEx >= l {
6697 return io.ErrUnexpectedEOF
6698 }
6699 b := dAtA[iNdEx]
6700 iNdEx++
6701 wire |= uint64(b&0x7F) << shift
6702 if b < 0x80 {
6703 break
6704 }
6705 }
6706 fieldNum := int32(wire >> 3)
6707 wireType := int(wire & 0x7)
6708 if wireType == 4 {
6709 return fmt.Errorf("proto: AllowedCSIDriver: wiretype end group for non-group")
6710 }
6711 if fieldNum <= 0 {
6712 return fmt.Errorf("proto: AllowedCSIDriver: illegal tag %d (wire type %d)", fieldNum, wire)
6713 }
6714 switch fieldNum {
6715 case 1:
6716 if wireType != 2 {
6717 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
6718 }
6719 var stringLen uint64
6720 for shift := uint(0); ; shift += 7 {
6721 if shift >= 64 {
6722 return ErrIntOverflowGenerated
6723 }
6724 if iNdEx >= l {
6725 return io.ErrUnexpectedEOF
6726 }
6727 b := dAtA[iNdEx]
6728 iNdEx++
6729 stringLen |= uint64(b&0x7F) << shift
6730 if b < 0x80 {
6731 break
6732 }
6733 }
6734 intStringLen := int(stringLen)
6735 if intStringLen < 0 {
6736 return ErrInvalidLengthGenerated
6737 }
6738 postIndex := iNdEx + intStringLen
6739 if postIndex < 0 {
6740 return ErrInvalidLengthGenerated
6741 }
6742 if postIndex > l {
6743 return io.ErrUnexpectedEOF
6744 }
6745 m.Name = string(dAtA[iNdEx:postIndex])
6746 iNdEx = postIndex
6747 default:
6748 iNdEx = preIndex
6749 skippy, err := skipGenerated(dAtA[iNdEx:])
6750 if err != nil {
6751 return err
6752 }
6753 if skippy < 0 {
6754 return ErrInvalidLengthGenerated
6755 }
6756 if (iNdEx + skippy) < 0 {
6757 return ErrInvalidLengthGenerated
6758 }
6759 if (iNdEx + skippy) > l {
6760 return io.ErrUnexpectedEOF
6761 }
6762 iNdEx += skippy
6763 }
6764 }
6765
6766 if iNdEx > l {
6767 return io.ErrUnexpectedEOF
6768 }
6769 return nil
6770}
6771func (m *AllowedFlexVolume) Unmarshal(dAtA []byte) error {
6772 l := len(dAtA)
6773 iNdEx := 0
6774 for iNdEx < l {
6775 preIndex := iNdEx
6776 var wire uint64
6777 for shift := uint(0); ; shift += 7 {
6778 if shift >= 64 {
6779 return ErrIntOverflowGenerated
6780 }
6781 if iNdEx >= l {
6782 return io.ErrUnexpectedEOF
6783 }
6784 b := dAtA[iNdEx]
6785 iNdEx++
6786 wire |= uint64(b&0x7F) << shift
6787 if b < 0x80 {
6788 break
6789 }
6790 }
6791 fieldNum := int32(wire >> 3)
6792 wireType := int(wire & 0x7)
6793 if wireType == 4 {
6794 return fmt.Errorf("proto: AllowedFlexVolume: wiretype end group for non-group")
6795 }
6796 if fieldNum <= 0 {
6797 return fmt.Errorf("proto: AllowedFlexVolume: illegal tag %d (wire type %d)", fieldNum, wire)
6798 }
6799 switch fieldNum {
6800 case 1:
6801 if wireType != 2 {
6802 return fmt.Errorf("proto: wrong wireType = %d for field Driver", wireType)
6803 }
6804 var stringLen uint64
6805 for shift := uint(0); ; shift += 7 {
6806 if shift >= 64 {
6807 return ErrIntOverflowGenerated
6808 }
6809 if iNdEx >= l {
6810 return io.ErrUnexpectedEOF
6811 }
6812 b := dAtA[iNdEx]
6813 iNdEx++
6814 stringLen |= uint64(b&0x7F) << shift
6815 if b < 0x80 {
6816 break
6817 }
6818 }
6819 intStringLen := int(stringLen)
6820 if intStringLen < 0 {
6821 return ErrInvalidLengthGenerated
6822 }
6823 postIndex := iNdEx + intStringLen
6824 if postIndex < 0 {
6825 return ErrInvalidLengthGenerated
6826 }
6827 if postIndex > l {
6828 return io.ErrUnexpectedEOF
6829 }
6830 m.Driver = string(dAtA[iNdEx:postIndex])
6831 iNdEx = postIndex
6832 default:
6833 iNdEx = preIndex
6834 skippy, err := skipGenerated(dAtA[iNdEx:])
6835 if err != nil {
6836 return err
6837 }
6838 if skippy < 0 {
6839 return ErrInvalidLengthGenerated
6840 }
6841 if (iNdEx + skippy) < 0 {
6842 return ErrInvalidLengthGenerated
6843 }
6844 if (iNdEx + skippy) > l {
6845 return io.ErrUnexpectedEOF
6846 }
6847 iNdEx += skippy
6848 }
6849 }
6850
6851 if iNdEx > l {
6852 return io.ErrUnexpectedEOF
6853 }
6854 return nil
6855}
6856func (m *AllowedHostPath) Unmarshal(dAtA []byte) error {
6857 l := len(dAtA)
6858 iNdEx := 0
6859 for iNdEx < l {
6860 preIndex := iNdEx
6861 var wire uint64
6862 for shift := uint(0); ; shift += 7 {
6863 if shift >= 64 {
6864 return ErrIntOverflowGenerated
6865 }
6866 if iNdEx >= l {
6867 return io.ErrUnexpectedEOF
6868 }
6869 b := dAtA[iNdEx]
6870 iNdEx++
6871 wire |= uint64(b&0x7F) << shift
6872 if b < 0x80 {
6873 break
6874 }
6875 }
6876 fieldNum := int32(wire >> 3)
6877 wireType := int(wire & 0x7)
6878 if wireType == 4 {
6879 return fmt.Errorf("proto: AllowedHostPath: wiretype end group for non-group")
6880 }
6881 if fieldNum <= 0 {
6882 return fmt.Errorf("proto: AllowedHostPath: illegal tag %d (wire type %d)", fieldNum, wire)
6883 }
6884 switch fieldNum {
6885 case 1:
6886 if wireType != 2 {
6887 return fmt.Errorf("proto: wrong wireType = %d for field PathPrefix", wireType)
6888 }
6889 var stringLen uint64
6890 for shift := uint(0); ; shift += 7 {
6891 if shift >= 64 {
6892 return ErrIntOverflowGenerated
6893 }
6894 if iNdEx >= l {
6895 return io.ErrUnexpectedEOF
6896 }
6897 b := dAtA[iNdEx]
6898 iNdEx++
6899 stringLen |= uint64(b&0x7F) << shift
6900 if b < 0x80 {
6901 break
6902 }
6903 }
6904 intStringLen := int(stringLen)
6905 if intStringLen < 0 {
6906 return ErrInvalidLengthGenerated
6907 }
6908 postIndex := iNdEx + intStringLen
6909 if postIndex < 0 {
6910 return ErrInvalidLengthGenerated
6911 }
6912 if postIndex > l {
6913 return io.ErrUnexpectedEOF
6914 }
6915 m.PathPrefix = string(dAtA[iNdEx:postIndex])
6916 iNdEx = postIndex
6917 case 2:
6918 if wireType != 0 {
6919 return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
6920 }
6921 var v int
6922 for shift := uint(0); ; shift += 7 {
6923 if shift >= 64 {
6924 return ErrIntOverflowGenerated
6925 }
6926 if iNdEx >= l {
6927 return io.ErrUnexpectedEOF
6928 }
6929 b := dAtA[iNdEx]
6930 iNdEx++
6931 v |= int(b&0x7F) << shift
6932 if b < 0x80 {
6933 break
6934 }
6935 }
6936 m.ReadOnly = bool(v != 0)
6937 default:
6938 iNdEx = preIndex
6939 skippy, err := skipGenerated(dAtA[iNdEx:])
6940 if err != nil {
6941 return err
6942 }
6943 if skippy < 0 {
6944 return ErrInvalidLengthGenerated
6945 }
6946 if (iNdEx + skippy) < 0 {
6947 return ErrInvalidLengthGenerated
6948 }
6949 if (iNdEx + skippy) > l {
6950 return io.ErrUnexpectedEOF
6951 }
6952 iNdEx += skippy
6953 }
6954 }
6955
6956 if iNdEx > l {
6957 return io.ErrUnexpectedEOF
6958 }
6959 return nil
6960}
6961func (m *DaemonSet) Unmarshal(dAtA []byte) error {
6962 l := len(dAtA)
6963 iNdEx := 0
6964 for iNdEx < l {
6965 preIndex := iNdEx
6966 var wire uint64
6967 for shift := uint(0); ; shift += 7 {
6968 if shift >= 64 {
6969 return ErrIntOverflowGenerated
6970 }
6971 if iNdEx >= l {
6972 return io.ErrUnexpectedEOF
6973 }
6974 b := dAtA[iNdEx]
6975 iNdEx++
6976 wire |= uint64(b&0x7F) << shift
6977 if b < 0x80 {
6978 break
6979 }
6980 }
6981 fieldNum := int32(wire >> 3)
6982 wireType := int(wire & 0x7)
6983 if wireType == 4 {
6984 return fmt.Errorf("proto: DaemonSet: wiretype end group for non-group")
6985 }
6986 if fieldNum <= 0 {
6987 return fmt.Errorf("proto: DaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
6988 }
6989 switch fieldNum {
6990 case 1:
6991 if wireType != 2 {
6992 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
6993 }
6994 var msglen int
6995 for shift := uint(0); ; shift += 7 {
6996 if shift >= 64 {
6997 return ErrIntOverflowGenerated
6998 }
6999 if iNdEx >= l {
7000 return io.ErrUnexpectedEOF
7001 }
7002 b := dAtA[iNdEx]
7003 iNdEx++
7004 msglen |= int(b&0x7F) << shift
7005 if b < 0x80 {
7006 break
7007 }
7008 }
7009 if msglen < 0 {
7010 return ErrInvalidLengthGenerated
7011 }
7012 postIndex := iNdEx + msglen
7013 if postIndex < 0 {
7014 return ErrInvalidLengthGenerated
7015 }
7016 if postIndex > l {
7017 return io.ErrUnexpectedEOF
7018 }
7019 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7020 return err
7021 }
7022 iNdEx = postIndex
7023 case 2:
7024 if wireType != 2 {
7025 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
7026 }
7027 var msglen int
7028 for shift := uint(0); ; shift += 7 {
7029 if shift >= 64 {
7030 return ErrIntOverflowGenerated
7031 }
7032 if iNdEx >= l {
7033 return io.ErrUnexpectedEOF
7034 }
7035 b := dAtA[iNdEx]
7036 iNdEx++
7037 msglen |= int(b&0x7F) << shift
7038 if b < 0x80 {
7039 break
7040 }
7041 }
7042 if msglen < 0 {
7043 return ErrInvalidLengthGenerated
7044 }
7045 postIndex := iNdEx + msglen
7046 if postIndex < 0 {
7047 return ErrInvalidLengthGenerated
7048 }
7049 if postIndex > l {
7050 return io.ErrUnexpectedEOF
7051 }
7052 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7053 return err
7054 }
7055 iNdEx = postIndex
7056 case 3:
7057 if wireType != 2 {
7058 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
7059 }
7060 var msglen int
7061 for shift := uint(0); ; shift += 7 {
7062 if shift >= 64 {
7063 return ErrIntOverflowGenerated
7064 }
7065 if iNdEx >= l {
7066 return io.ErrUnexpectedEOF
7067 }
7068 b := dAtA[iNdEx]
7069 iNdEx++
7070 msglen |= int(b&0x7F) << shift
7071 if b < 0x80 {
7072 break
7073 }
7074 }
7075 if msglen < 0 {
7076 return ErrInvalidLengthGenerated
7077 }
7078 postIndex := iNdEx + msglen
7079 if postIndex < 0 {
7080 return ErrInvalidLengthGenerated
7081 }
7082 if postIndex > l {
7083 return io.ErrUnexpectedEOF
7084 }
7085 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7086 return err
7087 }
7088 iNdEx = postIndex
7089 default:
7090 iNdEx = preIndex
7091 skippy, err := skipGenerated(dAtA[iNdEx:])
7092 if err != nil {
7093 return err
7094 }
7095 if skippy < 0 {
7096 return ErrInvalidLengthGenerated
7097 }
7098 if (iNdEx + skippy) < 0 {
7099 return ErrInvalidLengthGenerated
7100 }
7101 if (iNdEx + skippy) > l {
7102 return io.ErrUnexpectedEOF
7103 }
7104 iNdEx += skippy
7105 }
7106 }
7107
7108 if iNdEx > l {
7109 return io.ErrUnexpectedEOF
7110 }
7111 return nil
7112}
7113func (m *DaemonSetCondition) Unmarshal(dAtA []byte) error {
7114 l := len(dAtA)
7115 iNdEx := 0
7116 for iNdEx < l {
7117 preIndex := iNdEx
7118 var wire uint64
7119 for shift := uint(0); ; shift += 7 {
7120 if shift >= 64 {
7121 return ErrIntOverflowGenerated
7122 }
7123 if iNdEx >= l {
7124 return io.ErrUnexpectedEOF
7125 }
7126 b := dAtA[iNdEx]
7127 iNdEx++
7128 wire |= uint64(b&0x7F) << shift
7129 if b < 0x80 {
7130 break
7131 }
7132 }
7133 fieldNum := int32(wire >> 3)
7134 wireType := int(wire & 0x7)
7135 if wireType == 4 {
7136 return fmt.Errorf("proto: DaemonSetCondition: wiretype end group for non-group")
7137 }
7138 if fieldNum <= 0 {
7139 return fmt.Errorf("proto: DaemonSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
7140 }
7141 switch fieldNum {
7142 case 1:
7143 if wireType != 2 {
7144 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
7145 }
7146 var stringLen uint64
7147 for shift := uint(0); ; shift += 7 {
7148 if shift >= 64 {
7149 return ErrIntOverflowGenerated
7150 }
7151 if iNdEx >= l {
7152 return io.ErrUnexpectedEOF
7153 }
7154 b := dAtA[iNdEx]
7155 iNdEx++
7156 stringLen |= uint64(b&0x7F) << shift
7157 if b < 0x80 {
7158 break
7159 }
7160 }
7161 intStringLen := int(stringLen)
7162 if intStringLen < 0 {
7163 return ErrInvalidLengthGenerated
7164 }
7165 postIndex := iNdEx + intStringLen
7166 if postIndex < 0 {
7167 return ErrInvalidLengthGenerated
7168 }
7169 if postIndex > l {
7170 return io.ErrUnexpectedEOF
7171 }
7172 m.Type = DaemonSetConditionType(dAtA[iNdEx:postIndex])
7173 iNdEx = postIndex
7174 case 2:
7175 if wireType != 2 {
7176 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
7177 }
7178 var stringLen uint64
7179 for shift := uint(0); ; shift += 7 {
7180 if shift >= 64 {
7181 return ErrIntOverflowGenerated
7182 }
7183 if iNdEx >= l {
7184 return io.ErrUnexpectedEOF
7185 }
7186 b := dAtA[iNdEx]
7187 iNdEx++
7188 stringLen |= uint64(b&0x7F) << shift
7189 if b < 0x80 {
7190 break
7191 }
7192 }
7193 intStringLen := int(stringLen)
7194 if intStringLen < 0 {
7195 return ErrInvalidLengthGenerated
7196 }
7197 postIndex := iNdEx + intStringLen
7198 if postIndex < 0 {
7199 return ErrInvalidLengthGenerated
7200 }
7201 if postIndex > l {
7202 return io.ErrUnexpectedEOF
7203 }
7204 m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
7205 iNdEx = postIndex
7206 case 3:
7207 if wireType != 2 {
7208 return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
7209 }
7210 var msglen int
7211 for shift := uint(0); ; shift += 7 {
7212 if shift >= 64 {
7213 return ErrIntOverflowGenerated
7214 }
7215 if iNdEx >= l {
7216 return io.ErrUnexpectedEOF
7217 }
7218 b := dAtA[iNdEx]
7219 iNdEx++
7220 msglen |= int(b&0x7F) << shift
7221 if b < 0x80 {
7222 break
7223 }
7224 }
7225 if msglen < 0 {
7226 return ErrInvalidLengthGenerated
7227 }
7228 postIndex := iNdEx + msglen
7229 if postIndex < 0 {
7230 return ErrInvalidLengthGenerated
7231 }
7232 if postIndex > l {
7233 return io.ErrUnexpectedEOF
7234 }
7235 if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7236 return err
7237 }
7238 iNdEx = postIndex
7239 case 4:
7240 if wireType != 2 {
7241 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
7242 }
7243 var stringLen uint64
7244 for shift := uint(0); ; shift += 7 {
7245 if shift >= 64 {
7246 return ErrIntOverflowGenerated
7247 }
7248 if iNdEx >= l {
7249 return io.ErrUnexpectedEOF
7250 }
7251 b := dAtA[iNdEx]
7252 iNdEx++
7253 stringLen |= uint64(b&0x7F) << shift
7254 if b < 0x80 {
7255 break
7256 }
7257 }
7258 intStringLen := int(stringLen)
7259 if intStringLen < 0 {
7260 return ErrInvalidLengthGenerated
7261 }
7262 postIndex := iNdEx + intStringLen
7263 if postIndex < 0 {
7264 return ErrInvalidLengthGenerated
7265 }
7266 if postIndex > l {
7267 return io.ErrUnexpectedEOF
7268 }
7269 m.Reason = string(dAtA[iNdEx:postIndex])
7270 iNdEx = postIndex
7271 case 5:
7272 if wireType != 2 {
7273 return fmt.Errorf("proto: wrong wireType = %d for field Message", 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 < 0 {
7296 return ErrInvalidLengthGenerated
7297 }
7298 if postIndex > l {
7299 return io.ErrUnexpectedEOF
7300 }
7301 m.Message = string(dAtA[iNdEx:postIndex])
7302 iNdEx = postIndex
7303 default:
7304 iNdEx = preIndex
7305 skippy, err := skipGenerated(dAtA[iNdEx:])
7306 if err != nil {
7307 return err
7308 }
7309 if skippy < 0 {
7310 return ErrInvalidLengthGenerated
7311 }
7312 if (iNdEx + skippy) < 0 {
7313 return ErrInvalidLengthGenerated
7314 }
7315 if (iNdEx + skippy) > l {
7316 return io.ErrUnexpectedEOF
7317 }
7318 iNdEx += skippy
7319 }
7320 }
7321
7322 if iNdEx > l {
7323 return io.ErrUnexpectedEOF
7324 }
7325 return nil
7326}
7327func (m *DaemonSetList) Unmarshal(dAtA []byte) error {
7328 l := len(dAtA)
7329 iNdEx := 0
7330 for iNdEx < l {
7331 preIndex := iNdEx
7332 var wire uint64
7333 for shift := uint(0); ; shift += 7 {
7334 if shift >= 64 {
7335 return ErrIntOverflowGenerated
7336 }
7337 if iNdEx >= l {
7338 return io.ErrUnexpectedEOF
7339 }
7340 b := dAtA[iNdEx]
7341 iNdEx++
7342 wire |= uint64(b&0x7F) << shift
7343 if b < 0x80 {
7344 break
7345 }
7346 }
7347 fieldNum := int32(wire >> 3)
7348 wireType := int(wire & 0x7)
7349 if wireType == 4 {
7350 return fmt.Errorf("proto: DaemonSetList: wiretype end group for non-group")
7351 }
7352 if fieldNum <= 0 {
7353 return fmt.Errorf("proto: DaemonSetList: illegal tag %d (wire type %d)", fieldNum, wire)
7354 }
7355 switch fieldNum {
7356 case 1:
7357 if wireType != 2 {
7358 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
7359 }
7360 var msglen int
7361 for shift := uint(0); ; shift += 7 {
7362 if shift >= 64 {
7363 return ErrIntOverflowGenerated
7364 }
7365 if iNdEx >= l {
7366 return io.ErrUnexpectedEOF
7367 }
7368 b := dAtA[iNdEx]
7369 iNdEx++
7370 msglen |= int(b&0x7F) << shift
7371 if b < 0x80 {
7372 break
7373 }
7374 }
7375 if msglen < 0 {
7376 return ErrInvalidLengthGenerated
7377 }
7378 postIndex := iNdEx + msglen
7379 if postIndex < 0 {
7380 return ErrInvalidLengthGenerated
7381 }
7382 if postIndex > l {
7383 return io.ErrUnexpectedEOF
7384 }
7385 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7386 return err
7387 }
7388 iNdEx = postIndex
7389 case 2:
7390 if wireType != 2 {
7391 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
7392 }
7393 var msglen int
7394 for shift := uint(0); ; shift += 7 {
7395 if shift >= 64 {
7396 return ErrIntOverflowGenerated
7397 }
7398 if iNdEx >= l {
7399 return io.ErrUnexpectedEOF
7400 }
7401 b := dAtA[iNdEx]
7402 iNdEx++
7403 msglen |= int(b&0x7F) << shift
7404 if b < 0x80 {
7405 break
7406 }
7407 }
7408 if msglen < 0 {
7409 return ErrInvalidLengthGenerated
7410 }
7411 postIndex := iNdEx + msglen
7412 if postIndex < 0 {
7413 return ErrInvalidLengthGenerated
7414 }
7415 if postIndex > l {
7416 return io.ErrUnexpectedEOF
7417 }
7418 m.Items = append(m.Items, DaemonSet{})
7419 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7420 return err
7421 }
7422 iNdEx = postIndex
7423 default:
7424 iNdEx = preIndex
7425 skippy, err := skipGenerated(dAtA[iNdEx:])
7426 if err != nil {
7427 return err
7428 }
7429 if skippy < 0 {
7430 return ErrInvalidLengthGenerated
7431 }
7432 if (iNdEx + skippy) < 0 {
7433 return ErrInvalidLengthGenerated
7434 }
7435 if (iNdEx + skippy) > l {
7436 return io.ErrUnexpectedEOF
7437 }
7438 iNdEx += skippy
7439 }
7440 }
7441
7442 if iNdEx > l {
7443 return io.ErrUnexpectedEOF
7444 }
7445 return nil
7446}
7447func (m *DaemonSetSpec) Unmarshal(dAtA []byte) error {
7448 l := len(dAtA)
7449 iNdEx := 0
7450 for iNdEx < l {
7451 preIndex := iNdEx
7452 var wire uint64
7453 for shift := uint(0); ; shift += 7 {
7454 if shift >= 64 {
7455 return ErrIntOverflowGenerated
7456 }
7457 if iNdEx >= l {
7458 return io.ErrUnexpectedEOF
7459 }
7460 b := dAtA[iNdEx]
7461 iNdEx++
7462 wire |= uint64(b&0x7F) << shift
7463 if b < 0x80 {
7464 break
7465 }
7466 }
7467 fieldNum := int32(wire >> 3)
7468 wireType := int(wire & 0x7)
7469 if wireType == 4 {
7470 return fmt.Errorf("proto: DaemonSetSpec: wiretype end group for non-group")
7471 }
7472 if fieldNum <= 0 {
7473 return fmt.Errorf("proto: DaemonSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
7474 }
7475 switch fieldNum {
7476 case 1:
7477 if wireType != 2 {
7478 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
7479 }
7480 var msglen int
7481 for shift := uint(0); ; shift += 7 {
7482 if shift >= 64 {
7483 return ErrIntOverflowGenerated
7484 }
7485 if iNdEx >= l {
7486 return io.ErrUnexpectedEOF
7487 }
7488 b := dAtA[iNdEx]
7489 iNdEx++
7490 msglen |= int(b&0x7F) << shift
7491 if b < 0x80 {
7492 break
7493 }
7494 }
7495 if msglen < 0 {
7496 return ErrInvalidLengthGenerated
7497 }
7498 postIndex := iNdEx + msglen
7499 if postIndex < 0 {
7500 return ErrInvalidLengthGenerated
7501 }
7502 if postIndex > l {
7503 return io.ErrUnexpectedEOF
7504 }
7505 if m.Selector == nil {
7506 m.Selector = &v1.LabelSelector{}
7507 }
7508 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7509 return err
7510 }
7511 iNdEx = postIndex
7512 case 2:
7513 if wireType != 2 {
7514 return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
7515 }
7516 var msglen int
7517 for shift := uint(0); ; shift += 7 {
7518 if shift >= 64 {
7519 return ErrIntOverflowGenerated
7520 }
7521 if iNdEx >= l {
7522 return io.ErrUnexpectedEOF
7523 }
7524 b := dAtA[iNdEx]
7525 iNdEx++
7526 msglen |= int(b&0x7F) << shift
7527 if b < 0x80 {
7528 break
7529 }
7530 }
7531 if msglen < 0 {
7532 return ErrInvalidLengthGenerated
7533 }
7534 postIndex := iNdEx + msglen
7535 if postIndex < 0 {
7536 return ErrInvalidLengthGenerated
7537 }
7538 if postIndex > l {
7539 return io.ErrUnexpectedEOF
7540 }
7541 if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7542 return err
7543 }
7544 iNdEx = postIndex
7545 case 3:
7546 if wireType != 2 {
7547 return fmt.Errorf("proto: wrong wireType = %d for field UpdateStrategy", wireType)
7548 }
7549 var msglen int
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 msglen |= int(b&0x7F) << shift
7560 if b < 0x80 {
7561 break
7562 }
7563 }
7564 if msglen < 0 {
7565 return ErrInvalidLengthGenerated
7566 }
7567 postIndex := iNdEx + msglen
7568 if postIndex < 0 {
7569 return ErrInvalidLengthGenerated
7570 }
7571 if postIndex > l {
7572 return io.ErrUnexpectedEOF
7573 }
7574 if err := m.UpdateStrategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7575 return err
7576 }
7577 iNdEx = postIndex
7578 case 4:
7579 if wireType != 0 {
7580 return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
7581 }
7582 m.MinReadySeconds = 0
7583 for shift := uint(0); ; shift += 7 {
7584 if shift >= 64 {
7585 return ErrIntOverflowGenerated
7586 }
7587 if iNdEx >= l {
7588 return io.ErrUnexpectedEOF
7589 }
7590 b := dAtA[iNdEx]
7591 iNdEx++
7592 m.MinReadySeconds |= int32(b&0x7F) << shift
7593 if b < 0x80 {
7594 break
7595 }
7596 }
7597 case 5:
7598 if wireType != 0 {
7599 return fmt.Errorf("proto: wrong wireType = %d for field TemplateGeneration", wireType)
7600 }
7601 m.TemplateGeneration = 0
7602 for shift := uint(0); ; shift += 7 {
7603 if shift >= 64 {
7604 return ErrIntOverflowGenerated
7605 }
7606 if iNdEx >= l {
7607 return io.ErrUnexpectedEOF
7608 }
7609 b := dAtA[iNdEx]
7610 iNdEx++
7611 m.TemplateGeneration |= int64(b&0x7F) << shift
7612 if b < 0x80 {
7613 break
7614 }
7615 }
7616 case 6:
7617 if wireType != 0 {
7618 return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
7619 }
7620 var v int32
7621 for shift := uint(0); ; shift += 7 {
7622 if shift >= 64 {
7623 return ErrIntOverflowGenerated
7624 }
7625 if iNdEx >= l {
7626 return io.ErrUnexpectedEOF
7627 }
7628 b := dAtA[iNdEx]
7629 iNdEx++
7630 v |= int32(b&0x7F) << shift
7631 if b < 0x80 {
7632 break
7633 }
7634 }
7635 m.RevisionHistoryLimit = &v
7636 default:
7637 iNdEx = preIndex
7638 skippy, err := skipGenerated(dAtA[iNdEx:])
7639 if err != nil {
7640 return err
7641 }
7642 if skippy < 0 {
7643 return ErrInvalidLengthGenerated
7644 }
7645 if (iNdEx + skippy) < 0 {
7646 return ErrInvalidLengthGenerated
7647 }
7648 if (iNdEx + skippy) > l {
7649 return io.ErrUnexpectedEOF
7650 }
7651 iNdEx += skippy
7652 }
7653 }
7654
7655 if iNdEx > l {
7656 return io.ErrUnexpectedEOF
7657 }
7658 return nil
7659}
7660func (m *DaemonSetStatus) Unmarshal(dAtA []byte) error {
7661 l := len(dAtA)
7662 iNdEx := 0
7663 for iNdEx < l {
7664 preIndex := iNdEx
7665 var wire uint64
7666 for shift := uint(0); ; shift += 7 {
7667 if shift >= 64 {
7668 return ErrIntOverflowGenerated
7669 }
7670 if iNdEx >= l {
7671 return io.ErrUnexpectedEOF
7672 }
7673 b := dAtA[iNdEx]
7674 iNdEx++
7675 wire |= uint64(b&0x7F) << shift
7676 if b < 0x80 {
7677 break
7678 }
7679 }
7680 fieldNum := int32(wire >> 3)
7681 wireType := int(wire & 0x7)
7682 if wireType == 4 {
7683 return fmt.Errorf("proto: DaemonSetStatus: wiretype end group for non-group")
7684 }
7685 if fieldNum <= 0 {
7686 return fmt.Errorf("proto: DaemonSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
7687 }
7688 switch fieldNum {
7689 case 1:
7690 if wireType != 0 {
7691 return fmt.Errorf("proto: wrong wireType = %d for field CurrentNumberScheduled", wireType)
7692 }
7693 m.CurrentNumberScheduled = 0
7694 for shift := uint(0); ; shift += 7 {
7695 if shift >= 64 {
7696 return ErrIntOverflowGenerated
7697 }
7698 if iNdEx >= l {
7699 return io.ErrUnexpectedEOF
7700 }
7701 b := dAtA[iNdEx]
7702 iNdEx++
7703 m.CurrentNumberScheduled |= int32(b&0x7F) << shift
7704 if b < 0x80 {
7705 break
7706 }
7707 }
7708 case 2:
7709 if wireType != 0 {
7710 return fmt.Errorf("proto: wrong wireType = %d for field NumberMisscheduled", wireType)
7711 }
7712 m.NumberMisscheduled = 0
7713 for shift := uint(0); ; shift += 7 {
7714 if shift >= 64 {
7715 return ErrIntOverflowGenerated
7716 }
7717 if iNdEx >= l {
7718 return io.ErrUnexpectedEOF
7719 }
7720 b := dAtA[iNdEx]
7721 iNdEx++
7722 m.NumberMisscheduled |= int32(b&0x7F) << shift
7723 if b < 0x80 {
7724 break
7725 }
7726 }
7727 case 3:
7728 if wireType != 0 {
7729 return fmt.Errorf("proto: wrong wireType = %d for field DesiredNumberScheduled", wireType)
7730 }
7731 m.DesiredNumberScheduled = 0
7732 for shift := uint(0); ; shift += 7 {
7733 if shift >= 64 {
7734 return ErrIntOverflowGenerated
7735 }
7736 if iNdEx >= l {
7737 return io.ErrUnexpectedEOF
7738 }
7739 b := dAtA[iNdEx]
7740 iNdEx++
7741 m.DesiredNumberScheduled |= int32(b&0x7F) << shift
7742 if b < 0x80 {
7743 break
7744 }
7745 }
7746 case 4:
7747 if wireType != 0 {
7748 return fmt.Errorf("proto: wrong wireType = %d for field NumberReady", wireType)
7749 }
7750 m.NumberReady = 0
7751 for shift := uint(0); ; shift += 7 {
7752 if shift >= 64 {
7753 return ErrIntOverflowGenerated
7754 }
7755 if iNdEx >= l {
7756 return io.ErrUnexpectedEOF
7757 }
7758 b := dAtA[iNdEx]
7759 iNdEx++
7760 m.NumberReady |= int32(b&0x7F) << shift
7761 if b < 0x80 {
7762 break
7763 }
7764 }
7765 case 5:
7766 if wireType != 0 {
7767 return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
7768 }
7769 m.ObservedGeneration = 0
7770 for shift := uint(0); ; shift += 7 {
7771 if shift >= 64 {
7772 return ErrIntOverflowGenerated
7773 }
7774 if iNdEx >= l {
7775 return io.ErrUnexpectedEOF
7776 }
7777 b := dAtA[iNdEx]
7778 iNdEx++
7779 m.ObservedGeneration |= int64(b&0x7F) << shift
7780 if b < 0x80 {
7781 break
7782 }
7783 }
7784 case 6:
7785 if wireType != 0 {
7786 return fmt.Errorf("proto: wrong wireType = %d for field UpdatedNumberScheduled", wireType)
7787 }
7788 m.UpdatedNumberScheduled = 0
7789 for shift := uint(0); ; shift += 7 {
7790 if shift >= 64 {
7791 return ErrIntOverflowGenerated
7792 }
7793 if iNdEx >= l {
7794 return io.ErrUnexpectedEOF
7795 }
7796 b := dAtA[iNdEx]
7797 iNdEx++
7798 m.UpdatedNumberScheduled |= int32(b&0x7F) << shift
7799 if b < 0x80 {
7800 break
7801 }
7802 }
7803 case 7:
7804 if wireType != 0 {
7805 return fmt.Errorf("proto: wrong wireType = %d for field NumberAvailable", wireType)
7806 }
7807 m.NumberAvailable = 0
7808 for shift := uint(0); ; shift += 7 {
7809 if shift >= 64 {
7810 return ErrIntOverflowGenerated
7811 }
7812 if iNdEx >= l {
7813 return io.ErrUnexpectedEOF
7814 }
7815 b := dAtA[iNdEx]
7816 iNdEx++
7817 m.NumberAvailable |= int32(b&0x7F) << shift
7818 if b < 0x80 {
7819 break
7820 }
7821 }
7822 case 8:
7823 if wireType != 0 {
7824 return fmt.Errorf("proto: wrong wireType = %d for field NumberUnavailable", wireType)
7825 }
7826 m.NumberUnavailable = 0
7827 for shift := uint(0); ; shift += 7 {
7828 if shift >= 64 {
7829 return ErrIntOverflowGenerated
7830 }
7831 if iNdEx >= l {
7832 return io.ErrUnexpectedEOF
7833 }
7834 b := dAtA[iNdEx]
7835 iNdEx++
7836 m.NumberUnavailable |= int32(b&0x7F) << shift
7837 if b < 0x80 {
7838 break
7839 }
7840 }
7841 case 9:
7842 if wireType != 0 {
7843 return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
7844 }
7845 var v int32
7846 for shift := uint(0); ; shift += 7 {
7847 if shift >= 64 {
7848 return ErrIntOverflowGenerated
7849 }
7850 if iNdEx >= l {
7851 return io.ErrUnexpectedEOF
7852 }
7853 b := dAtA[iNdEx]
7854 iNdEx++
7855 v |= int32(b&0x7F) << shift
7856 if b < 0x80 {
7857 break
7858 }
7859 }
7860 m.CollisionCount = &v
7861 case 10:
7862 if wireType != 2 {
7863 return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
7864 }
7865 var msglen int
7866 for shift := uint(0); ; shift += 7 {
7867 if shift >= 64 {
7868 return ErrIntOverflowGenerated
7869 }
7870 if iNdEx >= l {
7871 return io.ErrUnexpectedEOF
7872 }
7873 b := dAtA[iNdEx]
7874 iNdEx++
7875 msglen |= int(b&0x7F) << shift
7876 if b < 0x80 {
7877 break
7878 }
7879 }
7880 if msglen < 0 {
7881 return ErrInvalidLengthGenerated
7882 }
7883 postIndex := iNdEx + msglen
7884 if postIndex < 0 {
7885 return ErrInvalidLengthGenerated
7886 }
7887 if postIndex > l {
7888 return io.ErrUnexpectedEOF
7889 }
7890 m.Conditions = append(m.Conditions, DaemonSetCondition{})
7891 if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
7892 return err
7893 }
7894 iNdEx = postIndex
7895 default:
7896 iNdEx = preIndex
7897 skippy, err := skipGenerated(dAtA[iNdEx:])
7898 if err != nil {
7899 return err
7900 }
7901 if skippy < 0 {
7902 return ErrInvalidLengthGenerated
7903 }
7904 if (iNdEx + skippy) < 0 {
7905 return ErrInvalidLengthGenerated
7906 }
7907 if (iNdEx + skippy) > l {
7908 return io.ErrUnexpectedEOF
7909 }
7910 iNdEx += skippy
7911 }
7912 }
7913
7914 if iNdEx > l {
7915 return io.ErrUnexpectedEOF
7916 }
7917 return nil
7918}
7919func (m *DaemonSetUpdateStrategy) Unmarshal(dAtA []byte) error {
7920 l := len(dAtA)
7921 iNdEx := 0
7922 for iNdEx < l {
7923 preIndex := iNdEx
7924 var wire uint64
7925 for shift := uint(0); ; shift += 7 {
7926 if shift >= 64 {
7927 return ErrIntOverflowGenerated
7928 }
7929 if iNdEx >= l {
7930 return io.ErrUnexpectedEOF
7931 }
7932 b := dAtA[iNdEx]
7933 iNdEx++
7934 wire |= uint64(b&0x7F) << shift
7935 if b < 0x80 {
7936 break
7937 }
7938 }
7939 fieldNum := int32(wire >> 3)
7940 wireType := int(wire & 0x7)
7941 if wireType == 4 {
7942 return fmt.Errorf("proto: DaemonSetUpdateStrategy: wiretype end group for non-group")
7943 }
7944 if fieldNum <= 0 {
7945 return fmt.Errorf("proto: DaemonSetUpdateStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
7946 }
7947 switch fieldNum {
7948 case 1:
7949 if wireType != 2 {
7950 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
7951 }
7952 var stringLen uint64
7953 for shift := uint(0); ; shift += 7 {
7954 if shift >= 64 {
7955 return ErrIntOverflowGenerated
7956 }
7957 if iNdEx >= l {
7958 return io.ErrUnexpectedEOF
7959 }
7960 b := dAtA[iNdEx]
7961 iNdEx++
7962 stringLen |= uint64(b&0x7F) << shift
7963 if b < 0x80 {
7964 break
7965 }
7966 }
7967 intStringLen := int(stringLen)
7968 if intStringLen < 0 {
7969 return ErrInvalidLengthGenerated
7970 }
7971 postIndex := iNdEx + intStringLen
7972 if postIndex < 0 {
7973 return ErrInvalidLengthGenerated
7974 }
7975 if postIndex > l {
7976 return io.ErrUnexpectedEOF
7977 }
7978 m.Type = DaemonSetUpdateStrategyType(dAtA[iNdEx:postIndex])
7979 iNdEx = postIndex
7980 case 2:
7981 if wireType != 2 {
7982 return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
7983 }
7984 var msglen int
7985 for shift := uint(0); ; shift += 7 {
7986 if shift >= 64 {
7987 return ErrIntOverflowGenerated
7988 }
7989 if iNdEx >= l {
7990 return io.ErrUnexpectedEOF
7991 }
7992 b := dAtA[iNdEx]
7993 iNdEx++
7994 msglen |= int(b&0x7F) << shift
7995 if b < 0x80 {
7996 break
7997 }
7998 }
7999 if msglen < 0 {
8000 return ErrInvalidLengthGenerated
8001 }
8002 postIndex := iNdEx + msglen
8003 if postIndex < 0 {
8004 return ErrInvalidLengthGenerated
8005 }
8006 if postIndex > l {
8007 return io.ErrUnexpectedEOF
8008 }
8009 if m.RollingUpdate == nil {
8010 m.RollingUpdate = &RollingUpdateDaemonSet{}
8011 }
8012 if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8013 return err
8014 }
8015 iNdEx = postIndex
8016 default:
8017 iNdEx = preIndex
8018 skippy, err := skipGenerated(dAtA[iNdEx:])
8019 if err != nil {
8020 return err
8021 }
8022 if skippy < 0 {
8023 return ErrInvalidLengthGenerated
8024 }
8025 if (iNdEx + skippy) < 0 {
8026 return ErrInvalidLengthGenerated
8027 }
8028 if (iNdEx + skippy) > l {
8029 return io.ErrUnexpectedEOF
8030 }
8031 iNdEx += skippy
8032 }
8033 }
8034
8035 if iNdEx > l {
8036 return io.ErrUnexpectedEOF
8037 }
8038 return nil
8039}
8040func (m *Deployment) Unmarshal(dAtA []byte) error {
8041 l := len(dAtA)
8042 iNdEx := 0
8043 for iNdEx < l {
8044 preIndex := iNdEx
8045 var wire uint64
8046 for shift := uint(0); ; shift += 7 {
8047 if shift >= 64 {
8048 return ErrIntOverflowGenerated
8049 }
8050 if iNdEx >= l {
8051 return io.ErrUnexpectedEOF
8052 }
8053 b := dAtA[iNdEx]
8054 iNdEx++
8055 wire |= uint64(b&0x7F) << shift
8056 if b < 0x80 {
8057 break
8058 }
8059 }
8060 fieldNum := int32(wire >> 3)
8061 wireType := int(wire & 0x7)
8062 if wireType == 4 {
8063 return fmt.Errorf("proto: Deployment: wiretype end group for non-group")
8064 }
8065 if fieldNum <= 0 {
8066 return fmt.Errorf("proto: Deployment: illegal tag %d (wire type %d)", fieldNum, wire)
8067 }
8068 switch fieldNum {
8069 case 1:
8070 if wireType != 2 {
8071 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
8072 }
8073 var msglen int
8074 for shift := uint(0); ; shift += 7 {
8075 if shift >= 64 {
8076 return ErrIntOverflowGenerated
8077 }
8078 if iNdEx >= l {
8079 return io.ErrUnexpectedEOF
8080 }
8081 b := dAtA[iNdEx]
8082 iNdEx++
8083 msglen |= int(b&0x7F) << shift
8084 if b < 0x80 {
8085 break
8086 }
8087 }
8088 if msglen < 0 {
8089 return ErrInvalidLengthGenerated
8090 }
8091 postIndex := iNdEx + msglen
8092 if postIndex < 0 {
8093 return ErrInvalidLengthGenerated
8094 }
8095 if postIndex > l {
8096 return io.ErrUnexpectedEOF
8097 }
8098 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8099 return err
8100 }
8101 iNdEx = postIndex
8102 case 2:
8103 if wireType != 2 {
8104 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
8105 }
8106 var msglen int
8107 for shift := uint(0); ; shift += 7 {
8108 if shift >= 64 {
8109 return ErrIntOverflowGenerated
8110 }
8111 if iNdEx >= l {
8112 return io.ErrUnexpectedEOF
8113 }
8114 b := dAtA[iNdEx]
8115 iNdEx++
8116 msglen |= int(b&0x7F) << shift
8117 if b < 0x80 {
8118 break
8119 }
8120 }
8121 if msglen < 0 {
8122 return ErrInvalidLengthGenerated
8123 }
8124 postIndex := iNdEx + msglen
8125 if postIndex < 0 {
8126 return ErrInvalidLengthGenerated
8127 }
8128 if postIndex > l {
8129 return io.ErrUnexpectedEOF
8130 }
8131 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8132 return err
8133 }
8134 iNdEx = postIndex
8135 case 3:
8136 if wireType != 2 {
8137 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
8138 }
8139 var msglen int
8140 for shift := uint(0); ; shift += 7 {
8141 if shift >= 64 {
8142 return ErrIntOverflowGenerated
8143 }
8144 if iNdEx >= l {
8145 return io.ErrUnexpectedEOF
8146 }
8147 b := dAtA[iNdEx]
8148 iNdEx++
8149 msglen |= int(b&0x7F) << shift
8150 if b < 0x80 {
8151 break
8152 }
8153 }
8154 if msglen < 0 {
8155 return ErrInvalidLengthGenerated
8156 }
8157 postIndex := iNdEx + msglen
8158 if postIndex < 0 {
8159 return ErrInvalidLengthGenerated
8160 }
8161 if postIndex > l {
8162 return io.ErrUnexpectedEOF
8163 }
8164 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8165 return err
8166 }
8167 iNdEx = postIndex
8168 default:
8169 iNdEx = preIndex
8170 skippy, err := skipGenerated(dAtA[iNdEx:])
8171 if err != nil {
8172 return err
8173 }
8174 if skippy < 0 {
8175 return ErrInvalidLengthGenerated
8176 }
8177 if (iNdEx + skippy) < 0 {
8178 return ErrInvalidLengthGenerated
8179 }
8180 if (iNdEx + skippy) > l {
8181 return io.ErrUnexpectedEOF
8182 }
8183 iNdEx += skippy
8184 }
8185 }
8186
8187 if iNdEx > l {
8188 return io.ErrUnexpectedEOF
8189 }
8190 return nil
8191}
8192func (m *DeploymentCondition) Unmarshal(dAtA []byte) error {
8193 l := len(dAtA)
8194 iNdEx := 0
8195 for iNdEx < l {
8196 preIndex := iNdEx
8197 var wire uint64
8198 for shift := uint(0); ; shift += 7 {
8199 if shift >= 64 {
8200 return ErrIntOverflowGenerated
8201 }
8202 if iNdEx >= l {
8203 return io.ErrUnexpectedEOF
8204 }
8205 b := dAtA[iNdEx]
8206 iNdEx++
8207 wire |= uint64(b&0x7F) << shift
8208 if b < 0x80 {
8209 break
8210 }
8211 }
8212 fieldNum := int32(wire >> 3)
8213 wireType := int(wire & 0x7)
8214 if wireType == 4 {
8215 return fmt.Errorf("proto: DeploymentCondition: wiretype end group for non-group")
8216 }
8217 if fieldNum <= 0 {
8218 return fmt.Errorf("proto: DeploymentCondition: illegal tag %d (wire type %d)", fieldNum, wire)
8219 }
8220 switch fieldNum {
8221 case 1:
8222 if wireType != 2 {
8223 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
8224 }
8225 var stringLen uint64
8226 for shift := uint(0); ; shift += 7 {
8227 if shift >= 64 {
8228 return ErrIntOverflowGenerated
8229 }
8230 if iNdEx >= l {
8231 return io.ErrUnexpectedEOF
8232 }
8233 b := dAtA[iNdEx]
8234 iNdEx++
8235 stringLen |= uint64(b&0x7F) << shift
8236 if b < 0x80 {
8237 break
8238 }
8239 }
8240 intStringLen := int(stringLen)
8241 if intStringLen < 0 {
8242 return ErrInvalidLengthGenerated
8243 }
8244 postIndex := iNdEx + intStringLen
8245 if postIndex < 0 {
8246 return ErrInvalidLengthGenerated
8247 }
8248 if postIndex > l {
8249 return io.ErrUnexpectedEOF
8250 }
8251 m.Type = DeploymentConditionType(dAtA[iNdEx:postIndex])
8252 iNdEx = postIndex
8253 case 2:
8254 if wireType != 2 {
8255 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
8256 }
8257 var stringLen uint64
8258 for shift := uint(0); ; shift += 7 {
8259 if shift >= 64 {
8260 return ErrIntOverflowGenerated
8261 }
8262 if iNdEx >= l {
8263 return io.ErrUnexpectedEOF
8264 }
8265 b := dAtA[iNdEx]
8266 iNdEx++
8267 stringLen |= uint64(b&0x7F) << shift
8268 if b < 0x80 {
8269 break
8270 }
8271 }
8272 intStringLen := int(stringLen)
8273 if intStringLen < 0 {
8274 return ErrInvalidLengthGenerated
8275 }
8276 postIndex := iNdEx + intStringLen
8277 if postIndex < 0 {
8278 return ErrInvalidLengthGenerated
8279 }
8280 if postIndex > l {
8281 return io.ErrUnexpectedEOF
8282 }
8283 m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
8284 iNdEx = postIndex
8285 case 4:
8286 if wireType != 2 {
8287 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
8288 }
8289 var stringLen uint64
8290 for shift := uint(0); ; shift += 7 {
8291 if shift >= 64 {
8292 return ErrIntOverflowGenerated
8293 }
8294 if iNdEx >= l {
8295 return io.ErrUnexpectedEOF
8296 }
8297 b := dAtA[iNdEx]
8298 iNdEx++
8299 stringLen |= uint64(b&0x7F) << shift
8300 if b < 0x80 {
8301 break
8302 }
8303 }
8304 intStringLen := int(stringLen)
8305 if intStringLen < 0 {
8306 return ErrInvalidLengthGenerated
8307 }
8308 postIndex := iNdEx + intStringLen
8309 if postIndex < 0 {
8310 return ErrInvalidLengthGenerated
8311 }
8312 if postIndex > l {
8313 return io.ErrUnexpectedEOF
8314 }
8315 m.Reason = string(dAtA[iNdEx:postIndex])
8316 iNdEx = postIndex
8317 case 5:
8318 if wireType != 2 {
8319 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
8320 }
8321 var stringLen uint64
8322 for shift := uint(0); ; shift += 7 {
8323 if shift >= 64 {
8324 return ErrIntOverflowGenerated
8325 }
8326 if iNdEx >= l {
8327 return io.ErrUnexpectedEOF
8328 }
8329 b := dAtA[iNdEx]
8330 iNdEx++
8331 stringLen |= uint64(b&0x7F) << shift
8332 if b < 0x80 {
8333 break
8334 }
8335 }
8336 intStringLen := int(stringLen)
8337 if intStringLen < 0 {
8338 return ErrInvalidLengthGenerated
8339 }
8340 postIndex := iNdEx + intStringLen
8341 if postIndex < 0 {
8342 return ErrInvalidLengthGenerated
8343 }
8344 if postIndex > l {
8345 return io.ErrUnexpectedEOF
8346 }
8347 m.Message = string(dAtA[iNdEx:postIndex])
8348 iNdEx = postIndex
8349 case 6:
8350 if wireType != 2 {
8351 return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType)
8352 }
8353 var msglen int
8354 for shift := uint(0); ; shift += 7 {
8355 if shift >= 64 {
8356 return ErrIntOverflowGenerated
8357 }
8358 if iNdEx >= l {
8359 return io.ErrUnexpectedEOF
8360 }
8361 b := dAtA[iNdEx]
8362 iNdEx++
8363 msglen |= int(b&0x7F) << shift
8364 if b < 0x80 {
8365 break
8366 }
8367 }
8368 if msglen < 0 {
8369 return ErrInvalidLengthGenerated
8370 }
8371 postIndex := iNdEx + msglen
8372 if postIndex < 0 {
8373 return ErrInvalidLengthGenerated
8374 }
8375 if postIndex > l {
8376 return io.ErrUnexpectedEOF
8377 }
8378 if err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8379 return err
8380 }
8381 iNdEx = postIndex
8382 case 7:
8383 if wireType != 2 {
8384 return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
8385 }
8386 var msglen int
8387 for shift := uint(0); ; shift += 7 {
8388 if shift >= 64 {
8389 return ErrIntOverflowGenerated
8390 }
8391 if iNdEx >= l {
8392 return io.ErrUnexpectedEOF
8393 }
8394 b := dAtA[iNdEx]
8395 iNdEx++
8396 msglen |= int(b&0x7F) << shift
8397 if b < 0x80 {
8398 break
8399 }
8400 }
8401 if msglen < 0 {
8402 return ErrInvalidLengthGenerated
8403 }
8404 postIndex := iNdEx + msglen
8405 if postIndex < 0 {
8406 return ErrInvalidLengthGenerated
8407 }
8408 if postIndex > l {
8409 return io.ErrUnexpectedEOF
8410 }
8411 if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8412 return err
8413 }
8414 iNdEx = postIndex
8415 default:
8416 iNdEx = preIndex
8417 skippy, err := skipGenerated(dAtA[iNdEx:])
8418 if err != nil {
8419 return err
8420 }
8421 if skippy < 0 {
8422 return ErrInvalidLengthGenerated
8423 }
8424 if (iNdEx + skippy) < 0 {
8425 return ErrInvalidLengthGenerated
8426 }
8427 if (iNdEx + skippy) > l {
8428 return io.ErrUnexpectedEOF
8429 }
8430 iNdEx += skippy
8431 }
8432 }
8433
8434 if iNdEx > l {
8435 return io.ErrUnexpectedEOF
8436 }
8437 return nil
8438}
8439func (m *DeploymentList) Unmarshal(dAtA []byte) error {
8440 l := len(dAtA)
8441 iNdEx := 0
8442 for iNdEx < l {
8443 preIndex := iNdEx
8444 var wire uint64
8445 for shift := uint(0); ; shift += 7 {
8446 if shift >= 64 {
8447 return ErrIntOverflowGenerated
8448 }
8449 if iNdEx >= l {
8450 return io.ErrUnexpectedEOF
8451 }
8452 b := dAtA[iNdEx]
8453 iNdEx++
8454 wire |= uint64(b&0x7F) << shift
8455 if b < 0x80 {
8456 break
8457 }
8458 }
8459 fieldNum := int32(wire >> 3)
8460 wireType := int(wire & 0x7)
8461 if wireType == 4 {
8462 return fmt.Errorf("proto: DeploymentList: wiretype end group for non-group")
8463 }
8464 if fieldNum <= 0 {
8465 return fmt.Errorf("proto: DeploymentList: illegal tag %d (wire type %d)", fieldNum, wire)
8466 }
8467 switch fieldNum {
8468 case 1:
8469 if wireType != 2 {
8470 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
8471 }
8472 var msglen int
8473 for shift := uint(0); ; shift += 7 {
8474 if shift >= 64 {
8475 return ErrIntOverflowGenerated
8476 }
8477 if iNdEx >= l {
8478 return io.ErrUnexpectedEOF
8479 }
8480 b := dAtA[iNdEx]
8481 iNdEx++
8482 msglen |= int(b&0x7F) << shift
8483 if b < 0x80 {
8484 break
8485 }
8486 }
8487 if msglen < 0 {
8488 return ErrInvalidLengthGenerated
8489 }
8490 postIndex := iNdEx + msglen
8491 if postIndex < 0 {
8492 return ErrInvalidLengthGenerated
8493 }
8494 if postIndex > l {
8495 return io.ErrUnexpectedEOF
8496 }
8497 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8498 return err
8499 }
8500 iNdEx = postIndex
8501 case 2:
8502 if wireType != 2 {
8503 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
8504 }
8505 var msglen int
8506 for shift := uint(0); ; shift += 7 {
8507 if shift >= 64 {
8508 return ErrIntOverflowGenerated
8509 }
8510 if iNdEx >= l {
8511 return io.ErrUnexpectedEOF
8512 }
8513 b := dAtA[iNdEx]
8514 iNdEx++
8515 msglen |= int(b&0x7F) << shift
8516 if b < 0x80 {
8517 break
8518 }
8519 }
8520 if msglen < 0 {
8521 return ErrInvalidLengthGenerated
8522 }
8523 postIndex := iNdEx + msglen
8524 if postIndex < 0 {
8525 return ErrInvalidLengthGenerated
8526 }
8527 if postIndex > l {
8528 return io.ErrUnexpectedEOF
8529 }
8530 m.Items = append(m.Items, Deployment{})
8531 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8532 return err
8533 }
8534 iNdEx = postIndex
8535 default:
8536 iNdEx = preIndex
8537 skippy, err := skipGenerated(dAtA[iNdEx:])
8538 if err != nil {
8539 return err
8540 }
8541 if skippy < 0 {
8542 return ErrInvalidLengthGenerated
8543 }
8544 if (iNdEx + skippy) < 0 {
8545 return ErrInvalidLengthGenerated
8546 }
8547 if (iNdEx + skippy) > l {
8548 return io.ErrUnexpectedEOF
8549 }
8550 iNdEx += skippy
8551 }
8552 }
8553
8554 if iNdEx > l {
8555 return io.ErrUnexpectedEOF
8556 }
8557 return nil
8558}
8559func (m *DeploymentRollback) Unmarshal(dAtA []byte) error {
8560 l := len(dAtA)
8561 iNdEx := 0
8562 for iNdEx < l {
8563 preIndex := iNdEx
8564 var wire uint64
8565 for shift := uint(0); ; shift += 7 {
8566 if shift >= 64 {
8567 return ErrIntOverflowGenerated
8568 }
8569 if iNdEx >= l {
8570 return io.ErrUnexpectedEOF
8571 }
8572 b := dAtA[iNdEx]
8573 iNdEx++
8574 wire |= uint64(b&0x7F) << shift
8575 if b < 0x80 {
8576 break
8577 }
8578 }
8579 fieldNum := int32(wire >> 3)
8580 wireType := int(wire & 0x7)
8581 if wireType == 4 {
8582 return fmt.Errorf("proto: DeploymentRollback: wiretype end group for non-group")
8583 }
8584 if fieldNum <= 0 {
8585 return fmt.Errorf("proto: DeploymentRollback: illegal tag %d (wire type %d)", fieldNum, wire)
8586 }
8587 switch fieldNum {
8588 case 1:
8589 if wireType != 2 {
8590 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
8591 }
8592 var stringLen uint64
8593 for shift := uint(0); ; shift += 7 {
8594 if shift >= 64 {
8595 return ErrIntOverflowGenerated
8596 }
8597 if iNdEx >= l {
8598 return io.ErrUnexpectedEOF
8599 }
8600 b := dAtA[iNdEx]
8601 iNdEx++
8602 stringLen |= uint64(b&0x7F) << shift
8603 if b < 0x80 {
8604 break
8605 }
8606 }
8607 intStringLen := int(stringLen)
8608 if intStringLen < 0 {
8609 return ErrInvalidLengthGenerated
8610 }
8611 postIndex := iNdEx + intStringLen
8612 if postIndex < 0 {
8613 return ErrInvalidLengthGenerated
8614 }
8615 if postIndex > l {
8616 return io.ErrUnexpectedEOF
8617 }
8618 m.Name = string(dAtA[iNdEx:postIndex])
8619 iNdEx = postIndex
8620 case 2:
8621 if wireType != 2 {
8622 return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAnnotations", wireType)
8623 }
8624 var msglen int
8625 for shift := uint(0); ; shift += 7 {
8626 if shift >= 64 {
8627 return ErrIntOverflowGenerated
8628 }
8629 if iNdEx >= l {
8630 return io.ErrUnexpectedEOF
8631 }
8632 b := dAtA[iNdEx]
8633 iNdEx++
8634 msglen |= int(b&0x7F) << shift
8635 if b < 0x80 {
8636 break
8637 }
8638 }
8639 if msglen < 0 {
8640 return ErrInvalidLengthGenerated
8641 }
8642 postIndex := iNdEx + msglen
8643 if postIndex < 0 {
8644 return ErrInvalidLengthGenerated
8645 }
8646 if postIndex > l {
8647 return io.ErrUnexpectedEOF
8648 }
8649 if m.UpdatedAnnotations == nil {
8650 m.UpdatedAnnotations = make(map[string]string)
8651 }
8652 var mapkey string
8653 var mapvalue string
8654 for iNdEx < postIndex {
8655 entryPreIndex := iNdEx
8656 var wire uint64
8657 for shift := uint(0); ; shift += 7 {
8658 if shift >= 64 {
8659 return ErrIntOverflowGenerated
8660 }
8661 if iNdEx >= l {
8662 return io.ErrUnexpectedEOF
8663 }
8664 b := dAtA[iNdEx]
8665 iNdEx++
8666 wire |= uint64(b&0x7F) << shift
8667 if b < 0x80 {
8668 break
8669 }
8670 }
8671 fieldNum := int32(wire >> 3)
8672 if fieldNum == 1 {
8673 var stringLenmapkey uint64
8674 for shift := uint(0); ; shift += 7 {
8675 if shift >= 64 {
8676 return ErrIntOverflowGenerated
8677 }
8678 if iNdEx >= l {
8679 return io.ErrUnexpectedEOF
8680 }
8681 b := dAtA[iNdEx]
8682 iNdEx++
8683 stringLenmapkey |= uint64(b&0x7F) << shift
8684 if b < 0x80 {
8685 break
8686 }
8687 }
8688 intStringLenmapkey := int(stringLenmapkey)
8689 if intStringLenmapkey < 0 {
8690 return ErrInvalidLengthGenerated
8691 }
8692 postStringIndexmapkey := iNdEx + intStringLenmapkey
8693 if postStringIndexmapkey < 0 {
8694 return ErrInvalidLengthGenerated
8695 }
8696 if postStringIndexmapkey > l {
8697 return io.ErrUnexpectedEOF
8698 }
8699 mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
8700 iNdEx = postStringIndexmapkey
8701 } else if fieldNum == 2 {
8702 var stringLenmapvalue uint64
8703 for shift := uint(0); ; shift += 7 {
8704 if shift >= 64 {
8705 return ErrIntOverflowGenerated
8706 }
8707 if iNdEx >= l {
8708 return io.ErrUnexpectedEOF
8709 }
8710 b := dAtA[iNdEx]
8711 iNdEx++
8712 stringLenmapvalue |= uint64(b&0x7F) << shift
8713 if b < 0x80 {
8714 break
8715 }
8716 }
8717 intStringLenmapvalue := int(stringLenmapvalue)
8718 if intStringLenmapvalue < 0 {
8719 return ErrInvalidLengthGenerated
8720 }
8721 postStringIndexmapvalue := iNdEx + intStringLenmapvalue
8722 if postStringIndexmapvalue < 0 {
8723 return ErrInvalidLengthGenerated
8724 }
8725 if postStringIndexmapvalue > l {
8726 return io.ErrUnexpectedEOF
8727 }
8728 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
8729 iNdEx = postStringIndexmapvalue
8730 } else {
8731 iNdEx = entryPreIndex
8732 skippy, err := skipGenerated(dAtA[iNdEx:])
8733 if err != nil {
8734 return err
8735 }
8736 if skippy < 0 {
8737 return ErrInvalidLengthGenerated
8738 }
8739 if (iNdEx + skippy) > postIndex {
8740 return io.ErrUnexpectedEOF
8741 }
8742 iNdEx += skippy
8743 }
8744 }
8745 m.UpdatedAnnotations[mapkey] = mapvalue
8746 iNdEx = postIndex
8747 case 3:
8748 if wireType != 2 {
8749 return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
8750 }
8751 var msglen int
8752 for shift := uint(0); ; shift += 7 {
8753 if shift >= 64 {
8754 return ErrIntOverflowGenerated
8755 }
8756 if iNdEx >= l {
8757 return io.ErrUnexpectedEOF
8758 }
8759 b := dAtA[iNdEx]
8760 iNdEx++
8761 msglen |= int(b&0x7F) << shift
8762 if b < 0x80 {
8763 break
8764 }
8765 }
8766 if msglen < 0 {
8767 return ErrInvalidLengthGenerated
8768 }
8769 postIndex := iNdEx + msglen
8770 if postIndex < 0 {
8771 return ErrInvalidLengthGenerated
8772 }
8773 if postIndex > l {
8774 return io.ErrUnexpectedEOF
8775 }
8776 if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8777 return err
8778 }
8779 iNdEx = postIndex
8780 default:
8781 iNdEx = preIndex
8782 skippy, err := skipGenerated(dAtA[iNdEx:])
8783 if err != nil {
8784 return err
8785 }
8786 if skippy < 0 {
8787 return ErrInvalidLengthGenerated
8788 }
8789 if (iNdEx + skippy) < 0 {
8790 return ErrInvalidLengthGenerated
8791 }
8792 if (iNdEx + skippy) > l {
8793 return io.ErrUnexpectedEOF
8794 }
8795 iNdEx += skippy
8796 }
8797 }
8798
8799 if iNdEx > l {
8800 return io.ErrUnexpectedEOF
8801 }
8802 return nil
8803}
8804func (m *DeploymentSpec) Unmarshal(dAtA []byte) error {
8805 l := len(dAtA)
8806 iNdEx := 0
8807 for iNdEx < l {
8808 preIndex := iNdEx
8809 var wire uint64
8810 for shift := uint(0); ; shift += 7 {
8811 if shift >= 64 {
8812 return ErrIntOverflowGenerated
8813 }
8814 if iNdEx >= l {
8815 return io.ErrUnexpectedEOF
8816 }
8817 b := dAtA[iNdEx]
8818 iNdEx++
8819 wire |= uint64(b&0x7F) << shift
8820 if b < 0x80 {
8821 break
8822 }
8823 }
8824 fieldNum := int32(wire >> 3)
8825 wireType := int(wire & 0x7)
8826 if wireType == 4 {
8827 return fmt.Errorf("proto: DeploymentSpec: wiretype end group for non-group")
8828 }
8829 if fieldNum <= 0 {
8830 return fmt.Errorf("proto: DeploymentSpec: illegal tag %d (wire type %d)", fieldNum, wire)
8831 }
8832 switch fieldNum {
8833 case 1:
8834 if wireType != 0 {
8835 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
8836 }
8837 var v int32
8838 for shift := uint(0); ; shift += 7 {
8839 if shift >= 64 {
8840 return ErrIntOverflowGenerated
8841 }
8842 if iNdEx >= l {
8843 return io.ErrUnexpectedEOF
8844 }
8845 b := dAtA[iNdEx]
8846 iNdEx++
8847 v |= int32(b&0x7F) << shift
8848 if b < 0x80 {
8849 break
8850 }
8851 }
8852 m.Replicas = &v
8853 case 2:
8854 if wireType != 2 {
8855 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
8856 }
8857 var msglen int
8858 for shift := uint(0); ; shift += 7 {
8859 if shift >= 64 {
8860 return ErrIntOverflowGenerated
8861 }
8862 if iNdEx >= l {
8863 return io.ErrUnexpectedEOF
8864 }
8865 b := dAtA[iNdEx]
8866 iNdEx++
8867 msglen |= int(b&0x7F) << shift
8868 if b < 0x80 {
8869 break
8870 }
8871 }
8872 if msglen < 0 {
8873 return ErrInvalidLengthGenerated
8874 }
8875 postIndex := iNdEx + msglen
8876 if postIndex < 0 {
8877 return ErrInvalidLengthGenerated
8878 }
8879 if postIndex > l {
8880 return io.ErrUnexpectedEOF
8881 }
8882 if m.Selector == nil {
8883 m.Selector = &v1.LabelSelector{}
8884 }
8885 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8886 return err
8887 }
8888 iNdEx = postIndex
8889 case 3:
8890 if wireType != 2 {
8891 return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
8892 }
8893 var msglen int
8894 for shift := uint(0); ; shift += 7 {
8895 if shift >= 64 {
8896 return ErrIntOverflowGenerated
8897 }
8898 if iNdEx >= l {
8899 return io.ErrUnexpectedEOF
8900 }
8901 b := dAtA[iNdEx]
8902 iNdEx++
8903 msglen |= int(b&0x7F) << shift
8904 if b < 0x80 {
8905 break
8906 }
8907 }
8908 if msglen < 0 {
8909 return ErrInvalidLengthGenerated
8910 }
8911 postIndex := iNdEx + msglen
8912 if postIndex < 0 {
8913 return ErrInvalidLengthGenerated
8914 }
8915 if postIndex > l {
8916 return io.ErrUnexpectedEOF
8917 }
8918 if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8919 return err
8920 }
8921 iNdEx = postIndex
8922 case 4:
8923 if wireType != 2 {
8924 return fmt.Errorf("proto: wrong wireType = %d for field Strategy", wireType)
8925 }
8926 var msglen int
8927 for shift := uint(0); ; shift += 7 {
8928 if shift >= 64 {
8929 return ErrIntOverflowGenerated
8930 }
8931 if iNdEx >= l {
8932 return io.ErrUnexpectedEOF
8933 }
8934 b := dAtA[iNdEx]
8935 iNdEx++
8936 msglen |= int(b&0x7F) << shift
8937 if b < 0x80 {
8938 break
8939 }
8940 }
8941 if msglen < 0 {
8942 return ErrInvalidLengthGenerated
8943 }
8944 postIndex := iNdEx + msglen
8945 if postIndex < 0 {
8946 return ErrInvalidLengthGenerated
8947 }
8948 if postIndex > l {
8949 return io.ErrUnexpectedEOF
8950 }
8951 if err := m.Strategy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
8952 return err
8953 }
8954 iNdEx = postIndex
8955 case 5:
8956 if wireType != 0 {
8957 return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
8958 }
8959 m.MinReadySeconds = 0
8960 for shift := uint(0); ; shift += 7 {
8961 if shift >= 64 {
8962 return ErrIntOverflowGenerated
8963 }
8964 if iNdEx >= l {
8965 return io.ErrUnexpectedEOF
8966 }
8967 b := dAtA[iNdEx]
8968 iNdEx++
8969 m.MinReadySeconds |= int32(b&0x7F) << shift
8970 if b < 0x80 {
8971 break
8972 }
8973 }
8974 case 6:
8975 if wireType != 0 {
8976 return fmt.Errorf("proto: wrong wireType = %d for field RevisionHistoryLimit", wireType)
8977 }
8978 var v int32
8979 for shift := uint(0); ; shift += 7 {
8980 if shift >= 64 {
8981 return ErrIntOverflowGenerated
8982 }
8983 if iNdEx >= l {
8984 return io.ErrUnexpectedEOF
8985 }
8986 b := dAtA[iNdEx]
8987 iNdEx++
8988 v |= int32(b&0x7F) << shift
8989 if b < 0x80 {
8990 break
8991 }
8992 }
8993 m.RevisionHistoryLimit = &v
8994 case 7:
8995 if wireType != 0 {
8996 return fmt.Errorf("proto: wrong wireType = %d for field Paused", wireType)
8997 }
8998 var v int
8999 for shift := uint(0); ; shift += 7 {
9000 if shift >= 64 {
9001 return ErrIntOverflowGenerated
9002 }
9003 if iNdEx >= l {
9004 return io.ErrUnexpectedEOF
9005 }
9006 b := dAtA[iNdEx]
9007 iNdEx++
9008 v |= int(b&0x7F) << shift
9009 if b < 0x80 {
9010 break
9011 }
9012 }
9013 m.Paused = bool(v != 0)
9014 case 8:
9015 if wireType != 2 {
9016 return fmt.Errorf("proto: wrong wireType = %d for field RollbackTo", wireType)
9017 }
9018 var msglen int
9019 for shift := uint(0); ; shift += 7 {
9020 if shift >= 64 {
9021 return ErrIntOverflowGenerated
9022 }
9023 if iNdEx >= l {
9024 return io.ErrUnexpectedEOF
9025 }
9026 b := dAtA[iNdEx]
9027 iNdEx++
9028 msglen |= int(b&0x7F) << shift
9029 if b < 0x80 {
9030 break
9031 }
9032 }
9033 if msglen < 0 {
9034 return ErrInvalidLengthGenerated
9035 }
9036 postIndex := iNdEx + msglen
9037 if postIndex < 0 {
9038 return ErrInvalidLengthGenerated
9039 }
9040 if postIndex > l {
9041 return io.ErrUnexpectedEOF
9042 }
9043 if m.RollbackTo == nil {
9044 m.RollbackTo = &RollbackConfig{}
9045 }
9046 if err := m.RollbackTo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9047 return err
9048 }
9049 iNdEx = postIndex
9050 case 9:
9051 if wireType != 0 {
9052 return fmt.Errorf("proto: wrong wireType = %d for field ProgressDeadlineSeconds", wireType)
9053 }
9054 var v int32
9055 for shift := uint(0); ; shift += 7 {
9056 if shift >= 64 {
9057 return ErrIntOverflowGenerated
9058 }
9059 if iNdEx >= l {
9060 return io.ErrUnexpectedEOF
9061 }
9062 b := dAtA[iNdEx]
9063 iNdEx++
9064 v |= int32(b&0x7F) << shift
9065 if b < 0x80 {
9066 break
9067 }
9068 }
9069 m.ProgressDeadlineSeconds = &v
9070 default:
9071 iNdEx = preIndex
9072 skippy, err := skipGenerated(dAtA[iNdEx:])
9073 if err != nil {
9074 return err
9075 }
9076 if skippy < 0 {
9077 return ErrInvalidLengthGenerated
9078 }
9079 if (iNdEx + skippy) < 0 {
9080 return ErrInvalidLengthGenerated
9081 }
9082 if (iNdEx + skippy) > l {
9083 return io.ErrUnexpectedEOF
9084 }
9085 iNdEx += skippy
9086 }
9087 }
9088
9089 if iNdEx > l {
9090 return io.ErrUnexpectedEOF
9091 }
9092 return nil
9093}
9094func (m *DeploymentStatus) Unmarshal(dAtA []byte) error {
9095 l := len(dAtA)
9096 iNdEx := 0
9097 for iNdEx < l {
9098 preIndex := iNdEx
9099 var wire uint64
9100 for shift := uint(0); ; shift += 7 {
9101 if shift >= 64 {
9102 return ErrIntOverflowGenerated
9103 }
9104 if iNdEx >= l {
9105 return io.ErrUnexpectedEOF
9106 }
9107 b := dAtA[iNdEx]
9108 iNdEx++
9109 wire |= uint64(b&0x7F) << shift
9110 if b < 0x80 {
9111 break
9112 }
9113 }
9114 fieldNum := int32(wire >> 3)
9115 wireType := int(wire & 0x7)
9116 if wireType == 4 {
9117 return fmt.Errorf("proto: DeploymentStatus: wiretype end group for non-group")
9118 }
9119 if fieldNum <= 0 {
9120 return fmt.Errorf("proto: DeploymentStatus: illegal tag %d (wire type %d)", fieldNum, wire)
9121 }
9122 switch fieldNum {
9123 case 1:
9124 if wireType != 0 {
9125 return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
9126 }
9127 m.ObservedGeneration = 0
9128 for shift := uint(0); ; shift += 7 {
9129 if shift >= 64 {
9130 return ErrIntOverflowGenerated
9131 }
9132 if iNdEx >= l {
9133 return io.ErrUnexpectedEOF
9134 }
9135 b := dAtA[iNdEx]
9136 iNdEx++
9137 m.ObservedGeneration |= int64(b&0x7F) << shift
9138 if b < 0x80 {
9139 break
9140 }
9141 }
9142 case 2:
9143 if wireType != 0 {
9144 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
9145 }
9146 m.Replicas = 0
9147 for shift := uint(0); ; shift += 7 {
9148 if shift >= 64 {
9149 return ErrIntOverflowGenerated
9150 }
9151 if iNdEx >= l {
9152 return io.ErrUnexpectedEOF
9153 }
9154 b := dAtA[iNdEx]
9155 iNdEx++
9156 m.Replicas |= int32(b&0x7F) << shift
9157 if b < 0x80 {
9158 break
9159 }
9160 }
9161 case 3:
9162 if wireType != 0 {
9163 return fmt.Errorf("proto: wrong wireType = %d for field UpdatedReplicas", wireType)
9164 }
9165 m.UpdatedReplicas = 0
9166 for shift := uint(0); ; shift += 7 {
9167 if shift >= 64 {
9168 return ErrIntOverflowGenerated
9169 }
9170 if iNdEx >= l {
9171 return io.ErrUnexpectedEOF
9172 }
9173 b := dAtA[iNdEx]
9174 iNdEx++
9175 m.UpdatedReplicas |= int32(b&0x7F) << shift
9176 if b < 0x80 {
9177 break
9178 }
9179 }
9180 case 4:
9181 if wireType != 0 {
9182 return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
9183 }
9184 m.AvailableReplicas = 0
9185 for shift := uint(0); ; shift += 7 {
9186 if shift >= 64 {
9187 return ErrIntOverflowGenerated
9188 }
9189 if iNdEx >= l {
9190 return io.ErrUnexpectedEOF
9191 }
9192 b := dAtA[iNdEx]
9193 iNdEx++
9194 m.AvailableReplicas |= int32(b&0x7F) << shift
9195 if b < 0x80 {
9196 break
9197 }
9198 }
9199 case 5:
9200 if wireType != 0 {
9201 return fmt.Errorf("proto: wrong wireType = %d for field UnavailableReplicas", wireType)
9202 }
9203 m.UnavailableReplicas = 0
9204 for shift := uint(0); ; shift += 7 {
9205 if shift >= 64 {
9206 return ErrIntOverflowGenerated
9207 }
9208 if iNdEx >= l {
9209 return io.ErrUnexpectedEOF
9210 }
9211 b := dAtA[iNdEx]
9212 iNdEx++
9213 m.UnavailableReplicas |= int32(b&0x7F) << shift
9214 if b < 0x80 {
9215 break
9216 }
9217 }
9218 case 6:
9219 if wireType != 2 {
9220 return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
9221 }
9222 var msglen int
9223 for shift := uint(0); ; shift += 7 {
9224 if shift >= 64 {
9225 return ErrIntOverflowGenerated
9226 }
9227 if iNdEx >= l {
9228 return io.ErrUnexpectedEOF
9229 }
9230 b := dAtA[iNdEx]
9231 iNdEx++
9232 msglen |= int(b&0x7F) << shift
9233 if b < 0x80 {
9234 break
9235 }
9236 }
9237 if msglen < 0 {
9238 return ErrInvalidLengthGenerated
9239 }
9240 postIndex := iNdEx + msglen
9241 if postIndex < 0 {
9242 return ErrInvalidLengthGenerated
9243 }
9244 if postIndex > l {
9245 return io.ErrUnexpectedEOF
9246 }
9247 m.Conditions = append(m.Conditions, DeploymentCondition{})
9248 if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9249 return err
9250 }
9251 iNdEx = postIndex
9252 case 7:
9253 if wireType != 0 {
9254 return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
9255 }
9256 m.ReadyReplicas = 0
9257 for shift := uint(0); ; shift += 7 {
9258 if shift >= 64 {
9259 return ErrIntOverflowGenerated
9260 }
9261 if iNdEx >= l {
9262 return io.ErrUnexpectedEOF
9263 }
9264 b := dAtA[iNdEx]
9265 iNdEx++
9266 m.ReadyReplicas |= int32(b&0x7F) << shift
9267 if b < 0x80 {
9268 break
9269 }
9270 }
9271 case 8:
9272 if wireType != 0 {
9273 return fmt.Errorf("proto: wrong wireType = %d for field CollisionCount", wireType)
9274 }
9275 var v int32
9276 for shift := uint(0); ; shift += 7 {
9277 if shift >= 64 {
9278 return ErrIntOverflowGenerated
9279 }
9280 if iNdEx >= l {
9281 return io.ErrUnexpectedEOF
9282 }
9283 b := dAtA[iNdEx]
9284 iNdEx++
9285 v |= int32(b&0x7F) << shift
9286 if b < 0x80 {
9287 break
9288 }
9289 }
9290 m.CollisionCount = &v
9291 default:
9292 iNdEx = preIndex
9293 skippy, err := skipGenerated(dAtA[iNdEx:])
9294 if err != nil {
9295 return err
9296 }
9297 if skippy < 0 {
9298 return ErrInvalidLengthGenerated
9299 }
9300 if (iNdEx + skippy) < 0 {
9301 return ErrInvalidLengthGenerated
9302 }
9303 if (iNdEx + skippy) > l {
9304 return io.ErrUnexpectedEOF
9305 }
9306 iNdEx += skippy
9307 }
9308 }
9309
9310 if iNdEx > l {
9311 return io.ErrUnexpectedEOF
9312 }
9313 return nil
9314}
9315func (m *DeploymentStrategy) Unmarshal(dAtA []byte) error {
9316 l := len(dAtA)
9317 iNdEx := 0
9318 for iNdEx < l {
9319 preIndex := iNdEx
9320 var wire uint64
9321 for shift := uint(0); ; shift += 7 {
9322 if shift >= 64 {
9323 return ErrIntOverflowGenerated
9324 }
9325 if iNdEx >= l {
9326 return io.ErrUnexpectedEOF
9327 }
9328 b := dAtA[iNdEx]
9329 iNdEx++
9330 wire |= uint64(b&0x7F) << shift
9331 if b < 0x80 {
9332 break
9333 }
9334 }
9335 fieldNum := int32(wire >> 3)
9336 wireType := int(wire & 0x7)
9337 if wireType == 4 {
9338 return fmt.Errorf("proto: DeploymentStrategy: wiretype end group for non-group")
9339 }
9340 if fieldNum <= 0 {
9341 return fmt.Errorf("proto: DeploymentStrategy: illegal tag %d (wire type %d)", fieldNum, wire)
9342 }
9343 switch fieldNum {
9344 case 1:
9345 if wireType != 2 {
9346 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
9347 }
9348 var stringLen uint64
9349 for shift := uint(0); ; shift += 7 {
9350 if shift >= 64 {
9351 return ErrIntOverflowGenerated
9352 }
9353 if iNdEx >= l {
9354 return io.ErrUnexpectedEOF
9355 }
9356 b := dAtA[iNdEx]
9357 iNdEx++
9358 stringLen |= uint64(b&0x7F) << shift
9359 if b < 0x80 {
9360 break
9361 }
9362 }
9363 intStringLen := int(stringLen)
9364 if intStringLen < 0 {
9365 return ErrInvalidLengthGenerated
9366 }
9367 postIndex := iNdEx + intStringLen
9368 if postIndex < 0 {
9369 return ErrInvalidLengthGenerated
9370 }
9371 if postIndex > l {
9372 return io.ErrUnexpectedEOF
9373 }
9374 m.Type = DeploymentStrategyType(dAtA[iNdEx:postIndex])
9375 iNdEx = postIndex
9376 case 2:
9377 if wireType != 2 {
9378 return fmt.Errorf("proto: wrong wireType = %d for field RollingUpdate", wireType)
9379 }
9380 var msglen int
9381 for shift := uint(0); ; shift += 7 {
9382 if shift >= 64 {
9383 return ErrIntOverflowGenerated
9384 }
9385 if iNdEx >= l {
9386 return io.ErrUnexpectedEOF
9387 }
9388 b := dAtA[iNdEx]
9389 iNdEx++
9390 msglen |= int(b&0x7F) << shift
9391 if b < 0x80 {
9392 break
9393 }
9394 }
9395 if msglen < 0 {
9396 return ErrInvalidLengthGenerated
9397 }
9398 postIndex := iNdEx + msglen
9399 if postIndex < 0 {
9400 return ErrInvalidLengthGenerated
9401 }
9402 if postIndex > l {
9403 return io.ErrUnexpectedEOF
9404 }
9405 if m.RollingUpdate == nil {
9406 m.RollingUpdate = &RollingUpdateDeployment{}
9407 }
9408 if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9409 return err
9410 }
9411 iNdEx = postIndex
9412 default:
9413 iNdEx = preIndex
9414 skippy, err := skipGenerated(dAtA[iNdEx:])
9415 if err != nil {
9416 return err
9417 }
9418 if skippy < 0 {
9419 return ErrInvalidLengthGenerated
9420 }
9421 if (iNdEx + skippy) < 0 {
9422 return ErrInvalidLengthGenerated
9423 }
9424 if (iNdEx + skippy) > l {
9425 return io.ErrUnexpectedEOF
9426 }
9427 iNdEx += skippy
9428 }
9429 }
9430
9431 if iNdEx > l {
9432 return io.ErrUnexpectedEOF
9433 }
9434 return nil
9435}
9436func (m *FSGroupStrategyOptions) Unmarshal(dAtA []byte) error {
9437 l := len(dAtA)
9438 iNdEx := 0
9439 for iNdEx < l {
9440 preIndex := iNdEx
9441 var wire uint64
9442 for shift := uint(0); ; shift += 7 {
9443 if shift >= 64 {
9444 return ErrIntOverflowGenerated
9445 }
9446 if iNdEx >= l {
9447 return io.ErrUnexpectedEOF
9448 }
9449 b := dAtA[iNdEx]
9450 iNdEx++
9451 wire |= uint64(b&0x7F) << shift
9452 if b < 0x80 {
9453 break
9454 }
9455 }
9456 fieldNum := int32(wire >> 3)
9457 wireType := int(wire & 0x7)
9458 if wireType == 4 {
9459 return fmt.Errorf("proto: FSGroupStrategyOptions: wiretype end group for non-group")
9460 }
9461 if fieldNum <= 0 {
9462 return fmt.Errorf("proto: FSGroupStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
9463 }
9464 switch fieldNum {
9465 case 1:
9466 if wireType != 2 {
9467 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
9468 }
9469 var stringLen uint64
9470 for shift := uint(0); ; shift += 7 {
9471 if shift >= 64 {
9472 return ErrIntOverflowGenerated
9473 }
9474 if iNdEx >= l {
9475 return io.ErrUnexpectedEOF
9476 }
9477 b := dAtA[iNdEx]
9478 iNdEx++
9479 stringLen |= uint64(b&0x7F) << shift
9480 if b < 0x80 {
9481 break
9482 }
9483 }
9484 intStringLen := int(stringLen)
9485 if intStringLen < 0 {
9486 return ErrInvalidLengthGenerated
9487 }
9488 postIndex := iNdEx + intStringLen
9489 if postIndex < 0 {
9490 return ErrInvalidLengthGenerated
9491 }
9492 if postIndex > l {
9493 return io.ErrUnexpectedEOF
9494 }
9495 m.Rule = FSGroupStrategyType(dAtA[iNdEx:postIndex])
9496 iNdEx = postIndex
9497 case 2:
9498 if wireType != 2 {
9499 return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
9500 }
9501 var msglen int
9502 for shift := uint(0); ; shift += 7 {
9503 if shift >= 64 {
9504 return ErrIntOverflowGenerated
9505 }
9506 if iNdEx >= l {
9507 return io.ErrUnexpectedEOF
9508 }
9509 b := dAtA[iNdEx]
9510 iNdEx++
9511 msglen |= int(b&0x7F) << shift
9512 if b < 0x80 {
9513 break
9514 }
9515 }
9516 if msglen < 0 {
9517 return ErrInvalidLengthGenerated
9518 }
9519 postIndex := iNdEx + msglen
9520 if postIndex < 0 {
9521 return ErrInvalidLengthGenerated
9522 }
9523 if postIndex > l {
9524 return io.ErrUnexpectedEOF
9525 }
9526 m.Ranges = append(m.Ranges, IDRange{})
9527 if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9528 return err
9529 }
9530 iNdEx = postIndex
9531 default:
9532 iNdEx = preIndex
9533 skippy, err := skipGenerated(dAtA[iNdEx:])
9534 if err != nil {
9535 return err
9536 }
9537 if skippy < 0 {
9538 return ErrInvalidLengthGenerated
9539 }
9540 if (iNdEx + skippy) < 0 {
9541 return ErrInvalidLengthGenerated
9542 }
9543 if (iNdEx + skippy) > l {
9544 return io.ErrUnexpectedEOF
9545 }
9546 iNdEx += skippy
9547 }
9548 }
9549
9550 if iNdEx > l {
9551 return io.ErrUnexpectedEOF
9552 }
9553 return nil
9554}
9555func (m *HTTPIngressPath) Unmarshal(dAtA []byte) error {
9556 l := len(dAtA)
9557 iNdEx := 0
9558 for iNdEx < l {
9559 preIndex := iNdEx
9560 var wire uint64
9561 for shift := uint(0); ; shift += 7 {
9562 if shift >= 64 {
9563 return ErrIntOverflowGenerated
9564 }
9565 if iNdEx >= l {
9566 return io.ErrUnexpectedEOF
9567 }
9568 b := dAtA[iNdEx]
9569 iNdEx++
9570 wire |= uint64(b&0x7F) << shift
9571 if b < 0x80 {
9572 break
9573 }
9574 }
9575 fieldNum := int32(wire >> 3)
9576 wireType := int(wire & 0x7)
9577 if wireType == 4 {
9578 return fmt.Errorf("proto: HTTPIngressPath: wiretype end group for non-group")
9579 }
9580 if fieldNum <= 0 {
9581 return fmt.Errorf("proto: HTTPIngressPath: illegal tag %d (wire type %d)", fieldNum, wire)
9582 }
9583 switch fieldNum {
9584 case 1:
9585 if wireType != 2 {
9586 return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
9587 }
9588 var stringLen uint64
9589 for shift := uint(0); ; shift += 7 {
9590 if shift >= 64 {
9591 return ErrIntOverflowGenerated
9592 }
9593 if iNdEx >= l {
9594 return io.ErrUnexpectedEOF
9595 }
9596 b := dAtA[iNdEx]
9597 iNdEx++
9598 stringLen |= uint64(b&0x7F) << shift
9599 if b < 0x80 {
9600 break
9601 }
9602 }
9603 intStringLen := int(stringLen)
9604 if intStringLen < 0 {
9605 return ErrInvalidLengthGenerated
9606 }
9607 postIndex := iNdEx + intStringLen
9608 if postIndex < 0 {
9609 return ErrInvalidLengthGenerated
9610 }
9611 if postIndex > l {
9612 return io.ErrUnexpectedEOF
9613 }
9614 m.Path = string(dAtA[iNdEx:postIndex])
9615 iNdEx = postIndex
9616 case 2:
9617 if wireType != 2 {
9618 return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType)
9619 }
9620 var msglen int
9621 for shift := uint(0); ; shift += 7 {
9622 if shift >= 64 {
9623 return ErrIntOverflowGenerated
9624 }
9625 if iNdEx >= l {
9626 return io.ErrUnexpectedEOF
9627 }
9628 b := dAtA[iNdEx]
9629 iNdEx++
9630 msglen |= int(b&0x7F) << shift
9631 if b < 0x80 {
9632 break
9633 }
9634 }
9635 if msglen < 0 {
9636 return ErrInvalidLengthGenerated
9637 }
9638 postIndex := iNdEx + msglen
9639 if postIndex < 0 {
9640 return ErrInvalidLengthGenerated
9641 }
9642 if postIndex > l {
9643 return io.ErrUnexpectedEOF
9644 }
9645 if err := m.Backend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9646 return err
9647 }
9648 iNdEx = postIndex
9649 case 3:
9650 if wireType != 2 {
9651 return fmt.Errorf("proto: wrong wireType = %d for field PathType", wireType)
9652 }
9653 var stringLen uint64
9654 for shift := uint(0); ; shift += 7 {
9655 if shift >= 64 {
9656 return ErrIntOverflowGenerated
9657 }
9658 if iNdEx >= l {
9659 return io.ErrUnexpectedEOF
9660 }
9661 b := dAtA[iNdEx]
9662 iNdEx++
9663 stringLen |= uint64(b&0x7F) << shift
9664 if b < 0x80 {
9665 break
9666 }
9667 }
9668 intStringLen := int(stringLen)
9669 if intStringLen < 0 {
9670 return ErrInvalidLengthGenerated
9671 }
9672 postIndex := iNdEx + intStringLen
9673 if postIndex < 0 {
9674 return ErrInvalidLengthGenerated
9675 }
9676 if postIndex > l {
9677 return io.ErrUnexpectedEOF
9678 }
9679 s := PathType(dAtA[iNdEx:postIndex])
9680 m.PathType = &s
9681 iNdEx = postIndex
9682 default:
9683 iNdEx = preIndex
9684 skippy, err := skipGenerated(dAtA[iNdEx:])
9685 if err != nil {
9686 return err
9687 }
9688 if skippy < 0 {
9689 return ErrInvalidLengthGenerated
9690 }
9691 if (iNdEx + skippy) < 0 {
9692 return ErrInvalidLengthGenerated
9693 }
9694 if (iNdEx + skippy) > l {
9695 return io.ErrUnexpectedEOF
9696 }
9697 iNdEx += skippy
9698 }
9699 }
9700
9701 if iNdEx > l {
9702 return io.ErrUnexpectedEOF
9703 }
9704 return nil
9705}
9706func (m *HTTPIngressRuleValue) Unmarshal(dAtA []byte) error {
9707 l := len(dAtA)
9708 iNdEx := 0
9709 for iNdEx < l {
9710 preIndex := iNdEx
9711 var wire uint64
9712 for shift := uint(0); ; shift += 7 {
9713 if shift >= 64 {
9714 return ErrIntOverflowGenerated
9715 }
9716 if iNdEx >= l {
9717 return io.ErrUnexpectedEOF
9718 }
9719 b := dAtA[iNdEx]
9720 iNdEx++
9721 wire |= uint64(b&0x7F) << shift
9722 if b < 0x80 {
9723 break
9724 }
9725 }
9726 fieldNum := int32(wire >> 3)
9727 wireType := int(wire & 0x7)
9728 if wireType == 4 {
9729 return fmt.Errorf("proto: HTTPIngressRuleValue: wiretype end group for non-group")
9730 }
9731 if fieldNum <= 0 {
9732 return fmt.Errorf("proto: HTTPIngressRuleValue: illegal tag %d (wire type %d)", fieldNum, wire)
9733 }
9734 switch fieldNum {
9735 case 1:
9736 if wireType != 2 {
9737 return fmt.Errorf("proto: wrong wireType = %d for field Paths", wireType)
9738 }
9739 var msglen int
9740 for shift := uint(0); ; shift += 7 {
9741 if shift >= 64 {
9742 return ErrIntOverflowGenerated
9743 }
9744 if iNdEx >= l {
9745 return io.ErrUnexpectedEOF
9746 }
9747 b := dAtA[iNdEx]
9748 iNdEx++
9749 msglen |= int(b&0x7F) << shift
9750 if b < 0x80 {
9751 break
9752 }
9753 }
9754 if msglen < 0 {
9755 return ErrInvalidLengthGenerated
9756 }
9757 postIndex := iNdEx + msglen
9758 if postIndex < 0 {
9759 return ErrInvalidLengthGenerated
9760 }
9761 if postIndex > l {
9762 return io.ErrUnexpectedEOF
9763 }
9764 m.Paths = append(m.Paths, HTTPIngressPath{})
9765 if err := m.Paths[len(m.Paths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
9766 return err
9767 }
9768 iNdEx = postIndex
9769 default:
9770 iNdEx = preIndex
9771 skippy, err := skipGenerated(dAtA[iNdEx:])
9772 if err != nil {
9773 return err
9774 }
9775 if skippy < 0 {
9776 return ErrInvalidLengthGenerated
9777 }
9778 if (iNdEx + skippy) < 0 {
9779 return ErrInvalidLengthGenerated
9780 }
9781 if (iNdEx + skippy) > l {
9782 return io.ErrUnexpectedEOF
9783 }
9784 iNdEx += skippy
9785 }
9786 }
9787
9788 if iNdEx > l {
9789 return io.ErrUnexpectedEOF
9790 }
9791 return nil
9792}
9793func (m *HostPortRange) Unmarshal(dAtA []byte) error {
9794 l := len(dAtA)
9795 iNdEx := 0
9796 for iNdEx < l {
9797 preIndex := iNdEx
9798 var wire uint64
9799 for shift := uint(0); ; shift += 7 {
9800 if shift >= 64 {
9801 return ErrIntOverflowGenerated
9802 }
9803 if iNdEx >= l {
9804 return io.ErrUnexpectedEOF
9805 }
9806 b := dAtA[iNdEx]
9807 iNdEx++
9808 wire |= uint64(b&0x7F) << shift
9809 if b < 0x80 {
9810 break
9811 }
9812 }
9813 fieldNum := int32(wire >> 3)
9814 wireType := int(wire & 0x7)
9815 if wireType == 4 {
9816 return fmt.Errorf("proto: HostPortRange: wiretype end group for non-group")
9817 }
9818 if fieldNum <= 0 {
9819 return fmt.Errorf("proto: HostPortRange: illegal tag %d (wire type %d)", fieldNum, wire)
9820 }
9821 switch fieldNum {
9822 case 1:
9823 if wireType != 0 {
9824 return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
9825 }
9826 m.Min = 0
9827 for shift := uint(0); ; shift += 7 {
9828 if shift >= 64 {
9829 return ErrIntOverflowGenerated
9830 }
9831 if iNdEx >= l {
9832 return io.ErrUnexpectedEOF
9833 }
9834 b := dAtA[iNdEx]
9835 iNdEx++
9836 m.Min |= int32(b&0x7F) << shift
9837 if b < 0x80 {
9838 break
9839 }
9840 }
9841 case 2:
9842 if wireType != 0 {
9843 return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
9844 }
9845 m.Max = 0
9846 for shift := uint(0); ; shift += 7 {
9847 if shift >= 64 {
9848 return ErrIntOverflowGenerated
9849 }
9850 if iNdEx >= l {
9851 return io.ErrUnexpectedEOF
9852 }
9853 b := dAtA[iNdEx]
9854 iNdEx++
9855 m.Max |= int32(b&0x7F) << shift
9856 if b < 0x80 {
9857 break
9858 }
9859 }
9860 default:
9861 iNdEx = preIndex
9862 skippy, err := skipGenerated(dAtA[iNdEx:])
9863 if err != nil {
9864 return err
9865 }
9866 if skippy < 0 {
9867 return ErrInvalidLengthGenerated
9868 }
9869 if (iNdEx + skippy) < 0 {
9870 return ErrInvalidLengthGenerated
9871 }
9872 if (iNdEx + skippy) > l {
9873 return io.ErrUnexpectedEOF
9874 }
9875 iNdEx += skippy
9876 }
9877 }
9878
9879 if iNdEx > l {
9880 return io.ErrUnexpectedEOF
9881 }
9882 return nil
9883}
9884func (m *IDRange) Unmarshal(dAtA []byte) error {
9885 l := len(dAtA)
9886 iNdEx := 0
9887 for iNdEx < l {
9888 preIndex := iNdEx
9889 var wire uint64
9890 for shift := uint(0); ; shift += 7 {
9891 if shift >= 64 {
9892 return ErrIntOverflowGenerated
9893 }
9894 if iNdEx >= l {
9895 return io.ErrUnexpectedEOF
9896 }
9897 b := dAtA[iNdEx]
9898 iNdEx++
9899 wire |= uint64(b&0x7F) << shift
9900 if b < 0x80 {
9901 break
9902 }
9903 }
9904 fieldNum := int32(wire >> 3)
9905 wireType := int(wire & 0x7)
9906 if wireType == 4 {
9907 return fmt.Errorf("proto: IDRange: wiretype end group for non-group")
9908 }
9909 if fieldNum <= 0 {
9910 return fmt.Errorf("proto: IDRange: illegal tag %d (wire type %d)", fieldNum, wire)
9911 }
9912 switch fieldNum {
9913 case 1:
9914 if wireType != 0 {
9915 return fmt.Errorf("proto: wrong wireType = %d for field Min", wireType)
9916 }
9917 m.Min = 0
9918 for shift := uint(0); ; shift += 7 {
9919 if shift >= 64 {
9920 return ErrIntOverflowGenerated
9921 }
9922 if iNdEx >= l {
9923 return io.ErrUnexpectedEOF
9924 }
9925 b := dAtA[iNdEx]
9926 iNdEx++
9927 m.Min |= int64(b&0x7F) << shift
9928 if b < 0x80 {
9929 break
9930 }
9931 }
9932 case 2:
9933 if wireType != 0 {
9934 return fmt.Errorf("proto: wrong wireType = %d for field Max", wireType)
9935 }
9936 m.Max = 0
9937 for shift := uint(0); ; shift += 7 {
9938 if shift >= 64 {
9939 return ErrIntOverflowGenerated
9940 }
9941 if iNdEx >= l {
9942 return io.ErrUnexpectedEOF
9943 }
9944 b := dAtA[iNdEx]
9945 iNdEx++
9946 m.Max |= int64(b&0x7F) << shift
9947 if b < 0x80 {
9948 break
9949 }
9950 }
9951 default:
9952 iNdEx = preIndex
9953 skippy, err := skipGenerated(dAtA[iNdEx:])
9954 if err != nil {
9955 return err
9956 }
9957 if skippy < 0 {
9958 return ErrInvalidLengthGenerated
9959 }
9960 if (iNdEx + skippy) < 0 {
9961 return ErrInvalidLengthGenerated
9962 }
9963 if (iNdEx + skippy) > l {
9964 return io.ErrUnexpectedEOF
9965 }
9966 iNdEx += skippy
9967 }
9968 }
9969
9970 if iNdEx > l {
9971 return io.ErrUnexpectedEOF
9972 }
9973 return nil
9974}
9975func (m *IPBlock) Unmarshal(dAtA []byte) error {
9976 l := len(dAtA)
9977 iNdEx := 0
9978 for iNdEx < l {
9979 preIndex := iNdEx
9980 var wire uint64
9981 for shift := uint(0); ; shift += 7 {
9982 if shift >= 64 {
9983 return ErrIntOverflowGenerated
9984 }
9985 if iNdEx >= l {
9986 return io.ErrUnexpectedEOF
9987 }
9988 b := dAtA[iNdEx]
9989 iNdEx++
9990 wire |= uint64(b&0x7F) << shift
9991 if b < 0x80 {
9992 break
9993 }
9994 }
9995 fieldNum := int32(wire >> 3)
9996 wireType := int(wire & 0x7)
9997 if wireType == 4 {
9998 return fmt.Errorf("proto: IPBlock: wiretype end group for non-group")
9999 }
10000 if fieldNum <= 0 {
10001 return fmt.Errorf("proto: IPBlock: illegal tag %d (wire type %d)", fieldNum, wire)
10002 }
10003 switch fieldNum {
10004 case 1:
10005 if wireType != 2 {
10006 return fmt.Errorf("proto: wrong wireType = %d for field CIDR", wireType)
10007 }
10008 var stringLen uint64
10009 for shift := uint(0); ; shift += 7 {
10010 if shift >= 64 {
10011 return ErrIntOverflowGenerated
10012 }
10013 if iNdEx >= l {
10014 return io.ErrUnexpectedEOF
10015 }
10016 b := dAtA[iNdEx]
10017 iNdEx++
10018 stringLen |= uint64(b&0x7F) << shift
10019 if b < 0x80 {
10020 break
10021 }
10022 }
10023 intStringLen := int(stringLen)
10024 if intStringLen < 0 {
10025 return ErrInvalidLengthGenerated
10026 }
10027 postIndex := iNdEx + intStringLen
10028 if postIndex < 0 {
10029 return ErrInvalidLengthGenerated
10030 }
10031 if postIndex > l {
10032 return io.ErrUnexpectedEOF
10033 }
10034 m.CIDR = string(dAtA[iNdEx:postIndex])
10035 iNdEx = postIndex
10036 case 2:
10037 if wireType != 2 {
10038 return fmt.Errorf("proto: wrong wireType = %d for field Except", wireType)
10039 }
10040 var stringLen uint64
10041 for shift := uint(0); ; shift += 7 {
10042 if shift >= 64 {
10043 return ErrIntOverflowGenerated
10044 }
10045 if iNdEx >= l {
10046 return io.ErrUnexpectedEOF
10047 }
10048 b := dAtA[iNdEx]
10049 iNdEx++
10050 stringLen |= uint64(b&0x7F) << shift
10051 if b < 0x80 {
10052 break
10053 }
10054 }
10055 intStringLen := int(stringLen)
10056 if intStringLen < 0 {
10057 return ErrInvalidLengthGenerated
10058 }
10059 postIndex := iNdEx + intStringLen
10060 if postIndex < 0 {
10061 return ErrInvalidLengthGenerated
10062 }
10063 if postIndex > l {
10064 return io.ErrUnexpectedEOF
10065 }
10066 m.Except = append(m.Except, string(dAtA[iNdEx:postIndex]))
10067 iNdEx = postIndex
10068 default:
10069 iNdEx = preIndex
10070 skippy, err := skipGenerated(dAtA[iNdEx:])
10071 if err != nil {
10072 return err
10073 }
10074 if skippy < 0 {
10075 return ErrInvalidLengthGenerated
10076 }
10077 if (iNdEx + skippy) < 0 {
10078 return ErrInvalidLengthGenerated
10079 }
10080 if (iNdEx + skippy) > l {
10081 return io.ErrUnexpectedEOF
10082 }
10083 iNdEx += skippy
10084 }
10085 }
10086
10087 if iNdEx > l {
10088 return io.ErrUnexpectedEOF
10089 }
10090 return nil
10091}
10092func (m *Ingress) Unmarshal(dAtA []byte) error {
10093 l := len(dAtA)
10094 iNdEx := 0
10095 for iNdEx < l {
10096 preIndex := iNdEx
10097 var wire uint64
10098 for shift := uint(0); ; shift += 7 {
10099 if shift >= 64 {
10100 return ErrIntOverflowGenerated
10101 }
10102 if iNdEx >= l {
10103 return io.ErrUnexpectedEOF
10104 }
10105 b := dAtA[iNdEx]
10106 iNdEx++
10107 wire |= uint64(b&0x7F) << shift
10108 if b < 0x80 {
10109 break
10110 }
10111 }
10112 fieldNum := int32(wire >> 3)
10113 wireType := int(wire & 0x7)
10114 if wireType == 4 {
10115 return fmt.Errorf("proto: Ingress: wiretype end group for non-group")
10116 }
10117 if fieldNum <= 0 {
10118 return fmt.Errorf("proto: Ingress: illegal tag %d (wire type %d)", fieldNum, wire)
10119 }
10120 switch fieldNum {
10121 case 1:
10122 if wireType != 2 {
10123 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
10124 }
10125 var msglen int
10126 for shift := uint(0); ; shift += 7 {
10127 if shift >= 64 {
10128 return ErrIntOverflowGenerated
10129 }
10130 if iNdEx >= l {
10131 return io.ErrUnexpectedEOF
10132 }
10133 b := dAtA[iNdEx]
10134 iNdEx++
10135 msglen |= int(b&0x7F) << shift
10136 if b < 0x80 {
10137 break
10138 }
10139 }
10140 if msglen < 0 {
10141 return ErrInvalidLengthGenerated
10142 }
10143 postIndex := iNdEx + msglen
10144 if postIndex < 0 {
10145 return ErrInvalidLengthGenerated
10146 }
10147 if postIndex > l {
10148 return io.ErrUnexpectedEOF
10149 }
10150 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10151 return err
10152 }
10153 iNdEx = postIndex
10154 case 2:
10155 if wireType != 2 {
10156 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
10157 }
10158 var msglen int
10159 for shift := uint(0); ; shift += 7 {
10160 if shift >= 64 {
10161 return ErrIntOverflowGenerated
10162 }
10163 if iNdEx >= l {
10164 return io.ErrUnexpectedEOF
10165 }
10166 b := dAtA[iNdEx]
10167 iNdEx++
10168 msglen |= int(b&0x7F) << shift
10169 if b < 0x80 {
10170 break
10171 }
10172 }
10173 if msglen < 0 {
10174 return ErrInvalidLengthGenerated
10175 }
10176 postIndex := iNdEx + msglen
10177 if postIndex < 0 {
10178 return ErrInvalidLengthGenerated
10179 }
10180 if postIndex > l {
10181 return io.ErrUnexpectedEOF
10182 }
10183 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10184 return err
10185 }
10186 iNdEx = postIndex
10187 case 3:
10188 if wireType != 2 {
10189 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
10190 }
10191 var msglen int
10192 for shift := uint(0); ; shift += 7 {
10193 if shift >= 64 {
10194 return ErrIntOverflowGenerated
10195 }
10196 if iNdEx >= l {
10197 return io.ErrUnexpectedEOF
10198 }
10199 b := dAtA[iNdEx]
10200 iNdEx++
10201 msglen |= int(b&0x7F) << shift
10202 if b < 0x80 {
10203 break
10204 }
10205 }
10206 if msglen < 0 {
10207 return ErrInvalidLengthGenerated
10208 }
10209 postIndex := iNdEx + msglen
10210 if postIndex < 0 {
10211 return ErrInvalidLengthGenerated
10212 }
10213 if postIndex > l {
10214 return io.ErrUnexpectedEOF
10215 }
10216 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10217 return err
10218 }
10219 iNdEx = postIndex
10220 default:
10221 iNdEx = preIndex
10222 skippy, err := skipGenerated(dAtA[iNdEx:])
10223 if err != nil {
10224 return err
10225 }
10226 if skippy < 0 {
10227 return ErrInvalidLengthGenerated
10228 }
10229 if (iNdEx + skippy) < 0 {
10230 return ErrInvalidLengthGenerated
10231 }
10232 if (iNdEx + skippy) > l {
10233 return io.ErrUnexpectedEOF
10234 }
10235 iNdEx += skippy
10236 }
10237 }
10238
10239 if iNdEx > l {
10240 return io.ErrUnexpectedEOF
10241 }
10242 return nil
10243}
10244func (m *IngressBackend) Unmarshal(dAtA []byte) error {
10245 l := len(dAtA)
10246 iNdEx := 0
10247 for iNdEx < l {
10248 preIndex := iNdEx
10249 var wire uint64
10250 for shift := uint(0); ; shift += 7 {
10251 if shift >= 64 {
10252 return ErrIntOverflowGenerated
10253 }
10254 if iNdEx >= l {
10255 return io.ErrUnexpectedEOF
10256 }
10257 b := dAtA[iNdEx]
10258 iNdEx++
10259 wire |= uint64(b&0x7F) << shift
10260 if b < 0x80 {
10261 break
10262 }
10263 }
10264 fieldNum := int32(wire >> 3)
10265 wireType := int(wire & 0x7)
10266 if wireType == 4 {
10267 return fmt.Errorf("proto: IngressBackend: wiretype end group for non-group")
10268 }
10269 if fieldNum <= 0 {
10270 return fmt.Errorf("proto: IngressBackend: illegal tag %d (wire type %d)", fieldNum, wire)
10271 }
10272 switch fieldNum {
10273 case 1:
10274 if wireType != 2 {
10275 return fmt.Errorf("proto: wrong wireType = %d for field ServiceName", wireType)
10276 }
10277 var stringLen uint64
10278 for shift := uint(0); ; shift += 7 {
10279 if shift >= 64 {
10280 return ErrIntOverflowGenerated
10281 }
10282 if iNdEx >= l {
10283 return io.ErrUnexpectedEOF
10284 }
10285 b := dAtA[iNdEx]
10286 iNdEx++
10287 stringLen |= uint64(b&0x7F) << shift
10288 if b < 0x80 {
10289 break
10290 }
10291 }
10292 intStringLen := int(stringLen)
10293 if intStringLen < 0 {
10294 return ErrInvalidLengthGenerated
10295 }
10296 postIndex := iNdEx + intStringLen
10297 if postIndex < 0 {
10298 return ErrInvalidLengthGenerated
10299 }
10300 if postIndex > l {
10301 return io.ErrUnexpectedEOF
10302 }
10303 m.ServiceName = string(dAtA[iNdEx:postIndex])
10304 iNdEx = postIndex
10305 case 2:
10306 if wireType != 2 {
10307 return fmt.Errorf("proto: wrong wireType = %d for field ServicePort", wireType)
10308 }
10309 var msglen int
10310 for shift := uint(0); ; shift += 7 {
10311 if shift >= 64 {
10312 return ErrIntOverflowGenerated
10313 }
10314 if iNdEx >= l {
10315 return io.ErrUnexpectedEOF
10316 }
10317 b := dAtA[iNdEx]
10318 iNdEx++
10319 msglen |= int(b&0x7F) << shift
10320 if b < 0x80 {
10321 break
10322 }
10323 }
10324 if msglen < 0 {
10325 return ErrInvalidLengthGenerated
10326 }
10327 postIndex := iNdEx + msglen
10328 if postIndex < 0 {
10329 return ErrInvalidLengthGenerated
10330 }
10331 if postIndex > l {
10332 return io.ErrUnexpectedEOF
10333 }
10334 if err := m.ServicePort.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10335 return err
10336 }
10337 iNdEx = postIndex
10338 case 3:
10339 if wireType != 2 {
10340 return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
10341 }
10342 var msglen int
10343 for shift := uint(0); ; shift += 7 {
10344 if shift >= 64 {
10345 return ErrIntOverflowGenerated
10346 }
10347 if iNdEx >= l {
10348 return io.ErrUnexpectedEOF
10349 }
10350 b := dAtA[iNdEx]
10351 iNdEx++
10352 msglen |= int(b&0x7F) << shift
10353 if b < 0x80 {
10354 break
10355 }
10356 }
10357 if msglen < 0 {
10358 return ErrInvalidLengthGenerated
10359 }
10360 postIndex := iNdEx + msglen
10361 if postIndex < 0 {
10362 return ErrInvalidLengthGenerated
10363 }
10364 if postIndex > l {
10365 return io.ErrUnexpectedEOF
10366 }
10367 if m.Resource == nil {
10368 m.Resource = &v11.TypedLocalObjectReference{}
10369 }
10370 if err := m.Resource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10371 return err
10372 }
10373 iNdEx = postIndex
10374 default:
10375 iNdEx = preIndex
10376 skippy, err := skipGenerated(dAtA[iNdEx:])
10377 if err != nil {
10378 return err
10379 }
10380 if skippy < 0 {
10381 return ErrInvalidLengthGenerated
10382 }
10383 if (iNdEx + skippy) < 0 {
10384 return ErrInvalidLengthGenerated
10385 }
10386 if (iNdEx + skippy) > l {
10387 return io.ErrUnexpectedEOF
10388 }
10389 iNdEx += skippy
10390 }
10391 }
10392
10393 if iNdEx > l {
10394 return io.ErrUnexpectedEOF
10395 }
10396 return nil
10397}
10398func (m *IngressList) Unmarshal(dAtA []byte) error {
10399 l := len(dAtA)
10400 iNdEx := 0
10401 for iNdEx < l {
10402 preIndex := iNdEx
10403 var wire uint64
10404 for shift := uint(0); ; shift += 7 {
10405 if shift >= 64 {
10406 return ErrIntOverflowGenerated
10407 }
10408 if iNdEx >= l {
10409 return io.ErrUnexpectedEOF
10410 }
10411 b := dAtA[iNdEx]
10412 iNdEx++
10413 wire |= uint64(b&0x7F) << shift
10414 if b < 0x80 {
10415 break
10416 }
10417 }
10418 fieldNum := int32(wire >> 3)
10419 wireType := int(wire & 0x7)
10420 if wireType == 4 {
10421 return fmt.Errorf("proto: IngressList: wiretype end group for non-group")
10422 }
10423 if fieldNum <= 0 {
10424 return fmt.Errorf("proto: IngressList: illegal tag %d (wire type %d)", fieldNum, wire)
10425 }
10426 switch fieldNum {
10427 case 1:
10428 if wireType != 2 {
10429 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
10430 }
10431 var msglen int
10432 for shift := uint(0); ; shift += 7 {
10433 if shift >= 64 {
10434 return ErrIntOverflowGenerated
10435 }
10436 if iNdEx >= l {
10437 return io.ErrUnexpectedEOF
10438 }
10439 b := dAtA[iNdEx]
10440 iNdEx++
10441 msglen |= int(b&0x7F) << shift
10442 if b < 0x80 {
10443 break
10444 }
10445 }
10446 if msglen < 0 {
10447 return ErrInvalidLengthGenerated
10448 }
10449 postIndex := iNdEx + msglen
10450 if postIndex < 0 {
10451 return ErrInvalidLengthGenerated
10452 }
10453 if postIndex > l {
10454 return io.ErrUnexpectedEOF
10455 }
10456 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10457 return err
10458 }
10459 iNdEx = postIndex
10460 case 2:
10461 if wireType != 2 {
10462 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
10463 }
10464 var msglen int
10465 for shift := uint(0); ; shift += 7 {
10466 if shift >= 64 {
10467 return ErrIntOverflowGenerated
10468 }
10469 if iNdEx >= l {
10470 return io.ErrUnexpectedEOF
10471 }
10472 b := dAtA[iNdEx]
10473 iNdEx++
10474 msglen |= int(b&0x7F) << shift
10475 if b < 0x80 {
10476 break
10477 }
10478 }
10479 if msglen < 0 {
10480 return ErrInvalidLengthGenerated
10481 }
10482 postIndex := iNdEx + msglen
10483 if postIndex < 0 {
10484 return ErrInvalidLengthGenerated
10485 }
10486 if postIndex > l {
10487 return io.ErrUnexpectedEOF
10488 }
10489 m.Items = append(m.Items, Ingress{})
10490 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10491 return err
10492 }
10493 iNdEx = postIndex
10494 default:
10495 iNdEx = preIndex
10496 skippy, err := skipGenerated(dAtA[iNdEx:])
10497 if err != nil {
10498 return err
10499 }
10500 if skippy < 0 {
10501 return ErrInvalidLengthGenerated
10502 }
10503 if (iNdEx + skippy) < 0 {
10504 return ErrInvalidLengthGenerated
10505 }
10506 if (iNdEx + skippy) > l {
10507 return io.ErrUnexpectedEOF
10508 }
10509 iNdEx += skippy
10510 }
10511 }
10512
10513 if iNdEx > l {
10514 return io.ErrUnexpectedEOF
10515 }
10516 return nil
10517}
10518func (m *IngressRule) Unmarshal(dAtA []byte) error {
10519 l := len(dAtA)
10520 iNdEx := 0
10521 for iNdEx < l {
10522 preIndex := iNdEx
10523 var wire uint64
10524 for shift := uint(0); ; shift += 7 {
10525 if shift >= 64 {
10526 return ErrIntOverflowGenerated
10527 }
10528 if iNdEx >= l {
10529 return io.ErrUnexpectedEOF
10530 }
10531 b := dAtA[iNdEx]
10532 iNdEx++
10533 wire |= uint64(b&0x7F) << shift
10534 if b < 0x80 {
10535 break
10536 }
10537 }
10538 fieldNum := int32(wire >> 3)
10539 wireType := int(wire & 0x7)
10540 if wireType == 4 {
10541 return fmt.Errorf("proto: IngressRule: wiretype end group for non-group")
10542 }
10543 if fieldNum <= 0 {
10544 return fmt.Errorf("proto: IngressRule: illegal tag %d (wire type %d)", fieldNum, wire)
10545 }
10546 switch fieldNum {
10547 case 1:
10548 if wireType != 2 {
10549 return fmt.Errorf("proto: wrong wireType = %d for field Host", wireType)
10550 }
10551 var stringLen uint64
10552 for shift := uint(0); ; shift += 7 {
10553 if shift >= 64 {
10554 return ErrIntOverflowGenerated
10555 }
10556 if iNdEx >= l {
10557 return io.ErrUnexpectedEOF
10558 }
10559 b := dAtA[iNdEx]
10560 iNdEx++
10561 stringLen |= uint64(b&0x7F) << shift
10562 if b < 0x80 {
10563 break
10564 }
10565 }
10566 intStringLen := int(stringLen)
10567 if intStringLen < 0 {
10568 return ErrInvalidLengthGenerated
10569 }
10570 postIndex := iNdEx + intStringLen
10571 if postIndex < 0 {
10572 return ErrInvalidLengthGenerated
10573 }
10574 if postIndex > l {
10575 return io.ErrUnexpectedEOF
10576 }
10577 m.Host = string(dAtA[iNdEx:postIndex])
10578 iNdEx = postIndex
10579 case 2:
10580 if wireType != 2 {
10581 return fmt.Errorf("proto: wrong wireType = %d for field IngressRuleValue", wireType)
10582 }
10583 var msglen int
10584 for shift := uint(0); ; shift += 7 {
10585 if shift >= 64 {
10586 return ErrIntOverflowGenerated
10587 }
10588 if iNdEx >= l {
10589 return io.ErrUnexpectedEOF
10590 }
10591 b := dAtA[iNdEx]
10592 iNdEx++
10593 msglen |= int(b&0x7F) << shift
10594 if b < 0x80 {
10595 break
10596 }
10597 }
10598 if msglen < 0 {
10599 return ErrInvalidLengthGenerated
10600 }
10601 postIndex := iNdEx + msglen
10602 if postIndex < 0 {
10603 return ErrInvalidLengthGenerated
10604 }
10605 if postIndex > l {
10606 return io.ErrUnexpectedEOF
10607 }
10608 if err := m.IngressRuleValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10609 return err
10610 }
10611 iNdEx = postIndex
10612 default:
10613 iNdEx = preIndex
10614 skippy, err := skipGenerated(dAtA[iNdEx:])
10615 if err != nil {
10616 return err
10617 }
10618 if skippy < 0 {
10619 return ErrInvalidLengthGenerated
10620 }
10621 if (iNdEx + skippy) < 0 {
10622 return ErrInvalidLengthGenerated
10623 }
10624 if (iNdEx + skippy) > l {
10625 return io.ErrUnexpectedEOF
10626 }
10627 iNdEx += skippy
10628 }
10629 }
10630
10631 if iNdEx > l {
10632 return io.ErrUnexpectedEOF
10633 }
10634 return nil
10635}
10636func (m *IngressRuleValue) Unmarshal(dAtA []byte) error {
10637 l := len(dAtA)
10638 iNdEx := 0
10639 for iNdEx < l {
10640 preIndex := iNdEx
10641 var wire uint64
10642 for shift := uint(0); ; shift += 7 {
10643 if shift >= 64 {
10644 return ErrIntOverflowGenerated
10645 }
10646 if iNdEx >= l {
10647 return io.ErrUnexpectedEOF
10648 }
10649 b := dAtA[iNdEx]
10650 iNdEx++
10651 wire |= uint64(b&0x7F) << shift
10652 if b < 0x80 {
10653 break
10654 }
10655 }
10656 fieldNum := int32(wire >> 3)
10657 wireType := int(wire & 0x7)
10658 if wireType == 4 {
10659 return fmt.Errorf("proto: IngressRuleValue: wiretype end group for non-group")
10660 }
10661 if fieldNum <= 0 {
10662 return fmt.Errorf("proto: IngressRuleValue: illegal tag %d (wire type %d)", fieldNum, wire)
10663 }
10664 switch fieldNum {
10665 case 1:
10666 if wireType != 2 {
10667 return fmt.Errorf("proto: wrong wireType = %d for field HTTP", wireType)
10668 }
10669 var msglen int
10670 for shift := uint(0); ; shift += 7 {
10671 if shift >= 64 {
10672 return ErrIntOverflowGenerated
10673 }
10674 if iNdEx >= l {
10675 return io.ErrUnexpectedEOF
10676 }
10677 b := dAtA[iNdEx]
10678 iNdEx++
10679 msglen |= int(b&0x7F) << shift
10680 if b < 0x80 {
10681 break
10682 }
10683 }
10684 if msglen < 0 {
10685 return ErrInvalidLengthGenerated
10686 }
10687 postIndex := iNdEx + msglen
10688 if postIndex < 0 {
10689 return ErrInvalidLengthGenerated
10690 }
10691 if postIndex > l {
10692 return io.ErrUnexpectedEOF
10693 }
10694 if m.HTTP == nil {
10695 m.HTTP = &HTTPIngressRuleValue{}
10696 }
10697 if err := m.HTTP.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10698 return err
10699 }
10700 iNdEx = postIndex
10701 default:
10702 iNdEx = preIndex
10703 skippy, err := skipGenerated(dAtA[iNdEx:])
10704 if err != nil {
10705 return err
10706 }
10707 if skippy < 0 {
10708 return ErrInvalidLengthGenerated
10709 }
10710 if (iNdEx + skippy) < 0 {
10711 return ErrInvalidLengthGenerated
10712 }
10713 if (iNdEx + skippy) > l {
10714 return io.ErrUnexpectedEOF
10715 }
10716 iNdEx += skippy
10717 }
10718 }
10719
10720 if iNdEx > l {
10721 return io.ErrUnexpectedEOF
10722 }
10723 return nil
10724}
10725func (m *IngressSpec) Unmarshal(dAtA []byte) error {
10726 l := len(dAtA)
10727 iNdEx := 0
10728 for iNdEx < l {
10729 preIndex := iNdEx
10730 var wire uint64
10731 for shift := uint(0); ; shift += 7 {
10732 if shift >= 64 {
10733 return ErrIntOverflowGenerated
10734 }
10735 if iNdEx >= l {
10736 return io.ErrUnexpectedEOF
10737 }
10738 b := dAtA[iNdEx]
10739 iNdEx++
10740 wire |= uint64(b&0x7F) << shift
10741 if b < 0x80 {
10742 break
10743 }
10744 }
10745 fieldNum := int32(wire >> 3)
10746 wireType := int(wire & 0x7)
10747 if wireType == 4 {
10748 return fmt.Errorf("proto: IngressSpec: wiretype end group for non-group")
10749 }
10750 if fieldNum <= 0 {
10751 return fmt.Errorf("proto: IngressSpec: illegal tag %d (wire type %d)", fieldNum, wire)
10752 }
10753 switch fieldNum {
10754 case 1:
10755 if wireType != 2 {
10756 return fmt.Errorf("proto: wrong wireType = %d for field Backend", wireType)
10757 }
10758 var msglen int
10759 for shift := uint(0); ; shift += 7 {
10760 if shift >= 64 {
10761 return ErrIntOverflowGenerated
10762 }
10763 if iNdEx >= l {
10764 return io.ErrUnexpectedEOF
10765 }
10766 b := dAtA[iNdEx]
10767 iNdEx++
10768 msglen |= int(b&0x7F) << shift
10769 if b < 0x80 {
10770 break
10771 }
10772 }
10773 if msglen < 0 {
10774 return ErrInvalidLengthGenerated
10775 }
10776 postIndex := iNdEx + msglen
10777 if postIndex < 0 {
10778 return ErrInvalidLengthGenerated
10779 }
10780 if postIndex > l {
10781 return io.ErrUnexpectedEOF
10782 }
10783 if m.Backend == nil {
10784 m.Backend = &IngressBackend{}
10785 }
10786 if err := m.Backend.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10787 return err
10788 }
10789 iNdEx = postIndex
10790 case 2:
10791 if wireType != 2 {
10792 return fmt.Errorf("proto: wrong wireType = %d for field TLS", wireType)
10793 }
10794 var msglen int
10795 for shift := uint(0); ; shift += 7 {
10796 if shift >= 64 {
10797 return ErrIntOverflowGenerated
10798 }
10799 if iNdEx >= l {
10800 return io.ErrUnexpectedEOF
10801 }
10802 b := dAtA[iNdEx]
10803 iNdEx++
10804 msglen |= int(b&0x7F) << shift
10805 if b < 0x80 {
10806 break
10807 }
10808 }
10809 if msglen < 0 {
10810 return ErrInvalidLengthGenerated
10811 }
10812 postIndex := iNdEx + msglen
10813 if postIndex < 0 {
10814 return ErrInvalidLengthGenerated
10815 }
10816 if postIndex > l {
10817 return io.ErrUnexpectedEOF
10818 }
10819 m.TLS = append(m.TLS, IngressTLS{})
10820 if err := m.TLS[len(m.TLS)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10821 return err
10822 }
10823 iNdEx = postIndex
10824 case 3:
10825 if wireType != 2 {
10826 return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType)
10827 }
10828 var msglen int
10829 for shift := uint(0); ; shift += 7 {
10830 if shift >= 64 {
10831 return ErrIntOverflowGenerated
10832 }
10833 if iNdEx >= l {
10834 return io.ErrUnexpectedEOF
10835 }
10836 b := dAtA[iNdEx]
10837 iNdEx++
10838 msglen |= int(b&0x7F) << shift
10839 if b < 0x80 {
10840 break
10841 }
10842 }
10843 if msglen < 0 {
10844 return ErrInvalidLengthGenerated
10845 }
10846 postIndex := iNdEx + msglen
10847 if postIndex < 0 {
10848 return ErrInvalidLengthGenerated
10849 }
10850 if postIndex > l {
10851 return io.ErrUnexpectedEOF
10852 }
10853 m.Rules = append(m.Rules, IngressRule{})
10854 if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10855 return err
10856 }
10857 iNdEx = postIndex
10858 case 4:
10859 if wireType != 2 {
10860 return fmt.Errorf("proto: wrong wireType = %d for field IngressClassName", wireType)
10861 }
10862 var stringLen uint64
10863 for shift := uint(0); ; shift += 7 {
10864 if shift >= 64 {
10865 return ErrIntOverflowGenerated
10866 }
10867 if iNdEx >= l {
10868 return io.ErrUnexpectedEOF
10869 }
10870 b := dAtA[iNdEx]
10871 iNdEx++
10872 stringLen |= uint64(b&0x7F) << shift
10873 if b < 0x80 {
10874 break
10875 }
10876 }
10877 intStringLen := int(stringLen)
10878 if intStringLen < 0 {
10879 return ErrInvalidLengthGenerated
10880 }
10881 postIndex := iNdEx + intStringLen
10882 if postIndex < 0 {
10883 return ErrInvalidLengthGenerated
10884 }
10885 if postIndex > l {
10886 return io.ErrUnexpectedEOF
10887 }
10888 s := string(dAtA[iNdEx:postIndex])
10889 m.IngressClassName = &s
10890 iNdEx = postIndex
10891 default:
10892 iNdEx = preIndex
10893 skippy, err := skipGenerated(dAtA[iNdEx:])
10894 if err != nil {
10895 return err
10896 }
10897 if skippy < 0 {
10898 return ErrInvalidLengthGenerated
10899 }
10900 if (iNdEx + skippy) < 0 {
10901 return ErrInvalidLengthGenerated
10902 }
10903 if (iNdEx + skippy) > l {
10904 return io.ErrUnexpectedEOF
10905 }
10906 iNdEx += skippy
10907 }
10908 }
10909
10910 if iNdEx > l {
10911 return io.ErrUnexpectedEOF
10912 }
10913 return nil
10914}
10915func (m *IngressStatus) Unmarshal(dAtA []byte) error {
10916 l := len(dAtA)
10917 iNdEx := 0
10918 for iNdEx < l {
10919 preIndex := iNdEx
10920 var wire uint64
10921 for shift := uint(0); ; shift += 7 {
10922 if shift >= 64 {
10923 return ErrIntOverflowGenerated
10924 }
10925 if iNdEx >= l {
10926 return io.ErrUnexpectedEOF
10927 }
10928 b := dAtA[iNdEx]
10929 iNdEx++
10930 wire |= uint64(b&0x7F) << shift
10931 if b < 0x80 {
10932 break
10933 }
10934 }
10935 fieldNum := int32(wire >> 3)
10936 wireType := int(wire & 0x7)
10937 if wireType == 4 {
10938 return fmt.Errorf("proto: IngressStatus: wiretype end group for non-group")
10939 }
10940 if fieldNum <= 0 {
10941 return fmt.Errorf("proto: IngressStatus: illegal tag %d (wire type %d)", fieldNum, wire)
10942 }
10943 switch fieldNum {
10944 case 1:
10945 if wireType != 2 {
10946 return fmt.Errorf("proto: wrong wireType = %d for field LoadBalancer", wireType)
10947 }
10948 var msglen int
10949 for shift := uint(0); ; shift += 7 {
10950 if shift >= 64 {
10951 return ErrIntOverflowGenerated
10952 }
10953 if iNdEx >= l {
10954 return io.ErrUnexpectedEOF
10955 }
10956 b := dAtA[iNdEx]
10957 iNdEx++
10958 msglen |= int(b&0x7F) << shift
10959 if b < 0x80 {
10960 break
10961 }
10962 }
10963 if msglen < 0 {
10964 return ErrInvalidLengthGenerated
10965 }
10966 postIndex := iNdEx + msglen
10967 if postIndex < 0 {
10968 return ErrInvalidLengthGenerated
10969 }
10970 if postIndex > l {
10971 return io.ErrUnexpectedEOF
10972 }
10973 if err := m.LoadBalancer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
10974 return err
10975 }
10976 iNdEx = postIndex
10977 default:
10978 iNdEx = preIndex
10979 skippy, err := skipGenerated(dAtA[iNdEx:])
10980 if err != nil {
10981 return err
10982 }
10983 if skippy < 0 {
10984 return ErrInvalidLengthGenerated
10985 }
10986 if (iNdEx + skippy) < 0 {
10987 return ErrInvalidLengthGenerated
10988 }
10989 if (iNdEx + skippy) > l {
10990 return io.ErrUnexpectedEOF
10991 }
10992 iNdEx += skippy
10993 }
10994 }
10995
10996 if iNdEx > l {
10997 return io.ErrUnexpectedEOF
10998 }
10999 return nil
11000}
11001func (m *IngressTLS) Unmarshal(dAtA []byte) error {
11002 l := len(dAtA)
11003 iNdEx := 0
11004 for iNdEx < l {
11005 preIndex := iNdEx
11006 var wire uint64
11007 for shift := uint(0); ; shift += 7 {
11008 if shift >= 64 {
11009 return ErrIntOverflowGenerated
11010 }
11011 if iNdEx >= l {
11012 return io.ErrUnexpectedEOF
11013 }
11014 b := dAtA[iNdEx]
11015 iNdEx++
11016 wire |= uint64(b&0x7F) << shift
11017 if b < 0x80 {
11018 break
11019 }
11020 }
11021 fieldNum := int32(wire >> 3)
11022 wireType := int(wire & 0x7)
11023 if wireType == 4 {
11024 return fmt.Errorf("proto: IngressTLS: wiretype end group for non-group")
11025 }
11026 if fieldNum <= 0 {
11027 return fmt.Errorf("proto: IngressTLS: illegal tag %d (wire type %d)", fieldNum, wire)
11028 }
11029 switch fieldNum {
11030 case 1:
11031 if wireType != 2 {
11032 return fmt.Errorf("proto: wrong wireType = %d for field Hosts", wireType)
11033 }
11034 var stringLen uint64
11035 for shift := uint(0); ; shift += 7 {
11036 if shift >= 64 {
11037 return ErrIntOverflowGenerated
11038 }
11039 if iNdEx >= l {
11040 return io.ErrUnexpectedEOF
11041 }
11042 b := dAtA[iNdEx]
11043 iNdEx++
11044 stringLen |= uint64(b&0x7F) << shift
11045 if b < 0x80 {
11046 break
11047 }
11048 }
11049 intStringLen := int(stringLen)
11050 if intStringLen < 0 {
11051 return ErrInvalidLengthGenerated
11052 }
11053 postIndex := iNdEx + intStringLen
11054 if postIndex < 0 {
11055 return ErrInvalidLengthGenerated
11056 }
11057 if postIndex > l {
11058 return io.ErrUnexpectedEOF
11059 }
11060 m.Hosts = append(m.Hosts, string(dAtA[iNdEx:postIndex]))
11061 iNdEx = postIndex
11062 case 2:
11063 if wireType != 2 {
11064 return fmt.Errorf("proto: wrong wireType = %d for field SecretName", wireType)
11065 }
11066 var stringLen uint64
11067 for shift := uint(0); ; shift += 7 {
11068 if shift >= 64 {
11069 return ErrIntOverflowGenerated
11070 }
11071 if iNdEx >= l {
11072 return io.ErrUnexpectedEOF
11073 }
11074 b := dAtA[iNdEx]
11075 iNdEx++
11076 stringLen |= uint64(b&0x7F) << shift
11077 if b < 0x80 {
11078 break
11079 }
11080 }
11081 intStringLen := int(stringLen)
11082 if intStringLen < 0 {
11083 return ErrInvalidLengthGenerated
11084 }
11085 postIndex := iNdEx + intStringLen
11086 if postIndex < 0 {
11087 return ErrInvalidLengthGenerated
11088 }
11089 if postIndex > l {
11090 return io.ErrUnexpectedEOF
11091 }
11092 m.SecretName = string(dAtA[iNdEx:postIndex])
11093 iNdEx = postIndex
11094 default:
11095 iNdEx = preIndex
11096 skippy, err := skipGenerated(dAtA[iNdEx:])
11097 if err != nil {
11098 return err
11099 }
11100 if skippy < 0 {
11101 return ErrInvalidLengthGenerated
11102 }
11103 if (iNdEx + skippy) < 0 {
11104 return ErrInvalidLengthGenerated
11105 }
11106 if (iNdEx + skippy) > l {
11107 return io.ErrUnexpectedEOF
11108 }
11109 iNdEx += skippy
11110 }
11111 }
11112
11113 if iNdEx > l {
11114 return io.ErrUnexpectedEOF
11115 }
11116 return nil
11117}
11118func (m *NetworkPolicy) Unmarshal(dAtA []byte) error {
11119 l := len(dAtA)
11120 iNdEx := 0
11121 for iNdEx < l {
11122 preIndex := iNdEx
11123 var wire uint64
11124 for shift := uint(0); ; shift += 7 {
11125 if shift >= 64 {
11126 return ErrIntOverflowGenerated
11127 }
11128 if iNdEx >= l {
11129 return io.ErrUnexpectedEOF
11130 }
11131 b := dAtA[iNdEx]
11132 iNdEx++
11133 wire |= uint64(b&0x7F) << shift
11134 if b < 0x80 {
11135 break
11136 }
11137 }
11138 fieldNum := int32(wire >> 3)
11139 wireType := int(wire & 0x7)
11140 if wireType == 4 {
11141 return fmt.Errorf("proto: NetworkPolicy: wiretype end group for non-group")
11142 }
11143 if fieldNum <= 0 {
11144 return fmt.Errorf("proto: NetworkPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
11145 }
11146 switch fieldNum {
11147 case 1:
11148 if wireType != 2 {
11149 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
11150 }
11151 var msglen int
11152 for shift := uint(0); ; shift += 7 {
11153 if shift >= 64 {
11154 return ErrIntOverflowGenerated
11155 }
11156 if iNdEx >= l {
11157 return io.ErrUnexpectedEOF
11158 }
11159 b := dAtA[iNdEx]
11160 iNdEx++
11161 msglen |= int(b&0x7F) << shift
11162 if b < 0x80 {
11163 break
11164 }
11165 }
11166 if msglen < 0 {
11167 return ErrInvalidLengthGenerated
11168 }
11169 postIndex := iNdEx + msglen
11170 if postIndex < 0 {
11171 return ErrInvalidLengthGenerated
11172 }
11173 if postIndex > l {
11174 return io.ErrUnexpectedEOF
11175 }
11176 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11177 return err
11178 }
11179 iNdEx = postIndex
11180 case 2:
11181 if wireType != 2 {
11182 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
11183 }
11184 var msglen int
11185 for shift := uint(0); ; shift += 7 {
11186 if shift >= 64 {
11187 return ErrIntOverflowGenerated
11188 }
11189 if iNdEx >= l {
11190 return io.ErrUnexpectedEOF
11191 }
11192 b := dAtA[iNdEx]
11193 iNdEx++
11194 msglen |= int(b&0x7F) << shift
11195 if b < 0x80 {
11196 break
11197 }
11198 }
11199 if msglen < 0 {
11200 return ErrInvalidLengthGenerated
11201 }
11202 postIndex := iNdEx + msglen
11203 if postIndex < 0 {
11204 return ErrInvalidLengthGenerated
11205 }
11206 if postIndex > l {
11207 return io.ErrUnexpectedEOF
11208 }
11209 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11210 return err
11211 }
11212 iNdEx = postIndex
11213 default:
11214 iNdEx = preIndex
11215 skippy, err := skipGenerated(dAtA[iNdEx:])
11216 if err != nil {
11217 return err
11218 }
11219 if skippy < 0 {
11220 return ErrInvalidLengthGenerated
11221 }
11222 if (iNdEx + skippy) < 0 {
11223 return ErrInvalidLengthGenerated
11224 }
11225 if (iNdEx + skippy) > l {
11226 return io.ErrUnexpectedEOF
11227 }
11228 iNdEx += skippy
11229 }
11230 }
11231
11232 if iNdEx > l {
11233 return io.ErrUnexpectedEOF
11234 }
11235 return nil
11236}
11237func (m *NetworkPolicyEgressRule) Unmarshal(dAtA []byte) error {
11238 l := len(dAtA)
11239 iNdEx := 0
11240 for iNdEx < l {
11241 preIndex := iNdEx
11242 var wire uint64
11243 for shift := uint(0); ; shift += 7 {
11244 if shift >= 64 {
11245 return ErrIntOverflowGenerated
11246 }
11247 if iNdEx >= l {
11248 return io.ErrUnexpectedEOF
11249 }
11250 b := dAtA[iNdEx]
11251 iNdEx++
11252 wire |= uint64(b&0x7F) << shift
11253 if b < 0x80 {
11254 break
11255 }
11256 }
11257 fieldNum := int32(wire >> 3)
11258 wireType := int(wire & 0x7)
11259 if wireType == 4 {
11260 return fmt.Errorf("proto: NetworkPolicyEgressRule: wiretype end group for non-group")
11261 }
11262 if fieldNum <= 0 {
11263 return fmt.Errorf("proto: NetworkPolicyEgressRule: illegal tag %d (wire type %d)", fieldNum, wire)
11264 }
11265 switch fieldNum {
11266 case 1:
11267 if wireType != 2 {
11268 return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
11269 }
11270 var msglen int
11271 for shift := uint(0); ; shift += 7 {
11272 if shift >= 64 {
11273 return ErrIntOverflowGenerated
11274 }
11275 if iNdEx >= l {
11276 return io.ErrUnexpectedEOF
11277 }
11278 b := dAtA[iNdEx]
11279 iNdEx++
11280 msglen |= int(b&0x7F) << shift
11281 if b < 0x80 {
11282 break
11283 }
11284 }
11285 if msglen < 0 {
11286 return ErrInvalidLengthGenerated
11287 }
11288 postIndex := iNdEx + msglen
11289 if postIndex < 0 {
11290 return ErrInvalidLengthGenerated
11291 }
11292 if postIndex > l {
11293 return io.ErrUnexpectedEOF
11294 }
11295 m.Ports = append(m.Ports, NetworkPolicyPort{})
11296 if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11297 return err
11298 }
11299 iNdEx = postIndex
11300 case 2:
11301 if wireType != 2 {
11302 return fmt.Errorf("proto: wrong wireType = %d for field To", wireType)
11303 }
11304 var msglen int
11305 for shift := uint(0); ; shift += 7 {
11306 if shift >= 64 {
11307 return ErrIntOverflowGenerated
11308 }
11309 if iNdEx >= l {
11310 return io.ErrUnexpectedEOF
11311 }
11312 b := dAtA[iNdEx]
11313 iNdEx++
11314 msglen |= int(b&0x7F) << shift
11315 if b < 0x80 {
11316 break
11317 }
11318 }
11319 if msglen < 0 {
11320 return ErrInvalidLengthGenerated
11321 }
11322 postIndex := iNdEx + msglen
11323 if postIndex < 0 {
11324 return ErrInvalidLengthGenerated
11325 }
11326 if postIndex > l {
11327 return io.ErrUnexpectedEOF
11328 }
11329 m.To = append(m.To, NetworkPolicyPeer{})
11330 if err := m.To[len(m.To)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11331 return err
11332 }
11333 iNdEx = postIndex
11334 default:
11335 iNdEx = preIndex
11336 skippy, err := skipGenerated(dAtA[iNdEx:])
11337 if err != nil {
11338 return err
11339 }
11340 if skippy < 0 {
11341 return ErrInvalidLengthGenerated
11342 }
11343 if (iNdEx + skippy) < 0 {
11344 return ErrInvalidLengthGenerated
11345 }
11346 if (iNdEx + skippy) > l {
11347 return io.ErrUnexpectedEOF
11348 }
11349 iNdEx += skippy
11350 }
11351 }
11352
11353 if iNdEx > l {
11354 return io.ErrUnexpectedEOF
11355 }
11356 return nil
11357}
11358func (m *NetworkPolicyIngressRule) Unmarshal(dAtA []byte) error {
11359 l := len(dAtA)
11360 iNdEx := 0
11361 for iNdEx < l {
11362 preIndex := iNdEx
11363 var wire uint64
11364 for shift := uint(0); ; shift += 7 {
11365 if shift >= 64 {
11366 return ErrIntOverflowGenerated
11367 }
11368 if iNdEx >= l {
11369 return io.ErrUnexpectedEOF
11370 }
11371 b := dAtA[iNdEx]
11372 iNdEx++
11373 wire |= uint64(b&0x7F) << shift
11374 if b < 0x80 {
11375 break
11376 }
11377 }
11378 fieldNum := int32(wire >> 3)
11379 wireType := int(wire & 0x7)
11380 if wireType == 4 {
11381 return fmt.Errorf("proto: NetworkPolicyIngressRule: wiretype end group for non-group")
11382 }
11383 if fieldNum <= 0 {
11384 return fmt.Errorf("proto: NetworkPolicyIngressRule: illegal tag %d (wire type %d)", fieldNum, wire)
11385 }
11386 switch fieldNum {
11387 case 1:
11388 if wireType != 2 {
11389 return fmt.Errorf("proto: wrong wireType = %d for field Ports", wireType)
11390 }
11391 var msglen int
11392 for shift := uint(0); ; shift += 7 {
11393 if shift >= 64 {
11394 return ErrIntOverflowGenerated
11395 }
11396 if iNdEx >= l {
11397 return io.ErrUnexpectedEOF
11398 }
11399 b := dAtA[iNdEx]
11400 iNdEx++
11401 msglen |= int(b&0x7F) << shift
11402 if b < 0x80 {
11403 break
11404 }
11405 }
11406 if msglen < 0 {
11407 return ErrInvalidLengthGenerated
11408 }
11409 postIndex := iNdEx + msglen
11410 if postIndex < 0 {
11411 return ErrInvalidLengthGenerated
11412 }
11413 if postIndex > l {
11414 return io.ErrUnexpectedEOF
11415 }
11416 m.Ports = append(m.Ports, NetworkPolicyPort{})
11417 if err := m.Ports[len(m.Ports)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11418 return err
11419 }
11420 iNdEx = postIndex
11421 case 2:
11422 if wireType != 2 {
11423 return fmt.Errorf("proto: wrong wireType = %d for field From", wireType)
11424 }
11425 var msglen int
11426 for shift := uint(0); ; shift += 7 {
11427 if shift >= 64 {
11428 return ErrIntOverflowGenerated
11429 }
11430 if iNdEx >= l {
11431 return io.ErrUnexpectedEOF
11432 }
11433 b := dAtA[iNdEx]
11434 iNdEx++
11435 msglen |= int(b&0x7F) << shift
11436 if b < 0x80 {
11437 break
11438 }
11439 }
11440 if msglen < 0 {
11441 return ErrInvalidLengthGenerated
11442 }
11443 postIndex := iNdEx + msglen
11444 if postIndex < 0 {
11445 return ErrInvalidLengthGenerated
11446 }
11447 if postIndex > l {
11448 return io.ErrUnexpectedEOF
11449 }
11450 m.From = append(m.From, NetworkPolicyPeer{})
11451 if err := m.From[len(m.From)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11452 return err
11453 }
11454 iNdEx = postIndex
11455 default:
11456 iNdEx = preIndex
11457 skippy, err := skipGenerated(dAtA[iNdEx:])
11458 if err != nil {
11459 return err
11460 }
11461 if skippy < 0 {
11462 return ErrInvalidLengthGenerated
11463 }
11464 if (iNdEx + skippy) < 0 {
11465 return ErrInvalidLengthGenerated
11466 }
11467 if (iNdEx + skippy) > l {
11468 return io.ErrUnexpectedEOF
11469 }
11470 iNdEx += skippy
11471 }
11472 }
11473
11474 if iNdEx > l {
11475 return io.ErrUnexpectedEOF
11476 }
11477 return nil
11478}
11479func (m *NetworkPolicyList) Unmarshal(dAtA []byte) error {
11480 l := len(dAtA)
11481 iNdEx := 0
11482 for iNdEx < l {
11483 preIndex := iNdEx
11484 var wire uint64
11485 for shift := uint(0); ; shift += 7 {
11486 if shift >= 64 {
11487 return ErrIntOverflowGenerated
11488 }
11489 if iNdEx >= l {
11490 return io.ErrUnexpectedEOF
11491 }
11492 b := dAtA[iNdEx]
11493 iNdEx++
11494 wire |= uint64(b&0x7F) << shift
11495 if b < 0x80 {
11496 break
11497 }
11498 }
11499 fieldNum := int32(wire >> 3)
11500 wireType := int(wire & 0x7)
11501 if wireType == 4 {
11502 return fmt.Errorf("proto: NetworkPolicyList: wiretype end group for non-group")
11503 }
11504 if fieldNum <= 0 {
11505 return fmt.Errorf("proto: NetworkPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
11506 }
11507 switch fieldNum {
11508 case 1:
11509 if wireType != 2 {
11510 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
11511 }
11512 var msglen int
11513 for shift := uint(0); ; shift += 7 {
11514 if shift >= 64 {
11515 return ErrIntOverflowGenerated
11516 }
11517 if iNdEx >= l {
11518 return io.ErrUnexpectedEOF
11519 }
11520 b := dAtA[iNdEx]
11521 iNdEx++
11522 msglen |= int(b&0x7F) << shift
11523 if b < 0x80 {
11524 break
11525 }
11526 }
11527 if msglen < 0 {
11528 return ErrInvalidLengthGenerated
11529 }
11530 postIndex := iNdEx + msglen
11531 if postIndex < 0 {
11532 return ErrInvalidLengthGenerated
11533 }
11534 if postIndex > l {
11535 return io.ErrUnexpectedEOF
11536 }
11537 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11538 return err
11539 }
11540 iNdEx = postIndex
11541 case 2:
11542 if wireType != 2 {
11543 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
11544 }
11545 var msglen int
11546 for shift := uint(0); ; shift += 7 {
11547 if shift >= 64 {
11548 return ErrIntOverflowGenerated
11549 }
11550 if iNdEx >= l {
11551 return io.ErrUnexpectedEOF
11552 }
11553 b := dAtA[iNdEx]
11554 iNdEx++
11555 msglen |= int(b&0x7F) << shift
11556 if b < 0x80 {
11557 break
11558 }
11559 }
11560 if msglen < 0 {
11561 return ErrInvalidLengthGenerated
11562 }
11563 postIndex := iNdEx + msglen
11564 if postIndex < 0 {
11565 return ErrInvalidLengthGenerated
11566 }
11567 if postIndex > l {
11568 return io.ErrUnexpectedEOF
11569 }
11570 m.Items = append(m.Items, NetworkPolicy{})
11571 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11572 return err
11573 }
11574 iNdEx = postIndex
11575 default:
11576 iNdEx = preIndex
11577 skippy, err := skipGenerated(dAtA[iNdEx:])
11578 if err != nil {
11579 return err
11580 }
11581 if skippy < 0 {
11582 return ErrInvalidLengthGenerated
11583 }
11584 if (iNdEx + skippy) < 0 {
11585 return ErrInvalidLengthGenerated
11586 }
11587 if (iNdEx + skippy) > l {
11588 return io.ErrUnexpectedEOF
11589 }
11590 iNdEx += skippy
11591 }
11592 }
11593
11594 if iNdEx > l {
11595 return io.ErrUnexpectedEOF
11596 }
11597 return nil
11598}
11599func (m *NetworkPolicyPeer) Unmarshal(dAtA []byte) error {
11600 l := len(dAtA)
11601 iNdEx := 0
11602 for iNdEx < l {
11603 preIndex := iNdEx
11604 var wire uint64
11605 for shift := uint(0); ; shift += 7 {
11606 if shift >= 64 {
11607 return ErrIntOverflowGenerated
11608 }
11609 if iNdEx >= l {
11610 return io.ErrUnexpectedEOF
11611 }
11612 b := dAtA[iNdEx]
11613 iNdEx++
11614 wire |= uint64(b&0x7F) << shift
11615 if b < 0x80 {
11616 break
11617 }
11618 }
11619 fieldNum := int32(wire >> 3)
11620 wireType := int(wire & 0x7)
11621 if wireType == 4 {
11622 return fmt.Errorf("proto: NetworkPolicyPeer: wiretype end group for non-group")
11623 }
11624 if fieldNum <= 0 {
11625 return fmt.Errorf("proto: NetworkPolicyPeer: illegal tag %d (wire type %d)", fieldNum, wire)
11626 }
11627 switch fieldNum {
11628 case 1:
11629 if wireType != 2 {
11630 return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType)
11631 }
11632 var msglen int
11633 for shift := uint(0); ; shift += 7 {
11634 if shift >= 64 {
11635 return ErrIntOverflowGenerated
11636 }
11637 if iNdEx >= l {
11638 return io.ErrUnexpectedEOF
11639 }
11640 b := dAtA[iNdEx]
11641 iNdEx++
11642 msglen |= int(b&0x7F) << shift
11643 if b < 0x80 {
11644 break
11645 }
11646 }
11647 if msglen < 0 {
11648 return ErrInvalidLengthGenerated
11649 }
11650 postIndex := iNdEx + msglen
11651 if postIndex < 0 {
11652 return ErrInvalidLengthGenerated
11653 }
11654 if postIndex > l {
11655 return io.ErrUnexpectedEOF
11656 }
11657 if m.PodSelector == nil {
11658 m.PodSelector = &v1.LabelSelector{}
11659 }
11660 if err := m.PodSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11661 return err
11662 }
11663 iNdEx = postIndex
11664 case 2:
11665 if wireType != 2 {
11666 return fmt.Errorf("proto: wrong wireType = %d for field NamespaceSelector", wireType)
11667 }
11668 var msglen int
11669 for shift := uint(0); ; shift += 7 {
11670 if shift >= 64 {
11671 return ErrIntOverflowGenerated
11672 }
11673 if iNdEx >= l {
11674 return io.ErrUnexpectedEOF
11675 }
11676 b := dAtA[iNdEx]
11677 iNdEx++
11678 msglen |= int(b&0x7F) << shift
11679 if b < 0x80 {
11680 break
11681 }
11682 }
11683 if msglen < 0 {
11684 return ErrInvalidLengthGenerated
11685 }
11686 postIndex := iNdEx + msglen
11687 if postIndex < 0 {
11688 return ErrInvalidLengthGenerated
11689 }
11690 if postIndex > l {
11691 return io.ErrUnexpectedEOF
11692 }
11693 if m.NamespaceSelector == nil {
11694 m.NamespaceSelector = &v1.LabelSelector{}
11695 }
11696 if err := m.NamespaceSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11697 return err
11698 }
11699 iNdEx = postIndex
11700 case 3:
11701 if wireType != 2 {
11702 return fmt.Errorf("proto: wrong wireType = %d for field IPBlock", wireType)
11703 }
11704 var msglen int
11705 for shift := uint(0); ; shift += 7 {
11706 if shift >= 64 {
11707 return ErrIntOverflowGenerated
11708 }
11709 if iNdEx >= l {
11710 return io.ErrUnexpectedEOF
11711 }
11712 b := dAtA[iNdEx]
11713 iNdEx++
11714 msglen |= int(b&0x7F) << shift
11715 if b < 0x80 {
11716 break
11717 }
11718 }
11719 if msglen < 0 {
11720 return ErrInvalidLengthGenerated
11721 }
11722 postIndex := iNdEx + msglen
11723 if postIndex < 0 {
11724 return ErrInvalidLengthGenerated
11725 }
11726 if postIndex > l {
11727 return io.ErrUnexpectedEOF
11728 }
11729 if m.IPBlock == nil {
11730 m.IPBlock = &IPBlock{}
11731 }
11732 if err := m.IPBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11733 return err
11734 }
11735 iNdEx = postIndex
11736 default:
11737 iNdEx = preIndex
11738 skippy, err := skipGenerated(dAtA[iNdEx:])
11739 if err != nil {
11740 return err
11741 }
11742 if skippy < 0 {
11743 return ErrInvalidLengthGenerated
11744 }
11745 if (iNdEx + skippy) < 0 {
11746 return ErrInvalidLengthGenerated
11747 }
11748 if (iNdEx + skippy) > l {
11749 return io.ErrUnexpectedEOF
11750 }
11751 iNdEx += skippy
11752 }
11753 }
11754
11755 if iNdEx > l {
11756 return io.ErrUnexpectedEOF
11757 }
11758 return nil
11759}
11760func (m *NetworkPolicyPort) Unmarshal(dAtA []byte) error {
11761 l := len(dAtA)
11762 iNdEx := 0
11763 for iNdEx < l {
11764 preIndex := iNdEx
11765 var wire uint64
11766 for shift := uint(0); ; shift += 7 {
11767 if shift >= 64 {
11768 return ErrIntOverflowGenerated
11769 }
11770 if iNdEx >= l {
11771 return io.ErrUnexpectedEOF
11772 }
11773 b := dAtA[iNdEx]
11774 iNdEx++
11775 wire |= uint64(b&0x7F) << shift
11776 if b < 0x80 {
11777 break
11778 }
11779 }
11780 fieldNum := int32(wire >> 3)
11781 wireType := int(wire & 0x7)
11782 if wireType == 4 {
11783 return fmt.Errorf("proto: NetworkPolicyPort: wiretype end group for non-group")
11784 }
11785 if fieldNum <= 0 {
11786 return fmt.Errorf("proto: NetworkPolicyPort: illegal tag %d (wire type %d)", fieldNum, wire)
11787 }
11788 switch fieldNum {
11789 case 1:
11790 if wireType != 2 {
11791 return fmt.Errorf("proto: wrong wireType = %d for field Protocol", wireType)
11792 }
11793 var stringLen uint64
11794 for shift := uint(0); ; shift += 7 {
11795 if shift >= 64 {
11796 return ErrIntOverflowGenerated
11797 }
11798 if iNdEx >= l {
11799 return io.ErrUnexpectedEOF
11800 }
11801 b := dAtA[iNdEx]
11802 iNdEx++
11803 stringLen |= uint64(b&0x7F) << shift
11804 if b < 0x80 {
11805 break
11806 }
11807 }
11808 intStringLen := int(stringLen)
11809 if intStringLen < 0 {
11810 return ErrInvalidLengthGenerated
11811 }
11812 postIndex := iNdEx + intStringLen
11813 if postIndex < 0 {
11814 return ErrInvalidLengthGenerated
11815 }
11816 if postIndex > l {
11817 return io.ErrUnexpectedEOF
11818 }
11819 s := k8s_io_api_core_v1.Protocol(dAtA[iNdEx:postIndex])
11820 m.Protocol = &s
11821 iNdEx = postIndex
11822 case 2:
11823 if wireType != 2 {
11824 return fmt.Errorf("proto: wrong wireType = %d for field Port", wireType)
11825 }
11826 var msglen int
11827 for shift := uint(0); ; shift += 7 {
11828 if shift >= 64 {
11829 return ErrIntOverflowGenerated
11830 }
11831 if iNdEx >= l {
11832 return io.ErrUnexpectedEOF
11833 }
11834 b := dAtA[iNdEx]
11835 iNdEx++
11836 msglen |= int(b&0x7F) << shift
11837 if b < 0x80 {
11838 break
11839 }
11840 }
11841 if msglen < 0 {
11842 return ErrInvalidLengthGenerated
11843 }
11844 postIndex := iNdEx + msglen
11845 if postIndex < 0 {
11846 return ErrInvalidLengthGenerated
11847 }
11848 if postIndex > l {
11849 return io.ErrUnexpectedEOF
11850 }
11851 if m.Port == nil {
11852 m.Port = &intstr.IntOrString{}
11853 }
11854 if err := m.Port.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11855 return err
11856 }
11857 iNdEx = postIndex
11858 default:
11859 iNdEx = preIndex
11860 skippy, err := skipGenerated(dAtA[iNdEx:])
11861 if err != nil {
11862 return err
11863 }
11864 if skippy < 0 {
11865 return ErrInvalidLengthGenerated
11866 }
11867 if (iNdEx + skippy) < 0 {
11868 return ErrInvalidLengthGenerated
11869 }
11870 if (iNdEx + skippy) > l {
11871 return io.ErrUnexpectedEOF
11872 }
11873 iNdEx += skippy
11874 }
11875 }
11876
11877 if iNdEx > l {
11878 return io.ErrUnexpectedEOF
11879 }
11880 return nil
11881}
11882func (m *NetworkPolicySpec) Unmarshal(dAtA []byte) error {
11883 l := len(dAtA)
11884 iNdEx := 0
11885 for iNdEx < l {
11886 preIndex := iNdEx
11887 var wire uint64
11888 for shift := uint(0); ; shift += 7 {
11889 if shift >= 64 {
11890 return ErrIntOverflowGenerated
11891 }
11892 if iNdEx >= l {
11893 return io.ErrUnexpectedEOF
11894 }
11895 b := dAtA[iNdEx]
11896 iNdEx++
11897 wire |= uint64(b&0x7F) << shift
11898 if b < 0x80 {
11899 break
11900 }
11901 }
11902 fieldNum := int32(wire >> 3)
11903 wireType := int(wire & 0x7)
11904 if wireType == 4 {
11905 return fmt.Errorf("proto: NetworkPolicySpec: wiretype end group for non-group")
11906 }
11907 if fieldNum <= 0 {
11908 return fmt.Errorf("proto: NetworkPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
11909 }
11910 switch fieldNum {
11911 case 1:
11912 if wireType != 2 {
11913 return fmt.Errorf("proto: wrong wireType = %d for field PodSelector", wireType)
11914 }
11915 var msglen int
11916 for shift := uint(0); ; shift += 7 {
11917 if shift >= 64 {
11918 return ErrIntOverflowGenerated
11919 }
11920 if iNdEx >= l {
11921 return io.ErrUnexpectedEOF
11922 }
11923 b := dAtA[iNdEx]
11924 iNdEx++
11925 msglen |= int(b&0x7F) << shift
11926 if b < 0x80 {
11927 break
11928 }
11929 }
11930 if msglen < 0 {
11931 return ErrInvalidLengthGenerated
11932 }
11933 postIndex := iNdEx + msglen
11934 if postIndex < 0 {
11935 return ErrInvalidLengthGenerated
11936 }
11937 if postIndex > l {
11938 return io.ErrUnexpectedEOF
11939 }
11940 if err := m.PodSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11941 return err
11942 }
11943 iNdEx = postIndex
11944 case 2:
11945 if wireType != 2 {
11946 return fmt.Errorf("proto: wrong wireType = %d for field Ingress", wireType)
11947 }
11948 var msglen int
11949 for shift := uint(0); ; shift += 7 {
11950 if shift >= 64 {
11951 return ErrIntOverflowGenerated
11952 }
11953 if iNdEx >= l {
11954 return io.ErrUnexpectedEOF
11955 }
11956 b := dAtA[iNdEx]
11957 iNdEx++
11958 msglen |= int(b&0x7F) << shift
11959 if b < 0x80 {
11960 break
11961 }
11962 }
11963 if msglen < 0 {
11964 return ErrInvalidLengthGenerated
11965 }
11966 postIndex := iNdEx + msglen
11967 if postIndex < 0 {
11968 return ErrInvalidLengthGenerated
11969 }
11970 if postIndex > l {
11971 return io.ErrUnexpectedEOF
11972 }
11973 m.Ingress = append(m.Ingress, NetworkPolicyIngressRule{})
11974 if err := m.Ingress[len(m.Ingress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
11975 return err
11976 }
11977 iNdEx = postIndex
11978 case 3:
11979 if wireType != 2 {
11980 return fmt.Errorf("proto: wrong wireType = %d for field Egress", wireType)
11981 }
11982 var msglen int
11983 for shift := uint(0); ; shift += 7 {
11984 if shift >= 64 {
11985 return ErrIntOverflowGenerated
11986 }
11987 if iNdEx >= l {
11988 return io.ErrUnexpectedEOF
11989 }
11990 b := dAtA[iNdEx]
11991 iNdEx++
11992 msglen |= int(b&0x7F) << shift
11993 if b < 0x80 {
11994 break
11995 }
11996 }
11997 if msglen < 0 {
11998 return ErrInvalidLengthGenerated
11999 }
12000 postIndex := iNdEx + msglen
12001 if postIndex < 0 {
12002 return ErrInvalidLengthGenerated
12003 }
12004 if postIndex > l {
12005 return io.ErrUnexpectedEOF
12006 }
12007 m.Egress = append(m.Egress, NetworkPolicyEgressRule{})
12008 if err := m.Egress[len(m.Egress)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12009 return err
12010 }
12011 iNdEx = postIndex
12012 case 4:
12013 if wireType != 2 {
12014 return fmt.Errorf("proto: wrong wireType = %d for field PolicyTypes", wireType)
12015 }
12016 var stringLen uint64
12017 for shift := uint(0); ; shift += 7 {
12018 if shift >= 64 {
12019 return ErrIntOverflowGenerated
12020 }
12021 if iNdEx >= l {
12022 return io.ErrUnexpectedEOF
12023 }
12024 b := dAtA[iNdEx]
12025 iNdEx++
12026 stringLen |= uint64(b&0x7F) << shift
12027 if b < 0x80 {
12028 break
12029 }
12030 }
12031 intStringLen := int(stringLen)
12032 if intStringLen < 0 {
12033 return ErrInvalidLengthGenerated
12034 }
12035 postIndex := iNdEx + intStringLen
12036 if postIndex < 0 {
12037 return ErrInvalidLengthGenerated
12038 }
12039 if postIndex > l {
12040 return io.ErrUnexpectedEOF
12041 }
12042 m.PolicyTypes = append(m.PolicyTypes, PolicyType(dAtA[iNdEx:postIndex]))
12043 iNdEx = postIndex
12044 default:
12045 iNdEx = preIndex
12046 skippy, err := skipGenerated(dAtA[iNdEx:])
12047 if err != nil {
12048 return err
12049 }
12050 if skippy < 0 {
12051 return ErrInvalidLengthGenerated
12052 }
12053 if (iNdEx + skippy) < 0 {
12054 return ErrInvalidLengthGenerated
12055 }
12056 if (iNdEx + skippy) > l {
12057 return io.ErrUnexpectedEOF
12058 }
12059 iNdEx += skippy
12060 }
12061 }
12062
12063 if iNdEx > l {
12064 return io.ErrUnexpectedEOF
12065 }
12066 return nil
12067}
12068func (m *PodSecurityPolicy) Unmarshal(dAtA []byte) error {
12069 l := len(dAtA)
12070 iNdEx := 0
12071 for iNdEx < l {
12072 preIndex := iNdEx
12073 var wire uint64
12074 for shift := uint(0); ; shift += 7 {
12075 if shift >= 64 {
12076 return ErrIntOverflowGenerated
12077 }
12078 if iNdEx >= l {
12079 return io.ErrUnexpectedEOF
12080 }
12081 b := dAtA[iNdEx]
12082 iNdEx++
12083 wire |= uint64(b&0x7F) << shift
12084 if b < 0x80 {
12085 break
12086 }
12087 }
12088 fieldNum := int32(wire >> 3)
12089 wireType := int(wire & 0x7)
12090 if wireType == 4 {
12091 return fmt.Errorf("proto: PodSecurityPolicy: wiretype end group for non-group")
12092 }
12093 if fieldNum <= 0 {
12094 return fmt.Errorf("proto: PodSecurityPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
12095 }
12096 switch fieldNum {
12097 case 1:
12098 if wireType != 2 {
12099 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
12100 }
12101 var msglen int
12102 for shift := uint(0); ; shift += 7 {
12103 if shift >= 64 {
12104 return ErrIntOverflowGenerated
12105 }
12106 if iNdEx >= l {
12107 return io.ErrUnexpectedEOF
12108 }
12109 b := dAtA[iNdEx]
12110 iNdEx++
12111 msglen |= int(b&0x7F) << shift
12112 if b < 0x80 {
12113 break
12114 }
12115 }
12116 if msglen < 0 {
12117 return ErrInvalidLengthGenerated
12118 }
12119 postIndex := iNdEx + msglen
12120 if postIndex < 0 {
12121 return ErrInvalidLengthGenerated
12122 }
12123 if postIndex > l {
12124 return io.ErrUnexpectedEOF
12125 }
12126 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12127 return err
12128 }
12129 iNdEx = postIndex
12130 case 2:
12131 if wireType != 2 {
12132 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
12133 }
12134 var msglen int
12135 for shift := uint(0); ; shift += 7 {
12136 if shift >= 64 {
12137 return ErrIntOverflowGenerated
12138 }
12139 if iNdEx >= l {
12140 return io.ErrUnexpectedEOF
12141 }
12142 b := dAtA[iNdEx]
12143 iNdEx++
12144 msglen |= int(b&0x7F) << shift
12145 if b < 0x80 {
12146 break
12147 }
12148 }
12149 if msglen < 0 {
12150 return ErrInvalidLengthGenerated
12151 }
12152 postIndex := iNdEx + msglen
12153 if postIndex < 0 {
12154 return ErrInvalidLengthGenerated
12155 }
12156 if postIndex > l {
12157 return io.ErrUnexpectedEOF
12158 }
12159 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12160 return err
12161 }
12162 iNdEx = postIndex
12163 default:
12164 iNdEx = preIndex
12165 skippy, err := skipGenerated(dAtA[iNdEx:])
12166 if err != nil {
12167 return err
12168 }
12169 if skippy < 0 {
12170 return ErrInvalidLengthGenerated
12171 }
12172 if (iNdEx + skippy) < 0 {
12173 return ErrInvalidLengthGenerated
12174 }
12175 if (iNdEx + skippy) > l {
12176 return io.ErrUnexpectedEOF
12177 }
12178 iNdEx += skippy
12179 }
12180 }
12181
12182 if iNdEx > l {
12183 return io.ErrUnexpectedEOF
12184 }
12185 return nil
12186}
12187func (m *PodSecurityPolicyList) Unmarshal(dAtA []byte) error {
12188 l := len(dAtA)
12189 iNdEx := 0
12190 for iNdEx < l {
12191 preIndex := iNdEx
12192 var wire uint64
12193 for shift := uint(0); ; shift += 7 {
12194 if shift >= 64 {
12195 return ErrIntOverflowGenerated
12196 }
12197 if iNdEx >= l {
12198 return io.ErrUnexpectedEOF
12199 }
12200 b := dAtA[iNdEx]
12201 iNdEx++
12202 wire |= uint64(b&0x7F) << shift
12203 if b < 0x80 {
12204 break
12205 }
12206 }
12207 fieldNum := int32(wire >> 3)
12208 wireType := int(wire & 0x7)
12209 if wireType == 4 {
12210 return fmt.Errorf("proto: PodSecurityPolicyList: wiretype end group for non-group")
12211 }
12212 if fieldNum <= 0 {
12213 return fmt.Errorf("proto: PodSecurityPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
12214 }
12215 switch fieldNum {
12216 case 1:
12217 if wireType != 2 {
12218 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
12219 }
12220 var msglen int
12221 for shift := uint(0); ; shift += 7 {
12222 if shift >= 64 {
12223 return ErrIntOverflowGenerated
12224 }
12225 if iNdEx >= l {
12226 return io.ErrUnexpectedEOF
12227 }
12228 b := dAtA[iNdEx]
12229 iNdEx++
12230 msglen |= int(b&0x7F) << shift
12231 if b < 0x80 {
12232 break
12233 }
12234 }
12235 if msglen < 0 {
12236 return ErrInvalidLengthGenerated
12237 }
12238 postIndex := iNdEx + msglen
12239 if postIndex < 0 {
12240 return ErrInvalidLengthGenerated
12241 }
12242 if postIndex > l {
12243 return io.ErrUnexpectedEOF
12244 }
12245 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12246 return err
12247 }
12248 iNdEx = postIndex
12249 case 2:
12250 if wireType != 2 {
12251 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
12252 }
12253 var msglen int
12254 for shift := uint(0); ; shift += 7 {
12255 if shift >= 64 {
12256 return ErrIntOverflowGenerated
12257 }
12258 if iNdEx >= l {
12259 return io.ErrUnexpectedEOF
12260 }
12261 b := dAtA[iNdEx]
12262 iNdEx++
12263 msglen |= int(b&0x7F) << shift
12264 if b < 0x80 {
12265 break
12266 }
12267 }
12268 if msglen < 0 {
12269 return ErrInvalidLengthGenerated
12270 }
12271 postIndex := iNdEx + msglen
12272 if postIndex < 0 {
12273 return ErrInvalidLengthGenerated
12274 }
12275 if postIndex > l {
12276 return io.ErrUnexpectedEOF
12277 }
12278 m.Items = append(m.Items, PodSecurityPolicy{})
12279 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12280 return err
12281 }
12282 iNdEx = postIndex
12283 default:
12284 iNdEx = preIndex
12285 skippy, err := skipGenerated(dAtA[iNdEx:])
12286 if err != nil {
12287 return err
12288 }
12289 if skippy < 0 {
12290 return ErrInvalidLengthGenerated
12291 }
12292 if (iNdEx + skippy) < 0 {
12293 return ErrInvalidLengthGenerated
12294 }
12295 if (iNdEx + skippy) > l {
12296 return io.ErrUnexpectedEOF
12297 }
12298 iNdEx += skippy
12299 }
12300 }
12301
12302 if iNdEx > l {
12303 return io.ErrUnexpectedEOF
12304 }
12305 return nil
12306}
12307func (m *PodSecurityPolicySpec) Unmarshal(dAtA []byte) error {
12308 l := len(dAtA)
12309 iNdEx := 0
12310 for iNdEx < l {
12311 preIndex := iNdEx
12312 var wire uint64
12313 for shift := uint(0); ; shift += 7 {
12314 if shift >= 64 {
12315 return ErrIntOverflowGenerated
12316 }
12317 if iNdEx >= l {
12318 return io.ErrUnexpectedEOF
12319 }
12320 b := dAtA[iNdEx]
12321 iNdEx++
12322 wire |= uint64(b&0x7F) << shift
12323 if b < 0x80 {
12324 break
12325 }
12326 }
12327 fieldNum := int32(wire >> 3)
12328 wireType := int(wire & 0x7)
12329 if wireType == 4 {
12330 return fmt.Errorf("proto: PodSecurityPolicySpec: wiretype end group for non-group")
12331 }
12332 if fieldNum <= 0 {
12333 return fmt.Errorf("proto: PodSecurityPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
12334 }
12335 switch fieldNum {
12336 case 1:
12337 if wireType != 0 {
12338 return fmt.Errorf("proto: wrong wireType = %d for field Privileged", wireType)
12339 }
12340 var v int
12341 for shift := uint(0); ; shift += 7 {
12342 if shift >= 64 {
12343 return ErrIntOverflowGenerated
12344 }
12345 if iNdEx >= l {
12346 return io.ErrUnexpectedEOF
12347 }
12348 b := dAtA[iNdEx]
12349 iNdEx++
12350 v |= int(b&0x7F) << shift
12351 if b < 0x80 {
12352 break
12353 }
12354 }
12355 m.Privileged = bool(v != 0)
12356 case 2:
12357 if wireType != 2 {
12358 return fmt.Errorf("proto: wrong wireType = %d for field DefaultAddCapabilities", wireType)
12359 }
12360 var stringLen uint64
12361 for shift := uint(0); ; shift += 7 {
12362 if shift >= 64 {
12363 return ErrIntOverflowGenerated
12364 }
12365 if iNdEx >= l {
12366 return io.ErrUnexpectedEOF
12367 }
12368 b := dAtA[iNdEx]
12369 iNdEx++
12370 stringLen |= uint64(b&0x7F) << shift
12371 if b < 0x80 {
12372 break
12373 }
12374 }
12375 intStringLen := int(stringLen)
12376 if intStringLen < 0 {
12377 return ErrInvalidLengthGenerated
12378 }
12379 postIndex := iNdEx + intStringLen
12380 if postIndex < 0 {
12381 return ErrInvalidLengthGenerated
12382 }
12383 if postIndex > l {
12384 return io.ErrUnexpectedEOF
12385 }
12386 m.DefaultAddCapabilities = append(m.DefaultAddCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
12387 iNdEx = postIndex
12388 case 3:
12389 if wireType != 2 {
12390 return fmt.Errorf("proto: wrong wireType = %d for field RequiredDropCapabilities", wireType)
12391 }
12392 var stringLen uint64
12393 for shift := uint(0); ; shift += 7 {
12394 if shift >= 64 {
12395 return ErrIntOverflowGenerated
12396 }
12397 if iNdEx >= l {
12398 return io.ErrUnexpectedEOF
12399 }
12400 b := dAtA[iNdEx]
12401 iNdEx++
12402 stringLen |= uint64(b&0x7F) << shift
12403 if b < 0x80 {
12404 break
12405 }
12406 }
12407 intStringLen := int(stringLen)
12408 if intStringLen < 0 {
12409 return ErrInvalidLengthGenerated
12410 }
12411 postIndex := iNdEx + intStringLen
12412 if postIndex < 0 {
12413 return ErrInvalidLengthGenerated
12414 }
12415 if postIndex > l {
12416 return io.ErrUnexpectedEOF
12417 }
12418 m.RequiredDropCapabilities = append(m.RequiredDropCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
12419 iNdEx = postIndex
12420 case 4:
12421 if wireType != 2 {
12422 return fmt.Errorf("proto: wrong wireType = %d for field AllowedCapabilities", wireType)
12423 }
12424 var stringLen uint64
12425 for shift := uint(0); ; shift += 7 {
12426 if shift >= 64 {
12427 return ErrIntOverflowGenerated
12428 }
12429 if iNdEx >= l {
12430 return io.ErrUnexpectedEOF
12431 }
12432 b := dAtA[iNdEx]
12433 iNdEx++
12434 stringLen |= uint64(b&0x7F) << shift
12435 if b < 0x80 {
12436 break
12437 }
12438 }
12439 intStringLen := int(stringLen)
12440 if intStringLen < 0 {
12441 return ErrInvalidLengthGenerated
12442 }
12443 postIndex := iNdEx + intStringLen
12444 if postIndex < 0 {
12445 return ErrInvalidLengthGenerated
12446 }
12447 if postIndex > l {
12448 return io.ErrUnexpectedEOF
12449 }
12450 m.AllowedCapabilities = append(m.AllowedCapabilities, k8s_io_api_core_v1.Capability(dAtA[iNdEx:postIndex]))
12451 iNdEx = postIndex
12452 case 5:
12453 if wireType != 2 {
12454 return fmt.Errorf("proto: wrong wireType = %d for field Volumes", wireType)
12455 }
12456 var stringLen uint64
12457 for shift := uint(0); ; shift += 7 {
12458 if shift >= 64 {
12459 return ErrIntOverflowGenerated
12460 }
12461 if iNdEx >= l {
12462 return io.ErrUnexpectedEOF
12463 }
12464 b := dAtA[iNdEx]
12465 iNdEx++
12466 stringLen |= uint64(b&0x7F) << shift
12467 if b < 0x80 {
12468 break
12469 }
12470 }
12471 intStringLen := int(stringLen)
12472 if intStringLen < 0 {
12473 return ErrInvalidLengthGenerated
12474 }
12475 postIndex := iNdEx + intStringLen
12476 if postIndex < 0 {
12477 return ErrInvalidLengthGenerated
12478 }
12479 if postIndex > l {
12480 return io.ErrUnexpectedEOF
12481 }
12482 m.Volumes = append(m.Volumes, FSType(dAtA[iNdEx:postIndex]))
12483 iNdEx = postIndex
12484 case 6:
12485 if wireType != 0 {
12486 return fmt.Errorf("proto: wrong wireType = %d for field HostNetwork", wireType)
12487 }
12488 var v int
12489 for shift := uint(0); ; shift += 7 {
12490 if shift >= 64 {
12491 return ErrIntOverflowGenerated
12492 }
12493 if iNdEx >= l {
12494 return io.ErrUnexpectedEOF
12495 }
12496 b := dAtA[iNdEx]
12497 iNdEx++
12498 v |= int(b&0x7F) << shift
12499 if b < 0x80 {
12500 break
12501 }
12502 }
12503 m.HostNetwork = bool(v != 0)
12504 case 7:
12505 if wireType != 2 {
12506 return fmt.Errorf("proto: wrong wireType = %d for field HostPorts", wireType)
12507 }
12508 var msglen int
12509 for shift := uint(0); ; shift += 7 {
12510 if shift >= 64 {
12511 return ErrIntOverflowGenerated
12512 }
12513 if iNdEx >= l {
12514 return io.ErrUnexpectedEOF
12515 }
12516 b := dAtA[iNdEx]
12517 iNdEx++
12518 msglen |= int(b&0x7F) << shift
12519 if b < 0x80 {
12520 break
12521 }
12522 }
12523 if msglen < 0 {
12524 return ErrInvalidLengthGenerated
12525 }
12526 postIndex := iNdEx + msglen
12527 if postIndex < 0 {
12528 return ErrInvalidLengthGenerated
12529 }
12530 if postIndex > l {
12531 return io.ErrUnexpectedEOF
12532 }
12533 m.HostPorts = append(m.HostPorts, HostPortRange{})
12534 if err := m.HostPorts[len(m.HostPorts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12535 return err
12536 }
12537 iNdEx = postIndex
12538 case 8:
12539 if wireType != 0 {
12540 return fmt.Errorf("proto: wrong wireType = %d for field HostPID", wireType)
12541 }
12542 var v int
12543 for shift := uint(0); ; shift += 7 {
12544 if shift >= 64 {
12545 return ErrIntOverflowGenerated
12546 }
12547 if iNdEx >= l {
12548 return io.ErrUnexpectedEOF
12549 }
12550 b := dAtA[iNdEx]
12551 iNdEx++
12552 v |= int(b&0x7F) << shift
12553 if b < 0x80 {
12554 break
12555 }
12556 }
12557 m.HostPID = bool(v != 0)
12558 case 9:
12559 if wireType != 0 {
12560 return fmt.Errorf("proto: wrong wireType = %d for field HostIPC", wireType)
12561 }
12562 var v int
12563 for shift := uint(0); ; shift += 7 {
12564 if shift >= 64 {
12565 return ErrIntOverflowGenerated
12566 }
12567 if iNdEx >= l {
12568 return io.ErrUnexpectedEOF
12569 }
12570 b := dAtA[iNdEx]
12571 iNdEx++
12572 v |= int(b&0x7F) << shift
12573 if b < 0x80 {
12574 break
12575 }
12576 }
12577 m.HostIPC = bool(v != 0)
12578 case 10:
12579 if wireType != 2 {
12580 return fmt.Errorf("proto: wrong wireType = %d for field SELinux", wireType)
12581 }
12582 var msglen int
12583 for shift := uint(0); ; shift += 7 {
12584 if shift >= 64 {
12585 return ErrIntOverflowGenerated
12586 }
12587 if iNdEx >= l {
12588 return io.ErrUnexpectedEOF
12589 }
12590 b := dAtA[iNdEx]
12591 iNdEx++
12592 msglen |= int(b&0x7F) << shift
12593 if b < 0x80 {
12594 break
12595 }
12596 }
12597 if msglen < 0 {
12598 return ErrInvalidLengthGenerated
12599 }
12600 postIndex := iNdEx + msglen
12601 if postIndex < 0 {
12602 return ErrInvalidLengthGenerated
12603 }
12604 if postIndex > l {
12605 return io.ErrUnexpectedEOF
12606 }
12607 if err := m.SELinux.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12608 return err
12609 }
12610 iNdEx = postIndex
12611 case 11:
12612 if wireType != 2 {
12613 return fmt.Errorf("proto: wrong wireType = %d for field RunAsUser", wireType)
12614 }
12615 var msglen int
12616 for shift := uint(0); ; shift += 7 {
12617 if shift >= 64 {
12618 return ErrIntOverflowGenerated
12619 }
12620 if iNdEx >= l {
12621 return io.ErrUnexpectedEOF
12622 }
12623 b := dAtA[iNdEx]
12624 iNdEx++
12625 msglen |= int(b&0x7F) << shift
12626 if b < 0x80 {
12627 break
12628 }
12629 }
12630 if msglen < 0 {
12631 return ErrInvalidLengthGenerated
12632 }
12633 postIndex := iNdEx + msglen
12634 if postIndex < 0 {
12635 return ErrInvalidLengthGenerated
12636 }
12637 if postIndex > l {
12638 return io.ErrUnexpectedEOF
12639 }
12640 if err := m.RunAsUser.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12641 return err
12642 }
12643 iNdEx = postIndex
12644 case 12:
12645 if wireType != 2 {
12646 return fmt.Errorf("proto: wrong wireType = %d for field SupplementalGroups", wireType)
12647 }
12648 var msglen int
12649 for shift := uint(0); ; shift += 7 {
12650 if shift >= 64 {
12651 return ErrIntOverflowGenerated
12652 }
12653 if iNdEx >= l {
12654 return io.ErrUnexpectedEOF
12655 }
12656 b := dAtA[iNdEx]
12657 iNdEx++
12658 msglen |= int(b&0x7F) << shift
12659 if b < 0x80 {
12660 break
12661 }
12662 }
12663 if msglen < 0 {
12664 return ErrInvalidLengthGenerated
12665 }
12666 postIndex := iNdEx + msglen
12667 if postIndex < 0 {
12668 return ErrInvalidLengthGenerated
12669 }
12670 if postIndex > l {
12671 return io.ErrUnexpectedEOF
12672 }
12673 if err := m.SupplementalGroups.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12674 return err
12675 }
12676 iNdEx = postIndex
12677 case 13:
12678 if wireType != 2 {
12679 return fmt.Errorf("proto: wrong wireType = %d for field FSGroup", wireType)
12680 }
12681 var msglen int
12682 for shift := uint(0); ; shift += 7 {
12683 if shift >= 64 {
12684 return ErrIntOverflowGenerated
12685 }
12686 if iNdEx >= l {
12687 return io.ErrUnexpectedEOF
12688 }
12689 b := dAtA[iNdEx]
12690 iNdEx++
12691 msglen |= int(b&0x7F) << shift
12692 if b < 0x80 {
12693 break
12694 }
12695 }
12696 if msglen < 0 {
12697 return ErrInvalidLengthGenerated
12698 }
12699 postIndex := iNdEx + msglen
12700 if postIndex < 0 {
12701 return ErrInvalidLengthGenerated
12702 }
12703 if postIndex > l {
12704 return io.ErrUnexpectedEOF
12705 }
12706 if err := m.FSGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12707 return err
12708 }
12709 iNdEx = postIndex
12710 case 14:
12711 if wireType != 0 {
12712 return fmt.Errorf("proto: wrong wireType = %d for field ReadOnlyRootFilesystem", wireType)
12713 }
12714 var v int
12715 for shift := uint(0); ; shift += 7 {
12716 if shift >= 64 {
12717 return ErrIntOverflowGenerated
12718 }
12719 if iNdEx >= l {
12720 return io.ErrUnexpectedEOF
12721 }
12722 b := dAtA[iNdEx]
12723 iNdEx++
12724 v |= int(b&0x7F) << shift
12725 if b < 0x80 {
12726 break
12727 }
12728 }
12729 m.ReadOnlyRootFilesystem = bool(v != 0)
12730 case 15:
12731 if wireType != 0 {
12732 return fmt.Errorf("proto: wrong wireType = %d for field DefaultAllowPrivilegeEscalation", wireType)
12733 }
12734 var v int
12735 for shift := uint(0); ; shift += 7 {
12736 if shift >= 64 {
12737 return ErrIntOverflowGenerated
12738 }
12739 if iNdEx >= l {
12740 return io.ErrUnexpectedEOF
12741 }
12742 b := dAtA[iNdEx]
12743 iNdEx++
12744 v |= int(b&0x7F) << shift
12745 if b < 0x80 {
12746 break
12747 }
12748 }
12749 b := bool(v != 0)
12750 m.DefaultAllowPrivilegeEscalation = &b
12751 case 16:
12752 if wireType != 0 {
12753 return fmt.Errorf("proto: wrong wireType = %d for field AllowPrivilegeEscalation", wireType)
12754 }
12755 var v int
12756 for shift := uint(0); ; shift += 7 {
12757 if shift >= 64 {
12758 return ErrIntOverflowGenerated
12759 }
12760 if iNdEx >= l {
12761 return io.ErrUnexpectedEOF
12762 }
12763 b := dAtA[iNdEx]
12764 iNdEx++
12765 v |= int(b&0x7F) << shift
12766 if b < 0x80 {
12767 break
12768 }
12769 }
12770 b := bool(v != 0)
12771 m.AllowPrivilegeEscalation = &b
12772 case 17:
12773 if wireType != 2 {
12774 return fmt.Errorf("proto: wrong wireType = %d for field AllowedHostPaths", wireType)
12775 }
12776 var msglen int
12777 for shift := uint(0); ; shift += 7 {
12778 if shift >= 64 {
12779 return ErrIntOverflowGenerated
12780 }
12781 if iNdEx >= l {
12782 return io.ErrUnexpectedEOF
12783 }
12784 b := dAtA[iNdEx]
12785 iNdEx++
12786 msglen |= int(b&0x7F) << shift
12787 if b < 0x80 {
12788 break
12789 }
12790 }
12791 if msglen < 0 {
12792 return ErrInvalidLengthGenerated
12793 }
12794 postIndex := iNdEx + msglen
12795 if postIndex < 0 {
12796 return ErrInvalidLengthGenerated
12797 }
12798 if postIndex > l {
12799 return io.ErrUnexpectedEOF
12800 }
12801 m.AllowedHostPaths = append(m.AllowedHostPaths, AllowedHostPath{})
12802 if err := m.AllowedHostPaths[len(m.AllowedHostPaths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12803 return err
12804 }
12805 iNdEx = postIndex
12806 case 18:
12807 if wireType != 2 {
12808 return fmt.Errorf("proto: wrong wireType = %d for field AllowedFlexVolumes", wireType)
12809 }
12810 var msglen int
12811 for shift := uint(0); ; shift += 7 {
12812 if shift >= 64 {
12813 return ErrIntOverflowGenerated
12814 }
12815 if iNdEx >= l {
12816 return io.ErrUnexpectedEOF
12817 }
12818 b := dAtA[iNdEx]
12819 iNdEx++
12820 msglen |= int(b&0x7F) << shift
12821 if b < 0x80 {
12822 break
12823 }
12824 }
12825 if msglen < 0 {
12826 return ErrInvalidLengthGenerated
12827 }
12828 postIndex := iNdEx + msglen
12829 if postIndex < 0 {
12830 return ErrInvalidLengthGenerated
12831 }
12832 if postIndex > l {
12833 return io.ErrUnexpectedEOF
12834 }
12835 m.AllowedFlexVolumes = append(m.AllowedFlexVolumes, AllowedFlexVolume{})
12836 if err := m.AllowedFlexVolumes[len(m.AllowedFlexVolumes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12837 return err
12838 }
12839 iNdEx = postIndex
12840 case 19:
12841 if wireType != 2 {
12842 return fmt.Errorf("proto: wrong wireType = %d for field AllowedUnsafeSysctls", wireType)
12843 }
12844 var stringLen uint64
12845 for shift := uint(0); ; shift += 7 {
12846 if shift >= 64 {
12847 return ErrIntOverflowGenerated
12848 }
12849 if iNdEx >= l {
12850 return io.ErrUnexpectedEOF
12851 }
12852 b := dAtA[iNdEx]
12853 iNdEx++
12854 stringLen |= uint64(b&0x7F) << shift
12855 if b < 0x80 {
12856 break
12857 }
12858 }
12859 intStringLen := int(stringLen)
12860 if intStringLen < 0 {
12861 return ErrInvalidLengthGenerated
12862 }
12863 postIndex := iNdEx + intStringLen
12864 if postIndex < 0 {
12865 return ErrInvalidLengthGenerated
12866 }
12867 if postIndex > l {
12868 return io.ErrUnexpectedEOF
12869 }
12870 m.AllowedUnsafeSysctls = append(m.AllowedUnsafeSysctls, string(dAtA[iNdEx:postIndex]))
12871 iNdEx = postIndex
12872 case 20:
12873 if wireType != 2 {
12874 return fmt.Errorf("proto: wrong wireType = %d for field ForbiddenSysctls", wireType)
12875 }
12876 var stringLen uint64
12877 for shift := uint(0); ; shift += 7 {
12878 if shift >= 64 {
12879 return ErrIntOverflowGenerated
12880 }
12881 if iNdEx >= l {
12882 return io.ErrUnexpectedEOF
12883 }
12884 b := dAtA[iNdEx]
12885 iNdEx++
12886 stringLen |= uint64(b&0x7F) << shift
12887 if b < 0x80 {
12888 break
12889 }
12890 }
12891 intStringLen := int(stringLen)
12892 if intStringLen < 0 {
12893 return ErrInvalidLengthGenerated
12894 }
12895 postIndex := iNdEx + intStringLen
12896 if postIndex < 0 {
12897 return ErrInvalidLengthGenerated
12898 }
12899 if postIndex > l {
12900 return io.ErrUnexpectedEOF
12901 }
12902 m.ForbiddenSysctls = append(m.ForbiddenSysctls, string(dAtA[iNdEx:postIndex]))
12903 iNdEx = postIndex
12904 case 21:
12905 if wireType != 2 {
12906 return fmt.Errorf("proto: wrong wireType = %d for field AllowedProcMountTypes", wireType)
12907 }
12908 var stringLen uint64
12909 for shift := uint(0); ; shift += 7 {
12910 if shift >= 64 {
12911 return ErrIntOverflowGenerated
12912 }
12913 if iNdEx >= l {
12914 return io.ErrUnexpectedEOF
12915 }
12916 b := dAtA[iNdEx]
12917 iNdEx++
12918 stringLen |= uint64(b&0x7F) << shift
12919 if b < 0x80 {
12920 break
12921 }
12922 }
12923 intStringLen := int(stringLen)
12924 if intStringLen < 0 {
12925 return ErrInvalidLengthGenerated
12926 }
12927 postIndex := iNdEx + intStringLen
12928 if postIndex < 0 {
12929 return ErrInvalidLengthGenerated
12930 }
12931 if postIndex > l {
12932 return io.ErrUnexpectedEOF
12933 }
12934 m.AllowedProcMountTypes = append(m.AllowedProcMountTypes, k8s_io_api_core_v1.ProcMountType(dAtA[iNdEx:postIndex]))
12935 iNdEx = postIndex
12936 case 22:
12937 if wireType != 2 {
12938 return fmt.Errorf("proto: wrong wireType = %d for field RunAsGroup", wireType)
12939 }
12940 var msglen int
12941 for shift := uint(0); ; shift += 7 {
12942 if shift >= 64 {
12943 return ErrIntOverflowGenerated
12944 }
12945 if iNdEx >= l {
12946 return io.ErrUnexpectedEOF
12947 }
12948 b := dAtA[iNdEx]
12949 iNdEx++
12950 msglen |= int(b&0x7F) << shift
12951 if b < 0x80 {
12952 break
12953 }
12954 }
12955 if msglen < 0 {
12956 return ErrInvalidLengthGenerated
12957 }
12958 postIndex := iNdEx + msglen
12959 if postIndex < 0 {
12960 return ErrInvalidLengthGenerated
12961 }
12962 if postIndex > l {
12963 return io.ErrUnexpectedEOF
12964 }
12965 if m.RunAsGroup == nil {
12966 m.RunAsGroup = &RunAsGroupStrategyOptions{}
12967 }
12968 if err := m.RunAsGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
12969 return err
12970 }
12971 iNdEx = postIndex
12972 case 23:
12973 if wireType != 2 {
12974 return fmt.Errorf("proto: wrong wireType = %d for field AllowedCSIDrivers", wireType)
12975 }
12976 var msglen int
12977 for shift := uint(0); ; shift += 7 {
12978 if shift >= 64 {
12979 return ErrIntOverflowGenerated
12980 }
12981 if iNdEx >= l {
12982 return io.ErrUnexpectedEOF
12983 }
12984 b := dAtA[iNdEx]
12985 iNdEx++
12986 msglen |= int(b&0x7F) << shift
12987 if b < 0x80 {
12988 break
12989 }
12990 }
12991 if msglen < 0 {
12992 return ErrInvalidLengthGenerated
12993 }
12994 postIndex := iNdEx + msglen
12995 if postIndex < 0 {
12996 return ErrInvalidLengthGenerated
12997 }
12998 if postIndex > l {
12999 return io.ErrUnexpectedEOF
13000 }
13001 m.AllowedCSIDrivers = append(m.AllowedCSIDrivers, AllowedCSIDriver{})
13002 if err := m.AllowedCSIDrivers[len(m.AllowedCSIDrivers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
13003 return err
13004 }
13005 iNdEx = postIndex
13006 case 24:
13007 if wireType != 2 {
13008 return fmt.Errorf("proto: wrong wireType = %d for field RuntimeClass", wireType)
13009 }
13010 var msglen int
13011 for shift := uint(0); ; shift += 7 {
13012 if shift >= 64 {
13013 return ErrIntOverflowGenerated
13014 }
13015 if iNdEx >= l {
13016 return io.ErrUnexpectedEOF
13017 }
13018 b := dAtA[iNdEx]
13019 iNdEx++
13020 msglen |= int(b&0x7F) << shift
13021 if b < 0x80 {
13022 break
13023 }
13024 }
13025 if msglen < 0 {
13026 return ErrInvalidLengthGenerated
13027 }
13028 postIndex := iNdEx + msglen
13029 if postIndex < 0 {
13030 return ErrInvalidLengthGenerated
13031 }
13032 if postIndex > l {
13033 return io.ErrUnexpectedEOF
13034 }
13035 if m.RuntimeClass == nil {
13036 m.RuntimeClass = &RuntimeClassStrategyOptions{}
13037 }
13038 if err := m.RuntimeClass.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
13039 return err
13040 }
13041 iNdEx = postIndex
13042 default:
13043 iNdEx = preIndex
13044 skippy, err := skipGenerated(dAtA[iNdEx:])
13045 if err != nil {
13046 return err
13047 }
13048 if skippy < 0 {
13049 return ErrInvalidLengthGenerated
13050 }
13051 if (iNdEx + skippy) < 0 {
13052 return ErrInvalidLengthGenerated
13053 }
13054 if (iNdEx + skippy) > l {
13055 return io.ErrUnexpectedEOF
13056 }
13057 iNdEx += skippy
13058 }
13059 }
13060
13061 if iNdEx > l {
13062 return io.ErrUnexpectedEOF
13063 }
13064 return nil
13065}
13066func (m *ReplicaSet) Unmarshal(dAtA []byte) error {
13067 l := len(dAtA)
13068 iNdEx := 0
13069 for iNdEx < l {
13070 preIndex := iNdEx
13071 var wire uint64
13072 for shift := uint(0); ; shift += 7 {
13073 if shift >= 64 {
13074 return ErrIntOverflowGenerated
13075 }
13076 if iNdEx >= l {
13077 return io.ErrUnexpectedEOF
13078 }
13079 b := dAtA[iNdEx]
13080 iNdEx++
13081 wire |= uint64(b&0x7F) << shift
13082 if b < 0x80 {
13083 break
13084 }
13085 }
13086 fieldNum := int32(wire >> 3)
13087 wireType := int(wire & 0x7)
13088 if wireType == 4 {
13089 return fmt.Errorf("proto: ReplicaSet: wiretype end group for non-group")
13090 }
13091 if fieldNum <= 0 {
13092 return fmt.Errorf("proto: ReplicaSet: illegal tag %d (wire type %d)", fieldNum, wire)
13093 }
13094 switch fieldNum {
13095 case 1:
13096 if wireType != 2 {
13097 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
13098 }
13099 var msglen int
13100 for shift := uint(0); ; shift += 7 {
13101 if shift >= 64 {
13102 return ErrIntOverflowGenerated
13103 }
13104 if iNdEx >= l {
13105 return io.ErrUnexpectedEOF
13106 }
13107 b := dAtA[iNdEx]
13108 iNdEx++
13109 msglen |= int(b&0x7F) << shift
13110 if b < 0x80 {
13111 break
13112 }
13113 }
13114 if msglen < 0 {
13115 return ErrInvalidLengthGenerated
13116 }
13117 postIndex := iNdEx + msglen
13118 if postIndex < 0 {
13119 return ErrInvalidLengthGenerated
13120 }
13121 if postIndex > l {
13122 return io.ErrUnexpectedEOF
13123 }
13124 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
13125 return err
13126 }
13127 iNdEx = postIndex
13128 case 2:
13129 if wireType != 2 {
13130 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
13131 }
13132 var msglen int
13133 for shift := uint(0); ; shift += 7 {
13134 if shift >= 64 {
13135 return ErrIntOverflowGenerated
13136 }
13137 if iNdEx >= l {
13138 return io.ErrUnexpectedEOF
13139 }
13140 b := dAtA[iNdEx]
13141 iNdEx++
13142 msglen |= int(b&0x7F) << shift
13143 if b < 0x80 {
13144 break
13145 }
13146 }
13147 if msglen < 0 {
13148 return ErrInvalidLengthGenerated
13149 }
13150 postIndex := iNdEx + msglen
13151 if postIndex < 0 {
13152 return ErrInvalidLengthGenerated
13153 }
13154 if postIndex > l {
13155 return io.ErrUnexpectedEOF
13156 }
13157 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
13158 return err
13159 }
13160 iNdEx = postIndex
13161 case 3:
13162 if wireType != 2 {
13163 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
13164 }
13165 var msglen int
13166 for shift := uint(0); ; shift += 7 {
13167 if shift >= 64 {
13168 return ErrIntOverflowGenerated
13169 }
13170 if iNdEx >= l {
13171 return io.ErrUnexpectedEOF
13172 }
13173 b := dAtA[iNdEx]
13174 iNdEx++
13175 msglen |= int(b&0x7F) << shift
13176 if b < 0x80 {
13177 break
13178 }
13179 }
13180 if msglen < 0 {
13181 return ErrInvalidLengthGenerated
13182 }
13183 postIndex := iNdEx + msglen
13184 if postIndex < 0 {
13185 return ErrInvalidLengthGenerated
13186 }
13187 if postIndex > l {
13188 return io.ErrUnexpectedEOF
13189 }
13190 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
13191 return err
13192 }
13193 iNdEx = postIndex
13194 default:
13195 iNdEx = preIndex
13196 skippy, err := skipGenerated(dAtA[iNdEx:])
13197 if err != nil {
13198 return err
13199 }
13200 if skippy < 0 {
13201 return ErrInvalidLengthGenerated
13202 }
13203 if (iNdEx + skippy) < 0 {
13204 return ErrInvalidLengthGenerated
13205 }
13206 if (iNdEx + skippy) > l {
13207 return io.ErrUnexpectedEOF
13208 }
13209 iNdEx += skippy
13210 }
13211 }
13212
13213 if iNdEx > l {
13214 return io.ErrUnexpectedEOF
13215 }
13216 return nil
13217}
13218func (m *ReplicaSetCondition) Unmarshal(dAtA []byte) error {
13219 l := len(dAtA)
13220 iNdEx := 0
13221 for iNdEx < l {
13222 preIndex := iNdEx
13223 var wire uint64
13224 for shift := uint(0); ; shift += 7 {
13225 if shift >= 64 {
13226 return ErrIntOverflowGenerated
13227 }
13228 if iNdEx >= l {
13229 return io.ErrUnexpectedEOF
13230 }
13231 b := dAtA[iNdEx]
13232 iNdEx++
13233 wire |= uint64(b&0x7F) << shift
13234 if b < 0x80 {
13235 break
13236 }
13237 }
13238 fieldNum := int32(wire >> 3)
13239 wireType := int(wire & 0x7)
13240 if wireType == 4 {
13241 return fmt.Errorf("proto: ReplicaSetCondition: wiretype end group for non-group")
13242 }
13243 if fieldNum <= 0 {
13244 return fmt.Errorf("proto: ReplicaSetCondition: illegal tag %d (wire type %d)", fieldNum, wire)
13245 }
13246 switch fieldNum {
13247 case 1:
13248 if wireType != 2 {
13249 return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
13250 }
13251 var stringLen uint64
13252 for shift := uint(0); ; shift += 7 {
13253 if shift >= 64 {
13254 return ErrIntOverflowGenerated
13255 }
13256 if iNdEx >= l {
13257 return io.ErrUnexpectedEOF
13258 }
13259 b := dAtA[iNdEx]
13260 iNdEx++
13261 stringLen |= uint64(b&0x7F) << shift
13262 if b < 0x80 {
13263 break
13264 }
13265 }
13266 intStringLen := int(stringLen)
13267 if intStringLen < 0 {
13268 return ErrInvalidLengthGenerated
13269 }
13270 postIndex := iNdEx + intStringLen
13271 if postIndex < 0 {
13272 return ErrInvalidLengthGenerated
13273 }
13274 if postIndex > l {
13275 return io.ErrUnexpectedEOF
13276 }
13277 m.Type = ReplicaSetConditionType(dAtA[iNdEx:postIndex])
13278 iNdEx = postIndex
13279 case 2:
13280 if wireType != 2 {
13281 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
13282 }
13283 var stringLen uint64
13284 for shift := uint(0); ; shift += 7 {
13285 if shift >= 64 {
13286 return ErrIntOverflowGenerated
13287 }
13288 if iNdEx >= l {
13289 return io.ErrUnexpectedEOF
13290 }
13291 b := dAtA[iNdEx]
13292 iNdEx++
13293 stringLen |= uint64(b&0x7F) << shift
13294 if b < 0x80 {
13295 break
13296 }
13297 }
13298 intStringLen := int(stringLen)
13299 if intStringLen < 0 {
13300 return ErrInvalidLengthGenerated
13301 }
13302 postIndex := iNdEx + intStringLen
13303 if postIndex < 0 {
13304 return ErrInvalidLengthGenerated
13305 }
13306 if postIndex > l {
13307 return io.ErrUnexpectedEOF
13308 }
13309 m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
13310 iNdEx = postIndex
13311 case 3:
13312 if wireType != 2 {
13313 return fmt.Errorf("proto: wrong wireType = %d for field LastTransitionTime", wireType)
13314 }
13315 var msglen int
13316 for shift := uint(0); ; shift += 7 {
13317 if shift >= 64 {
13318 return ErrIntOverflowGenerated
13319 }
13320 if iNdEx >= l {
13321 return io.ErrUnexpectedEOF
13322 }
13323 b := dAtA[iNdEx]
13324 iNdEx++
13325 msglen |= int(b&0x7F) << shift
13326 if b < 0x80 {
13327 break
13328 }
13329 }
13330 if msglen < 0 {
13331 return ErrInvalidLengthGenerated
13332 }
13333 postIndex := iNdEx + msglen
13334 if postIndex < 0 {
13335 return ErrInvalidLengthGenerated
13336 }
13337 if postIndex > l {
13338 return io.ErrUnexpectedEOF
13339 }
13340 if err := m.LastTransitionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
13341 return err
13342 }
13343 iNdEx = postIndex
13344 case 4:
13345 if wireType != 2 {
13346 return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
13347 }
13348 var stringLen uint64
13349 for shift := uint(0); ; shift += 7 {
13350 if shift >= 64 {
13351 return ErrIntOverflowGenerated
13352 }
13353 if iNdEx >= l {
13354 return io.ErrUnexpectedEOF
13355 }
13356 b := dAtA[iNdEx]
13357 iNdEx++
13358 stringLen |= uint64(b&0x7F) << shift
13359 if b < 0x80 {
13360 break
13361 }
13362 }
13363 intStringLen := int(stringLen)
13364 if intStringLen < 0 {
13365 return ErrInvalidLengthGenerated
13366 }
13367 postIndex := iNdEx + intStringLen
13368 if postIndex < 0 {
13369 return ErrInvalidLengthGenerated
13370 }
13371 if postIndex > l {
13372 return io.ErrUnexpectedEOF
13373 }
13374 m.Reason = string(dAtA[iNdEx:postIndex])
13375 iNdEx = postIndex
13376 case 5:
13377 if wireType != 2 {
13378 return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
13379 }
13380 var stringLen uint64
13381 for shift := uint(0); ; shift += 7 {
13382 if shift >= 64 {
13383 return ErrIntOverflowGenerated
13384 }
13385 if iNdEx >= l {
13386 return io.ErrUnexpectedEOF
13387 }
13388 b := dAtA[iNdEx]
13389 iNdEx++
13390 stringLen |= uint64(b&0x7F) << shift
13391 if b < 0x80 {
13392 break
13393 }
13394 }
13395 intStringLen := int(stringLen)
13396 if intStringLen < 0 {
13397 return ErrInvalidLengthGenerated
13398 }
13399 postIndex := iNdEx + intStringLen
13400 if postIndex < 0 {
13401 return ErrInvalidLengthGenerated
13402 }
13403 if postIndex > l {
13404 return io.ErrUnexpectedEOF
13405 }
13406 m.Message = string(dAtA[iNdEx:postIndex])
13407 iNdEx = postIndex
13408 default:
13409 iNdEx = preIndex
13410 skippy, err := skipGenerated(dAtA[iNdEx:])
13411 if err != nil {
13412 return err
13413 }
13414 if skippy < 0 {
13415 return ErrInvalidLengthGenerated
13416 }
13417 if (iNdEx + skippy) < 0 {
13418 return ErrInvalidLengthGenerated
13419 }
13420 if (iNdEx + skippy) > l {
13421 return io.ErrUnexpectedEOF
13422 }
13423 iNdEx += skippy
13424 }
13425 }
13426
13427 if iNdEx > l {
13428 return io.ErrUnexpectedEOF
13429 }
13430 return nil
13431}
13432func (m *ReplicaSetList) Unmarshal(dAtA []byte) error {
13433 l := len(dAtA)
13434 iNdEx := 0
13435 for iNdEx < l {
13436 preIndex := iNdEx
13437 var wire uint64
13438 for shift := uint(0); ; shift += 7 {
13439 if shift >= 64 {
13440 return ErrIntOverflowGenerated
13441 }
13442 if iNdEx >= l {
13443 return io.ErrUnexpectedEOF
13444 }
13445 b := dAtA[iNdEx]
13446 iNdEx++
13447 wire |= uint64(b&0x7F) << shift
13448 if b < 0x80 {
13449 break
13450 }
13451 }
13452 fieldNum := int32(wire >> 3)
13453 wireType := int(wire & 0x7)
13454 if wireType == 4 {
13455 return fmt.Errorf("proto: ReplicaSetList: wiretype end group for non-group")
13456 }
13457 if fieldNum <= 0 {
13458 return fmt.Errorf("proto: ReplicaSetList: illegal tag %d (wire type %d)", fieldNum, wire)
13459 }
13460 switch fieldNum {
13461 case 1:
13462 if wireType != 2 {
13463 return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
13464 }
13465 var msglen int
13466 for shift := uint(0); ; shift += 7 {
13467 if shift >= 64 {
13468 return ErrIntOverflowGenerated
13469 }
13470 if iNdEx >= l {
13471 return io.ErrUnexpectedEOF
13472 }
13473 b := dAtA[iNdEx]
13474 iNdEx++
13475 msglen |= int(b&0x7F) << shift
13476 if b < 0x80 {
13477 break
13478 }
13479 }
13480 if msglen < 0 {
13481 return ErrInvalidLengthGenerated
13482 }
13483 postIndex := iNdEx + msglen
13484 if postIndex < 0 {
13485 return ErrInvalidLengthGenerated
13486 }
13487 if postIndex > l {
13488 return io.ErrUnexpectedEOF
13489 }
13490 if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
13491 return err
13492 }
13493 iNdEx = postIndex
13494 case 2:
13495 if wireType != 2 {
13496 return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
13497 }
13498 var msglen int
13499 for shift := uint(0); ; shift += 7 {
13500 if shift >= 64 {
13501 return ErrIntOverflowGenerated
13502 }
13503 if iNdEx >= l {
13504 return io.ErrUnexpectedEOF
13505 }
13506 b := dAtA[iNdEx]
13507 iNdEx++
13508 msglen |= int(b&0x7F) << shift
13509 if b < 0x80 {
13510 break
13511 }
13512 }
13513 if msglen < 0 {
13514 return ErrInvalidLengthGenerated
13515 }
13516 postIndex := iNdEx + msglen
13517 if postIndex < 0 {
13518 return ErrInvalidLengthGenerated
13519 }
13520 if postIndex > l {
13521 return io.ErrUnexpectedEOF
13522 }
13523 m.Items = append(m.Items, ReplicaSet{})
13524 if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
13525 return err
13526 }
13527 iNdEx = postIndex
13528 default:
13529 iNdEx = preIndex
13530 skippy, err := skipGenerated(dAtA[iNdEx:])
13531 if err != nil {
13532 return err
13533 }
13534 if skippy < 0 {
13535 return ErrInvalidLengthGenerated
13536 }
13537 if (iNdEx + skippy) < 0 {
13538 return ErrInvalidLengthGenerated
13539 }
13540 if (iNdEx + skippy) > l {
13541 return io.ErrUnexpectedEOF
13542 }
13543 iNdEx += skippy
13544 }
13545 }
13546
13547 if iNdEx > l {
13548 return io.ErrUnexpectedEOF
13549 }
13550 return nil
13551}
13552func (m *ReplicaSetSpec) Unmarshal(dAtA []byte) error {
13553 l := len(dAtA)
13554 iNdEx := 0
13555 for iNdEx < l {
13556 preIndex := iNdEx
13557 var wire uint64
13558 for shift := uint(0); ; shift += 7 {
13559 if shift >= 64 {
13560 return ErrIntOverflowGenerated
13561 }
13562 if iNdEx >= l {
13563 return io.ErrUnexpectedEOF
13564 }
13565 b := dAtA[iNdEx]
13566 iNdEx++
13567 wire |= uint64(b&0x7F) << shift
13568 if b < 0x80 {
13569 break
13570 }
13571 }
13572 fieldNum := int32(wire >> 3)
13573 wireType := int(wire & 0x7)
13574 if wireType == 4 {
13575 return fmt.Errorf("proto: ReplicaSetSpec: wiretype end group for non-group")
13576 }
13577 if fieldNum <= 0 {
13578 return fmt.Errorf("proto: ReplicaSetSpec: illegal tag %d (wire type %d)", fieldNum, wire)
13579 }
13580 switch fieldNum {
13581 case 1:
13582 if wireType != 0 {
13583 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
13584 }
13585 var v int32
13586 for shift := uint(0); ; shift += 7 {
13587 if shift >= 64 {
13588 return ErrIntOverflowGenerated
13589 }
13590 if iNdEx >= l {
13591 return io.ErrUnexpectedEOF
13592 }
13593 b := dAtA[iNdEx]
13594 iNdEx++
13595 v |= int32(b&0x7F) << shift
13596 if b < 0x80 {
13597 break
13598 }
13599 }
13600 m.Replicas = &v
13601 case 2:
13602 if wireType != 2 {
13603 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
13604 }
13605 var msglen int
13606 for shift := uint(0); ; shift += 7 {
13607 if shift >= 64 {
13608 return ErrIntOverflowGenerated
13609 }
13610 if iNdEx >= l {
13611 return io.ErrUnexpectedEOF
13612 }
13613 b := dAtA[iNdEx]
13614 iNdEx++
13615 msglen |= int(b&0x7F) << shift
13616 if b < 0x80 {
13617 break
13618 }
13619 }
13620 if msglen < 0 {
13621 return ErrInvalidLengthGenerated
13622 }
13623 postIndex := iNdEx + msglen
13624 if postIndex < 0 {
13625 return ErrInvalidLengthGenerated
13626 }
13627 if postIndex > l {
13628 return io.ErrUnexpectedEOF
13629 }
13630 if m.Selector == nil {
13631 m.Selector = &v1.LabelSelector{}
13632 }
13633 if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
13634 return err
13635 }
13636 iNdEx = postIndex
13637 case 3:
13638 if wireType != 2 {
13639 return fmt.Errorf("proto: wrong wireType = %d for field Template", wireType)
13640 }
13641 var msglen int
13642 for shift := uint(0); ; shift += 7 {
13643 if shift >= 64 {
13644 return ErrIntOverflowGenerated
13645 }
13646 if iNdEx >= l {
13647 return io.ErrUnexpectedEOF
13648 }
13649 b := dAtA[iNdEx]
13650 iNdEx++
13651 msglen |= int(b&0x7F) << shift
13652 if b < 0x80 {
13653 break
13654 }
13655 }
13656 if msglen < 0 {
13657 return ErrInvalidLengthGenerated
13658 }
13659 postIndex := iNdEx + msglen
13660 if postIndex < 0 {
13661 return ErrInvalidLengthGenerated
13662 }
13663 if postIndex > l {
13664 return io.ErrUnexpectedEOF
13665 }
13666 if err := m.Template.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
13667 return err
13668 }
13669 iNdEx = postIndex
13670 case 4:
13671 if wireType != 0 {
13672 return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType)
13673 }
13674 m.MinReadySeconds = 0
13675 for shift := uint(0); ; shift += 7 {
13676 if shift >= 64 {
13677 return ErrIntOverflowGenerated
13678 }
13679 if iNdEx >= l {
13680 return io.ErrUnexpectedEOF
13681 }
13682 b := dAtA[iNdEx]
13683 iNdEx++
13684 m.MinReadySeconds |= int32(b&0x7F) << shift
13685 if b < 0x80 {
13686 break
13687 }
13688 }
13689 default:
13690 iNdEx = preIndex
13691 skippy, err := skipGenerated(dAtA[iNdEx:])
13692 if err != nil {
13693 return err
13694 }
13695 if skippy < 0 {
13696 return ErrInvalidLengthGenerated
13697 }
13698 if (iNdEx + skippy) < 0 {
13699 return ErrInvalidLengthGenerated
13700 }
13701 if (iNdEx + skippy) > l {
13702 return io.ErrUnexpectedEOF
13703 }
13704 iNdEx += skippy
13705 }
13706 }
13707
13708 if iNdEx > l {
13709 return io.ErrUnexpectedEOF
13710 }
13711 return nil
13712}
13713func (m *ReplicaSetStatus) Unmarshal(dAtA []byte) error {
13714 l := len(dAtA)
13715 iNdEx := 0
13716 for iNdEx < l {
13717 preIndex := iNdEx
13718 var wire uint64
13719 for shift := uint(0); ; shift += 7 {
13720 if shift >= 64 {
13721 return ErrIntOverflowGenerated
13722 }
13723 if iNdEx >= l {
13724 return io.ErrUnexpectedEOF
13725 }
13726 b := dAtA[iNdEx]
13727 iNdEx++
13728 wire |= uint64(b&0x7F) << shift
13729 if b < 0x80 {
13730 break
13731 }
13732 }
13733 fieldNum := int32(wire >> 3)
13734 wireType := int(wire & 0x7)
13735 if wireType == 4 {
13736 return fmt.Errorf("proto: ReplicaSetStatus: wiretype end group for non-group")
13737 }
13738 if fieldNum <= 0 {
13739 return fmt.Errorf("proto: ReplicaSetStatus: illegal tag %d (wire type %d)", fieldNum, wire)
13740 }
13741 switch fieldNum {
13742 case 1:
13743 if wireType != 0 {
13744 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
13745 }
13746 m.Replicas = 0
13747 for shift := uint(0); ; shift += 7 {
13748 if shift >= 64 {
13749 return ErrIntOverflowGenerated
13750 }
13751 if iNdEx >= l {
13752 return io.ErrUnexpectedEOF
13753 }
13754 b := dAtA[iNdEx]
13755 iNdEx++
13756 m.Replicas |= int32(b&0x7F) << shift
13757 if b < 0x80 {
13758 break
13759 }
13760 }
13761 case 2:
13762 if wireType != 0 {
13763 return fmt.Errorf("proto: wrong wireType = %d for field FullyLabeledReplicas", wireType)
13764 }
13765 m.FullyLabeledReplicas = 0
13766 for shift := uint(0); ; shift += 7 {
13767 if shift >= 64 {
13768 return ErrIntOverflowGenerated
13769 }
13770 if iNdEx >= l {
13771 return io.ErrUnexpectedEOF
13772 }
13773 b := dAtA[iNdEx]
13774 iNdEx++
13775 m.FullyLabeledReplicas |= int32(b&0x7F) << shift
13776 if b < 0x80 {
13777 break
13778 }
13779 }
13780 case 3:
13781 if wireType != 0 {
13782 return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
13783 }
13784 m.ObservedGeneration = 0
13785 for shift := uint(0); ; shift += 7 {
13786 if shift >= 64 {
13787 return ErrIntOverflowGenerated
13788 }
13789 if iNdEx >= l {
13790 return io.ErrUnexpectedEOF
13791 }
13792 b := dAtA[iNdEx]
13793 iNdEx++
13794 m.ObservedGeneration |= int64(b&0x7F) << shift
13795 if b < 0x80 {
13796 break
13797 }
13798 }
13799 case 4:
13800 if wireType != 0 {
13801 return fmt.Errorf("proto: wrong wireType = %d for field ReadyReplicas", wireType)
13802 }
13803 m.ReadyReplicas = 0
13804 for shift := uint(0); ; shift += 7 {
13805 if shift >= 64 {
13806 return ErrIntOverflowGenerated
13807 }
13808 if iNdEx >= l {
13809 return io.ErrUnexpectedEOF
13810 }
13811 b := dAtA[iNdEx]
13812 iNdEx++
13813 m.ReadyReplicas |= int32(b&0x7F) << shift
13814 if b < 0x80 {
13815 break
13816 }
13817 }
13818 case 5:
13819 if wireType != 0 {
13820 return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType)
13821 }
13822 m.AvailableReplicas = 0
13823 for shift := uint(0); ; shift += 7 {
13824 if shift >= 64 {
13825 return ErrIntOverflowGenerated
13826 }
13827 if iNdEx >= l {
13828 return io.ErrUnexpectedEOF
13829 }
13830 b := dAtA[iNdEx]
13831 iNdEx++
13832 m.AvailableReplicas |= int32(b&0x7F) << shift
13833 if b < 0x80 {
13834 break
13835 }
13836 }
13837 case 6:
13838 if wireType != 2 {
13839 return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
13840 }
13841 var msglen int
13842 for shift := uint(0); ; shift += 7 {
13843 if shift >= 64 {
13844 return ErrIntOverflowGenerated
13845 }
13846 if iNdEx >= l {
13847 return io.ErrUnexpectedEOF
13848 }
13849 b := dAtA[iNdEx]
13850 iNdEx++
13851 msglen |= int(b&0x7F) << shift
13852 if b < 0x80 {
13853 break
13854 }
13855 }
13856 if msglen < 0 {
13857 return ErrInvalidLengthGenerated
13858 }
13859 postIndex := iNdEx + msglen
13860 if postIndex < 0 {
13861 return ErrInvalidLengthGenerated
13862 }
13863 if postIndex > l {
13864 return io.ErrUnexpectedEOF
13865 }
13866 m.Conditions = append(m.Conditions, ReplicaSetCondition{})
13867 if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
13868 return err
13869 }
13870 iNdEx = postIndex
13871 default:
13872 iNdEx = preIndex
13873 skippy, err := skipGenerated(dAtA[iNdEx:])
13874 if err != nil {
13875 return err
13876 }
13877 if skippy < 0 {
13878 return ErrInvalidLengthGenerated
13879 }
13880 if (iNdEx + skippy) < 0 {
13881 return ErrInvalidLengthGenerated
13882 }
13883 if (iNdEx + skippy) > l {
13884 return io.ErrUnexpectedEOF
13885 }
13886 iNdEx += skippy
13887 }
13888 }
13889
13890 if iNdEx > l {
13891 return io.ErrUnexpectedEOF
13892 }
13893 return nil
13894}
13895func (m *RollbackConfig) Unmarshal(dAtA []byte) error {
13896 l := len(dAtA)
13897 iNdEx := 0
13898 for iNdEx < l {
13899 preIndex := iNdEx
13900 var wire uint64
13901 for shift := uint(0); ; shift += 7 {
13902 if shift >= 64 {
13903 return ErrIntOverflowGenerated
13904 }
13905 if iNdEx >= l {
13906 return io.ErrUnexpectedEOF
13907 }
13908 b := dAtA[iNdEx]
13909 iNdEx++
13910 wire |= uint64(b&0x7F) << shift
13911 if b < 0x80 {
13912 break
13913 }
13914 }
13915 fieldNum := int32(wire >> 3)
13916 wireType := int(wire & 0x7)
13917 if wireType == 4 {
13918 return fmt.Errorf("proto: RollbackConfig: wiretype end group for non-group")
13919 }
13920 if fieldNum <= 0 {
13921 return fmt.Errorf("proto: RollbackConfig: illegal tag %d (wire type %d)", fieldNum, wire)
13922 }
13923 switch fieldNum {
13924 case 1:
13925 if wireType != 0 {
13926 return fmt.Errorf("proto: wrong wireType = %d for field Revision", wireType)
13927 }
13928 m.Revision = 0
13929 for shift := uint(0); ; shift += 7 {
13930 if shift >= 64 {
13931 return ErrIntOverflowGenerated
13932 }
13933 if iNdEx >= l {
13934 return io.ErrUnexpectedEOF
13935 }
13936 b := dAtA[iNdEx]
13937 iNdEx++
13938 m.Revision |= int64(b&0x7F) << shift
13939 if b < 0x80 {
13940 break
13941 }
13942 }
13943 default:
13944 iNdEx = preIndex
13945 skippy, err := skipGenerated(dAtA[iNdEx:])
13946 if err != nil {
13947 return err
13948 }
13949 if skippy < 0 {
13950 return ErrInvalidLengthGenerated
13951 }
13952 if (iNdEx + skippy) < 0 {
13953 return ErrInvalidLengthGenerated
13954 }
13955 if (iNdEx + skippy) > l {
13956 return io.ErrUnexpectedEOF
13957 }
13958 iNdEx += skippy
13959 }
13960 }
13961
13962 if iNdEx > l {
13963 return io.ErrUnexpectedEOF
13964 }
13965 return nil
13966}
13967func (m *RollingUpdateDaemonSet) Unmarshal(dAtA []byte) error {
13968 l := len(dAtA)
13969 iNdEx := 0
13970 for iNdEx < l {
13971 preIndex := iNdEx
13972 var wire uint64
13973 for shift := uint(0); ; shift += 7 {
13974 if shift >= 64 {
13975 return ErrIntOverflowGenerated
13976 }
13977 if iNdEx >= l {
13978 return io.ErrUnexpectedEOF
13979 }
13980 b := dAtA[iNdEx]
13981 iNdEx++
13982 wire |= uint64(b&0x7F) << shift
13983 if b < 0x80 {
13984 break
13985 }
13986 }
13987 fieldNum := int32(wire >> 3)
13988 wireType := int(wire & 0x7)
13989 if wireType == 4 {
13990 return fmt.Errorf("proto: RollingUpdateDaemonSet: wiretype end group for non-group")
13991 }
13992 if fieldNum <= 0 {
13993 return fmt.Errorf("proto: RollingUpdateDaemonSet: illegal tag %d (wire type %d)", fieldNum, wire)
13994 }
13995 switch fieldNum {
13996 case 1:
13997 if wireType != 2 {
13998 return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
13999 }
14000 var msglen int
14001 for shift := uint(0); ; shift += 7 {
14002 if shift >= 64 {
14003 return ErrIntOverflowGenerated
14004 }
14005 if iNdEx >= l {
14006 return io.ErrUnexpectedEOF
14007 }
14008 b := dAtA[iNdEx]
14009 iNdEx++
14010 msglen |= int(b&0x7F) << shift
14011 if b < 0x80 {
14012 break
14013 }
14014 }
14015 if msglen < 0 {
14016 return ErrInvalidLengthGenerated
14017 }
14018 postIndex := iNdEx + msglen
14019 if postIndex < 0 {
14020 return ErrInvalidLengthGenerated
14021 }
14022 if postIndex > l {
14023 return io.ErrUnexpectedEOF
14024 }
14025 if m.MaxUnavailable == nil {
14026 m.MaxUnavailable = &intstr.IntOrString{}
14027 }
14028 if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
14029 return err
14030 }
14031 iNdEx = postIndex
14032 default:
14033 iNdEx = preIndex
14034 skippy, err := skipGenerated(dAtA[iNdEx:])
14035 if err != nil {
14036 return err
14037 }
14038 if skippy < 0 {
14039 return ErrInvalidLengthGenerated
14040 }
14041 if (iNdEx + skippy) < 0 {
14042 return ErrInvalidLengthGenerated
14043 }
14044 if (iNdEx + skippy) > l {
14045 return io.ErrUnexpectedEOF
14046 }
14047 iNdEx += skippy
14048 }
14049 }
14050
14051 if iNdEx > l {
14052 return io.ErrUnexpectedEOF
14053 }
14054 return nil
14055}
14056func (m *RollingUpdateDeployment) Unmarshal(dAtA []byte) error {
14057 l := len(dAtA)
14058 iNdEx := 0
14059 for iNdEx < l {
14060 preIndex := iNdEx
14061 var wire uint64
14062 for shift := uint(0); ; shift += 7 {
14063 if shift >= 64 {
14064 return ErrIntOverflowGenerated
14065 }
14066 if iNdEx >= l {
14067 return io.ErrUnexpectedEOF
14068 }
14069 b := dAtA[iNdEx]
14070 iNdEx++
14071 wire |= uint64(b&0x7F) << shift
14072 if b < 0x80 {
14073 break
14074 }
14075 }
14076 fieldNum := int32(wire >> 3)
14077 wireType := int(wire & 0x7)
14078 if wireType == 4 {
14079 return fmt.Errorf("proto: RollingUpdateDeployment: wiretype end group for non-group")
14080 }
14081 if fieldNum <= 0 {
14082 return fmt.Errorf("proto: RollingUpdateDeployment: illegal tag %d (wire type %d)", fieldNum, wire)
14083 }
14084 switch fieldNum {
14085 case 1:
14086 if wireType != 2 {
14087 return fmt.Errorf("proto: wrong wireType = %d for field MaxUnavailable", wireType)
14088 }
14089 var msglen int
14090 for shift := uint(0); ; shift += 7 {
14091 if shift >= 64 {
14092 return ErrIntOverflowGenerated
14093 }
14094 if iNdEx >= l {
14095 return io.ErrUnexpectedEOF
14096 }
14097 b := dAtA[iNdEx]
14098 iNdEx++
14099 msglen |= int(b&0x7F) << shift
14100 if b < 0x80 {
14101 break
14102 }
14103 }
14104 if msglen < 0 {
14105 return ErrInvalidLengthGenerated
14106 }
14107 postIndex := iNdEx + msglen
14108 if postIndex < 0 {
14109 return ErrInvalidLengthGenerated
14110 }
14111 if postIndex > l {
14112 return io.ErrUnexpectedEOF
14113 }
14114 if m.MaxUnavailable == nil {
14115 m.MaxUnavailable = &intstr.IntOrString{}
14116 }
14117 if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
14118 return err
14119 }
14120 iNdEx = postIndex
14121 case 2:
14122 if wireType != 2 {
14123 return fmt.Errorf("proto: wrong wireType = %d for field MaxSurge", wireType)
14124 }
14125 var msglen int
14126 for shift := uint(0); ; shift += 7 {
14127 if shift >= 64 {
14128 return ErrIntOverflowGenerated
14129 }
14130 if iNdEx >= l {
14131 return io.ErrUnexpectedEOF
14132 }
14133 b := dAtA[iNdEx]
14134 iNdEx++
14135 msglen |= int(b&0x7F) << shift
14136 if b < 0x80 {
14137 break
14138 }
14139 }
14140 if msglen < 0 {
14141 return ErrInvalidLengthGenerated
14142 }
14143 postIndex := iNdEx + msglen
14144 if postIndex < 0 {
14145 return ErrInvalidLengthGenerated
14146 }
14147 if postIndex > l {
14148 return io.ErrUnexpectedEOF
14149 }
14150 if m.MaxSurge == nil {
14151 m.MaxSurge = &intstr.IntOrString{}
14152 }
14153 if err := m.MaxSurge.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
14154 return err
14155 }
14156 iNdEx = postIndex
14157 default:
14158 iNdEx = preIndex
14159 skippy, err := skipGenerated(dAtA[iNdEx:])
14160 if err != nil {
14161 return err
14162 }
14163 if skippy < 0 {
14164 return ErrInvalidLengthGenerated
14165 }
14166 if (iNdEx + skippy) < 0 {
14167 return ErrInvalidLengthGenerated
14168 }
14169 if (iNdEx + skippy) > l {
14170 return io.ErrUnexpectedEOF
14171 }
14172 iNdEx += skippy
14173 }
14174 }
14175
14176 if iNdEx > l {
14177 return io.ErrUnexpectedEOF
14178 }
14179 return nil
14180}
14181func (m *RunAsGroupStrategyOptions) Unmarshal(dAtA []byte) error {
14182 l := len(dAtA)
14183 iNdEx := 0
14184 for iNdEx < l {
14185 preIndex := iNdEx
14186 var wire uint64
14187 for shift := uint(0); ; shift += 7 {
14188 if shift >= 64 {
14189 return ErrIntOverflowGenerated
14190 }
14191 if iNdEx >= l {
14192 return io.ErrUnexpectedEOF
14193 }
14194 b := dAtA[iNdEx]
14195 iNdEx++
14196 wire |= uint64(b&0x7F) << shift
14197 if b < 0x80 {
14198 break
14199 }
14200 }
14201 fieldNum := int32(wire >> 3)
14202 wireType := int(wire & 0x7)
14203 if wireType == 4 {
14204 return fmt.Errorf("proto: RunAsGroupStrategyOptions: wiretype end group for non-group")
14205 }
14206 if fieldNum <= 0 {
14207 return fmt.Errorf("proto: RunAsGroupStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
14208 }
14209 switch fieldNum {
14210 case 1:
14211 if wireType != 2 {
14212 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
14213 }
14214 var stringLen uint64
14215 for shift := uint(0); ; shift += 7 {
14216 if shift >= 64 {
14217 return ErrIntOverflowGenerated
14218 }
14219 if iNdEx >= l {
14220 return io.ErrUnexpectedEOF
14221 }
14222 b := dAtA[iNdEx]
14223 iNdEx++
14224 stringLen |= uint64(b&0x7F) << shift
14225 if b < 0x80 {
14226 break
14227 }
14228 }
14229 intStringLen := int(stringLen)
14230 if intStringLen < 0 {
14231 return ErrInvalidLengthGenerated
14232 }
14233 postIndex := iNdEx + intStringLen
14234 if postIndex < 0 {
14235 return ErrInvalidLengthGenerated
14236 }
14237 if postIndex > l {
14238 return io.ErrUnexpectedEOF
14239 }
14240 m.Rule = RunAsGroupStrategy(dAtA[iNdEx:postIndex])
14241 iNdEx = postIndex
14242 case 2:
14243 if wireType != 2 {
14244 return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
14245 }
14246 var msglen int
14247 for shift := uint(0); ; shift += 7 {
14248 if shift >= 64 {
14249 return ErrIntOverflowGenerated
14250 }
14251 if iNdEx >= l {
14252 return io.ErrUnexpectedEOF
14253 }
14254 b := dAtA[iNdEx]
14255 iNdEx++
14256 msglen |= int(b&0x7F) << shift
14257 if b < 0x80 {
14258 break
14259 }
14260 }
14261 if msglen < 0 {
14262 return ErrInvalidLengthGenerated
14263 }
14264 postIndex := iNdEx + msglen
14265 if postIndex < 0 {
14266 return ErrInvalidLengthGenerated
14267 }
14268 if postIndex > l {
14269 return io.ErrUnexpectedEOF
14270 }
14271 m.Ranges = append(m.Ranges, IDRange{})
14272 if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
14273 return err
14274 }
14275 iNdEx = postIndex
14276 default:
14277 iNdEx = preIndex
14278 skippy, err := skipGenerated(dAtA[iNdEx:])
14279 if err != nil {
14280 return err
14281 }
14282 if skippy < 0 {
14283 return ErrInvalidLengthGenerated
14284 }
14285 if (iNdEx + skippy) < 0 {
14286 return ErrInvalidLengthGenerated
14287 }
14288 if (iNdEx + skippy) > l {
14289 return io.ErrUnexpectedEOF
14290 }
14291 iNdEx += skippy
14292 }
14293 }
14294
14295 if iNdEx > l {
14296 return io.ErrUnexpectedEOF
14297 }
14298 return nil
14299}
14300func (m *RunAsUserStrategyOptions) Unmarshal(dAtA []byte) error {
14301 l := len(dAtA)
14302 iNdEx := 0
14303 for iNdEx < l {
14304 preIndex := iNdEx
14305 var wire uint64
14306 for shift := uint(0); ; shift += 7 {
14307 if shift >= 64 {
14308 return ErrIntOverflowGenerated
14309 }
14310 if iNdEx >= l {
14311 return io.ErrUnexpectedEOF
14312 }
14313 b := dAtA[iNdEx]
14314 iNdEx++
14315 wire |= uint64(b&0x7F) << shift
14316 if b < 0x80 {
14317 break
14318 }
14319 }
14320 fieldNum := int32(wire >> 3)
14321 wireType := int(wire & 0x7)
14322 if wireType == 4 {
14323 return fmt.Errorf("proto: RunAsUserStrategyOptions: wiretype end group for non-group")
14324 }
14325 if fieldNum <= 0 {
14326 return fmt.Errorf("proto: RunAsUserStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
14327 }
14328 switch fieldNum {
14329 case 1:
14330 if wireType != 2 {
14331 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
14332 }
14333 var stringLen uint64
14334 for shift := uint(0); ; shift += 7 {
14335 if shift >= 64 {
14336 return ErrIntOverflowGenerated
14337 }
14338 if iNdEx >= l {
14339 return io.ErrUnexpectedEOF
14340 }
14341 b := dAtA[iNdEx]
14342 iNdEx++
14343 stringLen |= uint64(b&0x7F) << shift
14344 if b < 0x80 {
14345 break
14346 }
14347 }
14348 intStringLen := int(stringLen)
14349 if intStringLen < 0 {
14350 return ErrInvalidLengthGenerated
14351 }
14352 postIndex := iNdEx + intStringLen
14353 if postIndex < 0 {
14354 return ErrInvalidLengthGenerated
14355 }
14356 if postIndex > l {
14357 return io.ErrUnexpectedEOF
14358 }
14359 m.Rule = RunAsUserStrategy(dAtA[iNdEx:postIndex])
14360 iNdEx = postIndex
14361 case 2:
14362 if wireType != 2 {
14363 return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
14364 }
14365 var msglen int
14366 for shift := uint(0); ; shift += 7 {
14367 if shift >= 64 {
14368 return ErrIntOverflowGenerated
14369 }
14370 if iNdEx >= l {
14371 return io.ErrUnexpectedEOF
14372 }
14373 b := dAtA[iNdEx]
14374 iNdEx++
14375 msglen |= int(b&0x7F) << shift
14376 if b < 0x80 {
14377 break
14378 }
14379 }
14380 if msglen < 0 {
14381 return ErrInvalidLengthGenerated
14382 }
14383 postIndex := iNdEx + msglen
14384 if postIndex < 0 {
14385 return ErrInvalidLengthGenerated
14386 }
14387 if postIndex > l {
14388 return io.ErrUnexpectedEOF
14389 }
14390 m.Ranges = append(m.Ranges, IDRange{})
14391 if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
14392 return err
14393 }
14394 iNdEx = postIndex
14395 default:
14396 iNdEx = preIndex
14397 skippy, err := skipGenerated(dAtA[iNdEx:])
14398 if err != nil {
14399 return err
14400 }
14401 if skippy < 0 {
14402 return ErrInvalidLengthGenerated
14403 }
14404 if (iNdEx + skippy) < 0 {
14405 return ErrInvalidLengthGenerated
14406 }
14407 if (iNdEx + skippy) > l {
14408 return io.ErrUnexpectedEOF
14409 }
14410 iNdEx += skippy
14411 }
14412 }
14413
14414 if iNdEx > l {
14415 return io.ErrUnexpectedEOF
14416 }
14417 return nil
14418}
14419func (m *RuntimeClassStrategyOptions) Unmarshal(dAtA []byte) error {
14420 l := len(dAtA)
14421 iNdEx := 0
14422 for iNdEx < l {
14423 preIndex := iNdEx
14424 var wire uint64
14425 for shift := uint(0); ; shift += 7 {
14426 if shift >= 64 {
14427 return ErrIntOverflowGenerated
14428 }
14429 if iNdEx >= l {
14430 return io.ErrUnexpectedEOF
14431 }
14432 b := dAtA[iNdEx]
14433 iNdEx++
14434 wire |= uint64(b&0x7F) << shift
14435 if b < 0x80 {
14436 break
14437 }
14438 }
14439 fieldNum := int32(wire >> 3)
14440 wireType := int(wire & 0x7)
14441 if wireType == 4 {
14442 return fmt.Errorf("proto: RuntimeClassStrategyOptions: wiretype end group for non-group")
14443 }
14444 if fieldNum <= 0 {
14445 return fmt.Errorf("proto: RuntimeClassStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
14446 }
14447 switch fieldNum {
14448 case 1:
14449 if wireType != 2 {
14450 return fmt.Errorf("proto: wrong wireType = %d for field AllowedRuntimeClassNames", wireType)
14451 }
14452 var stringLen uint64
14453 for shift := uint(0); ; shift += 7 {
14454 if shift >= 64 {
14455 return ErrIntOverflowGenerated
14456 }
14457 if iNdEx >= l {
14458 return io.ErrUnexpectedEOF
14459 }
14460 b := dAtA[iNdEx]
14461 iNdEx++
14462 stringLen |= uint64(b&0x7F) << shift
14463 if b < 0x80 {
14464 break
14465 }
14466 }
14467 intStringLen := int(stringLen)
14468 if intStringLen < 0 {
14469 return ErrInvalidLengthGenerated
14470 }
14471 postIndex := iNdEx + intStringLen
14472 if postIndex < 0 {
14473 return ErrInvalidLengthGenerated
14474 }
14475 if postIndex > l {
14476 return io.ErrUnexpectedEOF
14477 }
14478 m.AllowedRuntimeClassNames = append(m.AllowedRuntimeClassNames, string(dAtA[iNdEx:postIndex]))
14479 iNdEx = postIndex
14480 case 2:
14481 if wireType != 2 {
14482 return fmt.Errorf("proto: wrong wireType = %d for field DefaultRuntimeClassName", wireType)
14483 }
14484 var stringLen uint64
14485 for shift := uint(0); ; shift += 7 {
14486 if shift >= 64 {
14487 return ErrIntOverflowGenerated
14488 }
14489 if iNdEx >= l {
14490 return io.ErrUnexpectedEOF
14491 }
14492 b := dAtA[iNdEx]
14493 iNdEx++
14494 stringLen |= uint64(b&0x7F) << shift
14495 if b < 0x80 {
14496 break
14497 }
14498 }
14499 intStringLen := int(stringLen)
14500 if intStringLen < 0 {
14501 return ErrInvalidLengthGenerated
14502 }
14503 postIndex := iNdEx + intStringLen
14504 if postIndex < 0 {
14505 return ErrInvalidLengthGenerated
14506 }
14507 if postIndex > l {
14508 return io.ErrUnexpectedEOF
14509 }
14510 s := string(dAtA[iNdEx:postIndex])
14511 m.DefaultRuntimeClassName = &s
14512 iNdEx = postIndex
14513 default:
14514 iNdEx = preIndex
14515 skippy, err := skipGenerated(dAtA[iNdEx:])
14516 if err != nil {
14517 return err
14518 }
14519 if skippy < 0 {
14520 return ErrInvalidLengthGenerated
14521 }
14522 if (iNdEx + skippy) < 0 {
14523 return ErrInvalidLengthGenerated
14524 }
14525 if (iNdEx + skippy) > l {
14526 return io.ErrUnexpectedEOF
14527 }
14528 iNdEx += skippy
14529 }
14530 }
14531
14532 if iNdEx > l {
14533 return io.ErrUnexpectedEOF
14534 }
14535 return nil
14536}
14537func (m *SELinuxStrategyOptions) Unmarshal(dAtA []byte) error {
14538 l := len(dAtA)
14539 iNdEx := 0
14540 for iNdEx < l {
14541 preIndex := iNdEx
14542 var wire uint64
14543 for shift := uint(0); ; shift += 7 {
14544 if shift >= 64 {
14545 return ErrIntOverflowGenerated
14546 }
14547 if iNdEx >= l {
14548 return io.ErrUnexpectedEOF
14549 }
14550 b := dAtA[iNdEx]
14551 iNdEx++
14552 wire |= uint64(b&0x7F) << shift
14553 if b < 0x80 {
14554 break
14555 }
14556 }
14557 fieldNum := int32(wire >> 3)
14558 wireType := int(wire & 0x7)
14559 if wireType == 4 {
14560 return fmt.Errorf("proto: SELinuxStrategyOptions: wiretype end group for non-group")
14561 }
14562 if fieldNum <= 0 {
14563 return fmt.Errorf("proto: SELinuxStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
14564 }
14565 switch fieldNum {
14566 case 1:
14567 if wireType != 2 {
14568 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
14569 }
14570 var stringLen uint64
14571 for shift := uint(0); ; shift += 7 {
14572 if shift >= 64 {
14573 return ErrIntOverflowGenerated
14574 }
14575 if iNdEx >= l {
14576 return io.ErrUnexpectedEOF
14577 }
14578 b := dAtA[iNdEx]
14579 iNdEx++
14580 stringLen |= uint64(b&0x7F) << shift
14581 if b < 0x80 {
14582 break
14583 }
14584 }
14585 intStringLen := int(stringLen)
14586 if intStringLen < 0 {
14587 return ErrInvalidLengthGenerated
14588 }
14589 postIndex := iNdEx + intStringLen
14590 if postIndex < 0 {
14591 return ErrInvalidLengthGenerated
14592 }
14593 if postIndex > l {
14594 return io.ErrUnexpectedEOF
14595 }
14596 m.Rule = SELinuxStrategy(dAtA[iNdEx:postIndex])
14597 iNdEx = postIndex
14598 case 2:
14599 if wireType != 2 {
14600 return fmt.Errorf("proto: wrong wireType = %d for field SELinuxOptions", wireType)
14601 }
14602 var msglen int
14603 for shift := uint(0); ; shift += 7 {
14604 if shift >= 64 {
14605 return ErrIntOverflowGenerated
14606 }
14607 if iNdEx >= l {
14608 return io.ErrUnexpectedEOF
14609 }
14610 b := dAtA[iNdEx]
14611 iNdEx++
14612 msglen |= int(b&0x7F) << shift
14613 if b < 0x80 {
14614 break
14615 }
14616 }
14617 if msglen < 0 {
14618 return ErrInvalidLengthGenerated
14619 }
14620 postIndex := iNdEx + msglen
14621 if postIndex < 0 {
14622 return ErrInvalidLengthGenerated
14623 }
14624 if postIndex > l {
14625 return io.ErrUnexpectedEOF
14626 }
14627 if m.SELinuxOptions == nil {
14628 m.SELinuxOptions = &v11.SELinuxOptions{}
14629 }
14630 if err := m.SELinuxOptions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
14631 return err
14632 }
14633 iNdEx = postIndex
14634 default:
14635 iNdEx = preIndex
14636 skippy, err := skipGenerated(dAtA[iNdEx:])
14637 if err != nil {
14638 return err
14639 }
14640 if skippy < 0 {
14641 return ErrInvalidLengthGenerated
14642 }
14643 if (iNdEx + skippy) < 0 {
14644 return ErrInvalidLengthGenerated
14645 }
14646 if (iNdEx + skippy) > l {
14647 return io.ErrUnexpectedEOF
14648 }
14649 iNdEx += skippy
14650 }
14651 }
14652
14653 if iNdEx > l {
14654 return io.ErrUnexpectedEOF
14655 }
14656 return nil
14657}
14658func (m *Scale) Unmarshal(dAtA []byte) error {
14659 l := len(dAtA)
14660 iNdEx := 0
14661 for iNdEx < l {
14662 preIndex := iNdEx
14663 var wire uint64
14664 for shift := uint(0); ; shift += 7 {
14665 if shift >= 64 {
14666 return ErrIntOverflowGenerated
14667 }
14668 if iNdEx >= l {
14669 return io.ErrUnexpectedEOF
14670 }
14671 b := dAtA[iNdEx]
14672 iNdEx++
14673 wire |= uint64(b&0x7F) << shift
14674 if b < 0x80 {
14675 break
14676 }
14677 }
14678 fieldNum := int32(wire >> 3)
14679 wireType := int(wire & 0x7)
14680 if wireType == 4 {
14681 return fmt.Errorf("proto: Scale: wiretype end group for non-group")
14682 }
14683 if fieldNum <= 0 {
14684 return fmt.Errorf("proto: Scale: illegal tag %d (wire type %d)", fieldNum, wire)
14685 }
14686 switch fieldNum {
14687 case 1:
14688 if wireType != 2 {
14689 return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
14690 }
14691 var msglen int
14692 for shift := uint(0); ; shift += 7 {
14693 if shift >= 64 {
14694 return ErrIntOverflowGenerated
14695 }
14696 if iNdEx >= l {
14697 return io.ErrUnexpectedEOF
14698 }
14699 b := dAtA[iNdEx]
14700 iNdEx++
14701 msglen |= int(b&0x7F) << shift
14702 if b < 0x80 {
14703 break
14704 }
14705 }
14706 if msglen < 0 {
14707 return ErrInvalidLengthGenerated
14708 }
14709 postIndex := iNdEx + msglen
14710 if postIndex < 0 {
14711 return ErrInvalidLengthGenerated
14712 }
14713 if postIndex > l {
14714 return io.ErrUnexpectedEOF
14715 }
14716 if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
14717 return err
14718 }
14719 iNdEx = postIndex
14720 case 2:
14721 if wireType != 2 {
14722 return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
14723 }
14724 var msglen int
14725 for shift := uint(0); ; shift += 7 {
14726 if shift >= 64 {
14727 return ErrIntOverflowGenerated
14728 }
14729 if iNdEx >= l {
14730 return io.ErrUnexpectedEOF
14731 }
14732 b := dAtA[iNdEx]
14733 iNdEx++
14734 msglen |= int(b&0x7F) << shift
14735 if b < 0x80 {
14736 break
14737 }
14738 }
14739 if msglen < 0 {
14740 return ErrInvalidLengthGenerated
14741 }
14742 postIndex := iNdEx + msglen
14743 if postIndex < 0 {
14744 return ErrInvalidLengthGenerated
14745 }
14746 if postIndex > l {
14747 return io.ErrUnexpectedEOF
14748 }
14749 if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
14750 return err
14751 }
14752 iNdEx = postIndex
14753 case 3:
14754 if wireType != 2 {
14755 return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
14756 }
14757 var msglen int
14758 for shift := uint(0); ; shift += 7 {
14759 if shift >= 64 {
14760 return ErrIntOverflowGenerated
14761 }
14762 if iNdEx >= l {
14763 return io.ErrUnexpectedEOF
14764 }
14765 b := dAtA[iNdEx]
14766 iNdEx++
14767 msglen |= int(b&0x7F) << shift
14768 if b < 0x80 {
14769 break
14770 }
14771 }
14772 if msglen < 0 {
14773 return ErrInvalidLengthGenerated
14774 }
14775 postIndex := iNdEx + msglen
14776 if postIndex < 0 {
14777 return ErrInvalidLengthGenerated
14778 }
14779 if postIndex > l {
14780 return io.ErrUnexpectedEOF
14781 }
14782 if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
14783 return err
14784 }
14785 iNdEx = postIndex
14786 default:
14787 iNdEx = preIndex
14788 skippy, err := skipGenerated(dAtA[iNdEx:])
14789 if err != nil {
14790 return err
14791 }
14792 if skippy < 0 {
14793 return ErrInvalidLengthGenerated
14794 }
14795 if (iNdEx + skippy) < 0 {
14796 return ErrInvalidLengthGenerated
14797 }
14798 if (iNdEx + skippy) > l {
14799 return io.ErrUnexpectedEOF
14800 }
14801 iNdEx += skippy
14802 }
14803 }
14804
14805 if iNdEx > l {
14806 return io.ErrUnexpectedEOF
14807 }
14808 return nil
14809}
14810func (m *ScaleSpec) Unmarshal(dAtA []byte) error {
14811 l := len(dAtA)
14812 iNdEx := 0
14813 for iNdEx < l {
14814 preIndex := iNdEx
14815 var wire uint64
14816 for shift := uint(0); ; shift += 7 {
14817 if shift >= 64 {
14818 return ErrIntOverflowGenerated
14819 }
14820 if iNdEx >= l {
14821 return io.ErrUnexpectedEOF
14822 }
14823 b := dAtA[iNdEx]
14824 iNdEx++
14825 wire |= uint64(b&0x7F) << shift
14826 if b < 0x80 {
14827 break
14828 }
14829 }
14830 fieldNum := int32(wire >> 3)
14831 wireType := int(wire & 0x7)
14832 if wireType == 4 {
14833 return fmt.Errorf("proto: ScaleSpec: wiretype end group for non-group")
14834 }
14835 if fieldNum <= 0 {
14836 return fmt.Errorf("proto: ScaleSpec: illegal tag %d (wire type %d)", fieldNum, wire)
14837 }
14838 switch fieldNum {
14839 case 1:
14840 if wireType != 0 {
14841 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
14842 }
14843 m.Replicas = 0
14844 for shift := uint(0); ; shift += 7 {
14845 if shift >= 64 {
14846 return ErrIntOverflowGenerated
14847 }
14848 if iNdEx >= l {
14849 return io.ErrUnexpectedEOF
14850 }
14851 b := dAtA[iNdEx]
14852 iNdEx++
14853 m.Replicas |= int32(b&0x7F) << shift
14854 if b < 0x80 {
14855 break
14856 }
14857 }
14858 default:
14859 iNdEx = preIndex
14860 skippy, err := skipGenerated(dAtA[iNdEx:])
14861 if err != nil {
14862 return err
14863 }
14864 if skippy < 0 {
14865 return ErrInvalidLengthGenerated
14866 }
14867 if (iNdEx + skippy) < 0 {
14868 return ErrInvalidLengthGenerated
14869 }
14870 if (iNdEx + skippy) > l {
14871 return io.ErrUnexpectedEOF
14872 }
14873 iNdEx += skippy
14874 }
14875 }
14876
14877 if iNdEx > l {
14878 return io.ErrUnexpectedEOF
14879 }
14880 return nil
14881}
14882func (m *ScaleStatus) Unmarshal(dAtA []byte) error {
14883 l := len(dAtA)
14884 iNdEx := 0
14885 for iNdEx < l {
14886 preIndex := iNdEx
14887 var wire uint64
14888 for shift := uint(0); ; shift += 7 {
14889 if shift >= 64 {
14890 return ErrIntOverflowGenerated
14891 }
14892 if iNdEx >= l {
14893 return io.ErrUnexpectedEOF
14894 }
14895 b := dAtA[iNdEx]
14896 iNdEx++
14897 wire |= uint64(b&0x7F) << shift
14898 if b < 0x80 {
14899 break
14900 }
14901 }
14902 fieldNum := int32(wire >> 3)
14903 wireType := int(wire & 0x7)
14904 if wireType == 4 {
14905 return fmt.Errorf("proto: ScaleStatus: wiretype end group for non-group")
14906 }
14907 if fieldNum <= 0 {
14908 return fmt.Errorf("proto: ScaleStatus: illegal tag %d (wire type %d)", fieldNum, wire)
14909 }
14910 switch fieldNum {
14911 case 1:
14912 if wireType != 0 {
14913 return fmt.Errorf("proto: wrong wireType = %d for field Replicas", wireType)
14914 }
14915 m.Replicas = 0
14916 for shift := uint(0); ; shift += 7 {
14917 if shift >= 64 {
14918 return ErrIntOverflowGenerated
14919 }
14920 if iNdEx >= l {
14921 return io.ErrUnexpectedEOF
14922 }
14923 b := dAtA[iNdEx]
14924 iNdEx++
14925 m.Replicas |= int32(b&0x7F) << shift
14926 if b < 0x80 {
14927 break
14928 }
14929 }
14930 case 2:
14931 if wireType != 2 {
14932 return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
14933 }
14934 var msglen int
14935 for shift := uint(0); ; shift += 7 {
14936 if shift >= 64 {
14937 return ErrIntOverflowGenerated
14938 }
14939 if iNdEx >= l {
14940 return io.ErrUnexpectedEOF
14941 }
14942 b := dAtA[iNdEx]
14943 iNdEx++
14944 msglen |= int(b&0x7F) << shift
14945 if b < 0x80 {
14946 break
14947 }
14948 }
14949 if msglen < 0 {
14950 return ErrInvalidLengthGenerated
14951 }
14952 postIndex := iNdEx + msglen
14953 if postIndex < 0 {
14954 return ErrInvalidLengthGenerated
14955 }
14956 if postIndex > l {
14957 return io.ErrUnexpectedEOF
14958 }
14959 if m.Selector == nil {
14960 m.Selector = make(map[string]string)
14961 }
14962 var mapkey string
14963 var mapvalue string
14964 for iNdEx < postIndex {
14965 entryPreIndex := iNdEx
14966 var wire uint64
14967 for shift := uint(0); ; shift += 7 {
14968 if shift >= 64 {
14969 return ErrIntOverflowGenerated
14970 }
14971 if iNdEx >= l {
14972 return io.ErrUnexpectedEOF
14973 }
14974 b := dAtA[iNdEx]
14975 iNdEx++
14976 wire |= uint64(b&0x7F) << shift
14977 if b < 0x80 {
14978 break
14979 }
14980 }
14981 fieldNum := int32(wire >> 3)
14982 if fieldNum == 1 {
14983 var stringLenmapkey uint64
14984 for shift := uint(0); ; shift += 7 {
14985 if shift >= 64 {
14986 return ErrIntOverflowGenerated
14987 }
14988 if iNdEx >= l {
14989 return io.ErrUnexpectedEOF
14990 }
14991 b := dAtA[iNdEx]
14992 iNdEx++
14993 stringLenmapkey |= uint64(b&0x7F) << shift
14994 if b < 0x80 {
14995 break
14996 }
14997 }
14998 intStringLenmapkey := int(stringLenmapkey)
14999 if intStringLenmapkey < 0 {
15000 return ErrInvalidLengthGenerated
15001 }
15002 postStringIndexmapkey := iNdEx + intStringLenmapkey
15003 if postStringIndexmapkey < 0 {
15004 return ErrInvalidLengthGenerated
15005 }
15006 if postStringIndexmapkey > l {
15007 return io.ErrUnexpectedEOF
15008 }
15009 mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
15010 iNdEx = postStringIndexmapkey
15011 } else if fieldNum == 2 {
15012 var stringLenmapvalue uint64
15013 for shift := uint(0); ; shift += 7 {
15014 if shift >= 64 {
15015 return ErrIntOverflowGenerated
15016 }
15017 if iNdEx >= l {
15018 return io.ErrUnexpectedEOF
15019 }
15020 b := dAtA[iNdEx]
15021 iNdEx++
15022 stringLenmapvalue |= uint64(b&0x7F) << shift
15023 if b < 0x80 {
15024 break
15025 }
15026 }
15027 intStringLenmapvalue := int(stringLenmapvalue)
15028 if intStringLenmapvalue < 0 {
15029 return ErrInvalidLengthGenerated
15030 }
15031 postStringIndexmapvalue := iNdEx + intStringLenmapvalue
15032 if postStringIndexmapvalue < 0 {
15033 return ErrInvalidLengthGenerated
15034 }
15035 if postStringIndexmapvalue > l {
15036 return io.ErrUnexpectedEOF
15037 }
15038 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue])
15039 iNdEx = postStringIndexmapvalue
15040 } else {
15041 iNdEx = entryPreIndex
15042 skippy, err := skipGenerated(dAtA[iNdEx:])
15043 if err != nil {
15044 return err
15045 }
15046 if skippy < 0 {
15047 return ErrInvalidLengthGenerated
15048 }
15049 if (iNdEx + skippy) > postIndex {
15050 return io.ErrUnexpectedEOF
15051 }
15052 iNdEx += skippy
15053 }
15054 }
15055 m.Selector[mapkey] = mapvalue
15056 iNdEx = postIndex
15057 case 3:
15058 if wireType != 2 {
15059 return fmt.Errorf("proto: wrong wireType = %d for field TargetSelector", wireType)
15060 }
15061 var stringLen uint64
15062 for shift := uint(0); ; shift += 7 {
15063 if shift >= 64 {
15064 return ErrIntOverflowGenerated
15065 }
15066 if iNdEx >= l {
15067 return io.ErrUnexpectedEOF
15068 }
15069 b := dAtA[iNdEx]
15070 iNdEx++
15071 stringLen |= uint64(b&0x7F) << shift
15072 if b < 0x80 {
15073 break
15074 }
15075 }
15076 intStringLen := int(stringLen)
15077 if intStringLen < 0 {
15078 return ErrInvalidLengthGenerated
15079 }
15080 postIndex := iNdEx + intStringLen
15081 if postIndex < 0 {
15082 return ErrInvalidLengthGenerated
15083 }
15084 if postIndex > l {
15085 return io.ErrUnexpectedEOF
15086 }
15087 m.TargetSelector = string(dAtA[iNdEx:postIndex])
15088 iNdEx = postIndex
15089 default:
15090 iNdEx = preIndex
15091 skippy, err := skipGenerated(dAtA[iNdEx:])
15092 if err != nil {
15093 return err
15094 }
15095 if skippy < 0 {
15096 return ErrInvalidLengthGenerated
15097 }
15098 if (iNdEx + skippy) < 0 {
15099 return ErrInvalidLengthGenerated
15100 }
15101 if (iNdEx + skippy) > l {
15102 return io.ErrUnexpectedEOF
15103 }
15104 iNdEx += skippy
15105 }
15106 }
15107
15108 if iNdEx > l {
15109 return io.ErrUnexpectedEOF
15110 }
15111 return nil
15112}
15113func (m *SupplementalGroupsStrategyOptions) Unmarshal(dAtA []byte) error {
15114 l := len(dAtA)
15115 iNdEx := 0
15116 for iNdEx < l {
15117 preIndex := iNdEx
15118 var wire uint64
15119 for shift := uint(0); ; shift += 7 {
15120 if shift >= 64 {
15121 return ErrIntOverflowGenerated
15122 }
15123 if iNdEx >= l {
15124 return io.ErrUnexpectedEOF
15125 }
15126 b := dAtA[iNdEx]
15127 iNdEx++
15128 wire |= uint64(b&0x7F) << shift
15129 if b < 0x80 {
15130 break
15131 }
15132 }
15133 fieldNum := int32(wire >> 3)
15134 wireType := int(wire & 0x7)
15135 if wireType == 4 {
15136 return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: wiretype end group for non-group")
15137 }
15138 if fieldNum <= 0 {
15139 return fmt.Errorf("proto: SupplementalGroupsStrategyOptions: illegal tag %d (wire type %d)", fieldNum, wire)
15140 }
15141 switch fieldNum {
15142 case 1:
15143 if wireType != 2 {
15144 return fmt.Errorf("proto: wrong wireType = %d for field Rule", wireType)
15145 }
15146 var stringLen uint64
15147 for shift := uint(0); ; shift += 7 {
15148 if shift >= 64 {
15149 return ErrIntOverflowGenerated
15150 }
15151 if iNdEx >= l {
15152 return io.ErrUnexpectedEOF
15153 }
15154 b := dAtA[iNdEx]
15155 iNdEx++
15156 stringLen |= uint64(b&0x7F) << shift
15157 if b < 0x80 {
15158 break
15159 }
15160 }
15161 intStringLen := int(stringLen)
15162 if intStringLen < 0 {
15163 return ErrInvalidLengthGenerated
15164 }
15165 postIndex := iNdEx + intStringLen
15166 if postIndex < 0 {
15167 return ErrInvalidLengthGenerated
15168 }
15169 if postIndex > l {
15170 return io.ErrUnexpectedEOF
15171 }
15172 m.Rule = SupplementalGroupsStrategyType(dAtA[iNdEx:postIndex])
15173 iNdEx = postIndex
15174 case 2:
15175 if wireType != 2 {
15176 return fmt.Errorf("proto: wrong wireType = %d for field Ranges", wireType)
15177 }
15178 var msglen int
15179 for shift := uint(0); ; shift += 7 {
15180 if shift >= 64 {
15181 return ErrIntOverflowGenerated
15182 }
15183 if iNdEx >= l {
15184 return io.ErrUnexpectedEOF
15185 }
15186 b := dAtA[iNdEx]
15187 iNdEx++
15188 msglen |= int(b&0x7F) << shift
15189 if b < 0x80 {
15190 break
15191 }
15192 }
15193 if msglen < 0 {
15194 return ErrInvalidLengthGenerated
15195 }
15196 postIndex := iNdEx + msglen
15197 if postIndex < 0 {
15198 return ErrInvalidLengthGenerated
15199 }
15200 if postIndex > l {
15201 return io.ErrUnexpectedEOF
15202 }
15203 m.Ranges = append(m.Ranges, IDRange{})
15204 if err := m.Ranges[len(m.Ranges)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
15205 return err
15206 }
15207 iNdEx = postIndex
15208 default:
15209 iNdEx = preIndex
15210 skippy, err := skipGenerated(dAtA[iNdEx:])
15211 if err != nil {
15212 return err
15213 }
15214 if skippy < 0 {
15215 return ErrInvalidLengthGenerated
15216 }
15217 if (iNdEx + skippy) < 0 {
15218 return ErrInvalidLengthGenerated
15219 }
15220 if (iNdEx + skippy) > l {
15221 return io.ErrUnexpectedEOF
15222 }
15223 iNdEx += skippy
15224 }
15225 }
15226
15227 if iNdEx > l {
15228 return io.ErrUnexpectedEOF
15229 }
15230 return nil
15231}
15232func skipGenerated(dAtA []byte) (n int, err error) {
15233 l := len(dAtA)
15234 iNdEx := 0
15235 depth := 0
15236 for iNdEx < l {
15237 var wire uint64
15238 for shift := uint(0); ; shift += 7 {
15239 if shift >= 64 {
15240 return 0, ErrIntOverflowGenerated
15241 }
15242 if iNdEx >= l {
15243 return 0, io.ErrUnexpectedEOF
15244 }
15245 b := dAtA[iNdEx]
15246 iNdEx++
15247 wire |= (uint64(b) & 0x7F) << shift
15248 if b < 0x80 {
15249 break
15250 }
15251 }
15252 wireType := int(wire & 0x7)
15253 switch wireType {
15254 case 0:
15255 for shift := uint(0); ; shift += 7 {
15256 if shift >= 64 {
15257 return 0, ErrIntOverflowGenerated
15258 }
15259 if iNdEx >= l {
15260 return 0, io.ErrUnexpectedEOF
15261 }
15262 iNdEx++
15263 if dAtA[iNdEx-1] < 0x80 {
15264 break
15265 }
15266 }
15267 case 1:
15268 iNdEx += 8
15269 case 2:
15270 var length int
15271 for shift := uint(0); ; shift += 7 {
15272 if shift >= 64 {
15273 return 0, ErrIntOverflowGenerated
15274 }
15275 if iNdEx >= l {
15276 return 0, io.ErrUnexpectedEOF
15277 }
15278 b := dAtA[iNdEx]
15279 iNdEx++
15280 length |= (int(b) & 0x7F) << shift
15281 if b < 0x80 {
15282 break
15283 }
15284 }
15285 if length < 0 {
15286 return 0, ErrInvalidLengthGenerated
15287 }
15288 iNdEx += length
15289 case 3:
15290 depth++
15291 case 4:
15292 if depth == 0 {
15293 return 0, ErrUnexpectedEndOfGroupGenerated
15294 }
15295 depth--
15296 case 5:
15297 iNdEx += 4
15298 default:
15299 return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
15300 }
15301 if iNdEx < 0 {
15302 return 0, ErrInvalidLengthGenerated
15303 }
15304 if depth == 0 {
15305 return iNdEx, nil
15306 }
15307 }
15308 return 0, io.ErrUnexpectedEOF
15309}
15310
15311var (
15312 ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
15313 ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
15314 ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
15315)