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