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